Commit Graph

4733 Commits

Author SHA1 Message Date
Cameron McCormack
9c4ea5685f Bug 1334768 - stylo: Back out 800030115d2e and 404506488cfb for being completely wrong due to bug 1334938.
MozReview-Commit-ID: 8CGTqmtlguT
2017-01-30 16:49:54 +08:00
Florian Quèze
bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Cameron McCormack
7805d4716e Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge.
MozReview-Commit-ID: FFmvs6SHIwW
2017-01-29 15:31:56 +08:00
Wes Kocher
7cd28f7e5d Merge inbound to central, a=merge
MozReview-Commit-ID: HvoljuLV6Gj
2017-01-27 16:37:18 -08:00
Christoph Kerschbaumer
9a01e58d61 Bug 1307736 - Ensure History loads pass valid triggeringPrincipal. r=bz 2017-01-27 11:19:13 +01:00
Gijs Kruitbosch
8faf5c08a8 Bug 1333164 - fix invalid references to mochitest stylesheet, r=erahm
MozReview-Commit-ID: 1Xxt72jYdm7

--HG--
extra : rebase_source : 15d854ffd6a142687fe5232149a0e370f1c058c2
2017-01-24 14:24:04 +00:00
Masatoshi Kimura
5432472092 Bug 1332892 - Remove obsolete hackaround from nsDefaultURIFixup.cpp. r=bz
MozReview-Commit-ID: 47EeDQ3ZxPr

--HG--
extra : rebase_source : eab8897030b04278e405559799d79494de397641
2017-01-22 14:32:37 +09:00
Wes Kocher
4a3e331d92 Backed out 5 changesets (bug 1323987) for browser-chrome printing failures a=backout
Backed out changeset 77bc28c97be0 (bug 1323987)
Backed out changeset 48837569b4e9 (bug 1323987)
Backed out changeset fcf065b47fdc (bug 1323987)
Backed out changeset 06444044d4e5 (bug 1323987)
Backed out changeset 1e7285465d1b (bug 1323987)

MozReview-Commit-ID: KTG6VusQeC0
2017-01-25 13:06:47 -08:00
Matheus Longaray
309413115f Bug 1323987 - Avoid creation of a blank content viewer when current viewer is already blank. r=mconley
This patch checks if current content viewer is blank. If so, we skip ahead to where we QI
the mContentViewer using it to host print preview, instead of creating a brand new one for
no reason.

MozReview-Commit-ID: 8WY33x2nCYA

--HG--
extra : rebase_source : 3173fb87b3743059d9d1eff5d54229f1d3a94874
2017-01-25 17:19:12 +01:00
Matheus Longaray
48a3ff5fa7 Bug 1323987 - Add about:printpreview redirector. r=mconley
This patch adds a new entry for "about:printpreview" in nsAboutRedirector.
We also make sure the URI is maintained when redirecting.

MozReview-Commit-ID: 3LlyNJqKOhZ

--HG--
extra : rebase_source : 669129e51e894910f5b7f06a3226699afc580abf
2017-01-13 19:04:16 +01:00
Florian Quèze
0e0865f4fc Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Samael Wang
0ff3acc32c Bug 1326251 - Part 3: Fix broken test case. r=smaug
MozReview-Commit-ID: 9KbKIHbbbmX

--HG--
extra : rebase_source : a2cddea1890d536d5c8a4a80b8fbc626252deb2b
2017-01-18 18:09:54 +08:00
Samael Wang
e9ecfaecc0 Bug 1326251 - Part 2: Add test case. r=smaug
MozReview-Commit-ID: 5YfIoH1f4fD

--HG--
extra : rebase_source : 9e60560cfefc8129af78953f744e0f7dc917fe03
2017-01-24 14:58:04 +08:00
Samael Wang
73817829d6 Bug 1326251 - Part 1: Remove dynamic entries on unloading & evicting bfcache. r=smaug
MozReview-Commit-ID: 4pBy0vO5yD9

--HG--
extra : rebase_source : 8977a9b4add96407969375c1f9c0910872771a23
2017-01-24 14:56:37 +08:00
Julian Seward
8a908912d3 Bug 1232696 - Remove NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW as it causes segfaulting for GCC 6 builds (5 of 5, fixes for docshell/). r=bzbarsky. 2017-01-24 17:12:10 +01:00
Christoph Kerschbaumer
7578c6e2b5 Bug 1271173 - Upgrade-insecure-requests for navigational requests. r=smaug,freddyb 2017-01-23 15:29:44 +01:00
Gabor Krizsanits
216527edfc Bug 1303113 - Turn e10s-multi on in Nightly. r=me 2017-01-23 14:15:30 +01:00
Christoph Kerschbaumer
e7473c84f8 Bug 1329288: Allow content policy consumers to identify contentPolicy checks from docshell. r=bz,kmaglione 2017-01-22 18:05:03 +01:00
Christoph Kerschbaumer
dd581118f0 Bug 1329288 - Test ContentPolicy blocks opening a new window. r=smaug 2017-01-22 17:42:42 +01:00
Christoph Kerschbaumer
42e5d1aa97 Bug 1329288 - Bring back ContentPolicy check within nsDocShell. r=smaug 2017-01-22 17:33:19 +01:00
Sebastian Hengst
79c51020ef Backed out changeset de60e0a191c7 (bug 1329288) for failing test_bug375314.html on Android 4.3 opt. r=backout 2017-01-22 13:11:02 +01:00
Sebastian Hengst
040a162daf Backed out changeset 828efd8ce683 (bug 1329288) 2017-01-22 13:09:53 +01:00
Sebastian Hengst
a692f05c85 Backed out changeset 69fb2fc61535 (bug 1329288) 2017-01-22 13:09:48 +01:00
Christoph Kerschbaumer
130fcb1f75 Bug 1329288: Allow content policy consumers to identify contentPolicy checks from docshell. r=bz,kmaglione 2017-01-22 07:30:26 +01:00
Christoph Kerschbaumer
5b0e184329 Bug 1329288 - Test ContentPolicy blocks opening a new window. r=smaug 2017-01-22 07:30:10 +01:00
Christoph Kerschbaumer
1b50cab046 Bug 1329288 - Bring back ContentPolicy check within nsDocShell. r=smaug 2017-01-22 07:29:49 +01:00
Christoph Kerschbaumer
a45811baf7 Bug 1332310 - Update AddState and CreateContentViewer to provide an accurate triggeringPrincipal for creating a history entry. r=bz 2017-01-20 09:19:07 +01:00
Phil Ringnalda
6f55fab2bf Merge m-i to m-c, a=merge 2017-01-19 22:04:52 -08:00
Michael Layzell
7761c35dbf Bug 1330332 - Add support for handling global history changes with PendingGlobalHistoryEntry for prerendering, r=smaug
MozReview-Commit-ID: 2j9JwRSGtTC
2017-01-19 15:26:17 -05:00
Wes Kocher
32faf4c617 Backed out changeset 0c891a3aff93 (bug 1303113) for test-oop-extensions failures a=backout CLOSED TREE
MozReview-Commit-ID: AU5hIBAmFKw
2017-01-19 11:29:42 -08:00
Neil Deakin
fa8292ec1f Bug 1327908, on Windows, don't hide tooltips when a key is pressed. On other platforms, allow hiding tooltips when a key is pressed except when modifier keys are pressed alone, r=felipe 2017-01-19 13:57:11 -05:00
Gabor Krizsanits
c56ff65186 Bug 1303113 - Turn e10s-multi on in Nightly. r=me 2017-01-19 17:43:05 +01:00
Wes Kocher
336f27142f Merge m-c to autoland, a=merge
MozReview-Commit-ID: 3pEpsd3DljH
2017-01-19 16:47:25 -08:00
Mark Banner
16e6d381ac Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ

