Home
last modified time | relevance | path

Searched refs:script_state_ (Results 1 – 25 of 197) sorted by relevance

12345678

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/bindings/core/v8/
H A Drejected_promises.cc38 : script_state_(script_state), in Message()
51 ScriptState::Scope scope(script_state_); in HasPromise()
56 if (!script_state_->ContextIsValid()) in Report()
65 ScriptState::Scope scope(script_state_); in Report()
68 exception_.NewLocal(script_state_->GetIsolate()); in Report()
78 init->setPromise(ScriptPromise(script_state_, value)); in Report()
106 ScriptState::Scope scope(script_state_); in Revoke()
109 exception_.NewLocal(script_state_->GetIsolate()); in Revoke()
151 ScriptState::Scope scope(script_state_); in HasHandler()
157 return ExecutionContext::From(script_state_); in GetContext()
[all …]
H A Dv8_object_builder.cc12 : script_state_(script_state), in V8ObjectBuilder()
22 AddInternal(name, v8::Null(script_state_->GetIsolate())); in AddNull()
28 AddInternal(name, value ? v8::True(script_state_->GetIsolate()) in AddBoolean()
29 : v8::False(script_state_->GetIsolate())); in AddBoolean()
35 AddInternal(name, v8::Number::New(script_state_->GetIsolate(), value)); in AddNumber()
41 AddInternal(name, V8String(script_state_->GetIsolate(), value)); in AddString()
48 AddInternal(name, v8::Null(script_state_->GetIsolate())); in AddStringOrNull()
50 AddInternal(name, V8String(script_state_->GetIsolate(), value)); in AddStringOrNull()
56 return ScriptValue(script_state_->GetIsolate(), object_); in GetScriptValue()
66 script_state_->GetContext(), in AddInternal()
[all …]
H A Dv8_v0_custom_element_lifecycle_callbacks.cc79 script_state_(script_state), in V8V0CustomElementLifecycleCallbacks()
108 if (!script_state_->ContextIsValid()) in CreationContextData()
138 if (!script_state_->ContextIsValid()) in Created()
143 ScriptState::Scope scope(script_state_); in Created()
144 v8::Isolate* isolate = script_state_->GetIsolate(); in Created()
187 if (!script_state_->ContextIsValid()) in AttributeChanged()
189 ScriptState::Scope scope(script_state_); in AttributeChanged()
190 v8::Isolate* isolate = script_state_->GetIsolate(); in AttributeChanged()
219 if (!script_state_->ContextIsValid()) in Call()
221 ScriptState::Scope scope(script_state_); in Call()
[all …]
H A Dworker_or_worklet_script_controller.cc127 ScriptState::Scope scope(script_state_); in DisposeContextIfNeeded()
134 ScriptState::Scope scope(script_state_); in DisposeContextIfNeeded()
154 script_state_->DisposePerContextData(); in DisposeContextIfNeeded()
155 script_state_->DissociateContext(); in DisposeContextIfNeeded()
192 ScriptState::Scope scope(script_state_); in Initialize()
302 ScriptState::Scope scope(script_state_); in PrepareForEvaluation()
333 ScriptState::Scope scope(script_state_); in DisableEvalInternal()
350 ScriptState::Scope scope(script_state_); in EvaluateInternal()
413 ScriptState::Scope scope(script_state_); in Evaluate()
491 error_event->error(script_state_).V8ValueFor(script_state_)); in RethrowExceptionFromImportedScript()
[all …]
H A Dscheduled_action.cc58 : script_state_( in ScheduledAction()
75 : script_state_( in ScheduledAction()
90 DCHECK(!script_state_); in ~ScheduledAction()
97 script_state_->Reset(); in Dispose()
98 script_state_.Clear(); in Dispose()
116 if (!script_state_->ContextIsValid()) { in Execute()
122 ScriptState::Scope scope(script_state_->Get()); in Execute()
143 visitor->Trace(script_state_); in Trace()
149 DCHECK(script_state_->ContextIsValid()); in Execute()
164 script_state_->GetContext(), in Execute()
[all …]
H A Dv0_custom_element_constructor_builder.cc70 DCHECK(script_state_->GetContext() == in V0CustomElementConstructorBuilder()
71 script_state_->GetIsolate()->GetCurrentContext()); in V0CustomElementConstructorBuilder()
75 return script_state_->World().IsMainWorld(); in IsFeatureAllowed()
84 v8::TryCatch try_catch(script_state_->GetIsolate()); in ValidateOptions()
86 if (!script_state_->PerContextData()) { in ValidateOptions()
101 script_state_->PerContextData()->PrototypeForType( in ValidateOptions()
168 script_state_, prototype_, created, attached, detached, in CreateCallbacks()
177 ->Get(script_state_->GetContext(), in RetrieveCallback()
193 v8::Isolate* isolate = script_state_->GetIsolate(); in CreateConstructor()
297 v8::Isolate* isolate = script_state_->GetIsolate(); in PrototypeIsValid()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/bindings/core/v8/
H A Drejected_promises.cc38 : script_state_(script_state), in Message()
51 ScriptState::Scope scope(script_state_); in HasPromise()
56 if (!script_state_->ContextIsValid()) in Report()
65 ScriptState::Scope scope(script_state_); in Report()
68 exception_.NewLocal(script_state_->GetIsolate()); in Report()
78 init->setPromise(ScriptPromise(script_state_, value)); in Report()
106 ScriptState::Scope scope(script_state_); in Revoke()
109 exception_.NewLocal(script_state_->GetIsolate()); in Revoke()
151 ScriptState::Scope scope(script_state_); in HasHandler()
157 return ExecutionContext::From(script_state_); in GetContext()
[all …]
H A Dv8_object_builder.cc12 : script_state_(script_state), in V8ObjectBuilder()
22 AddInternal(name, v8::Null(script_state_->GetIsolate())); in AddNull()
28 AddInternal(name, value ? v8::True(script_state_->GetIsolate()) in AddBoolean()
29 : v8::False(script_state_->GetIsolate())); in AddBoolean()
35 AddInternal(name, v8::Number::New(script_state_->GetIsolate(), value)); in AddNumber()
41 AddInternal(name, V8String(script_state_->GetIsolate(), value)); in AddString()
48 AddInternal(name, v8::Null(script_state_->GetIsolate())); in AddStringOrNull()
50 AddInternal(name, V8String(script_state_->GetIsolate(), value)); in AddStringOrNull()
56 return ScriptValue(script_state_->GetIsolate(), object_); in GetScriptValue()
66 script_state_->GetContext(), in AddInternal()
[all …]
H A Dv8_v0_custom_element_lifecycle_callbacks.cc79 script_state_(script_state), in V8V0CustomElementLifecycleCallbacks()
108 if (!script_state_->ContextIsValid()) in CreationContextData()
138 if (!script_state_->ContextIsValid()) in Created()
143 ScriptState::Scope scope(script_state_); in Created()
144 v8::Isolate* isolate = script_state_->GetIsolate(); in Created()
187 if (!script_state_->ContextIsValid()) in AttributeChanged()
189 ScriptState::Scope scope(script_state_); in AttributeChanged()
190 v8::Isolate* isolate = script_state_->GetIsolate(); in AttributeChanged()
219 if (!script_state_->ContextIsValid()) in Call()
221 ScriptState::Scope scope(script_state_); in Call()
[all …]
H A Dworker_or_worklet_script_controller.cc95 ScriptState::Scope scope(script_state_); in DisposeContextIfNeeded()
102 ScriptState::Scope scope(script_state_); in DisposeContextIfNeeded()
103 v8::Local<v8::Context> context = script_state_->GetContext(); in DisposeContextIfNeeded()
122 script_state_->DisposePerContextData(); in DisposeContextIfNeeded()
123 script_state_->DissociateContext(); in DisposeContextIfNeeded()
159 script_state_ = in Initialize()
162 ScriptState::Scope scope(script_state_); in Initialize()
277 ScriptState::Scope scope(script_state_); in PrepareForEvaluation()
278 v8::Local<v8::Context> context = script_state_->GetContext(); in PrepareForEvaluation()
309 ScriptState::Scope scope(script_state_); in DisableEvalInternal()
[all …]
H A Dscheduled_action.cc56 : script_state_( in ScheduledAction()
73 : script_state_( in ScheduledAction()
88 DCHECK(!script_state_); in ~ScheduledAction()
95 script_state_->Reset(); in Dispose()
96 script_state_.Clear(); in Dispose()
114 if (!script_state_->ContextIsValid()) { in Execute()
120 ScriptState::Scope scope(script_state_->Get()); in Execute()
140 script_state_->GetContext(), in Execute()
155 visitor->Trace(script_state_); in Trace()
H A Dv0_custom_element_constructor_builder.cc70 DCHECK(script_state_->GetContext() == in V0CustomElementConstructorBuilder()
71 script_state_->GetIsolate()->GetCurrentContext()); in V0CustomElementConstructorBuilder()
75 return script_state_->World().IsMainWorld(); in IsFeatureAllowed()
84 v8::TryCatch try_catch(script_state_->GetIsolate()); in ValidateOptions()
86 if (!script_state_->PerContextData()) { in ValidateOptions()
103 script_state_->PerContextData()->PrototypeForType( in ValidateOptions()
170 script_state_, prototype_, created, attached, detached, in CreateCallbacks()
179 ->Get(script_state_->GetContext(), in RetrieveCallback()
195 v8::Isolate* isolate = script_state_->GetIsolate(); in CreateConstructor()
299 v8::Isolate* isolate = script_state_->GetIsolate(); in PrototypeIsValid()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/script/
H A Dmodulator_impl_base.cc32 : script_state_(script_state), in ModulatorImplBase()
42 DCHECK(script_state_); in ModulatorImplBase()
165 ScriptState::Scope scope(script_state_); in CreateTypeError()
167 script_state_->GetIsolate(), in CreateTypeError()
173 ScriptState::Scope scope(script_state_); in CreateSyntaxError()
216 return script_state_->ContextIsValid(); in HasValidContext()
259 ScriptState::Scope scope(script_state_); in InstantiateModule()
266 ScriptState::Scope scope(script_state_); in ModuleRequestsFromModuleRecord()
285 if (!script_state_->ContextIsValid()) in ProduceCacheModuleTreeTopLevel()
345 ScriptState::Scope scope(script_state_); in ExecuteModule()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/script/
H A Dmodulator_impl_base.cc32 return ExecutionContext::From(script_state_); in GetExecutionContext()
36 : script_state_(script_state), in ModulatorImplBase()
46 DCHECK(script_state_); in ModulatorImplBase()
169 ScriptState::Scope scope(script_state_); in CreateTypeError()
171 script_state_->GetIsolate(), in CreateTypeError()
177 ScriptState::Scope scope(script_state_); in CreateSyntaxError()
220 return script_state_->ContextIsValid(); in HasValidContext()
263 ScriptState::Scope scope(script_state_); in InstantiateModule()
269 ScriptState::Scope scope(script_state_); in ModuleRequestsFromModuleRecord()
278 if (!script_state_->ContextIsValid()) in ProduceCacheModuleTreeTopLevel()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/modules/webtransport/
H A Dquic_transport.cc144 quic_transport_->script_state_); in SendDatagram()
218 script_state_(script_state), in StreamVendingUnderlyingSource()
246 pull(script_state_); in NotifyOpened()
252 visitor->Trace(script_state_); in Trace()
260 const Member<ScriptState> script_state_; member in blink::QuicTransport::StreamVendingUnderlyingSource
279 visitor->Trace(script_state_); in Trace()
318 visitor->Trace(script_state_); in Trace()
367 script_state_(script_state), in QuicTransport()
610 visitor->Trace(script_state_); in Trace()
710 script_state_, in Init()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/modules/encoding/
H A Dtext_encoder_stream.cc35 script_state_(script_state) {} in Transformer()
47 return ScriptPromise::CastUndefined(script_state_); in Transform()
65 return ScriptPromise::CastUndefined(script_state_); in Transform()
70 controller->enqueue(script_state_, ScriptValue::From(script_state_, array), in Transform()
73 return ScriptPromise::CastUndefined(script_state_); in Transform()
80 return ScriptPromise::CastUndefined(script_state_); in Flush()
86 script_state_, in Flush()
87 ScriptValue::From(script_state_, in Flush()
93 return ScriptPromise::CastUndefined(script_state_); in Flush()
99 visitor->Trace(script_state_); in Trace()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/modules/encoding/
H A Dtext_encoder_stream.cc35 script_state_(script_state) {} in Transformer()
47 return ScriptPromise::CastUndefined(script_state_); in Transform()
65 return ScriptPromise::CastUndefined(script_state_); in Transform()
70 controller->enqueue(script_state_, ScriptValue::From(script_state_, array), in Transform()
73 return ScriptPromise::CastUndefined(script_state_); in Transform()
80 return ScriptPromise::CastUndefined(script_state_); in Flush()
86 script_state_, in Flush()
87 ScriptValue::From(script_state_, in Flush()
93 return ScriptPromise::CastUndefined(script_state_); in Flush()
99 visitor->Trace(script_state_); in Trace()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/modules/webtransport/
H A Dquic_transport.cc112 quic_transport_->script_state_); in SendDatagram()
170 script_state_(script_state), in ReceivedStreamsUnderlyingSource()
199 pull(script_state_); in NotifyOpened()
205 visitor->Trace(script_state_); in Trace()
226 const Member<ScriptState> script_state_; member in blink::QuicTransport::ReceivedStreamsUnderlyingSource
246 script_state_(script_state), in QuicTransport()
350 ScriptState::Scope scope(script_state_); in OnHandshakeFailed()
412 visitor->Trace(script_state_); in Trace()
494 script_state_, in Init()
531 ScriptState::Scope scope(script_state_); in OnConnectionError()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/streams/
H A Dreadable_stream_default_controller_with_script_scope.cc20 : script_state_(script_state) { in ReadableStreamDefaultControllerWithScriptScope()
36 ScriptState::Scope scope(script_state_); in Close()
39 ReadableStreamDefaultController::Close(script_state_, controller_); in Close()
62 ScriptState::Scope scope(script_state_); in Enqueue()
64 ExceptionState exception_state(script_state_->GetIsolate(), in Enqueue()
66 ReadableStreamDefaultController::Enqueue(script_state_, controller_, js_chunk, in Enqueue()
79 ScriptState::Scope scope(script_state_); in Error()
81 ReadableStreamDefaultController::Error(script_state_, controller_, js_error); in Error()
86 visitor->Trace(script_state_); in Trace()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/streams/
H A Dreadable_stream_default_controller_with_script_scope.cc20 : script_state_(script_state) { in ReadableStreamDefaultControllerWithScriptScope()
36 ScriptState::Scope scope(script_state_); in Close()
39 ReadableStreamDefaultController::Close(script_state_, controller_); in Close()
62 ScriptState::Scope scope(script_state_); in Enqueue()
64 ExceptionState exception_state(script_state_->GetIsolate(), in Enqueue()
66 ReadableStreamDefaultController::Enqueue(script_state_, controller_, js_chunk, in Enqueue()
79 ScriptState::Scope scope(script_state_); in Error()
81 ReadableStreamDefaultController::Error(script_state_, controller_, js_error); in Error()
87 visitor->Trace(script_state_); in Trace()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/modules/background_fetch/
H A Dbackground_fetch_record.cc15 : request_(request), script_state_(script_state) { in BackgroundFetchRecord()
17 DCHECK(script_state_); in BackgroundFetchRecord()
45 if (!script_state_->ContextIsValid()) in ResolveResponseReadyProperty()
71 if (!script_state_->ContextIsValid()) in UpdateState()
82 if (!script_state_->ContextIsValid()) in SetResponseAndUpdateState()
86 ScriptState::Scope scope(script_state_); in SetResponseAndUpdateState()
87 ResolveResponseReadyProperty(Response::Create(script_state_, *response)); in SetResponseAndUpdateState()
109 visitor->Trace(script_state_); in Trace()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/modules/background_fetch/
H A Dbackground_fetch_record.cc15 : request_(request), script_state_(script_state) { in BackgroundFetchRecord()
17 DCHECK(script_state_); in BackgroundFetchRecord()
45 if (!script_state_->ContextIsValid()) in ResolveResponseReadyProperty()
71 if (!script_state_->ContextIsValid()) in UpdateState()
82 if (!script_state_->ContextIsValid()) in SetResponseAndUpdateState()
86 ScriptState::Scope scope(script_state_); in SetResponseAndUpdateState()
87 ResolveResponseReadyProperty(Response::Create(script_state_, *response)); in SetResponseAndUpdateState()
109 visitor->Trace(script_state_); in Trace()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/fetch/
H A Dbody_stream_buffer.cc123 script_state_(script_state), in BodyStreamBuffer()
160 script_state_(script_state), in BodyStreamBuffer()
221 DCHECK(script_state_->ContextIsValid()); in StartLoading()
288 DCHECK_EQ(script_state, script_state_); in pull()
306 DCHECK_EQ(script_state, script_state_); in Cancel()
369 stream_->LockAndDisturb(script_state_); in CloseAndLockAndDisturb()
383 visitor->Trace(script_state_); in Trace()
413 ScriptState::Scope scope(script_state_); in GetError()
415 script_state_->GetIsolate(), "network error")); in GetError()
511 DCHECK(script_state_->ContextIsValid()); in ReleaseHandle()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/bindings/
H A Dscript_state.h236 : script_state_(script_state) { in ScriptStateProtectingContext()
237 if (script_state_) { in ScriptStateProtectingContext()
238 context_.Set(script_state_->GetIsolate(), script_state_->GetContext()); in ScriptStateProtectingContext()
244 void Trace(Visitor* visitor) { visitor->Trace(script_state_); } in Trace()
246 ScriptState* Get() const { return script_state_; } in Get()
248 script_state_ = nullptr; in Reset()
253 bool ContextIsValid() const { return script_state_->ContextIsValid(); } in ContextIsValid()
254 v8::Isolate* GetIsolate() const { return script_state_->GetIsolate(); } in GetIsolate()
256 return script_state_->GetContext(); in GetContext()
260 Member<ScriptState> script_state_;
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/bindings/
H A Dscript_state.h247 : script_state_(script_state) { in ScriptStateProtectingContext()
248 if (script_state_) { in ScriptStateProtectingContext()
249 context_.Set(script_state_->GetIsolate(), script_state_->GetContext()); in ScriptStateProtectingContext()
255 void Trace(Visitor* visitor) const { visitor->Trace(script_state_); } in Trace()
257 ScriptState* Get() const { return script_state_; } in Get()
259 script_state_ = nullptr; in Reset()
264 bool ContextIsValid() const { return script_state_->ContextIsValid(); } in ContextIsValid()
265 v8::Isolate* GetIsolate() const { return script_state_->GetIsolate(); } in GetIsolate()
267 return script_state_->GetContext(); in GetContext()
271 Member<ScriptState> script_state_;

12345678