Commit Graph

490 Commits

Author SHA1 Message Date
Valentin Gosu
2716c07b5f Bug 786419 - Part 11 - Address possible issues with offline notifications in nsGlobalWindow and WorkerPrivate r=bent
Part 2 of this bug adds nsGlobalWindow as an observer for the app-offline
notification. There are however a few corner cases we haven't handled.
For example: If the browser is offline, and an app is made offline,
there should be no offline event dispatched.
Also, WorkerPrivate should ignore offline events that cause no change
in its offline state.
2014-08-27 05:42:13 +03: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
94ec1727fe Bug 787070 - Expandos on the xray of DOM prototypes should have effect on xrays of DOM nodes, create the named properties object from the binding code. r=bz.
--HG--
extra : rebase_source : 9147c989b0f6b5791d3e98041029e730036c3892
2014-09-05 22:36:36 +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
David Zbarsky
741e046aa5 Bug 1042654: Remove nsISpeechSynthesisGetter r=bz 2014-09-05 23:33:40 -04:00
David Zbarsky
04feefd891 Bug 1042654: Remove nsIDOMWindowB2G r=bz 2014-09-05 23:33:39 -04:00
David Zbarsky
c3a5b2e651 Bug 1042654: Remove nsIDOMWindowPerformance r=bz 2014-09-05 23:33:37 -04:00
David Zbarsky
783bce0025 Bug 1042654: Remove nsIInlineEventHandlers r=bz 2014-09-05 23:32:50 -04:00
David Zbarsky
6813ce3dab Bug 1042654: Remove nsITouchEventReceiver r=bz 2014-09-05 23:32:49 -04: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
9edca3c9e4 Bug 1022818 - Part 2: Implement Smooth Scrolling. r=bz
- Updated ScrollTo method in nsGlobalWindow to accept a
  mozilla::dom::ScrollOptions parameter to select between the instant
  and smooth MSD motion.
- Updated WebIDL binding boilerplate scrolling functions in nsGlobalWindow
  to pass the correct value of mozilla::dom::ScrollBehavior to the
  implementation and functions, activating smooth scrolling.
- These functions will need to be updated again to support the scroll-behavior
  CSS property in Bug 1010538.

--HG--
extra : rebase_source : 7c9ce94d09fed5c4aea63442d683876c0a9a2e50
2014-08-05 15:01:34 -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
Bobby Holley
3f0858f342 Bug 951991 - Assert against calling GetCurrentInnerWindow on an inner. r=smaug
The current convention is that this returns null when invoked on an inner, which
callers may or may not handle correctly. But when we start using GetEntryGlobal,
we'll end up with a lot of inners where we used to get outers, so we should get
strict about this now.
2014-08-19 12:02:05 -07:00
Ed Morley
42cede9331 Backed out changeset 1a2dcc132344 (bug 1022818) for B2G failures in test_scroll_behavior.html; CLOSED TREE 2014-08-13 16:31:11 +01:00
Ed Morley
65c1fd3bbc Backed out changeset d24b367f3ac4 (bug 1022818) 2014-08-13 16:30:50 +01:00
Kearwood (Kip) Gilbert
0befdfe863 Bug 1022818 - Part 2: Implement Smooth Scrolling. r=bz
- Updated ScrollTo method in nsGlobalWindow to accept a
  mozilla::dom::ScrollOptions parameter to select between the instant
  and smooth MSD motion.
- Updated WebIDL binding boilerplate scrolling functions in nsGlobalWindow
  to pass the correct value of mozilla::dom::ScrollBehavior to the
  implementation and functions, activating smooth scrolling.
- These functions will need to be updated again to support the scroll-behavior
  CSS property in Bug 1010538.
