Title: [104761] trunk/LayoutTests
- Revision
- 104761
- Author
- [email protected]
- Date
- 2012-01-11 16:08:01 -0800 (Wed, 11 Jan 2012)
Log Message
IETC audio-interface-inherit.129 claims NETWORK_NO_SOURCE should not be overrideable
https://bugs.webkit.org/show_bug.cgi?id=76085
Reviewed by Eric Seidel.
As far as I can tell, the IETC test of this feature is wrong.
NETWORK_NO_SOURCE should be immutable on the interface object and on
the interface prototype object, but _javascript_ should be able to shadow
the property on an instance.
* media/network-no-source-const-shadow-expected.txt: Added.
* media/network-no-source-const-shadow.html: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (104760 => 104761)
--- trunk/LayoutTests/ChangeLog 2012-01-12 00:07:32 UTC (rev 104760)
+++ trunk/LayoutTests/ChangeLog 2012-01-12 00:08:01 UTC (rev 104761)
@@ -1,5 +1,20 @@
2012-01-11 Adam Barth <[email protected]>
+ IETC audio-interface-inherit.129 claims NETWORK_NO_SOURCE should not be overrideable
+ https://bugs.webkit.org/show_bug.cgi?id=76085
+
+ Reviewed by Eric Seidel.
+
+ As far as I can tell, the IETC test of this feature is wrong.
+ NETWORK_NO_SOURCE should be immutable on the interface object and on
+ the interface prototype object, but _javascript_ should be able to shadow
+ the property on an instance.
+
+ * media/network-no-source-const-shadow-expected.txt: Added.
+ * media/network-no-source-const-shadow.html: Added.
+
+2012-01-11 Adam Barth <[email protected]>
+
iframe sandbox doesn't block videos from autoplaying (IETC automatic-feature-block-autoplay-video)
https://bugs.webkit.org/show_bug.cgi?id=76111
Added: trunk/LayoutTests/media/network-no-source-const-shadow-expected.txt (0 => 104761)
--- trunk/LayoutTests/media/network-no-source-const-shadow-expected.txt (rev 0)
+++ trunk/LayoutTests/media/network-no-source-const-shadow-expected.txt 2012-01-12 00:08:01 UTC (rev 104761)
@@ -0,0 +1,15 @@
+Test that NETWORK_NO_SOURCE is immutable at the appropriate times
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS HTMLMediaElement.NETWORK_NO_SOURCE is 3
+PASS HTMLMediaElement.prototype.NETWORK_NO_SOURCE is 3
+PASS element.NETWORK_NO_SOURCE is 3
+PASS HTMLMediaElement.NETWORK_NO_SOURCE is 3
+PASS HTMLAudioElement.prototype.NETWORK_NO_SOURCE is 3
+PASS element.NETWORK_NO_SOURCE is 15
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
Added: trunk/LayoutTests/media/network-no-source-const-shadow.html (0 => 104761)
--- trunk/LayoutTests/media/network-no-source-const-shadow.html (rev 0)
+++ trunk/LayoutTests/media/network-no-source-const-shadow.html 2012-01-12 00:08:01 UTC (rev 104761)
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<script src=""
+<script>
+description("Test that NETWORK_NO_SOURCE is immutable at the appropriate times");
+
+shouldBe("HTMLMediaElement.NETWORK_NO_SOURCE", "3");
+shouldBe("HTMLMediaElement.prototype.NETWORK_NO_SOURCE", "3");
+
+var element = document.createElement("audio");
+
+shouldBe("element.NETWORK_NO_SOURCE", "3");
+
+HTMLMediaElement.NETWORK_NO_SOURCE = 13;
+HTMLMediaElement.prototype.NETWORK_NO_SOURCE = 14;
+element.NETWORK_NO_SOURCE = 15;
+
+shouldBe("HTMLMediaElement.NETWORK_NO_SOURCE", "3");
+shouldBe("HTMLAudioElement.prototype.NETWORK_NO_SOURCE", "3");
+shouldBe("element.NETWORK_NO_SOURCE", "15");
+</script>
+<script src=""
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes