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)
Tracking
()
        NEW
        
        
    
  
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?
| Reporter | ||
| Comment 1•14 years ago
           | ||
(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.
| Comment 2•13 years ago
           | ||
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: "reference to undefined property rels.feed" {file: "chrome://browser/content/browser.js" line: 6752}]
JavaScript error: , line 0: uncaught exception: [Exception... "'[JavaScript Error: "elem.ownerDocument.defaultView is null" {file: "chrome://browser/content/pageinfo/pageInfo.js" line: 629}]' when calling method: [nsIDOMNodeFilter::acceptNode]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: chrome://browser/content/pageinfo/pageInfo.js :: doGrab :: line 576"  data: yes]
TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/browser_pageInfo.js | Console message: [JavaScript Warning: "reference to undefined property rels.feed" {file: "chrome://browser/content/pageinfo/feeds.js" line: 29}]
}
| Comment 3•13 years ago
           | ||
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 depends on: 735139
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]
| Updated•3 years ago
           | 
Severity: normal → S3
          You need to log in
          before you can comment on or make changes to this bug.
        
Description
•