--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Blake Kaplan
9b8001b7dd Bug 1330822 - Remove CPOWs from browser_loadURI.js. r=Felipe
--HG--
extra : rebase_source : d8aaa6a4e180cc416e3bb4836b3555ca4ec29985
2016-11-30 18:00:06 -08:00
Christoph Kerschbaumer
be82c7af85 Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs 2017-01-18 08:24:55 +01:00
Wes Kocher
cb7e0bda60 Backed out 2 changesets (bug 1329032) for failures a=backout
Backed out changeset 16c4f0df527d (bug 1329032)
Backed out changeset 54f7bfe3ca11 (bug 1329032)

MozReview-Commit-ID: ChGyTdJvT8N
2017-01-17 14:08:10 -08:00
Christoph Kerschbaumer
05287d4fa8 Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs 2017-01-17 21:52:01 +01:00
Jessica Jong
cb707ac950 Bug 1326779 - [e10s] Fire beforeunload event when navigating to a page in different process. r=smaug
--HG--
extra : rebase_source : f1268fbb9c2725e79fef2d6627e9e11e6e000acc
2017-01-16 21:33:00 -05:00
Florian Quèze
85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Michael Layzell
3a272149c6 Bug 1329331 - Leave the Large-Allocation process after subsequent navigations, r=smaug
MozReview-Commit-ID: DfivmSEvzBu
2017-01-16 14:03:09 -05:00
Phil Ringnalda
191c2661b5 Backed out 2 changesets (bug 1307736) for failures in browser_490040.js and test_refresh_firefox.py TestFirefoxRefresh.testReset
CLOSED TREE

