Closed Bug 1235458 Opened 9 years ago Closed 9 years ago

Move as many utilities as we can from DevToolsUtils.js to ThreadSafeDevToolsUtils.js

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(firefox46 fixed)

RESOLVED FIXED
Firefox 46
Tracking Status
firefox46 --- fixed

People

(Reporter: fitzgen, Assigned: fitzgen)

References

Details

Attachments

(1 file, 2 obsolete files)

So we can use them in workers easily and reliably.
The ones I'd like to most move over, I'm not sure we can: assert/reallyAssert and reportException. These currently rely on dump and Cu.reportError. Cu is not available in workers and I have no idea whether or not dump is. Looking into the viability of using console.error() instead.
Looks like both dump() and console.error() work great in workers! \o/
But we still can't get assert because it relies on AppConstants :(
Attachment #8710221 - Attachment is obsolete: true
Attachment #8710221 - Flags: review?(jsantell)
Attachment #8710229 - Flags: review?(jsantell) → review+
Fixes for the failures from the try push.
Attachment #8710636 - Flags: review+
Attachment #8710229 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 46
[bugday-20160323] Status: RESOLVED,FIXED -> UNVERIFIED Comments: STR: Not clear. Developer specific testing Component: Name Firefox Version 46.0b9 Build ID 20160322075646 Update Channel beta User Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0 OS Windows 7 SP1 x86_64 Expected Results: Developer specific testing Actual Results: As expected
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: