Commit Graph

5834 Commits

Author SHA1 Message Date
Wes Kocher
13400b0b51 Backed out changeset 1ed271ffb59c (bug 786419) bug causing bug 786419 a=backout 2014-08-26 16:34:46 -07:00
Birunthan Mohanathas
7fa30c0439 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
152d087c78 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
a38d0e6bab 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
Johnny Stenback
f60e5c28be Bug 798188. Add table version of NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY, and add an else at the end of NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY to avoid this breaking QI maps if used at the end of a map. r=peterv
---
 dom/base/nsWrapperCache.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
2014-08-25 16:21:35 -07:00
Ryan VanderMeulen
3b99d0fa33 Merge inbound to m-c. a=merge
CLOSED TREE
2014-08-25 11:49:37 -04:00
Jamin Liu
b39a9e2630 Bug 1032755 - Add NS_ERROR_MODULE_DOM_BLUETOOTH to nsError list and allow it to be used to create dom exception. r=smaug, f=dhylands, btian 2014-08-25 14:51:20 +08:00
Yoshi Huang
1e3f677215 Bug 1055477 - Part 1. Add CheckPermission. r=smaug
From 3c5b491a6dfeca7cd7e93b596f368f67b40d9632 Mon Sep 17 00:00:00 2001
---
 dom/base/Navigator.cpp   | 3 +--
 dom/webidl/MozNFC.webidl | 3 ++-
 2 files changed, 3 insertions(+), 3 deletions(-)
2014-08-19 18:43:57 +08:00
Trevor Saunders
b6b2d4b019 bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Bobby Holley
6c86c8eebd Bug 981218 - Remove default compartment objects. r=luke
\o/
2014-08-21 17:13:51 -07:00
Bobby Holley
6d9d935743 Bug 981218 - Stop using default compartment objects in nsJSUtils.cpp. r=bobowen 2014-08-21 17:13:50 -07:00
Bobby Holley
4ffa7535ad Bug 981218 - Remove the JSAutoCompartment from cx pushing. r=bobowen
By this point, AutoJSAPI takes care of entering the correct compartment, so this
no longer serves a purpose.
2014-08-21 17:13:50 -07:00
Bill McCloskey
8ddcf4f776 Bug 1053999 - Be more conservative in recursion checks before brain transplants (r=bholley) 2014-08-20 18:14:56 -07:00
Wes Kocher
cb80e496c9 Backed out changeset 2a9cfbab0adc (bug 1053999) for Windows build bustage on a CLOSED TREE 2014-08-20 16:08:04 -07:00
Bill McCloskey
9c46f9c743 Bug 1053999 - Be more conservative in recursion checks before brain transplants (r=bholley) 2014-08-20 15:16:07 -07:00
Bill McCloskey
113fe8bbe5 Bug 1051017 - Add browser.contentWindowAsCPOW and browser.contentDocumentAsCPOW (r=mconley,mrbkap) 2014-08-20 12:49:11 -07:00
John Daggett
d7cf8f6fad Bug 975744 - remove font features pref and enable features by default. r=dbaron 2014-08-20 16:54:35 +09:00
Andrea Marchesini
a37c54985b Bug 1043004 - Update ServiceWorkerContainer API to spec. r=bkelly 2014-08-19 09:56:00 -04:00
Bobby Holley
b24fd449b2 Bug 796938 - Remove GetDynamicScriptContext API. r=smaug 2014-08-19 12:02:08 -07:00
Bobby Holley
f17ede2b28 Bug 796938 - Switch to GetEntryGlobal in nsLocation::SetHrefWithBase. r=smaug
We leave this flag on the script context for now - we can move it somewhere
else later.
2014-08-19 12:02:08 -07:00
Bobby Holley
7af3b3dc36 Bug 796938 - Use GetEntryGlobal in NS_ScriptErrorReporter. r=smaug 2014-08-19 12:02:07 -07:00
Bobby Holley
e6c4bb6512 Bug 796938 - Use GetEntryGlobal in nsGlobalWindow::FireAbuseEvents. r=smaug 2014-08-19 12:02:07 -07:00
Bobby Holley
90903eaf82 Bug 796938 - Remove GetDynamicScriptGlobal API. r=smaug 2014-08-19 12:02:07 -07:00
Bobby Holley
f60683ae91 Bug 796938 - Switch nsLocation::GetSourceBaseURL to GetEntryDocument. r=smaug 2014-08-19 12:02:07 -07:00
Bobby Holley
97a2a1660d Bug 796938 - Switch to GetEntryDocument in GetDocumentCharacterSetForURI. r=smaug 2014-08-19 12:02:06 -07:00
Bobby Holley
680df539fd Bug 796938 - Switch to GetEntryGlobal in GetCallerDocShellTreeItem. r=smaug 2014-08-19 12:02:06 -07:00
Bobby Holley
ff7633a000 Bug 796938 - Switch nsGlobalWindow::SecurityCheckURL to GetEntryGlobal. r=smaug 2014-08-19 12:02:06 -07:00
Bobby Holley
026f51f0d3 Bug 796938 - Switch nsHTMLDocument::Open and XMLDocument::Load to a new GetEntryDocument API and remove nsContentUtils::GetDocumentFromContext. r=smaug 2014-08-19 12:02:06 -07:00
Bobby Holley
e1824e5875 Bug 796938 - Switch nsGlobalWindow::Focus to GetEntryGlobal and eliminate nsContentUtils::GetWindowFromCaller. r=smaug 2014-08-19 12:02:05 -07:00
Bobby Holley
a54113a4dd Bug 951991 - Implement GetEntryGlobal. r=smaug 2014-08-19 12:02:05 -07:00
Bobby Holley
759ee691ed 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
Peter Van der Beken
13cff2e385 Bug 1036186 - Reset Migration wizard no longer skips the first step to choose a browser. r=smaug.
--HG--
extra : rebase_source : 5fd0eed62b999eabf4a7a46300f4d74a6888b1f8
2014-08-08 15:03:29 +02:00
Valentin Gosu
88cded52b3 Bug 786419 - Provide way to "set network offline" per app r=jduell 2014-08-23 06:05:56 +03:00
Olli Pettay
399aa2e73d Bug 1057339 - nsGlobalWindow::Focus compares innerwindow to outerwindow, r=bz 2014-08-22 23:16:36 +03:00
Olli Pettay
ceb34d2d4a Bug 314095 - Eliminate nsIContent::GetDocument, r=jst
--HG--
extra : rebase_source : dd8f690940825b298a478b65b68a57418a9962ff
2014-08-22 23:11:27 +03:00
Chris Peterson
9a4d515b90 Bug 793978 - Alphabetize navigator.plugins and navigator.mimeTypes arrays to reduce fingerprintable entropy. r=bsmedberg 2012-09-18 00:56:14 -07:00
Bobby Holley
46195905c8 Bug 1052089 - Swap out the SafeJSContextGlobal for the new UnprivilegedJunkScope. r=billm 2014-08-18 10:57:30 -07:00
Bobby Holley
365f71849d Bug 1052089 - Rename JunkScope to PrivilegedJunkScope and remove fallibility of singleton scope access. r=billm
These two things ended up getting mushed together in my tree.
2014-08-18 10:57:30 -07:00
Nigel Babu
5c2d3b683b Backed out changeset 080926480632 (bug 878533) for build failure ON A CLOSED TREE 2014-08-18 08:59:01 +05:30
Vicamo Yang
8b38ef97d7 Bug 878533 - 1/2: move MozSmsFilter to webidl dictionary. r=smaug 2014-08-18 10:34:10 +08:00
Robert O'Callahan
480e49b672 Bug 1048752. Part 24: Rename and deCOM Set/GetCaretVisible. r=tn
--HG--
extra : rebase_source : 04249e9b22a62b8f2952515fa48f4ba3227e235e
2014-08-06 17:19:29 +12:00
Robert O'Callahan
fa5b26216e Bug 1048752. Part 17: Rename Get/SetCaretDOMSelection to Get/SetSelection. r=tn
The forward declaration of Selection in nsCaret.h will be used in later patches.

