Title: [89111] trunk/LayoutTests
- Revision
- 89111
- Author
- [email protected]
- Date
- 2011-06-16 20:30:55 -0700 (Thu, 16 Jun 2011)
Log Message
https://bugs.webkit.org/show_bug.cgi?id=25079
JS Arrays et al receive the wrong prototype
Rubber stamped by Sam Weinig.
Adding abarth's testcase, for this issue that was already fixed in ToT by other changes.
* fast/js/cross-frame-prototype-expected.txt: Added.
* fast/js/cross-frame-prototype.html: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (89110 => 89111)
--- trunk/LayoutTests/ChangeLog 2011-06-17 03:19:43 UTC (rev 89110)
+++ trunk/LayoutTests/ChangeLog 2011-06-17 03:30:55 UTC (rev 89111)
@@ -1,3 +1,15 @@
+2011-06-16 Gavin Barraclough <[email protected]>
+
+ Rubber stamped by Sam Weinig.
+
+ https://bugs.webkit.org/show_bug.cgi?id=25079
+ JS Arrays et al receive the wrong prototype
+
+ Adding abarth's testcase, for this issue that was already fixed in ToT by other changes.
+
+ * fast/js/cross-frame-prototype-expected.txt: Added.
+ * fast/js/cross-frame-prototype.html: Added.
+
2011-06-16 Ryosuke Niwa <[email protected]>
Another Windows rebaseline after r89091.
Added: trunk/LayoutTests/fast/js/cross-frame-prototype-expected.txt (0 => 89111)
--- trunk/LayoutTests/fast/js/cross-frame-prototype-expected.txt (rev 0)
+++ trunk/LayoutTests/fast/js/cross-frame-prototype-expected.txt 2011-06-17 03:30:55 UTC (rev 89111)
@@ -0,0 +1,5 @@
+PASS x.foo is "bar"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
Added: trunk/LayoutTests/fast/js/cross-frame-prototype.html (0 => 89111)
--- trunk/LayoutTests/fast/js/cross-frame-prototype.html (rev 0)
+++ trunk/LayoutTests/fast/js/cross-frame-prototype.html 2011-06-17 03:30:55 UTC (rev 89111)
@@ -0,0 +1,22 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
+<head>
+<link rel="stylesheet" href=""
+<script src=""
+</head>
+<body>
+<p id="description"></p>
+<div id="console"></div>
+<iframe></iframe>
+<script>
+
+ var arrayConstructor = frames[0].Array;
+ arrayConstructor.prototype.foo = "bar";
+ var x = new arrayConstructor();
+
+ shouldBe("x.foo", '"bar"');
+ var successfullyParsed = true;
+
+</script><script src=""
+</body>
+</html>
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes