Nicholas Nethercote
8bc855b22d
Bug 1293596 (part 6) - Make nsIWidget::SetSizeMode() infallible. r=mstange,baku.
...
The only implementation of SetSizeMode() that can fail is the nsCocoaWindow
one, on an Objective C exception, which is unlikely and can be swallowed.
This allows some nsGlobalWindow functions to become infallible as well.
--HG--
extra : rebase_source : 85d54185f63d2c138ee3f3e0e0bfe3b5e805a981
2016-08-22 09:15:49 +10:00
kearwood
905f496ed5
Bug 1250244 - Part 8: Implement WebVR DOM Events,r=bz
...
MozReview-Commit-ID: 4Fk0WszVTBR
2016-07-04 15:46:49 -07:00
John Dai
7f2bb4c2c9
Bug 1275833 - Add window.customElements and CustomElementsRegistry interface for custom element v1. r=smaug, wchen
...
--HG--
extra : rebase_source : 5bed500eee0d4902703e4e2159e291779ff69ab5
2016-07-24 23:38:00 +02:00
Marcos Caceres
7d0789d464
Bug 1280777 - put window.oninstall behind a pref. r=bkelly r=baku
2016-06-29 19:04:00 +02:00
Andrea Marchesini
c30cdb7269
Bug 989619 - patch 2 - console API should use webIDL namespaces, r=bz
2016-06-04 09:32:51 +02:00
Marcos Caceres
095622d6de
Bug 1265279 - Web Manifest: Implement window.oninstall. r=baku
...
* Add tests for window.oninstall
* Teach manifestMessages how to fire install event
* Test that the install event fired from Parent process
2016-05-30 18:52:00 +02:00
Boris Zbarsky
327d372ce0
Bug 1270349
part 2. Add [LegacyUnenumerableNamedProperties] to the interfaces that specify it in DOM and HTML. r=peterv
2016-05-09 22:25:40 -04:00
Jonathan Watt
c0f13251a1
Bug 1162772, part 5 - Expose Window.isSecureContext to content. r=bz
...
MozReview-Commit-ID: 8IL8txZSZUO
2016-04-28 11:13:09 +01:00
Sebastian Hengst
99571c48ce
Backed out changeset a921444a4b34 (bug 1162772)
2016-04-30 09:53:46 +02:00
Jonathan Watt
b80ffda53f
Bug 1162772, part 5 - Expose Window.isSecureContext to content. r=bz
...
MozReview-Commit-ID: 8IL8txZSZUO
2016-04-28 11:13:09 +01:00
Kyle Huey
9eea75a6f5
Bug 1252268: If the slow script dialog aborts an interval timer callback, don't schedule it again. r=bz
2016-03-10 01:50:56 -08:00
J.C. Jones
70bc936cba
Bug 1231681 - "Implement window.u2f interface". r=baku, r=dkeeler
2016-02-09 16:43:00 +01:00
Honza Bambas
1fa31b468c
Bug 1237783 - Make sure we correctly turn off appcache. r=ehsan
2016-02-05 08:36:00 -05:00
Eugen Sawin
e8d1a957e9
Bug 1205649 - [2.4] Add AbsoluteDeviceOrientation DOM event for compass heading orientation data. r=smaug
2016-01-21 18:14:33 +01:00
Xidorn Quan
1a693cf130
Bug 962249 part 3 - Add Window.scrollMin{X,Y} (chrome-only) and convert most of scrollMaxX uses and part of scrollMaxY uses to combinations with the new properties. r=roc,bz
...
--HG--
extra : source : a07399cae357020c4f6dd33dac16eae82882cc83
2015-10-27 13:38:02 +09:00
Ehsan Akhgari
03c42e42be
Bug 1218152 - Make Window.caches and WorkerGlobalScope.caches SameObject; r=bzbarsky
2015-10-26 23:00:18 -04:00
William Chen
16cbe794df
Bug 920734 - Part 1: Implement window.orientation and window.onorientationchange. r=baku
...
--HG--
extra : rebase_source : 1ca2e3a29733762d4bb2c335a0d6fcf5d7b03c0f
2015-10-23 21:37:28 -07:00
Martin Thomson
2627615a00
Bug 1155923 - Temporarily restoring moz-prefixed interface, r=jesup,smaug
...
--HG--
extra : transplant_source : j%0DQ%EA%DD%1C%DCtL%A0g%8E%7D%9D%BC%DFf%19%C9%AE
2015-09-28 11:25:04 -07:00
Martin Thomson
afdaddf1d7
Bug 1155923 - Removing moz prefix from RTC interfaces, r=jesup,smaug
...
--HG--
extra : transplant_source : %0Adu%1E%A6j%9E%C2B%25%ECruo%F7%7Fc%EA%99%18
2015-09-28 11:25:04 -07:00
Carsten "Tomcat" Book
4952084732
Backed out 3 changesets (bug 1155923) for causing test failures in promises-call.html
...
Backed out changeset 321a932e01a7 (bug 1155923)
Backed out changeset 6ac38acd6ab2 (bug 1155923)
Backed out changeset 2981db92416a (bug 1155923)
2015-09-28 14:02:41 +02:00
Martin Thomson
164451050d
Bug 1155923 - Temporarily restoring moz-prefixed interface. r=jesup, r=smaug
...
--HG--
extra : transplant_source : 1%DD%84%C8%185%40%3C%D4%1A%C8%DB7%08%9C%B3%8Ez%189
2015-09-24 16:31:47 -07:00
Martin Thomson
9c3bef623e
Bug 1155923 - Removing moz prefix from RTC interfaces. r=jesup r=smaug
...
--HG--
extra : transplant_source : 1%F0%A8%03%D3%B9OAJW%06v%21%F1WX%03im%22
2015-09-24 16:31:47 -07:00
Florian Quèze
2d45fb9b54
Bug 862147 - instrument usage of window.sidebar.addSearchEngine, r=froydnj,smaug.
2015-09-23 12:05:37 +02:00
Kaku Kuo
9c3f995e43
Bug 1044102 - Part 1 - Implement ImageBitmap. r=roc, sr=smaug
...
--HG--
extra : rebase_source : c26f327064125a6d5690b03571f25ea0e25347eb
2015-07-30 20:47:00 +02:00
Boris Zbarsky
a435429163
Bug 909154. Remove the prefixed mozRequestAnimationFrame and its accoutrements. r=bkelly
2015-07-20 10:14:24 -04:00
Boris Zbarsky
34d521e285
Bug 1155984. Improve the performance of the "self" getter in both window and workers. r=peterv,jorendorff
2015-04-27 13:38:12 -04:00
Ted Mielczarek
3a7c11fc1a
bug 1155691 - Expose WindowRoot to chrome from window in webidl. r=smaug
...
--HG--
extra : rebase_source : ecacc739c8b642faf0e26e19c2a62d2f9e180cc4
2015-04-17 16:17:26 -04:00
Boris Zbarsky
3dbe43d96c
Bug 1151940 part 3. Make some writable cssom-view attributes that we only allow setting from chrome act the way readonly replaceables would when called from content. r=smaug
2015-04-08 22:50:45 -04:00
Boris Zbarsky
6498cd7e42
Bug 1151940 part 1. Make some readonly properties defined on Window by CSSOM-view replaceable. r=smaug
2015-04-08 22:50:45 -04:00
Kearwood (Kip) Gilbert
b0c31cd0a6
Bug 945584: Part 8 - Implement Scroll Snapping for Middle Mouse Button Scrolls (v2 Patch), r=roc, r=bz
...
- Implemented scroll snapping at the end of a middle-mouse-button scroll.
- As this scrolling occurs within chrome Javascript, chrome-only DOM methods
had to be added: window.MozScrollSnap and element.MozScrollSnap
- Bug 1137937 tracks implementation of a replacement for these chome-only DOM methods,
to be replaced with a web accessible API.
--HG--
extra : rebase_source : f511296dbdbfd97e3da391d2a0b67fd3f6edca6b
2015-02-19 16:03:07 -08:00
Ben Kelly
bc355cdce2
Bug 940273 - Part 5 - Expose Service Worker Cache as window.caches when pref is enabled. r=ehsan
2015-03-02 14:22:00 +01:00
Tim Taubert
c6447b39fb
Bug 1128479 - Update Crypto.webidl to recent interface changes r=smaug
2015-02-02 13:49:01 +01:00
Bobby Holley
c4cf5ef02f
Bug 1124898 - Stop exposing ex-nsIDOMChromeWindow things for random unprivileged things loaded in chrome docshells. r=bz
2015-01-26 10:26:33 -08:00
Roshan Vidyashankar
5e53ded222
Bug 1058921 - Disable unsafe Window APIs in prerendering; r=jst
2015-01-05 13:43:43 -05:00
Boris Zbarsky
c617f3e3b9
Bug 1012798 part 2. Stop defining a value property named "window" on the global. r=peterv
2014-12-09 14:44:37 -05:00
Tom Schuster
8a051a23e7
Bug 993026 - Rename NewResolve to Resolve in browser. r=bz
2014-11-08 01:07:12 +01:00
Kearwood (Kip) Gilbert
1f3b8f19a0
Bug 1045754 - Part 1 - Implement updated CSSOM-View smooth-scrolling specification. r=bz
...
- Added new WebIDL dictionary, ScrollToOptions. This dictionary extends
ScrollOptions by adding "left" and "top", specifying the scroll offset.
This will be later extended with more members to allow scroll offsets to be
specified with logical axes.
- Implemented Window.Scroll, Window.ScrollTo, Window.ScrollBy, Element.Scroll,
Element.ScrollTo, and Element.ScrollBy functions that accept ScrollToOptions
as a single parameter.
- Removed ScrollOptions dictionary parameter from existing Window.Scroll,
Window.ScrollTo, and Window.ScrollBy functions as these have been replaced
with functions accepting a single parameter, ScrollToOptions.
- Added new WebIDL dictionary, ScrollIntoViewOptions. This dictionary
extends ScrollOptions by adding "block", specifying whether the element
start or end will be scrolled into view.
- Replaced Element.ScrollIntoView(bool,ScrollOptions) with
Element.ScrollIntoView(ScrollIntoViewOptions) to match updated
CSSOM-View scroll-behavior specification.
2014-10-01 10:47:56 -07:00
Nikhil Marathe
6e8e93e87a
Bug 1017613 - Part 3 - fetch() IDL and stubs. r=baku
...
--HG--
extra : transplant_source : %B3%0A%E7%17m%5C%A5%DF%F4%1A%90Z%CF%B7%E2Y%CA%1E%21w
2014-07-24 18:30:07 -07:00
Peter Van der Beken
5f962f62f8
Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, annotate Window as having named properties. r=bz.
...
--HG--
extra : rebase_source : 7e4628edb7c49837e8675ca787db0c00ce70ff14
2014-09-05 22:36:32 +02:00
Kearwood (Kip) Gilbert
ecf1650979
Bug 1062406 - Part 1 - Change x and y parameters of window.scroll* CSSOM-View DOM calls from double to unrestricted double. r=bz
...
- WebIDL updated so that x and y parameters of window.scroll, window.scrollTo,
and window.ScrollBy are changed from "double" to "unrestricted double".
- Implemented mozilla::ToZeroIfNonfinite
- Updated nsGlobalWindow::Scroll, ScrollTo, and ScrollBy methods so that they
replace non-finite numbers with 0.
2014-09-09 12:02:00 +02:00
Boris Zbarsky
0bddd0696f
Bug 1017425. Make the "performance" attribute of Window [StoreInSlot]. r=peterv
2014-09-05 22:42:33 -04:00
Boris Zbarsky
586aabb26c
Bug 1017424 part 6. Remove the WindowOnWebIDL function. r=peterv
2014-09-05 14:28:45 -04:00
Birunthan Mohanathas
775a16fc82
Bug 1046420 - Part 1: Make MozSelfSupport a Window property instead of a global property. r=bz,wchen
2014-08-26 07:11:15 -07:00
Kearwood (Kip) Gilbert
351eec0b98
Bug 1022818 - Part 1: Update webidl interfaces. r=bz
...
- Extended the Element and Window webidl interfaces as described in the
CSSOM-View smooth-scrolling specification.
- The Element.scrollTop and Element.scrollLeft changes have been omitted
until either WebIDL is extended to allow properties to have union datatypes
that contain dictionaries or the CSSOM-View smooth-scroll specification
is upddated. This will not prevent the other interface changes from being
useful.
- Implemented wrapper functions for the nsGlobalWindow to connect to the new
WebIDL bindings. The ScrollOptions parameters are ignored in this patch,
and used in Part 3 of this patch series.
--HG--
extra : rebase_source : db617cb63780e039ad69e4ed100c13042c676949
2014-08-05 15:01:32 -07:00
Boris Zbarsky
12b78b9612
Bug 1017988 part 8. Add [Exposed] extended attributes as needed. r=khuey
2014-08-04 22:20:34 -04:00
Boris Zbarsky
d1f4dba8b5
Bug 1017988 part 6. Implement support for [PrimaryGlobal]. r=khuey
2014-08-04 22:20:34 -04:00
Boris Zbarsky
531e8ee54e
Bug 1031945. Don't expose showModalDialog on Window if it's preffed off. r=smaug
2014-07-26 01:41:10 -04:00
Morris Tseng
bdc2515786
Bug 987040 - Part 1: Implement mozbrowserselectionchange. r=vingtetun,ehsan,bugs. sr=bz
2014-07-28 01:21:00 +02:00
Boris Zbarsky
153c7d3082
Back out bug 1031945 for now because we have silly pref settings on mobile and dumb tests. a=orange
2014-07-26 03:30:56 -04:00
Boris Zbarsky
8af69d9ae9
Bug 1031945. Don't expose showModalDialog on Window if it's preffed off. r=smaug
2014-07-26 01:41:10 -04:00