<!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>[188127] 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/188127">188127</a></dd>
<dt>Author</dt> <dd>calvaris@igalia.com</dd>
<dt>Date</dt> <dd>2015-08-07 09:35:43 -0700 (Fri, 07 Aug 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>[Streams API] Create CountQueuingStrategy object as per spec
https://bugs.webkit.org/show_bug.cgi?id=146594

Reviewed by Geoffrey Garen.

Source/WebCore:

CountQueuingStrategy is a class part of the Streams API that can be found at
https://streams.spec.whatwg.org/#cqs-class. We had it as js at the tests but the spec says we have to provide it
natively. The class is implemented in this patch by creating its corresponding IDL with the size method using
the [CustomBinding] attribute, that does not create any bindings against the object allowing us full control to
do what the spec requires (just returning 1 without any cast check). The constructor sets the highWaterMark
property taking it from the argument.

Covered by current tests
(LayoutTests/streams/reference-implementation/count-queuing-strategy.html and
LayoutTests/streams/reference-implementation/brand-checks.html).

* CMakeLists.txt:
* DerivedSources.cpp:
* DerivedSources.make:
* PlatformMac.cmake:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSBindingsAllInOne.cpp: Build infrastructure.
* Modules/streams/CountQueuingStrategy.h: Added.
(WebCore::CountQueuingStrategy::~CountQueuingStrategy): Created empty.
(WebCore::CountQueuingStrategy::size): Returns 1.
* Modules/streams/CountQueuingStrategy.idl: Added.
* bindings/js/JSCountQueuingStrategyCustom.cpp: Added.
(WebCore::jsCountQueuingStrategyPrototypeFunctionSize): Calls WebCore::CountQueuingStrategy::size.
(WebCore::constructJSCountQueuingStrategy): Constructs the strategy, copies the highWaterMark from the argument
and returns it.
* bindings/js/JSDOMBinding.h:
(WebCore::getPropertyFromObject): Moved from ReadableJSStream.cpp.
(WebCore::setPropertyToObject): Added to create a property into an object.
* bindings/js/ReadableJSStream.cpp:
(WebCore::getPropertyFromObject): Deleted.

LayoutTests:

* 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/ios-sim-deprecated/js/dom/global-constructors-attributes-expected.txt:
* platform/mac-mavericks/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: Updated expectations with
CountQueuingStrategy constructor.
* streams/reference-implementation/brand-checks.html:
* streams/reference-implementation/count-queuing-strategy.html: Removed reference to count-queuing-strategy.js.
* streams/reference-implementation/resources/count-queuing-strategy.js: Removed.
(CountQueuingStrategy): Deleted.
(CountQueuingStrategy.prototype.size): Deleted.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</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="#trunkLayoutTestsplatformiossimdeprecatedjsdomglobalconstructorsattributesexpectedtxt">trunk/LayoutTests/platform/ios-sim-deprecated/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="#trunkLayoutTestsplatformmacmavericksjsdomglobalconstructorsattributesexpectedtxt">trunk/LayoutTests/platform/mac-mavericks/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="#trunkLayoutTestsstreamsreferenceimplementationbrandcheckshtml">trunk/LayoutTests/streams/reference-implementation/brand-checks.html</a></li>
<li><a href="#trunkLayoutTestsstreamsreferenceimplementationcountqueuingstrategyhtml">trunk/LayoutTests/streams/reference-implementation/count-queuing-strategy.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="#trunkSourceWebCoreDerivedSourcesmake">trunk/Source/WebCore/DerivedSources.make</a></li>
<li><a href="#trunkSourceWebCorePlatformMaccmake">trunk/Source/WebCore/PlatformMac.cmake</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="#trunkSourceWebCorebindingsjsJSBindingsAllInOnecpp">trunk/Source/WebCore/bindings/js/JSBindingsAllInOne.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSDOMBindingh">trunk/Source/WebCore/bindings/js/JSDOMBinding.h</a></li>
<li><a href="#trunkSourceWebCorebindingsjsReadableJSStreamcpp">trunk/Source/WebCore/bindings/js/ReadableJSStream.cpp</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreModulesstreamsCountQueuingStrategyh">trunk/Source/WebCore/Modules/streams/CountQueuingStrategy.h</a></li>
<li><a href="#trunkSourceWebCoreModulesstreamsCountQueuingStrategyidl">trunk/Source/WebCore/Modules/streams/CountQueuingStrategy.idl</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSCountQueuingStrategyCustomcpp">trunk/Source/WebCore/bindings/js/JSCountQueuingStrategyCustom.cpp</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsstreamsreferenceimplementationresourcescountqueuingstrategyjs">trunk/LayoutTests/streams/reference-implementation/resources/count-queuing-strategy.js</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (188126 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2015-08-07 16:04:49 UTC (rev 188126)
+++ trunk/LayoutTests/ChangeLog        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -1,3 +1,25 @@
</span><ins>+2015-08-07  Xabier Rodriguez Calvar  &lt;calvaris@igalia.com&gt;
+
+        [Streams API] Create CountQueuingStrategy object as per spec
+        https://bugs.webkit.org/show_bug.cgi?id=146594
+
+        Reviewed by Geoffrey Garen.
+
+        * 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/ios-sim-deprecated/js/dom/global-constructors-attributes-expected.txt:
+        * platform/mac-mavericks/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: Updated expectations with
+        CountQueuingStrategy constructor.
+        * streams/reference-implementation/brand-checks.html:
+        * streams/reference-implementation/count-queuing-strategy.html: Removed reference to count-queuing-strategy.js.
+        * streams/reference-implementation/resources/count-queuing-strategy.js: Removed.
+        (CountQueuingStrategy): Deleted.
+        (CountQueuingStrategy.prototype.size): Deleted.
+
</ins><span class="cx"> 2015-08-07  Doug Russell  &lt;d_russell@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         AX: Bug 147737 is causing test failures in Mavericks WK1
</span></span></pre></div>
<a id="trunkLayoutTestsjsdomglobalconstructorsattributesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/js/dom/global-constructors-attributes-expected.txt (188126 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/js/dom/global-constructors-attributes-expected.txt        2015-08-07 16:04:49 UTC (rev 188126)
+++ trunk/LayoutTests/js/dom/global-constructors-attributes-expected.txt        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -223,6 +223,11 @@
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ConvolverNode').hasOwnProperty('set') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ConvolverNode').enumerable is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ConvolverNode').configurable is true
</span><ins>+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').value is CountQueuingStrategy
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').configurable is true
</ins><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Counter').value is Counter
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Counter').hasOwnProperty('get') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Counter').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 (188126 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt        2015-08-07 16:04:49 UTC (rev 188126)
+++ trunk/LayoutTests/platform/efl/js/dom/global-constructors-attributes-expected.txt        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -228,6 +228,11 @@
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ConvolverNode').hasOwnProperty('set') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ConvolverNode').enumerable is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ConvolverNode').configurable is true
</span><ins>+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').value is CountQueuingStrategy
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').configurable is true
</ins><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Counter').value is Counter
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Counter').hasOwnProperty('get') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Counter').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 (188126 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt        2015-08-07 16:04:49 UTC (rev 188126)
+++ trunk/LayoutTests/platform/gtk/js/dom/global-constructors-attributes-expected.txt        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -228,6 +228,11 @@
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ConvolverNode').hasOwnProperty('set') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ConvolverNode').enumerable is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ConvolverNode').configurable is true
</span><ins>+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').value is CountQueuingStrategy
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').configurable is true
</ins><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Counter').value is Counter
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Counter').hasOwnProperty('get') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Counter').hasOwnProperty('set') is false
</span></span></pre></div>
<a id="trunkLayoutTestsplatformiossimdeprecatedjsdomglobalconstructorsattributesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-sim-deprecated/js/dom/global-constructors-attributes-expected.txt (188126 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-sim-deprecated/js/dom/global-constructors-attributes-expected.txt        2015-08-07 16:04:49 UTC (rev 188126)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/js/dom/global-constructors-attributes-expected.txt        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -208,6 +208,11 @@
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ConvolverNode').hasOwnProperty('set') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ConvolverNode').enumerable is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ConvolverNode').configurable is true
</span><ins>+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').value is CountQueuingStrategy
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').configurable is true
</ins><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Counter').value is Counter
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Counter').hasOwnProperty('get') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Counter').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 (188126 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt        2015-08-07 16:04:49 UTC (rev 188126)
+++ trunk/LayoutTests/platform/mac/js/dom/global-constructors-attributes-expected.txt        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -223,6 +223,11 @@
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ConvolverNode').hasOwnProperty('set') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ConvolverNode').enumerable is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ConvolverNode').configurable is true
</span><ins>+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').value is CountQueuingStrategy
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').configurable is true
</ins><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Counter').value is Counter
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Counter').hasOwnProperty('get') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Counter').hasOwnProperty('set') is false
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacmavericksjsdomglobalconstructorsattributesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt (188126 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt        2015-08-07 16:04:49 UTC (rev 188126)
+++ trunk/LayoutTests/platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -223,6 +223,11 @@
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ConvolverNode').hasOwnProperty('set') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ConvolverNode').enumerable is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ConvolverNode').configurable is true
</span><ins>+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').value is CountQueuingStrategy
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').configurable is true
</ins><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Counter').value is Counter
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Counter').hasOwnProperty('get') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Counter').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 (188126 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt        2015-08-07 16:04:49 UTC (rev 188126)
+++ trunk/LayoutTests/platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -223,6 +223,11 @@
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ConvolverNode').hasOwnProperty('set') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ConvolverNode').enumerable is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'ConvolverNode').configurable is true
</span><ins>+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').value is CountQueuingStrategy
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').configurable is true
</ins><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Counter').value is Counter
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Counter').hasOwnProperty('get') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Counter').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 (188126 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt        2015-08-07 16:04:49 UTC (rev 188126)
+++ trunk/LayoutTests/platform/win/js/dom/global-constructors-attributes-expected.txt        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -163,6 +163,11 @@
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'CompositionEvent').hasOwnProperty('set') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'CompositionEvent').enumerable is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'CompositionEvent').configurable is true
</span><ins>+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').value is CountQueuingStrategy
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').hasOwnProperty('get') is false
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').hasOwnProperty('set') is false
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').enumerable is false
+PASS Object.getOwnPropertyDescriptor(global, 'CountQueuingStrategy').configurable is true
</ins><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Counter').value is Counter
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Counter').hasOwnProperty('get') is false
</span><span class="cx"> PASS Object.getOwnPropertyDescriptor(global, 'Counter').hasOwnProperty('set') is false
</span></span></pre></div>
<a id="trunkLayoutTestsstreamsreferenceimplementationbrandcheckshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/streams/reference-implementation/brand-checks.html (188126 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/streams/reference-implementation/brand-checks.html        2015-08-07 16:04:49 UTC (rev 188126)
+++ trunk/LayoutTests/streams/reference-implementation/brand-checks.html        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -2,7 +2,6 @@
</span><span class="cx"> &lt;script src='../../resources/testharness.js'&gt;&lt;/script&gt;
</span><span class="cx"> &lt;script src='../../resources/testharnessreport.js'&gt;&lt;/script&gt;
</span><span class="cx"> &lt;script src='resources/streams-utils.js'&gt;&lt;/script&gt;
</span><del>-&lt;script src='resources/count-queuing-strategy.js'&gt;&lt;/script&gt;
</del><span class="cx"> &lt;script src='resources/byte-length-queuing-strategy.js'&gt;&lt;/script&gt;
</span><span class="cx"> &lt;script&gt;
</span><span class="cx"> var ReadableStreamReader;
</span></span></pre></div>
<a id="trunkLayoutTestsstreamsreferenceimplementationcountqueuingstrategyhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/streams/reference-implementation/count-queuing-strategy.html (188126 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/streams/reference-implementation/count-queuing-strategy.html        2015-08-07 16:04:49 UTC (rev 188126)
+++ trunk/LayoutTests/streams/reference-implementation/count-queuing-strategy.html        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -2,7 +2,6 @@
</span><span class="cx"> &lt;script src='../../resources/testharness.js'&gt;&lt;/script&gt;
</span><span class="cx"> &lt;script src='../../resources/testharnessreport.js'&gt;&lt;/script&gt;
</span><span class="cx"> &lt;script src='resources/streams-utils.js'&gt;&lt;/script&gt;
</span><del>-&lt;script src='resources/count-queuing-strategy.js'&gt;&lt;/script&gt;
</del><span class="cx"> &lt;script&gt;
</span><span class="cx"> test(function() {
</span><span class="cx">     new CountQueuingStrategy({ highWaterMark: 4 });
</span></span></pre></div>
<a id="trunkLayoutTestsstreamsreferenceimplementationresourcescountqueuingstrategyjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/streams/reference-implementation/resources/count-queuing-strategy.js (188126 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/streams/reference-implementation/resources/count-queuing-strategy.js        2015-08-07 16:04:49 UTC (rev 188126)
+++ trunk/LayoutTests/streams/reference-implementation/resources/count-queuing-strategy.js        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>-// FIXME: Remove this file when implemented in WebCore.
-
-function CountQueuingStrategy({ highWaterMark }) {
-    createDataProperty(this, 'highWaterMark', highWaterMark);
-}
-
-CountQueuingStrategy.prototype = {
-    size: function(chunk) {
-        return 1;
-    }
-}
</del></span></pre></div>
<a id="trunkSourceWebCoreCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/CMakeLists.txt (188126 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/CMakeLists.txt        2015-08-07 16:04:49 UTC (rev 188126)
+++ trunk/Source/WebCore/CMakeLists.txt        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -289,6 +289,7 @@
</span><span class="cx">     Modules/speech/SpeechSynthesisUtterance.idl
</span><span class="cx">     Modules/speech/SpeechSynthesisVoice.idl
</span><span class="cx"> 
</span><ins>+    Modules/streams/CountQueuingStrategy.idl
</ins><span class="cx">     Modules/streams/ReadableStream.idl
</span><span class="cx">     Modules/streams/ReadableStreamController.idl
</span><span class="cx">     Modules/streams/ReadableStreamReader.idl
</span><span class="lines">@@ -1088,6 +1089,7 @@
</span><span class="cx">     bindings/js/JSCanvasRenderingContextCustom.cpp
</span><span class="cx">     bindings/js/JSCharacterDataCustom.cpp
</span><span class="cx">     bindings/js/JSCommandLineAPIHostCustom.cpp
</span><ins>+    bindings/js/JSCountQueuingStrategyCustom.cpp
</ins><span class="cx">     bindings/js/JSCryptoAlgorithmBuilder.cpp
</span><span class="cx">     bindings/js/JSCryptoAlgorithmDictionary.cpp
</span><span class="cx">     bindings/js/JSCryptoCustom.cpp
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (188126 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-08-07 16:04:49 UTC (rev 188126)
+++ trunk/Source/WebCore/ChangeLog        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -1,3 +1,43 @@
</span><ins>+2015-08-07  Xabier Rodriguez Calvar  &lt;calvaris@igalia.com&gt;
+
+        [Streams API] Create CountQueuingStrategy object as per spec
+        https://bugs.webkit.org/show_bug.cgi?id=146594
+
+        Reviewed by Geoffrey Garen.
+
+        CountQueuingStrategy is a class part of the Streams API that can be found at
+        https://streams.spec.whatwg.org/#cqs-class. We had it as js at the tests but the spec says we have to provide it
+        natively. The class is implemented in this patch by creating its corresponding IDL with the size method using
+        the [CustomBinding] attribute, that does not create any bindings against the object allowing us full control to
+        do what the spec requires (just returning 1 without any cast check). The constructor sets the highWaterMark
+        property taking it from the argument.
+
+        Covered by current tests
+        (LayoutTests/streams/reference-implementation/count-queuing-strategy.html and
+        LayoutTests/streams/reference-implementation/brand-checks.html).
+
+        * CMakeLists.txt:
+        * DerivedSources.cpp:
+        * DerivedSources.make:
+        * PlatformMac.cmake:
+        * WebCore.vcxproj/WebCore.vcxproj:
+        * WebCore.vcxproj/WebCore.vcxproj.filters:
+        * WebCore.xcodeproj/project.pbxproj:
+        * bindings/js/JSBindingsAllInOne.cpp: Build infrastructure.
+        * Modules/streams/CountQueuingStrategy.h: Added.
+        (WebCore::CountQueuingStrategy::~CountQueuingStrategy): Created empty.
+        (WebCore::CountQueuingStrategy::size): Returns 1.
+        * Modules/streams/CountQueuingStrategy.idl: Added.
+        * bindings/js/JSCountQueuingStrategyCustom.cpp: Added.
+        (WebCore::jsCountQueuingStrategyPrototypeFunctionSize): Calls WebCore::CountQueuingStrategy::size.
+        (WebCore::constructJSCountQueuingStrategy): Constructs the strategy, copies the highWaterMark from the argument
+        and returns it.
+        * bindings/js/JSDOMBinding.h:
+        (WebCore::getPropertyFromObject): Moved from ReadableJSStream.cpp.
+        (WebCore::setPropertyToObject): Added to create a property into an object.
+        * bindings/js/ReadableJSStream.cpp:
+        (WebCore::getPropertyFromObject): Deleted.
+
</ins><span class="cx"> 2015-08-07  Brady Eidson  &lt;beidson@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Move concrete KeyedDecoder/Encoder implementations to WebCore.
</span></span></pre></div>
<a id="trunkSourceWebCoreDerivedSourcescpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/DerivedSources.cpp (188126 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/DerivedSources.cpp        2015-08-07 16:04:49 UTC (rev 188126)
+++ trunk/Source/WebCore/DerivedSources.cpp        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -41,6 +41,9 @@
</span><span class="cx"> #include &quot;JSCanvasPattern.cpp&quot;
</span><span class="cx"> #include &quot;JSCanvasRenderingContext.cpp&quot;
</span><span class="cx"> #include &quot;JSCanvasRenderingContext2D.cpp&quot;
</span><ins>+#if ENABLE(STREAMS_API)
+#include &quot;JSCountQueuingStrategy.cpp&quot;
+#endif
</ins><span class="cx"> #if ENABLE(WEBGL)
</span><span class="cx"> #include &quot;JSEXTBlendMinMax.cpp&quot;
</span><span class="cx"> #include &quot;JSEXTFragDepth.cpp&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoreDerivedSourcesmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/DerivedSources.make (188126 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/DerivedSources.make        2015-08-07 16:04:49 UTC (rev 188126)
+++ trunk/Source/WebCore/DerivedSources.make        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -174,6 +174,7 @@
</span><span class="cx">     $(WebCore)/Modules/speech/SpeechSynthesisEvent.idl \
</span><span class="cx">     $(WebCore)/Modules/speech/SpeechSynthesisUtterance.idl \
</span><span class="cx">     $(WebCore)/Modules/speech/SpeechSynthesisVoice.idl \
</span><ins>+    $(WebCore)/Modules/streams/CountQueuingStrategy.idl \
</ins><span class="cx">     $(WebCore)/Modules/streams/ReadableStream.idl \
</span><span class="cx">     $(WebCore)/Modules/streams/ReadableStreamController.idl \
</span><span class="cx">     $(WebCore)/Modules/streams/ReadableStreamReader.idl \
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesstreamsCountQueuingStrategyh"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/Modules/streams/CountQueuingStrategy.h (0 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/streams/CountQueuingStrategy.h                                (rev 0)
+++ trunk/Source/WebCore/Modules/streams/CountQueuingStrategy.h        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -0,0 +1,52 @@
</span><ins>+/*
+ * Copyright (C) 2015 Canon Inc.
+ * Copyright (C) 2015 Igalia S.L.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted, provided that the following conditions
+ * are required to be 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.
+ * 3.  Neither the name of Canon Inc. nor the names of
+ *     its contributors may be used to endorse or promote products derived
+ *     from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY CANON INC. AND ITS CONTRIBUTORS &quot;AS IS&quot; AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL CANON INC. AND 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.
+ */
+
+#ifndef CountQueuingStrategy_h
+#define CountQueuingStrategy_h
+
+#if ENABLE(STREAMS_API)
+
+#include &lt;wtf/RefCounted.h&gt;
+
+namespace WebCore {
+
+// CountQueuingStrategy implements a strategy for streams that counts chunks one by one according to the spec. See
+// https://streams.spec.whatwg.org/#cqs-class
+class CountQueuingStrategy : public RefCounted&lt;CountQueuingStrategy&gt; {
+public:
+    virtual ~CountQueuingStrategy() { }
+
+    inline static int size() { return 1; }
+};
+
+}
+
+#endif
+
+#endif // CountQueuingStrategy_h
</ins></span></pre></div>
<a id="trunkSourceWebCoreModulesstreamsCountQueuingStrategyidl"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/Modules/streams/CountQueuingStrategy.idl (0 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/streams/CountQueuingStrategy.idl                                (rev 0)
+++ trunk/Source/WebCore/Modules/streams/CountQueuingStrategy.idl        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -0,0 +1,35 @@
</span><ins>+/*
+ * Copyright (C) 2015 Canon Inc.
+ * Copyright (C) 2015 Igalia S.L.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted, provided that the following conditions
+ * are required to be 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.
+ * 3.  Neither the name of Canon Inc. nor the names of
+ *     its contributors may be used to endorse or promote products derived
+ *     from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY CANON INC. AND ITS CONTRIBUTORS &quot;AS IS&quot; AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL CANON INC. AND 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.
+ */
+
+[
+    CustomConstructor(any properties),
+    Conditional=STREAMS_API,
+] interface CountQueuingStrategy {
+    [CustomBinding] double size();
+};
</ins></span></pre></div>
<a id="trunkSourceWebCorePlatformMaccmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/PlatformMac.cmake (188126 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/PlatformMac.cmake        2015-08-07 16:04:49 UTC (rev 188126)
+++ trunk/Source/WebCore/PlatformMac.cmake        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -537,6 +537,7 @@
</span><span class="cx">     ${DERIVED_SOURCES_WEBCORE_DIR}/DOMCommandLineAPIHost.mm
</span><span class="cx">     ${DERIVED_SOURCES_WEBCORE_DIR}/DOMConvolverNode.mm
</span><span class="cx">     ${DERIVED_SOURCES_WEBCORE_DIR}/DOMCoordinates.mm
</span><ins>+    ${DERIVED_SOURCES_WEBCORE_DIR}/DOMCountQueuingStrategy.mm
</ins><span class="cx">     ${DERIVED_SOURCES_WEBCORE_DIR}/DOMCrypto.mm
</span><span class="cx">     ${DERIVED_SOURCES_WEBCORE_DIR}/DOMCryptoKey.mm
</span><span class="cx">     ${DERIVED_SOURCES_WEBCORE_DIR}/DOMCustomEvent.mm
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorevcxprojWebCorevcxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj (188126 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj        2015-08-07 16:04:49 UTC (rev 188126)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -1173,6 +1173,20 @@
</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><ins>+    &lt;ClCompile Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCountQueuingStrategy.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;
</ins><span class="cx">     &lt;ClCompile Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCrypto.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">@@ -17328,6 +17342,20 @@
</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><ins>+    &lt;ClCompile Include=&quot;..\bindings\js\JSCountQueuingStrategyCustom.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;
</ins><span class="cx">     &lt;ClCompile Include=&quot;..\bindings\js\DOMWrapperWorld.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">@@ -19806,6 +19834,7 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCompositionEvent.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCoordinates.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCounter.h&quot; /&gt;
</span><ins>+    &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCountQueuingStrategy.h&quot; /&gt;
</ins><span class="cx">     &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCrypto.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSCharsetRule.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCSSFontFaceLoadEvent.h&quot; /&gt;
</span><span class="lines">@@ -20537,6 +20566,7 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\Modules\notifications\NotificationClient.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\Modules\notifications\WorkerGlobalScopeNotifications.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\Modules\plugins\PluginReplacement.h&quot; /&gt;
</span><ins>+    &lt;ClInclude Include=&quot;..\Modules\streams\CountQueuingStrategy.h&quot; /&gt;
</ins><span class="cx">     &lt;ClInclude Include=&quot;..\Modules\streams\ReadableStream.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\Modules\streams\ReadableStreamController.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\Modules\streams\ReadableStreamReader.h&quot; /&gt;
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorevcxprojWebCorevcxprojfilters"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters (188126 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters        2015-08-07 16:04:49 UTC (rev 188126)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -4251,6 +4251,9 @@
</span><span class="cx">     &lt;ClCompile Include=&quot;..\bindings\js\JSCommandLineAPIHostCustom.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;bindings\js&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><ins>+    &lt;ClCompile Include=&quot;..\bindings\js\JSCountQueuingStrategyCustom.cpp&quot;&gt;
+      &lt;Filter&gt;bindings\js&lt;/Filter&gt;
+    &lt;/ClCompile&gt;
</ins><span class="cx">     &lt;ClCompile Include=&quot;..\bindings\js\JSCSSRuleCustom.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;bindings\js&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><span class="lines">@@ -5125,6 +5128,9 @@
</span><span class="cx">     &lt;ClCompile Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCounter.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;DerivedSources&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><ins>+    &lt;ClCompile Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCountQueuingStrategy.cpp&quot;&gt;
+      &lt;Filter&gt;DerivedSources&lt;/Filter&gt;
+    &lt;/ClCompile&gt;
</ins><span class="cx">     &lt;ClCompile Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCrypto.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">@@ -12514,6 +12520,9 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCounter.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;DerivedSources&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><ins>+    &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCountQueuingStrategy.h&quot;&gt;
+      &lt;Filter&gt;DerivedSources&lt;/Filter&gt;
+    &lt;/ClInclude&gt;
</ins><span class="cx">     &lt;ClInclude Include=&quot;$(ConfigurationBuildDir)\obj$(PlatformArchitecture)\$(ProjectName)\DerivedSources\JSCrypto.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;DerivedSources&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><span class="lines">@@ -15205,6 +15214,9 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\platform\graphics\FontCascadeFonts.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;platform\graphics&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><ins>+    &lt;ClInclude Include=&quot;..\Modules\streams\CountQueuingStrategy.h&quot;&gt;
+      &lt;Filter&gt;Modules\streams&lt;/Filter&gt;
+    &lt;/ClInclude&gt;
</ins><span class="cx">     &lt;ClInclude Include=&quot;..\Modules\streams\ReadableStream.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;Modules\streams&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 (188126 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2015-08-07 16:04:49 UTC (rev 188126)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -613,6 +613,8 @@
</span><span class="cx">                 1479FAF4109AE37500DED655 /* RenderRubyText.h in Headers */ = {isa = PBXBuildFile; fileRef = 1479FAEC109AE37500DED655 /* RenderRubyText.h */; };
</span><span class="cx">                 148AFDA50AF58360008CC700 /* ExceptionHandlers.h in Headers */ = {isa = PBXBuildFile; fileRef = 148AFDA30AF58360008CC700 /* ExceptionHandlers.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 148AFDA60AF58360008CC700 /* ExceptionHandlers.mm in Sources */ = {isa = PBXBuildFile; fileRef = 148AFDA40AF58360008CC700 /* ExceptionHandlers.mm */; };
</span><ins>+                148B4FF81B69042100C954E4 /* JSCountQueuingStrategyCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 148B4FF71B69042100C954E4 /* JSCountQueuingStrategyCustom.cpp */; };
+                148B4FFE1B6904AA00C954E4 /* CountQueuingStrategy.h in Headers */ = {isa = PBXBuildFile; fileRef = 148B4FFD1B6904AA00C954E4 /* CountQueuingStrategy.h */; };
</ins><span class="cx">                 14947FFD12F80CD200A0F631 /* DocumentOrderedMap.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 14947FFB12F80CD200A0F631 /* DocumentOrderedMap.cpp */; };
</span><span class="cx">                 14947FFE12F80CD200A0F631 /* DocumentOrderedMap.h in Headers */ = {isa = PBXBuildFile; fileRef = 14947FFC12F80CD200A0F631 /* DocumentOrderedMap.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 14993BE50B2F2B1C0050497F /* FocusController.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 14993BE30B2F2B1C0050497F /* FocusController.cpp */; };
</span><span class="lines">@@ -629,6 +631,8 @@
</span><span class="cx">                 14D824080AF93AEB0004F057 /* ChromeClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 14D824060AF93AEB0004F057 /* ChromeClient.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 14DC0D3709FED073007B0235 /* JSNode.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 14DC0D3509FED073007B0235 /* JSNode.cpp */; };
</span><span class="cx">                 14DC0D3809FED073007B0235 /* JSNode.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 14DC0D3609FED073007B0235 /* JSNode.h */; settings = {ATTRIBUTES = (); }; };
</span><ins>+                14DCF3B21B6BE2080062D4C2 /* JSCountQueuingStrategy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 14DCF3B01B6BE2080062D4C2 /* JSCountQueuingStrategy.cpp */; };
+                14DCF3B31B6BE2080062D4C2 /* JSCountQueuingStrategy.h in Headers */ = {isa = PBXBuildFile; fileRef = 14DCF3B11B6BE2080062D4C2 /* JSCountQueuingStrategy.h */; };
</ins><span class="cx">                 14E8378409F85D1C00B85AE4 /* JSEvent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 14E8378309F85D1C00B85AE4 /* JSEvent.cpp */; };
</span><span class="cx">                 14E8378E09F85D4F00B85AE4 /* JSEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = 14E8378D09F85D4F00B85AE4 /* JSEvent.h */; };
</span><span class="cx">                 14FFE31D0AE1963300136BF5 /* HTMLFrameElementBase.h in Headers */ = {isa = PBXBuildFile; fileRef = 14FFE31B0AE1963300136BF5 /* HTMLFrameElementBase.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="lines">@@ -7745,6 +7749,9 @@
</span><span class="cx">                 14813BF309EDF88E00F757E1 /* IDLParser.pm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.perl; name = IDLParser.pm; path = scripts/IDLParser.pm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 148AFDA30AF58360008CC700 /* ExceptionHandlers.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = ExceptionHandlers.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 148AFDA40AF58360008CC700 /* ExceptionHandlers.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = ExceptionHandlers.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><ins>+                148B4FF71B69042100C954E4 /* JSCountQueuingStrategyCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = JSCountQueuingStrategyCustom.cpp; path = bindings/js/JSCountQueuingStrategyCustom.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
+                148B4FFD1B6904AA00C954E4 /* CountQueuingStrategy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CountQueuingStrategy.h; path = Modules/streams/CountQueuingStrategy.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                148B4FFF1B6904C500C954E4 /* CountQueuingStrategy.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = CountQueuingStrategy.idl; path = Modules/streams/CountQueuingStrategy.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
</ins><span class="cx">                 14947FFB12F80CD200A0F631 /* DocumentOrderedMap.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DocumentOrderedMap.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 14947FFC12F80CD200A0F631 /* DocumentOrderedMap.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DocumentOrderedMap.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 14993BE30B2F2B1C0050497F /* FocusController.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = FocusController.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -7767,6 +7774,8 @@
</span><span class="cx">                 14DC0D0B09FECFA4007B0235 /* Node.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Node.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 14DC0D3509FED073007B0235 /* JSNode.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSNode.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 14DC0D3609FED073007B0235 /* JSNode.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSNode.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><ins>+                14DCF3B01B6BE2080062D4C2 /* JSCountQueuingStrategy.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = JSCountQueuingStrategy.cpp; path = JSCountQueuingStrategy.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
+                14DCF3B11B6BE2080062D4C2 /* JSCountQueuingStrategy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = JSCountQueuingStrategy.h; path = JSCountQueuingStrategy.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</ins><span class="cx">                 14E836D209F8512000B85AE4 /* Event.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Event.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 14E8378309F85D1C00B85AE4 /* JSEvent.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSEvent.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 14E8378D09F85D4F00B85AE4 /* JSEvent.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSEvent.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -15060,6 +15069,9 @@
</span><span class="cx">                 0867D691FE84028FC02AAC07 /* WebKit */ = {
</span><span class="cx">                         isa = PBXGroup;
</span><span class="cx">                         children = (
</span><ins>+                                148B4FFF1B6904C500C954E4 /* CountQueuingStrategy.idl */,
+                                148B4FFD1B6904AA00C954E4 /* CountQueuingStrategy.h */,
+                                148B4FF71B69042100C954E4 /* JSCountQueuingStrategyCustom.cpp */,
</ins><span class="cx">                                 65C97AF208EA908800ACD273 /* config.h */,
</span><span class="cx">                                 EDEC98020AED7E170059137F /* WebCorePrefix.h */,
</span><span class="cx">                                 9307061309E0CA8200B17FE4 /* DerivedSources.make */,
</span><span class="lines">@@ -16733,6 +16745,8 @@
</span><span class="cx">                 656580EC09D12B20000E61D7 /* Derived Sources */ = {
</span><span class="cx">                         isa = PBXGroup;
</span><span class="cx">                         children = (
</span><ins>+                                14DCF3B01B6BE2080062D4C2 /* JSCountQueuingStrategy.cpp */,
+                                14DCF3B11B6BE2080062D4C2 /* JSCountQueuingStrategy.h */,
</ins><span class="cx">                                 656581AC09D14EE6000E61D7 /* CharsetData.cpp */,
</span><span class="cx">                                 E406F3FB1198307D009D59D6 /* ColorData.cpp */,
</span><span class="cx">                                 6565814409D13043000E61D7 /* CSSGrammar.cpp */,
</span><span class="lines">@@ -25138,6 +25152,7 @@
</span><span class="cx">                                 977B3876122883E900B81FF8 /* HTMLScriptRunnerHost.h in Headers */,
</span><span class="cx">                                 A81369D8097374F600D74463 /* HTMLSelectElement.h in Headers */,
</span><span class="cx">                                 E44613A80CD6331000FADA75 /* HTMLSourceElement.h in Headers */,
</span><ins>+                                148B4FFE1B6904AA00C954E4 /* CountQueuingStrategy.h in Headers */,
</ins><span class="cx">                                 977E2DCE12F0E28300C13379 /* HTMLSourceTracker.h in Headers */,
</span><span class="cx">                                 978AD67514130A8D00C7CAE3 /* HTMLSpanElement.h in Headers */,
</span><span class="cx">                                 536D5A20193E18E900CE4CAB /* HTMLSrcsetParser.h in Headers */,
</span><span class="lines">@@ -26571,6 +26586,7 @@
</span><span class="cx">                                 A79BADA2161E7F3F00C2E652 /* RuleFeature.h in Headers */,
</span><span class="cx">                                 A79BADA4161E7F3F00C2E652 /* RuleSet.h in Headers */,
</span><span class="cx">                                 2D76BB821945632400CFD29A /* RunLoopObserver.h in Headers */,
</span><ins>+                                14DCF3B31B6BE2080062D4C2 /* JSCountQueuingStrategy.h in Headers */,
</ins><span class="cx">                                 1A569D1F0D7E2B82007C3983 /* runtime_array.h in Headers */,
</span><span class="cx">                                 1A569D210D7E2B82007C3983 /* runtime_method.h in Headers */,
</span><span class="cx">                                 1A569D230D7E2B82007C3983 /* runtime_object.h in Headers */,
</span><span class="lines">@@ -27603,6 +27619,7 @@
</span><span class="cx">                                 A11E8C061B1E28FA0003A7C7 /* moveCursor.png in Resources */,
</span><span class="cx">                                 A11E8C071B1E28FE0003A7C7 /* northEastSouthWestResizeCursor.png in Resources */,
</span><span class="cx">                                 A11E8C081B1E29020003A7C7 /* northSouthResizeCursor.png in Resources */,
</span><ins>+                                148B50001B6904C500C954E4 /* CountQueuingStrategy.idl in Resources */,
</ins><span class="cx">                                 A11E8C091B1E29070003A7C7 /* northWestSouthEastResizeCursor.png in Resources */,
</span><span class="cx">                                 BE8C753110681324001E93F5 /* SpellingDot.png in Resources */,
</span><span class="cx">                                 01E6C2E41194B2820050821C /* SpellingDot@2x.png in Resources */,
</span><span class="lines">@@ -28160,6 +28177,7 @@
</span><span class="cx">                                 5C9A7A751AA0F6EA00958ACF /* DFABytecodeCompiler.cpp in Sources */,
</span><span class="cx">                                 5C9A7A761AA0F6ED00958ACF /* DFABytecodeInterpreter.cpp in Sources */,
</span><span class="cx">                                 26A517FD1AB92238006335DF /* DFAMinimizer.cpp in Sources */,
</span><ins>+                                14DCF3B21B6BE2080062D4C2 /* JSCountQueuingStrategy.cpp in Sources */,
</ins><span class="cx">                                 CD37B39815C1B971006DC898 /* DiagnosticLoggingKeys.cpp in Sources */,
</span><span class="cx">                                 CECADFC6153778FF00E37068 /* DictationAlternative.cpp in Sources */,
</span><span class="cx">                                 CECADFC8153778FF00E37068 /* DictationCommand.cpp in Sources */,
</span><span class="lines">@@ -28678,6 +28696,7 @@
</span><span class="cx">                                 536D5A21193E18EE00CE4CAB /* HTMLSrcsetParser.cpp in Sources */,
</span><span class="cx">                                 A871DC260A15205700B12A68 /* HTMLStyleElement.cpp in Sources */,
</span><span class="cx">                                 310D71951B335C9D009C7B73 /* ThemeCocoa.cpp in Sources */,
</span><ins>+                                148B4FF81B69042100C954E4 /* JSCountQueuingStrategyCustom.cpp in Sources */,
</ins><span class="cx">                                 D3D4E972130C7CFE007BA540 /* HTMLSummaryElement.cpp in Sources */,
</span><span class="cx">                                 A871DB320A150BD600B12A68 /* HTMLTableCaptionElement.cpp in Sources */,
</span><span class="cx">                                 A871DB2E0A150BD600B12A68 /* HTMLTableCellElement.cpp in Sources */,
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSBindingsAllInOnecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSBindingsAllInOne.cpp (188126 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSBindingsAllInOne.cpp        2015-08-07 16:04:49 UTC (rev 188126)
+++ trunk/Source/WebCore/bindings/js/JSBindingsAllInOne.cpp        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -35,6 +35,9 @@
</span><span class="cx"> #include &quot;JSAudioTrackListCustom.cpp&quot;
</span><span class="cx"> #include &quot;JSBlobCustom.cpp&quot;
</span><span class="cx"> #include &quot;JSCDATASectionCustom.cpp&quot;
</span><ins>+#if ENABLE(STREAMS_API)
+#include &quot;JSCountQueuingStrategyCustom.cpp&quot;
+#endif
</ins><span class="cx"> #include &quot;JSCSSRuleCustom.cpp&quot;
</span><span class="cx"> #include &quot;JSCSSRuleListCustom.cpp&quot;
</span><span class="cx"> #include &quot;JSCSSStyleDeclarationCustom.cpp&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSCountQueuingStrategyCustomcpp"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/bindings/js/JSCountQueuingStrategyCustom.cpp (0 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSCountQueuingStrategyCustom.cpp                                (rev 0)
+++ trunk/Source/WebCore/bindings/js/JSCountQueuingStrategyCustom.cpp        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -0,0 +1,69 @@
</span><ins>+/*
+ * Copyright (C) 2015 Canon Inc.
+ * Copyright (C) 2015 Igalia S.L.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted, provided that the following conditions
+ * are required to be 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.
+ * 3.  Neither the name of Canon Inc. nor the names of
+ *     its contributors may be used to endorse or promote products derived
+ *     from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY CANON INC. AND ITS CONTRIBUTORS &quot;AS IS&quot; AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL CANON INC. AND 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;
+
+#if ENABLE(STREAMS_API)
+#include &quot;JSCountQueuingStrategy.h&quot;
+
+#include &quot;JSDOMBinding.h&quot;
+
+using namespace JSC;
+
+namespace WebCore {
+
+EncodedJSValue JSC_HOST_CALL jsCountQueuingStrategyPrototypeFunctionSize(ExecState*)
+{
+    return JSValue::encode(jsNumber(CountQueuingStrategy::size()));
+}
+
+EncodedJSValue JSC_HOST_CALL constructJSCountQueuingStrategy(ExecState* exec)
+{
+    JSValue value = exec-&gt;argument(0);
+    if (value.isNull() || value.isUndefined())
+        return throwVMError(exec, createTypeError(exec, ASCIILiteral(&quot;constructor argument cannot be null or undefined&quot;)));
+
+    Ref&lt;CountQueuingStrategy&gt; countQueuingStrategy = adoptRef(*new CountQueuingStrategy());
+    JSValue jsCountQueuingStrategy = CREATE_DOM_WRAPPER(jsCast&lt;DOMConstructorObject*&gt;(exec-&gt;callee())-&gt;globalObject(), CountQueuingStrategy, countQueuingStrategy.ptr());
+
+    if (!value.isObject())
+        return JSValue::encode(jsCountQueuingStrategy);
+
+    JSObject* argumentObject = value.getObject();
+    JSValue jsHighWaterMark = getPropertyFromObject(*exec, *argumentObject, &quot;highWaterMark&quot;);
+    if (exec-&gt;hadException())
+        return JSValue::encode(jsUndefined());
+    setPropertyToObject(*exec, *jsCountQueuingStrategy.getObject(), &quot;highWaterMark&quot;, jsHighWaterMark);
+
+    return JSValue::encode(jsCountQueuingStrategy);
+}
+
+} // namespace WebCore
+
+#endif
</ins></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSDOMBindingh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSDOMBinding.h (188126 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSDOMBinding.h        2015-08-07 16:04:49 UTC (rev 188126)
+++ trunk/Source/WebCore/bindings/js/JSDOMBinding.h        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -632,6 +632,17 @@
</span><span class="cx">     static bool shouldAllowAccessToDOMWindow(JSC::ExecState*, DOMWindow&amp;, SecurityReportingOption = ReportSecurityError);
</span><span class="cx">     static bool shouldAllowAccessToFrame(JSC::ExecState*, Frame*, SecurityReportingOption = ReportSecurityError);
</span><span class="cx"> };
</span><ins>+
+inline JSC::JSValue getPropertyFromObject(JSC::ExecState&amp; exec, JSC::JSObject&amp; object, const char* identifier)
+{
+    return object.get(&amp;exec, JSC::Identifier::fromString(&amp;exec, identifier));
+}
+
+inline void setPropertyToObject(JSC::ExecState&amp; exec, JSC::JSObject&amp; object, const char* name, JSC::JSValue value)
+{
+    JSC::PutPropertySlot propertySlot(&amp;object);
+    JSC::JSObject::put(&amp;object, &amp;exec, JSC::Identifier::fromString(&amp;exec, name), value, propertySlot);
+}
</ins><span class="cx">     
</span><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsReadableJSStreamcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/ReadableJSStream.cpp (188126 => 188127)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/ReadableJSStream.cpp        2015-08-07 16:04:49 UTC (rev 188126)
+++ trunk/Source/WebCore/bindings/js/ReadableJSStream.cpp        2015-08-07 16:35:43 UTC (rev 188127)
</span><span class="lines">@@ -51,11 +51,6 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-static inline JSValue getPropertyFromObject(ExecState&amp; exec, JSObject&amp; object, const char* identifier)
-{
-    return object.get(&amp;exec, Identifier::fromString(&amp;exec, identifier));
-}
-
</del><span class="cx"> static inline JSValue callFunction(ExecState&amp; exec, JSValue jsFunction, JSValue thisValue, const ArgList&amp; arguments)
</span><span class="cx"> {
</span><span class="cx">     CallData callData;
</span></span></pre>
</div>
</div>

</body>
</html>