Backed out changeset f9f9b79c0aa6 (bug 982153) for suspicion of causing M1 Test failures on a CLOSED TREE
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Thu, 23 Oct 2014 16:35:22 +0200
changeset 238371 ed7562a016faedd0a911adf6dfc7b040d1de07f3
parent 238370 934e7c6d8811d991ec30777fdacb2f811bcbdfb5
child 238372 874815b0d42b7f60c701f9928fa218cd2fcb4564
push id660
push userraliiev@mozilla.com
push dateWed, 18 Feb 2015 20:30:48 +0000
treeherdermozilla-release@49e493494178 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs982153
milestone36.0a1
backs outf9f9b79c0aa62430342f475d63d626379415d080
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset f9f9b79c0aa6 (bug 982153) for suspicion of causing M1 Test failures on a CLOSED TREE
content/base/public/nsIScriptElement.h
content/base/test/mochitest.ini
content/base/test/test_bug982153.html
--- a/content/base/public/nsIScriptElement.h
+++ b/content/base/public/nsIScriptElement.h
@@ -23,17 +23,17 @@
 /**
  * Internal interface implemented by script elements
  */
 class nsIScriptElement : public nsIScriptLoaderObserver {
 public:
   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISCRIPTELEMENT_IID)
 
   explicit nsIScriptElement(mozilla::dom::FromParser aFromParser)
-    : mLineNumber(1),
+    : mLineNumber(0),
       mAlreadyStarted(false),
       mMalformed(false),
       mDoneAddingChildren(aFromParser == mozilla::dom::NOT_FROM_PARSER ||
                           aFromParser == mozilla::dom::FROM_PARSER_FRAGMENT),
       mForceAsync(aFromParser == mozilla::dom::NOT_FROM_PARSER ||
                   aFromParser == mozilla::dom::FROM_PARSER_FRAGMENT),
       mFrozen(false),
       mDefer(false),
--- a/content/base/test/mochitest.ini
+++ b/content/base/test/mochitest.ini
@@ -551,17 +551,16 @@ skip-if = buildapp == 'mulet' || buildap
 [test_bug894874.html]
 [test_bug895239.html]
 [test_bug895974.html]
 [test_bug902847.html]
 [test_bug907892.html]
 [test_bug922681.html]
 [test_bug927196.html]
 [test_bug945152.html]
-[test_bug982153.html]
 run-if = os == 'linux'
 [test_bug1008126.html]
 run-if = os == 'linux'
 [test_bug1057176.html]
 [test_caretPositionFromPoint.html]
 [test_classList.html]
 # This test fails on the Mac for some reason
 [test_copyimage.html]
deleted file mode 100644
--- a/content/base/test/test_bug982153.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=982153
--->
-<head>
-  <meta charset="utf-8">
-  <title>Test for Bug 982153</title>
-  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
-  <script>
-
-var sc = document.createElement("script");
-var error = null;
-sc.textContent = "try {\n reference_error; } catch(e) { error = e; }";
-document.documentElement.appendChild(sc);
-is(error.lineNumber, 2, "Error line number must be correct");
-
-  </script>
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=982153">Mozilla Bug 982153</a>
-<p id="display"></p>
-<div id="content" style="display: none">
-</div>
-<pre id="test">
-</pre>
-</body>
-</html>