Title: [127324] trunk/LayoutTests
- Revision
- 127324
- Author
- [email protected]
- Date
- 2012-08-31 14:49:28 -0700 (Fri, 31 Aug 2012)
Log Message
Not reviewed.
Removed some tabs that snuck into my last patch.
* fast/js/function-constructor-this-value.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (127323 => 127324)
--- trunk/LayoutTests/ChangeLog 2012-08-31 21:47:01 UTC (rev 127323)
+++ trunk/LayoutTests/ChangeLog 2012-08-31 21:49:28 UTC (rev 127324)
@@ -1,5 +1,13 @@
2012-08-31 Geoffrey Garen <[email protected]>
+ Not reviewed.
+
+ Removed some tabs that snuck into my last patch.
+
+ * fast/js/function-constructor-this-value.html:
+
+2012-08-31 Geoffrey Garen <[email protected]>
+
Use one object instead of two for closures, eliminating ScopeChainNode
https://bugs.webkit.org/show_bug.cgi?id=95501
Modified: trunk/LayoutTests/fast/js/function-constructor-this-value.html (127323 => 127324)
--- trunk/LayoutTests/fast/js/function-constructor-this-value.html 2012-08-31 21:47:01 UTC (rev 127323)
+++ trunk/LayoutTests/fast/js/function-constructor-this-value.html 2012-08-31 21:49:28 UTC (rev 127324)
@@ -1,26 +1,26 @@
<p>This tests verifies that the Function constructor creates functions
- with the correct 'this' and 'window' in scope.
+ with the correct 'this' and 'window' in scope.
</p>
<pre id="console"></pre>
<script>
function log(s)
{
- document.getElementById("console").appendChild(document.createTextNode(s + "\n"));
+ document.getElementById("console").appendChild(document.createTextNode(s + "\n"));
}
function shouldBe(a, aDescription, b)
{
- if (a == b) {
- log("PASS: " + aDescription + " should be " + b + " and is.");
- return;
- }
- log("FAIL: " + aDescription + " should be " + b + " but instead is " + a + ".");
+ if (a == b) {
+ log("PASS: " + aDescription + " should be " + b + " and is.");
+ return;
+ }
+ log("FAIL: " + aDescription + " should be " + b + " but instead is " + a + ".");
}
if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
testRunner.setCanOpenWindows();
testRunner.setCloseRemainingWindowsWhenComplete(true);
}
@@ -33,5 +33,5 @@
shouldBe(result['window'].location.href, "result['window'].location.href", "about:blank");
if (window.testRunner)
- testRunner.notifyDone();
+ testRunner.notifyDone();
</script>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes