Commit Graph

146 Commits

Author SHA1 Message Date
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
Andrea Marchesini
270f257d6b Bug 1336020 - postMessages should have transferable as [] by default, r=smaug 2017-02-03 11:00:37 +01:00
Kearwood (Kip) Gilbert
8dc97eb398 Bug 1293333 - Part 1: Implement window.onvrdisplayactivate and window.onvrdisplaydeactivate events r=daoshengmu,Ehsan
MozReview-Commit-ID: 746L5KObBcg

--HG--
extra : rebase_source : 3efa9171be4ec2aa6dc12bd4651e197571cf33c6
2016-10-18 18:18:10 -04:00
Phil Ringnalda
39e57631eb Merge m-c to m-i 2017-01-25 20:48:39 -08:00
Kate McKinley
88fa83b99b Bug 1329940 - Ignore window.opener for password manager warnings r=baku,jwatt,MattN
MozReview-Commit-ID: KiIR6WEddgO

--HG--
extra : rebase_source : eeae09dad3d10895b9266b249beacdedded3e1a2
2017-01-12 16:57:44 -08:00
Kartikaya Gupta
40947fdc4f Bug 1333503 - Remove some dead code relating to overfill calculation. r=mchang,mrbkap
MozReview-Commit-ID: HiT0jJynpyC
2017-01-25 14:03:36 -05:00
Boris Zbarsky
7cd914777b Bug 1325028 part 4. Remove IsCallerChrome use from nsGlobalWindow::MoveTo/MoveBy. r=bkelly 2016-12-22 11:06:32 -08:00
Boris Zbarsky
5323953edf Bug 1325028 part 3. Remove IsCallerChrome use from nsGlobalWindow::ResizeTo/ResizeBy/SizeToContent. r=bkelly 2016-12-22 11:06:32 -08:00
Boris Zbarsky
d6423562a1 Bug 1325028 part 1. Remove IsCallerChrome use from nsGlobalWindow's .content getter. r=bkelly 2016-12-22 11:05:55 -08:00
Boris Zbarsky
d22d7aafa4 Bug 1320801 part 5. Switch from ShouldResistFingerprinting to ResistFingerprinting (use the caller type, not the document principal) in nsGlobalWindow's devicePixelRatio getter. r=bkelly 2016-12-22 11:05:54 -08:00
Boris Zbarsky
fe08a55fa4 Bug 1320801 part 4. Switch from ShouldResistFingerprinting to ResistFingerprinting (use the caller type, not the document principal) in nsGlobalWindow's mozInnerScreenX/mozInnerScreenY getters. r=bkelly 2016-12-22 11:05:54 -08:00
Boris Zbarsky
7f7978f0f7 Bug 1320801 part 3. Switch from ShouldResistFingerprinting to ResistFingerprinting (use the caller type, not the document principal) in nsGlobalWindow's orientation getter. r=bkelly 2016-12-22 11:05:54 -08:00
Boris Zbarsky
454eaf81d5 Bug 1320801 part 1. Switch from ShouldResistFingerprinting to ResistFingerprinting (use the caller type, not the document principal) in nsGlobalWindow's outerWidth/outerHeight getters. r=bkelly 2016-12-22 11:05:54 -08:00
Andrea Marchesini
d8964cfa9d Bug 1322858 - Fix the URL of the AudioWorklet spec in webidl files, r=me 2016-12-17 07:19:02 +01:00
Andrea Marchesini
4623102eac Bug 1323948 - PaintWorkletGlobalScope, r=smaug 2016-12-16 22:21:51 +01:00
Andrea Marchesini
1156b79449 Bug 1322858 - Implement AudioWorkletGlobalScope - main-thread only - not meant to be exposed yet, r=smaug 2016-12-14 14:43:26 +01:00
Boris Zbarsky
9a0e7e609f Bug 1316111. Move the 'caches' attribute to WindowOrWorkerGlobalScope, to align with the spec. r=bkelly 2016-11-11 16:09:05 -05:00
Andrea Marchesini
31cddcde1d Bug 1290021 - Implement a prototype version of Houdini "Worklets Level 1" spec - part 1 - WebIDL interface, r=smaug 2016-11-06 09:53:34 +01:00
Bevis Tseng
3602bae888 Bug 1306181 - Remove IDBEnvironment in favor of partial interface in WindowOrWorkerGlobalScope. r=bkelly
--HG--
extra : rebase_source : de7d7964b225602000453eee7689db4fc1d71fb5
2016-10-24 10:41:13 +08:00
Andreas Farre
3aecf57375 Bug 1198381 - Implement the requestIdleCallback feature, r=froydnj,mattwoodrow,smaug
Expose requestIdleCallback on Window and implement running callbacks
in idle periods by posting rICs to the main threads idle queue.

