Closed Bug 1842199 Opened 2 years ago Closed 2 years ago

Add nonce attribute to HTML parser

Categories

(Core :: DOM: HTML Parser, task)

task

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: tschuster, Assigned: tschuster)

References

Details

Attachments

(1 file)

We want to be able to use the nonce attribute directly in the HTML parser for preloads.

Component: DOM: Core & HTML → DOM: HTML Parser

Depends on D182564

See bug 1627263 comment 6 for a failure on my push.
Seems like removing the include from parser/html/nsHtml5StackNode.h, what do you suggest I do? I could manually edit it of course.

Flags: needinfo?(hsivonen)
Attachment #9342739 - Attachment is obsolete: false

Considering that Henri is now on PTO, I have manually reverted the changed that removed the header include, which caused the first backout.

As requested I also still need to figure out how to sync this back to github.

Pushed by tschuster@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9308cf82d5b0 Add nonce attribute to HTML parser. r=hsivonen
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch

Bug 1845254 was opened for fixing the bad code generation.

Flags: needinfo?(hsivonen)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: