Closed Bug 703663 Opened 10 years ago Closed 10 years ago

Intermittent test failures in browser_dbg_script-switching.js

Categories

(DevTools :: Debugger, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: past, Assigned: past)

References

Details

Attachments

(1 file)

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
Attached 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: 10 years ago
Resolution: --- → FIXED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.