Title: [114279] trunk/LayoutTests
Revision
114279
Author
ander...@apple.com
Date
2012-04-16 11:06:00 -0700 (Mon, 16 Apr 2012)

Log Message

Try to fix a flaky JS test.

Use a URL that's allowed to load so the resource load delegate won't randomly complain about it depending on
if the load starts before the Audio object is garbage collected (that's my guess anyway).

* fast/js/custom-constructors-expected.txt:
* fast/js/script-tests/custom-constructors.js:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (114278 => 114279)


--- trunk/LayoutTests/ChangeLog	2012-04-16 18:01:30 UTC (rev 114278)
+++ trunk/LayoutTests/ChangeLog	2012-04-16 18:06:00 UTC (rev 114279)
@@ -1,3 +1,13 @@
+2012-04-16  Anders Carlsson  <ander...@apple.com>
+
+        Try to fix a flaky JS test.
+
+        Use a URL that's allowed to load so the resource load delegate won't randomly complain about it depending on
+        if the load starts before the Audio object is garbage collected (that's my guess anyway).
+
+        * fast/js/custom-constructors-expected.txt:
+        * fast/js/script-tests/custom-constructors.js:
+
 2012-04-16  Philippe Normand  <pnorm...@igalia.com>
 
         Unreviewed, GTK test_expectations update.

Modified: trunk/LayoutTests/fast/js/custom-constructors-expected.txt (114278 => 114279)


--- trunk/LayoutTests/fast/js/custom-constructors-expected.txt	2012-04-16 18:01:30 UTC (rev 114278)
+++ trunk/LayoutTests/fast/js/custom-constructors-expected.txt	2012-04-16 18:06:00 UTC (rev 114279)
@@ -40,8 +40,8 @@
 PASS new Audio().tagName is "AUDIO"
 PASS new Audio().src is ""
 PASS new Audio().preload is "auto"
-PASS new Audio('http://0.0.0.0/someurl').src is "http://0.0.0.0/someurl"
-PASS new Audio('http://0.0.0.0/someurl').preload is "auto"
+PASS new Audio('http://127.0.0.1/someurl').src is "http://127.0.0.1/someurl"
+PASS new Audio('http://127.0.0.1/someurl').preload is "auto"
 PASS successfullyParsed is true
 
 TEST COMPLETE

Modified: trunk/LayoutTests/fast/js/script-tests/custom-constructors.js (114278 => 114279)


--- trunk/LayoutTests/fast/js/script-tests/custom-constructors.js	2012-04-16 18:01:30 UTC (rev 114278)
+++ trunk/LayoutTests/fast/js/script-tests/custom-constructors.js	2012-04-16 18:06:00 UTC (rev 114279)
@@ -53,5 +53,5 @@
 
 shouldBeEqualToString("new Audio().src", "");
 shouldBeEqualToString("new Audio().preload", "auto");
-shouldBeEqualToString("new Audio('http://0.0.0.0/someurl').src", "http://0.0.0.0/someurl");
-shouldBeEqualToString("new Audio('http://0.0.0.0/someurl').preload", "auto");
+shouldBeEqualToString("new Audio('http://127.0.0.1/someurl').src", "http://127.0.0.1/someurl");
+shouldBeEqualToString("new Audio('http://127.0.0.1/someurl').preload", "auto");
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to