2010-11-29 Gavin Peters <gavinp@chromium.org>
authorojan@chromium.org <ojan@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Nov 2010 22:02:12 +0000 (22:02 +0000)
committerojan@chromium.org <ojan@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 29 Nov 2010 22:02:12 +0000 (22:02 +0000)
        Reviewed by Ojan Vafai.

        unloadable-script not testing both cases
        https://bugs.webkit.org/show_bug.cgi?id=50177

        * http/tests/misc/unloadable-script-expected.txt:
        * http/tests/misc/unloadable-script.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@72830 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/http/tests/misc/unloadable-script-expected.txt
LayoutTests/http/tests/misc/unloadable-script.html

index 4f9ab7e619e2cef4f7fe7d946845b56494f58e89..f8291bff9b840aa5eea75059c2da43bfead9f4f4 100644 (file)
@@ -1,3 +1,13 @@
+2010-11-29  Gavin Peters  <gavinp@chromium.org>
+
+        Reviewed by Ojan Vafai.
+
+        unloadable-script not testing both cases
+        https://bugs.webkit.org/show_bug.cgi?id=50177
+
+        * http/tests/misc/unloadable-script-expected.txt:
+        * http/tests/misc/unloadable-script.html:
+
 2010-11-29  Cosmin Truta  <ctruta@chromium.org>
 
         Reviewed by Nikolas Zimmermann.
index fbe11b0904a17dd7985eefaf4cf32acf215f531c..4a9a7b910521997b74531587079bf116da610ac7 100644 (file)
@@ -1,6 +1,9 @@
 CONSOLE MESSAGE: line 0: Not allowed to load local resource: foobar
+CONSOLE MESSAGE: line 0: Not allowed to load local resource: foobar
 Test for bug 13584: <script> code wrongly assumes requests can't fail.
 
 No crash == SUCCESS.
 
 onerror called (good!)
+
+onerror called (good!)
index fbc40963d73ba3b988434774e96025f8723a7252..4f2054913542f09a0d3d80e5ee591adfb26b6a19 100644 (file)
@@ -25,7 +25,7 @@ function log(message) {
         document.getElementById('test_script').src = "file:///foobar";
         
         script = document.createElement("script");
-        script.setAttribute("src", "resources/foobar");
+        script.setAttribute("src", "file:///foobar");
         document.body.appendChild(script);
     </script>
 </body>