Intermittent test failures in browser_dbg_script-switching.js

RESOLVED FIXED

Status

defect
RESOLVED FIXED
8 years ago
Last year

People

(Reporter: past, Assigned: past)

Tracking

Trunk
x86
Windows 7
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

From the try run at: https://tbpl.mozilla.org/?tree=Try&rev=202c0d9b0cdb

TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_script-switching.js | The first script is displayed again.
Stack trace:
    JS frame :: chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_script-switching.js :: testSwitchRunning :: line 75
    JS frame :: chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_script-switching.js :: <TOP_LEVEL> :: line 67
    JS frame :: chrome://mochikit/content/browser-test.js :: <TOP_LEVEL> :: line 418
Component: Developer Tools → Developer Tools: Debugger
QA Contact: developer.tools → developer.tools.debugger
Posted patch Working patchSplinter Review
The bug is that the test is triggered on the wrong event. scriptsadded is the proper event to start the test on, because when it fires it changes the list box items unbeknownst to the test code.
Assignee: nobody → past
Status: NEW → ASSIGNED
Attachment #575858 - Flags: review?(dcamp)
Attachment #575858 - Flags: review?(dcamp) → review+
https://hg.mozilla.org/users/dcamp_campd.org/remote-debug/rev/de21cda87a2c
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.