MozReview-Commit-ID: KSYQsyaZ6is

--HG--
extra : rebase_source : 6abd41c2de96b39004f1b2c3c740e81de570970c
2016-08-22 14:52:45 +02:00
Carsten "Tomcat" Book
1895ce466b Backed out changeset eb2606332cb8 (bug 1198381) 2016-10-25 12:32:54 +02:00
Andreas Farre
1380385c69 Bug 1198381 - Implement the requestIdleCallback feature, r=froydnj,mattwoodrow,smaug
Expose requestIdleCallback on Window and implement running callbacks
in idle periods by posting rICs to the main threads idle queue.

MozReview-Commit-ID: KSYQsyaZ6is

--HG--
extra : rebase_source : 4bdd578b654d05cab600489d30d859452d1bc888
2016-08-22 14:52:45 +02:00
Boris Zbarsky
902033e592 Adjust Window.webidl comments that are meant to quote spec IDL that we don't quite implement right to actually match the spec as of today. No bug. 2016-10-20 16:52:38 -04:00
John Dai
48b937b61e Bug 1309140 - Rename CustomElementsRegistry to CustomElementRegistry. r=wchen, r=smaug
MozReview-Commit-ID: 3gYTaRVcV0y

--HG--
rename : dom/base/CustomElementsRegistry.cpp => dom/base/CustomElementRegistry.cpp
rename : dom/base/CustomElementsRegistry.h => dom/base/CustomElementRegistry.h
rename : dom/webidl/CustomElementsRegistry.webidl => dom/webidl/CustomElementRegistry.webidl
2016-10-12 15:26:02 +08:00
Marcos Caceres
4b5d873c87 Bug 1309099 - Web manifest's window.oninstall renamed onappinstalled. r=qdot
MozReview-Commit-ID: lcX2LGGOrw
2016-10-12 12:45:35 -07:00
Boris Zbarsky
3f10f5ed57 Bug 1308287 part 1. Change [NeedsSubjectPrincipal] to only do the Maybe thing for interfaces that can be exposed to workers. r=baku
The idea is to not make consumers think about whether the principal exists or
not when the caller knows for sure that it does.

The substantive changes are in dom/bindings, nsHTMLDocument::SetDesignMode, and
around the CanUseStorage bits.  Everything else is pretty mechanical.
2016-10-10 21:07:48 -04:00
Boris Zbarsky
0b7535dfdc Bug 1269052 part 3. Implement isSecureContext for worker scopes. r=bkelly 2016-10-10 15:09:00 -04:00
Boris Zbarsky
1b99ad6387 Bug 1269052 part 1. Introduce the WindowOrWorkerGlobalScope mixin in webidl. r=bkelly 2016-10-10 15:09:00 -04:00
Andrea Marchesini
7de21588c7 Bug 1306248 - Use NeedsSubjectPrincipal in DOMStorage, r=ehsan 2016-10-03 16:10:27 +02:00
Iris Hsiao
2afc902dd2 Backed out changeset a99817b61d70 (bug 1306248) for crashed @nsContentUtils::SubjectPrincipal
CLOSED TREE
2016-10-03 18:04:06 +08:00
Andrea Marchesini
8b8568a4db Bug 1306248 - Use NeedsSubjectPrincipal in DOMStorage, r=ehsan 2016-10-03 10:35:57 +02:00
Andrea Marchesini
906dc920ad Bug 1306232 - Use NeedsSubjectPrincipal in Window, r=ehsan 2016-09-29 16:14:42 +02:00