<!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>[188132] trunk/LayoutTests</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/188132">188132</a></dd>
<dt>Author</dt> <dd>simon.fraser@apple.com</dd>
<dt>Date</dt> <dd>2015-08-07 10:30:16 -0700 (Fri, 07 Aug 2015)</dd>
</dl>
<h3>Log Message</h3>
<pre>Move ios-sim-deprecated/fast/dom/ tests into fast/dom
* TestExpectations:
* fast/dom/Range/expand-word-with-apostrophe-expected.txt: Renamed from LayoutTests/platform/ios-sim-deprecated/fast/dom/Range/expand-word-with-apostrophe-expected.txt.
* fast/dom/Range/expand-word-with-apostrophe.html: Renamed from LayoutTests/platform/ios-sim-deprecated/fast/dom/Range/expand-word-with-apostrophe.html.
* fast/dom/Window/no-window-resize-on-document-size-change-expected.txt: Added.
* fast/dom/Window/no-window-resize-on-document-size-change.html: Renamed from LayoutTests/platform/ios-sim-deprecated/fast/dom/Window/no-window-resize-on-document-size-change.html.
* fast/dom/adopt-attribute-crash-expected.txt:
* fast/dom/navigator-iOS-userAgent-expected.txt: Added.
* fast/dom/navigator-iOS-userAgent.html: Renamed from LayoutTests/platform/ios-sim-deprecated/fast/dom/navigator-iOS-userAgent.html.
* fast/dom/timer-fire-after-page-pause-expected.txt: Renamed from LayoutTests/platform/ios-sim-deprecated/fast/dom/timer-fire-after-page-pause-expected.txt.
* fast/dom/timer-fire-after-page-pause.html: Renamed from LayoutTests/platform/ios-sim-deprecated/fast/dom/timer-fire-after-page-pause.html.
* platform/ios-sim-deprecated/fast/dom/Window/no-window-resize-on-document-size-change-expected.txt: Removed.
* platform/ios-sim-deprecated/fast/dom/navigator-iOS-userAgent-expected.txt: Removed.
* platform/ios-simulator-wk1/TestExpectations:
* platform/ios-simulator/TestExpectations:
* platform/ios-simulator/fast/dom/navigator-iOS-userAgent-expected.txt: Added.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsTestExpectations">trunk/LayoutTests/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsfastdomadoptattributecrashexpectedtxt">trunk/LayoutTests/fast/dom/adopt-attribute-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorTestExpectations">trunk/LayoutTests/platform/ios-simulator/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorwk1TestExpectations">trunk/LayoutTests/platform/ios-simulator-wk1/TestExpectations</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsfastdomRangeexpandwordwithapostropheexpectedtxt">trunk/LayoutTests/fast/dom/Range/expand-word-with-apostrophe-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastdomRangeexpandwordwithapostrophehtml">trunk/LayoutTests/fast/dom/Range/expand-word-with-apostrophe.html</a></li>
<li><a href="#trunkLayoutTestsfastdomWindownowindowresizeondocumentsizechangeexpectedtxt">trunk/LayoutTests/fast/dom/Window/no-window-resize-on-document-size-change-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastdomWindownowindowresizeondocumentsizechangehtml">trunk/LayoutTests/fast/dom/Window/no-window-resize-on-document-size-change.html</a></li>
<li><a href="#trunkLayoutTestsfastdomnavigatoriOSuserAgentexpectedtxt">trunk/LayoutTests/fast/dom/navigator-iOS-userAgent-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastdomnavigatoriOSuserAgenthtml">trunk/LayoutTests/fast/dom/navigator-iOS-userAgent.html</a></li>
<li><a href="#trunkLayoutTestsfastdomtimerfireafterpagepauseexpectedtxt">trunk/LayoutTests/fast/dom/timer-fire-after-page-pause-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastdomtimerfireafterpagepausehtml">trunk/LayoutTests/fast/dom/timer-fire-after-page-pause.html</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorfastdomnavigatoriOSuserAgentexpectedtxt">trunk/LayoutTests/platform/ios-simulator/fast/dom/navigator-iOS-userAgent-expected.txt</a></li>
</ul>
<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsplatformiossimdeprecatedfastdomRangeexpandwordwithapostropheexpectedtxt">trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/Range/expand-word-with-apostrophe-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimdeprecatedfastdomRangeexpandwordwithapostrophehtml">trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/Range/expand-word-with-apostrophe.html</a></li>
<li><a href="#trunkLayoutTestsplatformiossimdeprecatedfastdomWindownowindowresizeondocumentsizechangeexpectedtxt">trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/Window/no-window-resize-on-document-size-change-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimdeprecatedfastdomWindownowindowresizeondocumentsizechangehtml">trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/Window/no-window-resize-on-document-size-change.html</a></li>
<li><a href="#trunkLayoutTestsplatformiossimdeprecatedfastdomnavigatoriOSuserAgentexpectedtxt">trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/navigator-iOS-userAgent-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimdeprecatedfastdomnavigatoriOSuserAgenthtml">trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/navigator-iOS-userAgent.html</a></li>
<li><a href="#trunkLayoutTestsplatformiossimdeprecatedfastdomtimerfireafterpagepauseexpectedtxt">trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/timer-fire-after-page-pause-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimdeprecatedfastdomtimerfireafterpagepausehtml">trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/timer-fire-after-page-pause.html</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (188131 => 188132)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2015-08-07 17:30:11 UTC (rev 188131)
+++ trunk/LayoutTests/ChangeLog        2015-08-07 17:30:16 UTC (rev 188132)
</span><span class="lines">@@ -1,5 +1,25 @@
</span><span class="cx"> 2015-08-06 Simon Fraser <simon.fraser@apple.com>
</span><span class="cx">
</span><ins>+ Move ios-sim-deprecated/fast/dom/ tests into fast/dom
+
+ * TestExpectations:
+ * fast/dom/Range/expand-word-with-apostrophe-expected.txt: Renamed from LayoutTests/platform/ios-sim-deprecated/fast/dom/Range/expand-word-with-apostrophe-expected.txt.
+ * fast/dom/Range/expand-word-with-apostrophe.html: Renamed from LayoutTests/platform/ios-sim-deprecated/fast/dom/Range/expand-word-with-apostrophe.html.
+ * fast/dom/Window/no-window-resize-on-document-size-change-expected.txt: Added.
+ * fast/dom/Window/no-window-resize-on-document-size-change.html: Renamed from LayoutTests/platform/ios-sim-deprecated/fast/dom/Window/no-window-resize-on-document-size-change.html.
+ * fast/dom/adopt-attribute-crash-expected.txt:
+ * fast/dom/navigator-iOS-userAgent-expected.txt: Added.
+ * fast/dom/navigator-iOS-userAgent.html: Renamed from LayoutTests/platform/ios-sim-deprecated/fast/dom/navigator-iOS-userAgent.html.
+ * fast/dom/timer-fire-after-page-pause-expected.txt: Renamed from LayoutTests/platform/ios-sim-deprecated/fast/dom/timer-fire-after-page-pause-expected.txt.
+ * fast/dom/timer-fire-after-page-pause.html: Renamed from LayoutTests/platform/ios-sim-deprecated/fast/dom/timer-fire-after-page-pause.html.
+ * platform/ios-sim-deprecated/fast/dom/Window/no-window-resize-on-document-size-change-expected.txt: Removed.
+ * platform/ios-sim-deprecated/fast/dom/navigator-iOS-userAgent-expected.txt: Removed.
+ * platform/ios-simulator-wk1/TestExpectations:
+ * platform/ios-simulator/TestExpectations:
+ * platform/ios-simulator/fast/dom/navigator-iOS-userAgent-expected.txt: Added.
+
+2015-08-06 Simon Fraser <simon.fraser@apple.com>
+
</ins><span class="cx"> Move two ios-sim-deprecated/animations/ tests into animations.
</span><span class="cx">
</span><span class="cx"> * animations/resources/anim.html: Renamed from LayoutTests/platform/ios-sim-deprecated/animations/resources/anim.html.
</span></span></pre></div>
<a id="trunkLayoutTestsTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/TestExpectations (188131 => 188132)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/TestExpectations        2015-08-07 17:30:11 UTC (rev 188131)
+++ trunk/LayoutTests/TestExpectations        2015-08-07 17:30:16 UTC (rev 188132)
</span><span class="lines">@@ -543,3 +543,6 @@
</span><span class="cx">
</span><span class="cx"> # Media Sessions is not yet enabled by default: ENABLE(MEDIA_SESSION)
</span><span class="cx"> media/session [ Skip ]
</span><ins>+
+# Only iOS WK1 has testRunner.setPagePaused.
+fast/dom/timer-fire-after-page-pause.html [ Skip ]
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomRangeexpandwordwithapostropheexpectedtxtfromrev188131trunkLayoutTestsplatformiossimdeprecatedfastdomRangeexpandwordwithapostropheexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/dom/Range/expand-word-with-apostrophe-expected.txt (from rev 188131, trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/Range/expand-word-with-apostrophe-expected.txt) (0 => 188132)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/Range/expand-word-with-apostrophe-expected.txt         (rev 0)
+++ trunk/LayoutTests/fast/dom/Range/expand-word-with-apostrophe-expected.txt        2015-08-07 17:30:16 UTC (rev 188132)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+This tests that word selection does not consider a RIGHT SINGLE QUOTATION MARK (’) in the middle of a word as a word boundary.
+
+PASS
</ins></span></pre></div>
<a id="trunkLayoutTestsfastdomRangeexpandwordwithapostrophehtmlfromrev188131trunkLayoutTestsplatformiossimdeprecatedfastdomRangeexpandwordwithapostrophehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/dom/Range/expand-word-with-apostrophe.html (from rev 188131, trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/Range/expand-word-with-apostrophe.html) (0 => 188132)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/Range/expand-word-with-apostrophe.html         (rev 0)
+++ trunk/LayoutTests/fast/dom/Range/expand-word-with-apostrophe.html        2015-08-07 17:30:16 UTC (rev 188132)
</span><span class="lines">@@ -0,0 +1,20 @@
</span><ins>+<p>
+ This tests that word selection does not consider a RIGHT SINGLE QUOTATION MARK (&rsquo;) in the middle
+ of a word as a word boundary.
+</p>
+<p id="result">FAIL: Test did not run</p>
+<div id="target">And here&#8217;s your problem</div>
+<script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+
+ var target = document.getElementById("target").firstChild;
+ var range = document.createRange();
+
+ range.setStart(target, 6);
+ range.setEnd(target, 6);
+ range.expand("word");
+ var rangeString = range.toString();
+ document.getElementById("result").textContent = (rangeString === "here\u2019s") ? "PASS" : "FAIL: after expanding to word boundaries, the range was \"" + rangeString + "\"";
+ target.parentNode.style.display = "none";
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsfastdomWindownowindowresizeondocumentsizechangeexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/dom/Window/no-window-resize-on-document-size-change-expected.txt (0 => 188132)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/Window/no-window-resize-on-document-size-change-expected.txt         (rev 0)
+++ trunk/LayoutTests/fast/dom/Window/no-window-resize-on-document-size-change-expected.txt        2015-08-07 17:30:16 UTC (rev 188132)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+Test that changing the viewport causes a window.resize event.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS windowResizeCount is 0
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
</ins></span></pre></div>
<a id="trunkLayoutTestsfastdomWindownowindowresizeondocumentsizechangehtmlfromrev188131trunkLayoutTestsplatformiossimdeprecatedfastdomWindownowindowresizeondocumentsizechangehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/dom/Window/no-window-resize-on-document-size-change.html (from rev 188131, trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/Window/no-window-resize-on-document-size-change.html) (0 => 188132)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/Window/no-window-resize-on-document-size-change.html         (rev 0)
+++ trunk/LayoutTests/fast/dom/Window/no-window-resize-on-document-size-change.html        2015-08-07 17:30:16 UTC (rev 188132)
</span><span class="lines">@@ -0,0 +1,41 @@
</span><ins>+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+ <head>
+ <script src="../../../resources/js-test-pre.js"></script>
+ </head>
+<body style="height:5000px;">
+<script>
+description("Test that changing the viewport causes a window.resize event.");
+
+window.jsTestIsAsync = true;
+
+var windowResizeCount = 0;
+
+window.onresize = function(event)
+{
+ ++windowResizeCount;
+}
+
+function finishTest() {
+ shouldBe("windowResizeCount", "0");
+ finishJSTest();
+}
+
+window.onload = function() {
+ setTimeout(function() {
+ document.body.style.height = '1000px';
+ document.body.offsetHeight;
+ document.body.style.height = '2000px';
+ document.body.offsetHeight;
+ document.body.style.height = '3000px';
+ document.body.offsetHeight;
+ document.body.style.height = '5000px';
+ document.body.offsetHeight;
+ setTimeout(finishTest, 100);
+ }, 0);
+}
+</script>
+<script src="../../../resources/js-test-post.js"></script>
+</body>
+</html>
+
</ins></span></pre></div>
<a id="trunkLayoutTestsfastdomadoptattributecrashexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/dom/adopt-attribute-crash-expected.txt (188131 => 188132)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/adopt-attribute-crash-expected.txt        2015-08-07 17:30:11 UTC (rev 188131)
+++ trunk/LayoutTests/fast/dom/adopt-attribute-crash-expected.txt        2015-08-07 17:30:16 UTC (rev 188132)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> ALERT: Tests adopting two Attr nodes of the same qualified name. WebKit shouldn't crash or assert.
</span><span class="cx"> This page contains the following errors:
</span><span class="cx">
</span><del>-error on line 3 at column 35: Namespaced Attribute href in 'http://www.w3.org/1999/xlink' redefined
</del><ins>+error on line 3 at column 66: Namespaced Attribute href in 'http://www.w3.org/1999/xlink' redefined
</ins><span class="cx"> error on line 18 at column 10: Extra content at the end of the document
</span><span class="cx"> Below is a rendering of the page up to the first error.
</span><span class="cx">
</span></span></pre></div>
<a id="trunkLayoutTestsfastdomnavigatoriOSuserAgentexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/fast/dom/navigator-iOS-userAgent-expected.txt (0 => 188132)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/navigator-iOS-userAgent-expected.txt         (rev 0)
+++ trunk/LayoutTests/fast/dom/navigator-iOS-userAgent-expected.txt        2015-08-07 17:30:16 UTC (rev 188132)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+Verify the user-agent string does not have the 'Simulator' device name.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+FAIL User agent platform should be "iPhone" or "iPad".
+PASS User agent does not contain "Simulator".
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
</ins></span></pre></div>
<a id="trunkLayoutTestsfastdomnavigatoriOSuserAgenthtmlfromrev188131trunkLayoutTestsplatformiossimdeprecatedfastdomnavigatoriOSuserAgenthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/dom/navigator-iOS-userAgent.html (from rev 188131, trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/navigator-iOS-userAgent.html) (0 => 188132)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/navigator-iOS-userAgent.html         (rev 0)
+++ trunk/LayoutTests/fast/dom/navigator-iOS-userAgent.html        2015-08-07 17:30:16 UTC (rev 188132)
</span><span class="lines">@@ -0,0 +1,27 @@
</span><ins>+<html>
+<head>
+<script src="../../resources/js-test-pre.js"></script>
+</head>
+<body>
+<p id="description"></p>
+<div id="console"></div>
+<script>
+description("Verify the user-agent string does not have the 'Simulator' device name.");
+
+var userAgent = navigator.userAgent;
+var isIPadUserAgent = userAgent.indexOf("Mozilla/5.0 (iPhone;") == 0;
+var isIPhoneUserAgent = userAgent.indexOf("Mozilla/5.0 (iPad;") == 0;
+
+function test(str, condition) {
+ var func = condition ? testPassed : testFailed;
+ func(str);
+}
+
+test('User agent platform should be "iPhone" or "iPad".', (isIPadUserAgent || isIPhoneUserAgent));
+test('User agent does not contain "Simulator".', userAgent.indexOf("Simulator") < 0);
+
+successfullyParsed = true;
+</script>
+<script src="../../resources/js-test-post.js"></script>
+</body>
+</html>
</ins></span></pre></div>
<a id="trunkLayoutTestsfastdomtimerfireafterpagepauseexpectedtxtfromrev188131trunkLayoutTestsplatformiossimdeprecatedfastdomtimerfireafterpagepauseexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/dom/timer-fire-after-page-pause-expected.txt (from rev 188131, trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/timer-fire-after-page-pause-expected.txt) (0 => 188132)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/timer-fire-after-page-pause-expected.txt         (rev 0)
+++ trunk/LayoutTests/fast/dom/timer-fire-after-page-pause-expected.txt        2015-08-07 17:30:16 UTC (rev 188132)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+Test for <rdar://problem/12116720> REGRESSION (Hoodoo): Scrolling to bottom of m.facebook.com doesn't load more posts [Millicom Colombia]
+
+PASS
</ins></span></pre></div>
<a id="trunkLayoutTestsfastdomtimerfireafterpagepausehtmlfromrev188131trunkLayoutTestsplatformiossimdeprecatedfastdomtimerfireafterpagepausehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/fast/dom/timer-fire-after-page-pause.html (from rev 188131, trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/timer-fire-after-page-pause.html) (0 => 188132)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/dom/timer-fire-after-page-pause.html         (rev 0)
+++ trunk/LayoutTests/fast/dom/timer-fire-after-page-pause.html        2015-08-07 17:30:16 UTC (rev 188132)
</span><span class="lines">@@ -0,0 +1,26 @@
</span><ins>+<html>
+<script>
+if (window.testRunner) {
+ testRunner.waitUntilDone();
+ testRunner.dumpAsText();
+}
+
+function doTest()
+{
+ if (window.testRunner) {
+ testRunner.setPagePaused(true);
+ setTimeout(function() {
+ document.getElementById('results').innerText = 'PASS';
+ testRunner.notifyDone();
+ }, 100);
+ testRunner.setPagePaused(false);
+ }
+}
+
+window.addEventListener('load', doTest, false);
+</script>
+<body>
+<p>Test for &lt;rdar://problem/12116720&gt; REGRESSION (Hoodoo): Scrolling to bottom of m.facebook.com doesn't load more posts [Millicom Colombia]</p>
+<pre id='results'>FAIL</pre>
+</body>
+</html>
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimdeprecatedfastdomRangeexpandwordwithapostropheexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/Range/expand-word-with-apostrophe-expected.txt (188131 => 188132)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/Range/expand-word-with-apostrophe-expected.txt        2015-08-07 17:30:11 UTC (rev 188131)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/Range/expand-word-with-apostrophe-expected.txt        2015-08-07 17:30:16 UTC (rev 188132)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-This tests that word selection does not consider a RIGHT SINGLE QUOTATION MARK (’) in the middle of a word as a word boundary.
-
-PASS
</del></span></pre></div>
<a id="trunkLayoutTestsplatformiossimdeprecatedfastdomRangeexpandwordwithapostrophehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/Range/expand-word-with-apostrophe.html (188131 => 188132)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/Range/expand-word-with-apostrophe.html        2015-08-07 17:30:11 UTC (rev 188131)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/Range/expand-word-with-apostrophe.html        2015-08-07 17:30:16 UTC (rev 188132)
</span><span class="lines">@@ -1,20 +0,0 @@
</span><del>-<p>
- This tests that word selection does not consider a RIGHT SINGLE QUOTATION MARK (&rsquo;) in the middle
- of a word as a word boundary.
-</p>
-<p id="result">FAIL: Test did not run</p>
-<div id="target">And here&#8217;s your problem</div>
-<script>
- if (window.testRunner)
- testRunner.dumpAsText();
-
- var target = document.getElementById("target").firstChild;
- var range = document.createRange();
-
- range.setStart(target, 6);
- range.setEnd(target, 6);
- range.expand("word");
- var rangeString = range.toString();
- document.getElementById("result").textContent = (rangeString === "here\u2019s") ? "PASS" : "FAIL: after expanding to word boundaries, the range was \"" + rangeString + "\"";
- target.parentNode.style.display = "none";
-</script>
</del></span></pre></div>
<a id="trunkLayoutTestsplatformiossimdeprecatedfastdomWindownowindowresizeondocumentsizechangeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/Window/no-window-resize-on-document-size-change-expected.txt (188131 => 188132)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/Window/no-window-resize-on-document-size-change-expected.txt        2015-08-07 17:30:11 UTC (rev 188131)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/Window/no-window-resize-on-document-size-change-expected.txt        2015-08-07 17:30:16 UTC (rev 188132)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 8: ReferenceError: Can't find variable: description
-layer at (0,0) size 800x5016
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x5016
- RenderBlock {HTML} at (0,0) size 800x5016
- RenderBody {BODY} at (8,8) size 784x5000
</del></span></pre></div>
<a id="trunkLayoutTestsplatformiossimdeprecatedfastdomWindownowindowresizeondocumentsizechangehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/Window/no-window-resize-on-document-size-change.html (188131 => 188132)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/Window/no-window-resize-on-document-size-change.html        2015-08-07 17:30:11 UTC (rev 188131)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/Window/no-window-resize-on-document-size-change.html        2015-08-07 17:30:16 UTC (rev 188132)
</span><span class="lines">@@ -1,41 +0,0 @@
</span><del>-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
- <head>
- <script src="../fast/js/resources/js-test-pre.js"></script>
- </head>
-<body style="height:5000px;">
-<script>
-description("Test that changing the viewport causes a window.resize event.");
-
-window.jsTestIsAsync = true;
-
-var windowResizeCount = 0;
-
-window.onresize = function(event)
-{
- ++windowResizeCount;
-}
-
-function finishTest() {
- shouldBe("windowResizeCount", "0");
- finishJSTest();
-}
-
-window.onload = function() {
- setTimeout(function() {
- document.body.style.height = '1000px';
- document.body.offsetHeight;
- document.body.style.height = '2000px';
- document.body.offsetHeight;
- document.body.style.height = '3000px';
- document.body.offsetHeight;
- document.body.style.height = '5000px';
- document.body.offsetHeight;
- setTimeout(finishTest, 100);
- }, 0);
-}
-</script>
-<script src="../fast/js/resources/js-test-post.js"></script>
-</body>
-</html>
-
</del></span></pre></div>
<a id="trunkLayoutTestsplatformiossimdeprecatedfastdomnavigatoriOSuserAgentexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/navigator-iOS-userAgent-expected.txt (188131 => 188132)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/navigator-iOS-userAgent-expected.txt        2015-08-07 17:30:11 UTC (rev 188131)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/navigator-iOS-userAgent-expected.txt        2015-08-07 17:30:16 UTC (rev 188132)
</span><span class="lines">@@ -1,8 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 10: TypeError: HTMLParagraphElement is not a function (evaluating 'description("Verify the user-agent string does not have the 'Simulator' device name.")')
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderBlock {HTML} at (0,0) size 800x600
- RenderBody {BODY} at (8,8) size 784x584
- RenderBlock {P} at (0,0) size 784x0
- RenderBlock {DIV} at (0,0) size 784x0
</del></span></pre></div>
<a id="trunkLayoutTestsplatformiossimdeprecatedfastdomnavigatoriOSuserAgenthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/navigator-iOS-userAgent.html (188131 => 188132)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/navigator-iOS-userAgent.html        2015-08-07 17:30:11 UTC (rev 188131)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/navigator-iOS-userAgent.html        2015-08-07 17:30:16 UTC (rev 188132)
</span><span class="lines">@@ -1,28 +0,0 @@
</span><del>-<html>
-<head>
-<link rel="stylesheet" href="../../../../fast/js/resources/js-test-style.css">
-<script src="../../../../fast/js/resources/js-test-pre.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script>
-description("Verify the user-agent string does not have the 'Simulator' device name.");
-
-var userAgent = navigator.userAgent;
-var isIPadUserAgent = userAgent.indexOf("Mozilla/5.0 (iPhone;") == 0;
-var isIPhoneUserAgent = userAgent.indexOf("Mozilla/5.0 (iPad;") == 0;
-
-function test(str, condition) {
- var func = condition ? testPassed : testFailed;
- func(str);
-}
-
-test('User agent platform should be "iPhone" or "iPad".', (isIPadUserAgent || isIPhoneUserAgent));
-test('User agent does not contain "Simulator".', userAgent.indexOf("Simulator") < 0);
-
-successfullyParsed = true;
-</script>
-<script src="../../../../fast/js/resources/js-test-post.js"></script>
-</body>
-</html>
</del></span></pre></div>
<a id="trunkLayoutTestsplatformiossimdeprecatedfastdomtimerfireafterpagepauseexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/timer-fire-after-page-pause-expected.txt (188131 => 188132)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/timer-fire-after-page-pause-expected.txt        2015-08-07 17:30:11 UTC (rev 188131)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/timer-fire-after-page-pause-expected.txt        2015-08-07 17:30:16 UTC (rev 188132)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-Test for <rdar://problem/12116720> REGRESSION (Hoodoo): Scrolling to bottom of m.facebook.com doesn't load more posts [Millicom Colombia]
-
-PASS
</del></span></pre></div>
<a id="trunkLayoutTestsplatformiossimdeprecatedfastdomtimerfireafterpagepausehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/timer-fire-after-page-pause.html (188131 => 188132)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/timer-fire-after-page-pause.html        2015-08-07 17:30:11 UTC (rev 188131)
+++ trunk/LayoutTests/platform/ios-sim-deprecated/fast/dom/timer-fire-after-page-pause.html        2015-08-07 17:30:16 UTC (rev 188132)
</span><span class="lines">@@ -1,26 +0,0 @@
</span><del>-<html>
-<script>
-if (window.testRunner) {
- testRunner.waitUntilDone();
- testRunner.dumpAsText();
-}
-
-function doTest()
-{
- if (window.testRunner) {
- testRunner.setPagePaused(true);
- setTimeout(function() {
- document.getElementById('results').innerText = 'PASS';
- testRunner.notifyDone();
- }, 100);
- testRunner.setPagePaused(false);
- }
-}
-
-window.addEventListener('load', doTest, false);
-</script>
-<body>
-<p>Test for &lt;rdar://problem/12116720&gt; REGRESSION (Hoodoo): Scrolling to bottom of m.facebook.com doesn't load more posts [Millicom Colombia]</p>
-<pre id='results'>FAIL</pre>
-</body>
-</html>
</del></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator/TestExpectations (188131 => 188132)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/TestExpectations        2015-08-07 17:30:11 UTC (rev 188131)
+++ trunk/LayoutTests/platform/ios-simulator/TestExpectations        2015-08-07 17:30:16 UTC (rev 188132)
</span><span class="lines">@@ -2694,6 +2694,8 @@
</span><span class="cx"> # Not implemented
</span><span class="cx"> webkit.org/b/145617 compositing/layer-creation/zoomed-clip-intersection.html [ Skip ]
</span><span class="cx">
</span><ins>+fast/dom/timer-fire-after-page-pause.html [ Skip ]
+
</ins><span class="cx"> # This test depends on location, and it is impossible to mock the particular mechanism
</span><span class="cx"> # this test uses to determine location.
</span><span class="cx"> fast/text/softbank-emoji.html [ Failure Pass ]
</span></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorfastdomnavigatoriOSuserAgentexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/platform/ios-simulator/fast/dom/navigator-iOS-userAgent-expected.txt (0 => 188132)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator/fast/dom/navigator-iOS-userAgent-expected.txt         (rev 0)
+++ trunk/LayoutTests/platform/ios-simulator/fast/dom/navigator-iOS-userAgent-expected.txt        2015-08-07 17:30:16 UTC (rev 188132)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+Verify the user-agent string does not have the 'Simulator' device name.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS User agent platform should be "iPhone" or "iPad".
+PASS User agent does not contain "Simulator".
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
</ins></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorwk1TestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator-wk1/TestExpectations (188131 => 188132)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator-wk1/TestExpectations        2015-08-07 17:30:11 UTC (rev 188131)
+++ trunk/LayoutTests/platform/ios-simulator-wk1/TestExpectations        2015-08-07 17:30:16 UTC (rev 188132)
</span><span class="lines">@@ -1727,3 +1727,5 @@
</span><span class="cx"> storage/websql/alter-to-info-table.html [ Crash ]
</span><span class="cx">
</span><span class="cx"> webkit.org/b/145432 media/video-transformed-by-javascript.html [ Failure ]
</span><ins>+
+fast/dom/timer-fire-after-page-pause.html [ Pass ]
</ins></span></pre>
</div>
</div>
</body>
</html>