Home
last modified time | relevance | path

Searched refs:aGlobalObject (Results 1 – 25 of 315) sorted by relevance

12345678910>>...13

/dports/lang/spidermonkey78/firefox-78.9.0/dom/script/
H A DScriptSettings.cpp287 MOZ_ASSERT(bool(aGlobalObject) == bool(aGlobal)); in InitInternal()
288 MOZ_ASSERT_IF(aGlobalObject, in InitInternal()
300 mGlobalObject = aGlobalObject; in InitInternal()
384 : ScriptSettingsStackEntry(aGlobalObject, aType), in AutoJSAPI()
386 MOZ_ASSERT(aGlobalObject); in AutoJSAPI()
390 InitInternal(aGlobalObject, aGlobalObject->GetGlobalJSObject(), in AutoJSAPI()
405 if (NS_WARN_IF(!aGlobalObject)) { in Init()
409 JSObject* global = aGlobalObject->GetGlobalJSObject(); in Init()
418 bool AutoJSAPI::Init(nsIGlobalObject* aGlobalObject) { in Init() argument
419 return Init(aGlobalObject, danger::GetJSContext()); in Init()
[all …]
H A DScriptSettings.h220 MOZ_MUST_USE bool Init(nsIGlobalObject* aGlobalObject);
235 MOZ_MUST_USE bool Init(nsIGlobalObject* aGlobalObject, JSContext* aCx);
291 AutoJSAPI(nsIGlobalObject* aGlobalObject, bool aIsMainThread, Type aType);
301 void InitInternal(nsIGlobalObject* aGlobalObject, JSObject* aGlobal,
320 AutoEntryScript(nsIGlobalObject* aGlobalObject, const char* aReason,
394 explicit AutoIncumbentScript(nsIGlobalObject* aGlobalObject);
/dports/lang/spidermonkey60/firefox-60.9.0/dom/script/
H A DScriptSettings.cpp300 MOZ_ASSERT(bool(aGlobalObject) == bool(aGlobal)); in InitInternal()
301 MOZ_ASSERT_IF(aGlobalObject, aGlobalObject->GetGlobalJSObject() == aGlobal); in InitInternal()
308 mGlobalObject = aGlobalObject; in InitInternal()
401 : ScriptSettingsStackEntry(aGlobalObject, aType), in AutoJSAPI()
403 MOZ_ASSERT(aGlobalObject); in AutoJSAPI()
407 InitInternal(aGlobalObject, aGlobalObject->GetGlobalJSObject(), in AutoJSAPI()
422 if (NS_WARN_IF(!aGlobalObject)) { in Init()
426 JSObject* global = aGlobalObject->GetGlobalJSObject(); in Init()
435 bool AutoJSAPI::Init(nsIGlobalObject* aGlobalObject) { in Init() argument
436 return Init(aGlobalObject, danger::GetJSContext()); in Init()
[all …]
H A DScriptSettings.h222 MOZ_MUST_USE bool Init(nsIGlobalObject* aGlobalObject);
236 MOZ_MUST_USE bool Init(nsIGlobalObject* aGlobalObject, JSContext* aCx);
288 AutoJSAPI(nsIGlobalObject* aGlobalObject, bool aIsMainThread, Type aType);
299 void InitInternal(nsIGlobalObject* aGlobalObject, JSObject* aGlobal,
315 AutoEntryScript(nsIGlobalObject* aGlobalObject, const char* aReason,
378 explicit AutoIncumbentScript(nsIGlobalObject* aGlobalObject);
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/base/
H A DScriptSettings.cpp344 MOZ_ASSERT(bool(aGlobalObject) == bool(aGlobal)); in InitInternal()
345 MOZ_ASSERT_IF(aGlobalObject, aGlobalObject->GetGlobalJSObject() == aGlobal); in InitInternal()
352 mGlobalObject = aGlobalObject; in InitInternal()
437 AutoJSAPI::AutoJSAPI(nsIGlobalObject* aGlobalObject, in AutoJSAPI() argument
440 : ScriptSettingsStackEntry(aGlobalObject, aType) in AutoJSAPI()
443 MOZ_ASSERT(aGlobalObject); in AutoJSAPI()
447 InitInternal(aGlobalObject, aGlobalObject->GetGlobalJSObject(), in AutoJSAPI()
466 if (NS_WARN_IF(!aGlobalObject)) { in Init()
480 AutoJSAPI::Init(nsIGlobalObject* aGlobalObject) in Init() argument
482 return Init(aGlobalObject, danger::GetJSContext()); in Init()
[all …]
H A DScriptSettings.h228 MOZ_MUST_USE bool Init(nsIGlobalObject* aGlobalObject);
242 MOZ_MUST_USE bool Init(nsIGlobalObject* aGlobalObject, JSContext* aCx);
294 AutoJSAPI(nsIGlobalObject* aGlobalObject, bool aIsMainThread, Type aType);
305 void InitInternal(nsIGlobalObject* aGlobalObject, JSObject* aGlobal,
321 AutoEntryScript(nsIGlobalObject* aGlobalObject,
389 explicit AutoIncumbentScript(nsIGlobalObject* aGlobalObject);
/dports/lang/spidermonkey78/firefox-78.9.0/layout/inspector/
H A DInspectorUtils.cpp54 void InspectorUtils::GetAllStyleSheets(GlobalObject& aGlobalObject, in GetAllStyleSheets() argument
328 bool InspectorUtils::IsInheritedProperty(GlobalObject& aGlobalObject, in IsInheritedProperty() argument
334 void InspectorUtils::GetCSSPropertyNames(GlobalObject& aGlobalObject, in GetCSSPropertyNames() argument
372 void InspectorUtils::GetCSSPropertyPrefs(GlobalObject& aGlobalObject, in GetCSSPropertyPrefs() argument
485 void InspectorUtils::ColorToRGBA(GlobalObject& aGlobalObject, in ColorToRGBA() argument
504 bool InspectorUtils::IsValidCSSColor(GlobalObject& aGlobalObject, in IsValidCSSColor() argument
510 bool InspectorUtils::SetContentState(GlobalObject& aGlobalObject, in SetContentState() argument
524 bool InspectorUtils::RemoveContentState(GlobalObject& aGlobalObject, in RemoveContentState() argument
583 void InspectorUtils::GetUsedFontFaces(GlobalObject& aGlobalObject, in GetUsedFontFaces() argument
619 void InspectorUtils::AddPseudoClassLock(GlobalObject& aGlobalObject, in AddPseudoClassLock() argument
[all …]
/dports/www/firefox-esr/firefox-91.8.0/dom/script/
H A DScriptSettings.cpp323 MOZ_ASSERT(bool(aGlobalObject) == bool(aGlobal)); in InitInternal()
324 MOZ_ASSERT_IF(aGlobalObject, in InitInternal()
336 mGlobalObject = aGlobalObject; in InitInternal()
420 : ScriptSettingsStackEntry(aGlobalObject, aType), in AutoJSAPI()
422 MOZ_ASSERT(aGlobalObject); in AutoJSAPI()
426 InitInternal(aGlobalObject, aGlobalObject->GetGlobalJSObject(), in AutoJSAPI()
441 if (NS_WARN_IF(!aGlobalObject)) { in Init()
445 JSObject* global = aGlobalObject->GetGlobalJSObject(); in Init()
450 InitInternal(aGlobalObject, global, aCx, NS_IsMainThread()); in Init()
454 bool AutoJSAPI::Init(nsIGlobalObject* aGlobalObject) { in Init() argument
[all …]
H A DScriptSettings.h214 [[nodiscard]] bool Init(nsIGlobalObject* aGlobalObject);
229 [[nodiscard]] bool Init(nsIGlobalObject* aGlobalObject, JSContext* aCx);
285 AutoJSAPI(nsIGlobalObject* aGlobalObject, bool aIsMainThread, Type aType);
295 void InitInternal(nsIGlobalObject* aGlobalObject, JSObject* aGlobal,
307 explicit AutoIncumbentScript(nsIGlobalObject* aGlobalObject);
/dports/www/firefox/firefox-99.0/dom/script/
H A DScriptSettings.cpp323 MOZ_ASSERT(bool(aGlobalObject) == bool(aGlobal)); in InitInternal()
324 MOZ_ASSERT_IF(aGlobalObject, in InitInternal()
336 mGlobalObject = aGlobalObject; in InitInternal()
420 : ScriptSettingsStackEntry(aGlobalObject, aType), in AutoJSAPI()
422 MOZ_ASSERT(aGlobalObject); in AutoJSAPI()
426 InitInternal(aGlobalObject, aGlobalObject->GetGlobalJSObject(), in AutoJSAPI()
441 if (NS_WARN_IF(!aGlobalObject)) { in Init()
445 JSObject* global = aGlobalObject->GetGlobalJSObject(); in Init()
450 InitInternal(aGlobalObject, global, aCx, NS_IsMainThread()); in Init()
454 bool AutoJSAPI::Init(nsIGlobalObject* aGlobalObject) { in Init() argument
[all …]
H A DScriptSettings.h215 [[nodiscard]] bool Init(nsIGlobalObject* aGlobalObject);
230 [[nodiscard]] bool Init(nsIGlobalObject* aGlobalObject, JSContext* aCx);
286 AutoJSAPI(nsIGlobalObject* aGlobalObject, bool aIsMainThread, Type aType);
296 void InitInternal(nsIGlobalObject* aGlobalObject, JSObject* aGlobal,
308 explicit AutoIncumbentScript(nsIGlobalObject* aGlobalObject);
/dports/mail/thunderbird/thunderbird-91.8.0/dom/script/
H A DScriptSettings.cpp323 MOZ_ASSERT(bool(aGlobalObject) == bool(aGlobal)); in InitInternal()
324 MOZ_ASSERT_IF(aGlobalObject, in InitInternal()
336 mGlobalObject = aGlobalObject; in InitInternal()
420 : ScriptSettingsStackEntry(aGlobalObject, aType), in AutoJSAPI()
422 MOZ_ASSERT(aGlobalObject); in AutoJSAPI()
426 InitInternal(aGlobalObject, aGlobalObject->GetGlobalJSObject(), in AutoJSAPI()
441 if (NS_WARN_IF(!aGlobalObject)) { in Init()
445 JSObject* global = aGlobalObject->GetGlobalJSObject(); in Init()
450 InitInternal(aGlobalObject, global, aCx, NS_IsMainThread()); in Init()
454 bool AutoJSAPI::Init(nsIGlobalObject* aGlobalObject) { in Init() argument
[all …]
H A DScriptSettings.h214 [[nodiscard]] bool Init(nsIGlobalObject* aGlobalObject);
229 [[nodiscard]] bool Init(nsIGlobalObject* aGlobalObject, JSContext* aCx);
285 AutoJSAPI(nsIGlobalObject* aGlobalObject, bool aIsMainThread, Type aType);
295 void InitInternal(nsIGlobalObject* aGlobalObject, JSObject* aGlobal,
307 explicit AutoIncumbentScript(nsIGlobalObject* aGlobalObject);
/dports/www/firefox-esr/firefox-91.8.0/layout/inspector/
H A DInspectorUtils.cpp56 void InspectorUtils::GetAllStyleSheets(GlobalObject& aGlobalObject, in GetAllStyleSheets() argument
330 bool InspectorUtils::IsInheritedProperty(GlobalObject& aGlobalObject, in IsInheritedProperty() argument
336 void InspectorUtils::GetCSSPropertyNames(GlobalObject& aGlobalObject, in GetCSSPropertyNames() argument
374 void InspectorUtils::GetCSSPropertyPrefs(GlobalObject& aGlobalObject, in GetCSSPropertyPrefs() argument
519 bool InspectorUtils::IsValidCSSColor(GlobalObject& aGlobalObject, in IsValidCSSColor() argument
525 bool InspectorUtils::SetContentState(GlobalObject& aGlobalObject, in SetContentState() argument
539 bool InspectorUtils::RemoveContentState(GlobalObject& aGlobalObject, in RemoveContentState() argument
598 void InspectorUtils::GetUsedFontFaces(GlobalObject& aGlobalObject, in GetUsedFontFaces() argument
634 void InspectorUtils::AddPseudoClassLock(GlobalObject& aGlobalObject, in AddPseudoClassLock() argument
659 bool InspectorUtils::HasPseudoClassLock(GlobalObject& aGlobalObject, in HasPseudoClassLock() argument
[all …]
/dports/www/firefox/firefox-99.0/layout/inspector/
H A DInspectorUtils.cpp81 void InspectorUtils::GetAllStyleSheets(GlobalObject& aGlobalObject, in GetAllStyleSheets() argument
356 bool InspectorUtils::IsInheritedProperty(GlobalObject& aGlobalObject, in IsInheritedProperty() argument
362 void InspectorUtils::GetCSSPropertyNames(GlobalObject& aGlobalObject, in GetCSSPropertyNames() argument
400 void InspectorUtils::GetCSSPropertyPrefs(GlobalObject& aGlobalObject, in GetCSSPropertyPrefs() argument
545 bool InspectorUtils::IsValidCSSColor(GlobalObject& aGlobalObject, in IsValidCSSColor() argument
551 bool InspectorUtils::SetContentState(GlobalObject& aGlobalObject, in SetContentState() argument
565 bool InspectorUtils::RemoveContentState(GlobalObject& aGlobalObject, in RemoveContentState() argument
599 void InspectorUtils::GetUsedFontFaces(GlobalObject& aGlobalObject, in GetUsedFontFaces() argument
639 void InspectorUtils::AddPseudoClassLock(GlobalObject& aGlobalObject, in AddPseudoClassLock() argument
664 bool InspectorUtils::HasPseudoClassLock(GlobalObject& aGlobalObject, in HasPseudoClassLock() argument
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/layout/inspector/
H A DInspectorUtils.cpp56 void InspectorUtils::GetAllStyleSheets(GlobalObject& aGlobalObject, in GetAllStyleSheets() argument
330 bool InspectorUtils::IsInheritedProperty(GlobalObject& aGlobalObject, in IsInheritedProperty() argument
336 void InspectorUtils::GetCSSPropertyNames(GlobalObject& aGlobalObject, in GetCSSPropertyNames() argument
374 void InspectorUtils::GetCSSPropertyPrefs(GlobalObject& aGlobalObject, in GetCSSPropertyPrefs() argument
519 bool InspectorUtils::IsValidCSSColor(GlobalObject& aGlobalObject, in IsValidCSSColor() argument
525 bool InspectorUtils::SetContentState(GlobalObject& aGlobalObject, in SetContentState() argument
539 bool InspectorUtils::RemoveContentState(GlobalObject& aGlobalObject, in RemoveContentState() argument
598 void InspectorUtils::GetUsedFontFaces(GlobalObject& aGlobalObject, in GetUsedFontFaces() argument
634 void InspectorUtils::AddPseudoClassLock(GlobalObject& aGlobalObject, in AddPseudoClassLock() argument
659 bool InspectorUtils::HasPseudoClassLock(GlobalObject& aGlobalObject, in HasPseudoClassLock() argument
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/filesystem/compat/
H A DFileSystemEntry.cpp28 FileSystemEntry::Create(nsIGlobalObject* aGlobalObject, in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
32 MOZ_ASSERT(aGlobalObject); in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
37 entry = new FileSystemFileEntry(aGlobalObject, in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
43 entry = new FileSystemDirectoryEntry(aGlobalObject, in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
/dports/lang/spidermonkey60/firefox-60.9.0/layout/inspector/
H A DInspectorUtils.cpp75 GlobalObject& aGlobalObject, nsIDocument& aDocument, in GetAllStyleSheets() argument
367 GlobalObject& aGlobalObject, const nsAString& aPropertyName) { in IsInheritedProperty() argument
791 GlobalObject& aGlobalObject, const nsAString& aProperty, in GetCSSValuesForProperty() argument
855 GlobalObject& aGlobalObject, const nsAString& aColorString, in ColorToRGBA() argument
885 GlobalObject& aGlobalObject, const nsAString& aColorString) { in IsValidCSSColor() argument
895 void InspectorUtils::GetBindingURLs(GlobalObject& aGlobalObject, in GetBindingURLs() argument
948 GlobalObject& aGlobalObject, Element& aElement) { in GetContentState() argument
1023 GlobalObject& aGlobalObject, nsTArray<nsString>& aResult) { in GetCSSPseudoElementNames() argument
1036 GlobalObject& aGlobalObject, Element& aElement, in AddPseudoClassLock() argument
1057 GlobalObject& aGlobalObject, Element& aElement, in HasPseudoClassLock() argument
[all …]
/dports/www/firefox-esr/firefox-91.8.0/dom/filesystem/compat/
H A DFileSystemEntry.cpp30 nsIGlobalObject* aGlobalObject, in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
32 MOZ_ASSERT(aGlobalObject); in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
37 entry = new FileSystemFileEntry(aGlobalObject, aFileOrDirectory.GetAsFile(), in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
42 aGlobalObject, aFileOrDirectory.GetAsDirectory(), nullptr, aFileSystem); in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
/dports/www/firefox/firefox-99.0/dom/filesystem/compat/
H A DFileSystemEntry.cpp30 nsIGlobalObject* aGlobalObject, in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
32 MOZ_ASSERT(aGlobalObject); in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
37 entry = new FileSystemFileEntry(aGlobalObject, aFileOrDirectory.GetAsFile(), in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
42 aGlobalObject, aFileOrDirectory.GetAsDirectory(), nullptr, aFileSystem); in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
H A DFileSystem.cpp25 already_AddRefed<FileSystem> FileSystem::Create(nsIGlobalObject* aGlobalObject) in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
28 MOZ_ASSERT(aGlobalObject); in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
38 RefPtr<FileSystem> fs = new FileSystem(aGlobalObject, name); in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
/dports/mail/thunderbird/thunderbird-91.8.0/dom/filesystem/compat/
H A DFileSystemEntry.cpp30 nsIGlobalObject* aGlobalObject, in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
32 MOZ_ASSERT(aGlobalObject); in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
37 entry = new FileSystemFileEntry(aGlobalObject, aFileOrDirectory.GetAsFile(), in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
42 aGlobalObject, aFileOrDirectory.GetAsDirectory(), nullptr, aFileSystem); in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
/dports/lang/spidermonkey60/firefox-60.9.0/dom/filesystem/compat/
H A DFileSystemEntry.cpp28 nsIGlobalObject* aGlobalObject, in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
30 MOZ_ASSERT(aGlobalObject); in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
35 entry = new FileSystemFileEntry(aGlobalObject, aFileOrDirectory.GetAsFile(), in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
40 aGlobalObject, aFileOrDirectory.GetAsDirectory(), nullptr, aFileSystem); in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
/dports/lang/spidermonkey78/firefox-78.9.0/dom/filesystem/compat/
H A DFileSystemEntry.cpp29 nsIGlobalObject* aGlobalObject, in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
31 MOZ_ASSERT(aGlobalObject); in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
36 entry = new FileSystemFileEntry(aGlobalObject, aFileOrDirectory.GetAsFile(), in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
41 aGlobalObject, aFileOrDirectory.GetAsDirectory(), nullptr, aFileSystem); in NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE()
/dports/lang/spidermonkey60/firefox-60.9.0/toolkit/components/telemetry/tests/gtest/
H A DTelemetryFixture.h43 explicit AutoJSContextWithGlobal(JSObject* aGlobalObject);
51 AutoJSContextWithGlobal::AutoJSContextWithGlobal(JSObject* aGlobalObject) in AutoJSContextWithGlobal() argument
54 MOZ_ALWAYS_TRUE(mJsAPI.Init(aGlobalObject)); in AutoJSContextWithGlobal()

12345678910>>...13