git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added in support for content-type sniffing for scripts. Fixes #5718.
[jquery.git]
/
test
/
data
/
script.php
diff --git a/test/data/script.php
b/test/data/script.php
new file mode 100644
(file)
index 0000000..
55d7bc2
--- /dev/null
+++ b/
test/data/script.php
@@ -0,0
+1,7
@@
+<?php
+error_reporting(0);
+if ( $_REQUEST['header'] ) {
+ header("Content-type: text/javascript");
+}
+?>
+ok( true, "Script executed correctly." );