<!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>[207420] 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/207420">207420</a></dd>
<dt>Author</dt> <dd>simon.fraser@apple.com</dd>
<dt>Date</dt> <dd>2016-10-17 12:06:25 -0700 (Mon, 17 Oct 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>Implement DOMPoint/DOMPointReadOnly
https://bugs.webkit.org/show_bug.cgi?id=133916

Reviewed by Darin Adler.
Source/WebCore:

Patch mostly by Dirk Schultz &lt;krit@webkit.org&gt;.

Implement DOMPoint/DOMPointReadOnly following https://drafts.fxtf.org/geometry/
(although we may need to match https://www.w3.org/TR/geometry-1/ to be compatible
with Chrome).

Test: geometry/DOMPoint-001.html

* CMakeLists.txt:
* DerivedSources.make:
* WebCore.xcodeproj/project.pbxproj:
* dom/DOMPoint.h: Added.
* dom/DOMPoint.idl: Added.
* dom/DOMPointInit.h: Added.
* dom/DOMPointInit.idl: Added.
* dom/DOMPointReadOnly.h: Added.
(WebCore::DOMPointReadOnly::create):
(WebCore::DOMPointReadOnly::fromPoint):
(WebCore::DOMPointReadOnly::x):
(WebCore::DOMPointReadOnly::y):
(WebCore::DOMPointReadOnly::z):
(WebCore::DOMPointReadOnly::w):
(WebCore::DOMPointReadOnly::DOMPointReadOnly):
* dom/DOMPointReadOnly.idl: Added.

LayoutTests:

New Web Platform-style test, and rebaselines.

* geometry/DOMPoint-001-expected.txt: Added.
* geometry/DOMPoint-001.html: Added.
* js/dom/global-constructors-attributes-dedicated-worker-expected.txt:
* js/dom/global-constructors-attributes-expected.txt:
* platform/efl/js/dom/global-constructors-attributes-expected.txt:
* platform/gtk/js/dom/global-constructors-attributes-expected.txt:
* platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt:
* platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
* platform/mac/js/dom/global-constructors-attributes-expected.txt:
* platform/win/js/dom/global-constructors-attributes-expected.txt:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsjsdomglobalconstructorsattributesdedicatedworkerexpectedtxt">trunk/LayoutTests/js/dom/global-constructors-attributes-dedicated-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsjsdomglobalconstructorsattributesexpectedtxt">trunk/LayoutTests/js/dom/global-constructors-attributes-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformefljsdomglobalconstructorsattributesexpectedtxt">trunk/LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformgtkjsdomglobalconstructorsattributesexpectedtxt">trunk/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacjsdomglobalconstructorsattributesexpectedtxt">trunk/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacwk1jsdomglobalconstructorsattributesexpectedtxt">trunk/LayoutTests/platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacyosemitejsdomglobalconstructorsattributesexpectedtxt">trunk/LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformwinjsdomglobalconstructorsattributesexpectedtxt">trunk/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt</a></li>
<li><a href="#trunkSourceWebCoreCMakeListstxt">trunk/Source/WebCore/CMakeLists.txt</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreDerivedSourcesmake">trunk/Source/WebCore/DerivedSources.make</a></li>
<li><a href="#trunkSourceWebCoreWebCorexcodeprojprojectpbxproj">trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li>trunk/LayoutTests/geometry/</li>
<li><a href="#trunkLayoutTestsgeometryDOMPoint001expectedtxt">trunk/LayoutTests/geometry/DOMPoint-001-expected.txt</a></li>
<li><a href="#trunkLayoutTestsgeometryDOMPoint001html">trunk/LayoutTests/geometry/DOMPoint-001.html</a></li>
<li><a href="#trunkSourceWebCoredomDOMPointh">trunk/Source/WebCore/dom/DOMPoint.h</a></li>
<li><a href="#trunkSourceWebCoredomDOMPointidl">trunk/Source/WebCore/dom/DOMPoint.idl</a></li>
<li><a href="#trunkSourceWebCoredomDOMPointInith">trunk/Source/WebCore/dom/DOMPointInit.h</a></li>
<li><a href="#trunkSourceWebCoredomDOMPointInitidl">trunk/Source/WebCore/dom/DOMPointInit.idl</a></li>
<li><a href="#trunkSourceWebCoredomDOMPointReadOnlyh">trunk/Source/WebCore/dom/DOMPointReadOnly.h</a></li>
<li><a href="#trunkSourceWebCoredomDOMPointReadOnlyidl">trunk/Source/WebCore/dom/DOMPointReadOnly.idl</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (207419 => 207420)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2016-10-17 18:35:17 UTC (rev 207419)
+++ trunk/LayoutTests/ChangeLog        2016-10-17 19:06:25 UTC (rev 207420)
</span><span class="lines">@@ -1,3 +1,23 @@
</span><ins>+2016-10-17  Simon Fraser  &lt;simon.fraser@apple.com&gt;
+
+        Implement DOMPoint/DOMPointReadOnly
+        https://bugs.webkit.org/show_bug.cgi?id=133916
+
+        Reviewed by Darin Adler.
+        
+        New Web Platform-style test, and rebaselines.
+
+        * geometry/DOMPoint-001-expected.txt: Added.
+        * geometry/DOMPoint-001.html: Added.
+        * js/dom/global-constructors-attributes-dedicated-worker-expected.txt:
+        * js/dom/global-constructors-attributes-expected.txt:
+        * platform/efl/js/dom/global-constructors-attributes-expected.txt:
+        * platform/gtk/js/dom/global-constructors-attributes-expected.txt:
+        * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt:
+        * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
+        * platform/mac/js/dom/global-constructors-attributes-expected.txt:
+        * platform/win/js/dom/global-constructors-attributes-expected.txt:
+
</ins><span class="cx"> 2016-10-17  Ryan Haddad  &lt;ryanhaddad@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Rebaseline mathml/mathml-in-dashboard.html for mac.
</span></span></pre></div>
<a id="trunkLayoutTestsgeometryDOMPoint001expectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/geometry/DOMPoint-001-expected.txt (0 => 207420)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/geometry/DOMPoint-001-expected.txt                                (rev 0)
+++ trunk/LayoutTests/geometry/DOMPoint-001-expected.txt        2016-10-17 19:06:25 UTC (rev 207420)
</span><span class="lines">@@ -0,0 +1,29 @@
</span><ins>+Test DOMPoint and DOMPointReadOnly interfaces
+
+
+PASS testConstructor0 
+PASS testConstructor1 
+PASS testConstructor2 
+PASS testConstructor3 
+PASS testConstructor4 
+PASS testConstructor5 
+PASS testConstructorDOMPointInit0 
+PASS testConstructorDOMPointInit1 
+PASS testConstructorDOMPointInit2 
+PASS testConstructorDOMPointInit3 
+PASS testConstructorDOMPointInit4 
+PASS testConstructorDOMPointInit5 
+PASS testConstructorDOMPointInit2irregular 
+PASS testConstructorDOMPointInit2undefined 
+PASS testReadonlyConstructor1 
+PASS testConstructor2NaN 
+PASS testConstructor2Infinity 
+PASS testFromPointReturnType 
+PASS testFromPointReadOnlyReturnType 
+PASS testReadonlyAttributes 
+PASS testAttributes 
+PASS testAttributesUndefined 
+PASS testAttributesNaNInfinity 
+PASS testSerializer 
+PASS testReadonlySerializer 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsgeometryDOMPoint001html"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/geometry/DOMPoint-001.html (0 => 207420)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/geometry/DOMPoint-001.html                                (rev 0)
+++ trunk/LayoutTests/geometry/DOMPoint-001.html        2016-10-17 19:06:25 UTC (rev 207420)
</span><span class="lines">@@ -0,0 +1,128 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+&lt;head&gt;
+    &lt;title&gt;Geometry Interfaces: DOMPoint and DOMPointReadOnly interface tests.&lt;/title&gt;
+    &lt;link rel=&quot;author&quot; title=&quot;Dirk Schulze&quot; href=&quot;mailto:dschulze@adobe.com&quot; /&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;http://www.w3.org/TR/geometry-1/#DOMPoint&quot;&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;http://dev.w3.org/fxtf/geometry/#dictdef-dompointinit&quot;&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;http://www.w3.org/TR/geometry-1/#dom-dompoint-dompoint&quot;&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;http://www.w3.org/TR/geometry-1/#dom-dompointreadonly-dompoint-x&quot;&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;http://www.w3.org/TR/geometry-1/#dom-dompointreadonly-dompoint-y&quot;&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;http://www.w3.org/TR/geometry-1/#dom-dompointreadonly-dompoint-z&quot;&gt;
+    &lt;link rel=&quot;help&quot; href=&quot;http://www.w3.org/TR/geometry-1/#dom-dompointreadonly-dompoint-w&quot;&gt;
+    &lt;script src=&quot;../resources/testharness.js&quot;&gt;&lt;/script&gt;
+    &lt;script src=&quot;../resources/testharnessreport.js&quot;&gt;&lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+    &lt;p&gt;Test DOMPoint and DOMPointReadOnly interfaces&lt;/p&gt;
+    &lt;div id=&quot;log&quot;&gt;&lt;/div&gt;
+    &lt;script&gt;
+        test(function() {
+            checkDOMPoint(new DOMPoint(), {x:0, y:0, z:0, w:1});
+        },'testConstructor0');
+        test(function() {
+            checkDOMPoint(new DOMPoint(1), {x:1, y:0, z:0, w:1})
+        },'testConstructor1');
+        test(function() {
+            checkDOMPoint(new DOMPoint(1, 2), {x:1, y:2, z:0, w:1});
+        },'testConstructor2');
+        test(function() {
+            checkDOMPoint(new DOMPoint(1, 2, 3), {x:1, y:2, z:3, w:1});
+        },'testConstructor3');
+        test(function() {
+            checkDOMPoint(new DOMPoint(1, 2, 3, 4), {x:1, y:2, z:3, w:4});
+        },'testConstructor4');
+        test(function() {
+            checkDOMPoint(new DOMPoint(1, 2, 3, 4, 5), {x:1, y:2, z:3, w:4});
+        },'testConstructor5');
+        test(function() {
+            checkDOMPoint(DOMPoint.fromPoint({}), {x:0, y:0, z:0, w:1});
+        },'testConstructorDOMPointInit0');
+        test(function() {
+            checkDOMPoint(DOMPoint.fromPoint({x:1}), {x:1, y:0, z:0, w:1});
+        },'testConstructorDOMPointInit1');
+        test(function() {
+            checkDOMPoint(DOMPoint.fromPoint({x:1, y:2}), {x:1, y:2, z:0, w:1});
+        },'testConstructorDOMPointInit2');
+        test(function() {
+            checkDOMPoint(DOMPoint.fromPoint({x:1, y:2, z:3}), {x:1, y:2, z:3, w:1});
+        },'testConstructorDOMPointInit3');
+        test(function() {
+            checkDOMPoint(DOMPoint.fromPoint({x:1, y:2, z:3, w:4}), {x:1, y:2, z:3, w:4});
+        },'testConstructorDOMPointInit4');
+        test(function() {
+            checkDOMPoint(DOMPoint.fromPoint({x:1, y:2, z:3, w:4, v:5}), {x:1, y:2, z:3, w:4});
+        },'testConstructorDOMPointInit5');
+        test(function() {
+            checkDOMPoint(DOMPoint.fromPoint({x:1, z:3}), {x:1, y:0, z:3, w:1});
+        },'testConstructorDOMPointInit2irregular');
+        test(function() {
+            checkDOMPoint(DOMPoint.fromPoint({x:1, y: undefined, z:3}), {x:1, y:0, z:3, w:1});
+        },'testConstructorDOMPointInit2undefined');
+        test(function() {
+            checkDOMPoint(new DOMPointReadOnly(), {x:0, y:0, z:0, w:1});
+        },'testReadonlyConstructor1');
+        test(function() {
+            checkDOMPoint(new DOMPoint(1, NaN), {x:1, y:NaN, z:0, w:1});
+        },'testConstructor2NaN');
+        test(function() {
+            checkDOMPoint(new DOMPoint(1, Number.POSITIVE_INFINITY), {x:1, y:Infinity, z:0, w:1});
+        },'testConstructor2Infinity');
+        test(function() {
+            var p = DOMPoint.fromPoint({});
+            assert_true(p instanceof DOMPoint);
+        },'testFromPointReturnType');
+        test(function() {
+            var p = DOMPointReadOnly.fromPoint({});
+            assert_true(p instanceof DOMPointReadOnly);
+        },'testFromPointReadOnlyReturnType');
+        test(function() {
+            var p = new DOMPointReadOnly();
+            p.x = 1;
+            p.y = Math.PI;
+            p.z = 3.2;
+            p.w = 4;
+            checkDOMPoint(p, {x:0, y:0, z:0, w:1});
+        },'testReadonlyAttributes');
+        test(function() {
+            var p = new DOMPoint();
+            p.x = 1;
+            p.y = Math.PI;
+            p.z = 3.2;
+            p.w = 4;
+            checkDOMPoint(p, {x:1, y:Math.PI, z:3.2, w:4});
+        },'testAttributes');
+        test(function() {
+            var p = new DOMPoint(0, 0, 0, 1);
+            p.x = undefined;
+            p.y = undefined;
+            p.z = undefined;
+            p.w = undefined;
+            checkDOMPoint(p, {x:NaN, y:NaN, z:NaN, w:NaN});
+        },'testAttributesUndefined');
+        test(function() {
+            var p = new DOMPoint(0, 0, 0, 1);
+            p.x = NaN;
+            p.y = Number.POSITIVE_INFINITY;
+            p.z = Number.NEGATIVE_INFINITY;
+            p.w = Infinity;
+            checkDOMPoint(p, {x:NaN, y:Infinity, z:-Infinity, w:Infinity});
+        },'testAttributesNaNInfinity');
+        test(function() {
+            var p = DOMPoint.fromPoint({x:1, y:3.1415927, z:3.2, w:4});
+            assert_equals(JSON.stringify(p.toJSON()), &quot;{\&quot;x\&quot;:1,\&quot;y\&quot;:3.1415927,\&quot;z\&quot;:3.2,\&quot;w\&quot;:4}&quot;);
+        },'testSerializer');
+        test(function() {
+            var p = DOMPointReadOnly.fromPoint({x:1, y:3.1415927, z:3.2, w:4});
+            assert_equals(JSON.stringify(p.toJSON()), &quot;{\&quot;x\&quot;:1,\&quot;y\&quot;:3.1415927,\&quot;z\&quot;:3.2,\&quot;w\&quot;:4}&quot;);
+        },'testReadonlySerializer');
+
+        function checkDOMPoint(p, exp) {
+            assert_equals(p.x, exp.x, &quot;Expected value for x is &quot; + exp.x);
+            assert_equals(p.y, exp.y, &quot;Expected value for y is &quot; + exp.y);
+            assert_equals(p.z, exp.z, &quot;Expected value for z is &quot; + exp.z);
+            assert_equals(p.w, exp.w, &quot;Expected value for w is &quot; + exp.w);
+        }
+    &lt;/script&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsjsdomglobalconstructorsattributesdedicatedworkerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/dom/global-constructors-attributes-dedicated-worker-expected.txt (207419 => 207420)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/dom/global-constructors-attributes-dedicated-worker-expected.txt        2016-10-17 18:35:17 UTC (rev 207419)
+++ trunk/LayoutTests/js/dom/global-constructors-attributes-dedicated-worker-expected.txt        2016-10-17 19:06:25 UTC (rev 207420)
</span><span class="lines">@@ -49,6 +49,16 @@
</span><span class="cx"> PASS [Worker] Object.getOwnPropertyDescriptor(global, 'DOMException').hasOwnProperty('set') is false
</span><span class="cx"> PASS [Worker] Object.getOwnPropertyDescriptor(global, 'DOMException').enumerable is false
</span><span class="cx"> PASS [Worker] Object.getOwnPropertyDescriptor(global, 'DOMException').configurable is true
</span><ins>+PASS [Worker] Object.getOwnPropertyDescriptor(global, 'DOMPoint').value is DOMPoint
+PASS [Worker] Object.getOwnPropertyDescriptor(global, 'DOMPoint').hasOwnProperty('get') is false
+PASS [Worker] Object.getOwnPropertyDescriptor(global, 'DOMPoint').hasOwnProperty('set') is false
+PASS [Worker] Object.getOwnPropertyDescriptor(global, 'DOMPoint').enumerable is false
+PASS [Worker] Object.getOwnPropertyDescriptor(global, 'DOMPoint').configurable is true
+PASS [Worker] Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').value is DOMPointReadOnly
+PASS [Worker] Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').hasOwnProperty('get') is false
+PASS [Worker] Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').hasOwnProperty('set') is false
+PASS [Worker] Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').enumerable is false
+PASS [Worker] Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').configurable is true
</ins><span class="cx"> PASS [Worker] Object.getOwnPropertyDescriptor(global, 'DataView').value is DataView
</span><span class="cx"> PASS [Worker] Object.getOwnPropertyDescriptor(global, 'DataView').hasOwnProperty('get') is false
</span><span class="cx"> PASS [Worker] Object.getOwnPropertyDescriptor(global, 'DataView').hasOwnProperty('set') is false
</span></span></pre></div>
<a id="trunkLayoutTestsjsdomglobalconstructorsattributesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/dom/global-constructors-attributes-expected.txt (207419 => 207420)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/dom/global-constructors-attributes-expected.txt        2016-10-17 18:35:17 UTC (rev 207419)
+++ trunk/LayoutTests/js/dom/global-constructors-attributes-expected.txt        2016-10-17 19:06:25 UTC (rev 207420)
</span><span class="lines">@@ -288,6 +288,16 @@
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMParser').hasOwnProperty('set') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMParser').enumerable is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMParser').configurable is true
</span><ins>+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').value is DOMPoint
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').value is DOMPointReadOnly
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').configurable is true
</ins><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMStringList').value is DOMStringList
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMStringList').hasOwnProperty('get') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMStringList').hasOwnProperty('set') is false
</span></span></pre></div>
<a id="trunkLayoutTestsplatformefljsdomglobalconstructorsattributesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt (207419 => 207420)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt        2016-10-17 18:35:17 UTC (rev 207419)
+++ trunk/LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt        2016-10-17 19:06:25 UTC (rev 207420)
</span><span class="lines">@@ -288,6 +288,16 @@
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMParser').hasOwnProperty('set') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMParser').enumerable is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMParser').configurable is true
</span><ins>+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').value is DOMPoint
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').value is DOMPointReadOnly
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').configurable is true
</ins><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMStringList').value is DOMStringList
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMStringList').hasOwnProperty('get') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMStringList').hasOwnProperty('set') is false
</span></span></pre></div>
<a id="trunkLayoutTestsplatformgtkjsdomglobalconstructorsattributesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt (207419 => 207420)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt        2016-10-17 18:35:17 UTC (rev 207419)
+++ trunk/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt        2016-10-17 19:06:25 UTC (rev 207420)
</span><span class="lines">@@ -323,6 +323,16 @@
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMParser').hasOwnProperty('set') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMParser').enumerable is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMParser').configurable is true
</span><ins>+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').value is DOMPoint
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').value is DOMPointReadOnly
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').configurable is true
</ins><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMStringList').value is DOMStringList
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMStringList').hasOwnProperty('get') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMStringList').hasOwnProperty('set') is false
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacjsdomglobalconstructorsattributesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt (207419 => 207420)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt        2016-10-17 18:35:17 UTC (rev 207419)
+++ trunk/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt        2016-10-17 19:06:25 UTC (rev 207420)
</span><span class="lines">@@ -333,6 +333,16 @@
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMParser').hasOwnProperty('set') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMParser').enumerable is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMParser').configurable is true
</span><ins>+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').value is DOMPoint
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').value is DOMPointReadOnly
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').configurable is true
</ins><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMStringList').value is DOMStringList
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMStringList').hasOwnProperty('get') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMStringList').hasOwnProperty('set') is false
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacwk1jsdomglobalconstructorsattributesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt (207419 => 207420)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt        2016-10-17 18:35:17 UTC (rev 207419)
+++ trunk/LayoutTests/platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt        2016-10-17 19:06:25 UTC (rev 207420)
</span><span class="lines">@@ -333,6 +333,16 @@
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMParser').hasOwnProperty('set') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMParser').enumerable is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMParser').configurable is true
</span><ins>+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').value is DOMPoint
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').value is DOMPointReadOnly
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').configurable is true
</ins><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMStringList').value is DOMStringList
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMStringList').hasOwnProperty('get') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMStringList').hasOwnProperty('set') is false
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacyosemitejsdomglobalconstructorsattributesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt (207419 => 207420)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt        2016-10-17 18:35:17 UTC (rev 207419)
+++ trunk/LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt        2016-10-17 19:06:25 UTC (rev 207420)
</span><span class="lines">@@ -333,6 +333,16 @@
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMParser').hasOwnProperty('set') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMParser').enumerable is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMParser').configurable is true
</span><ins>+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').value is DOMPoint
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').value is DOMPointReadOnly
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').configurable is true
</ins><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMStringList').value is DOMStringList
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMStringList').hasOwnProperty('get') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMStringList').hasOwnProperty('set') is false
</span></span></pre></div>
<a id="trunkLayoutTestsplatformwinjsdomglobalconstructorsattributesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt (207419 => 207420)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt        2016-10-17 18:35:17 UTC (rev 207419)
+++ trunk/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt        2016-10-17 19:06:25 UTC (rev 207420)
</span><span class="lines">@@ -228,6 +228,16 @@
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMParser').hasOwnProperty('set') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMParser').enumerable is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMParser').configurable is true
</span><ins>+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').value is DOMPoint
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPoint').configurable is true
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').value is DOMPointReadOnly
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'DOMPointReadOnly').configurable is true
</ins><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMStringList').value is DOMStringList
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMStringList').hasOwnProperty('get') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'DOMStringList').hasOwnProperty('set') is false
</span></span></pre></div>
<a id="trunkSourceWebCoreCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/CMakeLists.txt (207419 => 207420)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/CMakeLists.txt        2016-10-17 18:35:17 UTC (rev 207419)
+++ trunk/Source/WebCore/CMakeLists.txt        2016-10-17 19:06:25 UTC (rev 207420)
</span><span class="lines">@@ -386,6 +386,9 @@
</span><span class="cx">     dom/DOMError.idl
</span><span class="cx">     dom/DOMImplementation.idl
</span><span class="cx">     dom/DOMNamedFlowCollection.idl
</span><ins>+    dom/DOMPoint.idl
+    dom/DOMPointInit.idl
+    dom/DOMPointReadOnly.idl
</ins><span class="cx">     dom/DOMStringList.idl
</span><span class="cx">     dom/DOMStringMap.idl
</span><span class="cx">     dom/DataTransfer.idl
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (207419 => 207420)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-10-17 18:35:17 UTC (rev 207419)
+++ trunk/Source/WebCore/ChangeLog        2016-10-17 19:06:25 UTC (rev 207420)
</span><span class="lines">@@ -1,3 +1,35 @@
</span><ins>+2016-10-17  Simon Fraser  &lt;simon.fraser@apple.com&gt;
+
+        Implement DOMPoint/DOMPointReadOnly
+        https://bugs.webkit.org/show_bug.cgi?id=133916
+
+        Reviewed by Darin Adler.
+
+        Patch mostly by Dirk Schultz &lt;krit@webkit.org&gt;.
+
+        Implement DOMPoint/DOMPointReadOnly following https://drafts.fxtf.org/geometry/
+        (although we may need to match https://www.w3.org/TR/geometry-1/ to be compatible
+        with Chrome).
+        
+        Test: geometry/DOMPoint-001.html
+
+        * CMakeLists.txt:
+        * DerivedSources.make:
+        * WebCore.xcodeproj/project.pbxproj:
+        * dom/DOMPoint.h: Added.
+        * dom/DOMPoint.idl: Added.
+        * dom/DOMPointInit.h: Added.
+        * dom/DOMPointInit.idl: Added.
+        * dom/DOMPointReadOnly.h: Added.
+        (WebCore::DOMPointReadOnly::create):
+        (WebCore::DOMPointReadOnly::fromPoint):
+        (WebCore::DOMPointReadOnly::x):
+        (WebCore::DOMPointReadOnly::y):
+        (WebCore::DOMPointReadOnly::z):
+        (WebCore::DOMPointReadOnly::w):
+        (WebCore::DOMPointReadOnly::DOMPointReadOnly):
+        * dom/DOMPointReadOnly.idl: Added.
+
</ins><span class="cx"> 2016-10-17  Antoine Quint  &lt;graouts@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [Modern Media Controls] Use modern-media-controls module sources for media controls stylesheet and script injection
</span></span></pre></div>
<a id="trunkSourceWebCoreDerivedSourcesmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/DerivedSources.make (207419 => 207420)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/DerivedSources.make        2016-10-17 18:35:17 UTC (rev 207419)
+++ trunk/Source/WebCore/DerivedSources.make        2016-10-17 19:06:25 UTC (rev 207420)
</span><span class="lines">@@ -294,6 +294,9 @@
</span><span class="cx">     $(WebCore)/dom/DOMError.idl \
</span><span class="cx">     $(WebCore)/dom/DOMImplementation.idl \
</span><span class="cx">     $(WebCore)/dom/DOMNamedFlowCollection.idl \
</span><ins>+    $(WebCore)/dom/DOMPoint.idl \
+    $(WebCore)/dom/DOMPointInit.idl \
+    $(WebCore)/dom/DOMPointReadOnly.idl \
</ins><span class="cx">     $(WebCore)/dom/DOMStringList.idl \
</span><span class="cx">     $(WebCore)/dom/DOMStringMap.idl \
</span><span class="cx">     $(WebCore)/dom/DataTransfer.idl \
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (207419 => 207420)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-10-17 18:35:17 UTC (rev 207419)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-10-17 19:06:25 UTC (rev 207420)
</span><span class="lines">@@ -466,6 +466,15 @@
</span><span class="cx">                 0F3F0E5A157030C3006DA57F /* RenderGeometryMap.h in Headers */ = {isa = PBXBuildFile; fileRef = 0F3F0E58157030C3006DA57F /* RenderGeometryMap.h */; };
</span><span class="cx">                 0F43C85D189E10CF00019AE2 /* PerformanceTiming.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0F43C85C189E10CF00019AE2 /* PerformanceTiming.cpp */; };
</span><span class="cx">                 0F43C85F189E15A600019AE2 /* JSPerformanceTiming.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0F43C85E189E15A600019AE2 /* JSPerformanceTiming.cpp */; };
</span><ins>+                0F49669D1DB408C100A274BB /* DOMPoint.h in Headers */ = {isa = PBXBuildFile; fileRef = 0F4966991DB408C100A274BB /* DOMPoint.h */; };
+                0F49669F1DB408C100A274BB /* DOMPointReadOnly.h in Headers */ = {isa = PBXBuildFile; fileRef = 0F49669B1DB408C100A274BB /* DOMPointReadOnly.h */; };
+                0F4966A31DB4091000A274BB /* DOMPointInit.h in Headers */ = {isa = PBXBuildFile; fileRef = 0F4966A21DB4091000A274BB /* DOMPointInit.h */; };
+                0F4966AA1DB40C4300A274BB /* JSDOMPoint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0F4966A41DB40C4300A274BB /* JSDOMPoint.cpp */; };
+                0F4966AB1DB40C4300A274BB /* JSDOMPoint.h in Headers */ = {isa = PBXBuildFile; fileRef = 0F4966A51DB40C4300A274BB /* JSDOMPoint.h */; };
+                0F4966AC1DB40C4300A274BB /* JSDOMPointInit.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0F4966A61DB40C4300A274BB /* JSDOMPointInit.cpp */; };
+                0F4966AD1DB40C4300A274BB /* JSDOMPointInit.h in Headers */ = {isa = PBXBuildFile; fileRef = 0F4966A71DB40C4300A274BB /* JSDOMPointInit.h */; };
+                0F4966AE1DB40C4300A274BB /* JSDOMPointReadOnly.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0F4966A81DB40C4300A274BB /* JSDOMPointReadOnly.cpp */; };
+                0F4966AF1DB40C4300A274BB /* JSDOMPointReadOnly.h in Headers */ = {isa = PBXBuildFile; fileRef = 0F4966A91DB40C4300A274BB /* JSDOMPointReadOnly.h */; };
</ins><span class="cx">                 0F4E57171313276200CF85AF /* RenderSVGAllInOne.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0F4E57161313276200CF85AF /* RenderSVGAllInOne.cpp */; };
</span><span class="cx">                 0F54DCE51881051D003EEDBB /* TextAutoSizing.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0F54DCE31881051D003EEDBB /* TextAutoSizing.cpp */; };
</span><span class="cx">                 0F54DCE61881051D003EEDBB /* TextAutoSizing.h in Headers */ = {isa = PBXBuildFile; fileRef = 0F54DCE41881051D003EEDBB /* TextAutoSizing.h */; };
</span><span class="lines">@@ -7300,6 +7309,18 @@
</span><span class="cx">                 0F3F0E58157030C3006DA57F /* RenderGeometryMap.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RenderGeometryMap.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 0F43C85C189E10CF00019AE2 /* PerformanceTiming.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PerformanceTiming.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 0F43C85E189E15A600019AE2 /* JSPerformanceTiming.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSPerformanceTiming.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><ins>+                0F4966991DB408C100A274BB /* DOMPoint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMPoint.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                0F49669A1DB408C100A274BB /* DOMPoint.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = DOMPoint.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
+                0F49669B1DB408C100A274BB /* DOMPointReadOnly.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMPointReadOnly.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                0F49669C1DB408C100A274BB /* DOMPointReadOnly.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = DOMPointReadOnly.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
+                0F4966A11DB4090100A274BB /* DOMPointInit.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = DOMPointInit.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
+                0F4966A21DB4091000A274BB /* DOMPointInit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMPointInit.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                0F4966A41DB40C4300A274BB /* JSDOMPoint.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = JSDOMPoint.cpp; path = JSDOMPoint.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
+                0F4966A51DB40C4300A274BB /* JSDOMPoint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = JSDOMPoint.h; path = JSDOMPoint.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                0F4966A61DB40C4300A274BB /* JSDOMPointInit.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = JSDOMPointInit.cpp; path = JSDOMPointInit.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
+                0F4966A71DB40C4300A274BB /* JSDOMPointInit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = JSDOMPointInit.h; path = JSDOMPointInit.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                0F4966A81DB40C4300A274BB /* JSDOMPointReadOnly.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = JSDOMPointReadOnly.cpp; path = JSDOMPointReadOnly.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
+                0F4966A91DB40C4300A274BB /* JSDOMPointReadOnly.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = JSDOMPointReadOnly.h; path = JSDOMPointReadOnly.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</ins><span class="cx">                 0F4E57161313276200CF85AF /* RenderSVGAllInOne.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RenderSVGAllInOne.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 0F54DCCC1880C6AB003EEDBB /* ios-encodings.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = &quot;ios-encodings.txt&quot;; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 0F54DCE31881051D003EEDBB /* TextAutoSizing.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TextAutoSizing.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -19920,6 +19941,12 @@
</span><span class="cx">                                 65DF31E409D1CC60000BE325 /* JSDOMImplementation.h */,
</span><span class="cx">                                 52CCA9E015E3F62C0053C77F /* JSDOMNamedFlowCollection.cpp */,
</span><span class="cx">                                 52CCA9E115E3F62C0053C77F /* JSDOMNamedFlowCollection.h */,
</span><ins>+                                0F4966A41DB40C4300A274BB /* JSDOMPoint.cpp */,
+                                0F4966A51DB40C4300A274BB /* JSDOMPoint.h */,
+                                0F4966A61DB40C4300A274BB /* JSDOMPointInit.cpp */,
+                                0F4966A71DB40C4300A274BB /* JSDOMPointInit.h */,
+                                0F4966A81DB40C4300A274BB /* JSDOMPointReadOnly.cpp */,
+                                0F4966A91DB40C4300A274BB /* JSDOMPointReadOnly.h */,
</ins><span class="cx">                                 C5137CF011A58378004ADB99 /* JSDOMStringList.cpp */,
</span><span class="cx">                                 C5137CF111A58378004ADB99 /* JSDOMStringList.h */,
</span><span class="cx">                                 BC64649511D82349006455B0 /* JSDOMStringMap.cpp */,
</span><span class="lines">@@ -23380,6 +23407,12 @@
</span><span class="cx">                                 52B6C9BD15E3F4DF00690B05 /* DOMNamedFlowCollection.cpp */,
</span><span class="cx">                                 52B6C9BE15E3F4DF00690B05 /* DOMNamedFlowCollection.h */,
</span><span class="cx">                                 52B6C9BF15E3F4DF00690B05 /* DOMNamedFlowCollection.idl */,
</span><ins>+                                0F4966991DB408C100A274BB /* DOMPoint.h */,
+                                0F49669A1DB408C100A274BB /* DOMPoint.idl */,
+                                0F4966A21DB4091000A274BB /* DOMPointInit.h */,
+                                0F4966A11DB4090100A274BB /* DOMPointInit.idl */,
+                                0F49669B1DB408C100A274BB /* DOMPointReadOnly.h */,
+                                0F49669C1DB408C100A274BB /* DOMPointReadOnly.idl */,
</ins><span class="cx">                                 C55610F011A704EB00B82D27 /* DOMStringList.cpp */,
</span><span class="cx">                                 C544274911A57E7A0063A749 /* DOMStringList.h */,
</span><span class="cx">                                 C544274A11A57E7A0063A749 /* DOMStringList.idl */,
</span><span class="lines">@@ -24732,6 +24765,9 @@
</span><span class="cx">                                 FB91392416AE4C17001FE682 /* DOMPath.h in Headers */,
</span><span class="cx">                                 A9C6E4EC0D745E2B006442E9 /* DOMPlugin.h in Headers */,
</span><span class="cx">                                 A9C6E4F00D745E38006442E9 /* DOMPluginArray.h in Headers */,
</span><ins>+                                0F49669D1DB408C100A274BB /* DOMPoint.h in Headers */,
+                                0F4966A31DB4091000A274BB /* DOMPointInit.h in Headers */,
+                                0F49669F1DB408C100A274BB /* DOMPointReadOnly.h in Headers */,
</ins><span class="cx">                                 5185FCB71BB4C7670012898F /* DOMRequestState.h in Headers */,
</span><span class="cx">                                 BC5A86850C33676000EEA649 /* DOMSelection.h in Headers */,
</span><span class="cx">                                 C544274B11A57E7A0063A749 /* DOMStringList.h in Headers */,
</span><span class="lines">@@ -25397,6 +25433,9 @@
</span><span class="cx">                                 FB91392A16AE4FC0001FE682 /* JSDOMPath.h in Headers */,
</span><span class="cx">                                 A9D247FF0D757E6900FDF959 /* JSDOMPlugin.h in Headers */,
</span><span class="cx">                                 A9D248010D757E6900FDF959 /* JSDOMPluginArray.h in Headers */,
</span><ins>+                                0F4966AB1DB40C4300A274BB /* JSDOMPoint.h in Headers */,
+                                0F4966AD1DB40C4300A274BB /* JSDOMPointInit.h in Headers */,
+                                0F4966AF1DB40C4300A274BB /* JSDOMPointReadOnly.h in Headers */,
</ins><span class="cx">                                 E172AF901811BC3700FBADB9 /* JSDOMPromise.h in Headers */,
</span><span class="cx">                                 BC5A86B60C3367E800EEA649 /* JSDOMSelection.h in Headers */,
</span><span class="cx">                                 C5137CF311A58378004ADB99 /* JSDOMStringList.h in Headers */,
</span><span class="lines">@@ -29073,6 +29112,9 @@
</span><span class="cx">                                 A9D248000D757E6900FDF959 /* JSDOMPluginArray.cpp in Sources */,
</span><span class="cx">                                 A9C6E64C0D7465E7006442E9 /* JSDOMPluginArrayCustom.cpp in Sources */,
</span><span class="cx">                                 A9C6E64D0D7465E7006442E9 /* JSDOMPluginCustom.cpp in Sources */,
</span><ins>+                                0F4966AA1DB40C4300A274BB /* JSDOMPoint.cpp in Sources */,
+                                0F4966AC1DB40C4300A274BB /* JSDOMPointInit.cpp in Sources */,
+                                0F4966AE1DB40C4300A274BB /* JSDOMPointReadOnly.cpp in Sources */,
</ins><span class="cx">                                 E172AF8F1811BC3700FBADB9 /* JSDOMPromise.cpp in Sources */,
</span><span class="cx">                                 BC5A86B50C3367E800EEA649 /* JSDOMSelection.cpp in Sources */,
</span><span class="cx">                                 C5137CF211A58378004ADB99 /* JSDOMStringList.cpp in Sources */,
</span></span></pre></div>
<a id="trunkSourceWebCoredomDOMPointh"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/dom/DOMPoint.h (0 => 207420)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/DOMPoint.h                                (rev 0)
+++ trunk/Source/WebCore/dom/DOMPoint.h        2016-10-17 19:06:25 UTC (rev 207420)
</span><span class="lines">@@ -0,0 +1,55 @@
</span><ins>+/*
+ * Copyright (C) 2014 Adobe Systems Incorporated. All rights reserved.
+ * Copyright (C) 2016 Apple Inc. All Rights Reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above
+ *    copyright notice, this list of conditions and the following
+ *    disclaimer.
+ * 2. Redistributions in binary form must reproduce the above
+ *    copyright notice, this list of conditions and the following
+ *    disclaimer in the documentation and/or other materials
+ *    provided with the distribution.
+ * 
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#pragma once
+
+#include &quot;DOMPointReadOnly.h&quot;
+
+namespace WebCore {
+
+class DOMPoint final : public DOMPointReadOnly {
+    WTF_MAKE_FAST_ALLOCATED;
+public:
+    static Ref&lt;DOMPoint&gt; create(double x, double y, double z, double w) { return adoptRef(*new DOMPoint(x, y, z, w)); }
+    static Ref&lt;DOMPoint&gt; fromPoint(const DOMPointInit&amp; init) { return create(init.x, init.y, init.z, init.w); }
+
+    void setX(double x) { m_x = x; }
+    void setY(double y) { m_y = y; }
+    void setZ(double z) { m_z = z; }
+    void setW(double w) { m_w = w; }
+
+private:
+    DOMPoint(double x, double y, double z, double w)
+        : DOMPointReadOnly(x, y, z, w)
+    {
+    }
+};
+
+} // namespace WebCore
</ins></span></pre></div>
<a id="trunkSourceWebCoredomDOMPointidl"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/dom/DOMPoint.idl (0 => 207420)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/DOMPoint.idl                                (rev 0)
+++ trunk/Source/WebCore/dom/DOMPoint.idl        2016-10-17 19:06:25 UTC (rev 207420)
</span><span class="lines">@@ -0,0 +1,44 @@
</span><ins>+/*
+ * Copyright (C) 2014 Adobe Systems Incorporated. All rights reserved.
+ * Copyright (C) 2016 Apple Inc. All Rights Reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above
+ *    copyright notice, this list of conditions and the following
+ *    disclaimer.
+ * 2. Redistributions in binary form must reproduce the above
+ *    copyright notice, this list of conditions and the following
+ *    disclaimer in the documentation and/or other materials
+ *    provided with the distribution.
+ * 
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+[
+    Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
+        optional unrestricted double z = 0, optional unrestricted double w = 1),
+    Exposed=(Window,Worker),
+    ImplementationLacksVTable
+]
+interface DOMPoint : DOMPointReadOnly {
+    [NewObject] static DOMPoint fromPoint(optional DOMPointInit other);
+
+    inherit attribute unrestricted double x;
+    inherit attribute unrestricted double y;
+    inherit attribute unrestricted double z;
+    inherit attribute unrestricted double w;
+};
</ins></span></pre></div>
<a id="trunkSourceWebCoredomDOMPointInith"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/dom/DOMPointInit.h (0 => 207420)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/DOMPointInit.h                                (rev 0)
+++ trunk/Source/WebCore/dom/DOMPointInit.h        2016-10-17 19:06:25 UTC (rev 207420)
</span><span class="lines">@@ -0,0 +1,42 @@
</span><ins>+/*
+ * Copyright (C) 2014 Adobe Systems Incorporated. All rights reserved.
+ * Copyright (C) 2016 Apple Inc. All Rights Reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above
+ *    copyright notice, this list of conditions and the following
+ *    disclaimer.
+ * 2. Redistributions in binary form must reproduce the above
+ *    copyright notice, this list of conditions and the following
+ *    disclaimer in the documentation and/or other materials
+ *    provided with the distribution.
+ * 
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#pragma once
+
+namespace WebCore {
+
+struct DOMPointInit {
+    double x { 0 };
+    double y { 0 };
+    double z { 0 };
+    double w { 1 };
+};
+
+} // namespace WebCore
</ins></span></pre></div>
<a id="trunkSourceWebCoredomDOMPointInitidl"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/dom/DOMPointInit.idl (0 => 207420)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/DOMPointInit.idl                                (rev 0)
+++ trunk/Source/WebCore/dom/DOMPointInit.idl        2016-10-17 19:06:25 UTC (rev 207420)
</span><span class="lines">@@ -0,0 +1,36 @@
</span><ins>+/*
+ * Copyright (C) 2014 Adobe Systems Incorporated. All rights reserved.
+ * Copyright (C) 2016 Apple Inc. All Rights Reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above
+ *    copyright notice, this list of conditions and the following
+ *    disclaimer.
+ * 2. Redistributions in binary form must reproduce the above
+ *    copyright notice, this list of conditions and the following
+ *    disclaimer in the documentation and/or other materials
+ *    provided with the distribution.
+ * 
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+dictionary DOMPointInit {
+    unrestricted double x = 0;
+    unrestricted double y = 0;
+    unrestricted double z = 0;
+    unrestricted double w = 1;
+};
</ins></span></pre></div>
<a id="trunkSourceWebCoredomDOMPointReadOnlyh"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/dom/DOMPointReadOnly.h (0 => 207420)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/DOMPointReadOnly.h                                (rev 0)
+++ trunk/Source/WebCore/dom/DOMPointReadOnly.h        2016-10-17 19:06:25 UTC (rev 207420)
</span><span class="lines">@@ -0,0 +1,67 @@
</span><ins>+/*
+ * Copyright (C) 2014 Adobe Systems Incorporated. All rights reserved.
+ * Copyright (C) 2016 Apple Inc. All Rights Reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above
+ *    copyright notice, this list of conditions and the following
+ *    disclaimer.
+ * 2. Redistributions in binary form must reproduce the above
+ *    copyright notice, this list of conditions and the following
+ *    disclaimer in the documentation and/or other materials
+ *    provided with the distribution.
+ * 
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#pragma once
+
+#include &quot;DOMPointInit.h&quot;
+#include &quot;ScriptWrappable.h&quot;
+#include &lt;wtf/RefCounted.h&gt;
+
+namespace WebCore {
+
+class DOMPointReadOnly : public ScriptWrappable, public RefCounted&lt;DOMPointReadOnly&gt; {
+    WTF_MAKE_FAST_ALLOCATED;
+public:
+    static Ref&lt;DOMPointReadOnly&gt; create(double x, double y, double z, double w) { return adoptRef(*new DOMPointReadOnly(x, y, z, w)); }
+    static Ref&lt;DOMPointReadOnly&gt; fromPoint(const DOMPointInit&amp; init) { return create(init.x, init.y, init.z, init.w); }
+
+    double x() const { return m_x; }
+    double y() const { return m_y; }
+    double z() const { return m_z; }
+    double w() const { return m_w; }
+
+protected:
+    DOMPointReadOnly(double x, double y, double z, double w)
+        : m_x(x)
+        , m_y(y)
+        , m_z(z)
+        , m_w(w)
+    {
+    }
+
+    // Any of these can be NaN or Inf.
+    double m_x;
+    double m_y;
+    double m_z;
+    double m_w;
+};
+
+} // namespace WebCore
+
</ins></span></pre></div>
<a id="trunkSourceWebCoredomDOMPointReadOnlyidl"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/dom/DOMPointReadOnly.idl (0 => 207420)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/DOMPointReadOnly.idl                                (rev 0)
+++ trunk/Source/WebCore/dom/DOMPointReadOnly.idl        2016-10-17 19:06:25 UTC (rev 207420)
</span><span class="lines">@@ -0,0 +1,49 @@
</span><ins>+/*
+ * Copyright (C) 2014 Adobe Systems Incorporated. All rights reserved.
+ * Copyright (C) 2016 Apple Inc. All Rights Reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above
+ *    copyright notice, this list of conditions and the following
+ *    disclaimer.
+ * 2. Redistributions in binary form must reproduce the above
+ *    copyright notice, this list of conditions and the following
+ *    disclaimer in the documentation and/or other materials
+ *    provided with the distribution.
+ * 
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+[
+    Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
+        optional unrestricted double z = 0, optional unrestricted double w = 1),
+    Exposed=(Window,Worker),
+    ImplementationLacksVTable
+]
+interface DOMPointReadOnly {
+    [NewObject] static DOMPointReadOnly fromPoint(optional DOMPointInit other);
+
+    readonly attribute unrestricted double x;
+    readonly attribute unrestricted double y;
+    readonly attribute unrestricted double z;
+    readonly attribute unrestricted double w;
+
+    // FIXME: No support for DOMMatrix yet (webkit.org/b/110001)
+    // DOMPoint matrixTransform(optional DOMMatrixInit matrix);
+
+    serializer = { attribute };
+};
</ins></span></pre>
</div>
</div>

</body>
</html>