Closed Bug 952350 Opened 6 years ago Closed 4 years ago

Intermittent test_sorttemplate.xul,test_statusbar.xul | uncaught exception - NS_ERROR_XPC_SECURITY_MANAGER_VETO: at test_showcaret.xul:36

Categories

(Toolkit :: XUL Widgets, defect)

All
Windows XP
defect
Not set

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: KWierso, Unassigned)

Details

(Keywords: intermittent-failure)

https://tbpl.mozilla.org/php/getParsedLog.php?id=32238019&tree=Fx-Team#error0
slave: t-xp32-ix-037


13:07:02     INFO -  35976 INFO TEST-START | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_showcaret.xul
13:07:02     INFO -  35977 INFO TEST-INFO | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_showcaret.xul | must wait for load
13:07:02     INFO -  35978 INFO TEST-PASS | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_showcaret.xul | focusNode for non-showcaret
13:07:02     INFO -  35979 INFO TEST-PASS | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_showcaret.xul | focusOffset for non-showcaret
13:07:02     INFO -  35980 INFO TEST-PASS | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_showcaret.xul | scrollY for showcaret
13:07:02     INFO -  35981 INFO TEST-PASS | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_showcaret.xul | focusNode for showcaret
13:07:02     INFO -  35982 INFO TEST-PASS | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_showcaret.xul | focusOffset for showcaret
13:07:02     INFO -  35983 INFO TEST-PASS | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_showcaret.xul | hbox in other window is focused
13:07:02     INFO -  35984 INFO TEST-PASS | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_showcaret.xul | hbox still focused in other window after down movement
13:07:02     INFO -  35985 INFO TEST-INFO | MEMORY STAT vsize after test: 501186560
13:07:02     INFO -  35986 INFO TEST-INFO | MEMORY STAT vsizeMaxContiguous after test: 483393536
13:07:02     INFO -  35987 INFO TEST-INFO | MEMORY STAT residentFast after test: 253747200
13:07:02     INFO -  35988 INFO TEST-INFO | MEMORY STAT heapAllocated after test: 103027510
13:07:02     INFO -  35989 INFO TEST-END | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_showcaret.xul | finished in 154ms
13:07:02     INFO -  JavaScript error: chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_showcaret.xul, line 36: frames[0] is undefined
13:07:02     INFO -  35990 INFO TEST-START | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_sorttemplate.xul
13:07:02     INFO -  JavaScript error: chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_showcaret.xul, line 36: frames[0] is undefined
13:07:02     INFO -  35991 ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_sorttemplate.xul | uncaught exception - TypeError: frames[0] is undefined at chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_showcaret.xul:36
13:07:02     INFO -  JavaScript error: chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_showcaret.xul, line 36: frames[0] is undefined
13:07:02     INFO -  35992 INFO TEST-PASS | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_sorttemplate.xul | acsending row order
13:07:02     INFO -  35993 INFO TEST-PASS | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_sorttemplate.xul | descending row order
13:07:02     INFO -  35994 INFO TEST-PASS | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_sorttemplate.xul | natural row order
13:07:02     INFO -  35995 INFO TEST-INFO | MEMORY STAT vsize after test: 501194752
13:07:02     INFO -  35996 INFO TEST-INFO | MEMORY STAT vsizeMaxContiguous after test: 483393536
13:07:02     INFO -  35997 INFO TEST-INFO | MEMORY STAT residentFast after test: 254013440
13:07:02     INFO -  35998 INFO TEST-INFO | MEMORY STAT heapAllocated after test: 103292632
13:07:02     INFO -  35999 ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_sorttemplate.xul | [SimpleTest.finish()] this test already called finish!
13:07:02     INFO -  36000 ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_sorttemplate.xul | called finish() multiple times
13:07:02     INFO -  36001 INFO TEST-END | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_sorttemplate.xul | finished in 150ms
13:07:02     INFO -  36002 INFO TEST-START | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_statusbar.xul
13:07:02     INFO -  36003 INFO TEST-PASS | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_statusbar.xul | OK - statusbarpanel label
13:07:02     INFO -  36004 INFO TEST-PASS | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_statusbar.xul | happy.png - statusbarpanel image
13:07:02     INFO -  36005 INFO TEST-PASS | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_statusbar.xul | sad.png - statusbarpanel set src
13:07:02     INFO -  36006 INFO TEST-PASS | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_statusbar.xul | sad.png - statusbarpanel set src attribute
13:07:02     INFO -  36007 INFO TEST-INFO | MEMORY STAT vsize after test: 501211136
13:07:02     INFO -  36008 INFO TEST-INFO | MEMORY STAT vsizeMaxContiguous after test: 483393536
13:07:02     INFO -  36009 INFO TEST-INFO | MEMORY STAT residentFast after test: 254398464
13:07:02     INFO -  36010 INFO TEST-INFO | MEMORY STAT heapAllocated after test: 104681196
13:07:02     INFO -  36011 INFO TEST-END | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_statusbar.xul | finished in 65ms
13:07:02     INFO -  36012 INFO TEST-START | chrome://mochitests/content/chrome/toolkit/content/tests/chrome/test_subframe_origin.xul
The exception changed starting with comment 8, though it's still at the same line of the same file.
Summary: Intermittent TEST-UNEXPECTED-FAIL | test_sorttemplate.xul | uncaught exception - TypeError: frames[0] is undefined at test_showcaret.xul:36 → Intermittent TEST-UNEXPECTED-FAIL | test_sorttemplate.xul | uncaught exception - NS_ERROR_XPC_SECURITY_MANAGER_VETO: at test_showcaret.xul:36
Bobby, any suggestions who might be able to help with this?
Flags: needinfo?(bobbyholley)
I can do some try runs to at least figure out where it is being thrown.  This is weird enough it might be nice to have some NS_WARNING in there.
Assignee: nobody → continuation
This is almost entirely XP opt Moth.  There are a few failures on other Windows OSes.
That didn't hit any failures, so I'm trying again with a slightly newer branch, and without any of my other random patches:
  https://tbpl.mozilla.org/?tree=Try&rev=16c5778ae92d
