<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[199889] trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/199889">199889</a></dd>
<dt>Author</dt> <dd>cdumez@apple.com</dd>
<dt>Date</dt> <dd>2016-04-22 12:22:54 -0700 (Fri, 22 Apr 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>Support disabling at runtime IndexedDB constructors exposed to workers
https://bugs.webkit.org/show_bug.cgi?id=156883

Reviewed by Darin Adler.

Source/WebCore:

Support disabling at runtime IndexedDB constructors exposed to workers.
Previously, constructors visibility to workers and window was constrolled
by the same runtime flag.

* Modules/indexeddb/IDBCursor.idl:
* Modules/indexeddb/IDBCursorWithValue.idl:
* Modules/indexeddb/IDBDatabase.idl:
* Modules/indexeddb/IDBFactory.idl:
* Modules/indexeddb/IDBIndex.idl:
* Modules/indexeddb/IDBKeyRange.idl:
* Modules/indexeddb/IDBObjectStore.idl:
* Modules/indexeddb/IDBOpenDBRequest.idl:
* Modules/indexeddb/IDBRequest.idl:
* Modules/indexeddb/IDBTransaction.idl:
* Modules/indexeddb/IDBVersionChangeEvent.idl:
* workers/WorkerGlobalScope.idl:

LayoutTests:

Add layout test coverage.

* storage/indexeddb/modern/resources/workers-disabled.js:
* storage/indexeddb/modern/resources/workers-enable.js:
* storage/indexeddb/modern/workers-disabled-expected.txt:
* storage/indexeddb/modern/workers-enable-expected.txt:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsstorageindexeddbmodernresourcesworkersdisabledjs">trunk/LayoutTests/storage/indexeddb/modern/resources/workers-disabled.js</a></li>
<li><a href="#trunkLayoutTestsstorageindexeddbmodernresourcesworkersenablejs">trunk/LayoutTests/storage/indexeddb/modern/resources/workers-enable.js</a></li>
<li><a href="#trunkLayoutTestsstorageindexeddbmodernworkersdisabledexpectedtxt">trunk/LayoutTests/storage/indexeddb/modern/workers-disabled-expected.txt</a></li>
<li><a href="#trunkLayoutTestsstorageindexeddbmodernworkersenableexpectedtxt">trunk/LayoutTests/storage/indexeddb/modern/workers-enable-expected.txt</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBCursoridl">trunk/Source/WebCore/Modules/indexeddb/IDBCursor.idl</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBCursorWithValueidl">trunk/Source/WebCore/Modules/indexeddb/IDBCursorWithValue.idl</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBDatabaseidl">trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.idl</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBFactoryidl">trunk/Source/WebCore/Modules/indexeddb/IDBFactory.idl</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBIndexidl">trunk/Source/WebCore/Modules/indexeddb/IDBIndex.idl</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBKeyRangeidl">trunk/Source/WebCore/Modules/indexeddb/IDBKeyRange.idl</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBObjectStoreidl">trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.idl</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBOpenDBRequestidl">trunk/Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.idl</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBRequestidl">trunk/Source/WebCore/Modules/indexeddb/IDBRequest.idl</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBTransactionidl">trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.idl</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBVersionChangeEventidl">trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.idl</a></li>
<li><a href="#trunkSourceWebCoreworkersWorkerGlobalScopeidl">trunk/Source/WebCore/workers/WorkerGlobalScope.idl</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (199888 => 199889)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2016-04-22 19:14:50 UTC (rev 199888)
+++ trunk/LayoutTests/ChangeLog        2016-04-22 19:22:54 UTC (rev 199889)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2016-04-22  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Support disabling at runtime IndexedDB constructors exposed to workers
+        https://bugs.webkit.org/show_bug.cgi?id=156883
+
+        Reviewed by Darin Adler.
+
+        Add layout test coverage.
+
+        * storage/indexeddb/modern/resources/workers-disabled.js:
+        * storage/indexeddb/modern/resources/workers-enable.js:
+        * storage/indexeddb/modern/workers-disabled-expected.txt:
+        * storage/indexeddb/modern/workers-enable-expected.txt:
+
</ins><span class="cx"> 2016-04-22  Dave Hyatt  &lt;hyatt@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         -webkit-image-set doesn't work inside CSS variables
</span></span></pre></div>
<a id="trunkLayoutTestsstorageindexeddbmodernresourcesworkersdisabledjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/storage/indexeddb/modern/resources/workers-disabled.js (199888 => 199889)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/storage/indexeddb/modern/resources/workers-disabled.js        2016-04-22 19:14:50 UTC (rev 199888)
+++ trunk/LayoutTests/storage/indexeddb/modern/resources/workers-disabled.js        2016-04-22 19:22:54 UTC (rev 199889)
</span><span class="lines">@@ -5,6 +5,12 @@
</span><span class="cx"> 
</span><span class="cx"> description(&quot;Check to make sure IndexedDB in workers can be disabled at runtime&quot;);
</span><span class="cx"> 
</span><del>-shouldBeUndefined(&quot;self.indexedDB&quot;);
</del><ins>+var propertiesToTest = ['indexedDB', 'IDBCursor', 'IDBCursorWithValue', 'IDBDatabase', 'IDBFactory', 'IDBIndex', 'IDBKeyRange', 'IDBObjectStore', 'IDBOpenDBRequest', 'IDBRequest', 'IDBTransaction', 'IDBVersionChangeEvent'];
</ins><span class="cx"> 
</span><ins>+for (var i = 0; i &lt; propertiesToTest.length; i++) {
+    propertyToTest = propertiesToTest[i];
+    shouldBeUndefined(&quot;self.&quot; + propertyToTest);
+    shouldBeFalse(&quot;'&quot; + propertyToTest + &quot;' in self&quot;);
+}
+
</ins><span class="cx"> finishJSTest();
</span></span></pre></div>
<a id="trunkLayoutTestsstorageindexeddbmodernresourcesworkersenablejs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/storage/indexeddb/modern/resources/workers-enable.js (199888 => 199889)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/storage/indexeddb/modern/resources/workers-enable.js        2016-04-22 19:14:50 UTC (rev 199888)
+++ trunk/LayoutTests/storage/indexeddb/modern/resources/workers-enable.js        2016-04-22 19:22:54 UTC (rev 199889)
</span><span class="lines">@@ -5,8 +5,15 @@
</span><span class="cx"> 
</span><span class="cx"> description(&quot;Check to make sure we can enable IndexedDB in workers via a runtime setting&quot;);
</span><span class="cx"> 
</span><del>-shouldBeDefined(&quot;self.indexedDB&quot;);
-shouldBeNonNull(&quot;self.indexedDB&quot;);
</del><ins>+var propertiesToTest = ['indexedDB', 'IDBCursor', 'IDBCursorWithValue', 'IDBDatabase', 'IDBFactory', 'IDBIndex', 'IDBKeyRange', 'IDBObjectStore', 'IDBOpenDBRequest', 'IDBRequest', 'IDBTransaction', 'IDBVersionChangeEvent'];
+
+for (var i = 0; i &lt; propertiesToTest.length; i++) {
+    propertyToTest = propertiesToTest[i];
+    shouldBeDefined(&quot;self.&quot; + propertyToTest);
+    shouldBeNonNull(&quot;self.&quot; + propertyToTest);
+    shouldBeTrue(&quot;'&quot; + propertyToTest + &quot;' in self&quot;);
+}
+
</ins><span class="cx"> shouldBeTrue(&quot;self.indexedDB instanceof IDBFactory&quot;);
</span><span class="cx"> 
</span><span class="cx"> finishJSTest();
</span></span></pre></div>
<a id="trunkLayoutTestsstorageindexeddbmodernworkersdisabledexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/storage/indexeddb/modern/workers-disabled-expected.txt (199888 => 199889)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/storage/indexeddb/modern/workers-disabled-expected.txt        2016-04-22 19:14:50 UTC (rev 199888)
+++ trunk/LayoutTests/storage/indexeddb/modern/workers-disabled-expected.txt        2016-04-22 19:22:54 UTC (rev 199889)
</span><span class="lines">@@ -5,6 +5,29 @@
</span><span class="cx"> 
</span><span class="cx"> Starting worker: resources/workers-disabled.js
</span><span class="cx"> PASS [Worker] self.indexedDB is undefined.
</span><ins>+PASS [Worker] 'indexedDB' in self is false
+PASS [Worker] self.IDBCursor is undefined.
+PASS [Worker] 'IDBCursor' in self is false
+PASS [Worker] self.IDBCursorWithValue is undefined.
+PASS [Worker] 'IDBCursorWithValue' in self is false
+PASS [Worker] self.IDBDatabase is undefined.
+PASS [Worker] 'IDBDatabase' in self is false
+PASS [Worker] self.IDBFactory is undefined.
+PASS [Worker] 'IDBFactory' in self is false
+PASS [Worker] self.IDBIndex is undefined.
+PASS [Worker] 'IDBIndex' in self is false
+PASS [Worker] self.IDBKeyRange is undefined.
+PASS [Worker] 'IDBKeyRange' in self is false
+PASS [Worker] self.IDBObjectStore is undefined.
+PASS [Worker] 'IDBObjectStore' in self is false
+PASS [Worker] self.IDBOpenDBRequest is undefined.
+PASS [Worker] 'IDBOpenDBRequest' in self is false
+PASS [Worker] self.IDBRequest is undefined.
+PASS [Worker] 'IDBRequest' in self is false
+PASS [Worker] self.IDBTransaction is undefined.
+PASS [Worker] 'IDBTransaction' in self is false
+PASS [Worker] self.IDBVersionChangeEvent is undefined.
+PASS [Worker] 'IDBVersionChangeEvent' in self is false
</ins><span class="cx"> PASS successfullyParsed is true
</span><span class="cx"> 
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestsstorageindexeddbmodernworkersenableexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/storage/indexeddb/modern/workers-enable-expected.txt (199888 => 199889)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/storage/indexeddb/modern/workers-enable-expected.txt        2016-04-22 19:14:50 UTC (rev 199888)
+++ trunk/LayoutTests/storage/indexeddb/modern/workers-enable-expected.txt        2016-04-22 19:22:54 UTC (rev 199889)
</span><span class="lines">@@ -6,6 +6,40 @@
</span><span class="cx"> Starting worker: resources/workers-enable.js
</span><span class="cx"> PASS [Worker] self.indexedDB is defined.
</span><span class="cx"> PASS [Worker] self.indexedDB is non-null.
</span><ins>+PASS [Worker] 'indexedDB' in self is true
+PASS [Worker] self.IDBCursor is defined.
+PASS [Worker] self.IDBCursor is non-null.
+PASS [Worker] 'IDBCursor' in self is true
+PASS [Worker] self.IDBCursorWithValue is defined.
+PASS [Worker] self.IDBCursorWithValue is non-null.
+PASS [Worker] 'IDBCursorWithValue' in self is true
+PASS [Worker] self.IDBDatabase is defined.
+PASS [Worker] self.IDBDatabase is non-null.
+PASS [Worker] 'IDBDatabase' in self is true
+PASS [Worker] self.IDBFactory is defined.
+PASS [Worker] self.IDBFactory is non-null.
+PASS [Worker] 'IDBFactory' in self is true
+PASS [Worker] self.IDBIndex is defined.
+PASS [Worker] self.IDBIndex is non-null.
+PASS [Worker] 'IDBIndex' in self is true
+PASS [Worker] self.IDBKeyRange is defined.
+PASS [Worker] self.IDBKeyRange is non-null.
+PASS [Worker] 'IDBKeyRange' in self is true
+PASS [Worker] self.IDBObjectStore is defined.
+PASS [Worker] self.IDBObjectStore is non-null.
+PASS [Worker] 'IDBObjectStore' in self is true
+PASS [Worker] self.IDBOpenDBRequest is defined.
+PASS [Worker] self.IDBOpenDBRequest is non-null.
+PASS [Worker] 'IDBOpenDBRequest' in self is true
+PASS [Worker] self.IDBRequest is defined.
+PASS [Worker] self.IDBRequest is non-null.
+PASS [Worker] 'IDBRequest' in self is true
+PASS [Worker] self.IDBTransaction is defined.
+PASS [Worker] self.IDBTransaction is non-null.
+PASS [Worker] 'IDBTransaction' in self is true
+PASS [Worker] self.IDBVersionChangeEvent is defined.
+PASS [Worker] self.IDBVersionChangeEvent is non-null.
+PASS [Worker] 'IDBVersionChangeEvent' in self is true
</ins><span class="cx"> PASS [Worker] self.indexedDB instanceof IDBFactory is true
</span><span class="cx"> PASS successfullyParsed is true
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (199888 => 199889)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-04-22 19:14:50 UTC (rev 199888)
+++ trunk/Source/WebCore/ChangeLog        2016-04-22 19:22:54 UTC (rev 199889)
</span><span class="lines">@@ -1,3 +1,27 @@
</span><ins>+2016-04-22  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Support disabling at runtime IndexedDB constructors exposed to workers
+        https://bugs.webkit.org/show_bug.cgi?id=156883
+
+        Reviewed by Darin Adler.
+
+        Support disabling at runtime IndexedDB constructors exposed to workers.
+        Previously, constructors visibility to workers and window was constrolled
+        by the same runtime flag.
+
+        * Modules/indexeddb/IDBCursor.idl:
+        * Modules/indexeddb/IDBCursorWithValue.idl:
+        * Modules/indexeddb/IDBDatabase.idl:
+        * Modules/indexeddb/IDBFactory.idl:
+        * Modules/indexeddb/IDBIndex.idl:
+        * Modules/indexeddb/IDBKeyRange.idl:
+        * Modules/indexeddb/IDBObjectStore.idl:
+        * Modules/indexeddb/IDBOpenDBRequest.idl:
+        * Modules/indexeddb/IDBRequest.idl:
+        * Modules/indexeddb/IDBTransaction.idl:
+        * Modules/indexeddb/IDBVersionChangeEvent.idl:
+        * workers/WorkerGlobalScope.idl:
+
</ins><span class="cx"> 2016-04-22  Dean Jackson  &lt;dino@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Attempting to fix Windows build. Add isHidden implementation.
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBCursoridl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBCursor.idl (199888 => 199889)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBCursor.idl        2016-04-22 19:14:50 UTC (rev 199888)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBCursor.idl        2016-04-22 19:22:54 UTC (rev 199889)
</span><span class="lines">@@ -30,7 +30,6 @@
</span><span class="cx">     ActiveDOMObject,
</span><span class="cx">     SkipVTableValidation,
</span><span class="cx">     JSCustomMarkFunction,
</span><del>-    Exposed=(Window,Worker),
</del><span class="cx"> ] interface IDBCursor {
</span><span class="cx">     [CustomGetter] readonly attribute any source;
</span><span class="cx">     readonly attribute DOMString direction;
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBCursorWithValueidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBCursorWithValue.idl (199888 => 199889)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBCursorWithValue.idl        2016-04-22 19:14:50 UTC (rev 199888)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBCursorWithValue.idl        2016-04-22 19:22:54 UTC (rev 199889)
</span><span class="lines">@@ -29,7 +29,6 @@
</span><span class="cx">     ActiveDOMObject,
</span><span class="cx">     SkipVTableValidation,
</span><span class="cx">     JSCustomMarkFunction,
</span><del>-    Exposed=(Window,Worker),
</del><span class="cx"> ] interface IDBCursorWithValue : IDBCursor {
</span><span class="cx">     readonly attribute any value;
</span><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBDatabaseidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.idl (199888 => 199889)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.idl        2016-04-22 19:14:50 UTC (rev 199888)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.idl        2016-04-22 19:22:54 UTC (rev 199889)
</span><span class="lines">@@ -29,7 +29,6 @@
</span><span class="cx">     ActiveDOMObject,
</span><span class="cx">     EnabledAtRuntime=IndexedDB,
</span><span class="cx">     SkipVTableValidation,
</span><del>-    Exposed=(Window,Worker),
</del><span class="cx"> ] interface IDBDatabase : EventTarget {
</span><span class="cx">     readonly attribute DOMString name;
</span><span class="cx">     readonly attribute unsigned long long version;
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBFactoryidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBFactory.idl (199888 => 199889)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBFactory.idl        2016-04-22 19:14:50 UTC (rev 199888)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBFactory.idl        2016-04-22 19:22:54 UTC (rev 199889)
</span><span class="lines">@@ -27,7 +27,6 @@
</span><span class="cx">     Conditional=INDEXED_DATABASE,
</span><span class="cx">     EnabledAtRuntime=IndexedDB,
</span><span class="cx">     SkipVTableValidation,
</span><del>-    Exposed=(Window,Worker),
</del><span class="cx"> ] interface IDBFactory {
</span><span class="cx">     [CallWith=ScriptExecutionContext, RaisesExceptionWithMessage] IDBOpenDBRequest open(DOMString name, [EnforceRange] optional unsigned long long version);
</span><span class="cx">     [CallWith=ScriptExecutionContext, RaisesExceptionWithMessage] IDBOpenDBRequest deleteDatabase(DOMString name);
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBIndexidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBIndex.idl (199888 => 199889)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBIndex.idl        2016-04-22 19:14:50 UTC (rev 199888)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBIndex.idl        2016-04-22 19:22:54 UTC (rev 199889)
</span><span class="lines">@@ -29,7 +29,6 @@
</span><span class="cx">     SkipVTableValidation,
</span><span class="cx">     JSCustomMarkFunction,
</span><span class="cx">     GenerateIsReachable=Impl,
</span><del>-    Exposed=(Window,Worker),
</del><span class="cx"> ] interface IDBIndex {
</span><span class="cx">     readonly attribute DOMString name;
</span><span class="cx">     readonly attribute IDBObjectStore objectStore;
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBKeyRangeidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBKeyRange.idl (199888 => 199889)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBKeyRange.idl        2016-04-22 19:14:50 UTC (rev 199888)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBKeyRange.idl        2016-04-22 19:22:54 UTC (rev 199889)
</span><span class="lines">@@ -27,7 +27,6 @@
</span><span class="cx">     Conditional=INDEXED_DATABASE,
</span><span class="cx">     ImplementationLacksVTable,
</span><span class="cx">     EnabledAtRuntime=IndexedDB,
</span><del>-    Exposed=(Window,Worker),
</del><span class="cx"> ] interface IDBKeyRange {
</span><span class="cx">     [ImplementationReturnType=IDBKey] readonly attribute any lower;
</span><span class="cx">     [ImplementationReturnType=IDBKey] readonly attribute any upper;
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBObjectStoreidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.idl (199888 => 199889)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.idl        2016-04-22 19:14:50 UTC (rev 199888)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.idl        2016-04-22 19:22:54 UTC (rev 199889)
</span><span class="lines">@@ -29,7 +29,6 @@
</span><span class="cx">     SkipVTableValidation,
</span><span class="cx">     JSCustomMarkFunction,
</span><span class="cx">     GenerateIsReachable=Impl,
</span><del>-    Exposed=(Window,Worker),
</del><span class="cx"> ] interface IDBObjectStore {
</span><span class="cx">     readonly attribute DOMString? name;
</span><span class="cx">     [ImplementationReturnType=IDBKeyPath] readonly attribute any keyPath;
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBOpenDBRequestidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.idl (199888 => 199889)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.idl        2016-04-22 19:14:50 UTC (rev 199888)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.idl        2016-04-22 19:22:54 UTC (rev 199889)
</span><span class="lines">@@ -29,7 +29,6 @@
</span><span class="cx">     JSGenerateToNativeObject,
</span><span class="cx">     EnabledAtRuntime=IndexedDB,
</span><span class="cx">     SkipVTableValidation,
</span><del>-    Exposed=(Window,Worker),
</del><span class="cx"> ] interface IDBOpenDBRequest : IDBRequest {
</span><span class="cx">     attribute EventHandler onblocked;
</span><span class="cx">     attribute EventHandler onupgradeneeded;
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBRequestidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBRequest.idl (199888 => 199889)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBRequest.idl        2016-04-22 19:14:50 UTC (rev 199888)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBRequest.idl        2016-04-22 19:22:54 UTC (rev 199889)
</span><span class="lines">@@ -33,7 +33,6 @@
</span><span class="cx">     EnabledAtRuntime=IndexedDB,
</span><span class="cx">     GenerateIsReachable=Impl,
</span><span class="cx">     SkipVTableValidation,
</span><del>-    Exposed=(Window,Worker),
</del><span class="cx"> ] interface IDBRequest : EventTarget {
</span><span class="cx">     [CustomGetter] readonly attribute any result;
</span><span class="cx">     [GetterRaisesExceptionWithMessage] readonly attribute DOMError error;
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBTransactionidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.idl (199888 => 199889)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.idl        2016-04-22 19:14:50 UTC (rev 199888)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.idl        2016-04-22 19:22:54 UTC (rev 199889)
</span><span class="lines">@@ -29,7 +29,6 @@
</span><span class="cx">     ActiveDOMObject,
</span><span class="cx">     EnabledAtRuntime=IndexedDB,
</span><span class="cx">     SkipVTableValidation,
</span><del>-    Exposed=(Window,Worker),
</del><span class="cx"> ] interface IDBTransaction : EventTarget {
</span><span class="cx">     readonly attribute DOMString mode;
</span><span class="cx">     readonly attribute IDBDatabase db;
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBVersionChangeEventidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.idl (199888 => 199889)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.idl        2016-04-22 19:14:50 UTC (rev 199888)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.idl        2016-04-22 19:22:54 UTC (rev 199889)
</span><span class="lines">@@ -27,7 +27,6 @@
</span><span class="cx">     Conditional=INDEXED_DATABASE,
</span><span class="cx">     EnabledAtRuntime=IndexedDB,
</span><span class="cx">     ConstructorTemplate=Event,
</span><del>-    Exposed=(Window,Worker),
</del><span class="cx"> ] interface IDBVersionChangeEvent : Event {
</span><span class="cx">     [InitializedByEventConstructor] readonly attribute unsigned long long oldVersion;
</span><span class="cx">     [InitializedByEventConstructor] readonly attribute unsigned long long? newVersion;
</span></span></pre></div>
<a id="trunkSourceWebCoreworkersWorkerGlobalScopeidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/workers/WorkerGlobalScope.idl (199888 => 199889)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/workers/WorkerGlobalScope.idl        2016-04-22 19:14:50 UTC (rev 199888)
+++ trunk/Source/WebCore/workers/WorkerGlobalScope.idl        2016-04-22 19:22:54 UTC (rev 199889)
</span><span class="lines">@@ -50,6 +50,19 @@
</span><span class="cx">     // Additional constructors
</span><span class="cx"> 
</span><span class="cx">     attribute DOMURLConstructor webkitURL; // FIXME: deprecate this.
</span><ins>+
+    // FIXME: Automatically generate these once we can drop the IndexedDBWorkers runtime flag.
+    [Conditional=INDEXED_DATABASE_IN_WORKERS, EnabledAtRuntime=IndexedDBWorkers] attribute IDBCursorConstructor IDBCursor;
+    [Conditional=INDEXED_DATABASE_IN_WORKERS, EnabledAtRuntime=IndexedDBWorkers] attribute IDBCursorWithValueConstructor IDBCursorWithValue;
+    [Conditional=INDEXED_DATABASE_IN_WORKERS, EnabledAtRuntime=IndexedDBWorkers] attribute IDBDatabaseConstructor IDBDatabase;
+    [Conditional=INDEXED_DATABASE_IN_WORKERS, EnabledAtRuntime=IndexedDBWorkers] attribute IDBFactoryConstructor IDBFactory;
+    [Conditional=INDEXED_DATABASE_IN_WORKERS, EnabledAtRuntime=IndexedDBWorkers] attribute IDBIndexConstructor IDBIndex;
+    [Conditional=INDEXED_DATABASE_IN_WORKERS, EnabledAtRuntime=IndexedDBWorkers] attribute IDBKeyRangeConstructor IDBKeyRange;
+    [Conditional=INDEXED_DATABASE_IN_WORKERS, EnabledAtRuntime=IndexedDBWorkers] attribute IDBObjectStoreConstructor IDBObjectStore;
+    [Conditional=INDEXED_DATABASE_IN_WORKERS, EnabledAtRuntime=IndexedDBWorkers] attribute IDBOpenDBRequestConstructor IDBOpenDBRequest;
+    [Conditional=INDEXED_DATABASE_IN_WORKERS, EnabledAtRuntime=IndexedDBWorkers] attribute IDBRequestConstructor IDBRequest;
+    [Conditional=INDEXED_DATABASE_IN_WORKERS, EnabledAtRuntime=IndexedDBWorkers] attribute IDBTransactionConstructor IDBTransaction;
+    [Conditional=INDEXED_DATABASE_IN_WORKERS, EnabledAtRuntime=IndexedDBWorkers] attribute IDBVersionChangeEventConstructor IDBVersionChangeEvent;
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> WorkerGlobalScope implements WindowTimers;
</span></span></pre>
</div>
</div>

</body>
</html>