Commit Graph

82 Commits

Author SHA1 Message Date
Xidorn Quan
00ef18daf8 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
3e9cb8f2f7 Bug 1218152 - Make Window.caches and WorkerGlobalScope.caches SameObject; r=bzbarsky 2015-10-26 23:00:18 -04:00
William Chen
4ed8214258 Bug 920734 - Part 1: Implement window.orientation and window.onorientationchange. r=baku 2015-10-23 21:37:28 -07:00
Martin Thomson
41ff59de46 Bug 1155923 - Temporarily restoring moz-prefixed interface, r=jesup,smaug 2015-09-28 11:25:04 -07:00
Martin Thomson
8bcd9da010 Bug 1155923 - Removing moz prefix from RTC interfaces, r=jesup,smaug 2015-09-28 11:25:04 -07:00
Carsten "Tomcat" Book
525fa7a7b1 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
f983c46f34 Bug 1155923 - Temporarily restoring moz-prefixed interface. r=jesup, r=smaug 2015-09-24 16:31:47 -07:00
Martin Thomson
c7b8f20c03 Bug 1155923 - Removing moz prefix from RTC interfaces. r=jesup r=smaug 2015-09-24 16:31:47 -07:00
Florian Quèze
eab5ab85e4 Bug 862147 - instrument usage of window.sidebar.addSearchEngine, r=froydnj,smaug. 2015-09-23 12:05:37 +02:00
Kaku Kuo
1abe74c3a6 Bug 1044102 - Part 1 - Implement ImageBitmap. r=roc, sr=smaug 2015-07-30 20:47:00 +02:00
Boris Zbarsky
af8251d70c Bug 909154. Remove the prefixed mozRequestAnimationFrame and its accoutrements. r=bkelly 2015-07-20 10:14:24 -04:00
Boris Zbarsky
7c563264f9 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
e08259895a bug 1155691 - Expose WindowRoot to chrome from window in webidl. r=smaug 2015-04-17 16:17:26 -04:00
Boris Zbarsky
0b36359499 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
bffd1522ed 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
1ba6aaedda 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
561f878a42 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
448def84fa Bug 1128479 - Update Crypto.webidl to recent interface changes r=smaug 2015-02-02 13:49:01 +01:00
Bobby Holley
3dbd5bdc0d 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
db664f1211 Bug 1058921 - Disable unsafe Window APIs in prerendering; r=jst 2015-01-05 13:43:43 -05:00
Boris Zbarsky
30dbf04fde 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
107172fa13 Bug 993026 - Rename NewResolve to Resolve in browser. r=bz 2014-11-08 01:07:12 +01:00
Kearwood (Kip) Gilbert
98556f4e21 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
a255aa8f1c 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
367ae188db 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
96cd6da0ba 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
8f826da8c8 Bug 1017425. Make the "performance" attribute of Window [StoreInSlot]. r=peterv 2014-09-05 22:42:33 -04:00
Boris Zbarsky
501a1adccf Bug 1017424 part 6. Remove the WindowOnWebIDL function. r=peterv 2014-09-05 14:28:45 -04:00
Birunthan Mohanathas
2ddd4460bd 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
ec32c40364 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
c8e06d5e53 Bug 1017988 part 8. Add [Exposed] extended attributes as needed. r=khuey 2014-08-04 22:20:34 -04:00
Boris Zbarsky
e33a0d02ad Bug 1017988 part 6. Implement support for [PrimaryGlobal]. r=khuey 2014-08-04 22:20:34 -04:00
Boris Zbarsky
f36664672f 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
1cc1731ebe Bug 987040 - Part 1: Implement mozbrowserselectionchange. r=vingtetun,ehsan,bugs. sr=bz 2014-07-28 01:21:00 +02:00
Boris Zbarsky
21b57d7851 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
52b20d72e3 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
c3d13fd34a Bug 1015887 - Expose realFrameElement to Chrome JS. r=bholley 2014-06-04 20:11:05 +02:00
Ryan VanderMeulen
3a3ab13539 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
1d5d9aa7f3 Bug 1015887 - Expose realFrameElement to Chrome JS. r=bholley 2014-06-04 20:11:05 +02:00
Boris Zbarsky
6e440c0715 Bug 989584. Allow sites to set window.opener to any value. r=peterv 2014-06-03 11:38:37 -04:00
Tim Taubert
9e40bef2c0 Bug 990812 - Add nsIDOMChromeWindow.getGroupMessageManager() API r=smaug 2014-05-23 14:51:56 +02:00
Ms2ger
de668c9f03 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
8c61f72f11 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
a60e0561f2 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
00a8255ca1 Bug 1009529 - treat null features as '' features in window.open calls, r=bz 2014-05-13 19:08:34 +01:00
Mason Chang
fe741519a1 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
55e3ea6b39 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
Peter Van der Beken
ee04132a64 Bug 993688 - Mark Window.document StoreInSlot. r=bz.
--HG--
extra : rebase_source : 016a4cfc9945dd83b6f14d9ce6cc12e2cb5d6fe0
2014-02-05 22:09:19 +01:00
Peter Van der Beken
b1b187ea5d Bug 983619 - Add Window.getInterface/QueryInterface to WebIDL. r=bz.
--HG--
extra : rebase_source : 4a4f368ba4f84e6e5104522181eb3043efd7ed38
2014-02-15 22:12:33 +01:00
Peter Van der Beken
bb6025a8cb Bug 990475 - Add WebIDL APIs for WindowModal. r=bz.
--HG--
rename : content/media/webspeech/synth/test/test_setup.html => content/media/webspeech/synth/test/file_setup.html
rename : content/media/webspeech/synth/test/test_speech_queue.html => content/media/webspeech/synth/test/file_speech_queue.html
rename : content/media/webspeech/synth/test/test_speech_simple.html => content/media/webspeech/synth/test/file_speech_simple.html
extra : rebase_source : c2d23e5c973c117ab3fb66b2a98a451acfabc7e5
2014-02-05 22:09:18 +01:00