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

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

Issue 2433773006: Remove ExecutionContext::activeDOMObjectsAreStopped()
Patch Set: Created 4 years, 2 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
Index: third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp
index 6446e1ea8bcd3d5892349500e40342bbd01af2ea..289631df87ee3a523ac09c6d734da5ab3e4f1ad1 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp
@@ -375,9 +375,7 @@ TEST_F(ScriptPromisePropertyGarbageCollectedTest, Resolve_DeadContext) {
}
destroyContext();
- EXPECT_TRUE(
- !getProperty()->getExecutionContext() ||
- getProperty()->getExecutionContext()->activeDOMObjectsAreStopped());
+ EXPECT_TRUE(!getProperty()->getExecutionContext());
getProperty()->resolve(new GarbageCollectedScriptWrappable("value"));
EXPECT_EQ(Property::Pending, getProperty()->getState());

Powered by Google App Engine
This is Rietveld 408576698