Home
last modified time | relevance | path

Searched refs:script_state_ (Results 51 – 75 of 197) sorted by relevance

12345678

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/bindings/core/v8/
H A Dscript_promise_resolver.h67 ScriptState* GetScriptState() const { return script_state_; } in GetScriptState()
118 ScriptState::Scope scope(script_state_); in ResolveOrReject()
128 value_.Set(script_state_->GetIsolate(), in ResolveOrReject()
129 ToV8(value, script_state_->GetContext()->Global(), in ResolveOrReject()
130 script_state_->GetIsolate())); in ResolveOrReject()
155 const Member<ScriptState> script_state_; variable
H A Dv8_wasm_response_extensions.cc46 : streaming_(std::move(streaming)), script_state_(script_state) {} in FetchDataLoaderForWasmStreaming()
86 ScriptState::Scope scope(script_state_); in OnStateChange()
109 visitor->Trace(script_state_); in Trace()
117 ScriptState::Scope scope(script_state_); in AbortFromClient()
128 ToV8(exception, script_state_->GetContext()->Global(), in AbortFromClient()
129 script_state_->GetIsolate()); in AbortFromClient()
138 if (script_state_->ContextIsValid()) { in AbortCompilation()
139 ScriptState::Scope scope(script_state_); in AbortCompilation()
141 script_state_->GetIsolate(), "Could not download wasm module")); in AbortCompilation()
154 const Member<ScriptState> script_state_; member in blink::__anonc21a3aab0111::FetchDataLoaderForWasmStreaming
H A Dscript_promise_resolver.cc22 script_state_(script_state), in ScriptPromiseResolver()
92 resolver_.Resolve(value_.NewLocal(script_state_->GetIsolate())); in ResolveOrRejectImmediately()
95 resolver_.Reject(value_.NewLocal(script_state_->GetIsolate())); in ResolveOrRejectImmediately()
115 ScriptState::Scope scope(script_state_); in ResolveOrRejectDeferred()
120 visitor->Trace(script_state_); in Trace()
H A Dv8_object_builder.h25 ScriptState* GetScriptState() const { return script_state_; } in GetScriptState()
39 ToV8(value, script_state_->GetContext()->Global(), in Add()
40 script_state_->GetIsolate()))); in Add()
50 ScriptState* script_state_; variable
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/workers/
H A Dworklet_module_tree_client.cc21 : script_state_(script_state), in WorkletModuleTreeClient()
59 ScriptState::Scope scope(script_state_); in NotifyModuleTreeLoadFinished()
67 script_state_->GetIsolate(), in NotifyModuleTreeLoadFinished()
76 To<WorkletGlobalScope>(ExecutionContext::From(script_state_)); in NotifyModuleTreeLoadFinished()
91 visitor->Trace(script_state_); in Trace()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/loader/modulescript/
H A Dmodule_tree_linker_test.cc60 : script_state_(script_state) {} in ModuleTreeLinkerTestModulator()
72 ScriptState::Scope scope(script_state_); in ResolveSingleModuleScriptFetch()
94 script_state_->GetIsolate(), "Parse failure."); in ResolveSingleModuleScriptFetch()
96 ScriptValue(script_state_->GetIsolate(), error)); in ResolveSingleModuleScriptFetch()
113 v8::Isolate* isolate = script_state_->GetIsolate(); in HasInstantiated()
152 ScriptState::Scope scope(script_state_); in InstantiateModule()
155 return ScriptValue(script_state_->GetIsolate(), error); in InstantiateModule()
158 script_state_->GetIsolate(), record)); in InstantiateModule()
164 ScriptState::Scope scope(script_state_); in ModuleRequestsFromModuleRecord()
178 Member<ScriptState> script_state_; member in blink::ModuleTreeLinkerTestModulator
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/modules/webtransport/
H A Dincoming_stream.cc72 script_state_(script_state), in IncomingStream()
97 MakeGarbageCollected<ScriptPromiseResolver>(script_state_); in Init()
100 script_state_, in Init()
101 MakeGarbageCollected<UnderlyingSource>(script_state_, this), 1); in Init()
121 ScriptState::Scope scope(script_state_); in OnIncomingStreamClosed()
154 visitor->Trace(script_state_); in Trace()
213 ScriptState::Scope scope(script_state_); in HandlePipeClosed()
294 return ScriptValue(script_state_->GetIsolate(), in CreateAbortException()
296 script_state_->GetIsolate(), code, message)); in CreateAbortException()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/modules/webtransport/
H A Dincoming_stream.cc72 : script_state_(script_state), in IncomingStream()
97 MakeGarbageCollected<ScriptPromiseResolver>(script_state_); in Init()
100 script_state_, in Init()
101 MakeGarbageCollected<UnderlyingSource>(script_state_, this), 1); in Init()
120 ScriptState::Scope scope(script_state_); in OnIncomingStreamClosed()
147 visitor->Trace(script_state_); in Trace()
203 ScriptState::Scope scope(script_state_); in HandlePipeClosed()
284 return ScriptValue(script_state_->GetIsolate(), in CreateAbortException()
286 script_state_->GetIsolate(), code, message)); in CreateAbortException()
H A Doutgoing_stream.cc124 : script_state_(script_state), in OutgoingStream()
147 MakeGarbageCollected<ScriptPromiseResolver>(script_state_); in Init()
150 script_state_, MakeGarbageCollected<UnderlyingSink>(this), 1); in Init()
172 visitor->Trace(script_state_); in Trace()
215 ScriptState::Scope scope(script_state_); in HandlePipeClosed()
302 ScriptState::Scope scope(script_state_); in WriteCachedData()
361 return ScriptValue(script_state_->GetIsolate(), in CreateAbortException()
363 script_state_->GetIsolate(), code, message)); in CreateAbortException()
376 controller_->error(script_state_, exception); in ErrorStreamAbortAndReset()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/loader/modulescript/
H A Dmodule_tree_linker_test.cc62 : script_state_(script_state) {} in ModuleTreeLinkerTestModulator()
74 ScriptState::Scope scope(script_state_); in ResolveSingleModuleScriptFetch()
96 script_state_->GetIsolate(), "Parse failure."); in ResolveSingleModuleScriptFetch()
98 ScriptValue(script_state_->GetIsolate(), error)); in ResolveSingleModuleScriptFetch()
115 v8::Isolate* isolate = script_state_->GetIsolate(); in HasInstantiated()
154 ScriptState::Scope scope(script_state_); in InstantiateModule()
157 return ScriptValue(script_state_->GetIsolate(), error); in InstantiateModule()
160 script_state_->GetIsolate(), record)); in InstantiateModule()
166 ScriptState::Scope scope(script_state_); in ModuleRequestsFromModuleRecord()
170 Member<ScriptState> script_state_; member in blink::ModuleTreeLinkerTestModulator
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/streams/
H A Dtransferable_streams.cc302 : script_state_(script_state), in CrossRealmTransformWritable()
309 ScriptState* GetScriptState() const override { return script_state_; } in GetScriptState()
315 visitor->Trace(script_state_); in Trace()
327 const Member<ScriptState> script_state_; member in blink::__anon012127f40111::CrossRealmTransformWritable
578 backpressure_promise_->ResolveWithUndefined(script_state_); in HandleMessage()
594 backpressure_promise_->ResolveWithUndefined(script_state_); in HandleMessage()
624 : script_state_(script_state), message_port_(port) {} in CrossRealmTransformReadable()
628 ScriptState* GetScriptState() const override { return script_state_; } in GetScriptState()
634 visitor->Trace(script_state_); in Trace()
644 const Member<ScriptState> script_state_; member in blink::__anon012127f40111::CrossRealmTransformReadable
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/streams/
H A Dtransferable_streams.cc429 : script_state_(script_state), in CrossRealmTransformWritable()
442 visitor->Trace(script_state_); in Trace()
454 const Member<ScriptState> script_state_; member in blink::__anon8cb4166f0111::CrossRealmTransformWritable
646 backpressure_promise_->ResolveWithUndefined(script_state_); in HandleMessage()
653 if (!UnpackReason(script_state_, value, &reason)) { in HandleMessage()
661 backpressure_promise_->ResolveWithUndefined(script_state_); in HandleMessage()
684 : script_state_(script_state), in CrossRealmTransformReadable()
697 visitor->Trace(script_state_); in Trace()
708 const Member<ScriptState> script_state_; member in blink::__anon8cb4166f0111::CrossRealmTransformReadable
798 script_state_, CreateTrivialStartAlgorithm(), in CreateReadableStream()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/fetch/
H A Dreadable_stream_bytes_consumer.cc101 script_state_(script_state) {} in ReadableStreamBytesConsumer()
124 ScriptState::Scope scope(script_state_); in BeginRead()
127 ExceptionState exception_state(script_state_->GetIsolate(), in BeginRead()
131 reader_->read(script_state_, exception_state); in BeginRead()
133 script_promise = ScriptPromise::Reject(script_state_, exception_state); in BeginRead()
136 .Then(OnFulfilled::CreateFunction(script_state_, this), in BeginRead()
137 OnRejected::CreateFunction(script_state_, this)) in BeginRead()
184 visitor->Trace(script_state_); in Trace()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/fetch/
H A Dreadable_stream_bytes_consumer.cc100 script_state_(script_state) {} in ReadableStreamBytesConsumer()
123 ScriptState::Scope scope(script_state_); in BeginRead()
126 ExceptionState exception_state(script_state_->GetIsolate(), in BeginRead()
130 reader_->read(script_state_, exception_state); in BeginRead()
132 script_promise = ScriptPromise::Reject(script_state_, exception_state); in BeginRead()
135 .Then(OnFulfilled::CreateFunction(script_state_, this), in BeginRead()
136 OnRejected::CreateFunction(script_state_, this)) in BeginRead()
183 visitor->Trace(script_state_); in Trace()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/bindings/core/v8/
H A Dv8_wasm_response_extensions.cc47 : streaming_(std::move(streaming)), script_state_(script_state) {} in FetchDataLoaderForWasmStreaming()
87 ScriptState::Scope scope(script_state_); in OnStateChange()
110 visitor->Trace(script_state_); in Trace()
118 ScriptState::Scope scope(script_state_); in AbortFromClient()
129 ToV8(exception, script_state_->GetContext()->Global(), in AbortFromClient()
130 script_state_->GetIsolate()); in AbortFromClient()
139 if (script_state_->ContextIsValid()) { in AbortCompilation()
140 ScriptState::Scope scope(script_state_); in AbortCompilation()
142 script_state_->GetIsolate(), "Could not download wasm module")); in AbortCompilation()
155 const Member<ScriptState> script_state_; member in blink::__anon742a46460111::FetchDataLoaderForWasmStreaming
H A Dscript_promise_resolver.cc22 script_state_(script_state), in ScriptPromiseResolver()
92 resolver_.Resolve(value_.NewLocal(script_state_->GetIsolate())); in ResolveOrRejectImmediately()
95 resolver_.Reject(value_.NewLocal(script_state_->GetIsolate())); in ResolveOrRejectImmediately()
115 ScriptState::Scope scope(script_state_); in ResolveOrRejectDeferred()
120 visitor->Trace(script_state_); in Trace()
H A Dv8_object_builder.h25 ScriptState* GetScriptState() const { return script_state_; } in GetScriptState()
39 ToV8(value, script_state_->GetContext()->Global(), in Add()
40 script_state_->GetIsolate()))); in Add()
50 ScriptState* script_state_; variable
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/modules/websockets/
H A Dwebsocket_stream.cc265 ScriptState* script_state = creator_->script_state_; in DidClose()
272 ScriptState* script_state = creator_->script_state_; in ErrorControllerBecauseClosed()
434 script_state_(script_state), in WebSocketStream()
478 ScriptState::Scope scope(script_state_); in DidConnect()
488 script_state_, source_, 1); in DidConnect()
504 ScriptState::Scope scope(script_state_); in DidReceiveTextMessage()
514 ScriptState::Scope scope(script_state_); in DidReceiveBinaryMessage()
531 ScriptState::Scope scope(script_state_); in DidStartClosingHandshake()
549 ScriptState::Scope scope(script_state_); in DidClose()
591 visitor->Trace(script_state_); in Trace()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/modules/websockets/
H A Dwebsocket_stream.cc265 ScriptState* script_state = creator_->script_state_; in DidClose()
272 ScriptState* script_state = creator_->script_state_; in ErrorControllerBecauseClosed()
434 script_state_(script_state), in WebSocketStream()
478 ScriptState::Scope scope(script_state_); in DidConnect()
488 script_state_, source_, 1); in DidConnect()
504 ScriptState::Scope scope(script_state_); in DidReceiveTextMessage()
514 ScriptState::Scope scope(script_state_); in DidReceiveBinaryMessage()
531 ScriptState::Scope scope(script_state_); in DidStartClosingHandshake()
549 ScriptState::Scope scope(script_state_); in DidClose()
588 visitor->Trace(script_state_); in Trace()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/bindings/core/v8/serialization/
H A Dv8_script_value_serializer.cc74 : script_state_(script_state), in V8ScriptValueSerializer()
76 serializer_(script_state_->GetIsolate(), this), in V8ScriptValueSerializer()
104 v8::TryCatch try_catch(script_state_->GetIsolate()); in Serialize()
106 if (!serializer_.WriteValue(script_state_->GetContext(), value) in Serialize()
154 v8::Isolate* isolate = script_state_->GetIsolate(); in FinalizeTransfer()
588 ->IsLocked(script_state_, exception_state) in WriteDOMObject()
591 ->IsLocked(script_state_, exception_state) in WriteDOMObject()
670 DCHECK_EQ(isolate, script_state_->GetIsolate()); in WriteHostObject()
700 DCHECK_EQ(isolate, script_state_->GetIsolate()); in GetSharedArrayBufferId()
729 DCHECK_EQ(isolate, script_state_->GetIsolate()); in GetWasmModuleTransferId()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/frame/
H A Dpausable_script_executor.cc165 ScriptState::Scope script_scope(script_state_); in ContextDestroyed()
191 script_state_(script_state), in PausableScriptExecutor()
195 CHECK(script_state_); in PausableScriptExecutor()
196 CHECK(script_state_->ContextIsValid()); in PausableScriptExecutor()
228 CHECK(script_state_->ContextIsValid()); in ExecuteAndDestroySelf()
233 ScriptState::Scope script_scope(script_state_); in ExecuteAndDestroySelf()
239 if (!script_state_->ContextIsValid()) in ExecuteAndDestroySelf()
264 visitor->Trace(script_state_); in Trace()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/frame/
H A Dpausable_script_executor.cc169 ScriptState::Scope script_scope(script_state_); in ContextDestroyed()
195 script_state_(script_state), in PausableScriptExecutor()
199 CHECK(script_state_); in PausableScriptExecutor()
200 CHECK(script_state_->ContextIsValid()); in PausableScriptExecutor()
234 CHECK(script_state_->ContextIsValid()); in ExecuteAndDestroySelf()
240 ScriptState::Scope script_scope(script_state_); in ExecuteAndDestroySelf()
245 if (!script_state_->ContextIsValid()) in ExecuteAndDestroySelf()
270 visitor->Trace(script_state_); in Trace()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/modules/service_worker/
H A Dservice_worker_module_tree_client.cc16 : script_state_(script_state) {} in ServiceWorkerModuleTreeClient()
27 To<WorkerGlobalScope>(ExecutionContext::From(script_state_)); in NotifyModuleTreeLoadFinished()
50 visitor->Trace(script_state_); in Trace()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/modules/service_worker/
H A Dservice_worker_module_tree_client.cc16 : script_state_(script_state) {} in ServiceWorkerModuleTreeClient()
27 To<WorkerGlobalScope>(ExecutionContext::From(script_state_)); in NotifyModuleTreeLoadFinished()
50 visitor->Trace(script_state_); in Trace()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/bindings/core/v8/serialization/
H A Dv8_script_value_deserializer.cc128 : script_state_(script_state), in V8ScriptValueDeserializer()
131 deserializer_(script_state_->GetIsolate(), in V8ScriptValueDeserializer()
146 v8::Isolate* isolate = script_state_->GetIsolate(); in Deserialize()
149 v8::Local<v8::Context> context = script_state_->GetContext(); in Deserialize()
191 *ExecutionContext::From(script_state_), channels); in Transfer()
199 v8::Isolate* isolate = script_state_->GetIsolate(); in Transfer()
200 v8::Local<v8::Context> context = script_state_->GetContext(); in Transfer()
723 DCHECK_EQ(isolate, script_state_->GetIsolate()); in ReadHostObject()
739 script_state_->GetContext()->Global(); in ReadHostObject()
766 script_state_->GetContext()->Global(); in GetSharedArrayBufferFromId()
[all …]

12345678