WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 76083
84884
[Safari] jQuery's getJSON fails when the script element that loaded jquery.js is removed from document
https://bugs.webkit.org/show_bug.cgi?id=84884
Summary
[Safari] jQuery's getJSON fails when the script element that loaded jquery.js...
Ryosuke Niwa
Reported
2012-04-25 12:38:03 PDT
Created
attachment 138857
[details]
demo Reduction: 1. Save the attached document locally. 2. Open it. Expected result: Alerts 'PASS' Actual result: No alerts
Attachments
demo
(390 bytes, text/html)
2012-04-25 12:38 PDT
,
Ryosuke Niwa
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2012-04-25 12:40:39 PDT
The script works as intended if the script element is not removed. This was reported on facebook by a Japanese developer. He says the problem doesn't reproduce on Chrome.
Alexey Proskuryakov
Comment 2
2012-04-25 14:58:08 PDT
This looks like correct behavior to me - the script element is removed before the script loads, so it never has a chance to execute.
Ryosuke Niwa
Comment 3
2012-04-25 15:01:43 PDT
(In reply to
comment #2
)
> This looks like correct behavior to me - the script element is removed before the script loads, so it never has a chance to execute.
The script is supposed to be loaded since it doesn't have differ or aync content attributes on them.
Alexey Proskuryakov
Comment 4
2012-04-25 15:15:27 PDT
Indeed, this is a valid test case. This has been fixed already, which is why this passes in Chrome. *** This bug has been marked as a duplicate of
bug 76083
***
Ryosuke Niwa
Comment 5
2012-04-25 15:17:18 PDT
(In reply to
comment #4
)
> Indeed, this is a valid test case. This has been fixed already, which is why this passes in Chrome. > > *** This bug has been marked as a duplicate of
bug 76083
***
Ah, great!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug