<!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>[204242] 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/204242">204242</a></dd>
<dt>Author</dt> <dd>cdumez@apple.com</dd>
<dt>Date</dt> <dd>2016-08-07 10:14:54 -0700 (Sun, 07 Aug 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>Un-expose DOMSettableTokenList
https://bugs.webkit.org/show_bug.cgi?id=160643

Reviewed by Darin Adler.

LayoutTests/imported/w3c:

Rebaseline W3C test now that one more check is passing.

* web-platform-tests/dom/historical-expected.txt:

Source/WebCore:

Un-expose DOMSettableTokenList. We merged DOMSettableTokenList into
DOMTokenList a while back, as per the specification. At the time, we
kept DOMSettableTokenList on Window, as an alias to DOMTokenList.
However, Firefox and Chrome dropped DOMSettableTokenList completely.
We now do the same as other browsers.

No new tests, rebaselined existing test.

* page/DOMWindow.idl:

LayoutTests:

Update / rebaseline existing tests.

* fast/dom/HTMLLinkElement/sizes-setter-expected.txt:
* fast/dom/HTMLLinkElement/sizes-setter.html:
* fast/dom/HTMLOutputElement/dom-settable-token-list-expected.txt:
* fast/dom/HTMLOutputElement/script-tests/dom-settable-token-list.js:
* fast/frames/sandbox-attribute-expected.txt:
* fast/frames/sandbox-attribute.html:
* 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-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="#trunkLayoutTestsfastdomHTMLLinkElementsizessetterexpectedtxt">trunk/LayoutTests/fast/dom/HTMLLinkElement/sizes-setter-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastdomHTMLLinkElementsizessetterhtml">trunk/LayoutTests/fast/dom/HTMLLinkElement/sizes-setter.html</a></li>
<li><a href="#trunkLayoutTestsfastdomHTMLOutputElementdomsettabletokenlistexpectedtxt">trunk/LayoutTests/fast/dom/HTMLOutputElement/dom-settable-token-list-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastdomHTMLOutputElementscripttestsdomsettabletokenlistjs">trunk/LayoutTests/fast/dom/HTMLOutputElement/script-tests/dom-settable-token-list.js</a></li>
<li><a href="#trunkLayoutTestsfastframessandboxattributeexpectedtxt">trunk/LayoutTests/fast/frames/sandbox-attribute-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastframessandboxattributehtml">trunk/LayoutTests/fast/frames/sandbox-attribute.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cChangeLog">trunk/LayoutTests/imported/w3c/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomhistoricalexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/historical-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="#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="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorepageDOMWindowidl">trunk/Source/WebCore/page/DOMWindow.idl</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (204241 => 204242)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2016-08-07 17:05:51 UTC (rev 204241)
+++ trunk/LayoutTests/ChangeLog        2016-08-07 17:14:54 UTC (rev 204242)
</span><span class="lines">@@ -1,3 +1,25 @@
</span><ins>+2016-08-07  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Un-expose DOMSettableTokenList
+        https://bugs.webkit.org/show_bug.cgi?id=160643
+
+        Reviewed by Darin Adler.
+
+        Update / rebaseline existing tests.
+
+        * fast/dom/HTMLLinkElement/sizes-setter-expected.txt:
+        * fast/dom/HTMLLinkElement/sizes-setter.html:
+        * fast/dom/HTMLOutputElement/dom-settable-token-list-expected.txt:
+        * fast/dom/HTMLOutputElement/script-tests/dom-settable-token-list.js:
+        * fast/frames/sandbox-attribute-expected.txt:
+        * fast/frames/sandbox-attribute.html:
+        * 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-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-08-07  Youenn Fablet  &lt;youenn@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         LayoutTest http/tests/fetch/fetch-in-worker-crash.html is flaky
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomHTMLLinkElementsizessetterexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/HTMLLinkElement/sizes-setter-expected.txt (204241 => 204242)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/HTMLLinkElement/sizes-setter-expected.txt        2016-08-07 17:05:51 UTC (rev 204241)
+++ trunk/LayoutTests/fast/dom/HTMLLinkElement/sizes-setter-expected.txt        2016-08-07 17:14:54 UTC (rev 204242)
</span><span class="lines">@@ -3,7 +3,7 @@
</span><span class="cx"> On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-PASS link.sizes.__proto__ is DOMSettableTokenList.prototype
</del><ins>+PASS link.sizes.__proto__ is DOMTokenList.prototype
</ins><span class="cx"> link.sizes = '10x10  20x20'
</span><span class="cx"> PASS String(link.sizes) is &quot;10x10 20x20&quot;
</span><span class="cx"> PASS link.getAttribute('sizes') is &quot;10x10 20x20&quot;
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomHTMLLinkElementsizessetterhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/HTMLLinkElement/sizes-setter.html (204241 => 204242)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/HTMLLinkElement/sizes-setter.html        2016-08-07 17:05:51 UTC (rev 204241)
+++ trunk/LayoutTests/fast/dom/HTMLLinkElement/sizes-setter.html        2016-08-07 17:14:54 UTC (rev 204242)
</span><span class="lines">@@ -6,7 +6,7 @@
</span><span class="cx"> description(&quot;Tests that the HTMLLinkElement.sizes setter updates the associated sizes attribute&quot;);
</span><span class="cx"> 
</span><span class="cx"> var link = document.createElement(&quot;link&quot;);
</span><del>-shouldBe(&quot;link.sizes.__proto__&quot;, &quot;DOMSettableTokenList.prototype&quot;);
</del><ins>+shouldBe(&quot;link.sizes.__proto__&quot;, &quot;DOMTokenList.prototype&quot;);
</ins><span class="cx"> evalAndLog(&quot;link.sizes = '10x10  20x20'&quot;);
</span><span class="cx"> shouldBeEqualToString(&quot;String(link.sizes)&quot;, &quot;10x10 20x20&quot;);
</span><span class="cx"> shouldBeEqualToString(&quot;link.getAttribute('sizes')&quot;, &quot;10x10 20x20&quot;);
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomHTMLOutputElementdomsettabletokenlistexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/HTMLOutputElement/dom-settable-token-list-expected.txt (204241 => 204242)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/HTMLOutputElement/dom-settable-token-list-expected.txt        2016-08-07 17:05:51 UTC (rev 204241)
+++ trunk/LayoutTests/fast/dom/HTMLOutputElement/dom-settable-token-list-expected.txt        2016-08-07 17:14:54 UTC (rev 204242)
</span><span class="lines">@@ -4,7 +4,7 @@
</span><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> - Tests from http://simon.html5.org/test/html/dom/reflecting/DOMTokenList/
</span><del>-PASS element.htmlFor.__proto__ is DOMSettableTokenList.prototype
</del><ins>+PASS element.htmlFor.__proto__ is DOMTokenList.prototype
</ins><span class="cx"> PASS String(element.htmlFor) is &quot;y z&quot;
</span><span class="cx"> PASS element.getAttribute(&quot;for&quot;) is &quot;y z&quot;
</span><span class="cx"> PASS String(element.htmlFor) is &quot;r s t&quot;
</span><span class="lines">@@ -66,11 +66,11 @@
</span><span class="cx"> PASS element.htmlFor.length is 2
</span><span class="cx"> PASS element.htmlFor.length is 2
</span><span class="cx"> PASS element.htmlFor.length is 2
</span><del>-- DOMSettableTokenList presence and type
-PASS 'undefined' != typeof DOMSettableTokenList is true
-PASS typeof DOMSettableTokenList.prototype is &quot;object&quot;
</del><ins>+- DOMTokenList presence and type
+PASS 'undefined' != typeof DOMTokenList is true
+PASS typeof DOMTokenList.prototype is &quot;object&quot;
</ins><span class="cx"> PASS typeof element.htmlFor is &quot;object&quot;
</span><del>-PASS element.htmlFor.constructor is DOMSettableTokenList
</del><ins>+PASS element.htmlFor.constructor is DOMTokenList
</ins><span class="cx"> PASS element.htmlFor === element.htmlFor is true
</span><span class="cx"> PASS successfullyParsed is true
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomHTMLOutputElementscripttestsdomsettabletokenlistjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/HTMLOutputElement/script-tests/dom-settable-token-list.js (204241 => 204242)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/HTMLOutputElement/script-tests/dom-settable-token-list.js        2016-08-07 17:05:51 UTC (rev 204241)
+++ trunk/LayoutTests/fast/dom/HTMLOutputElement/script-tests/dom-settable-token-list.js        2016-08-07 17:14:54 UTC (rev 204242)
</span><span class="lines">@@ -16,7 +16,7 @@
</span><span class="cx"> 
</span><span class="cx"> // HTMLOutputElement::htmlFor should be settable.
</span><span class="cx"> createElement('x');
</span><del>-shouldBe('element.htmlFor.__proto__', 'DOMSettableTokenList.prototype');
</del><ins>+shouldBe('element.htmlFor.__proto__', 'DOMTokenList.prototype');
</ins><span class="cx"> element.htmlFor = 'y  z';
</span><span class="cx"> shouldBeEqualToString('String(element.htmlFor)', 'y z');
</span><span class="cx"> shouldBeEqualToString('element.getAttribute(&quot;for&quot;)', 'y z');
</span><span class="lines">@@ -232,7 +232,7 @@
</span><span class="cx"> shouldEvaluateTo('element.htmlFor.length', 2);
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-debug('- DOMSettableTokenList presence and type');
</del><ins>+debug('- DOMTokenList presence and type');
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> // Safari returns object
</span><span class="lines">@@ -239,14 +239,14 @@
</span><span class="cx"> // Firefox returns object
</span><span class="cx"> // IE8 returns object
</span><span class="cx"> // Chrome returns function
</span><del>-// assertEquals('object', typeof DOMSettableTokenList);
-shouldBeTrue('\'undefined\' != typeof DOMSettableTokenList');
</del><ins>+// assertEquals('object', typeof DOMTokenList);
+shouldBeTrue('\'undefined\' != typeof DOMTokenList');
</ins><span class="cx"> 
</span><del>-shouldBeEqualToString('typeof DOMSettableTokenList.prototype', 'object');
</del><ins>+shouldBeEqualToString('typeof DOMTokenList.prototype', 'object');
</ins><span class="cx"> 
</span><span class="cx"> createElement('x');
</span><span class="cx"> shouldBeEqualToString('typeof element.htmlFor', 'object');
</span><span class="cx"> 
</span><del>-shouldEvaluateTo('element.htmlFor.constructor', 'DOMSettableTokenList');
</del><ins>+shouldEvaluateTo('element.htmlFor.constructor', 'DOMTokenList');
</ins><span class="cx"> 
</span><span class="cx"> shouldBeTrue('element.htmlFor === element.htmlFor');
</span></span></pre></div>
<a id="trunkLayoutTestsfastframessandboxattributeexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/frames/sandbox-attribute-expected.txt (204241 => 204242)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/frames/sandbox-attribute-expected.txt        2016-08-07 17:05:51 UTC (rev 204241)
+++ trunk/LayoutTests/fast/frames/sandbox-attribute-expected.txt        2016-08-07 17:14:54 UTC (rev 204242)
</span><span class="lines">@@ -1,9 +1,9 @@
</span><del>-Checks that HTMLIframeElement.sandbox is a DOMSettableTokenList.
</del><ins>+Checks that HTMLIframeElement.sandbox is a DOMTokenList.
</ins><span class="cx"> 
</span><span class="cx"> On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-PASS iframe.sandbox.__proto__ is DOMSettableTokenList.prototype
</del><ins>+PASS iframe.sandbox.__proto__ is DOMTokenList.prototype
</ins><span class="cx"> 
</span><span class="cx"> iframe.sandbox = 'allow-popups   allow-scripts  allow-scripts  allow-same-origin'
</span><span class="cx"> PASS iframe.sandbox.length is 3
</span></span></pre></div>
<a id="trunkLayoutTestsfastframessandboxattributehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/frames/sandbox-attribute.html (204241 => 204242)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/frames/sandbox-attribute.html        2016-08-07 17:05:51 UTC (rev 204241)
+++ trunk/LayoutTests/fast/frames/sandbox-attribute.html        2016-08-07 17:14:54 UTC (rev 204242)
</span><span class="lines">@@ -3,10 +3,10 @@
</span><span class="cx"> &lt;body&gt;
</span><span class="cx"> &lt;script src=&quot;../../resources/js-test-pre.js&quot;&gt;&lt;/script&gt;
</span><span class="cx"> &lt;script&gt;
</span><del>-description(&quot;Checks that HTMLIframeElement.sandbox is a DOMSettableTokenList.&quot;);
</del><ins>+description(&quot;Checks that HTMLIframeElement.sandbox is a DOMTokenList.&quot;);
</ins><span class="cx"> 
</span><span class="cx"> var iframe = document.createElement(&quot;iframe&quot;);
</span><del>-shouldBe(&quot;iframe.sandbox.__proto__&quot;, &quot;DOMSettableTokenList.prototype&quot;);
</del><ins>+shouldBe(&quot;iframe.sandbox.__proto__&quot;, &quot;DOMTokenList.prototype&quot;);
</ins><span class="cx"> 
</span><span class="cx"> debug(&quot;&quot;);
</span><span class="cx"> evalAndLog(&quot;iframe.sandbox = 'allow-popups   allow-scripts  allow-scripts  allow-same-origin'&quot;);
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/ChangeLog (204241 => 204242)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/ChangeLog        2016-08-07 17:05:51 UTC (rev 204241)
+++ trunk/LayoutTests/imported/w3c/ChangeLog        2016-08-07 17:14:54 UTC (rev 204242)
</span><span class="lines">@@ -1,3 +1,14 @@
</span><ins>+2016-08-07  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Un-expose DOMSettableTokenList
+        https://bugs.webkit.org/show_bug.cgi?id=160643
+
+        Reviewed by Darin Adler.
+
+        Rebaseline W3C test now that one more check is passing.
+
+        * web-platform-tests/dom/historical-expected.txt:
+
</ins><span class="cx"> 2016-08-06  Chris Dumez  &lt;cdumez@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         a.replaceChild(a, a) should throw a HierarchyRequestError
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomhistoricalexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/historical-expected.txt (204241 => 204242)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/historical-expected.txt        2016-08-07 17:05:51 UTC (rev 204241)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/historical-expected.txt        2016-08-07 17:14:54 UTC (rev 204242)
</span><span class="lines">@@ -9,9 +9,7 @@
</span><span class="cx"> PASS Historical DOM features must be removed: DOMImplementationSource 
</span><span class="cx"> PASS Historical DOM features must be removed: DOMLocator 
</span><span class="cx"> PASS Historical DOM features must be removed: DOMObject 
</span><del>-FAIL Historical DOM features must be removed: DOMSettableTokenList assert_equals: expected (undefined) undefined but got (function) function &quot;function DOMTokenList() {
-    [native code]
-}&quot;
</del><ins>+PASS Historical DOM features must be removed: DOMSettableTokenList 
</ins><span class="cx"> PASS Historical DOM features must be removed: DOMUserData 
</span><span class="cx"> PASS Historical DOM features must be removed: Entity 
</span><span class="cx"> PASS Historical DOM features must be removed: EntityReference 
</span></span></pre></div>
<a id="trunkLayoutTestsjsdomglobalconstructorsattributesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/dom/global-constructors-attributes-expected.txt (204241 => 204242)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/dom/global-constructors-attributes-expected.txt        2016-08-07 17:05:51 UTC (rev 204241)
+++ trunk/LayoutTests/js/dom/global-constructors-attributes-expected.txt        2016-08-07 17:14:54 UTC (rev 204242)
</span><span class="lines">@@ -283,11 +283,6 @@
</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><del>-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').value is DOMSettableTokenList
-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').configurable is true
</del><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 (204241 => 204242)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt        2016-08-07 17:05:51 UTC (rev 204241)
+++ trunk/LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt        2016-08-07 17:14:54 UTC (rev 204242)
</span><span class="lines">@@ -283,11 +283,6 @@
</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><del>-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').value is DOMSettableTokenList
-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').configurable is true
</del><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 (204241 => 204242)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt        2016-08-07 17:05:51 UTC (rev 204241)
+++ trunk/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt        2016-08-07 17:14:54 UTC (rev 204242)
</span><span class="lines">@@ -283,11 +283,6 @@
</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><del>-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').value is DOMSettableTokenList
-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').configurable is true
</del><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 (204241 => 204242)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt        2016-08-07 17:05:51 UTC (rev 204241)
+++ trunk/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt        2016-08-07 17:14:54 UTC (rev 204242)
</span><span class="lines">@@ -303,11 +303,6 @@
</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><del>-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').value is DOMSettableTokenList
-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').configurable is true
</del><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 (204241 => 204242)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt        2016-08-07 17:05:51 UTC (rev 204241)
+++ trunk/LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt        2016-08-07 17:14:54 UTC (rev 204242)
</span><span class="lines">@@ -303,11 +303,6 @@
</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><del>-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').value is DOMSettableTokenList
-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').configurable is true
</del><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 (204241 => 204242)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt        2016-08-07 17:05:51 UTC (rev 204241)
+++ trunk/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt        2016-08-07 17:14:54 UTC (rev 204242)
</span><span class="lines">@@ -218,11 +218,6 @@
</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><del>-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').value is DOMSettableTokenList
-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').hasOwnProperty('get') is false
-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').hasOwnProperty('set') is false
-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').enumerable is false
-PASS Object.getOwnPropertyDescriptor(global, 'DOMSettableTokenList').configurable is true
</del><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="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (204241 => 204242)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-08-07 17:05:51 UTC (rev 204241)
+++ trunk/Source/WebCore/ChangeLog        2016-08-07 17:14:54 UTC (rev 204242)
</span><span class="lines">@@ -1,3 +1,20 @@
</span><ins>+2016-08-07  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Un-expose DOMSettableTokenList
+        https://bugs.webkit.org/show_bug.cgi?id=160643
+
+        Reviewed by Darin Adler.
+
+        Un-expose DOMSettableTokenList. We merged DOMSettableTokenList into
+        DOMTokenList a while back, as per the specification. At the time, we
+        kept DOMSettableTokenList on Window, as an alias to DOMTokenList.
+        However, Firefox and Chrome dropped DOMSettableTokenList completely.
+        We now do the same as other browsers.
+
+        No new tests, rebaselined existing test.
+
+        * page/DOMWindow.idl:
+
</ins><span class="cx"> 2016-08-07  Andreas Kling  &lt;akling@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         DocumentRuleSets::collectFeatures() should shrink-to-fit.
</span></span></pre></div>
<a id="trunkSourceWebCorepageDOMWindowidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/DOMWindow.idl (204241 => 204242)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/DOMWindow.idl        2016-08-07 17:05:51 UTC (rev 204241)
+++ trunk/Source/WebCore/page/DOMWindow.idl        2016-08-07 17:14:54 UTC (rev 204242)
</span><span class="lines">@@ -195,7 +195,6 @@
</span><span class="cx"> #if defined(LANGUAGE_JAVASCRIPT) &amp;&amp; LANGUAGE_JAVASCRIPT
</span><span class="cx">     // Additional constructors.
</span><span class="cx">     [CustomGetter, CustomConstructor] attribute HTMLImageElementNamedConstructor Image; // Usable with new operator
</span><del>-    attribute DOMTokenListConstructor DOMSettableTokenList; // Map DOMSettableTokenList to DOMTokenList for backward compatibility.
</del><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></span></pre>
</div>
</div>

</body>
</html>