Lines Matching defs:mainWorld
141 DOMWrapperWorld& mainWorld() { return mainScriptState()->world(); }
201 ScriptPromise v = property()->promise(DOMWrapperWorld::mainWorld());
202 ScriptPromise w = property()->promise(DOMWrapperWorld::mainWorld());
207 EXPECT_EQ(v.v8Value().As<v8::Object>()->CreationContext(), toV8Context(&document(), mainWorld()));
215 ScriptPromise v = property()->promise(DOMWrapperWorld::mainWorld());
216 ScriptPromise w = property()->promise(DOMWrapperWorld::mainWorld());
218 EXPECT_NE(&mainWorld(), &otherWorld());
229 EXPECT_EQ(v.v8Value().As<v8::Object>()->CreationContext(), toV8Context(&document(), mainWorld()));
236 ScriptPromise v = promise(DOMWrapperWorld::mainWorld());
242 ScriptPromise w = promise(DOMWrapperWorld::mainWorld());
249 ScriptValue holderWrapper = wrap(mainWorld(), holder()->toGarbageCollectedScriptWrappable());
254 observation = GCObservation::create(promise(DOMWrapperWorld::mainWorld()).v8Value());
269 ScriptPromise promise = property()->promise(DOMWrapperWorld::mainWorld());
294 EXPECT_EQ(wrap(mainWorld(), value), actual);
301 ScriptPromise promise = property()->promise(DOMWrapperWorld::mainWorld());
329 EXPECT_EQ(wrap(mainWorld(), value), actual);
345 property()->promise(DOMWrapperWorld::mainWorld()).then(notReached(currentScriptState()), stub(currentScriptState(), actual, nRejectCalls));
355 EXPECT_EQ(wrap(mainWorld(), reason), actual);
369 EXPECT_TRUE(property->promise(DOMWrapperWorld::mainWorld()).isEmpty());
378 property->promise(DOMWrapperWorld::mainWorld()).then(notReached(currentScriptState()), notReached(currentScriptState()));
402 oldPromise = property()->promise(mainWorld());
410 newPromise = property()->promise(mainWorld());
422 EXPECT_EQ(wrap(mainWorld(), oldValue), oldActual);
423 EXPECT_EQ(wrap(mainWorld(), newValue), newActual);
451 property()->promise(DOMWrapperWorld::mainWorld()).then(stub(currentScriptState(), actual, nResolveCalls), notReached(currentScriptState()));
460 EXPECT_EQ(wrap(mainWorld(), value), actual);
470 property()->promise(DOMWrapperWorld::mainWorld
479 EXPECT_EQ(wrap(mainWorld(), reason), actual);
524 property->promise(DOMWrapperWorld::mainWorld()).then(stub(currentScriptState(), actualValue, nResolveCalls), notReached(currentScriptState()));