Backed out changeset 338dd2c343f8 (bug 1307736)
Backed out changeset 1a71a0d9aa90 (bug 1307736)
2017-01-16 10:47:55 -08:00
Christoph Kerschbaumer
19cdb07e5c Bug 1307736 - Ensure History loads pass valid triggeringPrincipal. r=bz 2017-01-16 18:18:54 +01:00
Myk Melez
afb5cd9a82 Bug 1309049 - move embedding/ files out of that directory, r=jst,mossop
--HG--
rename : embedding/browser/nsCTooltipTextProvider.h => docshell/base/nsCTooltipTextProvider.h
rename : embedding/browser/nsContextMenuInfo.cpp => docshell/base/nsContextMenuInfo.cpp
rename : embedding/browser/nsContextMenuInfo.h => docshell/base/nsContextMenuInfo.h
rename : embedding/browser/nsDocShellTreeOwner.cpp => docshell/base/nsDocShellTreeOwner.cpp
rename : embedding/browser/nsDocShellTreeOwner.h => docshell/base/nsDocShellTreeOwner.h
rename : embedding/browser/nsIContextMenuListener.idl => docshell/base/nsIContextMenuListener.idl
rename : embedding/browser/nsIContextMenuListener2.idl => docshell/base/nsIContextMenuListener2.idl
rename : embedding/browser/nsITooltipListener.idl => docshell/base/nsITooltipListener.idl
rename : embedding/browser/nsITooltipTextProvider.idl => docshell/base/nsITooltipTextProvider.idl
rename : embedding/components/commandhandler/moz.build => dom/commandhandler/moz.build
rename : embedding/components/commandhandler/nsBaseCommandController.cpp => dom/commandhandler/nsBaseCommandController.cpp
rename : embedding/components/commandhandler/nsBaseCommandController.h => dom/commandhandler/nsBaseCommandController.h
rename : embedding/components/commandhandler/nsCommandGroup.cpp => dom/commandhandler/nsCommandGroup.cpp
rename : embedding/components/commandhandler/nsCommandGroup.h => dom/commandhandler/nsCommandGroup.h
rename : embedding/components/commandhandler/nsCommandManager.cpp => dom/commandhandler/nsCommandManager.cpp
rename : embedding/components/commandhandler/nsCommandManager.h => dom/commandhandler/nsCommandManager.h
rename : embedding/components/commandhandler/nsCommandParams.cpp => dom/commandhandler/nsCommandParams.cpp
rename : embedding/components/commandhandler/nsCommandParams.h => dom/commandhandler/nsCommandParams.h
rename : embedding/components/commandhandler/nsControllerCommandTable.cpp => dom/commandhandler/nsControllerCommandTable.cpp
rename : embedding/components/commandhandler/nsControllerCommandTable.h => dom/commandhandler/nsControllerCommandTable.h
rename : embedding/components/commandhandler/nsICommandManager.idl => dom/commandhandler/nsICommandManager.idl
rename : embedding/components/commandhandler/nsICommandParams.idl => dom/commandhandler/nsICommandParams.idl
rename : embedding/components/commandhandler/nsIControllerCommand.idl => dom/commandhandler/nsIControllerCommand.idl
rename : embedding/components/commandhandler/nsIControllerCommandTable.idl => dom/commandhandler/nsIControllerCommandTable.idl
rename : embedding/components/commandhandler/nsIControllerContext.idl => dom/commandhandler/nsIControllerContext.idl
rename : embedding/components/commandhandler/nsPICommandUpdater.idl => dom/commandhandler/nsPICommandUpdater.idl
rename : embedding/components/webbrowserpersist/PWebBrowserPersistDocument.ipdl => dom/webbrowserpersist/PWebBrowserPersistDocument.ipdl
rename : embedding/components/webbrowserpersist/PWebBrowserPersistResources.ipdl => dom/webbrowserpersist/PWebBrowserPersistResources.ipdl
rename : embedding/components/webbrowserpersist/PWebBrowserPersistSerialize.ipdl => dom/webbrowserpersist/PWebBrowserPersistSerialize.ipdl
rename : embedding/components/webbrowserpersist/WebBrowserPersistDocumentChild.cpp => dom/webbrowserpersist/WebBrowserPersistDocumentChild.cpp
rename : embedding/components/webbrowserpersist/WebBrowserPersistDocumentChild.h => dom/webbrowserpersist/WebBrowserPersistDocumentChild.h
rename : embedding/components/webbrowserpersist/WebBrowserPersistDocumentParent.cpp => dom/webbrowserpersist/WebBrowserPersistDocumentParent.cpp
rename : embedding/components/webbrowserpersist/WebBrowserPersistDocumentParent.h => dom/webbrowserpersist/WebBrowserPersistDocumentParent.h
rename : embedding/components/webbrowserpersist/WebBrowserPersistLocalDocument.cpp => dom/webbrowserpersist/WebBrowserPersistLocalDocument.cpp
rename : embedding/components/webbrowserpersist/WebBrowserPersistLocalDocument.h => dom/webbrowserpersist/WebBrowserPersistLocalDocument.h
rename : embedding/components/webbrowserpersist/WebBrowserPersistRemoteDocument.cpp => dom/webbrowserpersist/WebBrowserPersistRemoteDocument.cpp
rename : embedding/components/webbrowserpersist/WebBrowserPersistRemoteDocument.h => dom/webbrowserpersist/WebBrowserPersistRemoteDocument.h
rename : embedding/components/webbrowserpersist/WebBrowserPersistResourcesChild.cpp => dom/webbrowserpersist/WebBrowserPersistResourcesChild.cpp
rename : embedding/components/webbrowserpersist/WebBrowserPersistResourcesChild.h => dom/webbrowserpersist/WebBrowserPersistResourcesChild.h
rename : embedding/components/webbrowserpersist/WebBrowserPersistResourcesParent.cpp => dom/webbrowserpersist/WebBrowserPersistResourcesParent.cpp
rename : embedding/components/webbrowserpersist/WebBrowserPersistResourcesParent.h => dom/webbrowserpersist/WebBrowserPersistResourcesParent.h
rename : embedding/components/webbrowserpersist/WebBrowserPersistSerializeChild.cpp => dom/webbrowserpersist/WebBrowserPersistSerializeChild.cpp
rename : embedding/components/webbrowserpersist/WebBrowserPersistSerializeChild.h => dom/webbrowserpersist/WebBrowserPersistSerializeChild.h
rename : embedding/components/webbrowserpersist/WebBrowserPersistSerializeParent.cpp => dom/webbrowserpersist/WebBrowserPersistSerializeParent.cpp
rename : embedding/components/webbrowserpersist/WebBrowserPersistSerializeParent.h => dom/webbrowserpersist/WebBrowserPersistSerializeParent.h
rename : embedding/components/webbrowserpersist/moz.build => dom/webbrowserpersist/moz.build
rename : embedding/components/webbrowserpersist/nsCWebBrowserPersist.idl => dom/webbrowserpersist/nsCWebBrowserPersist.idl
rename : embedding/components/webbrowserpersist/nsIWebBrowserPersist.idl => dom/webbrowserpersist/nsIWebBrowserPersist.idl
rename : embedding/components/webbrowserpersist/nsIWebBrowserPersistDocument.idl => dom/webbrowserpersist/nsIWebBrowserPersistDocument.idl
rename : embedding/components/webbrowserpersist/nsIWebBrowserPersistable.idl => dom/webbrowserpersist/nsIWebBrowserPersistable.idl
rename : embedding/components/webbrowserpersist/nsWebBrowserPersist.cpp => dom/webbrowserpersist/nsWebBrowserPersist.cpp
rename : embedding/components/webbrowserpersist/nsWebBrowserPersist.h => dom/webbrowserpersist/nsWebBrowserPersist.h
rename : embedding/browser/build/moz.build => toolkit/components/browser/build/moz.build
rename : embedding/browser/build/nsWebBrowserModule.cpp => toolkit/components/browser/build/nsWebBrowserModule.cpp
rename : embedding/browser/nsCWebBrowser.idl => toolkit/components/browser/nsCWebBrowser.idl
rename : embedding/browser/nsCommandHandler.cpp => toolkit/components/browser/nsCommandHandler.cpp
rename : embedding/browser/nsCommandHandler.h => toolkit/components/browser/nsCommandHandler.h
rename : embedding/nsEmbedCID.h => toolkit/components/browser/nsEmbedCID.h
rename : embedding/browser/nsEmbedStream.cpp => toolkit/components/browser/nsEmbedStream.cpp
rename : embedding/browser/nsEmbedStream.h => toolkit/components/browser/nsEmbedStream.h
rename : embedding/browser/nsICommandHandler.idl => toolkit/components/browser/nsICommandHandler.idl
rename : embedding/browser/nsIEmbeddingSiteWindow.idl => toolkit/components/browser/nsIEmbeddingSiteWindow.idl
rename : embedding/browser/nsIPrintPreviewNavigation.idl => toolkit/components/browser/nsIPrintPreviewNavigation.idl
rename : embedding/browser/nsIWebBrowser.idl => toolkit/components/browser/nsIWebBrowser.idl
rename : embedding/browser/nsIWebBrowserChrome.idl => toolkit/components/browser/nsIWebBrowserChrome.idl
rename : embedding/browser/nsIWebBrowserChrome2.idl => toolkit/components/browser/nsIWebBrowserChrome2.idl
rename : embedding/browser/nsIWebBrowserChrome3.idl => toolkit/components/browser/nsIWebBrowserChrome3.idl
rename : embedding/browser/nsIWebBrowserChromeFocus.idl => toolkit/components/browser/nsIWebBrowserChromeFocus.idl
rename : embedding/browser/nsIWebBrowserFocus.idl => toolkit/components/browser/nsIWebBrowserFocus.idl
rename : embedding/browser/nsIWebBrowserPrint.idl => toolkit/components/browser/nsIWebBrowserPrint.idl
rename : embedding/browser/nsIWebBrowserSetup.idl => toolkit/components/browser/nsIWebBrowserSetup.idl
rename : embedding/browser/nsIWebBrowserStream.idl => toolkit/components/browser/nsIWebBrowserStream.idl
rename : embedding/browser/nsWebBrowser.cpp => toolkit/components/browser/nsWebBrowser.cpp
rename : embedding/browser/nsWebBrowser.h => toolkit/components/browser/nsWebBrowser.h
rename : embedding/browser/nsWebBrowserContentPolicy.cpp => toolkit/components/browser/nsWebBrowserContentPolicy.cpp
rename : embedding/browser/nsWebBrowserContentPolicy.h => toolkit/components/browser/nsWebBrowserContentPolicy.h
rename : embedding/components/find/nsFind.cpp => toolkit/components/find/nsFind.cpp
rename : embedding/components/find/nsFind.h => toolkit/components/find/nsFind.h
rename : embedding/components/find/nsIFind.idl => toolkit/components/find/nsIFind.idl
rename : embedding/components/find/nsIWebBrowserFind.idl => toolkit/components/find/nsIWebBrowserFind.idl
rename : embedding/components/find/nsWebBrowserFind.cpp => toolkit/components/find/nsWebBrowserFind.cpp
rename : embedding/components/find/nsWebBrowserFind.h => toolkit/components/find/nsWebBrowserFind.h
rename : embedding/components/printingui/ipc/PPrintProgressDialog.ipdl => toolkit/components/printingui/ipc/PPrintProgressDialog.ipdl
rename : embedding/components/printingui/ipc/PPrintSettingsDialog.ipdl => toolkit/components/printingui/ipc/PPrintSettingsDialog.ipdl
rename : embedding/components/printingui/ipc/PPrinting.ipdl => toolkit/components/printingui/ipc/PPrinting.ipdl
rename : embedding/components/printingui/ipc/PPrintingTypes.ipdlh => toolkit/components/printingui/ipc/PPrintingTypes.ipdlh
rename : embedding/components/printingui/ipc/PrintDataUtils.cpp => toolkit/components/printingui/ipc/PrintDataUtils.cpp
rename : embedding/components/printingui/ipc/PrintDataUtils.h => toolkit/components/printingui/ipc/PrintDataUtils.h
rename : embedding/components/printingui/ipc/PrintProgressDialogChild.cpp => toolkit/components/printingui/ipc/PrintProgressDialogChild.cpp
rename : embedding/components/printingui/ipc/PrintProgressDialogChild.h => toolkit/components/printingui/ipc/PrintProgressDialogChild.h
rename : embedding/components/printingui/ipc/PrintProgressDialogParent.cpp => toolkit/components/printingui/ipc/PrintProgressDialogParent.cpp
rename : embedding/components/printingui/ipc/PrintProgressDialogParent.h => toolkit/components/printingui/ipc/PrintProgressDialogParent.h
rename : embedding/components/printingui/ipc/PrintSettingsDialogChild.cpp => toolkit/components/printingui/ipc/PrintSettingsDialogChild.cpp
rename : embedding/components/printingui/ipc/PrintSettingsDialogChild.h => toolkit/components/printingui/ipc/PrintSettingsDialogChild.h
rename : embedding/components/printingui/ipc/PrintSettingsDialogParent.cpp => toolkit/components/printingui/ipc/PrintSettingsDialogParent.cpp
rename : embedding/components/printingui/ipc/PrintSettingsDialogParent.h => toolkit/components/printingui/ipc/PrintSettingsDialogParent.h
rename : embedding/components/printingui/ipc/PrintingParent.cpp => toolkit/components/printingui/ipc/PrintingParent.cpp
rename : embedding/components/printingui/ipc/PrintingParent.h => toolkit/components/printingui/ipc/PrintingParent.h
rename : embedding/components/printingui/ipc/moz.build => toolkit/components/printingui/ipc/moz.build
rename : embedding/components/printingui/ipc/nsPrintingProxy.cpp => toolkit/components/printingui/ipc/nsPrintingProxy.cpp
rename : embedding/components/printingui/ipc/nsPrintingProxy.h => toolkit/components/printingui/ipc/nsPrintingProxy.h
rename : embedding/components/printingui/mac/moz.build => toolkit/components/printingui/mac/moz.build
rename : embedding/components/printingui/mac/nsPrintProgress.cpp => toolkit/components/printingui/mac/nsPrintProgress.cpp
rename : embedding/components/printingui/mac/nsPrintProgress.h => toolkit/components/printingui/mac/nsPrintProgress.h
rename : embedding/components/printingui/win/nsPrintProgressParams.cpp => toolkit/components/printingui/mac/nsPrintProgressParams.cpp
rename : embedding/components/printingui/mac/nsPrintProgressParams.h => toolkit/components/printingui/mac/nsPrintProgressParams.h
rename : embedding/components/printingui/mac/nsPrintingPromptService.h => toolkit/components/printingui/mac/nsPrintingPromptService.h
rename : embedding/components/printingui/mac/nsPrintingPromptServiceX.mm => toolkit/components/printingui/mac/nsPrintingPromptServiceX.mm
rename : embedding/components/printingui/moz.build => toolkit/components/printingui/moz.build
rename : embedding/components/printingui/unixshared/moz.build => toolkit/components/printingui/unixshared/moz.build
rename : embedding/components/printingui/unixshared/nsPrintProgress.cpp => toolkit/components/printingui/unixshared/nsPrintProgress.cpp
rename : embedding/components/printingui/unixshared/nsPrintProgress.h => toolkit/components/printingui/unixshared/nsPrintProgress.h
rename : embedding/components/printingui/unixshared/nsPrintProgressParams.cpp => toolkit/components/printingui/unixshared/nsPrintProgressParams.cpp
rename : embedding/components/printingui/unixshared/nsPrintProgressParams.h => toolkit/components/printingui/unixshared/nsPrintProgressParams.h
rename : embedding/components/printingui/unixshared/nsPrintingPromptService.cpp => toolkit/components/printingui/unixshared/nsPrintingPromptService.cpp
rename : embedding/components/printingui/unixshared/nsPrintingPromptService.h => toolkit/components/printingui/unixshared/nsPrintingPromptService.h
rename : embedding/components/printingui/win/moz.build => toolkit/components/printingui/win/moz.build
rename : embedding/components/printingui/win/nsPrintDialogUtil.cpp => toolkit/components/printingui/win/nsPrintDialogUtil.cpp
rename : embedding/components/printingui/win/nsPrintDialogUtil.h => toolkit/components/printingui/win/nsPrintDialogUtil.h
rename : embedding/components/printingui/win/nsPrintProgress.cpp => toolkit/components/printingui/win/nsPrintProgress.cpp
rename : embedding/components/printingui/win/nsPrintProgress.h => toolkit/components/printingui/win/nsPrintProgress.h
rename : embedding/components/printingui/mac/nsPrintProgressParams.cpp => toolkit/components/printingui/win/nsPrintProgressParams.cpp
rename : embedding/components/printingui/win/nsPrintProgressParams.h => toolkit/components/printingui/win/nsPrintProgressParams.h
rename : embedding/components/printingui/win/nsPrintingPromptService.cpp => toolkit/components/printingui/win/nsPrintingPromptService.cpp
rename : embedding/components/printingui/win/nsPrintingPromptService.h => toolkit/components/printingui/win/nsPrintingPromptService.h
rename : embedding/nsIWindowCreator.idl => toolkit/components/windowcreator/nsIWindowCreator.idl
rename : embedding/nsIWindowCreator2.idl => toolkit/components/windowcreator/nsIWindowCreator2.idl
rename : embedding/nsIWindowProvider.idl => toolkit/components/windowcreator/nsIWindowProvider.idl
rename : embedding/test/320x240.ogv => toolkit/components/windowcreator/test/320x240.ogv
rename : embedding/test/browser.ini => toolkit/components/windowcreator/test/browser.ini
rename : embedding/test/browser_bug1204626.js => toolkit/components/windowcreator/test/browser_bug1204626.js
rename : embedding/test/bug1170334_iframe.xml => toolkit/components/windowcreator/test/bug1170334_iframe.xml
rename : embedding/test/bug1170334_style.css => toolkit/components/windowcreator/test/bug1170334_style.css
rename : embedding/test/bug1204626_doc0.html => toolkit/components/windowcreator/test/bug1204626_doc0.html
rename : embedding/test/bug1204626_doc1.html => toolkit/components/windowcreator/test/bug1204626_doc1.html
rename : embedding/test/bug293834_form.html => toolkit/components/windowcreator/test/bug293834_form.html
rename : embedding/test/bug449141_page.html => toolkit/components/windowcreator/test/bug449141_page.html
rename : embedding/test/chrome.ini => toolkit/components/windowcreator/test/chrome.ini
rename : embedding/test/mochitest.ini => toolkit/components/windowcreator/test/mochitest.ini
rename : embedding/test/moz.build => toolkit/components/windowcreator/test/moz.build
rename : embedding/test/test_bug1170334_wbp_xmlstyle.html => toolkit/components/windowcreator/test/test_bug1170334_wbp_xmlstyle.html
rename : embedding/test/test_bug1192654.html => toolkit/components/windowcreator/test/test_bug1192654.html
rename : embedding/test/test_bug293834.html => toolkit/components/windowcreator/test/test_bug293834.html
rename : embedding/test/test_bug449141.html => toolkit/components/windowcreator/test/test_bug449141.html
rename : embedding/test/test_bug499115.html => toolkit/components/windowcreator/test/test_bug499115.html
rename : embedding/test/test_nsFind.html => toolkit/components/windowcreator/test/test_nsFind.html
rename : embedding/test/test_private_window_from_content.html => toolkit/components/windowcreator/test/test_private_window_from_content.html
rename : embedding/test/test_window_open_position_constraint.html => toolkit/components/windowcreator/test/test_window_open_position_constraint.html
rename : embedding/test/test_window_open_units.html => toolkit/components/windowcreator/test/test_window_open_units.html
rename : embedding/tests/unit/test_wwauthpromptfactory.js => toolkit/components/windowcreator/tests/unit/test_wwauthpromptfactory.js
rename : embedding/tests/unit/test_wwpromptfactory.js => toolkit/components/windowcreator/tests/unit/test_wwpromptfactory.js
rename : embedding/tests/unit/xpcshell.ini => toolkit/components/windowcreator/tests/unit/xpcshell.ini
rename : embedding/components/windowwatcher/moz.build => toolkit/components/windowwatcher/moz.build
rename : embedding/components/windowwatcher/nsAutoWindowStateHelper.cpp => toolkit/components/windowwatcher/nsAutoWindowStateHelper.cpp
rename : embedding/components/windowwatcher/nsAutoWindowStateHelper.h => toolkit/components/windowwatcher/nsAutoWindowStateHelper.h
rename : embedding/components/windowwatcher/nsDialogParamBlock.cpp => toolkit/components/windowwatcher/nsDialogParamBlock.cpp
rename : embedding/components/windowwatcher/nsDialogParamBlock.h => toolkit/components/windowwatcher/nsDialogParamBlock.h
rename : embedding/components/windowwatcher/nsIDialogParamBlock.idl => toolkit/components/windowwatcher/nsIDialogParamBlock.idl
rename : embedding/components/windowwatcher/nsIPromptFactory.idl => toolkit/components/windowwatcher/nsIPromptFactory.idl
rename : embedding/components/windowwatcher/nsIPromptService.idl => toolkit/components/windowwatcher/nsIPromptService.idl
rename : embedding/components/windowwatcher/nsIPromptService2.idl => toolkit/components/windowwatcher/nsIPromptService2.idl
rename : embedding/components/windowwatcher/nsIWindowWatcher.idl => toolkit/components/windowwatcher/nsIWindowWatcher.idl
rename : embedding/components/windowwatcher/nsPIPromptService.idl => toolkit/components/windowwatcher/nsPIPromptService.idl
rename : embedding/components/windowwatcher/nsPIWindowWatcher.idl => toolkit/components/windowwatcher/nsPIWindowWatcher.idl
rename : embedding/components/windowwatcher/nsPromptUtils.h => toolkit/components/windowwatcher/nsPromptUtils.h
rename : embedding/components/windowwatcher/nsWindowWatcher.cpp => toolkit/components/windowwatcher/nsWindowWatcher.cpp
rename : embedding/components/windowwatcher/nsWindowWatcher.h => toolkit/components/windowwatcher/nsWindowWatcher.h
rename : embedding/components/windowwatcher/test/browser.ini => toolkit/components/windowwatcher/test/browser.ini
rename : embedding/components/windowwatcher/test/browser_new_content_window_chromeflags.js => toolkit/components/windowwatcher/test/browser_new_content_window_chromeflags.js
rename : embedding/components/windowwatcher/test/browser_new_content_window_from_chrome_principal.js => toolkit/components/windowwatcher/test/browser_new_content_window_from_chrome_principal.js
rename : embedding/components/windowwatcher/test/browser_new_remote_window_flags.js => toolkit/components/windowwatcher/test/browser_new_remote_window_flags.js
rename : embedding/components/windowwatcher/test/browser_new_sized_window.js => toolkit/components/windowwatcher/test/browser_new_sized_window.js
rename : embedding/components/windowwatcher/test/chrome.ini => toolkit/components/windowwatcher/test/chrome.ini
rename : embedding/components/windowwatcher/test/file_storage_copied.html => toolkit/components/windowwatcher/test/file_storage_copied.html
rename : embedding/components/windowwatcher/test/file_test_dialog.html => toolkit/components/windowwatcher/test/file_test_dialog.html
rename : embedding/components/windowwatcher/test/mochitest.ini => toolkit/components/windowwatcher/test/mochitest.ini
rename : embedding/components/windowwatcher/test/moz.build => toolkit/components/windowwatcher/test/moz.build
rename : embedding/components/windowwatcher/test/test_blank_named_window.html => toolkit/components/windowwatcher/test/test_blank_named_window.html
rename : embedding/components/windowwatcher/test/test_dialog_arguments.html => toolkit/components/windowwatcher/test/test_dialog_arguments.html
rename : embedding/components/windowwatcher/test/test_modal_windows.html => toolkit/components/windowwatcher/test/test_modal_windows.html
rename : embedding/components/windowwatcher/test/test_named_window.html => toolkit/components/windowwatcher/test/test_named_window.html
rename : embedding/components/windowwatcher/test/test_storage_copied.html => toolkit/components/windowwatcher/test/test_storage_copied.html
rename : embedding/components/appstartup/nsAppStartupNotifier.cpp => toolkit/xre/nsAppStartupNotifier.cpp
rename : embedding/components/appstartup/nsAppStartupNotifier.h => toolkit/xre/nsAppStartupNotifier.h
rename : embedding/components/build/nsEmbeddingModule.cpp => toolkit/xre/nsEmbeddingModule.cpp
rename : embedding/components/appstartup/nsIAppStartupNotifier.h => toolkit/xre/nsIAppStartupNotifier.h
2017-01-12 13:47:27 -08:00
Andrea Marchesini
359ae91eac Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
Carsten "Tomcat" Book
d959fb5581 Backed out changeset 3b3884fa2026 (bug 1329288) for m10 test failures 2017-01-11 15:42:10 +01:00
Carsten "Tomcat" Book
5097fc4b79 Backed out changeset 7136147b3a26 (bug 1329288) 2017-01-11 15:41:45 +01:00
Christoph Kerschbaumer
b3651a7212 Bug 1329288 - Test ContentPolicy blocks opening a new window. r=smaug 2017-01-11 13:16:55 +01:00
Christoph Kerschbaumer
a00dc3fc66 Bug 1329288 - Bring back ContentPolicy check within nsDocShell. r=smaug 2017-01-11 11:29:27 +01:00
Florian Quèze
fc6379e827 Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws. 2017-01-09 20:27:26 +01:00
Cameron McCormack
babad063ff Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
Thomas Nguyen
0aaea58b69 Bug 1304623 - Create a pref to control the default referrer policy - part 3. r=bkelly
MozReview-Commit-ID: 1A6IHPeNYBQ
2017-01-05 11:29:56 +08:00
Aman Dwivedi
76edc7645b Bug 1320663 - Stop using timers in PrivateBrowsingUtils.jsm, r=mikedeboer 2017-01-03 15:44:41 +05:30
Christoph Kerschbaumer
63fe5cb0bb Bug 1182569 - Skip security check for plugins using newstream attribute. r=smaug 2017-01-03 20:59:54 +01:00
Christoph Kerschbaumer
0bfc26fd77 Bug 1182569: Use AsyncOpen2 for docshell loads. r=smaug 2017-01-03 20:57:45 +01:00
Michael Layzell
f24af1792b Bug 1324359 - Rename and simplify the DocShell ProcessLock concept, r=smaug
MozReview-Commit-ID: JTp8Q2mWqpN
2017-01-03 17:00:25 -05:00
Sebastian Hengst
d3f1bf94e1 Backed out changeset 2bd53e4e662b (bug 1303113) for various test failures in debug tests with e10s. r=backout 2017-01-03 20:53:59 +01:00
Gabor Krizsanits
6df27d5c23 Bug 1303113 - Turn e10s-multi on in Nightly. r=me 2017-01-03 18:14:50 +01:00
dimi
bcd217b3c0 Bug 1320402 - Move url-classifier off of using appIds. r=ehsan, gcp
MozReview-Commit-ID: IqnAVrv2c9W
2017-01-03 14:21:58 +08:00
Wei-Cheng Pan
19fc36c981 Bug 1323947 - Use Use MOZ_MUST_USE in netwerk/protocol/viewsource r=valentin
MozReview-Commit-ID: 5JAkF53s42X

