Commit Graph

85 Commits

Author SHA1 Message Date
J.C. Jones
da7ad6c27d Bug 1231681 - "Implement window.u2f interface". r=baku, r=dkeeler 2016-02-09 16:43:00 +01:00
Honza Bambas
eef1670426 Bug 1237783 - Make sure we correctly turn off appcache. r=ehsan 2016-02-05 08:36:00 -05:00
Eugen Sawin
1926e0aa21 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
95bd21485c 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 2015-10-27 13:38:02 +09:00
Ehsan Akhgari
4013b09c3d Bug 1218152 - Make Window.caches and WorkerGlobalScope.caches SameObject; r=bzbarsky 2015-10-26 23:00:18 -04:00
William Chen
f8b76af24c Bug 920734 - Part 1: Implement window.orientation and window.onorientationchange. r=baku 2015-10-23 21:37:28 -07:00
Martin Thomson
1defbdb0b2 Bug 1155923 - Temporarily restoring moz-prefixed interface, r=jesup,smaug 2015-09-28 11:25:04 -07:00
Martin Thomson
cf02a56d1d Bug 1155923 - Removing moz prefix from RTC interfaces, r=jesup,smaug 2015-09-28 11:25:04 -07:00
Carsten "Tomcat" Book
a64c5f1b9c 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
e93a57cfd9 Bug 1155923 - Temporarily restoring moz-prefixed interface. r=jesup, r=smaug 2015-09-24 16:31:47 -07:00
Martin Thomson
97f0f49af8 Bug 1155923 - Removing moz prefix from RTC interfaces. r=jesup r=smaug 2015-09-24 16:31:47 -07:00
Florian Quèze
f70629f736 Bug 862147 - instrument usage of window.sidebar.addSearchEngine, r=froydnj,smaug. 2015-09-23 12:05:37 +02:00
Kaku Kuo
fa3a35c345 Bug 1044102 - Part 1 - Implement ImageBitmap. r=roc, sr=smaug 2015-07-30 20:47:00 +02:00
Boris Zbarsky
5ddac01850 Bug 909154. Remove the prefixed mozRequestAnimationFrame and its accoutrements. r=bkelly 2015-07-20 10:14:24 -04:00
Boris Zbarsky
77e529551e 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
dbfb883711 bug 1155691 - Expose WindowRoot to chrome from window in webidl. r=smaug 2015-04-17 16:17:26 -04:00
Boris Zbarsky
b69560d8fb 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
e6531d3705 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
a11f03a7af 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.
2015-02-19 16:03:07 -08:00
Ben Kelly
740cde8e51 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
029051d988 Bug 1128479 - Update Crypto.webidl to recent interface changes r=smaug 2015-02-02 13:49:01 +01:00
Bobby Holley
d410284ef9 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
ed6057b9f9 Bug 1058921 - Disable unsafe Window APIs in prerendering; r=jst 2015-01-05 13:43:43 -05:00
Boris Zbarsky
b015920226 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
386272f082 Bug 993026 - Rename NewResolve to Resolve in browser. r=bz 2014-11-08 01:07:12 +01:00
Kearwood (Kip) Gilbert
96c33a1fa3 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
e3b33e19c3 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
87baf25bc1 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
7d4f4b04ca 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
bb3e0072cb Bug 1017425. Make the "performance" attribute of Window [StoreInSlot]. r=peterv 2014-09-05 22:42:33 -04:00
Boris Zbarsky
8e243dedd4 Bug 1017424 part 6. Remove the WindowOnWebIDL function. r=peterv 2014-09-05 14:28:45 -04:00
Birunthan Mohanathas
7fa30c0439 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
a38d0e6bab 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
a77fbc5d9a Bug 1017988 part 8. Add [Exposed] extended attributes as needed. r=khuey 2014-08-04 22:20:34 -04:00
Boris Zbarsky
420a4d0711 Bug 1017988 part 6. Implement support for [PrimaryGlobal]. r=khuey 2014-08-04 22:20:34 -04:00
Boris Zbarsky
61c575a324 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
f56cb94859 Bug 987040 - Part 1: Implement mozbrowserselectionchange. r=vingtetun,ehsan,bugs. sr=bz 2014-07-28 01:21:00 +02:00
Boris Zbarsky
a107e396fa 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
0e91f75f59 Bug 1031945. Don't expose showModalDialog on Window if it's preffed off. r=smaug 2014-07-26 01:41:10 -04:00
Vivien Nicolas
aaba27476c Bug 1015887 - Expose realFrameElement to Chrome JS. r=bholley 2014-06-04 20:11:05 +02:00
Ryan VanderMeulen
1bad801bdd Backed out 5 changesets (bug 1015871, bug 1020257, bug 1015887, bug 1005888, bug 1015894) for desktop B2G mochitest failures on a CLOSED TREE.
Backed out changeset dbcb9974b640 (bug 1020257)
Backed out changeset 3220b7b2efc9 (bug 1015894)
Backed out changeset 4e23647ae247 (bug 1015887)
Backed out changeset 59df0cdacc15 (bug 1015871)
Backed out changeset e7124b07804b (bug 1005888)
2014-06-04 16:07:06 -04:00
Vivien Nicolas
5ccb1aaad6 Bug 1015887 - Expose realFrameElement to Chrome JS. r=bholley 2014-06-04 20:11:05 +02:00
Boris Zbarsky
d20c179ea6 Bug 989584. Allow sites to set window.opener to any value. r=peterv 2014-06-03 11:38:37 -04:00
Tim Taubert
a1ba283cde Bug 990812 - Add nsIDOMChromeWindow.getGroupMessageManager() API r=smaug 2014-05-23 14:51:56 +02:00
Ms2ger
94bcc1bbb0 Bug 1014537 - Mark Window.top as nullable in WebIDL; r=bz over IRC
In the !mDocShell case, we return null.
2014-05-22 20:43:11 +02:00
Boris Zbarsky
e155631e2d Bug 999315. Revert alert(undefined) to showing the string "undefined" again, like it used to, pending the spec getting sorted out. r=peterv 2014-05-20 16:07:17 -04:00
Boris Zbarsky
dad96f125d Bug 1012944. Hide window.home/back/forward from web pages, since those are non-standard and cause pages to not set up their own thins with the same names. r=peterv 2014-05-20 16:07:17 -04:00
Gijs Kruitbosch
6da20d6a4e Bug 1009529 - treat null features as '' features in window.open calls, r=bz 2014-05-13 19:08:34 +01:00
Mason Chang
3146eb4aea Bug 979949 - Expose compositor fill ratio to JS for automation. r=benwa,mrbkap. 2014-05-08 17:32:00 +02:00
Peter Van der Beken
2bb0260163 Bug 993710 - Don't return names when enumerating Navigator/Window if they wouldn't be resolved. r=bz.
--HG--
extra : rebase_source : e7fe3b2da1c2e1a00c02828d220545c83dedd554
2014-02-15 22:12:34 +01:00