Title: [119481] trunk/LayoutTests
- Revision
- 119481
- Author
- [email protected]
- Date
- 2012-06-05 04:28:24 -0700 (Tue, 05 Jun 2012)
Log Message
https://bugs.webkit.org/show_bug.cgi?id=88029
content-element-api.html and shadow-element.html depend on V8.
Reviewed by Kentaro Hara.
Replaced typeof checking with comparison.
* fast/dom/shadow/content-element-api.html:
* fast/dom/shadow/shadow-element.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (119480 => 119481)
--- trunk/LayoutTests/ChangeLog 2012-06-05 11:13:14 UTC (rev 119480)
+++ trunk/LayoutTests/ChangeLog 2012-06-05 11:28:24 UTC (rev 119481)
@@ -1,3 +1,15 @@
+2012-06-05 MORITA Hajime <[email protected]>
+
+ https://bugs.webkit.org/show_bug.cgi?id=88029
+ content-element-api.html and shadow-element.html depend on V8.
+
+ Reviewed by Kentaro Hara.
+
+ Replaced typeof checking with comparison.
+
+ * fast/dom/shadow/content-element-api.html:
+ * fast/dom/shadow/shadow-element.html:
+
2012-06-04 Kinuko Yasuda <[email protected]>
Chromium tests: "Add support for the Blob constructor" [r115582] regressed blob layout tests
Modified: trunk/LayoutTests/fast/dom/shadow/content-element-api-expected.txt (119480 => 119481)
--- trunk/LayoutTests/fast/dom/shadow/content-element-api-expected.txt 2012-06-05 11:13:14 UTC (rev 119480)
+++ trunk/LayoutTests/fast/dom/shadow/content-element-api-expected.txt 2012-06-05 11:28:24 UTC (rev 119481)
@@ -7,7 +7,7 @@
PASS contentSimplest.select is 'foo'
PASS contentSimplest.getAttribute('select') is 'bar'
PASS 0 <= contentSimplest.constructor.toString().indexOf('HTMLContentElement') is true
-PASS typeof window.HTMLContentElement is 'function'
+PASS window.HTMLContentElement is contentSimplest.constructor
PASS successfullyParsed is true
TEST COMPLETE
Modified: trunk/LayoutTests/fast/dom/shadow/content-element-api.html (119480 => 119481)
--- trunk/LayoutTests/fast/dom/shadow/content-element-api.html 2012-06-05 11:13:14 UTC (rev 119480)
+++ trunk/LayoutTests/fast/dom/shadow/content-element-api.html 2012-06-05 11:28:24 UTC (rev 119481)
@@ -16,7 +16,7 @@
contentSimplest.select = "bar"
shouldBe("contentSimplest.getAttribute('select')", "'bar'");
shouldBeTrue("0 <= contentSimplest.constructor.toString().indexOf('HTMLContentElement')");
-shouldBe("typeof window.HTMLContentElement", "'function'");
+shouldBe("window.HTMLContentElement", "contentSimplest.constructor");
</script>
<script src=""
</body>
Modified: trunk/LayoutTests/fast/dom/shadow/shadow-element-expected.txt (119480 => 119481)
--- trunk/LayoutTests/fast/dom/shadow/shadow-element-expected.txt 2012-06-05 11:13:14 UTC (rev 119480)
+++ trunk/LayoutTests/fast/dom/shadow/shadow-element-expected.txt 2012-06-05 11:28:24 UTC (rev 119481)
@@ -5,7 +5,7 @@
PASS shadow.nodeName is 'SHADOW'
PASS 0 <= shadow.constructor.toString().indexOf('HTMLShadowElement') is true
-PASS typeof window.HTMLShadowElement is 'function'
+PASS window.HTMLShadowElement is shadow.constructor
PASS successfullyParsed is true
TEST COMPLETE
Modified: trunk/LayoutTests/fast/dom/shadow/shadow-element.html (119480 => 119481)
--- trunk/LayoutTests/fast/dom/shadow/shadow-element.html 2012-06-05 11:13:14 UTC (rev 119480)
+++ trunk/LayoutTests/fast/dom/shadow/shadow-element.html 2012-06-05 11:28:24 UTC (rev 119481)
@@ -12,7 +12,7 @@
var shadow = document.getElementById("shadow");
shouldBe("shadow.nodeName", "'SHADOW'");
shouldBeTrue("0 <= shadow.constructor.toString().indexOf('HTMLShadowElement')");
-shouldBe("typeof window.HTMLShadowElement", "'function'");
+shouldBe("window.HTMLShadowElement", "shadow.constructor");
</script>
<script src=""
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes