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

Issue 2905113002: Initialize a default feature policy for all documents (Closed)

Created:
3 years, 7 months ago by iclelland
Modified:
3 years, 7 months ago
Reviewers:
jbroman
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof, tkent
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Initialize a default feature policy for all documents This corrects an issue where certain documents, which are created without going through DocumentLoader, have no feature policy set at all. This was causing crashes when other frames were created inside of those documents. BUG=722333 Review-Url: https://codereview.chromium.org/2905113002 Cr-Commit-Position: refs/heads/master@{#475141} Committed: https://chromium.googlesource.com/chromium/src/+/f89ec5976eeb8455c011b0f9e349b9c3d7194524

Patch Set 1 #

Patch Set 2 : Make clang happy #

Patch Set 3 : Initialize parent policy to nullptr #

Patch Set 4 : Fix layout test #

Total comments: 4

Patch Set 5 : Nits #

Messages

Total messages: 32 (24 generated)
iclelland
+r jbroman -- would you mind taking a look at this? The other fix for ...
3 years, 7 months ago (2017-05-26 18:07:00 UTC) #17
jbroman
This lgtm, but a reviewer with more familiarity with how security contexts relate to document ...
3 years, 7 months ago (2017-05-26 18:33:16 UTC) #20
iclelland
https://codereview.chromium.org/2905113002/diff/50001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2905113002/diff/50001/third_party/WebKit/Source/core/dom/Document.cpp#newcode5679 third_party/WebKit/Source/core/dom/Document.cpp:5679: for (auto& message : messages) { On 2017/05/26 18:33:16, ...
3 years, 7 months ago (2017-05-26 19:14:26 UTC) #21
iclelland
+cc tkent for visibility
3 years, 7 months ago (2017-05-26 19:14:45 UTC) #22
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/2905113002/70001
3 years, 7 months ago (2017-05-26 19:15:42 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/277271) android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 7 months ago (2017-05-26 19:23:52 UTC) #27
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/2905113002/70001
3 years, 7 months ago (2017-05-26 19:49:48 UTC) #29
commit-bot: I haz the power
3 years, 7 months ago (2017-05-26 21:38:22 UTC) #32
Message was sent while issue was closed.
Committed patchset #5 (id:70001) as
https://chromium.googlesource.com/chromium/src/+/f89ec5976eeb8455c011b0f9e349...

Powered by Google App Engine
This is Rietveld 408576698