Bug 28789 - Release the storage mutex whenever leaving JavaScript execution.
Summary: Release the storage mutex whenever leaving JavaScript execution.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Jeremy Orlow
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-27 16:37 PDT by Jeremy Orlow
Modified: 2009-08-27 17:14 PDT (History)
0 users

See Also:


Attachments
Patch v1 (2.84 KB, patch)
2009-08-27 16:38 PDT, Jeremy Orlow
fishd: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Orlow 2009-08-27 16:37:15 PDT
http://dev.w3.org/html5/spec/Overview.html#storage-mutex describes the
required behavior.  After we leave JavaScript, we must be sure the storage
mutex has been released.  At the end of evaluate(), if localStorage has been
instantiated, tell it to release any locks that may be applicable.
Comment 1 Jeremy Orlow 2009-08-27 16:38:49 PDT
Created attachment 38698 [details]
Patch v1
Comment 2 Jeremy Orlow 2009-08-27 17:14:55 PDT
Committed r47846: <http://trac.webkit.org/changeset/47846>