Closed
Bug 751069
Opened 12 years ago
Closed 12 years ago
'test-content-worker.test:sample' fails with 'TypeError: window.location is undefined' on Nightly
Categories
(Add-on SDK Graveyard :: General, defect, P1)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
info: executing 'test-content-worker.test:sample'
info: pass: window starts by loading about:blank
info: pass: window is now on the right document
...
var myLocation = window.location.toString
...
TypeError: window.location is undefined
info: pass: worker.url works
error: TEST FAILED: test-content-worker.test:sample (timed out)
We are facing another platform regression. Following snippet is still working on stable release but not on Aurora, nor nightly:
var Cu = Components.utils;
var s = Cu.Sandbox(content, {
sandboxPrototype: content
});
Cu.reportError( s.location + " - "+ content.location );
`s.location` is undefined whereas it should be equal to `content.location`.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → poirot.alex
Priority: -- → P1
https://tbpl.mozilla.org/?noignore=1&jobname=jetpack&rev=fafd873d469c
All tests appear to be passing again on Nightly with bug 751077 landed.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•