Home | History | Annotate | Download | only in v8

Lines Matching defs:world

249 V8WindowShell* ScriptController::existingWindowShell(DOMWrapperWorld* world)
251 ASSERT(world);
253 if (world->isMainWorld())
257 if (world == existingWindowShellWorkaroundWorld())
260 IsolatedWorldMap::iterator iter = m_isolatedWorlds.find(world->worldId());
266 V8WindowShell* ScriptController::windowShell(DOMWrapperWorld* world)
268 ASSERT(world);
271 if (world->isMainWorld())
274 IsolatedWorldMap::iterator iter = m_isolatedWorlds.find(world->worldId());
278 OwnPtr<V8WindowShell> isolatedWorldShell = V8WindowShell::create(m_frame, world, m_isolate);
280 m_isolatedWorlds.set(world->worldId(), isolatedWorldShell.release());
284 if (world->isMainWorld()) {
288 m_frame->loader()->dispatchDidClearWindowObjectInWorld(world);
295 if (DOMWrapperWorld* world = isolatedWorldForEnteredContext())
296 return world->isolatedWorldHasContentSecurityPolicy();
308 static inline v8::Local<v8::Context> contextForWorld(ScriptController* scriptController, DOMWrapperWorld* world)
310 return scriptController->windowShell(world)->context();
534 SecurityOrigin* origin = isolatedWorldShell->world()->isolatedWorldSecurityOrigin();
694 RefPtr<DOMWrapperWorld> world = DOMWrapperWorld::ensureIsolatedWorld(worldID, extensionGroup);
695 V8WindowShell* isolatedWorldShell = windowShell(world.get());