aboutsummaryrefslogtreecommitdiffstats
path: root/test/data
diff options
context:
space:
mode:
authorDavid Serduke <davidserduke@gmail.com>2007-11-29 19:07:20 +0000
committerDavid Serduke <davidserduke@gmail.com>2007-11-29 19:07:20 +0000
commit4b8f6cdc86c395fb92c7d50e8642118963232af4 (patch)
treeab8aec891b1b11c1941a0f02f0033b8004173090 /test/data
parent7ac564cd98a869d558ea4b3be6919baab0f48d10 (diff)
downloadjquery-4b8f6cdc86c395fb92c7d50e8642118963232af4.tar.gz
jquery-4b8f6cdc86c395fb92c7d50e8642118963232af4.zip
Fixed #1557, although it doesn't appear to be just an FF3 problem. In this case, $.getJSON() wasn't working from a remote host. I went ahead and added a unit test then added the s.dataType == "json" test for a remote <script> load. The said that json was allowed but the dataType check was missing. This appears to have fixed the bug across all browsers.
Diffstat (limited to 'test/data')
-rw-r--r--test/data/json_assigned_obj.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/data/json_assigned_obj.js b/test/data/json_assigned_obj.js
new file mode 100644
index 000000000..867251dad
--- /dev/null
+++ b/test/data/json_assigned_obj.js
@@ -0,0 +1 @@
+json_assigned_obj = { "test" : "worked" };