Unreviewed GTK+ gardening. Add platform specific resuls for http/tests/security/modul...
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Feb 2017 12:03:02 +0000 (12:03 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Feb 2017 12:03:02 +0000 (12:03 +0000)
libsoup sniffer correctly guesses the perl MIME type as text/plain which is still an invalid JavaScript MIME type.

* platform/gtk/http/tests/security/module-no-mime-type-expected.txt: Added.

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

LayoutTests/ChangeLog
LayoutTests/platform/gtk/http/tests/security/module-no-mime-type-expected.txt [new file with mode: 0644]

index ecbd103..a92652f 100644 (file)
@@ -1,3 +1,11 @@
+2017-02-14  Carlos Garcia Campos  <cgarcia@igalia.com>
+
+        Unreviewed GTK+ gardening. Add platform specific resuls for http/tests/security/module-no-mime-type.html.
+
+        libsoup sniffer correctly guesses the perl MIME type as text/plain which is still an invalid JavaScript MIME type.
+
+        * platform/gtk/http/tests/security/module-no-mime-type-expected.txt: Added.
+
 2017-02-14  Joseph Pecoraro  <pecoraro@apple.com>
 
         Fix typo in performance-observer-callback-mutate.html
diff --git a/LayoutTests/platform/gtk/http/tests/security/module-no-mime-type-expected.txt b/LayoutTests/platform/gtk/http/tests/security/module-no-mime-type-expected.txt
new file mode 100644 (file)
index 0000000..747f72f
--- /dev/null
@@ -0,0 +1,13 @@
+CONSOLE MESSAGE: line 1: TypeError: 'text/plain' is not a valid JavaScript MIME type.
+Test module rejects scripts with no mime type.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Module is not executed yet.
+Module rejects a script with no mime type.
+PASS window.scriptsSuccessfullyLoaded is 0
+PASS successfullyParsed is true
+
+TEST COMPLETE
+