<!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>[199750] 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/199750">199750</a></dd>
<dt>Author</dt> <dd>beidson@apple.com</dd>
<dt>Date</dt> <dd>2016-04-19 18:19:59 -0700 (Tue, 19 Apr 2016)</dd>
</dl>
<h3>Log Message</h3>
<pre>Modern IDB: Lots of IDB bindings cleanup (including making IDBVersionChangeEvent constructible).
https://bugs.webkit.org/show_bug.cgi?id=156760
Reviewed by Darin Adler (and looked over by Chris Dumez and Alex Christensen).
Source/WebCore:
Test: storage/indexeddb/modern/idbversionchangeevent-constructor.html
Add WorkerGlobalScopeConstructors to the xcodeproj:
* WebCore.xcodeproj/project.pbxproj:
Remove the completely irrelevant webkit* prefixed constructors from DOMWindow:
* page/DOMWindow.idl:
Remove the poor way most objects were exposed on the WorkerGlobalScope:
* Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl:
Expose most of the objects on the WorkerGlobalScope the correct way:
* 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:
Make IDBVersionChangeEvent constructible:
* Modules/indexeddb/IDBVersionChangeEvent.cpp:
(WebCore::IDBVersionChangeEvent::IDBVersionChangeEvent):
(WebCore::IDBVersionChangeEvent::newVersion): Deleted.
* Modules/indexeddb/IDBVersionChangeEvent.h:
* Modules/indexeddb/IDBVersionChangeEvent.idl:
* bindings/js/JSDictionary.h:
(WebCore::JSDictionary::convertValue): Add a templated form of convertValue that
handles Optional<>s.
LayoutTests:
* js/dom/global-constructors-attributes-idb-expected.txt: Updated for removed attributes.
* storage/indexeddb/modern/idbversionchangeevent-constructor-expected.txt: Added.
* storage/indexeddb/modern/idbversionchangeevent-constructor.html: Added.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsjsdomglobalconstructorsattributesidbexpectedtxt">trunk/LayoutTests/js/dom/global-constructors-attributes-idb-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="#trunkSourceWebCoreModulesindexeddbIDBVersionChangeEventcpp">trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBVersionChangeEventh">trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBVersionChangeEventidl">trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.idl</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbWorkerGlobalScopeIndexedDatabaseidl">trunk/Source/WebCore/Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl</a></li>
<li><a href="#trunkSourceWebCoreWebCorexcodeprojprojectpbxproj">trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSDictionaryh">trunk/Source/WebCore/bindings/js/JSDictionary.h</a></li>
<li><a href="#trunkSourceWebCorepageDOMWindowidl">trunk/Source/WebCore/page/DOMWindow.idl</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsstorageindexeddbmodernidbversionchangeeventconstructorexpectedtxt">trunk/LayoutTests/storage/indexeddb/modern/idbversionchangeevent-constructor-expected.txt</a></li>
<li><a href="#trunkLayoutTestsstorageindexeddbmodernidbversionchangeeventconstructorhtml">trunk/LayoutTests/storage/indexeddb/modern/idbversionchangeevent-constructor.html</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (199749 => 199750)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2016-04-20 01:05:36 UTC (rev 199749)
+++ trunk/LayoutTests/ChangeLog        2016-04-20 01:19:59 UTC (rev 199750)
</span><span class="lines">@@ -1,3 +1,14 @@
</span><ins>+2016-04-19 Brady Eidson <beidson@apple.com>
+
+ Modern IDB: Lots of IDB bindings cleanup (including making IDBVersionChangeEvent constructible).
+ https://bugs.webkit.org/show_bug.cgi?id=156760
+
+ Reviewed by Darin Adler (and looked over by Chris Dumez and Alex Christensen).
+
+ * js/dom/global-constructors-attributes-idb-expected.txt: Updated for removed attributes.
+ * storage/indexeddb/modern/idbversionchangeevent-constructor-expected.txt: Added.
+ * storage/indexeddb/modern/idbversionchangeevent-constructor.html: Added.
+
</ins><span class="cx"> 2016-04-19 Gyuyoung Kim <gyuyoung.kim@webkit.org>
</span><span class="cx">
</span><span class="cx"> [EFL] Unskip media tests since r199649
</span></span></pre></div>
<a id="trunkLayoutTestsjsdomglobalconstructorsattributesidbexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/dom/global-constructors-attributes-idb-expected.txt (199749 => 199750)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/dom/global-constructors-attributes-idb-expected.txt        2016-04-20 01:05:36 UTC (rev 199749)
+++ trunk/LayoutTests/js/dom/global-constructors-attributes-idb-expected.txt        2016-04-20 01:19:59 UTC (rev 199750)
</span><span class="lines">@@ -58,46 +58,6 @@
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'IDBVersionChangeEvent').hasOwnProperty('set') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'IDBVersionChangeEvent').enumerable is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'IDBVersionChangeEvent').configurable is true
</span><del>-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBCursor').value is webkitIDBCursor
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBCursor').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBCursor').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBCursor').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBCursor').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBDatabase').value is webkitIDBDatabase
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBDatabase').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBDatabase').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBDatabase').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBDatabase').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBFactory').value is webkitIDBFactory
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBFactory').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBFactory').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBFactory').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBFactory').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBIndex').value is webkitIDBIndex
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBIndex').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBIndex').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBIndex').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBIndex').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBKeyRange').value is webkitIDBKeyRange
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBKeyRange').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBKeyRange').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBKeyRange').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBKeyRange').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBObjectStore').value is webkitIDBObjectStore
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBObjectStore').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBObjectStore').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBObjectStore').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBObjectStore').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBRequest').value is webkitIDBRequest
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBRequest').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBRequest').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBRequest').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBRequest').configurable is true
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBTransaction').value is webkitIDBTransaction
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBTransaction').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBTransaction').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBTransaction').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'webkitIDBTransaction').configurable is true
</del><span class="cx"> PASS successfullyParsed is true
</span><span class="cx">
</span><span class="cx"> TEST COMPLETE
</span></span></pre></div>
<a id="trunkLayoutTestsstorageindexeddbmodernidbversionchangeeventconstructorexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/storage/indexeddb/modern/idbversionchangeevent-constructor-expected.txt (0 => 199750)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/storage/indexeddb/modern/idbversionchangeevent-constructor-expected.txt         (rev 0)
+++ trunk/LayoutTests/storage/indexeddb/modern/idbversionchangeevent-constructor-expected.txt        2016-04-20 01:19:59 UTC (rev 199750)
</span><span class="lines">@@ -0,0 +1,22 @@
</span><ins>+PASS IDBVersionChangeEvent.length is 1
+event = new IDBVersionChangeEvent('foo');
+PASS event instanceof IDBVersionChangeEvent is true
+PASS event.toString() is "[object IDBVersionChangeEvent]"
+PASS event.oldVersion is 0
+PASS event.newVersion is null
+event = new IDBVersionChangeEvent('bar', { oldVersion: 2 });
+PASS event.oldVersion is 2
+PASS event.newVersion is null
+event = new IDBVersionChangeEvent('bar', { oldVersion: 6, newVersion: null });
+PASS event.oldVersion is 6
+PASS event.newVersion is null
+event = new IDBVersionChangeEvent('bar', { oldVersion: 0, newVersion: 17 });
+PASS event.oldVersion is 0
+PASS event.newVersion is 17
+event = new IDBVersionChangeEvent('bar', { oldVersion: 43876528735628, newVersion: 0 });
+PASS event.oldVersion is 43876528735628
+PASS event.newVersion is 0
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
</ins></span></pre></div>
<a id="trunkLayoutTestsstorageindexeddbmodernidbversionchangeeventconstructorhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/storage/indexeddb/modern/idbversionchangeevent-constructor.html (0 => 199750)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/storage/indexeddb/modern/idbversionchangeevent-constructor.html         (rev 0)
+++ trunk/LayoutTests/storage/indexeddb/modern/idbversionchangeevent-constructor.html        2016-04-20 01:19:59 UTC (rev 199750)
</span><span class="lines">@@ -0,0 +1,38 @@
</span><ins>+<html>
+<head>
+<script src="../../../resources/js-test.js"></script>
+<script src="../resources/shared.js"></script>
+</head>
+<body>
+<script>
+
+shouldBeEqualToNumber("IDBVersionChangeEvent.length", 1);
+
+evalAndLog("event = new IDBVersionChangeEvent('foo');");
+
+shouldBeTrue("event instanceof IDBVersionChangeEvent");
+shouldBeEqualToString("event.toString()", "[object IDBVersionChangeEvent]");
+shouldBeEqualToNumber("event.oldVersion", 0);
+shouldBeNull("event.newVersion");
+
+evalAndLog("event = new IDBVersionChangeEvent('bar', { oldVersion: 2 });");
+shouldBeEqualToNumber("event.oldVersion", 2);
+shouldBeNull("event.newVersion");
+
+evalAndLog("event = new IDBVersionChangeEvent('bar', { oldVersion: 6, newVersion: null });");
+shouldBeEqualToNumber("event.oldVersion", 6);
+shouldBeNull("event.newVersion");
+
+evalAndLog("event = new IDBVersionChangeEvent('bar', { oldVersion: 0, newVersion: 17 });");
+shouldBeEqualToNumber("event.oldVersion", 0);
+shouldBeEqualToNumber("event.newVersion", 17);
+
+evalAndLog("event = new IDBVersionChangeEvent('bar', { oldVersion: 43876528735628, newVersion: 0 });");
+shouldBeEqualToNumber("event.oldVersion", 43876528735628);
+shouldBeEqualToNumber("event.newVersion", 0);
+
+finishJSTest();
+
+</script>
+</body>
+</html>
</ins></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (199749 => 199750)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-04-20 01:05:36 UTC (rev 199749)
+++ trunk/Source/WebCore/ChangeLog        2016-04-20 01:19:59 UTC (rev 199750)
</span><span class="lines">@@ -1,3 +1,44 @@
</span><ins>+2016-04-19 Brady Eidson <beidson@apple.com>
+
+ Modern IDB: Lots of IDB bindings cleanup (including making IDBVersionChangeEvent constructible).
+ https://bugs.webkit.org/show_bug.cgi?id=156760
+
+ Reviewed by Darin Adler (and looked over by Chris Dumez and Alex Christensen).
+
+ Test: storage/indexeddb/modern/idbversionchangeevent-constructor.html
+
+ Add WorkerGlobalScopeConstructors to the xcodeproj:
+ * WebCore.xcodeproj/project.pbxproj:
+
+ Remove the completely irrelevant webkit* prefixed constructors from DOMWindow:
+ * page/DOMWindow.idl:
+
+ Remove the poor way most objects were exposed on the WorkerGlobalScope:
+ * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl:
+
+ Expose most of the objects on the WorkerGlobalScope the correct way:
+ * 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:
+
+ Make IDBVersionChangeEvent constructible:
+ * Modules/indexeddb/IDBVersionChangeEvent.cpp:
+ (WebCore::IDBVersionChangeEvent::IDBVersionChangeEvent):
+ (WebCore::IDBVersionChangeEvent::newVersion): Deleted.
+ * Modules/indexeddb/IDBVersionChangeEvent.h:
+ * Modules/indexeddb/IDBVersionChangeEvent.idl:
+
+ * bindings/js/JSDictionary.h:
+ (WebCore::JSDictionary::convertValue): Add a templated form of convertValue that
+ handles Optional<>s.
+
</ins><span class="cx"> 2016-04-19 Alex Christensen <achristensen@webkit.org>
</span><span class="cx">
</span><span class="cx"> Build fix after r199738
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBCursoridl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBCursor.idl (199749 => 199750)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBCursor.idl        2016-04-20 01:05:36 UTC (rev 199749)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBCursor.idl        2016-04-20 01:19:59 UTC (rev 199750)
</span><span class="lines">@@ -30,6 +30,7 @@
</span><span class="cx"> ActiveDOMObject,
</span><span class="cx"> SkipVTableValidation,
</span><span class="cx"> JSCustomMarkFunction,
</span><ins>+ Exposed=(Window,Worker),
</ins><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 (199749 => 199750)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBCursorWithValue.idl        2016-04-20 01:05:36 UTC (rev 199749)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBCursorWithValue.idl        2016-04-20 01:19:59 UTC (rev 199750)
</span><span class="lines">@@ -29,6 +29,7 @@
</span><span class="cx"> ActiveDOMObject,
</span><span class="cx"> SkipVTableValidation,
</span><span class="cx"> JSCustomMarkFunction,
</span><ins>+ Exposed=(Window,Worker),
</ins><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 (199749 => 199750)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.idl        2016-04-20 01:05:36 UTC (rev 199749)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.idl        2016-04-20 01:19:59 UTC (rev 199750)
</span><span class="lines">@@ -29,6 +29,7 @@
</span><span class="cx"> ActiveDOMObject,
</span><span class="cx"> EnabledAtRuntime=IndexedDB,
</span><span class="cx"> SkipVTableValidation,
</span><ins>+ Exposed=(Window,Worker),
</ins><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 (199749 => 199750)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBFactory.idl        2016-04-20 01:05:36 UTC (rev 199749)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBFactory.idl        2016-04-20 01:19:59 UTC (rev 199750)
</span><span class="lines">@@ -27,6 +27,7 @@
</span><span class="cx"> Conditional=INDEXED_DATABASE,
</span><span class="cx"> EnabledAtRuntime=IndexedDB,
</span><span class="cx"> SkipVTableValidation,
</span><ins>+ Exposed=(Window,Worker),
</ins><span class="cx"> ] interface IDBFactory {
</span><span class="cx"> [CallWith=ScriptExecutionContext, RaisesException] IDBOpenDBRequest open(DOMString name, [EnforceRange] optional unsigned long long version);
</span><span class="cx"> [CallWith=ScriptExecutionContext, RaisesException] IDBOpenDBRequest deleteDatabase(DOMString name);
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBIndexidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBIndex.idl (199749 => 199750)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBIndex.idl        2016-04-20 01:05:36 UTC (rev 199749)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBIndex.idl        2016-04-20 01:19:59 UTC (rev 199750)
</span><span class="lines">@@ -29,6 +29,7 @@
</span><span class="cx"> SkipVTableValidation,
</span><span class="cx"> JSCustomMarkFunction,
</span><span class="cx"> GenerateIsReachable=Impl,
</span><ins>+ Exposed=(Window,Worker),
</ins><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 (199749 => 199750)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBKeyRange.idl        2016-04-20 01:05:36 UTC (rev 199749)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBKeyRange.idl        2016-04-20 01:19:59 UTC (rev 199750)
</span><span class="lines">@@ -27,6 +27,7 @@
</span><span class="cx"> Conditional=INDEXED_DATABASE,
</span><span class="cx"> ImplementationLacksVTable,
</span><span class="cx"> EnabledAtRuntime=IndexedDB,
</span><ins>+ Exposed=(Window,Worker),
</ins><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 (199749 => 199750)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.idl        2016-04-20 01:05:36 UTC (rev 199749)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBObjectStore.idl        2016-04-20 01:19:59 UTC (rev 199750)
</span><span class="lines">@@ -29,6 +29,7 @@
</span><span class="cx"> SkipVTableValidation,
</span><span class="cx"> JSCustomMarkFunction,
</span><span class="cx"> GenerateIsReachable=Impl,
</span><ins>+ Exposed=(Window,Worker),
</ins><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 (199749 => 199750)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.idl        2016-04-20 01:05:36 UTC (rev 199749)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.idl        2016-04-20 01:19:59 UTC (rev 199750)
</span><span class="lines">@@ -29,6 +29,7 @@
</span><span class="cx"> JSGenerateToNativeObject,
</span><span class="cx"> EnabledAtRuntime=IndexedDB,
</span><span class="cx"> SkipVTableValidation,
</span><ins>+ Exposed=(Window,Worker),
</ins><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 (199749 => 199750)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBRequest.idl        2016-04-20 01:05:36 UTC (rev 199749)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBRequest.idl        2016-04-20 01:19:59 UTC (rev 199750)
</span><span class="lines">@@ -33,6 +33,7 @@
</span><span class="cx"> EnabledAtRuntime=IndexedDB,
</span><span class="cx"> GenerateIsReachable=Impl,
</span><span class="cx"> SkipVTableValidation,
</span><ins>+ Exposed=(Window,Worker),
</ins><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 (199749 => 199750)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.idl        2016-04-20 01:05:36 UTC (rev 199749)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.idl        2016-04-20 01:19:59 UTC (rev 199750)
</span><span class="lines">@@ -29,6 +29,7 @@
</span><span class="cx"> ActiveDOMObject,
</span><span class="cx"> EnabledAtRuntime=IndexedDB,
</span><span class="cx"> SkipVTableValidation,
</span><ins>+ Exposed=(Window,Worker),
</ins><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="trunkSourceWebCoreModulesindexeddbIDBVersionChangeEventcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.cpp (199749 => 199750)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.cpp        2016-04-20 01:05:36 UTC (rev 199749)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.cpp        2016-04-20 01:19:59 UTC (rev 199750)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><span class="cx"> /*
</span><del>- * Copyright (C) 2015 Apple Inc. All rights reserved.
</del><ins>+ * Copyright (C) 2015, 2016 Apple Inc. All rights reserved.
</ins><span class="cx"> *
</span><span class="cx"> * Redistribution and use in source and binary forms, with or without
</span><span class="cx"> * modification, are permitted provided that the following conditions
</span><span class="lines">@@ -34,15 +34,18 @@
</span><span class="cx"> : Event(name, false /*canBubble*/, false /*cancelable*/)
</span><span class="cx"> , m_requestIdentifier(requestIdentifier)
</span><span class="cx"> , m_oldVersion(oldVersion)
</span><del>- , m_newVersion(newVersion)
</del><span class="cx"> {
</span><ins>+ if (newVersion)
+ m_newVersion = newVersion;
+ else
+ m_newVersion = Nullopt;
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-Optional<uint64_t> IDBVersionChangeEvent::newVersion() const
</del><ins>+IDBVersionChangeEvent::IDBVersionChangeEvent(const AtomicString& name, const IDBVersionChangeEventInit& init)
+ : Event(name, false /*canBubble*/, false /*cancelable*/)
+ , m_oldVersion(init.oldVersion)
+ , m_newVersion(init.newVersion)
</ins><span class="cx"> {
</span><del>- if (!m_newVersion)
- return Nullopt;
- return m_newVersion;
</del><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> EventInterface IDBVersionChangeEvent::eventInterface() const
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBVersionChangeEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.h (199749 => 199750)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.h        2016-04-20 01:05:36 UTC (rev 199749)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.h        2016-04-20 01:19:59 UTC (rev 199750)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><span class="cx"> /*
</span><del>- * Copyright (C) 2015 Apple Inc. All rights reserved.
</del><ins>+ * Copyright (C) 2015, 2016 Apple Inc. All rights reserved.
</ins><span class="cx"> *
</span><span class="cx"> * Redistribution and use in source and binary forms, with or without
</span><span class="cx"> * modification, are permitted provided that the following conditions
</span><span class="lines">@@ -33,6 +33,11 @@
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><ins>+struct IDBVersionChangeEventInit : public EventInit {
+ uint64_t oldVersion { 0 };
+ Optional<uint64_t> newVersion { Nullopt };
+};
+
</ins><span class="cx"> class IDBVersionChangeEvent final : public Event {
</span><span class="cx"> public:
</span><span class="cx"> static Ref<IDBVersionChangeEvent> create(uint64_t oldVersion, uint64_t newVersion, const AtomicString& eventType)
</span><span class="lines">@@ -45,21 +50,27 @@
</span><span class="cx"> return adoptRef(*new IDBVersionChangeEvent(requestIdentifier, oldVersion, newVersion, eventType));
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+ static Ref<IDBVersionChangeEvent> createForBindings(const AtomicString& type, const IDBVersionChangeEventInit& initializer)
+ {
+ return adoptRef(*new IDBVersionChangeEvent(type, initializer));
+ }
+
</ins><span class="cx"> const IDBResourceIdentifier& requestIdentifier() const { return m_requestIdentifier; }
</span><span class="cx">
</span><span class="cx"> bool isVersionChangeEvent() const final { return true; }
</span><span class="cx">
</span><span class="cx"> uint64_t oldVersion() const { return m_oldVersion; }
</span><del>- Optional<uint64_t> newVersion() const;
</del><ins>+ Optional<uint64_t> newVersion() const { return m_newVersion; }
</ins><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> IDBVersionChangeEvent(const IDBResourceIdentifier& requestIdentifier, uint64_t oldVersion, uint64_t newVersion, const AtomicString& eventType);
</span><ins>+ IDBVersionChangeEvent(const AtomicString&, const IDBVersionChangeEventInit&);
</ins><span class="cx">
</span><span class="cx"> EventInterface eventInterface() const;
</span><span class="cx">
</span><span class="cx"> IDBResourceIdentifier m_requestIdentifier;
</span><span class="cx"> uint64_t m_oldVersion;
</span><del>- uint64_t m_newVersion;
</del><ins>+ Optional<uint64_t> m_newVersion;
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBVersionChangeEventidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.idl (199749 => 199750)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.idl        2016-04-20 01:05:36 UTC (rev 199749)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.idl        2016-04-20 01:19:59 UTC (rev 199750)
</span><span class="lines">@@ -26,7 +26,9 @@
</span><span class="cx"> [
</span><span class="cx"> Conditional=INDEXED_DATABASE,
</span><span class="cx"> EnabledAtRuntime=IndexedDB,
</span><ins>+ ConstructorTemplate=Event,
+ Exposed=(Window,Worker),
</ins><span class="cx"> ] interface IDBVersionChangeEvent : Event {
</span><del>- readonly attribute unsigned long long oldVersion;
- readonly attribute unsigned long long? newVersion;
</del><ins>+ [InitializedByEventConstructor] readonly attribute unsigned long long oldVersion;
+ [InitializedByEventConstructor] readonly attribute unsigned long long? newVersion;
</ins><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbWorkerGlobalScopeIndexedDatabaseidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl (199749 => 199750)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl        2016-04-20 01:05:36 UTC (rev 199749)
+++ trunk/Source/WebCore/Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl        2016-04-20 01:19:59 UTC (rev 199750)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><span class="cx"> /*
</span><del>- * Copyright (C) 2008 Apple Inc. All Rights Reserved.
</del><ins>+ * Copyright (C) 2008, 2016 Apple Inc. All Rights Reserved.
</ins><span class="cx"> *
</span><span class="cx"> * Redistribution and use in source and binary forms, with or without
</span><span class="cx"> * modification, are permitted provided that the following conditions
</span><span class="lines">@@ -27,29 +27,6 @@
</span><span class="cx"> [
</span><span class="cx"> Conditional=INDEXED_DATABASE_IN_WORKERS,
</span><span class="cx"> ] partial interface WorkerGlobalScope {
</span><del>- [ImplementedAs=indexedDB] readonly attribute IDBFactory webkitIndexedDB;
-
- attribute IDBCursorConstructor webkitIDBCursor;
- attribute IDBDatabaseConstructor webkitIDBDatabase;
- attribute IDBFactoryConstructor webkitIDBFactory;
- attribute IDBIndexConstructor webkitIDBIndex;
- attribute IDBKeyRangeConstructor webkitIDBKeyRange;
- attribute IDBObjectStoreConstructor webkitIDBObjectStore;
- attribute IDBRequestConstructor webkitIDBRequest;
- attribute IDBTransactionConstructor webkitIDBTransaction;
-
- readonly attribute IDBFactory indexedDB;
-
- attribute IDBCursorConstructor IDBCursor;
- attribute IDBCursorWithValueConstructor IDBCursorWithValue;
- attribute IDBDatabaseConstructor IDBDatabase;
- attribute IDBFactoryConstructor IDBFactory;
- attribute IDBIndexConstructor IDBIndex;
- attribute IDBKeyRangeConstructor IDBKeyRange;
- attribute IDBObjectStoreConstructor IDBObjectStore;
- attribute IDBOpenDBRequestConstructor IDBOpenDBRequest;
- attribute IDBRequestConstructor IDBRequest;
- attribute IDBTransactionConstructor IDBTransaction;
- attribute IDBVersionChangeEventConstructor IDBVersionChangeEvent;
</del><ins>+ [EnabledAtRuntime=IndexedDB] readonly attribute IDBFactory indexedDB;
</ins><span class="cx"> };
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (199749 => 199750)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-04-20 01:05:36 UTC (rev 199749)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-04-20 01:19:59 UTC (rev 199750)
</span><span class="lines">@@ -2794,10 +2794,10 @@
</span><span class="cx">                 7E474E1E12494DC900235364 /* SQLiteDatabaseTrackerClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 7E474E1B12494DC900235364 /* SQLiteDatabaseTrackerClient.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 7E474E1F12494DC900235364 /* SQLiteDatabaseTracker.h in Headers */ = {isa = PBXBuildFile; fileRef = 7E474E1C12494DC900235364 /* SQLiteDatabaseTracker.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 7E474E2012494DC900235364 /* SQLiteDatabaseTracker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7E474E1D12494DC900235364 /* SQLiteDatabaseTracker.cpp */; };
</span><ins>+                7E4C96DC1AD4483500365A50 /* JSFetchRequest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7E4C96D81AD4483500365A50 /* JSFetchRequest.cpp */; };
</ins><span class="cx">                 7E4C96DC1AD4483500365A51 /* JSReadableStreamSource.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7E4C96D81AD4483500365A51 /* JSReadableStreamSource.cpp */; };
</span><ins>+                7E4C96DD1AD4483500365A50 /* JSFetchRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 7E4C96D91AD4483500365A50 /* JSFetchRequest.h */; };
</ins><span class="cx">                 7E4C96DD1AD4483500365A51 /* JSReadableStreamSource.h in Headers */ = {isa = PBXBuildFile; fileRef = 7E4C96D91AD4483500365A51 /* JSReadableStreamSource.h */; };
</span><del>-                7E4C96DC1AD4483500365A50 /* JSFetchRequest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7E4C96D81AD4483500365A50 /* JSFetchRequest.cpp */; };
-                7E4C96DD1AD4483500365A50 /* JSFetchRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 7E4C96D91AD4483500365A50 /* JSFetchRequest.h */; };
</del><span class="cx">                 7E4DE10D198B10B60051CB02 /* DiskCacheMonitorCocoa.mm in Sources */ = {isa = PBXBuildFile; fileRef = 7E4DE10C198B10B60051CB02 /* DiskCacheMonitorCocoa.mm */; };
</span><span class="cx">                 7E5D7A76161D3F8F00896C34 /* OESElementIndexUint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7E5D7A73161D3F8F00896C34 /* OESElementIndexUint.cpp */; };
</span><span class="cx">                 7E5D7A77161D3F8F00896C34 /* OESElementIndexUint.h in Headers */ = {isa = PBXBuildFile; fileRef = 7E5D7A74161D3F8F00896C34 /* OESElementIndexUint.h */; };
</span><span class="lines">@@ -8997,8 +8997,8 @@
</span><span class="cx">                 4129DF841BB5B7F700322A16 /* JSReadableStreamPrivateConstructors.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSReadableStreamPrivateConstructors.h; sourceTree = "<group>"; };
</span><span class="cx">                 413015D51C7B570400091C6E /* FetchResponse.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FetchResponse.cpp; sourceTree = "<group>"; };
</span><span class="cx">                 413015D51C7B570400091C6F /* FetchResponseSource.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FetchResponseSource.cpp; sourceTree = "<group>"; };
</span><ins>+                413015D61C7B570400091C6E /* FetchResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FetchResponse.h; sourceTree = "<group>"; };
</ins><span class="cx">                 413015D61C7B570400091C6F /* FetchResponseSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FetchResponseSource.h; sourceTree = "<group>"; };
</span><del>-                413015D61C7B570400091C6E /* FetchResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FetchResponse.h; sourceTree = "<group>"; };
</del><span class="cx">                 413015D71C7B570400091C6E /* FetchResponse.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = FetchResponse.idl; sourceTree = "<group>"; };
</span><span class="cx">                 413015D81C7B570400091C6E /* FetchResponse.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = FetchResponse.js; sourceTree = "<group>"; };
</span><span class="cx">                 4138D3331244054800323D33 /* EventContext.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EventContext.h; sourceTree = "<group>"; };
</span><span class="lines">@@ -9659,6 +9659,7 @@
</span><span class="cx">                 51741D0B0B07259A00ED442C /* BackForwardClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BackForwardClient.h; sourceTree = "<group>"; };
</span><span class="cx">                 51741D0D0B07259A00ED442C /* HistoryItem.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = HistoryItem.h; sourceTree = "<group>"; };
</span><span class="cx">                 51741D0E0B07259A00ED442C /* HistoryItem.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = HistoryItem.cpp; sourceTree = "<group>"; };
</span><ins>+                51748FA21CC6EEEB00728D84 /* WorkerGlobalScopeConstructors.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file; path = WorkerGlobalScopeConstructors.idl; sourceTree = "<group>"; };
</ins><span class="cx">                 5174E20810A1F44F00F95E6F /* PopStateEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PopStateEvent.h; sourceTree = "<group>"; };
</span><span class="cx">                 5174E20B10A1F49A00F95E6F /* PopStateEvent.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = PopStateEvent.idl; sourceTree = "<group>"; };
</span><span class="cx">                 51771DFC1BDB475600CAE8E4 /* MemoryObjectStore.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MemoryObjectStore.cpp; sourceTree = "<group>"; };
</span><span class="lines">@@ -10447,10 +10448,10 @@
</span><span class="cx">                 7E474E1B12494DC900235364 /* SQLiteDatabaseTrackerClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SQLiteDatabaseTrackerClient.h; sourceTree = "<group>"; };
</span><span class="cx">                 7E474E1C12494DC900235364 /* SQLiteDatabaseTracker.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SQLiteDatabaseTracker.h; sourceTree = "<group>"; };
</span><span class="cx">                 7E474E1D12494DC900235364 /* SQLiteDatabaseTracker.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SQLiteDatabaseTracker.cpp; sourceTree = "<group>"; };
</span><ins>+                7E4C96D81AD4483500365A50 /* JSFetchRequest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSFetchRequest.cpp; sourceTree = "<group>"; };
</ins><span class="cx">                 7E4C96D81AD4483500365A51 /* JSReadableStreamSource.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSReadableStreamSource.cpp; sourceTree = "<group>"; };
</span><ins>+                7E4C96D91AD4483500365A50 /* JSFetchRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSFetchRequest.h; sourceTree = "<group>"; };
</ins><span class="cx">                 7E4C96D91AD4483500365A51 /* JSReadableStreamSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSReadableStreamSource.h; sourceTree = "<group>"; };
</span><del>-                7E4C96D81AD4483500365A50 /* JSFetchRequest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSFetchRequest.cpp; sourceTree = "<group>"; };
-                7E4C96D91AD4483500365A50 /* JSFetchRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSFetchRequest.h; sourceTree = "<group>"; };
</del><span class="cx">                 7E4DE10C198B10B60051CB02 /* DiskCacheMonitorCocoa.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = DiskCacheMonitorCocoa.mm; sourceTree = "<group>"; };
</span><span class="cx">                 7E5D7A73161D3F8F00896C34 /* OESElementIndexUint.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OESElementIndexUint.cpp; sourceTree = "<group>"; };
</span><span class="cx">                 7E5D7A74161D3F8F00896C34 /* OESElementIndexUint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = OESElementIndexUint.h; sourceTree = "<group>"; };
</span><span class="lines">@@ -17694,6 +17695,7 @@
</span><span class="cx">                                 1A1414B413A0F0500019996C /* WebKitFontFamilyNames.h */,
</span><span class="cx">                                 99CC0B6818BEA1FF006CEBCC /* WebReplayInputs.cpp */,
</span><span class="cx">                                 99CC0B6918BEA1FF006CEBCC /* WebReplayInputs.h */,
</span><ins>+                                51748FA21CC6EEEB00728D84 /* WorkerGlobalScopeConstructors.idl */,
</ins><span class="cx">                                 9908B0F91BCAD07D00ED0F75 /* WritableStreamBuiltins.cpp */,
</span><span class="cx">                                 9B03D8061BB3110D00B764E8 /* WritableStreamBuiltins.h */,
</span><span class="cx">                                 9908B0FD1BCAD07D00ED0F75 /* WritableStreamInternalsBuiltins.cpp */,
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSDictionaryh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSDictionary.h (199749 => 199750)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSDictionary.h        2016-04-20 01:05:36 UTC (rev 199749)
+++ trunk/Source/WebCore/bindings/js/JSDictionary.h        2016-04-20 01:19:59 UTC (rev 199750)
</span><span class="lines">@@ -33,6 +33,7 @@
</span><span class="cx"> #include <runtime/JSCInlines.h>
</span><span class="cx"> #include <runtime/Uint8Array.h>
</span><span class="cx"> #include <wtf/Forward.h>
</span><ins>+#include <wtf/Optional.h>
</ins><span class="cx">
</span><span class="cx"> namespace Deprecated {
</span><span class="cx"> class ScriptValue;
</span><span class="lines">@@ -101,6 +102,19 @@
</span><span class="cx"> GetPropertyResult tryGetPropertyAndResult(const char* propertyName, T* context, void (*setter)(T* context, const Result&)) const;
</span><span class="cx"> GetPropertyResult tryGetProperty(const char* propertyName, JSC::JSValue&) const;
</span><span class="cx">
</span><ins>+ template <typename T>
+ static void convertValue(JSC::ExecState* execState, JSC::JSValue value, Optional<T>& result)
+ {
+ if (value.isUndefinedOrNull()) {
+ result = Nullopt;
+ return;
+ }
+
+ T actualResult;
+ convertValue(execState, value, actualResult);
+ result = actualResult;
+ }
+
</ins><span class="cx"> static void convertValue(JSC::ExecState*, JSC::JSValue, bool& result);
</span><span class="cx"> static void convertValue(JSC::ExecState*, JSC::JSValue, int& result);
</span><span class="cx"> static void convertValue(JSC::ExecState*, JSC::JSValue, unsigned& result);
</span></span></pre></div>
<a id="trunkSourceWebCorepageDOMWindowidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/DOMWindow.idl (199749 => 199750)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/DOMWindow.idl        2016-04-20 01:05:36 UTC (rev 199749)
+++ trunk/Source/WebCore/page/DOMWindow.idl        2016-04-20 01:19:59 UTC (rev 199750)
</span><span class="lines">@@ -193,14 +193,6 @@
</span><span class="cx">
</span><span class="cx"> attribute DOMURLConstructor webkitURL; // FIXME: deprecate this.
</span><span class="cx"> attribute MutationObserverConstructor WebKitMutationObserver; // FIXME: Add metrics to determine when we can remove this.
</span><del>- [Conditional=INDEXED_DATABASE, EnabledAtRuntime=IndexedDB] attribute IDBCursorConstructor webkitIDBCursor;
- [Conditional=INDEXED_DATABASE, EnabledAtRuntime=IndexedDB] attribute IDBDatabaseConstructor webkitIDBDatabase;
- [Conditional=INDEXED_DATABASE, EnabledAtRuntime=IndexedDB] attribute IDBFactoryConstructor webkitIDBFactory;
- [Conditional=INDEXED_DATABASE, EnabledAtRuntime=IndexedDB] attribute IDBIndexConstructor webkitIDBIndex;
- [Conditional=INDEXED_DATABASE, EnabledAtRuntime=IndexedDB] attribute IDBKeyRangeConstructor webkitIDBKeyRange;
- [Conditional=INDEXED_DATABASE, EnabledAtRuntime=IndexedDB] attribute IDBObjectStoreConstructor webkitIDBObjectStore;
- [Conditional=INDEXED_DATABASE, EnabledAtRuntime=IndexedDB] attribute IDBRequestConstructor webkitIDBRequest;
- [Conditional=INDEXED_DATABASE, EnabledAtRuntime=IndexedDB] attribute IDBTransactionConstructor webkitIDBTransaction;
</del><span class="cx"> #endif // defined(LANGUAGE_JAVASCRIPT)
</span><span class="cx">
</span><span class="cx">
</span></span></pre>
</div>
</div>
</body>
</html>