Commit Graph

62 Commits

Author SHA1 Message Date
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
Andrea Marchesini
c151ac65b4 Bug 1271516 - Introducing nsIWebNavigation.setOriginAttributesBeforeLoading, r=smaug 2016-06-07 00:47:13 +02:00
Ben Tian
3228a31335 Bug 1257887 - Make windows opened through window.open() be scrollable by default. r=smaug 2016-05-17 11:25:47 +08:00
Boris Zbarsky
b9daad47f3 Bug 1190641 part 3. Add the sandbox propagates to auxiliary browsing contexts flag to iframe sandboxing. r=ckerschb 2016-05-06 13:56:36 -04:00
Catalin Badea
6e0e247bd4 Bug 1218080 - Don't send the url to the parent process when opening new windows, because it is not actually used. r=smaug 2016-05-03 18:15:07 +03:00
Jonathan Kew
e9da3d12b0 Bug 1259707 - Fix confusion between desktop and CSS pixels when session-restore is constraining window to the available screen space. r=emk 2016-03-26 13:12:47 +00:00
Ehsan Akhgari
e15c9b20e2 Bug 1258056 - Propagate the window opener full page zoom across the IPC layer; r=smaug 2016-03-22 17:49:09 -04:00
Boris Zbarsky
6a37b30baa Bug 1255849. Add some documentation for AutoJSAPI instances that seem to be used just for cxpushing. r=bholley 2016-03-14 20:47:13 -04:00
Andrea Marchesini
1a0f88def1 Bug 1249224 - window.open() should open a new window in the same container, r=bz 2016-03-07 17:09:52 +01:00
Sebastian Hengst
b92a54a5d1 Backed out changeset 05cef11d91be (bug 1249224) for bustage. r=backout on a CLOSED TREE 2016-03-07 16:35:14 +01:00
Andrea Marchesini
45c2001a5f Bug 1249224 - window.open() should open a new window in the same container, r=bz 2016-03-07 16:22:12 +01:00
Jonathan Kew
67f28ef1d4 Bug 1252974 - Convert screen's available dimensions to CSS-pixel units in nsWindowWatcher. r=emk 2016-03-06 13:37:27 +00:00
J. Ryan Stinnett
d0e4c235aa Bug 1238160 - Set docshell isolation mode. r=smaug
Renames nsDocShell isBrowser* attributes to add a "Moz" prefix for clarity.

Adds nsDocShell::GetIsIsolatedMozBrowserElement, which parallels
GetIsInIsolatedMozBrowserElement, but only checks the immediate docshell.

Adds nsDocShell::SetIsInIsolatedMozBrowserElement for the frame loader and tab
child to set the isolation state.

nsDocShell methods related to mozbrowser elements (and their callers) are
updated to use GetIs(In)?IsolatedMozBrowserElement when checking isolation /
origins and GetIsMozBrowserElement when checking frame types.

MozReview-Commit-ID: 6pGD5fF47ZN
2016-03-02 10:35:56 -06:00
Bogdan Postelnicu
ec24bb48b2 Bug 1245451 - add default nullptr value to mChrome. r=bsmedberg 2016-02-03 12:38:15 +02:00
Kyle Huey
e95edb30a9 Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Tooru Fujisawa
d364c5d1cb Bug 1224790 - Use SetFakeModal instead of SetModal for non-modal window opened by modal window. r=smaug, mstange 2015-11-18 20:12:26 +09:00
Mike Conley
99ce23088d Bug 1218594 - r=smaug 2015-10-30 14:54:52 -04:00
Catalin Badea
85075e4934 Bug 1172870 - Part 2 - Enable ServiceWorkerClients::OpenWindow on e10s desktop. r=smaug 2015-10-30 01:30:57 +02:00
Kyle Huey
8f8794e1c7 Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Mike Conley
2a26ad8ff8 Bug 1095236 - Disable dialog=1 support for windows opened from content. r=mrbkap 2015-10-02 19:00:54 -04:00
Wes Kocher
56c933c37e Backed out 3 changesets (bug 1095236) for possibly spiking the frequency of VP(b-m) failures CLOSED TREE
Backed out changeset 11cb6379251a (bug 1095236)
Backed out changeset 856b7b90184f (bug 1095236)
Backed out changeset a179310161fb (bug 1095236)
2015-10-13 10:08:11 -07:00
Mike Conley
6eb5391da0 Bug 1095236 - Disable dialog=1 support for windows opened from content. r=mrbkap 2015-10-02 19:00:54 -04:00
Bobby Holley
53f8074964 Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz 2015-09-24 14:02:41 -07:00
Mike Conley
a7b048f6b0 Bug 1189554 - Make Saved Passwords dialog resizable on Windows again. r=smaug
We were accidentally overwriting chromeFlags with CHROME_DEFAULT, which
we should only do if the caller has provided a features string when
opening a dialog.
2015-09-15 16:33:36 -04:00
Carsten "Tomcat" Book
14f145edd6 Backed out 1 changesets (bug 1189554) for suspicion of causing Linux Mn-e10s test failures on a CLOSED TREE
Backed out changeset 7f5c88364008 (bug 1189554)
2015-09-17 14:40:14 +02:00
Mike Conley
6a701a0fe2 Bug 1189554 - Make Saved Passwords dialog resizable on Windows again. r=smaug
We were accidentally overwriting chromeFlags with CHROME_DEFAULT, which
we should only do if the caller has provided a features string when
opening a dialog.
2015-09-15 16:33:36 -04:00
Mike Conley
120604a70c Bug 1114299 - Be more strict about which window chromeFlags we compute from content. r=smaug
We don't ever want to accept "private", "non-private", "remote" or "non-remote" from the
content process. We only let the parent decide when to open those types of windows.
2015-07-10 11:40:19 -04:00
Emanuel Hoogeveen
b30abdc582 Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Juan Gomez
89035d527e Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Ryan VanderMeulen
7aba9d7002 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
7323e89a40 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Shelly Lin
f6243126da Bug 1138287 - Part 3: Add an option to set screen ID in windowWatcher.openWindow. r=roc 2015-06-05 11:31:55 +08:00