Closed Bug 1006157 Opened 11 years ago Closed 11 years ago

mochitest-b2g-desktop Javascript error: SimpleTest.waitForExplicitFinish is not a function

Categories

(Firefox OS Graveyard :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 927889

People

(Reporter: grobinson, Unassigned)

References

Details

Trying to run a test on B2G: content/base/test/csp/test_CSP_bug663567.html Using latest m-c and gaia repos. garrett-OptiPlex-9020 :: ~/mozilla-central » echo $GAIA_PROFILE /home/garrett/gaia/profile garrett-OptiPlex-9020 :: ~/mozilla-central » ./mach mochitest-b2g-desktop content/base/test/csp/test_CSP_bug663567.html b2g-desktop starts and emits a lot of console output, which ends with: ++DOMWINDOW == 9 (0x7f327c5f9800) [pid = 21444] [serial = 11] [outer = 0x7f3287129800] JavaScript error: http://mochi.test:8888/tests/SimpleTest/SimpleTest.js, line 26: Permission denied to access property 'TestRunner' ++DOCSHELL 0x7f32795c1800 == 5 [pid = 21444] [id = 5] ++DOMWINDOW == 10 (0x7f327c623800) [pid = 21444] [serial = 12] [outer = (nil)] ++DOCSHELL 0x7f327c259000 == 6 [pid = 21444] [id = 6] ++DOMWINDOW == 11 (0x7f3285bb7400) [pid = 21444] [serial = 13] [outer = (nil)] [21444] WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv) && subjPrincipal) failed: file /home/garrett/mozilla-central/docshell/base/nsDocShell.cpp, line 8666 [21444] WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv) && subjPrincipal) failed: file /home/garrett/mozilla-central/docshell/base/nsDocShell.cpp, line 8666 [21444] WARNING: NS_ENSURE_TRUE(globalObject && globalObject->GetGlobalJSObject()) failed: file /home/garrett/mozilla-central/content/html/document/src/nsHTMLContentSink.cpp, line 740 ++DOMWINDOW == 12 (0x7f328718d800) [pid = 21444] [serial = 14] [outer = 0x7f327c623800] [21444] WARNING: NS_ENSURE_TRUE(globalObject && globalObject->GetGlobalJSObject()) failed: file /home/garrett/mozilla-central/content/html/document/src/nsHTMLContentSink.cpp, line 740 ++DOMWINDOW == 13 (0x7f327c5d4c00) [pid = 21444] [serial = 15] [outer = 0x7f3285bb7400] JavaScript error: http://mochi.test:8888/tests/content/base/test/csp/test_CSP_bug663567.html?autorun=1&closeWhenDone=1&logFile=%2Fhome%2Fgarrett%2Fbuild%2F_tests%2Ftesting%2Fmochitest%2Fmochitest.log&fileLevel=INFO&consoleLevel=INFO&dumpOutputDirectory=%2Ftmp, line 17: SimpleTest.waitForExplicitFinish is not a function --DOMWINDOW == 12 (0x7f32764cec00) [pid = 21444] [serial = 10] [outer = (nil)] [url = about:blank] (full traceback: https://pastebin.mozilla.org/5074352) At this point b2g-desktop hangs. No window opens and the test never runs.
Blocks: 986077
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.