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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp

Issue 2738533003: Use "entered or microtask context" instead of "entered or current context" (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/V8Binding.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp b/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp
index c8897036a59f99b1018adf11f7c79739be6083c3..c6b17a502c1e306eca486ff7124eaaf16b3f83de 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScheduledAction.cpp
@@ -54,7 +54,7 @@ ScheduledAction* ScheduledAction::create(ScriptState* scriptState,
ASSERT(handler.isFunction());
if (!scriptState->world().isWorkerWorld()) {
if (!BindingSecurity::shouldAllowAccessToFrame(
- enteredOrMicrotaskDOMWindow(scriptState->isolate()),
+ enteredDOMWindow(scriptState->isolate()),
toDocument(target)->frame(),
BindingSecurity::ErrorReportOption::DoNotReport)) {
UseCounter::count(target, UseCounter::ScheduledActionIgnored);
@@ -69,7 +69,7 @@ ScheduledAction* ScheduledAction::create(ScriptState* scriptState,
const String& handler) {
if (!scriptState->world().isWorkerWorld()) {
if (!BindingSecurity::shouldAllowAccessToFrame(
- enteredOrMicrotaskDOMWindow(scriptState->isolate()),
+ enteredDOMWindow(scriptState->isolate()),
toDocument(target)->frame(),
BindingSecurity::ErrorReportOption::DoNotReport)) {
UseCounter::count(target, UseCounter::ScheduledActionIgnored);
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/V8Binding.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698