--HG--
extra : rebase_source : 5e3d82f3b15b25c610086e26e941cb6064acf975
2016-11-23 17:21:17 +08:00
Samael Wang
1e9e35e6e1 Bug 1323651 - Rename Partial/GroupedSessionHistory to Partial/GroupedSHistory. r=ehsan
MozReview-Commit-ID: G2GW4ZPIfH3
2016-12-22 16:06:50 +08:00
Michael Layzell
40c2ca6442 Bug 1315105 - Part 3: Update close_dependent_tabs / grouped_shistory_crossproc test for new prerendering behavior, r=ehsan
MozReview-Commit-ID: Ic0CWUbLPuq

--HG--
extra : rebase_source : 3260db0a38e6020fa53259b98ad780d0f41f9ccc
2016-12-20 19:39:50 +08:00
Michael Layzell
0fa642800b Bug 1315105 - Part 2: Implement <link rel=prerender> behind a pref, r=smaug
MozReview-Commit-ID: ARET98o1FTU

--HG--
extra : rebase_source : fd549baa1a4a180db1ca6701191f081033811d0f
2016-12-19 15:05:31 +08:00
Michael Layzell
3244cf77dd Bug 1315105 - Part 1: Add support for prerendering PartialSHistories to GroupedSHistory, r=smaug
MozReview-Commit-ID: A5bwSy8NkH3

