mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
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.
This commit is contained in:
1
test/data/json_assigned_obj.js
Normal file
1
test/data/json_assigned_obj.js
Normal file
@@ -0,0 +1 @@
|
||||
json_assigned_obj = { "test" : "worked" };
|
||||
Reference in New Issue
Block a user