Closed
Bug 1027699
Opened 11 years ago
Closed 11 years ago
TypeError: w is undefined, while running wpt on Hamachi 1.3
Categories
(Testing :: web-platform-tests, defect)
Testing
web-platform-tests
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: jgriffin, Unassigned)
References
Details
On a 1.3 Hamachi, some of the wpt tests that are run as part of the cert suite are failing with this exception:
14:54.96 LOG: Thread-Log INFO STDOUT: System JS : ERROR http://web-platform.test:8000/resources/testharness.js:1842 - TypeError: w is undefined
14:55.00 LOG: Thread-Log INFO STDOUT: 1403197771558 Marionette INFO s
Full log snippet:
14:34.81 LOG: Thread-TestrunnerManager-1 INFO test_done
14:34.83 LOG: Thread-Log INFO STDOUT: 1403197751386 Marionette INFO sendToClient: {"from":"0","value":"1-b2g"}, {4a392da0-0b8a-439d-90d6-99a6a5fadc3a}, {4a392da0-0b8a-439d-90d6-99a6a5fadc3a}
14:34.85 TEST_START: Thread-TestrunnerManager-1 /dom/nodes/DocumentType-remove.html
14:34.88 LOG: Thread-Log INFO STDOUT: 1403197751434 Marionette INFO sendToClient: {"from":"0","ok":true}, {f2589208-eda2-4f47-bb85-c6e0ffb1a22d}, {f2589208-eda2-4f47-bb85-c6e0ffb1a22d}
14:34.90 LOG: Thread-Log INFO STDOUT: 1403197751454 Marionette INFO sendToClient: {"from":"0","value":["1-b2g"]}, {34c6af2c-9bf7-4472-9af2-20c3b03d8219}, {34c6af2c-9bf7-4472-9af2-20c3b03d8219}
14:34.91 LOG: Thread-Log INFO STDOUT: 1403197751476 Marionette DEBUG Got request: executeWithCallback, data: {"to":"0","sessionId":"3-b2g","name":"executeAsyncScript","parameters":{"scriptTimeout":null,"specialPowers":false,"script":"/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http://mozilla.org/MPL/2.0/. */\n\nwindow.wrappedJSObject.timeout_multiplier = 2;\n\nwindow.wrappedJSObject.done = function(tests, status) {\n clearTimeout(timer);\n var test_results = tests.map(function(x) {\n return {name:x.name, status:x.status, message:x.message}\n });\n marionetteScriptFinished({test:\"/dom/nodes/DocumentType-remove.html\",\n tests:test_results,\n status: status.status,\n message: status.message});\n}\n\nwindow.wrappedJSObject.win = window.open(\"http://web-platform.test:8000/dom/nodes/DocumentType-remove.html\", \"49543b51-ee44-4a76-a1bb-aebf9fd81a68\");\n\nvar timer = setTimeout(function() {\n log(\"Timeout fired\");\n window.wrappedJSObject.win.timeout();\n}, 20000);\n","newSandbox":false,"args":[],"filename":"executormarionette.py","line":187}}, id: {14c07ba6-d602-4fa8-a9fa-fe1408d4ea42}
14:35.44 LOG: Thread-Log INFO STDOUT: JavaScript error: http://web-platform.test:8000/resources/testharness.js, line 1842: w is undefined
14:54.93 LOG: Thread-Log INFO STDOUT: MARIONETTE LOG: INFO: Timeout fired
14:54.94 LOG: Thread-Log INFO STDOUT: 1403197771507 Marionette INFO sendToClient: {"from":"0","value":{"test":"/dom/nodes/DocumentType-remove.html","tests":[],"status":1,"message":null}}, {14c07ba6-d602-4fa8-a9fa-fe1408d4ea42}, {14c07ba6-d602-4fa8-a9fa-fe1408d4ea42}
14:54.95 LOG: Thread-TestrunnerManager-1 DEBUG Unexpected count in this thread 3
14:54.95 TEST_END: Thread-TestrunnerManager-1 Harness status ERROR, expected TIMEOUT. Subtests passed 0/0. Unexpected 1
14:54.95 LOG: Thread-TestrunnerManager-1 INFO Restarting runner
14:54.95 LOG: Thread-TestrunnerManager-1 DEBUG Stopping runner
14:54.96 LOG: Thread-Log INFO STDOUT: System JS : ERROR http://web-platform.test:8000/resources/testharness.js:1842 - TypeError: w is undefined
14:55.00 LOG: Thread-Log INFO STDOUT: 1403197771558 Marionette INFO sendToClient: {"from":"0","ok":true}, {e60607f7-527e-496d-a7ef-cce2f76a2ec8}, {e60607f7-527e-496d-a7ef-cce2f76a2ec8}
14:55.02 LOG: Thread-TestrunnerManager-1 DEBUG Testrunner exited with code 0
14:55.02 LOG: Thread-TestrunnerManager-1 DEBUG TestManager cleanup
14:55.02 LOG: Thread-TestrunnerManager-1 WARNING u'runner_teardown' ()
Comment 1•11 years ago
|
||
I think this might be fixed by an upgrade to the latest wptrunner but we need to test to be sure.
Reporter | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•