| /external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/ |
| ServiceWorkerRegistration.cpp | 11 #include "bindings/core/v8/ScriptState.h" 88 return from(resolver->scriptState()->executionContext(), registration); 101 ScriptPromise ServiceWorkerRegistration::unregister(ScriptState* scriptState) 103 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState); 111 RefPtr<SecurityOrigin> documentOrigin = scriptState->executionContext()->securityOrigin(); 112 KURL scopeURL = scriptState->executionContext()->completeURL(scope());
|
| /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
| PageScriptDebugServer.cpp | 171 void PageScriptDebugServer::compileScript(ScriptState* scriptState, const String& expression, const String& sourceURL, String* scriptId, String* exceptionDetailsText, int* lineNumber, int* columnNumber, RefPtrWillBeRawPtr<ScriptCallStack>* stackTrace) 173 ExecutionContext* executionContext = scriptState->executionContext(); 175 ScriptDebugServer::compileScript(scriptState, expression, sourceURL, scriptId, exceptionDetailsText, lineNumber, columnNumber, stackTrace); 186 void PageScriptDebugServer::runScript(ScriptState* scriptState, const String& scriptId, ScriptValue* result, bool* wasThrown, String* exceptionDetailsText, int* lineNumber, int* columnNumber, RefPtrWillBeRawPtr<ScriptCallStack>* stackTrace) 190 ExecutionContext* executionContext = scriptState->executionContext(); 200 ScriptDebugServer::runScript(scriptState, scriptId, result, wasThrown, exceptionDetailsText, lineNumber, columnNumber, stackTrace);
|
| ScriptProfiler.cpp | 121 ScriptState* scriptState = ScriptState::from(object->CreationContext()); 122 return ScriptValue(scriptState, object); 230 // FIXME: This method should receive a ScriptState, from which we should retrieve an Isolate. 264 // visitNodeWrappers() should receive a ScriptState and retrieve an Isolate 265 // from the ScriptState.
|
| ScriptStreamerTest.cpp | 75 ScriptState* scriptState() const { return m_scope.scriptState(); } 146 ScriptStreamer::startStreaming(pendingScript(), m_settings.get(), m_scope.scriptState(), PendingScript::ParsingBlocking); 177 ScriptStreamer::startStreaming(pendingScript(), m_settings.get(), m_scope.scriptState(), PendingScript::ParsingBlocking); 209 ScriptStreamer::startStreaming(pendingScript(), m_settings.get(), m_scope.scriptState(), PendingScript::ParsingBlocking); 237 ScriptStreamer::startStreaming(pendingScript(), m_settings.get(), m_scope.scriptState(), PendingScript::ParsingBlocking); 264 ScriptStreamer::startStreaming(pendingScript(), m_settings.get(), m_scope.scriptState(), PendingScript::ParsingBlocking);
|
| V8PerContextData.cpp | 34 #include "bindings/core/v8/ScriptState.h" 75 return ScriptState::from(context)->perContextData();
|
| V8PerIsolateData.cpp | 183 m_scriptRegexpScriptState = ScriptState::create(context, DOMWrapperWorld::create());
|
| V8Binding.h | 569 PassRefPtrWillBeRawPtr<NodeFilter> toNodeFilter(v8::Handle<v8::Value>, v8::Handle<v8::Object>, ScriptState*); [all...] |
| CustomElementConstructorBuilder.cpp | 57 CustomElementConstructorBuilder::CustomElementConstructorBuilder(ScriptState* scriptState, const Dictionary* options) 58 : m_scriptState(scriptState)
|
| V8Binding.cpp | 123 PassRefPtrWillBeRawPtr<NodeFilter> toNodeFilter(v8::Handle<v8::Value> callback, v8::Handle<v8::Object> creationContext, ScriptState* scriptState) 129 v8::Handle<v8::Object> filterWrapper = toV8(filter, creationContext, scriptState->isolate()).As<v8::Object>(); 131 RefPtrWillBeRawPtr<NodeFilterCondition> condition = V8NodeFilterCondition::create(callback, filterWrapper, scriptState); [all...] |
| /external/chromium_org/third_party/WebKit/Source/core/inspector/ |
| InspectorInstrumentation.idl | 215 void didCreateIsolatedContext([Keep] LocalFrame*, ScriptState*, SecurityOrigin*); 490 void consoleTimeEnd([Keep] ExecutionContext* context, const String& title, ScriptState* state); 496 void consoleTimeline([Keep] ExecutionContext* context, const String& title, ScriptState* state); 499 void consoleTimelineEnd([Keep] ExecutionContext* context, const String& title, ScriptState* state);
|
| JavaScriptCallFrame.cpp | 183 ScriptValue JavaScriptCallFrame::setVariableValue(ScriptState* scriptState, int scopeNumber, const String& variableName, const ScriptValue& newValue) 185 ScriptState::Scope scriptScope(scriptState); 193 return ScriptValue(scriptState, setVariableValueFunction->Call(callFrame, WTF_ARRAY_LENGTH(argv), argv));
|
| InjectedScriptBase.cpp | 115 return m_inspectedStateAccessCheck(m_injectedScriptObject.scriptState()); 126 ExecutionContext* executionContext = m_injectedScriptObject.scriptState()->executionContext(); 132 ScriptState* scriptState = m_injectedScriptObject.scriptState(); 134 if (scriptState) { 135 evalIsDisabled = !scriptState->evalEnabled(); 138 scriptState->setEvalEnabled(true); 144 scriptState->setEvalEnabled(false); 163 *result = resultValue.toJSONValue(m_injectedScriptObject.scriptState()); [all...] |
| InjectedScriptCanvasModule.cpp | 53 InjectedScriptCanvasModule InjectedScriptCanvasModule::moduleForState(InjectedScriptManager* injectedScriptManager, ScriptState* scriptState) 56 result.ensureInjected(injectedScriptManager, scriptState);
|
| InspectorHeapProfilerAgent.cpp | 294 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptFor(heapObject.scriptState()); 312 ScriptState::Scope scope(injectedScript.scriptState());
|
| InspectorRuntimeAgent.cpp | 36 #include "bindings/core/v8/ScriptState.h" 215 void InspectorRuntimeAgent::addExecutionContextToFrontend(ScriptState* scriptState, bool isPageContext, const String& origin, const String& frameId) 217 int executionContextId = injectedScriptManager()->injectedScriptIdFor(scriptState); 218 m_scriptStateToId.set(scriptState, executionContextId); 219 DOMWrapperWorld& world = scriptState->world();
|
| InspectorOverlay.cpp | 747 ScriptState* scriptState = ScriptState::forMainWorld(frame.get()); 748 ASSERT(!scriptState->contextIsValid()); 749 ScriptState::Scope scope(scriptState); 750 v8::Handle<v8::Object> global = scriptState->context()->Global();
|
| InspectorController.cpp | 352 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptFor(ScriptState::forMainWorld(frame));
|
| /external/chromium_org/third_party/WebKit/Source/core/streams/ |
| ReadableStreamTest.cpp | 10 #include "bindings/core/v8/ScriptState.h" 35 static v8::Handle<v8::Function> createFunction(ScriptState* scriptState, String* value) 37 StringCapturingFunction* self = new StringCapturingFunction(scriptState, value); 42 StringCapturingFunction(ScriptState* scriptState, String* value) 43 : ScriptFunction(scriptState) 64 MOCK_METHOD2(cancelSource, ScriptPromise(ScriptState*, ScriptValue)); 87 , m_scope(scriptState()) 89 , m_exceptionState(ExceptionState::ConstructionContext, "property", "interface", scriptState()->context()->Global(), isolate() [all...] |
| /external/chromium_org/third_party/WebKit/Source/bindings/tests/results/core/ |
| V8TestInterface.cpp | 13 #include "bindings/core/v8/ScriptState.h" 466 impl->setImplementsEventHandlerAttribute(V8EventListenerList::getEventListener(ScriptState::current(info.GetIsolate()), v8Value, true, ListenerFindOrCreate)); [all...] |
| /external/chromium_org/third_party/WebKit/Source/core/testing/ |
| Internals.cpp | 155 virtual ScriptValue next(ScriptState* scriptState, ExceptionState& exceptionState) OVERRIDE 157 v8::Isolate* isolate = scriptState->isolate(); 160 return ScriptValue(scriptState, v8DoneIteratorResult(isolate)); 162 return ScriptValue(scriptState, v8IteratorResult(scriptState, value)); 165 virtual ScriptValue next(ScriptState* scriptState, ScriptValue value, ExceptionState& exceptionState) OVERRIDE [all...] |
| /external/chromium_org/third_party/WebKit/Source/core/css/ |
| FontFace.cpp | 35 #include "bindings/core/v8/ScriptState.h" 349 ScriptPromise FontFace::fontStatusPromise(ScriptState* scriptState) 352 m_loadedProperty = new LoadedProperty(scriptState->executionContext(), this, LoadedProperty::Loaded); 358 return m_loadedProperty->promise(scriptState->world()); 361 ScriptPromise FontFace::load(ScriptState* scriptState) 363 loadInternal(scriptState->executionContext()); 364 return fontStatusPromise(scriptState);
|
| /external/chromium_org/third_party/WebKit/Source/core/dom/ |
| Document.idl | 201 [CallWith=ScriptState, CustomElementCallbacks, RaisesException, MeasureAs=DocumentRegisterElement] CustomElementConstructor registerElement(DOMString name, optional Dictionary options);
|
| /external/chromium_org/third_party/WebKit/Source/web/ |
| WebDocument.cpp | 36 #include "bindings/core/v8/ScriptState.h" 335 ScriptValue constructor = document->registerElement(ScriptState::current(isolate), name, dictionary, exceptionState, CustomElement::EmbedderNames);
|
| /external/chromium_org/third_party/WebKit/Source/core/frame/csp/ |
| CSPDirectiveList.cpp | 67 void CSPDirectiveList::reportViolationWithState(const String& directiveText, const String& effectiveDirective, const String& message, const KURL& blockedURL, ScriptState* scriptState) const 71 consoleMessage->setScriptState(scriptState); 133 bool CSPDirectiveList::checkEvalAndReportViolation(SourceListDirective* directive, const String& consoleMessage, ScriptState* scriptState) const 142 reportViolationWithState(directive->text(), ContentSecurityPolicy::ScriptSrc, consoleMessage + "\"" + directive->text() + "\"." + suffix + "\n", KURL(), scriptState); 267 bool CSPDirectiveList::allowEval(ScriptState* scriptState, ContentSecurityPolicy::ReportingStatus reportingStatus) const 272 checkEvalAndReportViolation(operativeDirective(m_scriptSrc.get()), consoleMessage, scriptState) :
|
| ContentSecurityPolicy.cpp | 288 template<bool (CSPDirectiveList::*allowed)(ScriptState* scriptState, ContentSecurityPolicy::ReportingStatus) const> 289 bool isAllowedByAllWithState(const CSPDirectiveListVector& policies, ScriptState* scriptState, ContentSecurityPolicy::ReportingStatus reportingStatus) 292 if (!(policies[i].get()->*allowed)(scriptState, reportingStatus)) 409 bool ContentSecurityPolicy::allowEval(ScriptState* scriptState, ContentSecurityPolicy::ReportingStatus reportingStatus) const 411 return isAllowedByAllWithState<&CSPDirectiveList::allowEval>(m_policies, scriptState, reportingStatus); [all...] |