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

Issue 1504403003: Calling isSecureContext() with no arguments (Closed)

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

Description

Calling isSecureContext() with no arguments isSecureContext() can now be called without an error message string argument. Also removed unused strings/error messages previously used in calls to isSecureContext(). Note: This affects all variants of ExecutionContext BUG=567298 R=tkent@chromium.org Committed: https://crrev.com/071f91ee902c1f5bfab3c2495ba3605d2733e8e8 Cr-Commit-Position: refs/heads/master@{#366331}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Moved isSecureContext() implementation to base class #

Total comments: 2

Patch Set 3 : Refactored isSecureContext() #

Total comments: 4

Patch Set 4 : Small refactoring to isSecureContext() calls #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -74 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 2 3 3 chunks +76 lines, -59 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ExecutionContext.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ExecutionContext.cpp View 1 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Fullscreen.cpp View 2 3 1 chunk +1 line, -5 lines 0 comments Download
M third_party/WebKit/Source/core/frame/DOMWindow.cpp View 2 3 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/FileInputType.cpp View 2 3 1 chunk +1 line, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/cachestorage/InspectorCacheStorageAgent.cpp View 1 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp View 1 2 2 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 36 (15 generated)
itsbriany
5 years ago (2015-12-08 19:09:19 UTC) #1
tkent
+estark@
5 years ago (2015-12-09 01:10:59 UTC) #3
estark
+mkwst itsbriany: Thanks for doing this! So are you planning to do a follow-up CL ...
5 years ago (2015-12-09 01:46:20 UTC) #5
itsbriany
On 2015/12/09 01:46:20, estark wrote: > +mkwst > > itsbriany: Thanks for doing this! So ...
5 years ago (2015-12-09 02:15:20 UTC) #7
Mike West
On 2015/12/09 at 02:15:20, itsBrianY wrote: > Sure, I'll overload isPotentiallyTrustworthy() to avoid using empty ...
5 years ago (2015-12-10 08:58:06 UTC) #8
Mike West
On 2015/12/10 at 08:58:06, Mike West wrote: > On 2015/12/09 at 02:15:20, itsBrianY wrote: > ...
5 years ago (2015-12-10 08:59:35 UTC) #9
estark
Sorry it took me a while to get back to you on this! https://codereview.chromium.org/1504403003/diff/20001/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp File ...
5 years ago (2015-12-14 20:50:44 UTC) #13
itsbriany
On 2015/12/14 20:50:44, estark wrote: > Sorry it took me a while to get back ...
5 years ago (2015-12-16 16:51:28 UTC) #14
estark
Thanks, this is looking great! Just a couple more small comments inline, and some answers ...
5 years ago (2015-12-18 00:00:58 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1504403003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1504403003/40001
5 years ago (2015-12-18 00:04:08 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-18 01:35:54 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1504403003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1504403003/60001
5 years ago (2015-12-18 18:10:01 UTC) #21
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even if an ...
5 years ago (2015-12-18 18:10:05 UTC) #23
itsbriany
On 2015/12/18 00:00:58, estark wrote: > Thanks, this is looking great! Just a couple more ...
5 years ago (2015-12-18 18:14:54 UTC) #24
estark
Great, thanks! lgtm but you'll need approval from an OWNER (likely mkwst) before you can ...
5 years ago (2015-12-20 20:04:40 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1504403003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1504403003/60001
5 years ago (2015-12-21 03:28:12 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/130783)
5 years ago (2015-12-21 03:36:53 UTC) #29
tkent
rs lgtm
5 years ago (2015-12-21 03:41:18 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1504403003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1504403003/60001
5 years ago (2015-12-21 04:12:16 UTC) #32
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years ago (2015-12-21 05:33:57 UTC) #34
commit-bot: I haz the power
5 years ago (2015-12-21 05:35:02 UTC) #36
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/071f91ee902c1f5bfab3c2495ba3605d2733e8e8
Cr-Commit-Position: refs/heads/master@{#366331}

Powered by Google App Engine
This is Rietveld 408576698