Commit Graph

1834 Commits

Author SHA1 Message Date
Bobby Holley
a3eec0372f Bug 951991 - Implement GetEntryGlobal. r=smaug 2014-08-19 12:02:05 -07:00
Bobby Holley
41099b29ec 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
Robert O'Callahan
6fb18233c7 Bug 1048752. Part 16: Move nsFrameSelection::HINT to CaretAssociationHint.h. r=tn
This patch started an attempt to remove nsFrameSelection.h from nsCaret.h
and metastasized into a rather large refactoring patch that removed it
from some other header files as well, and changed nsFrameSelection::HINT
into a global-scope enum with better names. I also converted bools
into CaretAssociationHint in a few places where that was appropriate,
but there are still some more places (GetChildFrameContainingOffset)
where bools need to be converted. I figured this patch was big enough already.
2014-08-06 17:19:27 +12:00
Robert O'Callahan
90936063c3 Bug 1048752. Part 9: Remove nsCaret.h from nsDisplayList.h. r=tn
I got tired of slow build turnarounds every time I modified nsCaret.h.
2014-08-06 17:19:25 +12:00
Bobby Holley
b2b763cb29 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
df43fcf12d Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage. 2014-08-14 17:23:10 -04:00
Bobby Holley
10dec58cfc Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 12:54:34 -07:00
David Keeler
29a08838b0 bug 1030963 - remove non-standard window.crypto functions/properties r=jst r=briansmith r=glandium 2014-08-14 09:38:42 -07:00
Seth Fowler
ea2c64d748 Bug 913586 (Part 4) - Update Maybe users in dom. r=bz 2014-08-13 15:39:41 -07:00
Ryan VanderMeulen
d7f4b8ae9c Merge inbound to m-c. a=merge 2014-08-13 15:30:49 -04:00
Morris Tseng
5ce3ce3e62 Bug 1020802 - Pass collapsed and reason information to selectionchange event. r=ehsan, sr=smaug 2014-08-10 20:37:00 -04:00
Ed Morley
9702026f90 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
2a450864b8 Backed out changeset d24b367f3ac4 (bug 1022818) 2014-08-13 16:30:50 +01:00
Andrea Marchesini
5489bf0c8d Bug 1043106 - part 2 - StorageEvent should have the storageArea of the correct window, r=smaug 2014-08-13 15:55:44 +02:00
Kearwood (Kip) Gilbert
9d4072cafa 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
6a38d7b8ed 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
af5dc593ba Bug 1043106 - StorageEvent should have the storageArea of the correct window, r=smaug 2014-08-13 14:56:25 +02:00
Ed Morley
e01eec6203 Merge latest green inbound changeset and mozilla-central; a=merge 2014-08-06 13:37:48 +01:00
Olli Pettay
d65779731f Bug 1026164, improve focus handling in shadow dom, r=wchen 2014-08-06 02:23:02 +03:00
Wes Kocher
40694b14ee Merge m-c to fx-team on a CLOSED TREE 2014-08-05 17:38:06 -07:00
Morris Tseng
9bfbe4bd2f Bug 1023041 - Part 1: Rename SetMouseDownState to SetDragState. r=roc 2014-08-04 00:26:00 -04:00
Masayuki Nakano
a2b2e249bb Bug 1046101 part.11 Rename NS_MOUSE_EVENT to eMouseEventClass r=smaug 2014-08-04 14:28:50 +09:00
Masayuki Nakano
5dac7e446a Bug 1046101 part.1 Rename nsEventStructType to mozilla::EventClassID r=smaug 2014-08-04 14:28:46 +09:00
Olli Pettay
257222326f Bug 1031303 - mContext can be null when nsGlobalWindow::SetNewDocument is called, r=jst 2014-07-31 23:15:57 +03:00
David Parks
139c04629a Bug 1009628 - Part 1: Need mozAfterRemotePaint event for remote iframes. r=smaug. 2014-05-23 11:19:00 -07:00
Mike Conley
10b8220690 Backed out changeset 249413f56629 (bug 1009628) for causing permanent orange. 2014-08-05 14:53:58 -04:00
David Parks
7501b52952 Bug 1009628 - Part 1: Need mozAfterRemotePaint event for remote iframes. r=smaug. 2014-05-23 11:19:00 -07: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
c61b847f2a Bug 987040 - Part 3: Toggle mozbrowserselectionchange api by selectioncaret.enabled pref. r=ehsan 2014-07-09 00:48:00 +02:00
Morris Tseng
d942a8259c Bug 987040 - Part 2: Add a flag indicate whether CollectClientRects should flush layout or not. r=ehsan 2014-07-23 23:06:00 +02: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
Andrea Marchesini
3da531b1e9 Bug 660237 - implement nsIDOMStorage with a proxy, r=bzbarsky, r=mayhemer 2014-07-23 01:07:12 -04:00
Trevor Saunders
7fdd19b194 bug 1036694 - merge nsIMarkupDocumentViewer into nsIContentViewer r=smaug 2014-07-09 17:27:49 -04:00
Carsten "Tomcat" Book
ed8c9deca7 Merge mozilla-central to fx-team 2014-07-16 16:01:26 +02:00
Benoit Girard
28eb7316ee Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel 2014-07-15 11:37:45 -04:00
Tim Taubert
93552370c0 Bug 1028187 - Enable IndexedDB for about:looppanel and about:loopconversation, sharing an origin r=bz 2014-07-03 17:16:08 -07:00
Boris Zbarsky
21faf74f6e Bug 832014 part 5. Add WebIDL API to nsLocation. r=peterv,bholley 2014-07-11 19:31:46 -04:00
Boris Zbarsky
e1bbb6de92 Bug 832014 part 3. Start using nsLocation for the Location interface in bindings. r=peterv 2014-07-11 19:30:27 -04:00
Ryan VanderMeulen
12ba108678 Backed out changeset 9cb84e8bbb30 (bug 1032415) for frequent Windows XP debug mochitest-other asserts.
CLOSED TREE
2014-07-03 20:53:31 -04:00
Kyle Huey
ab65749462 Bug 1032415: Mark nsGlobalWindow::GetContextForEventHandlers as inner only. r=smaug 2014-07-03 15:19:03 -07:00
Bobby Holley
d39c5e3b16 Bug 1032317 - Make CompartmentPrivate and XPCWrappedNativeScope accessors infallible. r=gabor 2014-07-03 09:40:52 -07:00
Wes Kocher
aef37bbdb1 Backed out 2 changesets (bug 1028187) for mochitest-oth orange
Backed out changeset 01cba8ff52dd (bug 1028187)
Backed out changeset caf43baf3306 (bug 1028187)
2014-07-02 17:29:33 -07:00
Tim Taubert
69e1263208 Bug 1028187 - Enable IndexedDB for about:looppanel and about:loopconversation, sharing an origin r=bz 2014-06-28 11:56:06 +02:00
Kyle Huey
47c93d32d7 Bug 1031051: Part 18 - Kill the old XPIDL-based event generator. r=smaug 2014-06-30 16:02:04 -07:00
Kyle Huey
bab0d74baa Bug 1031051: Part 17 - Manually implement CustomEvent. r=smaug
CustomEvent can't be generated because we still need the XPCOM interface which is used by a11y among others.
2014-06-30 16:02:04 -07:00
Kyle Huey
613c8132f4 Bug 1031051: Part 6 - Migrate PopStateEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:02 -07:00
Kyle Huey
1bb6f93545 Bug 1031051: Part 5 - Migrate PopupBlockedEvent to the WebIDL code generator. r=smaug 2014-06-30 16:02:01 -07:00
Kyle Huey
0154ffcaa1 Bug 1031051: Part 2 - Migrate HashChangeEvent to the WebIDL code generator. r=smaug 2014-06-30 16:00:31 -07:00