HomeSort by relevance Sort by last modified time
    Searched refs:ScriptState (Results 126 - 150 of 252) sorted by null

1 2 3 4 56 7 8 91011

  /external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
ServiceWorkerGlobalScope.cpp 37 #include "bindings/v8/ScriptState.h"
88 ScriptPromise ServiceWorkerGlobalScope::fetch(ScriptState* scriptState, Request* request)
91 return m_fetchManager->fetch(scriptState, resourceRequest.release());
94 ScriptPromise ServiceWorkerGlobalScope::fetch(ScriptState* scriptState, const String& urlstring)
98 return ScriptPromise::reject(scriptState, V8ThrowException::createTypeError("Invalid URL", scriptState->isolate()));
101 return m_fetchManager->fetch(scriptState, resourceRequest.release());
FetchManager.cpp 9 #include "bindings/v8/ScriptState.h"
133 ScriptState* state = m_resolver->scriptState();
134 ScriptState::Scope scope(state);
157 ScriptPromise FetchManager::fetch(ScriptState* scriptState, PassOwnPtr<ResourceRequest> request)
159 RefPtr<ScriptPromiseResolverWithContext> resolver = ScriptPromiseResolverWithContext::create(scriptState);
ServiceWorkerContainer.cpp 36 #include "bindings/v8/ScriptState.h"
78 ScriptPromise ServiceWorkerContainer::registerServiceWorker(ScriptState* scriptState, const String& url, const Dictionary& dictionary)
82 RefPtr<ScriptPromiseResolverWithContext> resolver = ScriptPromiseResolverWithContext::create(scriptState);
90 ExecutionContext* executionContext = scriptState->executionContext();
123 ScriptPromise ServiceWorkerContainer::unregisterServiceWorker(ScriptState* scriptState, const String& pattern)
126 RefPtr<ScriptPromiseResolverWithContext> resolver = ScriptPromiseResolverWithContext::create(scriptState);
134 RefPtr<SecurityOrigin> documentOrigin = scriptState->executionContext()->securityOrigin();
135 KURL patternURL = scriptState->executionContext()->completeURL(pattern)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
NPV8Object.cpp 80 static ScriptState* mainWorldScriptState(v8::Isolate* isolate, NPP npp, NPObject* npObject)
89 return ScriptState::from(context);
236 ScriptState* scriptState = mainWorldScriptState(isolate, npp, npObject);
237 if (!scriptState)
240 ScriptState::Scope scope(scriptState);
290 ScriptState* scriptState = mainWorldScriptState(isolate, npp, npObject);
291 if (!scriptState)
    [all...]
V8Initializer.cpp 114 ScriptState* scriptState = ScriptState::current(isolate);
115 RefPtrWillBeRawPtr<ErrorEvent> event = ErrorEvent::create(errorMessage, resource, message->GetLineNumber(), message->GetStartColumn() + 1, &scriptState->world());
130 if (frame && frame->script().existingWindowShell(scriptState->world())) {
131 V8ErrorHandler::storeExceptionOnErrorEventWrapper(event.get(), data, scriptState->context()->Global(), isolate);
154 return policy->allowEval(ScriptState::from(context));
220 ScriptState* scriptState = ScriptState::current(isolate)
    [all...]
ScriptController.h 56 class ScriptState;
121 void collectIsolatedContexts(Vector<std::pair<ScriptState*, SecurityOrigin*> >&);
ScriptPreprocessor.cpp 50 m_scriptState = ScriptState::from(toV8Context(frame, *world));
97 ScriptState::Scope scope(m_scriptState.get());
V8WorkerGlobalScopeEventListener.cpp 48 V8WorkerGlobalScopeEventListener::V8WorkerGlobalScopeEventListener(v8::Local<v8::Object> listener, bool isInline, ScriptState* scriptState)
49 : V8EventListener(listener, isInline, scriptState)
59 WorkerScriptController* script = toWorkerGlobalScope(scriptState()->executionContext())->script();
63 if (scriptState()->contextIsEmpty())
65 ScriptState::Scope scope(scriptState());
68 v8::Handle<v8::Value> jsEvent = toV8(event, scriptState()->context()->Global(), isolate());
75 v8::Local<v8::Function> handlerFunction = getListenerFunction(scriptState()->executionContext());
80 TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "FunctionCall", "data", devToolsTraceEventData(scriptState()->executionContext(), handlerFunction, isolate()))
    [all...]