--HG--
extra : rebase_source : e87ff9754b8174f546b262f9ac7dae9157ecb130
2016-12-19 15:03:17 +08:00
Cameron McCormack
d4d8ba1d5f Bug 1324624 - stylo: Mark currently failing crashtests with asserts-if(stylo,...). r=xidorn
MozReview-Commit-ID: 7iiwRwiQ8s4
2016-12-21 15:42:36 +08:00
Yoshi Huang
2ceecc22f5 Bug 1324115 - Part 2: replace the callers to use C++ helper. r=smaug 2016-12-21 14:59:21 +08:00
Kris Maglione
7390903c01 Bug 1318388: Follow-up: Fix test crash in debug builds.
MozReview-Commit-ID: 4xuJGe6oNKC

--HG--
extra : rebase_source : e61b6dcbeca06b6f701fafe825e73cc38ff4e550
2016-12-19 12:07:45 -08:00
Kris Maglione
e6f4ea4dcb Bug 1318388: Prevent setting usePrivateBrowsing after initial document load. r=ehsan
MozReview-Commit-ID: ArmAhSWMaCJ

--HG--
extra : rebase_source : 6cf914f29092ed281a3f80cf757c1a29dc7fbac5
2016-12-18 15:07:08 -08:00
Carsten "Tomcat" Book
72f817124f Backed out changeset ab6c012704b9 (bug 1315105) for failing on own test 2016-12-19 16:34:18 +01:00
Carsten "Tomcat" Book
51614d31e4 Backed out changeset 059753ec9117 (bug 1315105) for test failures in own test
--HG--
extra : rebase_source : de2846d1205d3e885c1040379f2816629a925d22
2016-12-19 15:59:14 +01:00
Michael Layzell
b5fd619e72 Bug 1315105 - Part 2: Implement <link rel=prerender> behind a pref, r=smaug
MozReview-Commit-ID: ARET98o1FTU
2016-12-19 15:05:31 +08:00
Michael Layzell
64de9ea0a7 Bug 1315105 - Part 1: Add support for prerendering PartialSHistories to GroupedSHistory, r=smaug
MozReview-Commit-ID: A5bwSy8NkH3
2016-12-19 15:03:17 +08:00
Andrea Marchesini
b78570578a Bug 1322207 - DOM Timing must be reset if the loading of a content page is aborted, r=smaug 2016-12-15 19:58:22 +01:00
Michael Layzell
593da2333f Bug 1320391 - Part 2: Add a test that old PartialSHistories are cleaned up correctly, r=ehsan
MozReview-Commit-ID: 4Jd5UbmdEru

