Closed Bug 1324057 Opened 9 years ago Closed 8 years ago

Intermittent test_execute_async_script.py TestExecuteAsyncChrome.test_execute_async_js_exception | ScriptTimeoutException: Timed out

Categories

(Testing :: Marionette Client and Harness, defect)

Version 3
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: bulk-close-intermittents, intermittent-failure)

It fails in this line: https://hg.mozilla.org/mozilla-central/annotate/63b447888a6469b9f6ae8f76ac5f0d7c6ea239da/testing/marionette/harness/marionette_harness/tests/unit/test_execute_async_script.py#l152 So it raises a JavaScriptException: 1481909618119 Marionette TRACE conn423 -> [0,11,"executeAsyncScript",{"scriptTimeout":null,"sandbox":"default","debug_script":true,"script":"\n var callback = arguments[arguments.length - 1];\n setTimeout(\"callback(foo())\", 50);\n ","newSandbox":true,"line":473,"args":[],"filename":"case.py"}] 1481909618442 Marionette TRACE conn423 <- [1,11,{"error":"script timeout","message":"Timed out","stacktrace":""},null] JavaScript error: case.py, line 2: ReferenceError: callback is not defined So the async script run for about 300ms. It should not have ended up with a TimeoutException.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Closing as not seen a while.
Status: REOPENED → RESOLVED
Closed: 8 years ago8 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → VERIFIED
Product: Testing → Remote Protocol
Moving bug to Testing::Marionette Client and Harness component per bug 1815831.
Component: Marionette → Marionette Client and Harness
Product: Remote Protocol → Testing
You need to log in before you can comment on or make changes to this bug.