Last Comment Bug 777243 - Intermittent Android test_bug760802.html | an unexpected uncaught JS exception reported through window.onerror - TypeError: win.gBrowser is undefined at widget/tests/test_bug760802.html:53
: Intermittent Android test_bug760802.html | an unexpected uncaught JS exceptio...
Status: RESOLVED FIXED
: intermittent-failure
Product: Core
Classification: Components
Component: Widget (show other bugs)
: Trunk
: ARM Android
: -- normal (vote)
: mozilla17
Assigned To: foudfou
:
Mentors:
Depends on:
Blocks: 438871 760802
  Show dependency treegraph
 
Reported: 2012-07-24 23:34 PDT by Chris Jones [:cjones] inactive; ni?/f?/r? if you need me
Modified: 2014-10-15 12:02 PDT (History)
3 users (show)
ryanvm: in‑testsuite+
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
no gBrowser in Android (1.79 KB, patch)
2012-07-26 06:31 PDT, foudfou
roc: review+
Details | Diff | Splinter Review
with simpler docShell get (1.67 KB, patch)
2012-07-26 16:31 PDT, foudfou
roc: review+
Details | Diff | Splinter Review

Description Chris Jones [:cjones] inactive; ni?/f?/r? if you need me 2012-07-24 23:34:05 PDT
Seen on 

https://tbpl.mozilla.org/php/getParsedLog.php?id=13826335&tree=Mozilla-Inbound

Android Tegra 250 mozilla-inbound opt test mochitest-8 on 2012-07-24 21:22:19 PDT for push b0fdbf25855a

slave: tegra-120

71714 ERROR TEST-UNEXPECTED-FAIL | /tests/widget/tests/test_bug760802.html | an unexpected uncaught JS exception reported through window.onerror - TypeError: win.gBrowser is undefined at http://mochi.test:8888/tests/widget/tests/test_bug760802.html:53
I/GeckoDump( 1644): 71714 ERROR TEST-UNEXPECTED-FAIL | /tests/widget/tests/test_bug760802.html | an unexpected uncaught JS exception reported through window.onerror - TypeError: win.gBrowser is undefined at http://mochi.test:8888/tests/widget/tests/test_bug760802.html:53

Guessing it's a new intermittent failure.  Not sure if bug 760802 is at fault, but setting to block to get some eyes on this.
Comment 1 Chris Jones [:cjones] inactive; ni?/f?/r? if you need me 2012-07-25 00:03:57 PDT
Looking not-so-intermittent ...

https://tbpl.mozilla.org/php/getParsedLog.php?id=13828675&tree=Mozilla-Inbound
Comment 2 Chris Jones [:cjones] inactive; ni?/f?/r? if you need me 2012-07-25 00:07:23 PDT
This test last ran to completion without infra failures on

emorley@mozilla.com – Tue Jul 24 06:39:51 2012 PDT 
d4982fbe4fa8

where it was green.
Comment 4 Treeherder Robot 2012-07-25 04:00:53 PDT
edmorley
https://tbpl.mozilla.org/php/getParsedLog.php?id=13833586&tree=Mozilla-Inbound
Android Tegra 250 mozilla-inbound opt test mochitest-8 on 2012-07-25 03:11:26
slave: tegra-074

71714 ERROR TEST-UNEXPECTED-FAIL | /tests/widget/tests/test_bug760802.html | an unexpected uncaught JS exception reported through window.onerror - TypeError: win.gBrowser is undefined at http://mochi.test:8888/tests/widget/tests/test_bug760802.html:53
I/GeckoDump( 1629): 71714 ERROR TEST-UNEXPECTED-FAIL | /tests/widget/tests/test_bug760802.html | an unexpected uncaught JS exception reported through window.onerror - TypeError: win.gBrowser is undefined at http://mochi.test:8888/tests/widget/tests/test_bug760802.html:53
Comment 5 Treeherder Robot 2012-07-25 08:14:56 PDT
Ms2ger%gmail.com
https://tbpl.mozilla.org/php/getParsedLog.php?id=13839310&tree=Mozilla-Inbound
Android Tegra 250 mozilla-inbound opt test mochitest-8 on 2012-07-25 07:30:47
slave: tegra-188