--HG--
extra : rebase_source : 42407f987d2b6e7c3ed3a91e9f75e3911e292091
2016-12-15 13:30:49 +08:00
Michael Layzell
1b315d2194 Bug 1320391 - Part 1: Clean up PartialSHistories which are keeping old SHEntries alive, r=ehsan
MozReview-Commit-ID: FY36NdOUM66

--HG--
extra : rebase_source : 6dea22921c7b0e27868827e78503e8a7133e9127
2016-12-15 13:28:40 +08:00
Michael Layzell
8c6d67c926 Bug 1310766 - Part 2: Add a test for chrome/content navigation with GroupedSHistory, r=ehsan
MozReview-Commit-ID: 5pumQua96m3

--HG--
extra : rebase_source : 118dfd2f5f7a20db7d164f56db075c80fe0faf48
2016-12-15 13:16:27 +08:00
Gijs Kruitbosch
cb6c0c81ac Bug 1322414 - part 2,3,4: use a separate 'primary' attribute for primary child browsers, r=bz,mconley
MozReview-Commit-ID: 2yb0WGFYBsH

--HG--
extra : rebase_source : 376171077c577e41e82cec5e994c425c6d9f2d80
extra : histedit_source : 39aad91381749a263042cd0452fe32019a1974b8
2016-12-09 09:23:24 -10:00
Gijs Kruitbosch
a64e4f1b0e Bug 1322414 - part 1 - remove GetContentShellById and id passing, r=bz
MozReview-Commit-ID: FggtlNAP6ax

--HG--
extra : rebase_source : 3e20f36001d5b19e334941c2638573ba838d2df7
extra : histedit_source : 3f47eea51d257f23b0a5ba655911aab4d43ba8d1
2016-12-08 11:12:36 -10:00
Michael Layzell
90b728b596 Bug 1318767 - Part 4: Add a test for navigating into dead PartialSHistories, r=ehsan
MozReview-Commit-ID: LT8NeCdf3fm
2016-12-14 16:11:29 +08:00
Michael Layzell
65b516822e Bug 1318767 - Part 3: Use SessionStore to recover from missing GroupedSHistory segments, r=ehsan, r=mconley
MozReview-Commit-ID: FDmQIjiHox7
2016-12-13 16:32:54 +08:00
Michael Layzell
d24aef4068 Bug 1318472 - Remove inactive hidden tabs when removing the primary tab, r=ehsan
MozReview-Commit-ID: KiMsKOljNpE
2016-12-14 01:55:00 +08:00
Andrea Marchesini
a69bf81efe Bug 1322588 - Get rid of nsIDocShell::addSessionStorage, r=qdot 2016-12-12 09:33:11 +01:00
Nihanth Subramanya
a84e6f6916 Bug 989197 - Include captive portal state as a flag in the about:certerror URI. r=valentin
MozReview-Commit-ID: J2MjX6zJOTA

