Bug 267741
Summary: | sfusd.edu: Trying to load SFUSD School Finder sometimes fails | ||
---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
Component: | DOM | Assignee: | Chris Dumez <cdumez> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Chris Dumez
Trying to load the following link often fails in Safari (and Firefox), works fine in Chrome:
https://www.sfusd.edu/schools/enroll/discover/school-finder
We see the following error in the JS console:
```
[Error] ReferenceError: Can't find variable: google
(anonymous function) (js_h2tB6IRXjTJGY_6Kj6g8zvcS1bzOjvsppQOjs7XaUWs.js:12:176)
```
This is caused by the google maps script being marked as async while one of the sync script tries to access `window.google.maps`.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Chris Dumez
<rdar://116292738>
Chris Dumez
Pull request: https://github.com/WebKit/WebKit/pull/22950
EWS
Committed 273225@main (9c0f02f12a3c): <https://commits.webkit.org/273225@main>
Reviewed commits have been landed. Closing PR #22950 and removing active labels.