That certainly hit failures.  Oddly, I don't see any of that WARNINGs that I added.

The first push was based on something earlier today, so maybe one of those patches magically fixes this issue.  I'm not sure what though.
Nothing seems to have magically fixed it. Disabled on Windows in https://hg.mozilla.org/integration/mozilla-inbound/rev/3ab13b082074
Whiteboard: [leave open][test disabled on Windows]
Which, alas, just moves it on to test_statusbar.xul.

https://tbpl.mozilla.org/php/getParsedLog.php?id=33977511&tree=Mozilla-Inbound
Summary: Intermittent TEST-UNEXPECTED-FAIL | test_sorttemplate.xul | uncaught exception - NS_ERROR_XPC_SECURITY_MANAGER_VETO: at test_showcaret.xul:36 → Intermittent test_sorttemplate.xul,test_statusbar.xul | uncaught exception - NS_ERROR_XPC_SECURITY_MANAGER_VETO: at test_showcaret.xul:36
test_showcaret.xul is the original source of the exception, it looks like.  I'd try disabling that one.
The issue here is mostly likely that |listener| fires when the window has already been navigated away from.

Looks like this is testing some possibly-important accessibility stuff. Flagging david to make sure this is on his radar.
Flags: needinfo?(bobbyholley) → needinfo?(dbolter)
Thanks Bobby. Passing the ping to Trevor.
Flags: needinfo?(dbolter) → needinfo?(trev.saunders)
(In reply to Bobby Holley (:bholley) from comment #142)
> The issue here is mostly likely that |listener| fires when the window has
> already been navigated away from.
> 
> Looks like this is testing some possibly-important accessibility stuff.
> Flagging david to make sure this is on his radar.

accessibility shouldn't worry about something navigated away but can it be a core problem that the listener triggers for such windows?
(In reply to David Bolter [:davidb] from comment #144)
> Thanks Bobby. Passing the ping to Trevor.

I'm not sure what you want from me, I don't know anything about this test or what it presumably tests.
Flags: needinfo?(trev.saunders)
Assignee: continuation → nobody
This was re-enabled by https://hg.mozilla.org/integration/mozilla-inbound/rev/5b73b6e079e0.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
Whiteboard: [leave open][test disabled on Windows]
You need to log in before you can comment on or make changes to this bug.