Commit Graph

64 Commits

Author SHA1 Message Date
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
Peter Van der Beken
7741df1efa Back out 75c95dac7fe0 (bug 984497) and f1b0d3d13755 (bug 990475) to fix bustage on a CLOSED TREE.
--HG--
extra : rebase_source : a63315cd428faeb95464f6ad76946d1c0c6d36c3
2014-04-07 22:18:53 +02:00
Peter Van der Beken
03d7e2e20f 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 : f21f16a257d39a108233dd8106b33543110df9b5
2014-02-05 22:09:18 +01:00
Boris Zbarsky
e10e715648 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
bc04650f1b Bug 984495 - Add Window.onwheel to WebIDL. r=bz.
--HG--
extra : rebase_source : 3ab4bcb83696de8dffda3d216043438c6d1e3332
2014-02-15 22:12:33 +01:00
Ed Morley
a6281e4423 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
f9600ddc3b Bug 984495 - Add Window.onwheel to WebIDL. r=bz. 2014-02-15 22:12:33 +01:00
Ehsan Akhgari
0f3af82c2d Bug 983920 - Port window.sidebar and window.external to WebIDL; r=bzbarsky 2014-03-28 00:03:03 -04:00
Andrea Marchesini
80210d8dab Bug 965860 - patch 2 - ConsoleAPI written in C++, r=bz 2014-02-27 23:39:00 +00:00
Boris Zbarsky
9fd5b838b1 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
aeab0a83a7 Back out ab395abf96b9:837481767455 (bug 972312) for Windows build bustage
CLOSED TREE
2014-02-22 21:39:13 -08:00
Boris Zbarsky
a74668e111 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
Boris Zbarsky
e15f10d52f Bug 973905. setTimeout/setInterval with a string first arg but more than two arguments should still work (and ignore the extra arguments). r=smaug 2014-02-19 10:13:38 -05:00
Boris Zbarsky
2166b04394 Bug 970764. Remove support for non-optional "any" arguments values, since "any" needs to be able to include undefined anyway. Have "any" arguments and dictionary entries default to undefined unless the IDL explicitly says "= null". r=khuey 2014-02-19 10:13:38 -05:00
Ms2ger
b27251ab25 Bug 964192 - Remove the required argument to captureEvents/releaseEvents; r=bz 2014-02-09 09:04:39 +01:00
Boris Zbarsky
eeb237d028 Bug 964875 part 3. Define WebIDL quickstubs for ChromeWindow. r=peterv 2014-02-05 23:37:30 -05:00
Boris Zbarsky
a756bb64f1 Bug 964875 part 1. Add a WebIDL ChromeWindow interface for use in instanceof once Window is on WebIDL bindings. r=peterv 2014-02-05 23:36:57 -05:00
Masatoshi Kimura
b2599eeeaf Bug 964964 - Remove window.pkcs11. r=bz 2014-01-30 20:00:01 +09:00
Boris Zbarsky
c1480f74ad Bug 945416 part 5. Implement nsGlobalWindow::GetOwnPropertyNames and flag the interface as NeedNewResolve. r=peterv 2014-01-29 22:33:27 -08:00