Yoshi Huang
13130453ba
Bug 1324115 - Part 2: replace the callers to use C++ helper. r=smaug
2016-12-21 14:59:21 +08:00
Andrea Marchesini
c5b7736a2e
Bug 1317173 - Better propagation of private browsing flag when a new window is opened, r=smaug
2016-12-08 05:52:31 -10:00
Andrea Marchesini
1a5372ed2a
Bug 1317173 - Parent window should be frozen when a new child window is opened, r=smaug
2016-12-08 05:51:47 -10:00
Andrea Marchesini
1d56111463
Bug 1322440 - Get rid of contextFlags in nsIWindowCreator2, r=smaug
2016-12-07 16:20:08 -10:00
Dave Huseby
ccd7b010f1
Bug 1316075 - Add asserts for the places where we've gotten rid of the private browsing boolean. r=ehsan
2016-11-21 14:58:10 -08:00
Andrea Marchesini
e9eb01bb25
Bug 1321270 - Get rid of nsIWindowCreator2::PARENT_IS_LOADING_OR_RUNNING_TIMEOUT, r=smaug
2016-12-01 08:49:46 +01:00
Carsten "Tomcat" Book
3e625cc406
Backed out changeset 7c0ca61c3552 (bug 1321270) for bustage
2016-11-30 16:46:25 +01:00
Andrea Marchesini
ad75482c53
Bug 1321270 - Get rid of nsIWindowCreator2::PARENT_IS_LOADING_OR_RUNNING_TIMEOUT, r=smaug
2016-11-30 16:26:27 +01:00
Ehsan Akhgari
917a5e63fc
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
84568d0bc2
Backed out changeset 7d1f7dd996f7 (bug 1310845)
2016-11-16 14:50:44 +01:00
Ehsan Akhgari
2d792bd2ad
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
Gerald Squelart
9a3fb4229e
Bug 1316432 - Fix nsCOMPtr constructions&assignments from 0 - r=froydnj
...
Giving '0' (literal zero) to nsCOMPtr is now ambiguous, as both
nsCOMPtr(decltype(nullptr)) and nsCOMPtr(T*) could be used.
In any case, our coding standards mandate the use of 'nullptr' for pointers.
So I'm changing all zeroes into nullptr's where necessary.
MozReview-Commit-ID: LXiZTu87Ck6
2016-11-10 14:11:27 +11:00
Michael Layzell
7e5386d8f8
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
beeb5c8509
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
Michael Layzell
6d10f04819
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
f414cadd97
Bug 1303196 - Part 7: Updates to apply correctly after noopener changes, r=smaug
...
MozReview-Commit-ID: 25Ew2PLpP5c
2016-10-27 15:53:35 -04:00
Michael Layzell
43ece972ae
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
28edda560a
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
Eric Rahm
48dd2d879d
Bug 1312856 - Remove nsISupportsArray usage from WindowWatcher. r=smaug
...
WindowWatcher currently supports either an nsISupportsArray, an nsIArray, or a
raw nsISupports instance for its arguments param. nsSupportsArray, the concrete
class behind nsISupportsArray/nsICollection, now implements nsIArray so we can
remove the nsISupportsArray code path.
MozReview-Commit-ID: 1LWrSROASKe
2016-10-25 17:41:18 -07:00
Boris Zbarsky
c955e0d4e5
Bug 1222516 part 1. Add a window API for opening a window with navigation and a given docshell loadinfo to use for the navigation. r=mconley
...
This will be used to pass through information like the triggering principal and
whatnot, as well as the boolean for not sending a referrer, for rel=noreferrer
links.
2016-10-20 16:52:38 -04:00
Boris Zbarsky
aa00c4000b
Bug 1267339 part 3. Add support for the noopener window feature in windowwatcher. r=mconley
2016-10-20 16:52:38 -04:00
Boris Zbarsky
2aa98fa283
Bug 1267339 part 2. Push maintenance of the popup spam count down into the window watcher. r=mconley
2016-10-20 16:52:38 -04:00
Boris Zbarsky
9a77d4e545
Bug 1267339 part 1. Remove the unused aOpenerFullZoom argument to nsPIWindowWatcher::OpenWindow2. r=mconley
2016-10-20 16:52:37 -04:00
Boris Zbarsky
03a343d375
Bug 1301138. Set the one allowed sandbox navigator even when popups are allowed to escape the sandbox, so the new popup can be navigated by the sandboxed document. r=smaug
2016-09-08 00:17:11 -04:00
Wes Kocher
1be89aaedc
Backed out changeset f847d402cd2a (bug 1301138) for wpt failures in iframe_sandbox_popups_nonescaping-2.html a=backout CLOSED TREE
2016-09-08 13:22:48 -07:00
Stephen A Pohl
f066c6e7c6
Bug 1260850: Ensure that FilePicker (and other native app modal dialogs) on OSX remains responsive when a window modal dialog opens in the background. r=mstange
2016-09-08 15:41:55 -04:00
Ehsan Akhgari
dbfbf69f17
Bug 1301201 - Avoid inheriting the origin attributes of the subject principal if it's system; r=bzbarsky
2016-09-08 14:37:53 -04:00
Boris Zbarsky
50086242b3
Bug 1301138. Set the one allowed sandbox navigator even when popups are allowed to escape the sandbox, so the new popup can be navigated by the sandboxed document. r=smaug
2016-09-08 00:17:11 -04:00
Carsten "Tomcat" Book
e54ee788a9
Backed out changeset df7cb65bee39 (bug 1301138) for wpt test failures
2016-09-08 08:33:13 +02:00
Boris Zbarsky
2f2ad352c0
Bug 1301138. Set the one allowed sandbox navigator even when popups are allowed to escape the sandbox, so the new popup can be navigated by the sandboxed document. r=smaug
2016-09-08 00:17:11 -04:00
Ehsan Akhgari
19b58752d6
Bug 1300817 - Avoid inheriting the origin attributes of the subject principal if it's expanded; r=bzbarsky
2016-09-07 18:27:49 -04:00
Nicholas Nethercote
1cef4f427a
Bug 1294620 - Use infallible XPIDL attribute getters more. r=erahm.
...
This makes a lot of code more compact, and also avoids some redundant nsresult
checks.
The patch also removes a handful of redundant checks on infallible setters.
2016-08-12 15:19:29 +10:00
James Andreou
6d5098ad98
Bug 1283281 - Remove PB Flag from DOMStorage. r=jdm
2016-06-29 14:01:00 +02:00
Paul Bignier
0378ab451b
Bug 1290015 - [Static Analysis][Uninitialized scalar field] In constructor SizeSpec(). r=jst
2016-07-28 01:25:00 +02:00
Christoph Kerschbaumer
20cc9d7b5d
Bug 1286472: Replace owner with triggeringPrincipal within docshell. r=bz
2016-07-28 09:20:41 +02:00
Mike Conley
ca6a6f188d
Bug 1261842 - Refactor nsWindowWatcher to not have so much duplication. r=smaug
...
MozReview-Commit-ID: 8ItRHmJxcLA
2016-07-15 11:20:53 -04:00
Mike Conley
7d6e2edba3
Bug 1261842 - Add methods to nsIDocShellTreeOwner for sizing the primary content. r=smaug
...
MozReview-Commit-ID: CqiRTVd444n
2016-07-14 16:31:41 -04:00
Mike Conley
4c559c43ef
Bug 1261842 - Factor out logic for creating windows for content processes from nsWindowWatcher::OpenWindowInternal. r=smaug
...
MozReview-Commit-ID: 1dhGthT8bmu
2016-07-05 12:00:07 -04:00
Mike Conley
2d581cd6ef
Bug 1261842 - Use nsACString in more places instead of raw strings inside nsWindowWatcher. r=smaug
...
MozReview-Commit-ID: JhspUdabi0w
2016-07-05 11:59:56 -04:00
Mike Conley
d26954a2e0
Bug 1278985 - Remove unused URL arg from CreateChromeWindow2. r=mrbkap
...
MozReview-Commit-ID: I1H2WZeoHTJ
2016-04-27 16:19:25 -04:00
Jonathan Kew
cd51edae21
Bug 1287734 - Make nsWindowWatcher::SizeOpenedDocShellItem use global desktop coordinates to position the window, for reliable placement on mixed-resolution Mac systems. r=emk
2016-07-19 14:17:25 +01:00
Carsten "Tomcat" Book
e6bf5134e3
Backed out 25 changesets (bug 1261842, bug 1278985) breaking firefox-ui tests
...
Backed out changeset bb6c6889b802 (bug 1261842)
Backed out changeset c14ccfac7b4b (bug 1261842)
Backed out changeset d6ffc9db5346 (bug 1261842)
Backed out changeset 2a1acfd17baf (bug 1261842)
Backed out changeset 968e7b3b73fb (bug 1261842)
Backed out changeset 8d708922e47a (bug 1261842)
Backed out changeset 0a08398b5087 (bug 1261842)
Backed out changeset b2e910bb1d72 (bug 1261842)
Backed out changeset f6062f113911 (bug 1261842)
Backed out changeset 07b259eb7121 (bug 1261842)
Backed out changeset 970cbbb3a658 (bug 1261842)
Backed out changeset b6f7395d2bbf (bug 1261842)
Backed out changeset 20eb3987a721 (bug 1261842)
Backed out changeset 6eaa642a93e1 (bug 1261842)
Backed out changeset 855931929739 (bug 1261842)
Backed out changeset 1240345f5624 (bug 1261842)
Backed out changeset ce46ebf231c1 (bug 1261842)
Backed out changeset 8d34b61fbfb3 (bug 1261842)
Backed out changeset 9d8a382c5b1d (bug 1261842)
Backed out changeset e2472a4cc209 (bug 1261842)
Backed out changeset e91913cd64b8 (bug 1261842)
Backed out changeset 4cf843a05a68 (bug 1261842)
Backed out changeset cbdc0deb92bd (bug 1261842)
Backed out changeset a94e6a85c931 (bug 1261842)
Backed out changeset 3b5b92f04ea5 (bug 1278985)
2016-07-19 09:12:58 +02:00
Mike Conley
eb33b56f13
Bug 1261842 - Refactor nsWindowWatcher to not have so much duplication. r=smaug
...
MozReview-Commit-ID: 8ItRHmJxcLA
2016-07-15 11:20:53 -04:00
Mike Conley
f7beca1a97
Bug 1261842 - Add methods to nsIDocShellTreeOwner for sizing the primary content. r=smaug
...
MozReview-Commit-ID: CqiRTVd444n
2016-07-14 16:31:41 -04:00
Mike Conley
718b5b3d84
Bug 1261842 - Factor out logic for creating windows for content processes from nsWindowWatcher::OpenWindowInternal. r=smaug
...
MozReview-Commit-ID: 1dhGthT8bmu
2016-07-05 12:00:07 -04:00
Mike Conley
3147433d31
Bug 1261842 - Use nsACString in more places instead of raw strings inside nsWindowWatcher. r=smaug
...
MozReview-Commit-ID: JhspUdabi0w
2016-07-05 11:59:56 -04:00
Andrea Marchesini
726c68bbf9
Bug 1285326 - Remove custom check in CheckUserContextCompatibility for UCI == 0 in nsWindowWatcher, r=smaug
2016-07-10 08:08:39 +02:00
Andrea Marchesini
39cbe0c299
Bug 1279622 - DocShell child should inherit OriginAttributes from the parent DocShell, r=smaug
2016-07-07 20:54:30 +02:00
Andrea Marchesini
7f7472a4fd
Bug 1271516 - Introducing nsIWebNavigation.setOriginAttributesBeforeLoading, r=smaug
2016-06-07 19:59:22 +02:00
Phil Ringnalda
732de24a7c
Back out 32d16086e85e (bug 1271516) for frequent ChromeUtils::IsOriginAttributesEqual assertin failures
...
CLOSED TREE
2016-06-06 21:07:42 -07:00