DOMWrapperWorld.h 34 #include "bindings/v8/ScriptState.h"
74 return ScriptState::from(context)->world();
IDBBindingUtilitiesTest.cpp 52 bool injectKey(ScriptState* scriptState, IDBKey* key, ScriptValue& value, const String& keyPath)
56 ScriptValue keyValue = idbKeyToScriptValue(scriptState, key);
57 return injectV8KeyIntoV8Value(scriptState->isolate(), keyValue.v8Value(), value.v8Value(), idbKeyPath);
60 void checkInjection(ScriptState* scriptState, IDBKey* key, ScriptValue& value, const String& keyPath)
62 bool result = injectKey(scriptState, key, value, keyPath);
64 IDBKey* extractedKey = checkKeyFromValueAndKeyPathInternal(scriptState->isolate(), value, keyPath);
68 void checkInjectionFails(ScriptState* scriptState, IDBKey* key, ScriptValue& value, const String& keyPath
    [all...]
V8LazyEventListener.cpp 67 v8::Handle<v8::Object> toObjectWrapper(T* domObject, ScriptState* scriptState)
70 return v8::Object::New(scriptState->isolate());
71 v8::Handle<v8::Value> value = toV8(domObject, scriptState->context()->Global(), scriptState->isolate());
73 return v8::Object::New(scriptState->isolate());
74 return v8::Local<v8::Object>::New(scriptState->isolate(), value.As<v8::Object>());
79 v8::Local<v8::Object> listenerObject = getListenerObject(scriptState()->executionContext());
88 if (!scriptState()->executionContext()->isDocument())
91 LocalFrame* frame = toDocument(scriptState()->executionContext())->frame()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
InspectorIndexedDBAgent.cpp 37 #include "bindings/v8/ScriptState.h"
138 ExecutableWithDatabase(ScriptState* scriptState)
139 : m_scriptState(scriptState) { }
145 ScriptState* scriptState() const { return m_scriptState.get(); }
147 RefPtr<ScriptState> m_scriptState;
195 IDBOpenDBRequest* idbOpenDBRequest = idbFactory->open(scriptState(), databaseName, exceptionState);
259 static PassRefPtr<DatabaseLoader> create(ScriptState* scriptState, PassRefPtr<RequestDatabaseCallback> requestCallback
    [all...]
IDBRequest.h 32 #include "bindings/v8/ScriptState.h"
64 static IDBRequest* create(ScriptState*, IDBAny* source, IDBTransaction*);
131 IDBRequest(ScriptState*, IDBAny* source, IDBTransaction*);
147 RefPtr<ScriptState> m_scriptState;
IDBCursor.cpp 31 #include "bindings/v8/ScriptState.h"
112 IDBRequest* IDBCursor::update(ScriptState* scriptState, ScriptValue& value, ExceptionState& exceptionState)
145 IDBKey* keyPathKey = createIDBKeyFromScriptValueAndKeyPath(scriptState->isolate(), value, keyPath);
152 return objectStore->put(scriptState, blink::WebIDBPutModeCursorUpdate, IDBAny::create(this), value, m_primaryKey, exceptionState);
185 void IDBCursor::continueFunction(ScriptState* scriptState, const ScriptValue& keyValue, ExceptionState& exceptionState)
188 IDBKey* key = keyValue.isUndefined() || keyValue.isNull() ? nullptr : scriptValueToIDBKey(scriptState->isolate(), keyValue);
196 void IDBCursor::continuePrimaryKey(ScriptState* scriptState, const ScriptValue& keyValue, const ScriptValue& primaryKeyValue, ExceptionState& exceptionState
    [all...]
IDBObjectStore.cpp 32 #include "bindings/v8/ScriptState.h"
73 ScriptValue IDBObjectStore::keyPath(ScriptState* scriptState) const
75 return idbAnyToScriptValue(scriptState, IDBAny::create(m_metadata.keyPath));
88 IDBRequest* IDBObjectStore::get(ScriptState* scriptState, const ScriptValue& key, ExceptionState& exceptionState)
103 IDBKeyRange* keyRange = IDBKeyRange::fromScriptValue(scriptState->executionContext(), key, exceptionState);
115 IDBRequest* request = IDBRequest::create(scriptState, IDBAny::create(this), m_transaction.get());
143 IDBRequest* IDBObjectStore::add(ScriptState* scriptState, ScriptValue& value, const ScriptValue& key, ExceptionState& exceptionState
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorConsoleAgent.cpp 167 void InspectorConsoleAgent::addMessageToConsole(MessageSource source, MessageType type, MessageLevel level, const String& message, ScriptState* scriptState, PassRefPtrWillBeRawPtr<ScriptArguments> arguments, unsigned long requestIdentifier)
174 addConsoleMessage(adoptPtr(new ConsoleMessage(!isWorkerAgent(), source, type, level, message, arguments, scriptState, requestIdentifier)));
177 void InspectorConsoleAgent::addMessageToConsole(MessageSource source, MessageType type, MessageLevel level, const String& message, const String& scriptId, unsigned lineNumber, unsigned columnNumber, ScriptState* scriptState, unsigned long requestIdentifier)
185 addConsoleMessage(adoptPtr(new ConsoleMessage(canGenerateCallStack, source, type, level, message, scriptId, lineNumber, columnNumber, scriptState, requestIdentifier)));
206 void InspectorConsoleAgent::consoleTimeEnd(ExecutionContext*, const String& title, ScriptState* scriptState)
222 addMessageToConsole(ConsoleAPIMessageSource, LogMessageType, DebugMessageLevel, message, String(), 0, 0, scriptState);
225 void InspectorConsoleAgent::consoleTimeline(ExecutionContext* context, const String& title, ScriptState* scriptState
    [all...]
JavaScriptCallFrame.idl 43 [CallWith=ScriptState] any setVariableValue([Default=Undefined] optional long scopeIndex, [TreatNullAs=NullString, TreatUndefinedAs=NullString, Default=Undefined] optional DOMString variableName, [Default=Undefined] optional any newValue);
PageDebuggerAgent.cpp 117 ScriptState* scriptState = ScriptState::forMainWorld(m_pageAgent->mainFrame());
118 return injectedScriptManager()->injectedScriptFor(scriptState);
  /external/chromium_org/third_party/WebKit/Source/modules/crypto/
SubtleCrypto.cpp 78 static bool canAccessWebCrypto(ScriptState* scriptState, CryptoResult* result)
80 const SecurityOrigin* origin = scriptState->executionContext()->securityOrigin();
89 static ScriptPromise startCryptoOperation(ScriptState* scriptState, const Dictionary& rawAlgorithm, Key* key, blink::WebCryptoOperation operationType, const ArrayPiece& signature, const ArrayPiece& dataBuffer)
91 RefPtr<CryptoResultImpl> result = CryptoResultImpl::create(scriptState);
94 if (!canAccessWebCrypto(scriptState, result.get()))
196 ScriptPromise SubtleCrypto::encrypt(ScriptState* scriptState, const Dictionary& rawAlgorithm, Key* key, const ArrayPiece& data)
198 return startCryptoOperation(scriptState, rawAlgorithm, key, blink::WebCryptoOperationEncrypt, ArrayPiece(), data)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/
WebDevToolsFrontendImpl.cpp 140 ScriptState* scriptState = ScriptState::forMainWorld(frame->frame());
141 ScriptState::Scope scope(scriptState);
142 v8::Handle<v8::Value> inspectorFrontendApiValue = scriptState->context()->Global()->Get(v8::String::NewFromUtf8(isolate, "InspectorFrontendAPI"));
151 v8::Handle<v8::Value> inspectorBackendApiValue = scriptState->context()->Global()->Get(v8::String::NewFromUtf8(isolate, "InspectorBackend"));
  /external/chromium_org/third_party/WebKit/Source/bindings/
IDLExtendedAttributes.txt 38 CallWith=ExecutionContext|ScriptState|ScriptArguments|ActiveWindow|FirstWindow|ThisValue
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
V8SQLTransactionCustom.cpp 101 callback = V8SQLStatementCallback::create(v8::Handle<v8::Function>::Cast(info[2]), ScriptState::current(info.GetIsolate()));
111 errorCallback = V8SQLStatementErrorCallback::create(v8::Handle<v8::Function>::Cast(info[3]), ScriptState::current(info.GetIsolate()));
V8WorkerGlobalScopeCustom.cpp 64 ScriptState* scriptState = ScriptState::current(info.GetIsolate());
73 action = adoptPtr(new ScheduledAction(scriptState, toCoreString(function.As<v8::String>()), workerGlobalScope->url(), info.GetIsolate()));
83 action = adoptPtr(new ScheduledAction(scriptState, v8::Handle<v8::Function>::Cast(function), paramCount, params.get(), info.GetIsolate()));
  /external/chromium_org/third_party/WebKit/Source/core/css/
FontFaceSet.h 77 ScriptPromise load(ScriptState*, const String& font, const String& text);
78 ScriptPromise ready(ScriptState*);
  /external/chromium_org/third_party/WebKit/Source/core/dom/
ExecutionContext.h 59 class ScriptState;
96 void addConsoleMessage(MessageSource, MessageLevel, const String& message, ScriptState* = 0);

Completed in 768 milliseconds

1 2 3 4 56 7 8 91011