We should add the reflected nonce attribute to the HTML Link element IDL definition so as to match the HTML standard: <https://html.spec.whatwg.org/multipage/semantics.html#the-link-element> (9 December 2016).
Created attachment 296762 [details] Patch and layout test
Comment on attachment 296762 [details] Patch and layout test View in context: https://bugs.webkit.org/attachment.cgi?id=296762&action=review > LayoutTests/fast/dom/nonce-attribute-reflection.html:10 > +var e; Can we not use a single letter variable like e?
(In reply to comment #2) > Comment on attachment 296762 [details] > Patch and layout test > > View in context: > https://bugs.webkit.org/attachment.cgi?id=296762&action=review > > > LayoutTests/fast/dom/nonce-attribute-reflection.html:10 > > +var e; > > Can we not use a single letter variable like e? Will substitute element for e before landing. For completeness, I chose to use "e" as the name of the global variable so as to focus the attention of the reader on the commands being used to generate the DOM element and set nonce attribute as opposed to the name of the global used solely to string all these commands together so as to make use of shouldBeEqualToString().
Committed r209644: <http://trac.webkit.org/changeset/209644>