<!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>[180914] 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/180914">180914</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2015-03-02 19:25:21 -0800 (Mon, 02 Mar 2015)</dd>
</dl>
<h3>Log Message</h3>
<pre>Unreviewed, rolling out <a href="http://trac.webkit.org/projects/webkit/changeset/180911">r180911</a>.
https://bugs.webkit.org/show_bug.cgi?id=142204
The tests it added are crashing (Requested by bdash on
#webkit).
Reverted changeset:
"Add a microtask abstraction"
https://bugs.webkit.org/show_bug.cgi?id=137496
http://trac.webkit.org/changeset/180911</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</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="#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="#trunkSourceWebCoreWebCorevcxprojWebCoreTestSupportvcxproj">trunk/Source/WebCore/WebCore.vcxproj/WebCoreTestSupport.vcxproj</a></li>
<li><a href="#trunkSourceWebCoreWebCorevcxprojWebCoreTestSupportvcxprojfilters">trunk/Source/WebCore/WebCore.vcxproj/WebCoreTestSupport.vcxproj.filters</a></li>
<li><a href="#trunkSourceWebCoreWebCorexcodeprojprojectpbxproj">trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebCoredomDocumenth">trunk/Source/WebCore/dom/Document.h</a></li>
<li><a href="#trunkSourceWebCoredomScriptRunnercpp">trunk/Source/WebCore/dom/ScriptRunner.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlparserHTMLScriptRunnercpp">trunk/Source/WebCore/html/parser/HTMLScriptRunner.cpp</a></li>
<li><a href="#trunkSourceWebCoretestingInternalscpp">trunk/Source/WebCore/testing/Internals.cpp</a></li>
<li><a href="#trunkSourceWebCoretestingInternalsh">trunk/Source/WebCore/testing/Internals.h</a></li>
<li><a href="#trunkSourceWebCoretestingInternalsidl">trunk/Source/WebCore/testing/Internals.idl</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsfastdommicrotaskdetachexpectedtxt">trunk/LayoutTests/fast/dom/microtask-detach-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastdommicrotaskdetachhtml">trunk/LayoutTests/fast/dom/microtask-detach.html</a></li>
<li><a href="#trunkLayoutTestsfastdommicrotaskinorderexpectedtxt">trunk/LayoutTests/fast/dom/microtask-inorder-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastdommicrotaskinorderhtml">trunk/LayoutTests/fast/dom/microtask-inorder.html</a></li>
<li><a href="#trunkLayoutTestsfastdommicrotaskreverseexpectedtxt">trunk/LayoutTests/fast/dom/microtask-reverse-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastdommicrotaskreversehtml">trunk/LayoutTests/fast/dom/microtask-reverse.html</a></li>
<li><a href="#trunkSourceWebCoredomMicroTaskcpp">trunk/Source/WebCore/dom/MicroTask.cpp</a></li>
<li><a href="#trunkSourceWebCoredomMicroTaskh">trunk/Source/WebCore/dom/MicroTask.h</a></li>
<li><a href="#trunkSourceWebCoretestingMicroTaskTestcpp">trunk/Source/WebCore/testing/MicroTaskTest.cpp</a></li>
<li><a href="#trunkSourceWebCoretestingMicroTaskTesth">trunk/Source/WebCore/testing/MicroTaskTest.h</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (180913 => 180914)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2015-03-03 02:24:49 UTC (rev 180913)
+++ trunk/LayoutTests/ChangeLog        2015-03-03 03:25:21 UTC (rev 180914)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2015-03-02 Commit Queue <commit-queue@webkit.org>
+
+ Unreviewed, rolling out r180911.
+ https://bugs.webkit.org/show_bug.cgi?id=142204
+
+ The tests it added are crashing (Requested by bdash on
+ #webkit).
+
+ Reverted changeset:
+
+ "Add a microtask abstraction"
+ https://bugs.webkit.org/show_bug.cgi?id=137496
+ http://trac.webkit.org/changeset/180911
+
</ins><span class="cx"> 2015-03-02 Yoav Weiss <yoav@yoav.ws>
</span><span class="cx">
</span><span class="cx"> Add a microtask abstraction
</span></span></pre></div>
<a id="trunkLayoutTestsfastdommicrotaskdetachexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/dom/microtask-detach-expected.txt (180913 => 180914)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/microtask-detach-expected.txt        2015-03-03 02:24:49 UTC (rev 180913)
+++ trunk/LayoutTests/fast/dom/microtask-detach-expected.txt        2015-03-03 03:25:21 UTC (rev 180914)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 31: Finished queueing tests.
-CONSOLE MESSAGE: MicroTask #1 has run.
-CONSOLE MESSAGE: MicroTask #0 has run.
-
-
---------
-Frame: 'frame1'
---------
-
</del></span></pre></div>
<a id="trunkLayoutTestsfastdommicrotaskdetachhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/dom/microtask-detach.html (180913 => 180914)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/microtask-detach.html        2015-03-03 02:24:49 UTC (rev 180913)
+++ trunk/LayoutTests/fast/dom/microtask-detach.html        2015-03-03 03:25:21 UTC (rev 180914)
</span><span class="lines">@@ -1,37 +0,0 @@
</span><del>-<!DOCTYPE html>
-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.dumpChildFramesAsText();
- testRunner.waitUntilDone();
-}
-</script>
-<body>
-<iframe id="frame1"></iframe>
-<iframe id="frame2"></iframe>
-<script>
-
-(function() {
- var iframe1 = document.querySelector("#frame1").contentWindow;
- var iframe2Node = document.querySelector("#frame2");
- var iframe2 = iframe2Node.contentWindow;
-
- if(iframe2.internals)
- iframe2.internals.queueMicroTask(2);
- if(iframe1.internals)
- iframe1.internals.queueMicroTask(1);
- if(window.internals)
- internals.queueMicroTask(0);
- document.body.removeChild(iframe2Node);
-}());
-
-if (window.GCController)
- GCController.collect();
-
-console.log("Finished queueing tests.");
-requestAnimationFrame(function() {
- if (window.testRunner)
- testRunner.notifyDone();
-});
-</script>
-</body>
</del></span></pre></div>
<a id="trunkLayoutTestsfastdommicrotaskinorderexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/dom/microtask-inorder-expected.txt (180913 => 180914)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/microtask-inorder-expected.txt        2015-03-03 02:24:49 UTC (rev 180913)
+++ trunk/LayoutTests/fast/dom/microtask-inorder-expected.txt        2015-03-03 03:25:21 UTC (rev 180914)
</span><span class="lines">@@ -1,15 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 23: Finished queueing tests.
-CONSOLE MESSAGE: MicroTask #2 has run.
-CONSOLE MESSAGE: MicroTask #1 has run.
-CONSOLE MESSAGE: MicroTask #0 has run.
-
-
---------
-Frame: 'frame1'
---------
-
-
---------
-Frame: 'frame2'
---------
-
</del></span></pre></div>
<a id="trunkLayoutTestsfastdommicrotaskinorderhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/dom/microtask-inorder.html (180913 => 180914)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/microtask-inorder.html        2015-03-03 02:24:49 UTC (rev 180913)
+++ trunk/LayoutTests/fast/dom/microtask-inorder.html        2015-03-03 03:25:21 UTC (rev 180914)
</span><span class="lines">@@ -1,28 +0,0 @@
</span><del>-<!DOCTYPE html>
-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.dumpChildFramesAsText();
- testRunner.waitUntilDone();
-}
-</script>
-<iframe id="frame1"></iframe>
-<iframe id="frame2"></iframe>
-<script>
-
-var iframe1 = document.querySelector("#frame1").contentWindow;
-var iframe2 = document.querySelector("#frame2").contentWindow;
-
-if(iframe2.internals)
- iframe2.internals.queueMicroTask(2);
-if(iframe1.internals)
- iframe1.internals.queueMicroTask(1);
-if(window.internals)
- internals.queueMicroTask(0);
-
-console.log("Finished queueing tests.");
-requestAnimationFrame(function() {
- if (window.testRunner)
- testRunner.notifyDone();
-});
-</script>
</del></span></pre></div>
<a id="trunkLayoutTestsfastdommicrotaskreverseexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/dom/microtask-reverse-expected.txt (180913 => 180914)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/microtask-reverse-expected.txt        2015-03-03 02:24:49 UTC (rev 180913)
+++ trunk/LayoutTests/fast/dom/microtask-reverse-expected.txt        2015-03-03 03:25:21 UTC (rev 180914)
</span><span class="lines">@@ -1,15 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 23: Finished queueing tests.
-CONSOLE MESSAGE: MicroTask #0 has run.
-CONSOLE MESSAGE: MicroTask #1 has run.
-CONSOLE MESSAGE: MicroTask #2 has run.
-
-
---------
-Frame: 'frame1'
---------
-
-
---------
-Frame: 'frame2'
---------
-
</del></span></pre></div>
<a id="trunkLayoutTestsfastdommicrotaskreversehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/dom/microtask-reverse.html (180913 => 180914)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/microtask-reverse.html        2015-03-03 02:24:49 UTC (rev 180913)
+++ trunk/LayoutTests/fast/dom/microtask-reverse.html        2015-03-03 03:25:21 UTC (rev 180914)
</span><span class="lines">@@ -1,28 +0,0 @@
</span><del>-<!DOCTYPE html>
-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.dumpChildFramesAsText();
- testRunner.waitUntilDone();
-}
-</script>
-<iframe id="frame1"></iframe>
-<iframe id="frame2"></iframe>
-<script>
-
-var iframe1 = document.querySelector("#frame1").contentWindow;
-var iframe2 = document.querySelector("#frame2").contentWindow;
-
-if(window.internals)
- internals.queueMicroTask(0);
-if(iframe1.internals)
- iframe1.internals.queueMicroTask(1);
-if(iframe2.internals)
- iframe2.internals.queueMicroTask(2);
-
-console.log("Finished queueing tests.");
-requestAnimationFrame(function() {
- if (window.testRunner)
- testRunner.notifyDone();
-});
-</script>
</del></span></pre></div>
<a id="trunkSourceWebCoreCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/CMakeLists.txt (180913 => 180914)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/CMakeLists.txt        2015-03-03 02:24:49 UTC (rev 180913)
+++ trunk/Source/WebCore/CMakeLists.txt        2015-03-03 03:25:21 UTC (rev 180914)
</span><span class="lines">@@ -1370,7 +1370,6 @@
</span><span class="cx"> dom/MessageEvent.cpp
</span><span class="cx"> dom/MessagePort.cpp
</span><span class="cx"> dom/MessagePortChannel.cpp
</span><del>- dom/MicroTask.cpp
</del><span class="cx"> dom/MouseEvent.cpp
</span><span class="cx"> dom/MouseRelatedEvent.cpp
</span><span class="cx"> dom/MutationEvent.cpp
</span><span class="lines">@@ -3155,7 +3154,6 @@
</span><span class="cx"> testing/InternalSettings.cpp
</span><span class="cx"> testing/Internals.cpp
</span><span class="cx">
</span><del>- testing/MicroTaskTest.cpp
</del><span class="cx"> testing/MockPageOverlayClient.cpp
</span><span class="cx">
</span><span class="cx"> testing/js/WebCoreTestSupport.cpp
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (180913 => 180914)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-03-03 02:24:49 UTC (rev 180913)
+++ trunk/Source/WebCore/ChangeLog        2015-03-03 03:25:21 UTC (rev 180914)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2015-03-02 Commit Queue <commit-queue@webkit.org>
+
+ Unreviewed, rolling out r180911.
+ https://bugs.webkit.org/show_bug.cgi?id=142204
+
+ The tests it added are crashing (Requested by bdash on
+ #webkit).
+
+ Reverted changeset:
+
+ "Add a microtask abstraction"
+ https://bugs.webkit.org/show_bug.cgi?id=137496
+ http://trac.webkit.org/changeset/180911
+
</ins><span class="cx"> 2015-03-02 Yoav Weiss <yoav@yoav.ws>
</span><span class="cx">
</span><span class="cx"> Add a microtask abstraction
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorevcxprojWebCorevcxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj (180913 => 180914)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj        2015-03-03 02:24:49 UTC (rev 180913)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj        2015-03-03 03:25:21 UTC (rev 180914)
</span><span class="lines">@@ -13434,7 +13434,6 @@
</span><span class="cx"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|Win32'">true</ExcludedFromBuild>
</span><span class="cx"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Production|x64'">true</ExcludedFromBuild>
</span><span class="cx"> </ClCompile>
</span><del>- <ClCompile Include="..\dom\MicroTask.cpp" />
</del><span class="cx"> <ClCompile Include="..\dom\MouseEvent.cpp">
</span><span class="cx"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
</span><span class="cx"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
</span><span class="lines">@@ -20625,7 +20624,6 @@
</span><span class="cx"> <ClInclude Include="..\dom\MessageEvent.h" />
</span><span class="cx"> <ClInclude Include="..\dom\MessagePort.h" />
</span><span class="cx"> <ClInclude Include="..\dom\MessagePortChannel.h" />
</span><del>- <ClInclude Include="..\dom\MicroTask.h" />
</del><span class="cx"> <ClInclude Include="..\dom\MouseEvent.h" />
</span><span class="cx"> <ClInclude Include="..\dom\MouseRelatedEvent.h" />
</span><span class="cx"> <ClInclude Include="..\dom\MutationEvent.h" />
</span><span class="lines">@@ -21427,4 +21425,4 @@
</span><span class="cx"> <ImportGroup Label="ExtensionTargets">
</span><span class="cx"> <Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" />
</span><span class="cx"> </ImportGroup>
</span><del>-</Project>
</del><ins>+</Project>
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorevcxprojWebCorevcxprojfilters"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters (180913 => 180914)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters        2015-03-03 02:24:49 UTC (rev 180913)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters        2015-03-03 03:25:21 UTC (rev 180914)
</span><span class="lines">@@ -3201,9 +3201,6 @@
</span><span class="cx"> <ClCompile Include="..\dom\MessagePortChannel.cpp">
</span><span class="cx"> <Filter>dom</Filter>
</span><span class="cx"> </ClCompile>
</span><del>- <ClCompile Include="..\dom\MicroTask.cpp">
- <Filter>dom</Filter>
- </ClCompile>
</del><span class="cx"> <ClCompile Include="..\dom\MouseEvent.cpp">
</span><span class="cx"> <Filter>dom</Filter>
</span><span class="cx"> </ClCompile>
</span><span class="lines">@@ -10272,9 +10269,6 @@
</span><span class="cx"> <ClInclude Include="..\dom\MessagePortChannel.h">
</span><span class="cx"> <Filter>dom</Filter>
</span><span class="cx"> </ClInclude>
</span><del>- <ClInclude Include="..\dom\MicroTask.h">
- <Filter>dom</Filter>
- </ClInclude>
</del><span class="cx"> <ClInclude Include="..\dom\MouseEvent.h">
</span><span class="cx"> <Filter>dom</Filter>
</span><span class="cx"> </ClInclude>
</span><span class="lines">@@ -15401,4 +15395,4 @@
</span><span class="cx"> <Filter>platform\win</Filter>
</span><span class="cx"> </MASM>
</span><span class="cx"> </ItemGroup>
</span><del>-</Project>
</del><ins>+</Project>
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorevcxprojWebCoreTestSupportvcxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCoreTestSupport.vcxproj (180913 => 180914)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.vcxproj/WebCoreTestSupport.vcxproj        2015-03-03 02:24:49 UTC (rev 180913)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCoreTestSupport.vcxproj        2015-03-03 03:25:21 UTC (rev 180914)
</span><span class="lines">@@ -275,7 +275,6 @@
</span><span class="cx"> <ForcedIncludeFiles Condition="'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'">
</span><span class="cx"> </ForcedIncludeFiles>
</span><span class="cx"> </ClCompile>
</span><del>- <ClCompile Include="..\testing\MicroTaskTest.cpp" />
</del><span class="cx"> <ClCompile Include="..\testing\MockPageOverlayClient.cpp" />
</span><span class="cx"> <ClCompile Include="..\testing\InternalSettings.cpp" />
</span><span class="cx"> <ClCompile Include="..\testing\js\WebCoreTestSupport.cpp" />
</span><span class="lines">@@ -292,7 +291,6 @@
</span><span class="cx"> <ClInclude Include="..\testing\js\WebCoreTestSupportPrefix.h" />
</span><span class="cx"> <ClInclude Include="..\testing\MallocStatistics.h" />
</span><span class="cx"> <ClInclude Include="..\testing\MemoryInfo.h" />
</span><del>- <ClInclude Include="..\testing\MicroTaskTest.h" />
</del><span class="cx"> <ClInclude Include="..\testing\MockCDM.h" />
</span><span class="cx"> <ClInclude Include="..\testing\MockPageOverlayClient.h" />
</span><span class="cx"> <ClInclude Include="..\testing\TypeConversions.h" />
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorevcxprojWebCoreTestSupportvcxprojfilters"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCoreTestSupport.vcxproj.filters (180913 => 180914)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.vcxproj/WebCoreTestSupport.vcxproj.filters        2015-03-03 02:24:49 UTC (rev 180913)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCoreTestSupport.vcxproj.filters        2015-03-03 03:25:21 UTC (rev 180914)
</span><span class="lines">@@ -39,9 +39,6 @@
</span><span class="cx"> <ClCompile Include="..\testing\js\WebCoreTestSupport.cpp">
</span><span class="cx"> <Filter>testing</Filter>
</span><span class="cx"> </ClCompile>
</span><del>- <ClCompile Include="..\testing\MicroTaskTest.cpp">
- <Filter>testing</Filter>
- </ClCompile>
</del><span class="cx"> <ClCompile Include="..\testing\MockCDM.cpp">
</span><span class="cx"> <Filter>testing</Filter>
</span><span class="cx"> </ClCompile>
</span><span class="lines">@@ -93,9 +90,6 @@
</span><span class="cx"> <Filter>testing</Filter>
</span><span class="cx"> </ClInclude>
</span><span class="cx"> <ClInclude Include="..\config.h" />
</span><del>- <ClInclude Include="..\testing\MicroTaskTest.h">
- <Filter>testing</Filter>
- </ClInclude>
</del><span class="cx"> <ClInclude Include="..\testing\MockCDM.h">
</span><span class="cx"> <Filter>testing</Filter>
</span><span class="cx"> </ClInclude>
</span><span class="lines">@@ -106,4 +100,4 @@
</span><span class="cx"> <Filter>testing</Filter>
</span><span class="cx"> </ClInclude>
</span><span class="cx"> </ItemGroup>
</span><del>-</Project>
</del><ins>+</Project>
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (180913 => 180914)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2015-03-03 02:24:49 UTC (rev 180913)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2015-03-03 03:25:21 UTC (rev 180914)
</span><span class="lines">@@ -2078,7 +2078,6 @@
</span><span class="cx">                 536D5A23193E8E0C00CE4CAB /* ParsingUtilities.h in Headers */ = {isa = PBXBuildFile; fileRef = 536D5A22193E8E0C00CE4CAB /* ParsingUtilities.h */; };
</span><span class="cx">                 536D5A25193F40FC00CE4CAB /* SourceSizeList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 536D5A24193F40FC00CE4CAB /* SourceSizeList.cpp */; };
</span><span class="cx">                 536D5A27193F410B00CE4CAB /* SourceSizeList.h in Headers */ = {isa = PBXBuildFile; fileRef = 536D5A26193F410B00CE4CAB /* SourceSizeList.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><del>-                53B895AF19DC7ED9009CAA93 /* MicroTask.h in Headers */ = {isa = PBXBuildFile; fileRef = 53B895AD19DC7C37009CAA93 /* MicroTask.h */; settings = {ATTRIBUTES = (Public, ); }; };
</del><span class="cx">                 53C8298D13D8D92700DE2DEB /* RenderFlexibleBox.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 53C8298B13D8D92700DE2DEB /* RenderFlexibleBox.cpp */; };
</span><span class="cx">                 53C8298E13D8D92700DE2DEB /* RenderFlexibleBox.h in Headers */ = {isa = PBXBuildFile; fileRef = 53C8298C13D8D92700DE2DEB /* RenderFlexibleBox.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 53E29E5E167A8A1900586D3D /* InternalSettingsGenerated.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 53E29E5C167A8A1900586D3D /* InternalSettingsGenerated.cpp */; };
</span><span class="lines">@@ -5622,9 +5621,6 @@
</span><span class="cx">                 CA3BF67E10D99BAE00E6CE53 /* ScrollAnimator.h in Headers */ = {isa = PBXBuildFile; fileRef = CA3BF67D10D99BAE00E6CE53 /* ScrollAnimator.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 CAE9F90F146441F000C245B0 /* CSSAspectRatioValue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CAE9F90D146441F000C245B0 /* CSSAspectRatioValue.cpp */; };
</span><span class="cx">                 CAE9F910146441F000C245B0 /* CSSAspectRatioValue.h in Headers */ = {isa = PBXBuildFile; fileRef = CAE9F90E146441F000C245B0 /* CSSAspectRatioValue.h */; };
</span><del>-                CB8CF0181A9358D4000D510B /* MicroTask.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CB8CF0151A934B43000D510B /* MicroTask.cpp */; };
-                CB8CF01D1A95DE42000D510B /* MicroTaskTest.h in Headers */ = {isa = PBXBuildFile; fileRef = CB8CF01C1A95DE42000D510B /* MicroTaskTest.h */; };
-                CB8CF01F1A95DE59000D510B /* MicroTaskTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CB8CF01E1A95DE59000D510B /* MicroTaskTest.cpp */; };
</del><span class="cx">                 CCC2B51415F613060048CDD6 /* DeviceClient.h in Headers */ = {isa = PBXBuildFile; fileRef = CCC2B51015F613060048CDD6 /* DeviceClient.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 CCC2B51515F613060048CDD6 /* DeviceController.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CCC2B51115F613060048CDD6 /* DeviceController.cpp */; };
</span><span class="cx">                 CCC2B51615F613060048CDD6 /* DeviceController.h in Headers */ = {isa = PBXBuildFile; fileRef = CCC2B51215F613060048CDD6 /* DeviceController.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="lines">@@ -9231,7 +9227,6 @@
</span><span class="cx">                 536D5A22193E8E0C00CE4CAB /* ParsingUtilities.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ParsingUtilities.h; path = parser/ParsingUtilities.h; sourceTree = "<group>"; };
</span><span class="cx">                 536D5A24193F40FC00CE4CAB /* SourceSizeList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SourceSizeList.cpp; sourceTree = "<group>"; };
</span><span class="cx">                 536D5A26193F410B00CE4CAB /* SourceSizeList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SourceSizeList.h; sourceTree = "<group>"; };
</span><del>-                53B895AD19DC7C37009CAA93 /* MicroTask.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MicroTask.h; sourceTree = "<group>"; };
</del><span class="cx">                 53C8298B13D8D92700DE2DEB /* RenderFlexibleBox.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RenderFlexibleBox.cpp; sourceTree = "<group>"; };
</span><span class="cx">                 53C8298C13D8D92700DE2DEB /* RenderFlexibleBox.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RenderFlexibleBox.h; sourceTree = "<group>"; };
</span><span class="cx">                 53E29E5C167A8A1900586D3D /* InternalSettingsGenerated.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InternalSettingsGenerated.cpp; sourceTree = "<group>"; };
</span><span class="lines">@@ -13092,9 +13087,6 @@
</span><span class="cx">                 CA3BF67D10D99BAE00E6CE53 /* ScrollAnimator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScrollAnimator.h; sourceTree = "<group>"; };
</span><span class="cx">                 CAE9F90D146441F000C245B0 /* CSSAspectRatioValue.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CSSAspectRatioValue.cpp; sourceTree = "<group>"; };
</span><span class="cx">                 CAE9F90E146441F000C245B0 /* CSSAspectRatioValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CSSAspectRatioValue.h; sourceTree = "<group>"; };
</span><del>-                CB8CF0151A934B43000D510B /* MicroTask.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MicroTask.cpp; sourceTree = "<group>"; };
-                CB8CF01C1A95DE42000D510B /* MicroTaskTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MicroTaskTest.h; sourceTree = "<group>"; };
-                CB8CF01E1A95DE59000D510B /* MicroTaskTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MicroTaskTest.cpp; sourceTree = "<group>"; };
</del><span class="cx">                 CCC2B51015F613060048CDD6 /* DeviceClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DeviceClient.h; sourceTree = "<group>"; };
</span><span class="cx">                 CCC2B51115F613060048CDD6 /* DeviceController.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DeviceController.cpp; sourceTree = "<group>"; };
</span><span class="cx">                 CCC2B51215F613060048CDD6 /* DeviceController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DeviceController.h; sourceTree = "<group>"; };
</span><span class="lines">@@ -15679,8 +15671,6 @@
</span><span class="cx">                                 A7BF7EDD14C9175A0014489D /* InternalSettings.h */,
</span><span class="cx">                                 A7BF7EDE14C9175A0014489D /* InternalSettings.idl */,
</span><span class="cx">                                 A7BE7EDD14C9175A0014489D /* MallocStatistics.h */,
</span><del>-                                CB8CF01E1A95DE59000D510B /* MicroTaskTest.cpp */,
-                                CB8CF01C1A95DE42000D510B /* MicroTaskTest.h */,
</del><span class="cx">                                 A7BE7EDE14C9175A0014489D /* MallocStatistics.idl */,
</span><span class="cx">                                 CD5393CB175DCCE600C07123 /* MemoryInfo.h */,
</span><span class="cx">                                 CD5393CC175DCCE600C07123 /* MemoryInfo.idl */,
</span><span class="lines">@@ -22889,8 +22879,6 @@
</span><span class="cx">                                 E1ADECBD0E76ACF1004A1A5E /* MessagePort.h */,
</span><span class="cx">                                 E1ADECC60E76AD1F004A1A5E /* MessagePort.idl */,
</span><span class="cx">                                 41BF700A0FE86F49005E8DEC /* MessagePortChannel.h */,
</span><del>-                                53B895AD19DC7C37009CAA93 /* MicroTask.h */,
-                                CB8CF0151A934B43000D510B /* MicroTask.cpp */,
</del><span class="cx">                                 85031B2F0A44EFC700F992E0 /* MouseEvent.cpp */,
</span><span class="cx">                                 85031B300A44EFC700F992E0 /* MouseEvent.h */,
</span><span class="cx">                                 141B94E509EC4223000E9413 /* MouseEvent.idl */,
</span><span class="lines">@@ -23455,7 +23443,6 @@
</span><span class="cx">                                 53ED3FDF167A88E7006762E6 /* JSInternalSettingsGenerated.h in Headers */,
</span><span class="cx">                                 A740B59514C935AB00A77FA4 /* JSMallocStatistics.h in Headers */,
</span><span class="cx">                                 CD5393D4175E018600C07123 /* JSMemoryInfo.h in Headers */,
</span><del>-                                CB8CF01D1A95DE42000D510B /* MicroTaskTest.h in Headers */,
</del><span class="cx">                                 EBF5121D1696496C0056BD25 /* JSTypeConversions.h in Headers */,
</span><span class="cx">                                 CDC26B41160A8CCE0026757B /* MockCDM.h in Headers */,
</span><span class="cx">                                 2D97F04819DD4140001EE9C3 /* MockPageOverlayClient.h in Headers */,
</span><span class="lines">@@ -25880,7 +25867,6 @@
</span><span class="cx">                                 53C8298E13D8D92700DE2DEB /* RenderFlexibleBox.h in Headers */,
</span><span class="cx">                                 508CCA4F13CF106B003151F3 /* RenderFlowThread.h in Headers */,
</span><span class="cx">                                 A871DED30A1530C700B12A68 /* RenderFrame.h in Headers */,
</span><del>-                                53B895AF19DC7ED9009CAA93 /* MicroTask.h in Headers */,
</del><span class="cx">                                 0FD3080F117CF7E700A791F7 /* RenderFrameBase.h in Headers */,
</span><span class="cx">                                 A871DED10A1530C700B12A68 /* RenderFrameSet.h in Headers */,
</span><span class="cx">                                 CDEA7C841276230400B846DD /* RenderFullScreen.h in Headers */,
</span><span class="lines">@@ -27207,7 +27193,6 @@
</span><span class="cx">                                 53E29E5E167A8A1900586D3D /* InternalSettingsGenerated.cpp in Sources */,
</span><span class="cx">                                 417DA71D13735DFA007C57FB /* JSInternals.cpp in Sources */,
</span><span class="cx">                                 A740B5A714C935AF00A77FA4 /* JSInternalSettings.cpp in Sources */,
</span><del>-                                CB8CF01F1A95DE59000D510B /* MicroTaskTest.cpp in Sources */,
</del><span class="cx">                                 53ED3FDE167A88E7006762E6 /* JSInternalSettingsGenerated.cpp in Sources */,
</span><span class="cx">                                 A740B59714C935AF00A77FA4 /* JSMallocStatistics.cpp in Sources */,
</span><span class="cx">                                 CD5393D3175E018600C07123 /* JSMemoryInfo.cpp in Sources */,
</span><span class="lines">@@ -29843,7 +29828,6 @@
</span><span class="cx">                                 B2227A900D00BF220071B782 /* SVGPolygonElement.cpp in Sources */,
</span><span class="cx">                                 B2227A930D00BF220071B782 /* SVGPolylineElement.cpp in Sources */,
</span><span class="cx">                                 B2227A960D00BF220071B782 /* SVGPreserveAspectRatio.cpp in Sources */,
</span><del>-                                CB8CF0181A9358D4000D510B /* MicroTask.cpp in Sources */,
</del><span class="cx">                                 B543B85717EB758F003BE93A /* SVGPropertyInfo.cpp in Sources */,
</span><span class="cx">                                 B2227A990D00BF220071B782 /* SVGRadialGradientElement.cpp in Sources */,
</span><span class="cx">                                 B2227A9D0D00BF220071B782 /* SVGRectElement.cpp in Sources */,
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Document.h (180913 => 180914)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Document.h        2015-03-03 02:24:49 UTC (rev 180913)
+++ trunk/Source/WebCore/dom/Document.h        2015-03-03 03:25:21 UTC (rev 180914)
</span><span class="lines">@@ -1262,7 +1262,7 @@
</span><span class="cx"> void addDisabledFieldsetElement() { m_disabledFieldsetElementsCount++; }
</span><span class="cx"> void removeDisabledFieldsetElement() { ASSERT(m_disabledFieldsetElementsCount); m_disabledFieldsetElementsCount--; }
</span><span class="cx">
</span><del>- WEBCORE_EXPORT virtual void addConsoleMessage(MessageSource, MessageLevel, const String& message, unsigned long requestIdentifier = 0) override final;
</del><ins>+ virtual void addConsoleMessage(MessageSource, MessageLevel, const String& message, unsigned long requestIdentifier = 0) override final;
</ins><span class="cx">
</span><span class="cx"> WEBCORE_EXPORT virtual SecurityOrigin* topOrigin() const override final;
</span><span class="cx">
</span><span class="lines">@@ -1288,7 +1288,6 @@
</span><span class="cx"> bool isPlayingAudio() const { return m_isPlayingAudio; }
</span><span class="cx"> WEBCORE_EXPORT void updateIsPlayingAudio();
</span><span class="cx"> void pageMutedStateDidChange();
</span><del>- WeakPtr<Document> createWeakPtr() { return m_weakFactory.createWeakPtr(); }
</del><span class="cx">
</span><span class="cx"> protected:
</span><span class="cx"> enum ConstructionFlags { Synthesized = 1, NonRenderedPlaceholder = 1 << 1 };
</span></span></pre></div>
<a id="trunkSourceWebCoredomMicroTaskcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/dom/MicroTask.cpp (180913 => 180914)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/MicroTask.cpp        2015-03-03 02:24:49 UTC (rev 180913)
+++ trunk/Source/WebCore/dom/MicroTask.cpp        2015-03-03 03:25:21 UTC (rev 180914)
</span><span class="lines">@@ -1,52 +0,0 @@
</span><del>-/*
- * Copyright (C) 2014 Yoav Weiss (yoav@yoav.ws)
- * Copyright (C) 2015 Akamai Technologies Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#include "config.h"
-#include "MicroTask.h"
-
-#include "Document.h"
-#include <wtf/text/StringBuilder.h>
-
-namespace WebCore {
-
-MicroTaskQueue& MicroTaskQueue::singleton()
-{
- ASSERT(isMainThread());
- static NeverDestroyed<MicroTaskQueue> queue;
- return queue;
-}
-
-void MicroTaskQueue::queueMicroTask(std::unique_ptr<MicroTask> task)
-{
- ASSERT(isMainThread());
- m_microTaskQueue.append(WTF::move(task));
-}
-
-void MicroTaskQueue::runMicroTasks()
-{
- ASSERT(isMainThread());
- for (auto& task : m_microTaskQueue)
- task->run();
- m_microTaskQueue.clear();
-}
-
-} // namespace WebCore
-
</del></span></pre></div>
<a id="trunkSourceWebCoredomMicroTaskh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/dom/MicroTask.h (180913 => 180914)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/MicroTask.h        2015-03-03 02:24:49 UTC (rev 180913)
+++ trunk/Source/WebCore/dom/MicroTask.h        2015-03-03 03:25:21 UTC (rev 180914)
</span><span class="lines">@@ -1,56 +0,0 @@
</span><del>-/*
- * Copyright (C) 2014 Yoav Weiss (yoav@yoav.ws)
- * Copyright (C) 2015 Akamai Technologies Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#ifndef MicroTask_h
-#define MicroTask_h
-
-#include <wtf/NeverDestroyed.h>
-#include <wtf/RefCounted.h>
-#include <wtf/Vector.h>
-
-
-namespace WebCore {
-
-class MicroTask : public RefCounted<MicroTask> {
-public:
- virtual void run() = 0;
- virtual ~MicroTask() { }
-};
-
-class MicroTaskQueue {
- friend NeverDestroyed<MicroTaskQueue>;
-
-public:
- WEBCORE_EXPORT static MicroTaskQueue& singleton();
- ~MicroTaskQueue() { }
-
- WEBCORE_EXPORT void queueMicroTask(std::unique_ptr<MicroTask>);
-
- void runMicroTasks();
-
-private:
- MicroTaskQueue() { }
- Vector<std::unique_ptr<MicroTask>> m_microTaskQueue;
-};
-
-} // namespace WebCore
-
-#endif // MicroTask_h
</del></span></pre></div>
<a id="trunkSourceWebCoredomScriptRunnercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/ScriptRunner.cpp (180913 => 180914)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/ScriptRunner.cpp        2015-03-03 02:24:49 UTC (rev 180913)
+++ trunk/Source/WebCore/dom/ScriptRunner.cpp        2015-03-03 03:25:21 UTC (rev 180914)
</span><span class="lines">@@ -28,7 +28,6 @@
</span><span class="cx">
</span><span class="cx"> #include "CachedScript.h"
</span><span class="cx"> #include "Element.h"
</span><del>-#include "MicroTask.h"
</del><span class="cx"> #include "PendingScript.h"
</span><span class="cx"> #include "ScriptElement.h"
</span><span class="cx">
</span><span class="lines">@@ -117,7 +116,6 @@
</span><span class="cx"> toScriptElementIfPossible(element.get())->execute(cachedScript);
</span><span class="cx"> m_document.decrementLoadEventDelayCount();
</span><span class="cx"> }
</span><del>- MicroTaskQueue::singleton().runMicroTasks();
</del><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlparserHTMLScriptRunnercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/parser/HTMLScriptRunner.cpp (180913 => 180914)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/parser/HTMLScriptRunner.cpp        2015-03-03 02:24:49 UTC (rev 180913)
+++ trunk/Source/WebCore/html/parser/HTMLScriptRunner.cpp        2015-03-03 03:25:21 UTC (rev 180914)
</span><span class="lines">@@ -36,7 +36,6 @@
</span><span class="cx"> #include "HTMLNames.h"
</span><span class="cx"> #include "HTMLScriptRunnerHost.h"
</span><span class="cx"> #include "IgnoreDestructiveWriteCountIncrementer.h"
</span><del>-#include "MicroTask.h"
</del><span class="cx"> #include "MutationObserver.h"
</span><span class="cx"> #include "NestingLevelIncrementer.h"
</span><span class="cx"> #include "NotImplemented.h"
</span><span class="lines">@@ -130,10 +129,8 @@
</span><span class="cx"> if (pendingScript.cachedScript() && pendingScript.watchingForLoad())
</span><span class="cx"> stopWatchingForLoad(pendingScript);
</span><span class="cx">
</span><del>- if (!isExecutingScript()) {
</del><ins>+ if (!isExecutingScript())
</ins><span class="cx"> MutationObserver::deliverAllMutations();
</span><del>- MicroTaskQueue::singleton().runMicroTasks();
- }
</del><span class="cx">
</span><span class="cx"> // Clear the pending script before possible rentrancy from executeScript()
</span><span class="cx"> RefPtr<Element> element = pendingScript.releaseElementAndClear();
</span><span class="lines">@@ -234,8 +231,6 @@
</span><span class="cx"> if (!m_document)
</span><span class="cx"> return false;
</span><span class="cx"> }
</span><del>- if (!isExecutingScript())
- MicroTaskQueue::singleton().runMicroTasks();
</del><span class="cx"> return true;
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -298,10 +293,8 @@
</span><span class="cx"> // every script element, even if it's not ready to execute yet. There's
</span><span class="cx"> // unfortuantely no obvious way to tell if prepareScript is going to
</span><span class="cx"> // execute the script from out here.
</span><del>- if (!isExecutingScript()) {
</del><ins>+ if (!isExecutingScript())
</ins><span class="cx"> MutationObserver::deliverAllMutations();
</span><del>- MicroTaskQueue::singleton().runMicroTasks();
- }
</del><span class="cx">
</span><span class="cx"> InsertionPointRecord insertionPointRecord(m_host.inputStream());
</span><span class="cx"> NestingLevelIncrementer nestingLevelIncrementer(m_scriptNestingLevel);
</span></span></pre></div>
<a id="trunkSourceWebCoretestingInternalscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/testing/Internals.cpp (180913 => 180914)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/testing/Internals.cpp        2015-03-03 02:24:49 UTC (rev 180913)
+++ trunk/Source/WebCore/testing/Internals.cpp        2015-03-03 03:25:21 UTC (rev 180914)
</span><span class="lines">@@ -79,8 +79,6 @@
</span><span class="cx"> #include "MediaSessionManager.h"
</span><span class="cx"> #include "MemoryCache.h"
</span><span class="cx"> #include "MemoryInfo.h"
</span><del>-#include "MicroTask.h"
-#include "MicroTaskTest.h"
</del><span class="cx"> #include "MockPageOverlayClient.h"
</span><span class="cx"> #include "Page.h"
</span><span class="cx"> #include "PageCache.h"
</span><span class="lines">@@ -2534,10 +2532,4 @@
</span><span class="cx"> return File::create(url.fileSystemPath());
</span><span class="cx"> }
</span><span class="cx">
</span><del>-void Internals::queueMicroTask(int testNumber)
-{
- if (contextDocument())
- MicroTaskQueue::singleton().queueMicroTask(MicroTaskTest::create(contextDocument()->createWeakPtr(), testNumber));
</del><span class="cx"> }
</span><del>-
-}
</del></span></pre></div>
<a id="trunkSourceWebCoretestingInternalsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/testing/Internals.h (180913 => 180914)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/testing/Internals.h        2015-03-03 02:24:49 UTC (rev 180913)
+++ trunk/Source/WebCore/testing/Internals.h        2015-03-03 03:25:21 UTC (rev 180914)
</span><span class="lines">@@ -366,7 +366,6 @@
</span><span class="cx"> bool isPagePlayingAudio();
</span><span class="cx">
</span><span class="cx"> RefPtr<File> createFile(const String&);
</span><del>- void queueMicroTask(int);
</del><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> explicit Internals(Document*);
</span></span></pre></div>
<a id="trunkSourceWebCoretestingInternalsidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/testing/Internals.idl (180913 => 180914)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/testing/Internals.idl        2015-03-03 02:24:49 UTC (rev 180913)
+++ trunk/Source/WebCore/testing/Internals.idl        2015-03-03 03:25:21 UTC (rev 180914)
</span><span class="lines">@@ -322,5 +322,4 @@
</span><span class="cx"> boolean isPagePlayingAudio();
</span><span class="cx">
</span><span class="cx"> File createFile(DOMString url);
</span><del>- void queueMicroTask(long testNumber);
</del><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCoretestingMicroTaskTestcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/testing/MicroTaskTest.cpp (180913 => 180914)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/testing/MicroTaskTest.cpp        2015-03-03 02:24:49 UTC (rev 180913)
+++ trunk/Source/WebCore/testing/MicroTaskTest.cpp        2015-03-03 03:25:21 UTC (rev 180914)
</span><span class="lines">@@ -1,43 +0,0 @@
</span><del>-/*
- * Copyright (C) 2015 Akamai Technologies Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#include "config.h"
-#include "MicroTaskTest.h"
-
-#include "Document.h"
-
-namespace WebCore {
-
-void MicroTaskTest::run()
-{
- StringBuilder message;
- message.append("MicroTask #");
- message.append(String::number(m_testNumber));
- message.append(" has run.");
- if (m_document)
- m_document->addConsoleMessage(MessageSource::JS, MessageLevel::Debug, message.toString());
-}
-
-std::unique_ptr<MicroTaskTest> MicroTaskTest::create(WeakPtr<Document> document, int testNumber)
-{
- return std::unique_ptr<MicroTaskTest>(new MicroTaskTest(document, testNumber));
-}
-
-} // namespace WebCore
</del></span></pre></div>
<a id="trunkSourceWebCoretestingMicroTaskTesth"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/testing/MicroTaskTest.h (180913 => 180914)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/testing/MicroTaskTest.h        2015-03-03 02:24:49 UTC (rev 180913)
+++ trunk/Source/WebCore/testing/MicroTaskTest.h        2015-03-03 03:25:21 UTC (rev 180914)
</span><span class="lines">@@ -1,49 +0,0 @@
</span><del>-/*
- * Copyright (C) 2015 Akamai Technologies Inc. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- *
- */
-
-#ifndef MicroTaskTest_h
-#define MicroTaskTest_h
-
-#include "MicroTask.h"
-#include <wtf/WeakPtr.h>
-
-namespace WebCore {
-
-class Document;
-
-class MicroTaskTest : public MicroTask {
-public:
- virtual void run() override;
- WEBCORE_TESTSUPPORT_EXPORT static std::unique_ptr<MicroTaskTest> create(WeakPtr<Document>, int testNumber);
-
-private:
- MicroTaskTest(WeakPtr<Document> document, int testNumber)
- : m_document(document)
- , m_testNumber(testNumber)
- {
- }
-
- WeakPtr<Document> m_document;
- int m_testNumber;
-};
-
-} // namespace WebCore
-
-#endif
</del></span></pre>
</div>
</div>
</body>
</html>