translation_unit
comment "/* This Source Code Form is subject to the terms of the Mozi"...
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsGlobalWindowOuter.h"
" "\""
preproc_include
#include "#include"
system_lib_string "<algorithm>"
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/Assertions.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/ScopeExit.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsDeviceContext.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsGlobalWindowInner.h"
" "\""
comment "// Local Includes"
preproc_include
#include "#include"
string_literal
" "\""
string_content "Navigator.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "WindowDestroyedEvent.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "WindowNamedPropertiesHandler.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/AntiTrackingUtils.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/IntegerPrintfMacros.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/Result.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/StorageAccessAPIHelper.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/AutoPrintEventDispatcher.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/BindingUtils.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/BrowserChild.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/BrowsingContextBinding.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/CanonicalBrowsingContext.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/ContentChild.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/ContentFrameMessageManager.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/DocumentInlines.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/DocumentPictureInPicture.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/EventTarget.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/HTMLIFrameElement.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/LSObject.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/LocalStorage.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/MaybeCrossOriginObject.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/Performance.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/ProxyHandlerUtils.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/Storage.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/StorageEvent.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/StorageEventBinding.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/StorageNotifierService.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/StorageUtils.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/Timeout.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/TimeoutHandler.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/TimeoutManager.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/UserActivation.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/WindowContext.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/WindowFeatures.h"
" "\""
comment "// WindowFeatures"
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/WindowGlobalChild.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/WindowProxyHolder.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/intl/LocaleService.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsArrayUtils.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsBaseCommandController.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsContentSecurityManager.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsDOMJSUtils.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsDOMNavigationTiming.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsDocShellLoadState.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsError.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsFrameSelection.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsGlobalWindowOuter.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsHistory.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsICookieService.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIDOMStorageManager.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIDocShellTreeOwner.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIInterfaceRequestorUtils.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsILoadGroup.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIPermissionManager.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIScriptContext.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsISecureBrowserUI.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsISizeOfEventTarget.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIWebProgressListener.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsNetUtil.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsPrintfCString.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsScreen.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsVariant.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsWindowMemoryReporter.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsWindowSizes.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsWindowWatcher.h"
" "\""
comment "// Helper Classes"
preproc_include
#include "#include"
string_literal
" "\""
string_content "js/CallAndConstruct.h"
" "\""
comment "// JS::Call"
preproc_include
#include "#include"
string_literal
" "\""
string_content "js/PropertyAndElement.h"
" "\""
comment "// JS_DefineObject, JS_GetProperty"
preproc_include
#include "#include"
string_literal
" "\""
string_content "js/PropertySpec.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "js/RealmIterators.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "js/Wrapper.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "js/friend/StackLimits.h"
" "\""
comment "// js::AutoCheckRecursionLimit"
preproc_include
#include "#include"
string_literal
" "\""
string_content "js/friend/WindowProxy.h"
" "\""
comment "// js::IsWindowProxy, js::SetWindowProxy"
preproc_include
#include "#include"
string_literal
" "\""
string_content "jsapi.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "jsfriendapi.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/Likely.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/Preferences.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/SchedulerGroup.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/SpinEventLoopUntil.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/Sprintf.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/ScriptSettings.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsJSEnvironment.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsJSUtils.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsLayoutUtils.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsReadableUtils.h"
" "\""
comment "// Other Classes"
preproc_include
#include "#include"
string_literal
" "\""
string_content "AudioChannelService.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "PostMessageEvent.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/Attributes.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/Components.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/Debug.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/EventListenerManager.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/MouseEvents.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/PresShell.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/ProcessHangMonitor.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/StaticPrefs_dom.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/StaticPrefs_fission.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/StaticPrefs_full_screen_api.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/StaticPrefs_print.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/ThrottledEventQueue.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/BarProps.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/DocGroup.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/ToJSValue.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/WorkerCommon.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/net/CookieJarSettings.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsAboutProtocolUtils.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsCCUncollectableMarker.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsCharTraits.h"
" "\""
comment "// NS_IS_HIGH/LOW_SURROGATE"
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsJSPrincipals.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsLayoutStatics.h"
" "\""
comment "// Interfaces Needed"
preproc_include
#include "#include"
string_literal
" "\""
string_content "Crypto.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/EventDispatcher.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/EventStateManager.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/ScrollContainerFrame.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/CustomEvent.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/Document.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsCSSProps.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsCanvasFrame.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsComputedDOMStyle.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsContentUtils.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsDOMCID.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsDOMString.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsDOMWindowUtils.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsFocusManager.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsGlobalWindowCommands.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIAppWindow.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIBaseWindow.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIClassifiedChannel.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIContent.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIControllers.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIDeviceSensors.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIDocShell.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIDocumentViewer.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIFrame.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsILoadContext.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIObserverService.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIPrompt.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIPromptFactory.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIPromptService.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsISHistory.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIScreenManager.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIScriptError.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIURIFixup.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIURIMutator.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIWebBrowserChrome.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIWebBrowserFind.h"
" "\""
comment "// For window.find()"
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIWebNavigation.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIWidget.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIWidgetListener.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIWindowWatcher.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIWritablePropertyBag2.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIXULRuntime.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsPIWindowWatcher.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsQueryObject.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsServiceManagerUtils.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsThreadUtils.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "xpcprivate.h"
" "\""
preproc_ifdef (+22 nodes collapsed)
preproc_include
#include "#include"
string_literal
" "\""
string_content "AccessCheck.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "FxRWindowManager.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "VRShMem.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "gfxVR.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/BasePrincipal.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/DOMEventTargetHelper.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/GlobalKeyListener.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/Logging.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/ProfilerMarkers.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/Services.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/AudioContext.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/BrowsingContextGroup.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/Console.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/Element.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/Fetch.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/FunctionBinding.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/Gamepad.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/GamepadManager.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/HashChangeEvent.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/IDBFactory.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/ImageBitmap.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/ImageBitmapBinding.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/IntlUtils.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/Location.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/MediaQueryList.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/MessageChannel.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/NavigatorBinding.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/PopStateEvent.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/PopupBlockedEvent.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/PrimitiveConversions.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/Promise.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/RedirectBlockedEvent.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/Selection.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/ServiceWorkerRegistration.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/VRDisplay.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/VRDisplayEvent.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/VRDisplayEventBinding.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/VREventObserver.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/WebIDLGlobalNameHash.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/WindowBinding.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/Worklet.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/dom/cache/CacheStorage.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/extensions/WebExtensionPolicy.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "mozilla/glean/DomMetrics.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsFrameLoader.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsFrameLoaderOwner.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsHTMLDocument.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIArray.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIBrowserChild.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIDOMXULCommandDispatcher.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsIDragService.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsNetCID.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsRefreshDriver.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsSandboxFlags.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsWindowRoot.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsWrapperCacheInlines.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsXPCOMCID.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "nsXULControllers.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "prenv.h"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "prrng.h"
" "\""
preproc_ifdef
#ifdef "#ifdef"
identifier "MOZ_WEBSPEECH"
preproc_include
#include "# include"
string_literal
" "\""
string_content "mozilla/dom/SpeechSynthesis.h"
" "\""
#endif "#endif"
preproc_ifdef
#ifdef "#ifdef"
identifier "ANDROID"
preproc_include
#include "# include"
system_lib_string "<android/log.h>"
#endif "#endif"
preproc_ifdef
#ifdef "#ifdef"
identifier "XP_WIN"
preproc_include
#include "# include"
system_lib_string "<process.h>"
preproc_def
#define "# define"
identifier "getpid"
preproc_arg "_getpid"
preproc_else
#else "#else"
preproc_include
#include "# include"
system_lib_string "<unistd.h>"
comment "// for getpid()"
#endif "#endif"
using_declaration
using "using"
namespace "namespace"
identifier "mozilla"
; ";"
using_declaration
using "using"
namespace "namespace"
qualified_identifier
namespace_identifier "mozilla"
:: "::"
identifier "dom"
; ";"
using_declaration
using "using"
namespace "namespace"
qualified_identifier
namespace_identifier "mozilla"
:: "::"
qualified_identifier
namespace_identifier "dom"
:: "::"
identifier "ipc"
; ";"
using_declaration
using "using"
qualified_identifier
namespace_identifier "mozilla"
:: "::"
identifier "BasePrincipal"
; ";"
using_declaration
using "using"
qualified_identifier
namespace_identifier "mozilla"
:: "::"
identifier "OriginAttributes"
; ";"
using_declaration
using "using"
qualified_identifier
namespace_identifier "mozilla"
:: "::"
identifier "TimeStamp"
; ";"
using_declaration
using "using"
qualified_identifier
namespace_identifier "mozilla"
:: "::"
qualified_identifier
namespace_identifier "layout"
:: "::"
identifier "RemotePrintJobChild"
; ";"
function_definition (+42 nodes collapsed)
preproc_function_def
#define "#define"
identifier "FORWARD_TO_INNER"
preproc_params
( "("
identifier "method"
, ","
identifier "args"
, ","
identifier "err_rval"
) ")"
preproc_arg "PR_BEGIN_MACRO \\\n "...
preproc_function_def
#define "#define"
identifier "FORWARD_TO_INNER_WITH_STRONG_REF"
preproc_params
( "("
identifier "method"
, ","
identifier "args"
, ","
identifier "err_rval"
) ")"
preproc_arg "PR_BEGIN_MACRO "...
preproc_function_def
#define "#define"
identifier "FORWARD_TO_INNER_VOID"
preproc_params
( "("
identifier "method"
, ","
identifier "args"
) ")"
preproc_arg "PR_BEGIN_MACRO \\\n if (!m"...
comment "// Same as FORWARD_TO_INNER, but this will create a fresh in"...
comment "// inner doesn't already exists."
preproc_function_def
#define "#define"
identifier "FORWARD_TO_INNER_CREATE"
preproc_params
( "("
identifier "method"
, ","
identifier "args"
, ","
identifier "err_rval"
) ")"
preproc_arg "PR_BEGIN_MACRO \\\n "...
declaration
storage_class_specifier
static "static"
type_identifier "LazyLogModule"
init_declarator
identifier "gDOMLeakPRLogOuter"
argument_list
( "("
string_literal
" "\""
string_content "DOMLeakOuter"
" "\""
) ")"
; ";"
declaration
storage_class_specifier
extern "extern"
type_identifier "LazyLogModule"
identifier "gPageCacheLog"
; ";"
preproc_ifdef
#ifdef "#ifdef"
identifier "DEBUG"
declaration
storage_class_specifier
static "static"
type_identifier "LazyLogModule"
init_declarator
identifier "gDocShellAndDOMWindowLeakLogging"
argument_list
( "("
string_literal
" "\""
string_content "DocShellAndDOMWindowLeak"
" "\""
) ")"
; ";"
#endif "#endif"
declaration
qualified_identifier
namespace_identifier "nsGlobalWindowOuter"
:: "::"
type_identifier "OuterWindowByIdTable"
init_declarator
pointer_declarator
* "*"
qualified_identifier
namespace_identifier "nsGlobalWindowOuter"
:: "::"
identifier "sOuterWindowsById"
= "="
null
nullptr "nullptr"
; ";"
comment "/* static */"
function_definition (+85 nodes collapsed)
comment "//**********************************************************"...
comment "// nsOuterWindowProxy: Outer Window Proxy"
comment "//**********************************************************"...
comment "// Give OuterWindowProxyClass 2 reserved slots, like the oth"...
comment "// JSObject::swap can swap it with CrossCompartmentWrappers "...
comment "// malloc."
comment "//"
comment "// We store the nsGlobalWindowOuter* in our first slot."
comment "//"
comment "// We store our holder weakmap in the second slot."
declaration (+24 nodes collapsed)
comment "/* additional class flags */"
declaration
storage_class_specifier
static "static"
type_qualifier
const "const"
primitive_type "size_t"
init_declarator
identifier "OUTER_WINDOW_SLOT"
= "="
number_literal "0"
; ";"
declaration
storage_class_specifier
static "static"
type_qualifier
const "const"
primitive_type "size_t"
init_declarator
identifier "HOLDER_WEAKMAP_SLOT"
= "="
number_literal "1"
; ";"
class_specifier (+1190 nodes collapsed)
; ";"
function_definition (+87 nodes collapsed)
function_definition (+113 nodes collapsed)
function_definition (+757 nodes collapsed)
function_definition (+516 nodes collapsed)
function_definition (+497 nodes collapsed)
function_definition (+210 nodes collapsed)
function_definition (+34 nodes collapsed)
function_definition (+177 nodes collapsed)
function_definition (+192 nodes collapsed)
function_definition (+400 nodes collapsed)
function_definition (+305 nodes collapsed)
function_definition (+212 nodes collapsed)
function_definition (+144 nodes collapsed)
function_definition (+113 nodes collapsed)
function_definition (+166 nodes collapsed)
function_definition (+70 nodes collapsed)
function_definition (+104 nodes collapsed)
enum_specifier
enum "enum"
enumerator_list
{ "{"
enumerator
identifier "PDFJS_SLOT_CALLEE"
= "="
number_literal "0"
} "}"
; ";"
comment "// static"
function_definition (+526 nodes collapsed)
comment "// static"
function_definition (+610 nodes collapsed)
comment "// static"
function_definition (+151 nodes collapsed)
declaration
type_qualifier
const "const"
type_identifier "nsOuterWindowProxy"
qualified_identifier
namespace_identifier "nsOuterWindowProxy"
:: "::"
identifier "singleton"
; ";"
class_specifier (+70 nodes collapsed)
; ";"
function_definition (+62 nodes collapsed)
declaration
type_qualifier
const "const"
type_identifier "nsChromeOuterWindowProxy"
qualified_identifier
namespace_identifier "nsChromeOuterWindowProxy"
:: "::"
identifier "singleton"
; ";"
function_definition (+147 nodes collapsed)
comment "//**********************************************************"...
comment "//*** nsGlobalWindowOuter: Object Management"
comment "//**********************************************************"...
function_definition (+503 nodes collapsed)
preproc_ifdef (+30 nodes collapsed)
comment "// DEBUG"
comment "/* static */"
function_definition (+44 nodes collapsed)
function_definition (+602 nodes collapsed)
comment "// static"
function_definition (+32 nodes collapsed)
function_definition (+49 nodes collapsed)
function_definition (+87 nodes collapsed)
function_definition (+121 nodes collapsed)
comment "//**********************************************************"...
comment "// nsGlobalWindowOuter::nsISupports"
comment "//**********************************************************"...
comment "// QueryInterface implementation for nsGlobalWindowOuter"
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION"
argument_list
( "("
identifier "nsGlobalWindowOuter"
) ")"
; ""
declaration
type_identifier "NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY"
init_declarator
identifier "NS_INTERFACE_MAP_ENTRY_AMBIGUOUS"
argument_list
( "("
identifier "nsISupports"
, ","
identifier "EventTarget"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY"
argument_list
( "("
identifier "nsIDOMWindow"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY"
argument_list
( "("
identifier "nsIGlobalObject"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY"
argument_list
( "("
identifier "nsIScriptGlobalObject"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY"
argument_list
( "("
identifier "nsIScriptObjectPrincipal"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY"
argument_list
( "("
qualified_identifier
namespace_identifier "mozilla"
:: "::"
qualified_identifier
namespace_identifier "dom"
:: "::"
identifier "EventTarget"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY"
argument_list
( "("
identifier "nsPIDOMWindowOuter"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY"
argument_list
( "("
identifier "mozIDOMWindowProxy"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY"
argument_list
( "("
identifier "nsISupportsWeakReference"
) ")"
; ""
expression_statement
call_expression
identifier "NS_INTERFACE_MAP_ENTRY"
argument_list
( "("
identifier "nsIInterfaceRequestor"
) ")"
; ""
declaration
type_identifier "NS_INTERFACE_MAP_END"
init_declarator
identifier "NS_IMPL_CYCLE_COLLECTING_ADDREF"
argument_list
( "("
identifier "nsGlobalWindowOuter"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTING_RELEASE"
argument_list
( "("
identifier "nsGlobalWindowOuter"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_CAN_SKIP_BEGIN"
argument_list
( "("
identifier "nsGlobalWindowOuter"
) ")"
; ""
if_statement (+89 nodes collapsed)
declaration
type_identifier "NS_IMPL_CYCLE_COLLECTION_CAN_SKIP_END"
init_declarator
identifier "NS_IMPL_CYCLE_COLLECTION_CAN_SKIP_IN_CC_BEGIN"
argument_list
( "("
identifier "nsGlobalWindowOuter"
) ")"
; ""
return_statement
return "return"
call_expression
field_expression
identifier "tmp"
-> "->"
field_identifier "IsBlackForCC"
argument_list
( "("
true "true"
) ")"
; ";"
declaration
type_identifier "NS_IMPL_CYCLE_COLLECTION_CAN_SKIP_IN_CC_END"
init_declarator
identifier "NS_IMPL_CYCLE_COLLECTION_CAN_SKIP_THIS_BEGIN"
argument_list
( "("
identifier "nsGlobalWindowOuter"
) ")"
; ""
return_statement
return "return"
call_expression
field_expression
identifier "tmp"
-> "->"
field_identifier "IsBlackForCC"
argument_list
( "("
false "false"
) ")"
; ";"
declaration
type_identifier "NS_IMPL_CYCLE_COLLECTION_CAN_SKIP_THIS_END"
init_declarator
identifier "NS_IMPL_CYCLE_COLLECTION_CLASS"
argument_list
( "("
identifier "nsGlobalWindowOuter"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INTERNAL"
argument_list
( "("
identifier "nsGlobalWindowOuter"
) ")"
; ""
if_statement (+163 nodes collapsed)
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_TRAVERSE"
argument_list
( "("
identifier "mContext"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_TRAVERSE"
argument_list
( "("
identifier "mControllers"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_TRAVERSE"
argument_list
( "("
identifier "mArguments"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_TRAVERSE"
argument_list
( "("
identifier "mLocalStorage"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_TRAVERSE"
argument_list
( "("
identifier "mSuspendedDocs"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_TRAVERSE"
argument_list
( "("
identifier "mDocumentPrincipal"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_TRAVERSE"
argument_list
( "("
identifier "mDocumentCookiePrincipal"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_TRAVERSE"
argument_list
( "("
identifier "mDocumentStoragePrincipal"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_TRAVERSE"
argument_list
( "("
identifier "mDocumentPartitionedPrincipal"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_TRAVERSE"
argument_list
( "("
identifier "mDoc"
) ")"
comment "// Traverse stuff from nsPIDOMWindow"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_TRAVERSE"
argument_list
( "("
identifier "mChromeEventHandler"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_TRAVERSE"
argument_list
( "("
identifier "mParentTarget"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_TRAVERSE"
argument_list
( "("
identifier "mMessageManager"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_TRAVERSE"
argument_list
( "("
identifier "mFrameElement"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_TRAVERSE"
argument_list
( "("
identifier "mDocShell"
) ")"
; ""
expression_statement
call_expression
field_expression
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_TRAVERSE"
argument_list
( "("
identifier "mBrowsingContext"
) ")"
ERROR
identifier "tmp"
-> "->"
field_identifier "TraverseObjectsInGlobal"
argument_list
( "("
identifier "cb"
) ")"
; ";"
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_TRAVERSE"
argument_list
( "("
field_expression
identifier "mChromeFields"
. "."
field_identifier "mBrowserDOMWindow"
) ")"
; ""
declaration
type_identifier "NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END"
init_declarator
identifier "NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN"
argument_list
( "("
identifier "nsGlobalWindowOuter"
) ")"
; ""
function_definition (+26 nodes collapsed)
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_UNLINK"
argument_list
( "("
identifier "mContext"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_UNLINK"
argument_list
( "("
identifier "mControllers"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_UNLINK"
argument_list
( "("
identifier "mArguments"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_UNLINK"
argument_list
( "("
identifier "mLocalStorage"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_UNLINK"
argument_list
( "("
identifier "mSuspendedDocs"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_UNLINK"
argument_list
( "("
identifier "mDocumentPrincipal"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_UNLINK"
argument_list
( "("
identifier "mDocumentCookiePrincipal"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_UNLINK"
argument_list
( "("
identifier "mDocumentStoragePrincipal"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_UNLINK"
argument_list
( "("
identifier "mDocumentPartitionedPrincipal"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_UNLINK"
argument_list
( "("
identifier "mDoc"
) ")"
comment "// Unlink stuff from nsPIDOMWindow"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_UNLINK"
argument_list
( "("
identifier "mChromeEventHandler"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_UNLINK"
argument_list
( "("
identifier "mParentTarget"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_UNLINK"
argument_list
( "("
identifier "mMessageManager"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_UNLINK"
argument_list
( "("
identifier "mFrameElement"
) ")"
; ""
expression_statement
call_expression
identifier "NS_IMPL_CYCLE_COLLECTION_UNLINK"
argument_list
( "("
identifier "mDocShell"
) ")"
; ""
if_statement (+96 nodes collapsed)
expression_statement
call_expression
field_expression
identifier "tmp"
-> "->"
field_identifier "UnlinkObjectsInGlobal"
argument_list
( "("
) ")"
; ";"
if_statement (+27 nodes collapsed)
declaration
type_identifier "NS_IMPL_CYCLE_COLLECTION_UNLINK_PRESERVED_WRAPPER"
init_declarator
qualified_identifier
namespace_identifier "NS_IMPL_CYCLE_COLLECTION_UNLINK_END"
:: ""
identifier "NS_IMPL_CYCLE_COLLECTION_TRACE_BEGIN"
argument_list
( "("
identifier "nsGlobalWindowOuter"
) ")"
; ""
function_definition (+95 nodes collapsed)
comment "//**********************************************************"...
comment "// nsGlobalWindowOuter::nsIScriptGlobalObject"
comment "//**********************************************************"...
function_definition (+61 nodes collapsed)
function_definition (+43 nodes collapsed)
function_definition (+40 nodes collapsed)
function_definition (+103 nodes collapsed)
function_definition
type_identifier "nsIScriptContext"
pointer_declarator
* "*"
function_declarator
qualified_identifier
namespace_identifier "nsGlobalWindowOuter"
:: "::"
identifier "GetScriptContext"
parameter_list
( "("
) ")"
compound_statement
{ "{"
return_statement
return "return"
identifier "mContext"
; ";"
} "}"
function_definition (+211 nodes collapsed)
function_definition (+311 nodes collapsed)
preproc_def
#define "#define"
identifier "WINDOWSTATEHOLDER_IID"
preproc_arg "{0x0b917c3e, 0xbd50, 0x4683, {0xaf, 0xc9, 0xc7, 0x81, 0x07, "...
class_specifier (+112 nodes collapsed)
; ";"
function_definition (+91 nodes collapsed)
function_definition (+38 nodes collapsed)
expression_statement
call_expression
identifier "NS_IMPL_ISUPPORTS"
argument_list
( "("
identifier "WindowStateHolder"
, ","
identifier "WindowStateHolder"
) ")"
; ""
function_definition (+305 nodes collapsed)
function_definition (+133 nodes collapsed)
function_definition (+58 nodes collapsed)
expression_statement
; ";"
function_definition (+189 nodes collapsed)
function_definition (+332 nodes collapsed)
comment "/**\n * Create a new global object that will be used for an i"...
function_definition (+491 nodes collapsed)
function_definition (+2860 nodes collapsed)
comment "/* static */"
function_definition (+355 nodes collapsed)
function_definition (+214 nodes collapsed)
function_definition (+182 nodes collapsed)
function_definition (+25 nodes collapsed)
function_definition (+259 nodes collapsed)
function_definition (+378 nodes collapsed)
function_definition (+163 nodes collapsed)
function_definition (+24 nodes collapsed)
function_definition (+29 nodes collapsed)
function_definition (+75 nodes collapsed)
function_definition (+169 nodes collapsed)
function_definition (+74 nodes collapsed)
function_definition (+74 nodes collapsed)
function_definition (+29 nodes collapsed)
function_definition (+41 nodes collapsed)
function_definition (+75 nodes collapsed)
comment "//**********************************************************"...
comment "// nsGlobalWindowOuter::nsIScriptObjectPrincipal"
comment "//**********************************************************"...
function_definition (+101 nodes collapsed)
function_definition (+98 nodes collapsed)
function_definition (+98 nodes collapsed)
function_definition (+98 nodes collapsed)
comment "//**********************************************************"...
comment "// nsGlobalWindowOuter::nsIDOMWindow"
comment "//**********************************************************"...
function_definition (+21 nodes collapsed)
function_definition (+24 nodes collapsed)
function_definition (+31 nodes collapsed)
function_definition (+31 nodes collapsed)
function_definition (+117 nodes collapsed)
function_definition (+49 nodes collapsed)
function_definition (+53 nodes collapsed)
function_definition (+49 nodes collapsed)
function_definition (+62 nodes collapsed)
function_definition (+40 nodes collapsed)
function_definition (+54 nodes collapsed)
comment "/**\n * GetInProcessScriptableParent used to be called when a"...
function_definition (+91 nodes collapsed)
comment "/**\n * Behavies identically to GetInProcessScriptableParent "...
function_definition (+52 nodes collapsed)
function_definition (+103 nodes collapsed)
function_definition (+355 nodes collapsed)
comment "/**\n * GetInProcessScriptableTop used to be called when a sc"...
function_definition (+61 nodes collapsed)
function_definition (+65 nodes collapsed)
function_definition (+70 nodes collapsed)
function_definition (+204 nodes collapsed)
function_definition (+264 nodes collapsed)
function_definition (+79 nodes collapsed)
function_definition (+23 nodes collapsed)
function_definition (+21 nodes collapsed)
function_definition (+86 nodes collapsed)
function_definition (+145 nodes collapsed)
function_definition (+35 nodes collapsed)
function_definition (+223 nodes collapsed)
function_definition (+54 nodes collapsed)
function_definition (+64 nodes collapsed)
function_definition (+27 nodes collapsed)
function_definition (+24 nodes collapsed)
function_definition (+28 nodes collapsed)
function_definition (+38 nodes collapsed)
function_definition (+52 nodes collapsed)
comment "// NOTE: The idea of this function is that it should return "...
comment "// nsPresContext::CSSToDeviceScale() if it was in aWindow sy"...
comment "// that, we use the UnscaledDevicePixelsPerCSSPixel() (which"...
comment "// scale and the OS zoom scale) and then account for the bro"...
comment "// zoom. See the declaration of this function for context ab"...
comment "// needed."
function_definition (+70 nodes collapsed)
function_definition (+366 nodes collapsed)
function_definition (+40 nodes collapsed)
function_definition (+33 nodes collapsed)
function_definition (+40 nodes collapsed)
function_definition (+33 nodes collapsed)
function_definition (+202 nodes collapsed)
function_definition (+36 nodes collapsed)
function_definition (+36 nodes collapsed)
function_definition (+167 nodes collapsed)
function_definition (+166 nodes collapsed)
function_definition (+36 nodes collapsed)
function_definition (+139 nodes collapsed)
function_definition (+277 nodes collapsed)
function_definition (+69 nodes collapsed)
function_definition (+69 nodes collapsed)
function_definition (+36 nodes collapsed)
comment "// NOTE: Arguments to this function should have values scale"...
comment "// CSS pixels, not device pixels."
function_definition (+157 nodes collapsed)
comment "// NOTE: Arguments to this function should have values in ap"...
function_definition (+92 nodes collapsed)
comment "// NOTE: Arguments to this function should have values scale"...
comment "// CSS pixels, not device pixels."
function_definition (+428 nodes collapsed)
function_definition (+77 nodes collapsed)
function_definition (+145 nodes collapsed)
function_definition (+25 nodes collapsed)
function_definition (+25 nodes collapsed)
function_definition (+47 nodes collapsed)
function_definition (+54 nodes collapsed)
function_definition (+94 nodes collapsed)
function_definition (+113 nodes collapsed)
function_definition (+133 nodes collapsed)
function_definition (+82 nodes collapsed)
function_definition (+121 nodes collapsed)
function_definition (+41 nodes collapsed)
function_definition (+30 nodes collapsed)
function_definition (+81 nodes collapsed)
struct_specifier (+44 nodes collapsed)
; ";"
function_definition (+112 nodes collapsed)
class_specifier (+307 nodes collapsed)
; ";"
declaration
type_qualifier
const "const"
primitive_type "char"
init_declarator
pointer_declarator
* "*"
type_qualifier
const "const"
qualified_identifier
namespace_identifier "FullscreenTransitionTask"
:: "::"
identifier "kPaintedTopic"
= "="
string_literal
" "\""
string_content "fullscreen-painted"
" "\""
; ";"
function_definition (+549 nodes collapsed)
expression_statement
call_expression
identifier "NS_IMPL_ISUPPORTS"
argument_list
( "("
qualified_identifier
namespace_identifier "FullscreenTransitionTask"
:: "::"
identifier "Observer"
, ","
identifier "nsIObserver"
, ","
identifier "nsINamed"
) ")"
; ""
function_definition (+334 nodes collapsed)
function_definition (+39 nodes collapsed)
function_definition (+213 nodes collapsed)
function_definition (+236 nodes collapsed)
function_definition (+573 nodes collapsed)
comment "// Support a per-window, dynamic equivalent of enabling"
comment "// full-screen-api.ignore-widgets"
function_definition (+31 nodes collapsed)
function_definition (+255 nodes collapsed)
comment "/* virtual */"
function_definition (+192 nodes collapsed)
comment "/* virtual */"
function_definition (+351 nodes collapsed)
comment "/* virtual */"
function_definition (+302 nodes collapsed)
function_definition (+198 nodes collapsed)
function_definition (+21 nodes collapsed)
function_definition (+28 nodes collapsed)
function_definition (+111 nodes collapsed)
comment "// static"
function_definition
primitive_type "void"
function_declarator (+47 nodes collapsed)
compound_statement
{ "{"
expression_statement
call_expression
identifier "MOZ_ASSERT"
argument_list
( "("
identifier "aSubjectPrincipal"
) ")"
; ";"
expression_statement
call_expression
field_expression
identifier "aOutMessage"
. "."
field_identifier "Truncate"
argument_list
( "("
) ")"
; ";"
comment "// Try to get a host from the running principal -- this will"...
comment "// right thing for javascript: and data: documents."
declaration
type_identifier "nsAutoCString"
identifier "contentDesc"
; ";"
if_statement
if "if"
condition_clause
( "("
call_expression
field_expression
identifier "aSubjectPrincipal"
-> "->"
field_identifier "GetIsNullPrincipal"
argument_list
( "("
) ")"
) ")"
compound_statement
{ "{"
expression_statement
call_expression
qualified_identifier
namespace_identifier "nsContentUtils"
:: "::"
identifier "GetLocalizedString"
argument_list
( "("
qualified_identifier
namespace_identifier "nsContentUtils"
:: "::"
identifier "eCOMMON_DIALOG_PROPERTIES"
, ","
identifier "aNullMessage"
, ","
identifier "aOutMessage"
) ")"
; ";"
} "}"
else_clause
else "else"
compound_statement
{ "{"
declaration (+25 nodes collapsed)
if_statement
if "if"
condition_clause
( "("
identifier "addonPolicy"
) ")"
compound_statement
{ "{"
expression_statement
call_expression
qualified_identifier
namespace_identifier "nsContentUtils"
:: "::"
identifier "FormatLocalizedString"
argument_list
( "("
identifier "aOutMessage"
, ","
qualified_identifier
namespace_identifier "nsContentUtils"
:: "::"
identifier "eCOMMON_DIALOG_PROPERTIES"
, ","
identifier "aContentMessage"
, ","
call_expression
field_expression
identifier "addonPolicy"
-> "->"
field_identifier "Name"
argument_list
( "("
) ")"
) ")"
; ";"
} "}"
else_clause
else "else"
compound_statement
{ "{"
declaration
type_identifier "nsresult"
init_declarator
identifier "rv"
= "="
identifier "NS_ERROR_FAILURE"
; ";"
if_statement (+52 nodes collapsed)
if_statement (+33 nodes collapsed)
if_statement
if "if"
condition_clause (+21 nodes collapsed)
compound_statement
{ "{"
declaration
type_identifier "NS_ConvertUTF8toUTF16"
function_declarator
identifier "ucsPrePath"
parameter_list
( "("
parameter_declaration
type_identifier "contentDesc"
) ")"
; ";"
expression_statement
call_expression
qualified_identifier
namespace_identifier "nsContentUtils"
:: "::"
identifier "FormatLocalizedString"
argument_list
( "("
identifier "aOutMessage"
, ","
qualified_identifier
namespace_identifier "nsContentUtils"
:: "::"
identifier "eCOMMON_DIALOG_PROPERTIES"
, ","
identifier "aContentMessage"
, ","
identifier "ucsPrePath"
) ")"
; ";"
} "}"
} "}"
} "}"
if_statement
if "if"
condition_clause
( "("
call_expression
field_expression
identifier "aOutMessage"
. "."
field_identifier "IsEmpty"
argument_list
( "("
) ")"
) ")"
compound_statement
{ "{"
comment "// We didn't find a host so use the generic heading"
expression_statement
call_expression
qualified_identifier
namespace_identifier "nsContentUtils"
:: "::"
identifier "GetLocalizedString"
argument_list
( "("
qualified_identifier
namespace_identifier "nsContentUtils"
:: "::"
identifier "eCOMMON_DIALOG_PROPERTIES"
, ","
identifier "aFallbackMessage"
, ","
identifier "aOutMessage"
) ")"
; ";"
} "}"
comment "// Just in case"
if_statement (+41 nodes collapsed)
} "}"
function_definition (+397 nodes collapsed)
function_definition (+566 nodes collapsed)
function_definition (+47 nodes collapsed)
function_definition (+48 nodes collapsed)
function_definition
primitive_type "void"
function_declarator (+41 nodes collapsed)
compound_statement
{ "{"
comment "// XXX This method is very similar to nsGlobalWindowOuter::A"...
comment "// make sure any modifications here don't need to happen ove"...
expression_statement
call_expression
identifier "SetDOMStringToNull"
argument_list
( "("
identifier "aReturn"
) ")"
; ";"
if_statement
if "if"
condition_clause
( "("
unary_expression
! "!"
call_expression
identifier "AreDialogsEnabled"
argument_list
( "("
) ")"
) ")"
compound_statement
{ "{"
comment "// Return null, as if the user just canceled the prompt."
return_statement
return "return"
; ";"
} "}"
comment "// Reset popup state while opening a modal dialog, and firin"...
comment "// about the dialog, to prevent the current state from being"...
comment "// the whole time a modal dialog is open."
declaration
type_identifier "AutoPopupStatePusher"
function_declarator
identifier "popupStatePusher"
parameter_list
( "("
parameter_declaration
qualified_identifier
namespace_identifier "PopupBlocker"
:: "::"
type_identifier "openAbused"
, ","
parameter_declaration
type_identifier "true"
) ")"
; ";"
comment "// Before bringing up the window, unsuppress painting and fl"...
comment "// pending reflows."
expression_statement
call_expression
identifier "EnsureReflowFlushAndPaint"
argument_list
( "("
) ")"
; ";"
declaration
type_identifier "nsAutoString"
identifier "title"
; ";"
expression_statement (+29 nodes collapsed)
comment "// Remove non-terminating null characters from the"
comment "// string. See bug #310037."
declaration
type_identifier "nsAutoString"
identifier "fixedMessage"
, ","
identifier "fixedInitial"
; ";"
expression_statement
call_expression
qualified_identifier
namespace_identifier "nsContentUtils"
:: "::"
identifier "StripNullChars"
argument_list
( "("
identifier "aMessage"
, ","
identifier "fixedMessage"
) ")"
; ";"
expression_statement
call_expression
qualified_identifier
namespace_identifier "nsContentUtils"
:: "::"
identifier "PlatformToDOMLineBreaks"
argument_list
( "("
identifier "fixedMessage"
) ")"
; ";"
expression_statement
call_expression
qualified_identifier
namespace_identifier "nsContentUtils"
:: "::"
identifier "StripNullChars"
argument_list
( "("
identifier "aInitial"
, ","
identifier "fixedInitial"
) ")"
; ";"
declaration
type_identifier "nsresult"
identifier "rv"
; ";"
declaration (+25 nodes collapsed)
if_statement (+28 nodes collapsed)
declaration
template_type
type_identifier "nsCOMPtr"
template_argument_list
< "<"
type_descriptor
type_identifier "nsIPrompt"
> ">"
identifier "prompt"
; ";"
expression_statement (+28 nodes collapsed)
if_statement
if "if"
condition_clause
( "("
call_expression
field_expression
identifier "aError"
. "."
field_identifier "Failed"
argument_list
( "("
) ")"
) ")"
compound_statement
{ "{"
return_statement
return "return"
; ";"
} "}"
comment "// Always allow content modal prompts for prompt."
if_statement (+45 nodes collapsed)
comment "// Pass in the default value, if any."
declaration
primitive_type "char16_t"
init_declarator
pointer_declarator
* "*"
identifier "inoutValue"
= "="
call_expression
identifier "ToNewUnicode"
argument_list
( "("
identifier "fixedInitial"
) ")"
; ";"
declaration
primitive_type "bool"
init_declarator
identifier "disallowDialog"
= "="
false "false"
; ";"
declaration
type_identifier "nsAutoString"
identifier "label"
; ";"
expression_statement
call_expression
field_expression
identifier "label"
. "."
field_identifier "SetIsVoid"
argument_list
( "("
true "true"
) ")"
; ";"
if_statement
if "if"
condition_clause
( "("
call_expression
identifier "ShouldPromptToBlockDialogs"
argument_list
( "("
) ")"
) ")"
compound_statement
{ "{"
expression_statement
call_expression
qualified_identifier
namespace_identifier "nsContentUtils"
:: "::"
identifier "GetLocalizedString"
argument_list
( "("
qualified_identifier
namespace_identifier "nsContentUtils"
:: "::"
identifier "eCOMMON_DIALOG_PROPERTIES"
, ","
string_literal
" "\""
string_content "ScriptDialogLabel"
" "\""
, ","
identifier "label"
) ")"
; ";"
} "}"
declaration
type_identifier "nsAutoSyncOperation"
function_declarator
identifier "sync"
parameter_list
( "("
parameter_declaration
type_identifier "mDoc"
, ","
parameter_declaration
qualified_identifier
namespace_identifier "SyncOperationBehavior"
:: "::"
type_identifier "eSuspendInput"
) ")"
; ";"
declaration
primitive_type "bool"
identifier "ok"
; ";"
expression_statement (+64 nodes collapsed)
if_statement
if "if"
condition_clause
( "("
identifier "disallowDialog"
) ")"
compound_statement
{ "{"
expression_statement
call_expression
identifier "DisableDialogs"
argument_list
( "("
) ")"
; ";"
} "}"
comment "// XXX Doesn't this leak inoutValue?"
if_statement
if "if"
condition_clause
( "("
call_expression
field_expression
identifier "aError"
. "."
field_identifier "Failed"
argument_list
( "("
) ")"
) ")"
compound_statement
{ "{"
return_statement
return "return"
; ";"
} "}"
declaration
type_identifier "nsString"
identifier "outValue"
; ";"
expression_statement
call_expression
field_expression
identifier "outValue"
. "."
field_identifier "Adopt"
argument_list
( "("
identifier "inoutValue"
) ")"
; ";"
if_statement (+26 nodes collapsed)
} "}"
function_definition (+577 nodes collapsed)
function_definition (+31 nodes collapsed)
function_definition (+78 nodes collapsed)
function_definition (+103 nodes collapsed)
function_definition (+317 nodes collapsed)
function_definition (+82 nodes collapsed)
expression_statement
; ";"
function_definition (+1622 nodes collapsed)
function_definition (+186 nodes collapsed)
function_definition (+268 nodes collapsed)
function_definition (+52 nodes collapsed)
function_definition (+316 nodes collapsed)
function_definition (+361 nodes collapsed)
function_definition (+236 nodes collapsed)
function_definition (+318 nodes collapsed)
function_definition (+84 nodes collapsed)
function_definition (+182 nodes collapsed)
function_definition (+165 nodes collapsed)
comment "// static"
function_definition (+59 nodes collapsed)
function_definition (+175 nodes collapsed)
function_definition (+94 nodes collapsed)
function_definition (+87 nodes collapsed)
comment "// like Open, but attaches to the new window any extra param"...
comment "// [features] as a JS property named \"arguments\""
function_definition (+92 nodes collapsed)
comment "// Like Open, but passes aNavigate=false."
comment "/* virtual */"
function_definition (+87 nodes collapsed)
function_definition (+235 nodes collapsed)
function_definition (+48 nodes collapsed)
comment "/* static */"
function_definition (+722 nodes collapsed)
function_definition (+571 nodes collapsed)
function_definition (+454 nodes collapsed)
class_specifier (+190 nodes collapsed)
; ";"
function_definition (+224 nodes collapsed)
function_definition
primitive_type "void"
function_declarator
qualified_identifier
namespace_identifier "nsGlobalWindowOuter"
:: "::"
identifier "CloseOuter"
parameter_list
( "("
parameter_declaration
primitive_type "bool"
identifier "aTrustedCaller"
) ")"
compound_statement
{ "{"
if_statement (+34 nodes collapsed)
if_statement
if "if"
condition_clause
( "("
identifier "mHavePendingClose"
) ")"
compound_statement
{ "{"
comment "// We're going to be closed anyway; do nothing since we don'"...
comment "// to double-close"
return_statement
return "return"
; ";"
} "}"
if_statement
if "if"
condition_clause
( "("
identifier "mBlockScriptedClosingFlag"
) ")"
compound_statement
{ "{"
comment "// A script's popup has been blocked and we don't want"
comment "// the window to be closed directly after this event,"
comment "// so the user can see that there was a blocked popup."
return_statement
return "return"
; ";"
} "}"
comment "// Don't allow scripts from content to close non-neterror wi"...
comment "// were not opened by script."
if_statement
if "if"
condition_clause
( "("
identifier "mDoc"
) ")"
compound_statement
{ "{"
declaration
type_identifier "nsAutoString"
identifier "url"
; ";"
declaration
type_identifier "nsresult"
init_declarator
identifier "rv"
= "="
call_expression
field_expression
identifier "mDoc"
-> "->"
field_identifier "GetURL"
argument_list
( "("
identifier "url"
) ")"
; ";"
expression_statement
call_expression
identifier "NS_ENSURE_SUCCESS_VOID"
argument_list
( "("
identifier "rv"
) ")"
; ";"
declaration (+28 nodes collapsed)
if_statement
if "if"
condition_clause (+51 nodes collapsed)
compound_statement
{ "{"
declaration (+23 nodes collapsed)
if_statement
if "if"
condition_clause
( "("
unary_expression
! "!"
identifier "allowClose"
) ")"
compound_statement
{ "{"
comment "// We're blocking the close operation"
comment "// report localized error msg in JS console"
expression_statement
call_expression
qualified_identifier
namespace_identifier "nsContentUtils"
:: "::"
identifier "ReportToConsole"
argument_list
( "("
qualified_identifier
namespace_identifier "nsIScriptError"
:: "::"
identifier "warningFlag"
, ","
user_defined_literal
string_literal
" "\""
string_content "DOM Window"
" "\""
literal_suffix "_ns"
, ","
identifier "mDoc"
, ","
comment "// Better name for the category?"
qualified_identifier
namespace_identifier "nsContentUtils"
:: "::"
identifier "eDOM_PROPERTIES"
, ","
string_literal
" "\""
string_content "WindowCloseByScriptBlockedWarning"
" "\""
) ")"
; ";"
return_statement
return "return"
; ";"
} "}"
} "}"
} "}"
if_statement (+28 nodes collapsed)
comment "// Fire a DOM event notifying listeners that this window is "...
comment "// be closed. The tab UI code may choose to cancel the defau"...
comment "// action for this event, if so, we won't actually close the"...
comment "// (since the tab UI code will close the tab in stead). Sure"...
comment "// could be abused by content code, but do we care? I don't "...
comment "// so..."
declaration
primitive_type "bool"
init_declarator
identifier "wasInClose"
= "="
identifier "mInClose"
; ";"
expression_statement
assignment_expression
identifier "mInClose"
= "="
true "true"
; ";"
if_statement (+37 nodes collapsed)
expression_statement
call_expression
identifier "FinalClose"
argument_list
( "("
) ")"
; ";"
} "}"
function_definition (+26 nodes collapsed)
function_definition (+99 nodes collapsed)
function_definition (+171 nodes collapsed)
function_definition (+68 nodes collapsed)
function_definition (+158 nodes collapsed)
function_definition (+137 nodes collapsed)
function_definition (+516 nodes collapsed)
function_definition (+304 nodes collapsed)
function_definition (+53 nodes collapsed)
function_definition (+58 nodes collapsed)
function_definition (+85 nodes collapsed)
function_definition (+52 nodes collapsed)
namespace_definition (+363 nodes collapsed)
comment "// anonymous namespace"
function_definition (+220 nodes collapsed)
function_definition (+128 nodes collapsed)
function_definition (+47 nodes collapsed)
function_definition (+302 nodes collapsed)
comment "//**********************************************************"...
comment "// EventTarget"
comment "//**********************************************************"...
function_definition
type_identifier "nsPIDOMWindowOuter"
pointer_declarator
* "*"
function_declarator
qualified_identifier
namespace_identifier "nsGlobalWindowOuter"
:: "::"
identifier "GetOwnerGlobalForBindingsInternal"
parameter_list
( "("
) ")"
compound_statement
{ "{"
return_statement
return "return"
this "this"
; ";"
} "}"
function_definition (+26 nodes collapsed)
function_definition (+49 nodes collapsed)
function_definition (+36 nodes collapsed)
function_definition (+31 nodes collapsed)
function_definition (+33 nodes collapsed)
comment "//**********************************************************"...
comment "// nsGlobalWindowOuter::nsPIDOMWindow"
comment "//**********************************************************"...
function_definition (+125 nodes collapsed)
function_definition (+134 nodes collapsed)
comment "// This has a caller in Windows-only code (nsNativeAppSuppor"...
function_definition (+32 nodes collapsed)
function_definition (+144 nodes collapsed)
function_definition (+22 nodes collapsed)
function_definition (+131 nodes collapsed)
function_definition (+45 nodes collapsed)
function_definition (+28 nodes collapsed)
function_definition (+28 nodes collapsed)
function_definition (+38 nodes collapsed)
function_definition (+26 nodes collapsed)
function_definition (+29 nodes collapsed)
function_definition (+114 nodes collapsed)
comment "//**********************************************************"...
comment "// nsGlobalWindowOuter::nsIInterfaceRequestor"
comment "//**********************************************************"...
function_definition (+323 nodes collapsed)
function_definition (+69 nodes collapsed)
function_definition (+62 nodes collapsed)
function_definition (+62 nodes collapsed)
function_definition (+31 nodes collapsed)
comment "//**********************************************************"...
comment "// nsGlobalWindowOuter: Window Control Functions"
comment "//**********************************************************"...
function_definition (+56 nodes collapsed)
function_definition
primitive_type "void"
function_declarator
qualified_identifier
namespace_identifier "nsGlobalWindowOuter"
:: "::"
identifier "UnblockScriptedClosing"
parameter_list
( "("
) ")"
compound_statement
{ "{"
expression_statement
assignment_expression
identifier "mBlockScriptedClosingFlag"
= "="
false "false"
; ";"
} "}"
class_specifier (+133 nodes collapsed)
; ";"
function_definition (+1422 nodes collapsed)
function_definition (+248 nodes collapsed)
comment "//**********************************************************"...
comment "// nsGlobalWindowOuter: Helper Functions"
comment "//**********************************************************"...
function_definition (+74 nodes collapsed)
function_definition (+85 nodes collapsed)
function_definition (+65 nodes collapsed)
function_definition (+72 nodes collapsed)
function_definition (+320 nodes collapsed)
function_definition (+36 nodes collapsed)
function_definition (+69 nodes collapsed)
function_definition (+43 nodes collapsed)
function_definition (+30 nodes collapsed)
function_definition (+22 nodes collapsed)
function_definition (+60 nodes collapsed)
function_definition (+42 nodes collapsed)
function_definition (+35 nodes collapsed)
comment "// Note: This call will lock the cursor, it will not change "...
comment "// To unlock, the cursor must be set back to Auto."
function_definition (+227 nodes collapsed)
function_definition (+34 nodes collapsed)
function_definition (+39 nodes collapsed)
function_definition (+58 nodes collapsed)
function_definition (+66 nodes collapsed)
function_definition (+23 nodes collapsed)
preproc_if (+24 nodes collapsed)
comment "// Helper called by methods that move/resize the window,"
comment "// to ensure the presContext (if any) is aware of resolution"
comment "// change that may happen in multi-monitor configuration."
function_definition (+84 nodes collapsed)
function_definition (+55 nodes collapsed)
function_definition (+37 nodes collapsed)
function_definition (+304 nodes collapsed)
function_definition (+105 nodes collapsed)
function_definition (+37 nodes collapsed)
comment "/* static */"
function_definition (+111 nodes collapsed)
function_definition (+40 nodes collapsed)
function_definition (+73 nodes collapsed)
function_definition (+42 nodes collapsed)
function_definition (+61 nodes collapsed)
function_definition (+74 nodes collapsed)
function_definition
function_declarator
qualified_identifier
namespace_identifier "nsPIDOMWindowOuter"
:: "::"
destructor_name
~ "~"
identifier "nsPIDOMWindowOuter"
parameter_list
( "("
) ")"
default_method_clause
= "="
default "default"
; ";"