Closed
Bug 1585674
Opened 5 years ago
Closed 5 years ago
@import scanner could start loads a bit earlier.
Categories
(Core :: DOM: HTML Parser, defect)
Core
DOM: HTML Parser
Tracking
()
RESOLVED
FIXED
mozilla71
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(1 file)
Rather than when finishing the style element, it could be useful to just do that while scanning the inline stylesheet text. People like long <style>
elements :)
Assignee | ||
Comment 1•5 years ago
|
||
Consider the case of a very big <style> element, with a few imports on top,
which we cut half-way over the network.
The @import scanner would be likely to have found anything there is to be found,
but we won't process it until we pop the <style> element. It's relatively low
effort to support this use-case by making Scan() return the already-found urls.
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/05bd576d46f5
Start loads more incrementally in the @import scanner. r=hsivonen
Comment 3•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox71:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in
before you can comment on or make changes to this bug.
Description
•