Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(505)

Issue 2644143005: Adjust the <script nonce>-hiding experiment (Closed)

Created:
3 years, 11 months ago by Mike West
Modified:
3 years, 11 months ago
CC:
blink-reviews, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, krit, eae+blinkwatch, f(malita), fs, gyuyoung2, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney, sof
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adjust the <script nonce>-hiding experiment After a bit more conversation, this patch follows up on the initial stab at attribute changes in https://codereview.chromium.org/2628733005 in two ways: 1. It fixes some bits and pieces of SVGScriptElement handling that were simply broken in the initial patch (e.g. the 'nonce' attribute wasn't actually exposed via IDL), and adds SVG-based tests. 2. We no longer clear the nonce value after execution; we're already preventing re-execution of a script block with a check in 'ScriptLoader::prepareScript' so there's little added value in removing the nonce, but it incurs some non-trivial cost by making manual nonce propagation difficult. BUG=680419 R=jochen@chromium.org Review-Url: https://codereview.chromium.org/2644143005 Cr-Commit-Position: refs/heads/master@{#445049} Committed: https://chromium.googlesource.com/chromium/src/+/a7a3f277b70327d2fd2f383acba1b1c2c78f018c

Patch Set 1 #

Patch Set 2 : webexposed #

Messages

Total messages: 13 (8 generated)
Mike West
Jochen, based on some conversation with lwe@, this seems like the right direction for us ...
3 years, 11 months ago (2017-01-20 11:33:45 UTC) #5
jochen (gone - plz use gerrit)
lgtm
3 years, 11 months ago (2017-01-20 11:58:46 UTC) #6
lwe
lgtm
3 years, 11 months ago (2017-01-20 12:04:22 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2644143005/20001
3 years, 11 months ago (2017-01-20 12:55:52 UTC) #10
commit-bot: I haz the power
3 years, 11 months ago (2017-01-20 14:29:41 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/a7a3f277b70327d2fd2f383acba1...

Powered by Google App Engine
This is Rietveld 408576698