Title: [125138] trunk/LayoutTests
Revision
125138
Author
[email protected]
Date
2012-08-08 19:05:36 -0700 (Wed, 08 Aug 2012)

Log Message

Fix invalid test
https://bugs.webkit.org/show_bug.cgi?id=93543

Reviewed by Kentaro Hara.

The HTMLMediaElement.prototype.NETWORK_NO_SOURCE is non writable so assigning to the element instance should
be ignored.

* media/network-no-source-const-shadow-expected.txt:
* media/network-no-source-const-shadow.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (125137 => 125138)


--- trunk/LayoutTests/ChangeLog	2012-08-09 01:46:16 UTC (rev 125137)
+++ trunk/LayoutTests/ChangeLog	2012-08-09 02:05:36 UTC (rev 125138)
@@ -1,3 +1,16 @@
+2012-08-08  Erik Arvidsson  <[email protected]>
+
+        Fix invalid test
+        https://bugs.webkit.org/show_bug.cgi?id=93543
+
+        Reviewed by Kentaro Hara.
+
+        The HTMLMediaElement.prototype.NETWORK_NO_SOURCE is non writable so assigning to the element instance should
+        be ignored.
+
+        * media/network-no-source-const-shadow-expected.txt:
+        * media/network-no-source-const-shadow.html:
+
 2012-08-08  Alexandru Chiculita  <[email protected]>
 
         [CSS Shaders] Invalid shaders should act as pass-through filters

Modified: trunk/LayoutTests/media/network-no-source-const-shadow-expected.txt (125137 => 125138)


--- trunk/LayoutTests/media/network-no-source-const-shadow-expected.txt	2012-08-09 01:46:16 UTC (rev 125137)
+++ trunk/LayoutTests/media/network-no-source-const-shadow-expected.txt	2012-08-09 02:05:36 UTC (rev 125138)
@@ -1,4 +1,4 @@
-Test that NETWORK_NO_SOURCE is immutable at the appropriate times
+Test that NETWORK_NO_SOURCE is immutable
 
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
@@ -8,7 +8,7 @@
 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
+FAIL element.NETWORK_NO_SOURCE should be 3. Was 15.
 PASS successfullyParsed is true
 
 TEST COMPLETE

Modified: trunk/LayoutTests/media/network-no-source-const-shadow.html (125137 => 125138)


--- trunk/LayoutTests/media/network-no-source-const-shadow.html	2012-08-09 01:46:16 UTC (rev 125137)
+++ trunk/LayoutTests/media/network-no-source-const-shadow.html	2012-08-09 02:05:36 UTC (rev 125138)
@@ -1,7 +1,7 @@
 <!DOCTYPE html>
 <script src=""
 <script>
-description("Test that NETWORK_NO_SOURCE is immutable at the appropriate times");
+description("Test that NETWORK_NO_SOURCE is immutable");
 
 shouldBe("HTMLMediaElement.NETWORK_NO_SOURCE", "3");
 shouldBe("HTMLMediaElement.prototype.NETWORK_NO_SOURCE", "3");
@@ -16,6 +16,6 @@
 
 shouldBe("HTMLMediaElement.NETWORK_NO_SOURCE", "3");
 shouldBe("HTMLAudioElement.prototype.NETWORK_NO_SOURCE", "3");
-shouldBe("element.NETWORK_NO_SOURCE", "15");
+shouldBe("element.NETWORK_NO_SOURCE", "3");
 </script>
 <script src=""
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to