[Webkit-unassigned] [Bug 156883] Disable exposing IDBVersionChangeEvent and IDBKeyRange to WorkerGlobalScope when IDB-in-Workers is disabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 21 18:31:53 PDT 2016


--- Comment #2 from Chris Dumez <cdumez at apple.com> ---
(In reply to comment #1)
> Chris, you're pretty darned knowledgeable in this area - What can we do?

The easy way to do this right now would be to do:
1. Drop the "Exposed=(Window,Worker)" from IDBVersionChangeEvent and IDBKeyRange so that they are only exposed to Window by default.


2. Add explicit Constructor attributes on WorkerGlobalScope (for IDBVersionChangeEvent and IDBKeyRange) that are either [Conditional=INDEXED_DATABASE] or [EnabledAtRuntime=FetchAPI] depending if IDB-in-Workers is a compile-time or a runtime thing.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160422/40a4f404/attachment.html>

More information about the webkit-unassigned mailing list