71714 ERROR TEST-UNEXPECTED-FAIL | /tests/widget/tests/test_bug760802.html | an unexpected uncaught JS exception reported through window.onerror - TypeError: win.gBrowser is undefined at http://mochi.test:8888/tests/widget/tests/test_bug760802.html:53
I/GeckoDump( 1646): 71714 ERROR TEST-UNEXPECTED-FAIL | /tests/widget/tests/test_bug760802.html | an unexpected uncaught JS exception reported through window.onerror - TypeError: win.gBrowser is undefined at http://mochi.test:8888/tests/widget/tests/test_bug760802.html:53
Comment 6 Treeherder Robot 2012-07-25 10:17:53 PDT
edmorley
https://tbpl.mozilla.org/php/getParsedLog.php?id=13842355&tree=Firefox
Android Tegra 250 mozilla-central opt test mochitest-8 on 2012-07-25 09:20:26
slave: tegra-061

71714 ERROR TEST-UNEXPECTED-FAIL | /tests/widget/tests/test_bug760802.html | an unexpected uncaught JS exception reported through window.onerror - TypeError: win.gBrowser is undefined at http://mochi.test:8888/tests/widget/tests/test_bug760802.html:53
I/GeckoDump( 1857): 71714 ERROR TEST-UNEXPECTED-FAIL | /tests/widget/tests/test_bug760802.html | an unexpected uncaught JS exception reported through window.onerror - TypeError: win.gBrowser is undefined at http://mochi.test:8888/tests/widget/tests/test_bug760802.html:53
Comment 7 foudfou 2012-07-26 06:31:23 PDT
Created attachment 646115 [details] [diff] [review]
no gBrowser in Android

My bad, I wrongly followed examples intended MOZ_WIDGET_TOOLKIT=windows. gBrowser is not defined for Android. Here's a fix.
https://tbpl.mozilla.org/?tree=Try&rev=028322613e14 looks OK to me.
Comment 8 Robert O'Callahan (:roc) (Exited; email my personal email if necessary) 2012-07-26 15:46:18 PDT
Comment on attachment 646115 [details] [diff] [review]
no gBrowser in Android

Review of attachment 646115 [details] [diff] [review]:
-----------------------------------------------------------------

r+ anyway

::: widget/tests/test_bug760802.html
@@ +39,5 @@
> +    .QueryInterface(Ci.nsIDocShellTreeItem)
> +    .treeOwner
> +    .QueryInterface(Ci.nsIInterfaceRequestor)
> +    .getInterface(Ci.nsIXULWindow)
> +    .docShell

Is this docShell step needed? Seems to me it should not be.
Comment 9 foudfou 2012-07-26 16:31:44 PDT
Created attachment 646404 [details] [diff] [review]
with simpler docShell get
Comment 10 Ryan VanderMeulen [:RyanVM] 2012-07-26 18:26:44 PDT
https://hg.mozilla.org/integration/mozilla-inbound/rev/a7e20d9dc2f7
Comment 12 Treeherder Robot 2012-09-16 20:24:03 PDT
tanvi
https://tbpl.mozilla.org/php/getParsedLog.php?id=15226085&tree=Try
Rev5 MacOSX Mountain Lion 10.8 try debug test mochitests-5/5 on 2012-09-14 13:21:30
slave: talos-mtnlion-r5-032

7225 ERROR TEST-UNEXPECTED-FAIL | /tests/uriloader/exthandler/tests/mochitest/test_handlerApps.xhtml | an unexpected uncaught JS exception reported through window.onerror - NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsILocalHandlerApp.launchWithURI] at chrome://specialpowers/content/specialpowersAPI.js:113
7229 ERROR TEST-UNEXPECTED-FAIL | /tests/uriloader/exthandler/tests/mochitest/test_unsafeBidiChars.xhtml | finished in a non-clean fashion (in /tests/uriloader/exthandler/tests/mochitest/test_handlerApps.xhtml)
7272 ERROR TEST-UNEXPECTED-FAIL | /tests/widget/tests/test_bug760802.html | finished in a non-clean fashion (in /tests/uriloader/exthandler/tests/mochitest/test_unsafeBidiChars.xhtml)

Note You need to log in before you can comment on or make changes to this bug.