[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:33:10 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=156883

--- Comment #3 from Chris Dumez <cdumez at apple.com> ---
(In reply to comment #2)
> (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.
> 
> then
> 
> 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.

Please disregard the INDEXED_DATABASE / FetchAPI I used in my example. I assume you have a flag for IDB-In-Workers already.

-- 
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/b275a429/attachment-0001.html>


More information about the webkit-unassigned mailing list