Closed Bug 960425 Opened 11 years ago Closed 11 years ago

Add "dom.datastore.enabled" in the worker's preference system

Categories

(Core :: DOM: Workers, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: airpingu, Unassigned)

References

Details

Bug 949325 is going to run DataStore API on the worker. However, reading the preference in the worker is not thread safe. We need to add an entry for "dom.datastore.enabled" in the worker's preference system. This issue is discovered by Nikhil at: https://bugzilla.mozilla.org/show_bug.cgi?id=949325#c62 After this done, Bug 949325 can then call WorkerPrivate::DataStoreEnabled() to thread-safely get the pref value.
We already fixed this by the part 2-6 patch at bug 949325 in an alternative way.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.