The default bug view has changed. See this FAQ.

Intermittent accessible/events/test_docload.xul | uncaught JS exception - TypeError: currentTabDocument().getElementsByTagName("iframe")[0] is undefined at test_docload.xul:112 (and another)

RESOLVED FIXED in Firefox 17

Status

()

Core
Disability Access APIs
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: emorley, Assigned: surkov)

Tracking

({intermittent-failure})

Trunk
mozilla18
x86_64
Linux
intermittent-failure
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(firefox17 fixed)

Details

Attachments

(1 attachment)

+++ This bug was initially created as a clone of Bug #759670 +++

Rev3 Fedora 12x64 fx-team opt test mochitest-other on 2012-06-18 03:25:06 PDT for push b1a0fb2bdbf7

slave: talos-r3-fed64-061

https://tbpl.mozilla.org/php/getParsedLog.php?id=12751054&tree=Fx-Team

{
3566 INFO TEST-START | chrome://mochitests/content/a11y/accessible/events/test_docload.xul
3567 INFO TEST-INFO | chrome://mochitests/content/a11y/accessible/events/test_docload.xul | must wait for load
3568 INFO TEST-INFO | chrome://mochitests/content/a11y/accessible/events/test_docload.xul | must wait for focus
3569 INFO TEST-INFO | chrome://mochitests/content/a11y/accessible/events/test_docload.xul | Invoke the 'load uri data:text/html,<html><body><iframe src='http://example.com'></iframe></body></html>' test { expected 'document load complete' event; expected 'state change' event; unexpected 'document load complete' event; unexpected 'state change' event;  }
3570 ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/a11y/accessible/events/test_docload.xul | an unexpected uncaught JS exception reported through window.onerror - TypeError: currentTabDocument().getElementsByTagName("iframe")[0] is undefined at chrome://mochitests/content/a11y/accessible/events/test_docload.xul:112
3571 ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/a11y/accessible/events/test_docload.xul | an unexpected uncaught JS exception reported through window.onerror - TypeError: currentTabDocument().getElementsByTagName("iframe")[0] is undefined at chrome://mochitests/content/a11y/accessible/events/test_docload.xul:112
3572 INFO TEST-END | chrome://mochitests/content/a11y/accessible/events/test_docload.xul | finished in 1739ms
3573 INFO TEST-START | chrome://mochitests/content/a11y/accessible/events/test_docload_aria.html
3574 INFO TEST-UNEXPECTED-FAIL | chrome://mochitests/content/a11y/accessible/events/test_docload_aria.html | finished in a non-clean fashion (in chrome://mochitests/content/a11y/accessible/events/test_docload.xul)
3575 INFO TEST-END | chrome://mochitests/content/a11y/accessible/events/test_docload_aria.html | finished in 8ms
}

...

{
3637 INFO TEST-UNEXPECTED-FAIL | chrome://mochitests/content/a11y/accessible/events/test_dragndrop.html | finished in a non-clean fashion (in chrome://mochitests/content/a11y/accessible/events/test_docload.xul)
3661 INFO TEST-UNEXPECTED-FAIL | chrome://mochitests/content/a11y/accessible/events/test_focus_aria_activedescendant.html | finished in a non-clean fashion (in chrome://mochitests/content/a11y/accessible/events/test_dragndrop.html)
}
https://tbpl.mozilla.org/php/getParsedLog.php?id=12791560&tree=Firefox
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
https://tbpl.mozilla.org/php/getParsedLog.php?id=14454531&tree=Firefox (in the classic a11y style, with hundreds of fallout failures afterward)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Alex/Trevor, do you know when you'll be able to take a look at this? :-)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Backed out the logging from https://hg.mozilla.org/integration/mozilla-inbound/rev/fb49a2f819ad in https://hg.mozilla.org/integration/mozilla-inbound/rev/559c5895bad6 since the "firstFrame is not defined" exceptions were giving tens of thousands of test failures per run.
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
https://tbpl.mozilla.org/php/getParsedLog.php?id=14669245&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=14712920&tree=Mozilla-Inbound
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
(Assignee)

Comment 101

5 years ago
http://hg.mozilla.org/integration/mozilla-inbound/rev/1c2e9acb91a3

Updated

5 years ago
Whiteboard: [orange] → [orange][more logging via comment 101]
Whiteboard: [orange][more logging via comment 101] → [orange][leave open][more logging via comment 101]
https://hg.mozilla.org/mozilla-central/rev/1c2e9acb91a3
Assignee: nobody → surkov.alexander
Whiteboard: [orange][leave open][more logging via comment 101] → [orange][more logging via comment 101]
Comment hidden (Treeherder Robot)
(Assignee)

Comment 104

5 years ago
Created attachment 664385 [details] [diff] [review]
patch

the log is:

registered: event type: document load complete, target: currentTabDocument, arg: undefined

registered: event type: state change, target: no target description

registered unexpected: event type: document load complete, target: getNestedDoc, arg: undefined

registered unexpected: event type: state change, target: getNestedDoc, arg: undefined

Event queue:
  invoke: load uri data:text/html,<html><body><iframe src='http://example.com'></iframe></body></html>
3642 INFO TEST-INFO | chrome://mochitests/content/a11y/accessible/events/test_docload.xul | Invoke the 'load uri data:text/html,<html><body><iframe src='http://example.com'></iframe></body></html>' test { expected 'document load complete' event; expected 'state change' event; unexpected 'document load complete' event; unexpected 'state change' event;  }

Event type: state change. Target: ['toolbarbutton@id="urlbar-reload-button" node', address: [object XULElement], role: pushbutton, name: 'Location', address: [xpconnect wrapped nsIAccessible]]. Listeners count: 1
3643 ERROR TEST-UNEXPECTED-FAIL | chrome://mochitests/content/a11y/accessible/events/test_docload.xul | an unexpected uncaught JS exception reported through window.onerror - TypeError: currentTabDocument(...).getElementsByTagName(...)[0] is undefined at chrome://mochitests/content/a11y/accessible/events/test_docload.xul:112

the fail cause: when this state change event triggers the tested document is not loaded yet so we can't get a target to compare with a target of handled event.
Attachment #664385 - Flags: review?(trev.saunders)
(Assignee)

Updated

5 years ago
Whiteboard: [orange][more logging via comment 101] → [orange][logging via comment 101]
Attachment #664385 - Flags: review?(trev.saunders) → review+
Comment hidden (Treeherder Robot)
(Assignee)

Comment 106

5 years ago
http://hg.mozilla.org/integration/mozilla-inbound/rev/4a080f2c3091
Whiteboard: [orange][logging via comment 101] → [orange]
Target Milestone: --- → mozilla18
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
https://hg.mozilla.org/mozilla-central/rev/4a080f2c3091
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Blocks: 795210
https://hg.mozilla.org/releases/mozilla-aurora/rev/276b9140dec2
status-firefox17: --- → fixed
Keywords: intermittent-failure
Whiteboard: [orange]
Comment hidden (Treeherder Robot)
You need to log in before you can comment on or make changes to this bug.