Commit Graph

71 Commits

Author SHA1 Message Date
Boris Zbarsky
ab3eb9686a 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
d09e61f5e2 bug 1155691 - Expose WindowRoot to chrome from window in webidl. r=smaug 2015-04-17 16:17:26 -04:00
Boris Zbarsky
2438ee5f63 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
b8f273580e 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
10aca51e67 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
f3914169a5 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
9cf7a26c3d Bug 1128479 - Update Crypto.webidl to recent interface changes r=smaug 2015-02-02 13:49:01 +01:00
Bobby Holley
b675e1b5c9 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
433d947f55 Bug 1058921 - Disable unsafe Window APIs in prerendering; r=jst 2015-01-05 13:43:43 -05:00
Boris Zbarsky
56b96aa115 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
c913a24c50 Bug 993026 - Rename NewResolve to Resolve in browser. r=bz 2014-11-08 01:07:12 +01:00
Kearwood (Kip) Gilbert
bcd6568c00 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
f85ee5a4d9 Bug 1017613 - Part 3 - fetch() IDL and stubs. r=baku 2014-07-24 18:30:07 -07:00
Peter Van der Beken
2e07413cc3 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. 2014-09-05 22:36:32 +02:00
Kearwood (Kip) Gilbert
4e5330166a 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
b8891f1f31 Bug 1017425. Make the "performance" attribute of Window [StoreInSlot]. r=peterv 2014-09-05 22:42:33 -04:00
Boris Zbarsky
bc8d29ad2f Bug 1017424 part 6. Remove the WindowOnWebIDL function. r=peterv 2014-09-05 14:28:45 -04:00
Birunthan Mohanathas
8e19f4d57e 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
b9eaa36e5a 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.
2014-08-05 15:01:32 -07:00
Boris Zbarsky
b0a271cb1b Bug 1017988 part 8. Add [Exposed] extended attributes as needed. r=khuey 2014-08-04 22:20:34 -04:00
Boris Zbarsky
e34e739bb8 Bug 1017988 part 6. Implement support for [PrimaryGlobal]. r=khuey 2014-08-04 22:20:34 -04:00
Boris Zbarsky
3cff8698b0 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
57a24b2480 Bug 987040 - Part 1: Implement mozbrowserselectionchange. r=vingtetun,ehsan,bugs. sr=bz 2014-07-28 01:21:00 +02:00
Boris Zbarsky
e4278a8810 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
479101350d 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
415826b1df Bug 1015887 - Expose realFrameElement to Chrome JS. r=bholley 2014-06-04 20:11:05 +02:00
Ryan VanderMeulen
6b57c0158f 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
aa84a8bffe Bug 1015887 - Expose realFrameElement to Chrome JS. r=bholley 2014-06-04 20:11:05 +02:00
Boris Zbarsky
2c6d0bf84a Bug 989584. Allow sites to set window.opener to any value. r=peterv 2014-06-03 11:38:37 -04:00
Tim Taubert
f7ac035918 Bug 990812 - Add nsIDOMChromeWindow.getGroupMessageManager() API r=smaug 2014-05-23 14:51:56 +02:00
Ms2ger
94d0adbdc2 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
3223bb1480 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
7be2a3838d 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
bc4827bfa6 Bug 1009529 - treat null features as '' features in window.open calls, r=bz 2014-05-13 19:08:34 +01:00
Mason Chang
773924dcae 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
bd6438b6a3 Bug 993710 - Don't return names when enumerating Navigator/Window if they wouldn't be resolved. r=bz. 2014-02-15 22:12:34 +01:00
Peter Van der Beken
71d5381f98 Bug 993688 - Mark Window.document StoreInSlot. r=bz. 2014-02-05 22:09:19 +01:00
Peter Van der Beken
24d04f8dba Bug 983619 - Add Window.getInterface/QueryInterface to WebIDL. r=bz. 2014-02-15 22:12:33 +01:00
Peter Van der Beken
d37f9810d3 Bug 990475 - Add WebIDL APIs for WindowModal. r=bz. 2014-02-05 22:09:18 +01:00
Peter Van der Beken
d4aa6f435d Back out 75c95dac7fe0 (bug 984497) and f1b0d3d13755 (bug 990475) to fix bustage on a CLOSED TREE. 2014-04-07 22:18:53 +02:00
Peter Van der Beken
c53e798e82 Bug 990475 - Add WebIDL APIs for WindowModal. r=bz. 2014-02-05 22:09:18 +01:00
Boris Zbarsky
0f3c8a4868 Bug 985536. Go back to allowing optional any with no default value in WebIDL, but treat it as having a default value of undefined. r=khuey 2014-04-03 23:32:11 -04:00
Peter Van der Beken
00947c52fb Bug 984495 - Add Window.onwheel to WebIDL. r=bz. 2014-02-15 22:12:33 +01:00
Ed Morley
755db10b01 Backed out changeset f86715f86157 (bug 984495) for something in the push causing test_bug470212.html failures; CLOSED TREE 2014-03-28 17:15:36 +00:00
Peter Van der Beken
71580ced45 Bug 984495 - Add Window.onwheel to WebIDL. r=bz. 2014-02-15 22:12:33 +01:00
Ehsan Akhgari
5d3695b5e5 Bug 983920 - Port window.sidebar and window.external to WebIDL; r=bzbarsky 2014-03-28 00:03:03 -04:00
Andrea Marchesini
44b5e2b14a Bug 965860 - patch 2 - ConsoleAPI written in C++, r=bz 2014-02-27 23:39:00 +00:00
Boris Zbarsky
7564ee2d22 Bug 973849. Allow clearInterval/clearTimeout calls with no arguments; just treat them as no-ops. r=smaug 2014-02-23 00:01:26 -05:00
Phil Ringnalda
c8f81b2893 Back out ab395abf96b9:837481767455 (bug 972312) for Windows build bustage
CLOSED TREE
2014-02-22 21:39:13 -08:00
Boris Zbarsky
e050628799 Bug 973849. Allow clearInterval/clearTimeout calls with no arguments; just treat them as no-ops. r=smaug 2014-02-23 00:01:26 -05:00