Title: [206215] trunk/LayoutTests
Revision
206215
Author
jer.no...@apple.com
Date
2016-09-21 10:20:44 -0700 (Wed, 21 Sep 2016)

Log Message

Unreviewed gardening; after r206208, update url-null.html test to reflect current (specced) behavior.

* fast/files/url-null-expected.txt:
* fast/files/url-null.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (206214 => 206215)


--- trunk/LayoutTests/ChangeLog	2016-09-21 17:16:33 UTC (rev 206214)
+++ trunk/LayoutTests/ChangeLog	2016-09-21 17:20:44 UTC (rev 206215)
@@ -1,5 +1,12 @@
 2016-09-21  Jer Noble  <jer.no...@apple.com>
 
+        Unreviewed gardening; after r206208, update url-null.html test to reflect current (specced) behavior.
+
+        * fast/files/url-null-expected.txt:
+        * fast/files/url-null.html:
+
+2016-09-21  Jer Noble  <jer.no...@apple.com>
+
         Unreviewed gardening; mark imported/w3c/web-platform-tests/media-source/ tests as passing by default
         and mark specific tests to skip or fail (rather than vice versa).
 

Modified: trunk/LayoutTests/fast/files/url-null-expected.txt (206214 => 206215)


--- trunk/LayoutTests/fast/files/url-null-expected.txt	2016-09-21 17:16:33 UTC (rev 206214)
+++ trunk/LayoutTests/fast/files/url-null-expected.txt	2016-09-21 17:20:44 UTC (rev 206215)
@@ -2,7 +2,7 @@
 
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
-PASS URL.createObjectURL(null) is null
+PASS URL.createObjectURL(null) threw exception TypeError: Type error.
 URL.revokeObjectURL(null)
 PASS successfullyParsed is true
 

Modified: trunk/LayoutTests/fast/files/url-null.html (206214 => 206215)


--- trunk/LayoutTests/fast/files/url-null.html	2016-09-21 17:16:33 UTC (rev 206214)
+++ trunk/LayoutTests/fast/files/url-null.html	2016-09-21 17:20:44 UTC (rev 206215)
@@ -9,7 +9,7 @@
 <script>
 description("Test URL methods with null arguments.");
 
-shouldBe("URL.createObjectURL(null)", "null");
+shouldThrowErrorName("URL.createObjectURL(null)", "TypeError");
 evalAndLog("URL.revokeObjectURL(null)");
 var successfullyParsed = true;
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to