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
+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.
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!)
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>