Commit Graph

578 Commits

Author SHA1 Message Date
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
Carsten "Tomcat" Book
19af329f0e merge mozilla-inbound to mozilla-central a=merge 2016-07-25 15:50:41 +02:00
Andrea Marchesini
3e782b8fc6 Bug 1288736 - Add some missing rv.SuppressException(), r=smaug 2016-07-22 16:50:10 +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
f1f406c420 Bug 1261842 - Add a test for chromeflags for new windows from content. r=krizsa
MozReview-Commit-ID: Fdbhat4894A
2016-04-29 18:25:11 -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
Tom Tromey
1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06: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
57de7e2932 Bug 1261842 - Add a test for chromeflags for new windows from content. r=gabor
MozReview-Commit-ID: Fdbhat4894A
2016-04-29 18:25:11 -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
Mike Conley
398228861d Bug 1276738 - Follow-up. Adjust note in mochitest.ini regarding why tests are disabled for Android. r=test-only DONTBUILD
The tests are disabled because for Fennec, we don't support having web content
open new top-level windows, which these tests are exercising.

See bug 1277544 for further details.

MozReview-Commit-ID: EENiIryfdzz
2016-06-02 14:18:32 -04:00
Mike Conley
bbd2715c63 Bug 1276738 - Disable windowwatcher mochitests for Android. r=test-only
I've opened Bug 1277544 to investigate whether or not we've got a real
Android bug here, or if these tests aren't expected to pass on Android.

MozReview-Commit-ID: FGfDAN2BL44
2016-06-02 11:03:22 -04:00
Mike Conley
3425bdad7f Bug 1276738 - Test that newly opened dialogs can receive arguments. r=Gijs
MozReview-Commit-ID: jF3Port57I
2016-05-03 14:14:09 -04:00
Mike Conley
9080402167 Bug 1276738 - Test that modal windows can be opened from the parent process. r=Gijs
MozReview-Commit-ID: 8PWxf9E6ZMv
2016-05-03 11:42:34 -04:00
Mike Conley
cec81fe7c9 Bug 1276738 - Add a test to ensure that we clone sessionStorage when opening new windows. r=gabor
MozReview-Commit-ID: B2rLxdpWKOu
2016-05-02 17:36:41 -04:00
Mike Conley
3750499794 Bug 1276738 - Ensure that .open() on web content called with chrome privileges results in a new window with the appropriate principal. r=Gijs
MozReview-Commit-ID: IG9ioQLTI78
2016-05-02 17:36:12 -04:00
Mike Conley
88abd4a589 Bug 1276738 - Add a test for the size of newly opened window from content. r=gabor
This notably fails for me on Windows, for which I've filed bug 1276802. Until that's
figured out, this test is disabled on Windows.

MozReview-Commit-ID: Hx24driJ80w
2016-05-30 15:23:01 -04:00
Mike Conley
b89f099eca Bug 1276738 - Test _blank name usage in new windows. r=Gijs
MozReview-Commit-ID: Gqh04VTzOuC
2016-04-29 17:39:18 -04:00
Mike Conley
6f726a6a2f Bug 1276738 - Test that named windows work properly. r=gabor
MozReview-Commit-ID: 80uzqBvPmOA
2016-05-30 17:26:52 -04:00
Mike Conley
c4a6df234f Bug 1276738 - Test that new windows opened from remote content get the right flags. r=gabor
MozReview-Commit-ID: 3zgJrU0LeUV
2016-04-29 15:28:29 -04:00
Carsten "Tomcat" Book
dad323c8ae Backed out changeset 88f049f30446 (bug 1276738) 2016-06-02 08:12:39 +02:00
Carsten "Tomcat" Book
a63b0ece09 Backed out changeset 9d23fffa886b (bug 1276738) 2016-06-02 08:12:38 +02:00
Carsten "Tomcat" Book
0acae63a7d Backed out changeset 73f7e5190b38 (bug 1276738) 2016-06-02 08:12:37 +02:00
Carsten "Tomcat" Book
8e68c0151b Backed out changeset 1a7d17e9e15d (bug 1276738) 2016-06-02 08:12:35 +02:00
Carsten "Tomcat" Book
d16fd3d40f Backed out changeset ea2da46bde0a (bug 1276738) 2016-06-02 08:12:34 +02:00
Carsten "Tomcat" Book
b336cd3ef3 Backed out changeset 0ac161595496 (bug 1276738) 2016-06-02 08:12:32 +02:00
Carsten "Tomcat" Book
7bbd14c8d6 Backed out changeset c60082ec436a (bug 1276738) 2016-06-02 08:12:31 +02:00