--HG--
extra : rebase_source : 272e9158355cac695947503eb0384b9c114b98be
2016-12-01 15:41:41 -08:00
Dave Huseby
fc467046c8 Bug 1309070 make sure that docshell always has private browsing id unset. r=ehsan 2016-12-01 14:11:00 +01:00
Boris Zbarsky
e0e53c48ae Bug 1310796 part 3. Remove the aTargetable argument of contentShellAdded. r=mystor 2016-12-08 16:41:45 -10:00
Boris Zbarsky
846587070f Bug 1310796 part 1. Get rid of GetTargetableShellCount in favor of a more explicit GetTabCount. r=mystor,gijs 2016-12-08 16:41:45 -10:00
Sebastian Hengst
98798d9c07 Backed out changeset 5ac111460188 (bug 1316256) for failure in test_ext_webrequest_basic.html. r=backout 2016-12-07 13:52:18 +01:00
JOrg K
7d596b4b82 Bug 1316256 - Allow passing nullptr as principal to content policy check. r=bz 2016-12-01 15:32:11 +08:00
Boris Zbarsky
41288ac4b0 Bug 1318911. When creating an about:blank content viewer during a history navigation to a javascript: URI, use the right principal. r=tanvi 2016-12-06 07:41:42 -10:00
Dave Huseby
feaec25987 Bug 1316075 - Additional patch to clean up tabs and trailing whitespace in files touched. r=ehsan
--HG--
extra : rebase_source : 1344bdec2d3c11dcb2b025c7bd071f110e6b99ba
extra : histedit_source : 8e697a2200117bf0db6e6728f65ffe71f88fcc5b
2016-11-28 10:41:46 -08:00
Dave Huseby
59c8485430 Bug 1316075 - Add asserts for the places where we've gotten rid of the private browsing boolean. r=ehsan
--HG--
extra : rebase_source : 7088d1e4666b903bb7b6fcc9255974b04c248e36
extra : histedit_source : 299bc64978878300c2e00b2f2730fd22d0a95e0c
2016-11-21 14:58:10 -08:00
Tooru Fujisawa
674c6d8531 Bug 1321217 - Remove legacy generator from docshell/. r=smaug 2016-12-01 18:04:50 +09:00
Timothy Nikkel
369187c6f2 Bug 1312609. r=smaug a=abillings 2016-11-29 15:15:35 -06:00
Samael Wang
cb7131182c Bug 1310768 - Use CreataAboutBlankContentViewer to stop inactive tabs. Update History API. a=ehsan
MozReview-Commit-ID: LPcaQkQ900G
2016-11-29 17:31:17 +08:00
Andrew McCreight
908a323277 Backed out changeset 2bbc7be933e2 (bug 1309070) for causing bug 1320041. 2016-11-26 09:31:17 -08:00
Sebastian Hengst
934d575f3f Backed out changeset c4669804cc49 (bug 1318472) for failing browser_close_dependent_tabs.js. r=backout 2016-11-24 21:58:41 +01:00
Michael Layzell
612c74d39f Bug 1318472 - Remove inactive hidden tabs when removing the primary tab, r=ehsan
MozReview-Commit-ID: KiMsKOljNpE
2016-11-24 12:23:09 -05:00
Gijs Kruitbosch
be8efc6f08 Bug 1314249 - if the target changes, assume we should not pass an opener ref, r=smaug
MozReview-Commit-ID: 7DBrRW1WiMP

--HG--
rename : browser/base/content/test/general/browser_bug1064280_changeUrlInPinnedTab.js => browser/base/content/test/tabs/browser_navigatePinnedTab.js
extra : rebase_source : 2aa1a459e07cd0d326e9c3d6e1b87afd0dbbc28b
2016-11-16 16:31:42 +00:00
Dave Huseby
531d98d41c Bug 1309070 - make sure that docshell always has private browsing id unset. r=ehsan 2016-11-21 12:53:00 +08:00
Geoff Brown
6ebd2eb0c4 Bug 1040769 - Enable test_bug570341.html; r=ehsan 2016-11-22 13:49:48 -07:00
Dave Huseby
4e53da9544 Bug 1309067 - adding asserts to ensure boolean and OA private browsing values match. r=ehsan 2016-11-17 12:14:00 +01:00
Phil Ringnalda
dcbcef52c1 Bug 1040769 - disable test_bug570341.html on Android debug for constant failures 2016-11-17 21:57:10 -08:00
Michael Layzell
d6d2411526 Bug 944694 - Part 1: Use globally unique UUIDs for docshellID, r=smaug
MozReview-Commit-ID: DVLMijTkYKh
2016-11-17 16:50:48 -05:00
Ehsan Akhgari
d07f79a266 Bug 1318210 - Remove nsIAppsService; r=baku 2016-11-17 10:41:36 -05:00
Ehsan Akhgari
eac76d9772 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Carsten "Tomcat" Book
3eacc680db Backed out changeset 7d1f7dd996f7 (bug 1310845) 2016-11-16 14:50:44 +01:00
Ehsan Akhgari
cb369370b3 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-15 18:31:46 -05:00
Christoph Kerschbaumer
c658a4fd74 Bug 1316889 - Remove dead triggeringPrincipal fallback in docshell. r=bz 2016-11-11 17:21:18 +01:00
Markus Stange
3994547b42 Bug 1307242 - Add a non-blank paint telemetry probe for foreground root content documents. r=bkelly, f=bsmedberg
This adds a probe called TIME_TO_NON_BLANK_PAINT_MS which reports time to
non-blank paint for root content documents whose docshell was active for the
entire time between navigation start and first non-blank paint.

MozReview-Commit-ID: 7JQdk5vHr1O

--HG--
extra : rebase_source : 66be2aab4c4a32d20fb44c88c5270c5b5cfc0b81
extra : histedit_source : 5d6bef86d4a2a2250405d24ce28c6bfd9d654f8d
2016-11-10 14:26:54 -05:00
Ben Kelly
6495475955 Bug 1316289 P1 Make sure we thaw child frames properly. r=smaug 2016-11-10 14:02:18 -08:00
Carsten "Tomcat" Book
4b6cab91f9 merge mozilla-inbound to mozilla-central a=merge 2016-11-10 16:59:38 +01:00
Tim Huang
950b86072e Bug 1313627 - Get the firstPartyDomain from the nodePrincipal of the document in nsDocShell::CanAccessItem() if the first party isolation is on. r=smaug 2016-11-10 14:20:38 +08:00
KuoE0
1ea270f7da Bug 1305352 - (Part 1) Make Presentation API support XUL browser element. r=smaug
MozReview-Commit-ID: 9t5mhvcbpXB

--HG--
extra : rebase_source : 50c65bf06aae1df6a17e9328315edf977ceada49
2016-10-27 11:27:41 +08:00
Christoph Kerschbaumer
f2776f1b8d Bug 1308889 - Try to explicitly pass aTriggeringPrincipal and aPrincipalToInherit to DoURILoad(). r=bz 2016-11-08 07:23:12 +01:00
Blake Kaplan
eb41df1277 Bug 1311197 - Remove CPOWs from docshell browser-chrome tests. r=Gijs/felipe
MozReview-Commit-ID: G5qS7TUfvBC
2016-11-07 14:43:42 -08:00
Blake Kaplan
7982323f6d Bug 1311197 - Remove CPOWs from browser_bug655270.js. r=Gijs
MozReview-Commit-ID: 1GuTsuHMd6g
2016-11-07 14:43:41 -08:00
Sebastian Hengst
855e7a17e9 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: docshell. r=RyanVM
MozReview-Commit-ID: BI6jc9bsXCE

--HG--
extra : rebase_source : 1127a829ff222a40b7b3358507c7ce3afe81ecea
2016-11-05 11:29:14 +01:00
Michael Layzell
d53091c307 Bug 1314792 - Extract process changing logic into nsContentUtils::GetDocShellProcessLock, r=bkelly
MozReview-Commit-ID: FI0pIvHPN0h
2016-11-04 13:40:55 -04:00
Ting-Yu Lin
904617e77f Bug 1310509 - Call NotifyAsyncPanZoomStarted/Stopped on document containing current scrolling content. r=kats
We now call NotifyAsyncPanZoomStarted/Stopped precisely on the document
which is being transformed, so we no longer need to notify the child
docshells which was added in Bug 1088559.

Remove the |nsIDocument| argument for ProcessAPZStateChange(), which is not
used anymore.

mActiveAPZTransforms added in bug 1142926 is removed because AccessibleCaret
is the only consumer for AsyncPanZoomStarted/Stopped, and it now defaults to
always show while scrolling, i.e.
"layout.accessiblecaret.always_show_when_scrolling" defaults to true. And I
cannot reproduce the bug even if I turn off the preference.