2014-07-21 11:19:00 -04:00
Kearwood (Kip) Gilbert
cbede6f09b 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-07-21 11:04:00 -04:00
Andrea Marchesini
cc9b09f336 Bug 1043106 - StorageEvent should have the storageArea of the correct window, r=smaug 2014-08-13 14:56:25 +02:00
Ehsan Akhgari
beaa1d2306 Bug 1048247 - Fix more bad implicit constructors in DOM; r=smaug 2014-08-05 09:19:51 -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
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
Andrea Marchesini
3d909148b5 Bug 660237 - implement nsIDOMStorage with a proxy, r=bzbarsky, r=mayhemer 2014-07-23 01:07:12 -04:00
Boris Zbarsky
ef4d83b2a3 Bug 832014 part 3. Start using nsLocation for the Location interface in bindings. r=peterv 2014-07-11 19:30:27 -04:00
Benoit Jacob
18c3e0073a Bug 1035394 - Fix dangerous public destructors in dom - r=ehsan 2014-07-08 17:23:17 -04:00
Kyle Huey
a1d1526ae4 Bug 1031051: Part 5 - Migrate PopupBlockedEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:01 -07:00
Ms2ger
2e3f5e7be4 Bug 968804 - Part u: Add outer window assertions to OpenInternal; r=khuey 2014-06-29 17:36:03 +02:00
Ms2ger
6623cab112 Bug 968804 - Part t: Add outer window assertions to OpenNoNavigate; r=khuey 2014-06-29 17:36:03 +02:00
Ms2ger
65a727d2f1 Bug 968804 - Part s: Add inner window assertions to CloneStorageEvent; r=khuey 2014-06-29 17:36:03 +02:00
Ms2ger
91b523c2d5 Bug 968804 - Part q: Add inner window assertions to the gamepad methods; r=khuey 2014-06-29 17:36:02 +02:00
Ms2ger
a4e50b6951 Bug 968804 - Part p: Add outer window assertions to SetFullScreenInternal; r=khuey 2014-06-29 17:36:02 +02:00
Ms2ger
1aae0e2640 Bug 968804 - Part o: Add inner window assertions to RefreshCompartmentPrincipal; r=khuey 2014-06-29 17:36:01 +02:00
Ms2ger
8cacf106f9 Bug 968804 - Part n: Split nsGlobalWindow::GetFullScreen into a forwarding and an asserting part; r=khuey 2014-06-29 17:35:56 +02:00
Ms2ger
bd952bff39 Bug 968804 - Part m: Add outer window assertions to DispatchCustomEvent; r=khuey 2014-06-29 17:31:13 +02:00
Ms2ger
835be66476 Bug 968804 - Part l: Add outer window assertions to DispatchResizeEvent; r=khuey 2014-06-29 17:31:12 +02:00
Ms2ger
e1edc26347 Bug 968804 - Part k: Add outer window assertions to GetScrollXY; r=khuey 2014-06-29 17:31:12 +02:00
Ms2ger
59b3065756 Bug 968804 - Part h: Add inner window assertions to DefineArgumentsProperty; r=khuey 2014-06-29 17:31:09 +02:00
Benoit Jacob
ec742680c8 Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Boris Zbarsky
dfe8c38082 Bug 1009675 part 3. Return WebIDL 'object' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Boris Zbarsky
bc1e511e33 Bug 1009675 part 2. Return WebIDL 'any' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Peter Van der Beken
678d3c183c Bug 1018085 - "ASSERTION: Inner window supports nsWrapperCache, fix WrapObject!". r=bz
--HG--
extra : rebase_source : f988ef0d99419ac66064a03beaa51f4d2215f146
2014-06-06 14:54:35 +02:00
Vivien Nicolas
bc803a18da Bug 1015887 - Expose realFrameElement to Chrome JS. r=bholley 2014-06-04 20:11:05 +02:00
Ryan VanderMeulen
3d3ce28f0f 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
34a46b6121 Bug 1015887 - Expose realFrameElement to Chrome JS. r=bholley 2014-06-04 20:11:05 +02:00
Boris Zbarsky
da05bf53a8 Bug 989584. Allow sites to set window.opener to any value. r=peterv 2014-06-03 11:38:37 -04:00
Robert O'Callahan
cbb8fdebfc Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Ryan VanderMeulen
4a08636d20 Merge inbound to m-c on a CLOSED TREE. 2014-05-27 16:23:41 -04:00
Reuben Morais
978af66e3d Bug 952486 - Add a CheckPermissions extended attribute to WebIDL. r=bz 2014-05-25 15:31:07 -03:00