Closed
Bug 1235457
Opened 8 years ago
Closed 8 years ago
Create ThreadSafeDevToolsUtils for the utilities that can be used in workers
Categories
(DevTools :: General, defect)
DevTools
General
Tracking
(firefox46 fixed)
RESOLVED
FIXED
Firefox 46
Tracking | Status | |
---|---|---|
firefox46 | --- | fixed |
People
(Reporter: fitzgen, Assigned: fitzgen)
References
Details
Attachments
(1 file, 1 obsolete file)
7.29 KB,
patch
|
fitzgen
:
review+
|
Details | Diff | Splinter Review |
This commit adds the ThreadSafeDevToolsUtils module for utilities that are guaranteed to work off the main thread. It also makes DevToolsUtils re-export the thread-safe utilities. This is similar to ChromeUtils and ThreadSafeChromeUtils webidl interfaces.
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8702400 -
Flags: review?(jsantell)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → nfitzgerald
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•8 years ago
|
||
Motivation behind this is that I want to start using immutableUpdate inside devtools/shared/heapsnapshot/* so it has to go into devtools/shared/* (it is currently in devtools/client/memory) and the logical place to put it is DevToolsUtils however that has a bunch of stuff that doesn't work off-main-thread.
Comment 3•8 years ago
|
||
Comment on attachment 8702400 [details] [diff] [review] Create ThreadSafeDevToolsUtils for the utilities that can be used in workers Review of attachment 8702400 [details] [diff] [review]: ----------------------------------------------------------------- I was going to express some concerns of the naming and separation (where any pure function would have to be imported via ThreadSafe[...]), but then saw that we also export the thread safe utils in normal DevToolsUtils which put at ease any concerns I had. Should mention this at the next meeting so others know it's aware -- we should have some tests for these at some point..
Attachment #8702400 -
Flags: review?(jsantell) → review+
Assignee | ||
Updated•8 years ago
|
Attachment #8702400 -
Attachment is obsolete: true
Assignee | ||
Comment 5•8 years ago
|
||
Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=053269714c94
Comment 7•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/63227efdffef
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 46
Comment 8•8 years ago
|
||
[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
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•