--HG--
extra : rebase_source : d1b749adac983c04d3365bb6bfb76a50101beeb5
2014-08-06 17:19:27 +12:00
Robert O'Callahan
f5dae9b41f 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.

--HG--
extra : rebase_source : cc618ef60e707e1360644340a2648de389383da0
2014-08-06 17:19:27 +12:00
Robert O'Callahan
ffa90e4968 Bug 1048752. Part 14: Split GetGeometry into a static and a non-static version. r=tn
GetGeometry is used in two different ways. Sometimes it's used to get
information about a particular caret. Sometimes it's used to get
information about a particular selection that's not associated with
a caret. Splitting GetGeometry into a non-static version for the former
and a static version for the latter makes this more clear. Also it saves
code since for the latter version we don't have to get an nsCaret first.

--HG--
extra : rebase_source : b7730dac56b308a82b79b175749234c9a92b6f59
2014-08-06 17:19:26 +12:00
Robert O'Callahan
1bdc990b47 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.

--HG--
extra : rebase_source : 0c4598c4881ab8de0a636b08c70fb801bb912247
2014-08-06 17:19:25 +12:00
Bobby Holley
f418beb13f Bug 1052052 - Convert AutoJSContext to AutoJSAPI. r=gabor
With this change, the only cx push left in the tree happens inside of AutoJSAPI. \o/
2014-08-14 18:47:16 -07:00
Bobby Holley
30602c16ab Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 18:47:15 -07:00
Bobby Holley
621ac36fa6 Bug 1052052 - Hoist AutoCxPusher into ScriptSettings.h. r=gabor 2014-08-14 18:47:15 -07:00
Jim Blandy
e0992b7ecd Bug 971673: Ensure mozilla::dom::ScriptSettingsStackEntry is only used as a base class: make its constructor protected. r=bholley 2014-08-14 16:23:15 -07:00
Ryan VanderMeulen
8c15c6ab96 Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage. 2014-08-14 17:23:10 -04:00