Kate McKinley
f9f14d6f64
Bug 1410364 - Don't consider opener when calculating IsSecureContext. r=bz, r=dveditz
...
Per https://github.com/w3c/webappsec-secure-contexts/issues/42 , the
section considering the window opener when calculating secure context is
to be dropped. Firefox already uses "isSecureContextIfOpenerIgnored" in
most places as this is the actual behavior we want. This patch aligns
with the upcoming spec changes by ignoring the window opener. We also no
longer have to keep information about whether our opener was secure as
that no longer factors in our calculations.
2017-11-29 10:40:00 -05:00
Nika Layzell
995525e901
Bug 1416384 - Part 2b: Get split headers building but not linking, r=smaug
...
MozReview-Commit-ID: JRvPtQTJqSX
--HG--
extra : rebase_source : d80d2cd93c0ad629b92b7b67af664a2ccbbc3658
2017-11-15 11:33:29 -05:00
Nika Layzell
5c65681cb0
Bug 1415645 - Part 5: Fix some more consumers of nsGlobalWindow which I missed, r=smaug
...
MozReview-Commit-ID: DvMH4cVw5NK
2017-11-15 11:21:57 -05:00
Boris Zbarsky
5d7760ed1c
Bug 1414935. Hide window.print entirely when it's disabled by pref. r=mystor
...
MozReview-Commit-ID: ArDw85eQYeh
2017-11-13 10:38:50 -05:00
Sebastian Hengst
49423f5e99
Backed out changeset b9aa0fc4f179 (bug 1414935) for failing mochitest test_bug739038.html. r=backout on a CLOSED TREE
2017-11-13 20:11:00 +02:00
Boris Zbarsky
f20476fcb6
Bug 1414935. Hide window.print entirely when it's disabled by pref. r=mystor
...
MozReview-Commit-ID: ArDw85eQYeh
2017-11-13 10:38:50 -05:00
Emilio Cobos Álvarez
d631a75643
Bug 1410074: Make the caller type from MatchMedia arrive to the CSS code. r=xidorn,bz
...
MozReview-Commit-ID: LUiobfHSUq1
2017-10-25 16:04:48 +02:00
Peter Van der Beken
772f1ee5da
Bug 1383059 - Remove instanceof for supplemental interfaces. Part 2: remove support for supplemental interfaces in instanceof code and remove unnecessary ChromeWindow interface. r=bz.
...
--HG--
extra : rebase_source : e8ce446e7f1844c6d1d352896873cbb865837632
extra : source : 944786dca81aed2e480562694bfabc6e5fbf1266
2017-07-05 23:01:04 +02:00
Peter Van der Beken
c705293c1c
Bug 1383059 - Remove instanceof for supplemental interfaces. Part 1: add Window.isChromeWindow and switch |instanceof [nsIDOM]ChromeWindow| to use it instead. r=bz.
...
--HG--
extra : rebase_source : 1efc83abae922c1a7b7eb855fd10a6333615044b
extra : source : 32277b160af4739c812ca2750a39ca111b16ea69
2017-10-06 13:47:27 +02:00
Brad Werth
227f633bc7
Bug 1402942 Part 1: Use double precision math in computation of Window.devicePixelRatio. r=bz,heycam
...
MozReview-Commit-ID: 9OCtSgE6jYj
--HG--
extra : rebase_source : 16d12ea76dce60c062ea513f886a83dff317bfde
2017-09-25 11:53:09 -07:00
Jonathan Kew
1b1aafb2e8
Bug 1402859 - Remove ENABLE_INTL_API conditional from webidl and dom/base code, now that it's true across all builds. r=smaug
2017-09-25 17:32:12 +01:00
Boris Zbarsky
b4ae7df969
Bug 1400898 part 2. Get rid of the interface constants on nsIDOMChromeWindow. r=farre
...
MozReview-Commit-ID: 4FuJSgha5y3
2017-09-19 10:13:22 -04:00
Boris Zbarsky
3dc9073bd5
Bug 1400139 part 2. Make window.content non-enumerable. r=mystor
...
MozReview-Commit-ID: LQkEkdG8wKf
2017-09-18 21:24:38 -04:00
Boris Zbarsky
6b4983d30a
Bug 864845 part 2. Make window.content chromeonly in nightly. r=mystor
...
MozReview-Commit-ID: Q7hTmngEgI
2017-09-12 15:33:10 -04:00
Ryan VanderMeulen
fc0fb3cc9a
Merge m-c to autoland. a=merge
2017-09-13 20:37:40 -04:00
Ryan VanderMeulen
3fc86b0be1
Backed out 2 changesets (bug 864845) for causing bug 1399649.
...
Backed out changeset c991b71d3642 (bug 864845)
Backed out changeset 9e6a4d96cf76 (bug 864845)
2017-09-13 19:23:12 -04:00
Boris Zbarsky
101a69d71a
Bug 864845 part 2. Make window.content chromeonly. r=mystor
...
MozReview-Commit-ID: Q7hTmngEgI
2017-09-12 15:33:10 -04:00
Masatoshi Kimura
60816b85fa
Bug 1398445 - Remove window._content. r=mystor,qdot
...
MozReview-Commit-ID: 13KovslzGnM
--HG--
extra : rebase_source : 801700a3dc0b1ca207e3b47e9f6433fbd2d00505
2017-09-09 10:47:48 +09:00
Sebastian Hengst
e748f212a3
Backed out changeset 27f3e967a340 (bug 864845)
2017-09-09 22:35:59 +02:00
Boris Zbarsky
a1cf4fc819
Bug 864845 part 2. Make window.content chromeonly. r=mystor
2017-09-09 04:29:51 -04:00
Eric Rahm
9732475fe0
Bug 1389598 - Part 3: Remove gonk references from dom/ r=bkelly
...
--HG--
extra : rebase_source : 94a2b34b21cfde0c0ebda1045e9d30c6b88a1557
2017-08-11 17:42:11 -07:00
Eric Rahm
01f545fea7
Bug 1386825 - Part 1: Remove MOZ_B2G from dom. r=bkelly
...
MozReview-Commit-ID: 1zzP2r01B7U
2017-08-08 14:41:05 -07:00
Blake Kaplan
263a31a811
Bug 1374460 - Remove all code related to showModalDialog. r=smaug
...
MozReview-Commit-ID: GCGwBfIx2SJ
--HG--
extra : rebase_source : 44108de8ebbd9c0d8ed9ab69d50ad973c4883b6e
2017-07-13 16:42:03 -07:00
Zibi Braniecki
cc3d3ab8cd
Bug 1379905 - Switch mozIntl, datetimebox and DateTimeFormat to use GetRegionalPrefsLocales. r=jfkthame,smaug
...
MozReview-Commit-ID: IqGbT6ZUfuN
--HG--
rename : dom/tests/mochitest/chrome/test_window_getAppLocales.html => dom/tests/mochitest/chrome/test_window_getRegionalPrefsLocales.html
extra : rebase_source : 3180b337ec33bfc8959d0189c8a53ca2c3306e95
2017-07-14 16:47:23 -07:00
Boris Zbarsky
1b5d0a8ea1
Bug 1370550. Move the onwheel attribute to GlobalEventHandlers, to follow the spec. r=smaug
2017-07-11 17:49:25 -04:00
Edgar Chen
47a9de7747
Bug 1236512 - Part 2: Add isFullyOccluded attribute to ChromeWindow; r=bz
...
Right now, only Mac (after 10.9) will possibly return true; other platforms always
return false.
MozReview-Commit-ID: 8evSf3qQY8i
2017-05-26 18:14:06 +08:00
Carsten "Tomcat" Book
ab7636d45d
Backed out changeset 62999c1db7ee (bug 1236512)
2017-06-20 14:30:36 +02:00
Edgar Chen
7a94f225de
Bug 1236512 - Part 2: Add isFullyOccluded attribute to ChromeWindow; r=bz
...
Right now, only Mac (after 10.9) will possibly return true; other platforms always
return false.
MozReview-Commit-ID: 8evSf3qQY8i
2017-05-26 18:14:06 +08:00
Peter Van der Beken
9b9495bf79
Bug 1252211 - Remove DOMCI for TreeSelection, XULCommandDispatcher and XULControllers. r=bz.
...
--HG--
extra : rebase_source : 5a24af4928dbd7754850c6e3ceff6646bfe58c93
2017-05-18 09:07:25 +02:00
Carsten "Tomcat" Book
4a5a3d9f30
Backed out changeset 2c51cdd42834 (bug 1252211) for bustage
2017-06-13 12:20:33 +02:00
Peter Van der Beken
9d549d2f23
Bug 1252211 - Remove DOMCI for TreeSelection, XULCommandDispatcher and XULControllers. r=bz.
...
--HG--
extra : rebase_source : db24985f7e8f6d4ca4df13015d565ec0063ba355
extra : source : f361697cb50b47dc4db94a6730b6604ab69217f5
2017-05-18 09:07:25 +02:00
Xidorn Quan
fbf065fd31
Backed out changeset 94b5ea8bed5c (bug 1355683)
...
MozReview-Commit-ID: AJJ7hSuOQNX
--HG--
extra : source : d149b46f49c26eae291cead8dc65d2844452b1b3
2017-05-19 14:57:35 +10:00
Andrea Marchesini
667a1e29ae
Bug 1363395 - nsGlobalWindow::GetLocation should support to be called on the outer window, r=smaug
2017-05-09 22:41:19 +02:00
Andrea Marchesini
a67a0a31e8
Bug 1362003 - nsGlobalWindow::GetLocation doesn't need to receive an ErrorResult param, r=bz
...
Renaming nsGlobalWindow::GetLocation() to Location().
2017-05-08 15:49:31 +02:00
Andrea Marchesini
28cfe0edb3
Bug 1361975 window.location is not nullable, r=bz
...
This patch adds a check on mDocShell in order to do not throw exceptions when
Location is used with a null mDocShell. This is needed because the location
object is not nullable anymore and it can be used also when the window is not
connected to a docshell.
2017-05-08 15:49:08 +02:00
Ehsan Akhgari
66f333029f
Bug 1360799 - Expose the requestIdleCallback API to chrome code unconditionally; r=bzbarsky
...
We need to use this API in the front-end code, and in the off-chance
that we end up turning it off for the Web for whatever reason, or if
someone has turned off the pref, we should make sure our UI code does
not break.
2017-05-02 19:01:27 -04:00
Christoph Kerschbaumer
7711007990
Bug 1359092 - Extend loadURI within nsIWebNavigation.idl by a triggeringPrincipal argument. r=bz
2017-04-25 12:22:25 +02:00
Carsten "Tomcat" Book
1fa6c5a322
Backed out changeset 3e42f84996ea (bug 1359092) for causing assertion failures
2017-04-25 10:46:31 +02:00
Christoph Kerschbaumer
10ba7f4ab5
Bug 1359092 - Extend loadURI within nsIWebNavigation.idl by a triggeringPrincipal argument. r=bz
2017-04-24 21:57:25 +02:00
Ben Tian
cda6ed446d
Bug 1350459 - Remove the [Throws] annotation from Window.navigator, r=qdot
...
MozReview-Commit-ID: 8vjyVrfa3xT
--HG--
extra : rebase_source : d63942141b562e0e69611f3cbc1da4e9ee522efc
2017-04-14 10:40:03 +08:00
Xidorn Quan
1f463380ce
Bug 1355683 - Remove Window.getDefaultComputedStyle. r=bz
...
MozReview-Commit-ID: A2IwfiJiPL
--HG--
extra : rebase_source : 6e41985b2f9aa9528f2f660f8044f5e9f7970712
2017-04-13 16:50:37 +08:00
Brad Werth
3b8561b408
Bug 1151421 Part 1: Change Window scroll and offset properties to be doubles instead of ints. r=smaug
...
MozReview-Commit-ID: KeTokCIO5D9
--HG--
extra : rebase_source : 02f4aedf0e9dd662c53816dcc22766041f962bdb
2017-03-02 13:01:31 -08:00
Sebastian Hengst
20b211c7e9
Backed out changeset 7ce372883419 (bug 1151421) for failures in Android mochitests, e.g. test_bug1151421.html. r=backout
2017-03-14 18:46:26 +01:00
Brad Werth
b8a9918a1c
Bug 1151421 Part 1: Change Window scroll and offset properties to be doubles instead of ints. r=smaug
...
MozReview-Commit-ID: KeTokCIO5D9
--HG--
extra : rebase_source : 980eaf8ba3f6d4c502f9b86839ef637f4f5647c4
2017-03-02 13:01:31 -08:00
Zibi Braniecki
fbfa4998fa
Bug 1346819 - Port SanitizeAsBCP47 to LocaleService. r=baku,jfkthame
...
MozReview-Commit-ID: 2SXD5HaJPXr
--HG--
extra : rebase_source : 44404dfd577f13fde722ef5c13a29f853766786d
2017-03-13 08:31:43 -07:00
Makoto Kato
3bafff7740
Bug 1346098 - Don't expose intlUtils without ENABLE_INTL_API. r=smaug
...
Fennec team decides that Fennec will turn off ICU support on release build now. So we need to able be build Firefox without ENABLE_INTL_API (Bug 1343725).
Bug 1341994 uses mozIMozIntl interface, but it is only defined with ENABLE_INTL_API. So we shouldn't expose intlUtils if ICU is turned off.
MozReview-Commit-ID: EiQKiF4BRQv
--HG--
extra : rebase_source : 97f329da11094248a37edc543b5b541500a73d18
2017-03-10 17:36:09 +09:00
Jessica Jong
48fc4f10ec
Bug 1341994 - Expose mozIntl.getDisplayNames to ChromeOrXBL. r=smaug
2017-03-03 21:30:00 -05:00
Andrea Marchesini
d3c6a4d9d9
Bug 1343668 - Drop SameObject from *Worklet in Window.webidl, r=smaug
2017-03-05 08:20:38 +01:00
Jessica Jong
f877a843fa
Bug 1340396 - Add window.getAppLocales() for ChromeOrXBL. r=smaug
2017-02-19 22:11:00 -05:00
Andrea Marchesini
1fd70e0029
Bug 1336020
- transferables should be arrays of objects, r=smaug
2017-02-03 11:00:38 +01:00