WebKit Bugzilla
Attachment 361285 Details for
Bug 194337
: nomodule scripts are fetched in some cases (with empty cache or in new tab)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
min repro HTML
safari.html (text/html), 702 bytes, created by
Jakub G (dailymotion)
on 2019-02-06 02:36:16 PST
(
hide
)
Description:
min repro HTML
Filename:
MIME Type:
Creator:
Jakub G (dailymotion)
Created:
2019-02-06 02:36:16 PST
Size:
702 bytes
patch
obsolete
> ><!DOCTYPE html> ><html> ><head> > <script src="https://jg-testpage.github.io/es-modules/module-nomodule/empty.js"></script> > > <script type="module" src="https://jg-testpage.github.io/es-modules/module-nomodule/module.js"></script> > <script nomodule src="https://jg-testpage.github.io/es-modules/module-nomodule/nomodule.js"></script> ></head> ><body onload="document.body.innerHTML += performance.getEntries().map(e => e.name).join('<br>')"> > >Safari bug: with empty cache, (100%), or when opening a new tab (50%+), if there's a script with neither `type=module` or `nomodule` in top of HTML, >the `nomodule` scripts get fetched. Reproducible in Safari 12 and TP74.<br><br> ></body> ></html>
<!DOCTYPE html> <html> <head> <script src="https://jg-testpage.github.io/es-modules/module-nomodule/empty.js"></script> <script type="module" src="https://jg-testpage.github.io/es-modules/module-nomodule/module.js"></script> <script nomodule src="https://jg-testpage.github.io/es-modules/module-nomodule/nomodule.js"></script> </head> <body onload="document.body.innerHTML += performance.getEntries().map(e => e.name).join('<br>')"> Safari bug: with empty cache, (100%), or when opening a new tab (50%+), if there's a script with neither `type=module` or `nomodule` in top of HTML, the `nomodule` scripts get fetched. Reproducible in Safari 12 and TP74.<br><br> </body> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 194337
: 361285 |
388501