Open
Bug 1773499
Opened 4 years ago
Updated 3 years ago
Re-use the result from JavaScript validator
Categories
(Core :: DOM: Core & HTML, enhancement)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: farre, Unassigned)
References
Details
(Whiteboard: [orb:future])
In Bug 1532644 we plan to implement a JS Oracle to be able to block no-cors cross-origin responses that poses as JavaScript but isn't.
In the case where the validator finds that the resource is JavaScript, it would be nice to re-use that result and not need to double parse.
Updated•4 years ago
|
Whiteboard: [orb:future]
Comment 1•4 years ago
|
||
Isn't the plan for bug 1532644 to only validate the first 1024 bytes? Reusing a partial parse seems finicky and not necessarily worthwhile.
You need to log in
before you can comment on or make changes to this bug.
Description
•