Closed Bug 934774 Opened 6 years ago Closed 6 years ago

Intermittent browser_pluginnotification.js | uncaught exception - NS_ERROR_FAILURE: at :0 | JS frame :: chrome://mochikit/content/tests/SimpleTest/SimpleTest.js :: simpletestOnerror :: line 1159

Categories

(Core :: Plug-ins, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla28
Tracking Status
firefox26 + fixed
firefox27 + fixed
firefox28 --- fixed
firefox-esr24 --- unaffected
b2g-v1.2 --- fixed

People

(Reporter: KWierso, Assigned: benjamin)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

https://tbpl.mozilla.org/php/getParsedLog.php?id=30097199&tree=Mozilla-Inbound
slave: tst-linux64-ec2-081


13:06:45     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_pluginnotification.js | Test 24a, plugin should not be activated
13:06:45     INFO -  NPP_Destroy
13:06:45     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_pluginnotification.js | Test 24b, Found plugin in page
13:06:45     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_pluginnotification.js | Test 24b, plugin should be activated
13:06:45     INFO -  NPP_Destroy
13:06:45     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_pluginnotification.js | Test 24c, Should have a click-to-play notification
13:06:45     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_pluginnotification.js | Test 24c, Found plugin in page
13:06:45     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_pluginnotification.js | Test 24c, Plugin should be vulnerable/updatable
13:06:45     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_pluginnotification.js | Test 24c, plugin should not be activated
13:06:45  WARNING -  TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/general/browser_pluginnotification.js | uncaught exception - NS_ERROR_FAILURE:  at :0
13:06:45     INFO -  Stack trace:
13:06:45     INFO -      JS frame :: chrome://mochikit/content/tests/SimpleTest/SimpleTest.js :: simpletestOnerror :: line 1159
13:06:45     INFO -      native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0
13:06:45     INFO -  JavaScript error: , line 0: NS_ERROR_FAILURE:
13:06:45     INFO -  NPP_Destroy
13:06:45     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/general/browser_pluginnotification.js | Console message: [JavaScript Error: "NS_ERROR_FAILURE: "]
13:06:45     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_pluginnotification.js | Test 24d, Found plugin in page
13:06:45     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_pluginnotification.js | Test 24d, plugin should be activated
13:06:46     INFO -  NPP_Destroy
13:06:46     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_pluginnotification.js | Test 25: There should be a plugin notification even if the plugin was immediately removed
13:06:46     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/general/browser_pluginnotification.js | Test 25: The notification should be dismissed by default
13:06:46     INFO -  INFO TEST-END | chrome://mochitests/content/browser/browser/base/content/test/general/browser_pluginnotification.js | finished in 8829ms
Summary: Intermittent browser_pluginnotification.js | uncaught exception - NS_ERROR_FAILURE: at :0 | JS frame :: chrome://mochikit/content/tests/SimpleTest/SimpleTest.js :: simpletestOnerror :: line 1159 → Intermittent ASAN browser_pluginnotification.js | uncaught exception - NS_ERROR_FAILURE: at :0 | JS frame :: chrome://mochikit/content/tests/SimpleTest/SimpleTest.js :: simpletestOnerror :: line 1159
https://tbpl.mozilla.org/php/getParsedLog.php?id=30111921&tree=Mozilla-Inbound
OS: Linux → All
Hardware: x86_64 → All
Summary: Intermittent ASAN browser_pluginnotification.js | uncaught exception - NS_ERROR_FAILURE: at :0 | JS frame :: chrome://mochikit/content/tests/SimpleTest/SimpleTest.js :: simpletestOnerror :: line 1159 → Intermittent browser_pluginnotification.js | uncaught exception - NS_ERROR_FAILURE: at :0 | JS frame :: chrome://mochikit/content/tests/SimpleTest/SimpleTest.js :: simpletestOnerror :: line 1159
We're dispatching an event to a document which is already dead. This ends up throwing an error deep in XPCWrappedNative::GetNewOrUsed which is reported to the error console without any context or stack. This was a PITA to debug. I didn't use the existing InActiveDocument function you linked because it operates on nsIContent and I mainly have nsIDocument here.
Attachment #827573 - Flags: review?(jschoenick)
It seems funny to assign myself a bug and simultaneously set it to never send me bugmail, but TBPL Robot is not my friend. I wonder if I could just block mails from it?
Assignee: nobody → benjamin
Status: NEW → ASSIGNED
Attachment #827573 - Flags: review?(jschoenick) → review+
Everybody else, and I do mean everybody, just filters tbplbot email to a folder that they never look at.
(In reply to Benjamin Smedberg  [:bsmedberg] from comment #10)
> It seems funny to assign myself a bug and simultaneously set it to never
> send me bugmail, but TBPL Robot is not my friend. I wonder if I could just
> block mails from it?

(In reply to Phil Ringnalda (:philor) from comment #11)
> Everybody else, and I do mean everybody, just filters tbplbot email to a
> folder that they never look at.

More specifically, filter: header 'X-Bugzilla-Who' matches 'tbplbot@gmail.com'
https://hg.mozilla.org/mozilla-central/rev/abd3a6ce1eaa
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Setting status-firefox27 to affected since IIUC, this was caused by the recent CtP patches that are approved for uplift to Aurora. Please make sure this gets uplifted as well :)
Flags: needinfo?(benjamin)
(In reply to TBPL Robot from comment #23)
> honzab.moz%firemni.cz
> https://tbpl.mozilla.org/php/getParsedLog.php?id=30206288&tree=Try

On an older revision...
Flags: needinfo?(benjamin)
Depends on: 941908
You need to log in before you can comment on or make changes to this bug.