MozReview-Commit-ID: DiEk2gCIHn2
2016-11-04 22:27:02 +08:00
Michael Layzell
0ae1d338c3 Bug 1313739 - Move TabGroup into its own file, seperate from DocGroup, r=bkelly
MozReview-Commit-ID: AndPWOBpkox
2016-10-31 13:40:36 -04:00
Michael Layzell
c72ea0d3f1 Bug 1310778 - Move TabGroup and GetDocGroup accessors onto nsPIDOMWindow{Inner,Outer}, r=smaug
MozReview-Commit-ID: Hl0QVktr0Lw
2016-10-28 15:38:28 -04:00
Phil Ringnalda
b6eec64324 Merge m-c to a CLOSED TREE m-i
MozReview-Commit-ID: 2JxLeQ8GYIX
2016-10-27 20:36:38 -07:00
Michael Layzell
76969f2737 Bug 1310345 - Change FindChildWithName and related methods to take nsAString& instead of char16_t*, r=bz
MozReview-Commit-ID: 4aQwYX9ObcN
2016-10-27 15:53:35 -04:00
Michael Layzell
029a7def5d Bug 1303196 - Part 3: Update the named window resolution logic to be scoped to TabGroup instead of being process-global, r=bz
MozReview-Commit-ID: FaGoj6wmEuG
2016-10-27 15:53:35 -04:00
Michael Layzell
f9eea2d135 Bug 1303196 - Part 2: Connect the DocGroup and TabGroup objects to nsGlobalWindow and nsDocument, ensuring that Opener is set early enough that it is correct, r=smaug
MozReview-Commit-ID: 3rZfLw3dXkF
2016-10-27 15:53:35 -04:00
Ben Kelly
0983850a63 Bug 1303167 P6 Rename new suspend and freeze methods to final names. r=smaug 2016-10-26 10:20:16 -07:00
Ben Kelly
bf0ca72f77 Bug 1303167 P2 Use new window suspend and freeze methods. r=smaug
* * *
Bug 1303167 P2 interdiff 0001 Review feedback
2016-10-26 10:20:15 -07:00
Ehsan Akhgari
98fb5e2107 Bug 1312527 - Promote docshell private browsing assertions to diagnostic asserts; r=baku
This will allow us to catch these assertions failing in non-debug
builds on our pre-release channels.
2016-10-25 09:28:40 -04:00
Valentin Gosu
db9440de51 Bug 1305204 - (Part 2) Backout bug 1275746 a=backout
MozReview-Commit-ID: H8aCKdJzEbR
2016-10-23 14:24:45 +02:00
Eric Rahm
a2f7bff287 Bug 1311759 - Remove unused references to nsISupportsArray. r=froydnj
This removes various references to nsISupportsArray throughtout the tree that
aren't used.

MozReview-Commit-ID: EtgD1DRwY8e
2016-10-21 16:34:42 -07:00
Ryan VanderMeulen
5c4d7020f2 Merge m-c to inbound. a=merge 2016-10-21 11:08:45 -04:00
Carsten "Tomcat" Book
bbfd099b2d Merge mozilla-central to autoland 2016-10-20 17:27:57 +02:00
Bob Owen
6327ab0913 Bug 1309900 Test: Ensure cross process history works when both history entries have children. r=smaug
MozReview-Commit-ID: 1qIjyXNzws0

--HG--
extra : rebase_source : a383b47f91216784842a3934a1115f60a28c521d
2016-10-20 10:33:42 +01:00
Bob Owen
e2cf5e1e75 Bug 1309900: Fix subframe history navigation logic. r=smaug
Renamed CompareFrames to LoadDifferingEntries to make what it does more clear.
Also, use this to do the top level load for the forward / back cases as it is pretty much set up to do that already.

MozReview-Commit-ID: G8cO0jDZebR

--HG--
extra : rebase_source : 4c9f3d77ad29ad5c447efd7c702b37c5581de1ab
2016-10-20 10:33:22 +01:00
Ehsan Akhgari
4a51ebacfa Bug 1310378 - Remove support for mozwidget; r=baku 2016-10-17 13:15:36 -04:00
Ehsan Akhgari
e2fdfd7548 Bug 1310366 - Remove support for app redirects; r=baku 2016-10-17 13:15:36 -04:00
Ehsan Akhgari
ceb6c867f9 Bug 1310350 - Fix the return value of nsDocShell::GetInheritPrivateBrowsingId(); r=baku
This function was mistakenly returning mPrivateBrowsingId instead of
mInheritPrivateBrowsingId.  Thankfully this function isn't being used
anywhere yet.
2016-10-17 10:05:12 -04:00
Bill McCloskey
ef9a4d78b7 Bug 1211270 - Fix CPOW bug in browser_onbeforeunload_navigation.js (r=mrbkap) 2016-10-19 16:26:22 -07:00
Kris Maglione
a6c6580702 Bug 1294442: Part 1 - Allow calculating content size with constraints. r=smaug
MozReview-Commit-ID: 4AyootQ5icK

--HG--
extra : rebase_source : 8d2421263e7636c99cecd1f7cf9dda2da20be6f3
2016-10-19 13:10:18 -07:00
Ehsan Akhgari
87f7da8481 Bug 1310014 - Avoid capturing JS backtraces in TabChild::DidRequestComposite(); r=tromey 2016-10-14 15:33:39 -04:00
Christoph Kerschbaumer
a14cba1726 Bug 1303943: Don't inherit principal for external loads and update documentation for principalToInherit. r=bz 2016-10-14 20:08:21 +02:00
Ehsan Akhgari
69dce6c397 Bug 1310101 - Remove nsILoadContext::IsAppOfType; r=baku 2016-10-14 10:45:27 -04:00
Sebastian Hengst
700f9d4edf Backed out changeset 07f70194e136 (bug 1303943) for tests crashing related to sessionhistory. r=backout on a CLOSED TREE 2016-10-14 12:53:09 +02:00
Christoph Kerschbaumer
12c0c49d7e Bug 1303943 - Don't inherit principal for external loads and update documentation for principalToInherit. r=bz 2016-10-13 15:13:40 +02:00
Carsten "Tomcat" Book
1615c5d144 Backed out changeset 9ae5fb774393 (bug 1297338) landed with wrong bug number 2016-10-14 08:44:00 +02:00
Christoph Kerschbaumer
f3cb1ffcb6 Bug 1297338 - Don't inherit principal for external loads and update documentation for principalToInherit. r=bz 2016-10-13 15:13:40 +02:00
Mike Conley
a99bfe13e7 Bug 1288606 - Fix intermittent orange by making sure a weakly held nsISHistoryListener doesn't get GC'd before the browser_bug670318.js completes. r=jaws
MozReview-Commit-ID: AWvpK6OpmmI

--HG--
extra : rebase_source : 40863e55308f18a6f4172fe74fad323c0ad9cc38
2016-10-11 09:43:57 -04:00
Eric Rahm
f52b26bf1d Bug 1308611 - Convert nsISHEntry.refreshURIList to nsIMutableArray. r=bz
|refreshURIList| is converted to a an nsIMutableArray as nsISupportsArray is
deprecated. This attribute is only used internally and does not show up in a
textual search of the plugins repo.

nsIMutableArray is used rather than nsIArray in order to support modifying the
array as current users expect.

MozReview-Commit-ID: F0GYVFZarOQ
2016-10-10 11:36:41 -07:00
Yoshi Huang
a43d017190 Bug 1264137 - Part 4: Improve the usefulness of what we pass as requestingContext to nsIContentPolicy for navigations (loads in a docshell). r=bz
For toplevel document loads (TYPE_DOCUMENT) in the content process,
we pass the currently-loaded window, if any.

For toplevel document loads in the chrome process (e.g. tabs in non-e10s mode),
we pass the node which created our docshell, if any.

For all subframe loads, we pass the node that created the docshell,
which is the frameElement of the window in the docshell.
2016-10-07 17:40:21 +08:00
Yoshi Huang
06ba09a073 Bug 1264137 - Part 3: perform ContentPolicy check if the load is happening on this docshell. r=bz, smaug 2016-10-07 17:40:21 +08:00