Open Bug 614320 Opened 14 years ago Updated 3 years ago

browser_pageInfo.js triggers 2 strict warnings and 1 exception

Categories

(Firefox :: Page Info Window, defect)

All
Linux
defect

Tracking

()

People

(Reporter: dbaron, Unassigned)

References

(Depends on 1 open bug)

Details

(Whiteboard: [See comment 2])

The test browser_pageInfo.js triggers the assertion: ^G###!!! ASSERTION: XPConnect is being called on a scope without a 'Components' property! (stack follows): 'Error', file /builds/slave/tryserver-linux-debug/build/js/src/xpconnect/src/xpcwrappednativescope.cpp, line 781 which seems to be the fault of the actual page info code rather than the test. In particular, the assertion is being triggered when we try to call the function: callee fun: <function doGrab at 0xaf45fc08 (JSFunction at 0xaf415460)> file chrome://browser/content/pageinfo/pageInfo.js line 513 Are the timeouts in the pageInfo code continuing past when the document is no longer loaded?
(In reply to comment #0) > callee fun: <function doGrab at 0xaf45fc08 (JSFunction at 0xaf415460)> > file chrome://browser/content/pageinfo/pageInfo.js line 513 Er, sorry, that's the *calling* function. So I think we're trying to call iterator.nextNode() through a proxy. Or something like that.
https://tbpl.mozilla.org/php/getParsedLog.php?id=10013409&tree=Firefox&full=1 Rev3 Fedora 12 mozilla-central debug test mochitest-other on 2012-03-12 15:26:03 PDT for push 406113c400a9 The assertion doesn't occur (anymore), but: { TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/browser_pageInfo.js | Console message: [JavaScript Warning: &quot;reference to undefined property rels.feed&quot; {file: &quot;chrome://browser/content/browser.js&quot; line: 6752}] JavaScript error: , line 0: uncaught exception: [Exception... &quot;'[JavaScript Error: &quot;elem.ownerDocument.defaultView is null&quot; {file: &quot;chrome://browser/content/pageinfo/pageInfo.js&quot; line: 629}]' when calling method: [nsIDOMNodeFilter::acceptNode]&quot; nsresult: &quot;0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)&quot; location: &quot;JS frame :: chrome://browser/content/pageinfo/pageInfo.js :: doGrab :: line 576&quot; data: yes] TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/browser_pageInfo.js | Console message: [JavaScript Warning: &quot;reference to undefined property rels.feed&quot; {file: &quot;chrome://browser/content/pageinfo/feeds.js&quot; line: 29}] }
Depends on: 735139
https://tbpl.mozilla.org/php/getParsedLog.php?id=10037139&tree=Firefox&full=1 Rev3 Fedora 12x64 mozilla-central debug test mochitest-other on 2012-03-13 10:17:57 PDT for push cf4978c2e32c Morphing this bug.
No longer blocks: 404077, 510489
No longer depends on: 735139
Keywords: assertion, mlk
Hardware: x86 → All
Summary: browser_pageInfo.js triggers ASSERTION: XPConnect is being called on a scope without a 'Components' property → browser_pageInfo.js triggers 2 strict warnings and 1 exception
Whiteboard: [See comment 2]
Depends on: 799329
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.