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

Issue 1716303002: Remove SecurityOrigin::isPotentiallyTrustworthy() |errorMessage| (Closed)

Created:
4 years, 10 months ago by estark
Modified:
4 years, 10 months ago
Reviewers:
Mike West
CC:
chromium-reviews, kinuko+worker_chromium.org, sof, eae+blinkwatch, falken, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews, horo+watch_chromium.org, kinuko+watch, blink-worker-reviews_chromium.org, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove SecurityOrigin::isPotentiallyTrustworthy() |errorMessage| isPotentiallyTrustworthy() previously took an |errorMessage| argument that it always set to the same string when it returned false. Now there is just a static method to get that string, and callers, if they so choose, can call the static method to populate an error message. This is in preparation for adapting Document::isSecureContext() for --site-per-process. In an OOPIF world, we need to replicate a flag indicating whether a sandboxed frame's origin should be considered potentially trustworthy, but we don't want to also replicate an error string as well when it isn't potentially trustworthy. BUG=571079 Committed: https://crrev.com/64b1060f5898227113951469bd35100389ad26ee Cr-Commit-Position: refs/heads/master@{#377002}

Patch Set 1 #

Patch Set 2 : do a static method instead of a constant #

Patch Set 3 : build fix #

Messages

Total messages: 10 (5 generated)
estark
Hi Mike -- what do you think of removing the |errorMessage| argument to SecurityOrigin::isPotentiallyTrustworthy() and ...
4 years, 10 months ago (2016-02-23 06:01:47 UTC) #3
Mike West
On 2016/02/23 at 06:01:47, estark wrote: > Hi Mike -- what do you think of ...
4 years, 10 months ago (2016-02-23 09:10:37 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1716303002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1716303002/40001
4 years, 10 months ago (2016-02-23 16:16:03 UTC) #6
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-23 16:25:03 UTC) #8
commit-bot: I haz the power
4 years, 10 months ago (2016-02-23 16:25:49 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/64b1060f5898227113951469bd35100389ad26ee
Cr-Commit-Position: refs/heads/master@{#377002}

Powered by Google App Engine
This is Rietveld 408576698