<!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>[196123] 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/196123">196123</a></dd>
<dt>Author</dt> <dd>cdumez@apple.com</dd>
<dt>Date</dt> <dd>2016-02-04 08:57:44 -0800 (Thu, 04 Feb 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>Merge DOMTokenList and DOMSettableTokenList
https://bugs.webkit.org/show_bug.cgi?id=153677
&lt;rdar://problem/24419675&gt;

Reviewed by Sam Weinig.

LayoutTests/imported/w3c:

Rebaseline several W3C tests now that more checks are passing.

* web-platform-tests/dom/historical-expected.txt:
* web-platform-tests/dom/interfaces-expected.txt:
* web-platform-tests/dom/nodes/Element-classlist-expected.txt:
* web-platform-tests/html/dom/interfaces-expected.txt:

* web-platform-tests/html/dom/interfaces.html:
Update HTMLAreaElement.relList to match the specification.

Source/WebCore:

Merge DOMTokenList and DOMSettableTokenList, as per a recent
specification change:
- https://github.com/whatwg/dom/pull/120
- https://github.com/whatwg/html/issues/361

No new tests, already covered by existing tests.

* CMakeLists.txt:
* DerivedSources.cpp:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* dom/Element.idl:
* dom/Node.h:
* dom/NodeRareData.h:
* html/AttributeDOMTokenList.h:
* html/DOMSettableTokenList.cpp: Removed.
* html/DOMSettableTokenList.h:
* html/DOMSettableTokenList.idl:
* html/DOMTokenList.cpp:
(WebCore::DOMTokenList::setValue):
* html/DOMTokenList.h:
* html/DOMTokenList.idl:
* html/HTMLAnchorElement.idl:
* html/HTMLAreaElement.idl:
* html/HTMLElement.cpp:
* html/HTMLElement.idl:
* html/HTMLIFrameElement.cpp:
(WebCore::HTMLIFrameElement::sandbox):
* html/HTMLIFrameElement.h:
* html/HTMLIFrameElement.idl:
* html/HTMLLinkElement.cpp:
(WebCore::HTMLLinkElement::sizes):
* html/HTMLLinkElement.h:
* html/HTMLLinkElement.idl:
* html/HTMLOutputElement.cpp:
(WebCore::HTMLOutputElement::htmlFor):
* html/HTMLOutputElement.h:
* html/HTMLOutputElement.idl:
* html/HTMLTableCellElement.idl:
* page/DOMWindow.cpp:
* page/DOMWindow.idl:

LayoutTests:

Update / rebaseline several tests now that relList attributes
use [PutForward=value].

* fast/dom/HTMLElement/class-list-expected.txt:
* fast/dom/HTMLElement/class-list-quirks-expected.txt:
* fast/dom/HTMLElement/script-tests/class-list.js:
* fast/dom/rel-list-expected.txt:
* fast/dom/rel-list.html:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsfastdomHTMLElementclasslistexpectedtxt">trunk/LayoutTests/fast/dom/HTMLElement/class-list-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastdomHTMLElementclasslistquirksexpectedtxt">trunk/LayoutTests/fast/dom/HTMLElement/class-list-quirks-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastdomHTMLElementscripttestsclasslistjs">trunk/LayoutTests/fast/dom/HTMLElement/script-tests/class-list.js</a></li>
<li><a href="#trunkLayoutTestsfastdomrellistexpectedtxt">trunk/LayoutTests/fast/dom/rel-list-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastdomrellisthtml">trunk/LayoutTests/fast/dom/rel-list.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="#trunkLayoutTestsimportedw3cwebplatformtestsdominterfacesexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestsdomnodesElementclasslistexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-classlist-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldominterfacesexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestshtmldominterfaceshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces.html</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="#trunkSourceWebCoreDerivedSourcescpp">trunk/Source/WebCore/DerivedSources.cpp</a></li>
<li><a href="#trunkSourceWebCoreWebCorevcxprojWebCorevcxproj">trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj</a></li>
<li><a href="#trunkSourceWebCoreWebCorevcxprojWebCorevcxprojfilters">trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters</a></li>
<li><a href="#trunkSourceWebCoreWebCorexcodeprojprojectpbxproj">trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebCoredomElementidl">trunk/Source/WebCore/dom/Element.idl</a></li>
<li><a href="#trunkSourceWebCoredomNodeh">trunk/Source/WebCore/dom/Node.h</a></li>
<li><a href="#trunkSourceWebCoredomNodeRareDatah">trunk/Source/WebCore/dom/NodeRareData.h</a></li>
<li><a href="#trunkSourceWebCorehtmlAttributeDOMTokenListh">trunk/Source/WebCore/html/AttributeDOMTokenList.h</a></li>
<li><a href="#trunkSourceWebCorehtmlDOMSettableTokenListh">trunk/Source/WebCore/html/DOMSettableTokenList.h</a></li>
<li><a href="#trunkSourceWebCorehtmlDOMSettableTokenListidl">trunk/Source/WebCore/html/DOMSettableTokenList.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlDOMTokenListcpp">trunk/Source/WebCore/html/DOMTokenList.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlDOMTokenListh">trunk/Source/WebCore/html/DOMTokenList.h</a></li>
<li><a href="#trunkSourceWebCorehtmlDOMTokenListidl">trunk/Source/WebCore/html/DOMTokenList.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLAnchorElementidl">trunk/Source/WebCore/html/HTMLAnchorElement.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLAreaElementidl">trunk/Source/WebCore/html/HTMLAreaElement.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLElementcpp">trunk/Source/WebCore/html/HTMLElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLElementidl">trunk/Source/WebCore/html/HTMLElement.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLIFrameElementcpp">trunk/Source/WebCore/html/HTMLIFrameElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLIFrameElementh">trunk/Source/WebCore/html/HTMLIFrameElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLIFrameElementidl">trunk/Source/WebCore/html/HTMLIFrameElement.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLLinkElementcpp">trunk/Source/WebCore/html/HTMLLinkElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLLinkElementh">trunk/Source/WebCore/html/HTMLLinkElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLLinkElementidl">trunk/Source/WebCore/html/HTMLLinkElement.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLOutputElementcpp">trunk/Source/WebCore/html/HTMLOutputElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLOutputElementh">trunk/Source/WebCore/html/HTMLOutputElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLOutputElementidl">trunk/Source/WebCore/html/HTMLOutputElement.idl</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLTableCellElementidl">trunk/Source/WebCore/html/HTMLTableCellElement.idl</a></li>
<li><a href="#trunkSourceWebCorepageDOMWindowcpp">trunk/Source/WebCore/page/DOMWindow.cpp</a></li>
<li><a href="#trunkSourceWebCorepageDOMWindowidl">trunk/Source/WebCore/page/DOMWindow.idl</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkSourceWebCorehtmlDOMSettableTokenListcpp">trunk/Source/WebCore/html/DOMSettableTokenList.cpp</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/LayoutTests/ChangeLog        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -1,3 +1,20 @@
</span><ins>+2016-02-04  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Merge DOMTokenList and DOMSettableTokenList
+        https://bugs.webkit.org/show_bug.cgi?id=153677
+        &lt;rdar://problem/24419675&gt;
+
+        Reviewed by Sam Weinig.
+
+        Update / rebaseline several tests now that relList attributes
+        use [PutForward=value].
+
+        * fast/dom/HTMLElement/class-list-expected.txt:
+        * fast/dom/HTMLElement/class-list-quirks-expected.txt:
+        * fast/dom/HTMLElement/script-tests/class-list.js:
+        * fast/dom/rel-list-expected.txt:
+        * fast/dom/rel-list.html:
+
</ins><span class="cx"> 2016-02-04  Hunseop Jeong  &lt;hs85.jeong@samsung.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Unreviewed. EFL gardening after r195740.
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomHTMLElementclasslistexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/HTMLElement/class-list-expected.txt (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/HTMLElement/class-list-expected.txt        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/LayoutTests/fast/dom/HTMLElement/class-list-expected.txt        2016-02-04 16:57:44 UTC (rev 196123)
</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 String(element.classList) is &quot;x&quot;
</del><ins>+PASS String(element.classList) is &quot;y&quot;
</ins><span class="cx"> PASS element.classList.length is 0
</span><span class="cx"> PASS element.classList.length is 1
</span><span class="cx"> PASS element.classList.length is 1
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomHTMLElementclasslistquirksexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/HTMLElement/class-list-quirks-expected.txt (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/HTMLElement/class-list-quirks-expected.txt        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/LayoutTests/fast/dom/HTMLElement/class-list-quirks-expected.txt        2016-02-04 16:57:44 UTC (rev 196123)
</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 String(element.classList) is &quot;x&quot;
</del><ins>+PASS String(element.classList) is &quot;y&quot;
</ins><span class="cx"> PASS element.classList.length is 0
</span><span class="cx"> PASS element.classList.length is 1
</span><span class="cx"> PASS element.classList.length is 1
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomHTMLElementscripttestsclasslistjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/HTMLElement/script-tests/class-list.js (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/HTMLElement/script-tests/class-list.js        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/LayoutTests/fast/dom/HTMLElement/script-tests/class-list.js        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -11,15 +11,9 @@
</span><span class="cx"> debug('Tests from http://simon.html5.org/test/html/dom/reflecting/DOMTokenList/');
</span><span class="cx"> 
</span><span class="cx"> // http://simon.html5.org/test/html/dom/reflecting/DOMTokenList/setting/001.htm
</span><del>-// Firefox throws here but WebKit does not throw on setting readonly idl
-// attributes.
</del><span class="cx"> createElement('x');
</span><del>-try {
-    element.classList = 'y';
-    shouldBeEqualToString('String(element.classList)', 'x');
-} catch (ex) {
-    testPassed('Throwing on set is acceptable');
-}
</del><ins>+element.classList = 'y';
+shouldBeEqualToString('String(element.classList)', 'y');
</ins><span class="cx"> 
</span><span class="cx"> // http://simon.html5.org/test/html/dom/reflecting/DOMTokenList/getting/001.htm
</span><span class="cx"> createElement('');
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomrellistexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/rel-list-expected.txt (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/rel-list-expected.txt        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/LayoutTests/fast/dom/rel-list-expected.txt        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -23,7 +23,7 @@
</span><span class="cx"> PASS element.relList.contains(&quot;marshmallow&quot;) is true
</span><span class="cx"> PASS element.relList.contains(&quot;chips&quot;) is true
</span><span class="cx"> PASS element.relList.contains(&quot;orange&quot;) is false
</span><del>-PASS String(element.relList) is &quot;x&quot;
</del><ins>+PASS String(element.relList) is &quot;y&quot;
</ins><span class="cx"> PASS element.relList.length is 0
</span><span class="cx"> PASS element.relList.length is 1
</span><span class="cx"> PASS element.relList.length is 1
</span><span class="lines">@@ -146,7 +146,7 @@
</span><span class="cx"> PASS element.relList.contains(&quot;marshmallow&quot;) is true
</span><span class="cx"> PASS element.relList.contains(&quot;chips&quot;) is true
</span><span class="cx"> PASS element.relList.contains(&quot;orange&quot;) is false
</span><del>-PASS String(element.relList) is &quot;x&quot;
</del><ins>+PASS String(element.relList) is &quot;y&quot;
</ins><span class="cx"> PASS element.relList.length is 0
</span><span class="cx"> PASS element.relList.length is 1
</span><span class="cx"> PASS element.relList.length is 1
</span><span class="lines">@@ -269,7 +269,7 @@
</span><span class="cx"> PASS element.relList.contains(&quot;marshmallow&quot;) is true
</span><span class="cx"> PASS element.relList.contains(&quot;chips&quot;) is true
</span><span class="cx"> PASS element.relList.contains(&quot;orange&quot;) is false
</span><del>-PASS String(element.relList) is &quot;x&quot;
</del><ins>+PASS String(element.relList) is &quot;y&quot;
</ins><span class="cx"> PASS element.relList.length is 0
</span><span class="cx"> PASS element.relList.length is 1
</span><span class="cx"> PASS element.relList.length is 1
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomrellisthtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/rel-list.html (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/rel-list.html        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/LayoutTests/fast/dom/rel-list.html        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -53,7 +53,7 @@
</span><span class="cx"> 
</span><span class="cx">     createElement('x');
</span><span class="cx">     element.relList = 'y';
</span><del>-    shouldBeEqualToString('String(element.relList)', 'x');
</del><ins>+    shouldBeEqualToString('String(element.relList)', 'y');
</ins><span class="cx"> 
</span><span class="cx">     createElement('');
</span><span class="cx">     shouldEvaluateTo('element.relList.length', 0);
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/ChangeLog (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/ChangeLog        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/LayoutTests/imported/w3c/ChangeLog        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -1,3 +1,21 @@
</span><ins>+2016-02-04  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Merge DOMTokenList and DOMSettableTokenList
+        https://bugs.webkit.org/show_bug.cgi?id=153677
+        &lt;rdar://problem/24419675&gt;
+
+        Reviewed by Sam Weinig.
+
+        Rebaseline several W3C tests now that more checks are passing.
+
+        * web-platform-tests/dom/historical-expected.txt:
+        * web-platform-tests/dom/interfaces-expected.txt:
+        * web-platform-tests/dom/nodes/Element-classlist-expected.txt:
+        * web-platform-tests/html/dom/interfaces-expected.txt:
+
+        * web-platform-tests/html/dom/interfaces.html:
+        Update HTMLAreaElement.relList to match the specification.
+
</ins><span class="cx"> 2016-02-04  Youenn Fablet  &lt;youenn.fablet@crf.canon.fr&gt;
</span><span class="cx"> 
</span><span class="cx">         [Fetch API] Add support for iterating over Headers
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomhistoricalexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/historical-expected.txt (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/historical-expected.txt        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/historical-expected.txt        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -7,7 +7,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 (object) object &quot;[object DOMSettableTokenListConstructor]&quot;
</del><ins>+FAIL Historical DOM features must be removed: DOMSettableTokenList assert_equals: expected (undefined) undefined but got (object) object &quot;[object DOMTokenListConstructor]&quot;
</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="trunkLayoutTestsimportedw3cwebplatformtestsdominterfacesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces-expected.txt (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces-expected.txt        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces-expected.txt        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -707,7 +707,7 @@
</span><span class="cx"> PASS Element interface: attribute tagName 
</span><span class="cx"> PASS Element interface: attribute id 
</span><span class="cx"> PASS Element interface: attribute className 
</span><del>-FAIL Element interface: attribute classList assert_equals: setter must be function for PutForwards, Replaceable, or non-readonly attributes expected &quot;function&quot; but got &quot;undefined&quot;
</del><ins>+PASS Element interface: attribute classList 
</ins><span class="cx"> PASS Element interface: operation hasAttributes() 
</span><span class="cx"> PASS Element interface: attribute attributes 
</span><span class="cx"> FAIL Element interface: operation getAttribute(DOMString) assert_equals: property has wrong .length expected 1 but got 0
</span><span class="lines">@@ -1559,7 +1559,7 @@
</span><span class="cx"> PASS DOMTokenList interface: operation toggle(DOMString,boolean) 
</span><span class="cx"> FAIL DOMTokenList interface: operation replace(DOMString,DOMString) assert_own_property: interface prototype object missing non-static operation expected property &quot;replace&quot; missing
</span><span class="cx"> FAIL DOMTokenList interface: operation supports(DOMString) assert_own_property: interface prototype object missing non-static operation expected property &quot;supports&quot; missing
</span><del>-FAIL DOMTokenList interface: attribute value assert_true: The prototype object must have a property &quot;value&quot; expected true got false
</del><ins>+PASS DOMTokenList interface: attribute value 
</ins><span class="cx"> FAIL DOMTokenList interface: stringifier assert_true: property is not enumerable expected true got false
</span><span class="cx"> PASS DOMTokenList must be primary interface of document.body.classList 
</span><span class="cx"> PASS Stringification of document.body.classList 
</span><span class="lines">@@ -1578,5 +1578,5 @@
</span><span class="cx"> FAIL DOMTokenList interface: calling replace(DOMString,DOMString) on document.body.classList with too few arguments must throw TypeError assert_inherits: property &quot;replace&quot; not found in prototype chain
</span><span class="cx"> FAIL DOMTokenList interface: document.body.classList must inherit property &quot;supports&quot; with the proper type (7) assert_inherits: property &quot;supports&quot; not found in prototype chain
</span><span class="cx"> FAIL DOMTokenList interface: calling supports(DOMString) on document.body.classList with too few arguments must throw TypeError assert_inherits: property &quot;supports&quot; not found in prototype chain
</span><del>-FAIL DOMTokenList interface: document.body.classList must inherit property &quot;value&quot; with the proper type (8) assert_inherits: property &quot;value&quot; not found in prototype chain
</del><ins>+PASS DOMTokenList interface: document.body.classList must inherit property &quot;value&quot; with the proper type (8) 
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestsdomnodesElementclasslistexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-classlist-expected.txt (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-classlist-expected.txt        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/dom/nodes/Element-classlist-expected.txt        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -62,5 +62,5 @@
</span><span class="cx"> PASS classList.add should treat \n as a space 
</span><span class="cx"> PASS classList.add should treat \f as a space 
</span><span class="cx"> PASS classList.length must be read-only 
</span><del>-FAIL classList must have [PutForwards=value] assert_equals: expected 2 but got 1
</del><ins>+PASS classList must have [PutForwards=value] 
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldominterfacesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -1371,7 +1371,7 @@
</span><span class="cx"> PASS HTMLLinkElement interface: attribute href 
</span><span class="cx"> FAIL HTMLLinkElement interface: attribute crossOrigin assert_true: The prototype object must have a property &quot;crossOrigin&quot; expected true got false
</span><span class="cx"> PASS HTMLLinkElement interface: attribute rel 
</span><del>-FAIL HTMLLinkElement interface: attribute relList assert_equals: setter must be function for PutForwards, Replaceable, or non-readonly attributes expected &quot;function&quot; but got &quot;undefined&quot;
</del><ins>+PASS HTMLLinkElement interface: attribute relList 
</ins><span class="cx"> PASS HTMLLinkElement interface: attribute media 
</span><span class="cx"> PASS HTMLLinkElement interface: attribute hreflang 
</span><span class="cx"> PASS HTMLLinkElement interface: attribute type 
</span><span class="lines">@@ -1598,7 +1598,7 @@
</span><span class="cx"> FAIL HTMLAnchorElement interface: attribute download assert_true: The prototype object must have a property &quot;download&quot; expected true got false
</span><span class="cx"> PASS HTMLAnchorElement interface: attribute ping 
</span><span class="cx"> PASS HTMLAnchorElement interface: attribute rel 
</span><del>-FAIL HTMLAnchorElement interface: attribute relList assert_equals: setter must be function for PutForwards, Replaceable, or non-readonly attributes expected &quot;function&quot; but got &quot;undefined&quot;
</del><ins>+PASS HTMLAnchorElement interface: attribute relList 
</ins><span class="cx"> PASS HTMLAnchorElement interface: attribute hreflang 
</span><span class="cx"> PASS HTMLAnchorElement interface: attribute type 
</span><span class="cx"> PASS HTMLAnchorElement interface: attribute text 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestshtmldominterfaceshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces.html (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces.html        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces.html        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -1502,7 +1502,7 @@
</span><span class="cx">   attribute DOMString download;
</span><span class="cx">   [PutForwards=value] readonly attribute DOMTokenList ping;
</span><span class="cx">   attribute DOMString rel;
</span><del>-  readonly attribute DOMTokenList relList;
</del><ins>+  [PutForwards=value] readonly attribute DOMTokenList relList;
</ins><span class="cx">   // hreflang and type are not reflected
</span><span class="cx"> };
</span><span class="cx"> HTMLAreaElement implements HTMLHyperlinkElementUtils;
</span></span></pre></div>
<a id="trunkSourceWebCoreCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/CMakeLists.txt (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/CMakeLists.txt        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/CMakeLists.txt        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -1636,7 +1636,6 @@
</span><span class="cx">     html/CheckboxInputType.cpp
</span><span class="cx">     html/ColorInputType.cpp
</span><span class="cx">     html/DOMFormData.cpp
</span><del>-    html/DOMSettableTokenList.cpp
</del><span class="cx">     html/DOMTokenList.cpp
</span><span class="cx">     html/DOMURL.cpp
</span><span class="cx">     html/DateInputType.cpp
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/ChangeLog        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -1,3 +1,54 @@
</span><ins>+2016-02-04  Chris Dumez  &lt;cdumez@apple.com&gt;
+
+        Merge DOMTokenList and DOMSettableTokenList
+        https://bugs.webkit.org/show_bug.cgi?id=153677
+        &lt;rdar://problem/24419675&gt;
+
+        Reviewed by Sam Weinig.
+
+        Merge DOMTokenList and DOMSettableTokenList, as per a recent
+        specification change:
+        - https://github.com/whatwg/dom/pull/120
+        - https://github.com/whatwg/html/issues/361
+
+        No new tests, already covered by existing tests.
+
+        * CMakeLists.txt:
+        * DerivedSources.cpp:
+        * WebCore.vcxproj/WebCore.vcxproj:
+        * WebCore.vcxproj/WebCore.vcxproj.filters:
+        * WebCore.xcodeproj/project.pbxproj:
+        * dom/Element.idl:
+        * dom/Node.h:
+        * dom/NodeRareData.h:
+        * html/AttributeDOMTokenList.h:
+        * html/DOMSettableTokenList.cpp: Removed.
+        * html/DOMSettableTokenList.h:
+        * html/DOMSettableTokenList.idl:
+        * html/DOMTokenList.cpp:
+        (WebCore::DOMTokenList::setValue):
+        * html/DOMTokenList.h:
+        * html/DOMTokenList.idl:
+        * html/HTMLAnchorElement.idl:
+        * html/HTMLAreaElement.idl:
+        * html/HTMLElement.cpp:
+        * html/HTMLElement.idl:
+        * html/HTMLIFrameElement.cpp:
+        (WebCore::HTMLIFrameElement::sandbox):
+        * html/HTMLIFrameElement.h:
+        * html/HTMLIFrameElement.idl:
+        * html/HTMLLinkElement.cpp:
+        (WebCore::HTMLLinkElement::sizes):
+        * html/HTMLLinkElement.h:
+        * html/HTMLLinkElement.idl:
+        * html/HTMLOutputElement.cpp:
+        (WebCore::HTMLOutputElement::htmlFor):
+        * html/HTMLOutputElement.h:
+        * html/HTMLOutputElement.idl:
+        * html/HTMLTableCellElement.idl:
+        * page/DOMWindow.cpp:
+        * page/DOMWindow.idl:
+
</ins><span class="cx"> 2016-02-04  Youenn Fablet  &lt;youenn.fablet@crf.canon.fr&gt;
</span><span class="cx"> 
</span><span class="cx">         Unreviewed.
</span></span></pre></div>
<a id="trunkSourceWebCoreDerivedSourcescpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/DerivedSources.cpp (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/DerivedSources.cpp        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/DerivedSources.cpp        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -142,7 +142,6 @@
</span><span class="cx"> #include &quot;JSDOMPluginArray.cpp&quot;
</span><span class="cx"> #include &quot;JSDOMSecurityPolicy.cpp&quot;
</span><span class="cx"> #include &quot;JSDOMSelection.cpp&quot;
</span><del>-#include &quot;JSDOMSettableTokenList.cpp&quot;
</del><span class="cx"> #include &quot;JSDOMStringList.cpp&quot;
</span><span class="cx"> #include &quot;JSDOMStringMap.cpp&quot;
</span><span class="cx"> #include &quot;JSDOMTokenList.cpp&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorevcxprojWebCorevcxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -1747,20 +1747,6 @@
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><del>-    &lt;ClCompile Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSDOMSettableTokenList.cpp&quot;&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug_WinCairo|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug_WinCairo|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='DebugSuffix|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='DebugSuffix|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-    &lt;/ClCompile&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSDOMStringList.cpp&quot;&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="lines">@@ -16238,7 +16224,6 @@
</span><span class="cx">     &lt;ClCompile Include=&quot;..\html\DateTimeInputType.cpp&quot; /&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\html\DateTimeLocalInputType.cpp&quot; /&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\html\DOMFormData.cpp&quot; /&gt;
</span><del>-    &lt;ClCompile Include=&quot;..\html\DOMSettableTokenList.cpp&quot; /&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;..\html\DOMTokenList.cpp&quot; /&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\html\DOMURL.cpp&quot; /&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\html\MediaElementSession.cpp&quot; /&gt;
</span><span class="lines">@@ -19912,7 +19897,6 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSDOMPlugin.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSDOMPluginArray.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSDOMSelection.h&quot; /&gt;
</span><del>-    &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSDOMSettableTokenList.h&quot; /&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSDOMStringList.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSDOMStringMap.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSDOMTokenList.h&quot; /&gt;
</span><span class="lines">@@ -22292,7 +22276,6 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\html\DateTimeInputType.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\html\DateTimeLocalInputType.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\html\DOMFormData.h&quot; /&gt;
</span><del>-    &lt;ClInclude Include=&quot;..\html\DOMSettableTokenList.h&quot; /&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;..\html\DOMTokenList.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\html\DOMURL.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\html\EmailInputType.h&quot; /&gt;
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorevcxprojWebCorevcxprojfilters"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -3635,9 +3635,6 @@
</span><span class="cx">     &lt;ClCompile Include=&quot;..\html\DOMFormData.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;html&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><del>-    &lt;ClCompile Include=&quot;..\html\DOMSettableTokenList.cpp&quot;&gt;
-      &lt;Filter&gt;html&lt;/Filter&gt;
-    &lt;/ClCompile&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;..\html\DOMTokenList.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;html&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><span class="lines">@@ -5220,9 +5217,6 @@
</span><span class="cx">     &lt;ClCompile Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSDOMSelection.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;DerivedSources&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><del>-    &lt;ClCompile Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSDOMSettableTokenList.cpp&quot;&gt;
-      &lt;Filter&gt;DerivedSources&lt;/Filter&gt;
-    &lt;/ClCompile&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSDOMStringList.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;DerivedSources&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><span class="lines">@@ -10801,9 +10795,6 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\html\DOMFormData.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;html&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><del>-    &lt;ClInclude Include=&quot;..\html\DOMSettableTokenList.h&quot;&gt;
-      &lt;Filter&gt;html&lt;/Filter&gt;
-    &lt;/ClInclude&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;..\html\DOMTokenList.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;html&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><span class="lines">@@ -12645,9 +12636,6 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSDOMSelection.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;DerivedSources&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><del>-    &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSDOMSettableTokenList.h&quot;&gt;
-      &lt;Filter&gt;DerivedSources&lt;/Filter&gt;
-    &lt;/ClInclude&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSDOMStringList.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;DerivedSources&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -1866,10 +1866,7 @@
</span><span class="cx">                 4A9CC81816BB9AC600EC645A /* CSSDefaultStyleSheets.h in Headers */ = {isa = PBXBuildFile; fileRef = 4A9CC81616BB9AC600EC645A /* CSSDefaultStyleSheets.h */; };
</span><span class="cx">                 4A9CC82016BF9BB400EC645A /* InspectorCSSOMWrappers.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4A9CC81E16BF9BB400EC645A /* InspectorCSSOMWrappers.cpp */; };
</span><span class="cx">                 4A9CC82116BF9BB400EC645A /* InspectorCSSOMWrappers.h in Headers */ = {isa = PBXBuildFile; fileRef = 4A9CC81F16BF9BB400EC645A /* InspectorCSSOMWrappers.h */; };
</span><del>-                4ACBC0C312713CCA0094F9B2 /* DOMSettableTokenList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4ACBC0C012713CCA0094F9B2 /* DOMSettableTokenList.cpp */; };
</del><span class="cx">                 4ACBC0C412713CCA0094F9B2 /* DOMSettableTokenList.h in Headers */ = {isa = PBXBuildFile; fileRef = 4ACBC0C112713CCA0094F9B2 /* DOMSettableTokenList.h */; };
</span><del>-                4ACBC0CA12713D0A0094F9B2 /* JSDOMSettableTokenList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4ACBC0C812713D0A0094F9B2 /* JSDOMSettableTokenList.cpp */; };
-                4ACBC0CB12713D0A0094F9B2 /* JSDOMSettableTokenList.h in Headers */ = {isa = PBXBuildFile; fileRef = 4ACBC0C912713D0A0094F9B2 /* JSDOMSettableTokenList.h */; };
</del><span class="cx">                 4AD01008127E642A0015035F /* HTMLOutputElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4AD01005127E642A0015035F /* HTMLOutputElement.cpp */; };
</span><span class="cx">                 4AD01009127E642A0015035F /* HTMLOutputElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 4AD01006127E642A0015035F /* HTMLOutputElement.h */; };
</span><span class="cx">                 4AD0173C127E82860015035F /* JSHTMLOutputElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4AD0173A127E82860015035F /* JSHTMLOutputElement.cpp */; };
</span><span class="lines">@@ -9346,11 +9343,8 @@
</span><span class="cx">                 4A9CC81616BB9AC600EC645A /* CSSDefaultStyleSheets.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CSSDefaultStyleSheets.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 4A9CC81E16BF9BB400EC645A /* InspectorCSSOMWrappers.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InspectorCSSOMWrappers.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 4A9CC81F16BF9BB400EC645A /* InspectorCSSOMWrappers.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InspectorCSSOMWrappers.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                4ACBC0C012713CCA0094F9B2 /* DOMSettableTokenList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DOMSettableTokenList.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 4ACBC0C112713CCA0094F9B2 /* DOMSettableTokenList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMSettableTokenList.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 4ACBC0C212713CCA0094F9B2 /* DOMSettableTokenList.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = DOMSettableTokenList.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                4ACBC0C812713D0A0094F9B2 /* JSDOMSettableTokenList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSDOMSettableTokenList.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
-                4ACBC0C912713D0A0094F9B2 /* JSDOMSettableTokenList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSDOMSettableTokenList.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 4AD01005127E642A0015035F /* HTMLOutputElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HTMLOutputElement.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 4AD01006127E642A0015035F /* HTMLOutputElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HTMLOutputElement.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 4AD01007127E642A0015035F /* HTMLOutputElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HTMLOutputElement.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -18959,7 +18953,6 @@
</span><span class="cx">                                 2ED609BA1145B07100C8684E /* DOMFormData.cpp */,
</span><span class="cx">                                 2ED609BB1145B07100C8684E /* DOMFormData.h */,
</span><span class="cx">                                 2E0888C3114883A900AF4265 /* DOMFormData.idl */,
</span><del>-                                4ACBC0C012713CCA0094F9B2 /* DOMSettableTokenList.cpp */,
</del><span class="cx">                                 4ACBC0C112713CCA0094F9B2 /* DOMSettableTokenList.h */,
</span><span class="cx">                                 4ACBC0C212713CCA0094F9B2 /* DOMSettableTokenList.idl */,
</span><span class="cx">                                 76FC2B0812370DA0006A991A /* DOMTokenList.cpp */,
</span><span class="lines">@@ -19996,8 +19989,6 @@
</span><span class="cx">                                 2E0888D31148848A00AF4265 /* JSDOMFormData.h */,
</span><span class="cx">                                 FB91392916AE4FC0001FE682 /* JSDOMPath.cpp */,
</span><span class="cx">                                 FB91392816AE4FC0001FE682 /* JSDOMPath.h */,
</span><del>-                                4ACBC0C812713D0A0094F9B2 /* JSDOMSettableTokenList.cpp */,
-                                4ACBC0C912713D0A0094F9B2 /* JSDOMSettableTokenList.h */,
</del><span class="cx">                                 7694563A1214D97C0007CBAE /* JSDOMTokenList.cpp */,
</span><span class="cx">                                 7694563B1214D97C0007CBAE /* JSDOMTokenList.h */,
</span><span class="cx">                                 2E37E00312DBC5A400A6B233 /* JSDOMURL.cpp */,
</span><span class="lines">@@ -26327,7 +26318,6 @@
</span><span class="cx">                                 A9D248010D757E6900FDF959 /* JSDOMPluginArray.h in Headers */,
</span><span class="cx">                                 E172AF901811BC3700FBADB9 /* JSDOMPromise.h in Headers */,
</span><span class="cx">                                 BC5A86B60C3367E800EEA649 /* JSDOMSelection.h in Headers */,
</span><del>-                                4ACBC0CB12713D0A0094F9B2 /* JSDOMSettableTokenList.h in Headers */,
</del><span class="cx">                                 C5137CF311A58378004ADB99 /* JSDOMStringList.h in Headers */,
</span><span class="cx">                                 BC64649811D82349006455B0 /* JSDOMStringMap.h in Headers */,
</span><span class="cx">                                 7694563D1214D97C0007CBAE /* JSDOMTokenList.h in Headers */,
</span><span class="lines">@@ -29346,7 +29336,6 @@
</span><span class="cx">                                 BCAEFCAE1016CE4A0040D34E /* DOMRGBColor.mm in Sources */,
</span><span class="cx">                                 2D9A246F15B9BD2F00D34527 /* DOMSecurityPolicy.cpp in Sources */,
</span><span class="cx">                                 BC5A86840C33676000EEA649 /* DOMSelection.cpp in Sources */,
</span><del>-                                4ACBC0C312713CCA0094F9B2 /* DOMSettableTokenList.cpp in Sources */,
</del><span class="cx">                                 C55610F111A704EB00B82D27 /* DOMStringList.cpp in Sources */,
</span><span class="cx">                                 0FF5025C102BA9010066F39A /* DOMStyleMedia.mm in Sources */,
</span><span class="cx">                                 850657010AAB4763002D15C0 /* DOMStyleSheet.mm in Sources */,
</span><span class="lines">@@ -29990,7 +29979,6 @@
</span><span class="cx">                                 A9C6E64D0D7465E7006442E9 /* JSDOMPluginCustom.cpp in Sources */,
</span><span class="cx">                                 E172AF8F1811BC3700FBADB9 /* JSDOMPromise.cpp in Sources */,
</span><span class="cx">                                 BC5A86B50C3367E800EEA649 /* JSDOMSelection.cpp in Sources */,
</span><del>-                                4ACBC0CA12713D0A0094F9B2 /* JSDOMSettableTokenList.cpp in Sources */,
</del><span class="cx">                                 C5137CF211A58378004ADB99 /* JSDOMStringList.cpp in Sources */,
</span><span class="cx">                                 9A1B6F97158869C80011A8C4 /* JSDOMStringListCustom.cpp in Sources */,
</span><span class="cx">                                 BC64649711D82349006455B0 /* JSDOMStringMap.cpp in Sources */,
</span></span></pre></div>
<a id="trunkSourceWebCoredomElementidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Element.idl (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Element.idl        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/dom/Element.idl        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -126,7 +126,7 @@
</span><span class="cx">              
</span><span class="cx"> 
</span><span class="cx">     [Reflect=class] attribute DOMString className;
</span><del>-    readonly attribute DOMTokenList classList;
</del><ins>+    [PutForwards=value] readonly attribute DOMTokenList classList;
</ins><span class="cx"> 
</span><span class="cx"> #if defined(LANGUAGE_JAVASCRIPT) &amp;&amp; LANGUAGE_JAVASCRIPT
</span><span class="cx">     readonly attribute DOMStringMap dataset;
</span></span></pre></div>
<a id="trunkSourceWebCoredomNodeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Node.h (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Node.h        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/dom/Node.h        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -45,7 +45,7 @@
</span><span class="cx"> class Attribute;
</span><span class="cx"> class ClassCollection;
</span><span class="cx"> class ContainerNode;
</span><del>-class DOMSettableTokenList;
</del><ins>+class DOMTokenList;
</ins><span class="cx"> class Document;
</span><span class="cx"> class Element;
</span><span class="cx"> class Event;
</span></span></pre></div>
<a id="trunkSourceWebCoredomNodeRareDatah"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/NodeRareData.h (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/NodeRareData.h        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/dom/NodeRareData.h        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -24,7 +24,7 @@
</span><span class="cx"> 
</span><span class="cx"> #include &quot;ChildNodeList.h&quot;
</span><span class="cx"> #include &quot;ClassCollection.h&quot;
</span><del>-#include &quot;DOMSettableTokenList.h&quot;
</del><ins>+#include &quot;DOMTokenList.h&quot;
</ins><span class="cx"> #include &quot;HTMLCollection.h&quot;
</span><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><span class="cx"> #include &quot;LiveNodeList.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlAttributeDOMTokenListh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/AttributeDOMTokenList.h (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/AttributeDOMTokenList.h        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/html/AttributeDOMTokenList.h        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -26,12 +26,12 @@
</span><span class="cx"> #ifndef AttributeDOMTokenList_h
</span><span class="cx"> #define AttributeDOMTokenList_h
</span><span class="cx"> 
</span><del>-#include &quot;DOMSettableTokenList.h&quot;
</del><ins>+#include &quot;DOMTokenList.h&quot;
</ins><span class="cx"> #include &quot;Element.h&quot;
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-class AttributeDOMTokenList final : public DOMSettableTokenList {
</del><ins>+class AttributeDOMTokenList final : public DOMTokenList {
</ins><span class="cx">     WTF_MAKE_FAST_ALLOCATED;
</span><span class="cx"> public:
</span><span class="cx">     AttributeDOMTokenList(Element&amp;, const QualifiedName&amp; attributeName);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlDOMSettableTokenListcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/html/DOMSettableTokenList.cpp (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/DOMSettableTokenList.cpp        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/html/DOMSettableTokenList.cpp        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -1,37 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010 Google Inc. All rights reserved.
- * Copyright (C) 2013, 2015 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 APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' 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 APPLE INC. OR ITS 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.
- */
-
-#include &quot;config.h&quot;
-#include &quot;DOMSettableTokenList.h&quot;
-
-namespace WebCore {
-
-void DOMSettableTokenList::setValue(const String&amp; value)
-{
-    setValueInternal(value);
-    updateAfterTokenChange();
-}
-
-} // namespace WebCore
</del></span></pre></div>
<a id="trunkSourceWebCorehtmlDOMSettableTokenListh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/DOMSettableTokenList.h (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/DOMSettableTokenList.h        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/html/DOMSettableTokenList.h        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -32,15 +32,9 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-typedef int ExceptionCode;
-
</del><ins>+// Only used by ObjC and GObject bindings.
</ins><span class="cx"> class DOMSettableTokenList : public DOMTokenList {
</span><span class="cx">     WTF_MAKE_FAST_ALLOCATED;
</span><del>-public:
-    void setValue(const String&amp;);
-
-    // Make public.
-    using DOMTokenList::value;
</del><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlDOMSettableTokenListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/DOMSettableTokenList.idl (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/DOMSettableTokenList.idl        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/html/DOMSettableTokenList.idl        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -22,7 +22,10 @@
</span><span class="cx">  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</span><span class="cx">  */
</span><span class="cx"> 
</span><ins>+#if defined(LANGUAGE_OBJECTIVE_C) &amp;&amp; LANGUAGE_OBJECTIVE_C || defined(LANGUAGE_GOBJECT) &amp;&amp; LANGUAGE_GOBJECT
+
</ins><span class="cx"> [
</span><ins>+    NoInterfaceObject,
</ins><span class="cx">     JSGenerateToJSObject,
</span><span class="cx">     SkipVTableValidation,
</span><span class="cx"> ] interface DOMSettableTokenList : DOMTokenList {
</span><span class="lines">@@ -31,3 +34,4 @@
</span><span class="cx">     [TreatReturnedNullStringAs=Null] getter DOMString (unsigned long index);
</span><span class="cx"> };
</span><span class="cx"> 
</span><ins>+#endif
</ins></span></pre></div>
<a id="trunkSourceWebCorehtmlDOMTokenListcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/DOMTokenList.cpp (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/DOMTokenList.cpp        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/html/DOMTokenList.cpp        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><span class="cx"> /*
</span><span class="cx">  * Copyright (C) 2010 Google Inc. All rights reserved.
</span><del>- * Copyright (C) 2015 Apple Inc. All rights reserved.
</del><ins>+ * Copyright (C) 2015, 2016 Apple Inc. All rights reserved.
</ins><span class="cx">  *
</span><span class="cx">  * Redistribution and use in source and binary forms, with or without
</span><span class="cx">  * modification, are permitted provided that the following conditions
</span><span class="lines">@@ -158,6 +158,12 @@
</span><span class="cx">     return m_cachedValue;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+void DOMTokenList::setValue(const String&amp; value)
+{
+    setValueInternal(value);
+    updateAfterTokenChange();
+}
+
</ins><span class="cx"> void DOMTokenList::setValueInternal(const WTF::String&amp; value)
</span><span class="cx"> {
</span><span class="cx">     // Clear tokens but not capacity.
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlDOMTokenListh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/DOMTokenList.h (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/DOMTokenList.h        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/html/DOMTokenList.h        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><span class="cx"> /*
</span><span class="cx">  * Copyright (C) 2010 Google Inc. All rights reserved.
</span><del>- * Copyright (C) 2015 Apple Inc. All rights reserved.
</del><ins>+ * Copyright (C) 2015, 2016 Apple Inc. All rights reserved.
</ins><span class="cx">  *
</span><span class="cx">  * Redistribution and use in source and binary forms, with or without
</span><span class="cx">  * modification, are permitted provided that the following conditions
</span><span class="lines">@@ -58,9 +58,11 @@
</span><span class="cx"> 
</span><span class="cx">     virtual Element* element() const { return nullptr; }
</span><span class="cx"> 
</span><ins>+    void setValue(const String&amp;);
+    const AtomicString&amp; value() const;
+
</ins><span class="cx"> protected:
</span><span class="cx">     DOMTokenList() = default;
</span><del>-    const AtomicString&amp; value() const;
</del><span class="cx">     void setValueInternal(const String&amp;);
</span><span class="cx"> 
</span><span class="cx">     virtual void updateAfterTokenChange() { m_cachedValue = nullAtom; }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlDOMTokenListidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/DOMTokenList.idl (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/DOMTokenList.idl        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/html/DOMTokenList.idl        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -1,5 +1,6 @@
</span><span class="cx"> /*
</span><span class="cx">  * Copyright (C) 2010, Google Inc. All rights reserved.
</span><ins>+ * Copyright (C) 2016, Apple Inc. All rights reserved.
</ins><span class="cx">  *
</span><span class="cx">  * Redistribution and use in source and binary forms, with or without
</span><span class="cx">  * modification, are permitted provided that the following conditions
</span><span class="lines">@@ -33,6 +34,8 @@
</span><span class="cx">     [RaisesException] void remove(DOMString... tokens);
</span><span class="cx">     [RaisesException, Custom] boolean toggle(DOMString token, optional boolean force);
</span><span class="cx"> 
</span><ins>+    attribute DOMString value;
+
</ins><span class="cx"> #if defined(LANGUAGE_JAVASCRIPT) &amp;&amp; LANGUAGE_JAVASCRIPT
</span><span class="cx">     [NotEnumerable] DOMString toString();
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLAnchorElementidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLAnchorElement.idl (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLAnchorElement.idl        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/html/HTMLAnchorElement.idl        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -27,7 +27,7 @@
</span><span class="cx">     [Reflect] attribute DOMString name;
</span><span class="cx"> 
</span><span class="cx">     // FIXME: This is supposed to be:
</span><del>-    // [PutForwards=value] readonly attribute DOMSettableTokenList ping;
</del><ins>+    // [PutForwards=value] readonly attribute DOMTokenList ping;
</ins><span class="cx">     [Reflect] attribute DOMString ping;
</span><span class="cx"> 
</span><span class="cx">     [Reflect] attribute DOMString rel;
</span><span class="lines">@@ -70,6 +70,6 @@
</span><span class="cx">     readonly attribute URL absoluteLinkURL;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    readonly attribute DOMTokenList relList;
</del><ins>+    [PutForwards=value] readonly attribute DOMTokenList relList;
</ins><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLAreaElementidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLAreaElement.idl (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLAreaElement.idl        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/html/HTMLAreaElement.idl        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -25,7 +25,7 @@
</span><span class="cx">     [Reflect] attribute boolean noHref;
</span><span class="cx"> 
</span><span class="cx">     // FIXME: This is supposed to be:
</span><del>-    // [PutForwards=value] readonly attribute DOMSettableTokenList ping;
</del><ins>+    // [PutForwards=value] readonly attribute DOMTokenList ping;
</ins><span class="cx">     [Reflect] attribute DOMString ping;
</span><span class="cx"> 
</span><span class="cx">     [Reflect] attribute DOMString rel;
</span><span class="lines">@@ -49,6 +49,6 @@
</span><span class="cx">     readonly attribute URL absoluteLinkURL;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    readonly attribute DOMTokenList relList;
</del><ins>+    [PutForwards=value] readonly attribute DOMTokenList relList;
</ins><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLElement.cpp (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLElement.cpp        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/html/HTMLElement.cpp        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -29,7 +29,7 @@
</span><span class="cx"> #include &quot;CSSPropertyNames.h&quot;
</span><span class="cx"> #include &quot;CSSValueKeywords.h&quot;
</span><span class="cx"> #include &quot;CSSValuePool.h&quot;
</span><del>-#include &quot;DOMSettableTokenList.h&quot;
</del><ins>+#include &quot;DOMTokenList.h&quot;
</ins><span class="cx"> #include &quot;DocumentFragment.h&quot;
</span><span class="cx"> #include &quot;ElementAncestorIterator.h&quot;
</span><span class="cx"> #include &quot;Event.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLElementidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLElement.idl (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLElement.idl        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/html/HTMLElement.idl        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -39,7 +39,7 @@
</span><span class="cx"> 
</span><span class="cx">              [Reflect] attribute DOMString webkitdropzone;
</span><span class="cx">              // FIXME: Support the standard HTML equivalent.
</span><del>-             // [PutForwards=value] readonly attribute DOMSettableTokenList dropzone;
</del><ins>+             // [PutForwards=value] readonly attribute DOMTokenList dropzone;
</ins><span class="cx"> 
</span><span class="cx">              [Reflect] attribute boolean hidden;
</span><span class="cx">              [Reflect] attribute DOMString accessKey;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLIFrameElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLIFrameElement.cpp (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLIFrameElement.cpp        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/html/HTMLIFrameElement.cpp        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -48,7 +48,7 @@
</span><span class="cx">     return adoptRef(*new HTMLIFrameElement(tagName, document));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-DOMSettableTokenList&amp; HTMLIFrameElement::sandbox()
</del><ins>+DOMTokenList&amp; HTMLIFrameElement::sandbox()
</ins><span class="cx"> {
</span><span class="cx">     if (!m_sandbox)
</span><span class="cx">         m_sandbox = std::make_unique&lt;AttributeDOMTokenList&gt;(*this, sandboxAttr);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLIFrameElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLIFrameElement.h (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLIFrameElement.h        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/html/HTMLIFrameElement.h        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -34,7 +34,7 @@
</span><span class="cx"> public:
</span><span class="cx">     static Ref&lt;HTMLIFrameElement&gt; create(const QualifiedName&amp;, Document&amp;);
</span><span class="cx"> 
</span><del>-    DOMSettableTokenList&amp; sandbox();
</del><ins>+    DOMTokenList&amp; sandbox();
</ins><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     HTMLIFrameElement(const QualifiedName&amp;, Document&amp;);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLIFrameElementidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLIFrameElement.idl (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLIFrameElement.idl        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/html/HTMLIFrameElement.idl        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -30,7 +30,7 @@
</span><span class="cx"> #if defined(LANGUAGE_OBJECTIVE_C) &amp;&amp; LANGUAGE_OBJECTIVE_C || defined(LANGUAGE_GOBJECT) &amp;&amp; LANGUAGE_GOBJECT
</span><span class="cx">     [Reflect] attribute DOMString sandbox;
</span><span class="cx"> #else
</span><del>-    [PutForwards=value] readonly attribute DOMSettableTokenList sandbox;
</del><ins>+    [PutForwards=value] readonly attribute DOMTokenList sandbox;
</ins><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx">     [Reflect] attribute DOMString scrolling;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLLinkElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLLinkElement.cpp (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLLinkElement.cpp        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/html/HTMLLinkElement.cpp        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -367,7 +367,7 @@
</span><span class="cx">     return m_sheet-&gt;contents().isLoading();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-DOMSettableTokenList&amp; HTMLLinkElement::sizes()
</del><ins>+DOMTokenList&amp; HTMLLinkElement::sizes()
</ins><span class="cx"> {
</span><span class="cx">     if (!m_sizes)
</span><span class="cx">         m_sizes = std::make_unique&lt;AttributeDOMTokenList&gt;(*this, sizesAttr);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLLinkElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLLinkElement.h (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLLinkElement.h        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/html/HTMLLinkElement.h        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -65,7 +65,7 @@
</span><span class="cx"> 
</span><span class="cx">     bool isDisabled() const { return m_disabledState == Disabled; }
</span><span class="cx">     bool isEnabledViaScript() const { return m_disabledState == EnabledViaScript; }
</span><del>-    DOMSettableTokenList&amp; sizes();
</del><ins>+    DOMTokenList&amp; sizes();
</ins><span class="cx"> 
</span><span class="cx">     void dispatchPendingEvent(LinkEventSender*);
</span><span class="cx">     static void dispatchPendingLoadEvents();
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLLinkElementidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLLinkElement.idl (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLLinkElement.idl        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/html/HTMLLinkElement.idl        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -28,7 +28,7 @@
</span><span class="cx">     [Reflect] attribute DOMString rel;
</span><span class="cx">     [Reflect] attribute DOMString rev;
</span><span class="cx"> #if (defined(LANGUAGE_JAVASCRIPT) &amp;&amp; LANGUAGE_JAVASCRIPT) || (defined(LANGUAGE_GOBJECT) || LANGUAGE_GOBJECT)
</span><del>-    [PutForwards=value] readonly attribute DOMSettableTokenList sizes;
</del><ins>+    [PutForwards=value] readonly attribute DOMTokenList sizes;
</ins><span class="cx"> #endif
</span><span class="cx">     [Reflect] attribute DOMString target;
</span><span class="cx">     [Reflect] attribute DOMString type;
</span><span class="lines">@@ -41,6 +41,6 @@
</span><span class="cx">     readonly attribute URL absoluteLinkURL;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-    readonly attribute DOMTokenList relList;
</del><ins>+    [PutForwards=value] readonly attribute DOMTokenList relList;
</ins><span class="cx"> };
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLOutputElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLOutputElement.cpp (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLOutputElement.cpp        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/html/HTMLOutputElement.cpp        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -127,7 +127,7 @@
</span><span class="cx">         setTextContentInternal(value);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-DOMSettableTokenList&amp; HTMLOutputElement::htmlFor()
</del><ins>+DOMTokenList&amp; HTMLOutputElement::htmlFor()
</ins><span class="cx"> {
</span><span class="cx">     if (!m_tokens)
</span><span class="cx">         m_tokens = std::make_unique&lt;AttributeDOMTokenList&gt;(*this, forAttr);
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLOutputElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLOutputElement.h (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLOutputElement.h        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/html/HTMLOutputElement.h        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -44,7 +44,7 @@
</span><span class="cx">     void setValue(const String&amp;);
</span><span class="cx">     String defaultValue() const;
</span><span class="cx">     void setDefaultValue(const String&amp;);
</span><del>-    DOMSettableTokenList&amp; htmlFor();
</del><ins>+    DOMTokenList&amp; htmlFor();
</ins><span class="cx">     
</span><span class="cx">     virtual bool canContainRangeEndPoint() const override { return false; }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLOutputElementidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLOutputElement.idl (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLOutputElement.idl        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/html/HTMLOutputElement.idl        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -23,7 +23,7 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> interface HTMLOutputElement : HTMLElement {
</span><del>-    [PutForwards=value] readonly attribute DOMSettableTokenList htmlFor;
</del><ins>+    [PutForwards=value] readonly attribute DOMTokenList htmlFor;
</ins><span class="cx"> 
</span><span class="cx">     readonly attribute HTMLFormElement form;
</span><span class="cx">     [Reflect] attribute DOMString name;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLTableCellElementidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLTableCellElement.idl (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLTableCellElement.idl        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/html/HTMLTableCellElement.idl        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -28,7 +28,7 @@
</span><span class="cx">     attribute long colSpan;
</span><span class="cx"> 
</span><span class="cx">     // FIXME: This is supposed to be:
</span><del>-    // [PutForwards=value] readonly attribute DOMSettableTokenList headers;
</del><ins>+    // [PutForwards=value] readonly attribute DOMTokenList headers;
</ins><span class="cx">     [Reflect] attribute DOMString headers;
</span><span class="cx"> 
</span><span class="cx">     [Reflect] attribute DOMString height;
</span></span></pre></div>
<a id="trunkSourceWebCorepageDOMWindowcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/DOMWindow.cpp (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/DOMWindow.cpp        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/page/DOMWindow.cpp        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -40,7 +40,6 @@
</span><span class="cx"> #include &quot;Crypto.h&quot;
</span><span class="cx"> #include &quot;DOMApplicationCache.h&quot;
</span><span class="cx"> #include &quot;DOMSelection.h&quot;
</span><del>-#include &quot;DOMSettableTokenList.h&quot;
</del><span class="cx"> #include &quot;DOMStringList.h&quot;
</span><span class="cx"> #include &quot;DOMTimer.h&quot;
</span><span class="cx"> #include &quot;DOMTokenList.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorepageDOMWindowidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/DOMWindow.idl (196122 => 196123)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/DOMWindow.idl        2016-02-04 16:22:23 UTC (rev 196122)
+++ trunk/Source/WebCore/page/DOMWindow.idl        2016-02-04 16:57:44 UTC (rev 196123)
</span><span class="lines">@@ -196,6 +196,7 @@
</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><ins>+    attribute DOMTokenListConstructor DOMSettableTokenList; // Map DOMSettableTokenList to DOMTokenList for backward compatibility.
</ins><span class="cx"> 
</span><span class="cx">     [Conditional=IOS_TOUCH_EVENTS, CustomGetter] attribute TouchConstructor Touch; // Usable with the new operator
</span><span class="cx">     [Conditional=IOS_TOUCH_EVENTS, CustomGetter] attribute TouchListConstructor TouchList; // Usable with the new operator
</span></span></pre>
</div>
</div>

</body>
</html>