/dports/lang/spidermonkey60/firefox-60.9.0/toolkit/modules/addons/ |
H A D | WebNavigationFrames.jsm | 14 * @param {nsIDocShell} docShell - the docShell that we want to get the DOMWindow from. 17 function docShellToWindow(docShell) { 35 * A generator function which iterates over a docShell tree, given a root docShell. 37 * @param {nsIDocShell} docShell - the root docShell object 41 docShell.typeContent, docShell.ENUMERATE_FORWARDS); 79 function getDocShellFrameId(docShell) { 80 if (!docShell) { 91 …* @param {nsIDocShell} docShell - the docShell object to be converted into a FrameDetail JSON o… 117 return docShell; 129 getFrame(docShell, frameId) { [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/toolkit/modules/addons/ |
H A D | WebNavigationFrames.jsm | 26 * @param {nsIDocShell} docShell - the docShell that we want to get the DOMWindow from. 29 function docShellToWindow(docShell) { 49 …* @param {nsIDocShell} docShell - the docShell object to be converted into a FrameDetail JSON o… 53 let window = docShellToWindow(docShell); 63 * A generator function which iterates over a docShell tree, given a root docShell. 65 * @param {nsIDocShell} docShell - the root docShell object 68 function* iterateDocShellTree(docShell) { 93 if (!docShell.sameTypeParent) { 114 return docShell; 126 getFrame(docShell, frameId) { [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/toolkit/components/extensions/ |
H A D | WebNavigationFrames.jsm | 24 * A generator function which iterates over a docShell tree, given a root docShell. 26 * @param {nsIDocShell} docShell - the root docShell object 31 docShell.typeContent, 32 docShell.ENUMERATE_FORWARDS 68 if (!docShell) { 78 …* @param {nsIDocShell} docShell - the docShell object to be converted into a FrameDetail JSON o… 82 let window = docShell.domWindow; 104 return docShell; 116 getFrame(docShell, frameId) { 127 getAllFrames(docShell) { [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/browser/components/sessionstore/ |
H A D | DocShellCapabilities.jsm | 13 collect(docShell) { 14 return DocShellCapabilitiesInternal.collect(docShell); 17 restore(docShell, disallow) { 34 allCapabilities(docShell) { 36 let keys = Object.keys(docShell); 42 collect(docShell) { 43 let caps = this.allCapabilities(docShell); 44 return caps.filter(cap => !docShell["allow" + cap] 48 restore(docShell, disallow) { 49 let caps = this.allCapabilities(docShell); [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/browser/components/sessionstore/ |
H A D | DocShellCapabilities.jsm | 13 collect: function (docShell) { 14 return DocShellCapabilitiesInternal.collect(docShell); 17 restore: function (docShell, disallow) { 32 allCapabilities: function (docShell) { 34 let keys = Object.keys(docShell); 40 collect: function (docShell) { 41 let caps = this.allCapabilities(docShell); 42 return caps.filter(cap => !docShell["allow" + cap]); 45 restore: function (docShell, disallow) { 46 let caps = this.allCapabilities(docShell); [all …]
|
H A D | PageStyle.jsm | 15 collect: function (docShell, frameTree) { 16 return PageStyleInternal.collect(docShell, frameTree); 19 restoreTree: function (docShell, data) { 20 PageStyleInternal.restoreTree(docShell, data); 31 collect: function (docShell, frameTree) { 44 docShell.contentViewer; 56 * |docShell's| current DOMWindow using the given pageStyle |data|. 63 * @param docShell (nsIDocShell) 74 restoreTree: function (docShell, data) { 77 docShell.contentViewer; [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/editor/composer/ |
H A D | nsEditingSession.cpp | 244 nsCOMPtr<nsIDocShell> docShell = in WindowIsEditable() local 246 NS_ENSURE_STATE(docShell); in WindowIsEditable() 530 NS_ENSURE_STATE(docShell); in TearDownEditorOnWindow() 545 docShell->SetEditor(nullptr); in TearDownEditorOnWindow() 945 nsCOMPtr<nsIDocShell> docShell = in TimerCallback() local 947 if (docShell) { in TimerCallback() 1004 nsIDocShell* docShell = in EndPageLoad() local 1206 NS_ENSURE_TRUE_VOID(docShell); in RestoreAnimationMode() 1333 nsCOMPtr<nsIDocShell> docShell = in GetHTMLEditorForWindow() local 1335 if (NS_WARN_IF(!docShell)) { in GetHTMLEditorForWindow() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/editor/composer/ |
H A D | nsEditingSession.cpp | 198 rv = docShell->SetAllowJavascript(false); in DisableJSAndPlugins() 204 rv = docShell->SetAllowPlugins(false); in DisableJSAndPlugins() 252 NS_ENSURE_STATE(docShell); in WindowIsEditable() 423 rv = docShell->SetEditor(editor); in SetupEditorOnWindow() 549 NS_ENSURE_STATE(docShell); in TearDownEditorOnWindow() 567 docShell->SetEditor(nullptr); in TearDownEditorOnWindow() 600 NS_ENSURE_STATE(docShell); in GetEditorForWindow() 602 return docShell->GetEditor(outEditor); in GetEditorForWindow() 992 if (docShell) { in TimerCallback() 1052 nsIDocShell *docShell = in EndPageLoad() local [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/xpcom/tests/ |
H A D | SizeTest06.cpp | 43 nsIDocShell* docShell = 0; in Test06_raw() local 44 if (window) window->GetDocShell(&docShell); in Test06_raw() 47 NS_IF_RELEASE(docShell); in Test06_raw() 63 nsIDocShell* docShell = 0; in Test06_raw_optimized() local 64 window->GetDocShell(&docShell); in Test06_raw_optimized() 65 if (docShell) { in Test06_raw_optimized() 66 NS_RELEASE(docShell); in Test06_raw_optimized() 80 nsCOMPtr<nsIDocShell> docShell; in Test06_nsCOMPtr_as_found() local 94 nsCOMPtr<nsIDocShell> docShell = dont_AddRef(temp0); in Test06_nsCOMPtr00() local 143 nsCOMPtr<nsIDocShell> docShell = dont_AddRef(temp0); in Test06_nsCOMPtr03() local [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/xpcom/tests/ |
H A D | SizeTest06.cpp | 44 nsIDocShell* docShell = 0; in Test06_raw() local 46 window->GetDocShell(&docShell); in Test06_raw() 49 NS_IF_RELEASE(docShell); in Test06_raw() 64 nsIDocShell* docShell = 0; in Test06_raw_optimized() local 65 window->GetDocShell(&docShell); in Test06_raw_optimized() 66 if (docShell) { in Test06_raw_optimized() 67 NS_RELEASE(docShell); in Test06_raw_optimized() 81 nsCOMPtr<nsIDocShell> docShell; in Test06_nsCOMPtr_as_found() local 83 window->GetDocShell(getter_AddRefs(docShell)); in Test06_nsCOMPtr_as_found() 97 nsCOMPtr<nsIDocShell> docShell = dont_AddRef(temp0); in Test06_nsCOMPtr00() local [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/xpcom/tests/ |
H A D | SizeTest06.cpp | 44 nsIDocShell* docShell = 0; in Test06_raw() local 46 window->GetDocShell(&docShell); in Test06_raw() 49 NS_IF_RELEASE(docShell); in Test06_raw() 64 nsIDocShell* docShell = 0; in Test06_raw_optimized() local 65 window->GetDocShell(&docShell); in Test06_raw_optimized() 66 if (docShell) { in Test06_raw_optimized() 67 NS_RELEASE(docShell); in Test06_raw_optimized() 81 nsCOMPtr<nsIDocShell> docShell; in Test06_nsCOMPtr_as_found() local 83 window->GetDocShell(getter_AddRefs(docShell)); in Test06_nsCOMPtr_as_found() 97 nsCOMPtr<nsIDocShell> docShell = dont_AddRef(temp0); in Test06_nsCOMPtr00() local [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/xpcom/tests/ |
H A D | SizeTest06.cpp | 43 nsIDocShell* docShell = 0; in Test06_raw() local 44 if (window) window->GetDocShell(&docShell); in Test06_raw() 47 NS_IF_RELEASE(docShell); in Test06_raw() 63 nsIDocShell* docShell = 0; in Test06_raw_optimized() local 64 window->GetDocShell(&docShell); in Test06_raw_optimized() 65 if (docShell) { in Test06_raw_optimized() 66 NS_RELEASE(docShell); in Test06_raw_optimized() 80 nsCOMPtr<nsIDocShell> docShell; in Test06_nsCOMPtr_as_found() local 94 nsCOMPtr<nsIDocShell> docShell = dont_AddRef(temp0); in Test06_nsCOMPtr00() local 143 nsCOMPtr<nsIDocShell> docShell = dont_AddRef(temp0); in Test06_nsCOMPtr03() local [all …]
|
/dports/www/firefox/firefox-99.0/xpcom/tests/ |
H A D | SizeTest06.cpp | 43 nsIDocShell* docShell = 0; in Test06_raw() local 44 if (window) window->GetDocShell(&docShell); in Test06_raw() 47 NS_IF_RELEASE(docShell); in Test06_raw() 63 nsIDocShell* docShell = 0; in Test06_raw_optimized() local 64 window->GetDocShell(&docShell); in Test06_raw_optimized() 65 if (docShell) { in Test06_raw_optimized() 66 NS_RELEASE(docShell); in Test06_raw_optimized() 80 nsCOMPtr<nsIDocShell> docShell; in Test06_nsCOMPtr_as_found() local 94 nsCOMPtr<nsIDocShell> docShell = dont_AddRef(temp0); in Test06_nsCOMPtr00() local 143 nsCOMPtr<nsIDocShell> docShell = dont_AddRef(temp0); in Test06_nsCOMPtr03() local [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/xpcom/tests/ |
H A D | SizeTest06.cpp | 43 nsIDocShell* docShell = 0; in Test06_raw() local 44 if (window) window->GetDocShell(&docShell); in Test06_raw() 47 NS_IF_RELEASE(docShell); in Test06_raw() 63 nsIDocShell* docShell = 0; in Test06_raw_optimized() local 64 window->GetDocShell(&docShell); in Test06_raw_optimized() 65 if (docShell) { in Test06_raw_optimized() 66 NS_RELEASE(docShell); in Test06_raw_optimized() 80 nsCOMPtr<nsIDocShell> docShell; in Test06_nsCOMPtr_as_found() local 94 nsCOMPtr<nsIDocShell> docShell = dont_AddRef(temp0); in Test06_nsCOMPtr00() local 143 nsCOMPtr<nsIDocShell> docShell = dont_AddRef(temp0); in Test06_nsCOMPtr03() local [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/editor/composer/ |
H A D | nsEditingSession.cpp | 229 nsCOMPtr<nsIDocShell> docShell = in WindowIsEditable() local 231 NS_ENSURE_STATE(docShell); in WindowIsEditable() 497 NS_ENSURE_STATE(docShell); in TearDownEditorOnWindow() 512 docShell->SetEditor(nullptr); in TearDownEditorOnWindow() 921 nsCOMPtr<nsIDocShell> docShell = in TimerCallback() local 923 if (docShell) { in TimerCallback() 982 nsIDocShell* docShell = in EndPageLoad() local 1173 NS_ENSURE_TRUE_VOID(docShell); in RestoreAnimationMode() 1301 nsCOMPtr<nsIDocShell> docShell = in GetHTMLEditorForWindow() local 1303 if (NS_WARN_IF(!docShell)) { in GetHTMLEditorForWindow() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/editor/composer/ |
H A D | nsEditingSession.cpp | 226 nsCOMPtr<nsIDocShell> docShell = in WindowIsEditable() local 228 NS_ENSURE_STATE(docShell); in WindowIsEditable() 487 NS_ENSURE_STATE(docShell); in TearDownEditorOnWindow() 502 docShell->SetEditor(nullptr); in TearDownEditorOnWindow() 911 nsCOMPtr<nsIDocShell> docShell = in TimerCallback() local 913 if (docShell) { in TimerCallback() 972 nsIDocShell* docShell = in EndPageLoad() local 1163 NS_ENSURE_TRUE_VOID(docShell); in RestoreAnimationMode() 1291 nsCOMPtr<nsIDocShell> docShell = in GetHTMLEditorForWindow() local 1293 if (NS_WARN_IF(!docShell)) { in GetHTMLEditorForWindow() [all …]
|
/dports/www/firefox/firefox-99.0/editor/composer/ |
H A D | nsEditingSession.cpp | 226 nsCOMPtr<nsIDocShell> docShell = in WindowIsEditable() local 228 NS_ENSURE_STATE(docShell); in WindowIsEditable() 487 NS_ENSURE_STATE(docShell); in TearDownEditorOnWindow() 502 docShell->SetEditor(nullptr); in TearDownEditorOnWindow() 911 nsCOMPtr<nsIDocShell> docShell = in TimerCallback() local 913 if (docShell) { in TimerCallback() 972 nsIDocShell* docShell = in EndPageLoad() local 1163 NS_ENSURE_TRUE_VOID(docShell); in RestoreAnimationMode() 1291 nsCOMPtr<nsIDocShell> docShell = in GetHTMLEditorForWindow() local 1293 if (NS_WARN_IF(!docShell)) { in GetHTMLEditorForWindow() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/editor/composer/ |
H A D | nsEditingSession.cpp | 226 nsCOMPtr<nsIDocShell> docShell = in WindowIsEditable() local 228 NS_ENSURE_STATE(docShell); in WindowIsEditable() 487 NS_ENSURE_STATE(docShell); in TearDownEditorOnWindow() 502 docShell->SetEditor(nullptr); in TearDownEditorOnWindow() 911 nsCOMPtr<nsIDocShell> docShell = in TimerCallback() local 913 if (docShell) { in TimerCallback() 972 nsIDocShell* docShell = in EndPageLoad() local 1163 NS_ENSURE_TRUE_VOID(docShell); in RestoreAnimationMode() 1291 nsCOMPtr<nsIDocShell> docShell = in GetHTMLEditorForWindow() local 1293 if (NS_WARN_IF(!docShell)) { in GetHTMLEditorForWindow() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/xpfe/appshell/ |
H A D | nsAppShellService.cpp | 136 nsCOMPtr<nsIDocShell> docShell; in CreateHiddenWindow() local 138 if (docShell) { in CreateHiddenWindow() 139 docShell->SetIsActive(false); in CreateHiddenWindow() 326 bc = docShell->GetBrowsingContext(); in Destroy() 423 if (!docShell) { in GetDocShell() 426 docShell.forget(aDocShell); in GetDocShell() 714 docShell->SetRemoteTabs(aChromeMask & in JustCreateTopWindow() 780 nsCOMPtr<nsIDocShell> docShell; in GetHiddenDOMWindow() local 813 nsCOMPtr<nsIDocShell> docShell; in RegisterTopLevelWindow() local 882 nsCOMPtr<nsIDocShell> docShell; in UnregisterTopLevelWindow() local [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/browser/actors/ |
H A D | BrowserTabChild.jsm | 31 let loadContext = context.docShell.QueryInterface(Ci.nsILoadContext); 60 let docShell = context.docShell; 64 if (docShell) { 65 docShell.isAppTab = message.data.isAppTab; 71 let browserChild = docShell 86 let webNav = docShell.QueryInterface(Ci.nsIWebNavigation); 104 docShell.mixedContentChannel = null; 108 docShell.charset = message.data.value; 109 docShell.gatherCharsetMenuTelemetry();
|
/dports/www/firefox-legacy/firefox-52.8.0esr/widget/android/fennec/ |
H A D | ThumbnailHelper.h | 65 ShouldStoreThumbnail(nsIDocShell* docShell) in ShouldStoreThumbnail() argument 68 if (NS_FAILED(docShell->GetCurrentDocumentChannel( in ShouldStoreThumbnail() 131 nsCOMPtr<nsIDocShell> docShell = win->GetDocShell(); in GetThumbnailAndDocShell() local 134 if (!docShell || NS_FAILED(docShell->GetPresContext( in GetThumbnailAndDocShell() 186 return docShell.forget(); in GetThumbnailAndDocShell() 255 nsCOMPtr<nsIDocShell> docShell = GetThumbnailAndDocShell( in RequestThumbnail() local 259 const bool success = !!docShell; in RequestThumbnail() 276 nsCOMPtr<nsIDocShell> docShell = win->GetDocShell(); in RequestZoomedViewData() local 279 if (!docShell || NS_FAILED(docShell->GetPresContext( in RequestZoomedViewData() 289 docShell = GetThumbnailAndDocShell( in RequestZoomedViewData() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/dom/presentation/ |
H A D | Presentation.cpp | 120 nsCOMPtr<nsIDocShell> docShell = mWindow->GetDocShell(); in HasReceiverSupport() local 121 if (!docShell) { in HasReceiverSupport() 126 !docShell->GetIsInMozBrowser() && in HasReceiverSupport() 127 !docShell->GetIsTopLevelContentDocShell()) { in HasReceiverSupport() 132 nsContentUtils::GetPresentationURL(docShell, presentationURL); in HasReceiverSupport() 160 nsCOMPtr<nsIDocShell> docShell = mWindow->GetDocShell(); in IsInPresentedContent() local 161 MOZ_ASSERT(docShell); in IsInPresentedContent() 164 nsContentUtils::GetPresentationURL(docShell, presentationURL); in IsInPresentedContent()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/presentation/ |
H A D | Presentation.cpp | 129 nsCOMPtr<nsIDocShell> docShell = mWindow->GetDocShell(); in HasReceiverSupport() local 130 if (!docShell) { in HasReceiverSupport() 135 !docShell->GetIsInMozBrowserOrApp() && in HasReceiverSupport() 136 !docShell->GetIsTopLevelContentDocShell()) { in HasReceiverSupport() 141 nsContentUtils::GetPresentationURL(docShell, presentationURL); in HasReceiverSupport() 172 nsCOMPtr<nsIDocShell> docShell = mWindow->GetDocShell(); in IsInPresentedContent() local 173 MOZ_ASSERT(docShell); in IsInPresentedContent() 176 nsContentUtils::GetPresentationURL(docShell, presentationURL); in IsInPresentedContent()
|
/dports/mail/thunderbird/thunderbird-91.8.0/xpfe/appshell/ |
H A D | nsAppShellService.cpp | 140 nsCOMPtr<nsIDocShell> docShell; in CreateHiddenWindow() local 142 if (docShell) { in CreateHiddenWindow() 415 if (!docShell) { in GetDocShell() 418 docShell.forget(aDocShell); in GetDocShell() 739 docShell->SetRemoteTabs(aChromeMask & in JustCreateTopWindow() 805 nsCOMPtr<nsIDocShell> docShell; in GetHiddenDOMWindow() local 810 NS_ENSURE_TRUE(docShell, NS_ERROR_FAILURE); in GetHiddenDOMWindow() 838 nsCOMPtr<nsIDocShell> docShell; in RegisterTopLevelWindow() local 840 NS_ENSURE_TRUE(docShell, NS_ERROR_FAILURE); in RegisterTopLevelWindow() 907 nsCOMPtr<nsIDocShell> docShell; in UnregisterTopLevelWindow() local [all …]
|
/dports/www/firefox/firefox-99.0/xpfe/appshell/ |
H A D | nsAppShellService.cpp | 140 nsCOMPtr<nsIDocShell> docShell; in CreateHiddenWindow() local 142 if (docShell) { in CreateHiddenWindow() 415 if (!docShell) { in GetDocShell() 418 docShell.forget(aDocShell); in GetDocShell() 746 docShell->SetRemoteTabs(aChromeMask & in JustCreateTopWindow() 814 nsCOMPtr<nsIDocShell> docShell; in GetHiddenDOMWindow() local 819 NS_ENSURE_TRUE(docShell, NS_ERROR_FAILURE); in GetHiddenDOMWindow() 847 nsCOMPtr<nsIDocShell> docShell; in RegisterTopLevelWindow() local 849 NS_ENSURE_TRUE(docShell, NS_ERROR_FAILURE); in RegisterTopLevelWindow() 916 nsCOMPtr<nsIDocShell> docShell; in UnregisterTopLevelWindow() local [all …]
|