Closed Bug 1244223 Opened 8 years ago Closed 8 years ago

Unhandled promise rejections in debugger tests

Categories

(DevTools :: Debugger, defect)

defect
Not set
normal

Tracking

(firefox47 fixed)

RESOLVED FIXED
Firefox 47
Tracking Status
firefox47 --- fixed

People

(Reporter: jryans, Assigned: jlong)

References

Details

Attachments

(1 file)

Bug 1240804 uncovered several debugger tests that fail when unhandled promise rejection tracking is used:

devtools/client/debugger/test/mochitest/browser_dbg_addon-modules.js
devtools/client/debugger/test/mochitest/browser_dbg_addon-panels.js
devtools/client/debugger/test/mochitest/browser_dbg_addon-panels.js
devtools/client/debugger/test/mochitest/browser_dbg_addon-sources.js
devtools/client/debugger/test/mochitest/browser_dbg_addon-sources.js
devtools/client/debugger/test/mochitest/browser_dbg_scripts-switching-03.js
devtools/client/debugger/test/mochitest/browser_dbg_server-conditional-bp-03.js

Please note you need to apply the patch in bug 1240804 to see the test failures.
Depends on: 1244892
Made a few tweaks, let's see if it fixes everything: https://treeherder.mozilla.org/#/jobs?repo=try&revision=57d7278a3691
Attached patch 1244223.patchSplinter Review
These changes might fix the rests of the tests
Awesome, I think my changes do fix everything. I'll land fixes for all tests in this bug except for script-switching which I will fix in bug 1244892.
I feel the need to do a normal try run (without the promise patch) before actually landing: https://treeherder.mozilla.org/#/jobs?repo=try&revision=b3ac14b5fcd7

Just to make sure I'm not missing something that is actually failing (the above try still has a ton of errors)
https://hg.mozilla.org/mozilla-central/rev/74e3b33329f5
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 47
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: