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
+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
--- /dev/null
+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
+