Commit Graph

8371 Commits

Author SHA1 Message Date
William Chen
e50e0d25cd Bug 887541 - Implement web components event path and event retargeting. r=smaug 2014-08-26 20:19:56 -07:00
Nicholas Nethercote
8b3951c20f Bug 1057912 - Privatize most of PLDHashTable's fields. r=roc.
--HG--
extra : rebase_source : 0f55e70b63d9c191fbd9418cb1177ff534deeed9
2014-08-25 16:56:33 -07:00
Matt Woodrow
9d7154f323 Bug 936690 - Remove nsIContentView and nsIContentViewManager. r=roc 2014-08-27 10:56:24 +12:00
Ting-Yu Chou
24b1200954 Bug 1057065 - Remove obsolete code causes extra preallocated process to complement the patch of bug 1033618. r=khuey
--HG--
extra : rebase_source : 243e1288e44bd1d6560bdf8de479af0f9888f95e
2014-08-26 10:22:21 +08:00
Kearwood (Kip) Gilbert
95a74cd0af 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
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
Johnny Stenback
ace9b5b5e9 Bug 798188. Use NS_WRAPPERCACHE_INTERFACE_TABLE_ENTRY in table based QI implementations. r=peterv
---
 content/base/src/Attr.cpp                                  | 2 +-
 content/base/src/DOMRect.cpp                               | 2 +-
 content/base/src/FragmentOrElement.cpp                     | 2 +-
 content/base/src/nsContentList.cpp                         | 2 +-
 content/base/src/nsDOMAttributeMap.cpp                     | 2 +-
 content/base/src/nsDocument.cpp                            | 2 +-
 content/html/content/src/HTMLFormControlsCollection.cpp    | 2 +-
 content/html/content/src/HTMLOptionsCollection.cpp         | 2 +-
 content/html/content/src/HTMLPropertiesCollection.cpp      | 4 ++--
 content/html/content/src/HTMLTableElement.cpp              | 2 +-
 content/media/webspeech/synth/SpeechSynthesisUtterance.cpp | 1 -
 dom/events/PaintRequest.cpp                                | 2 +-
 dom/xbl/XBLChildrenElement.cpp                             | 2 +-
 13 files changed, 13 insertions(+), 14 deletions(-)
2014-08-25 16:21:35 -07:00
Wes Kocher
7c1ccc24c1 Backed out changeset 59f193167901 (bug 1049758) for build bustage on a CLOSED TREE 2014-08-25 14:26:12 -07:00
Trevor Saunders
1338ffb134 bug 1049758 - fixup copy and move ctors for children iterators r=wchen 2014-08-06 14:21:28 -04:00
Ryan VanderMeulen
04c90e50f6 Merge m-c to inbound. a=merge 2014-08-25 16:28:25 -04:00
Ryan VanderMeulen
1fb03239fc Merge m-c to b2g-inbound. a=merge
CLOSED TREE
2014-08-25 13:07:41 -04:00
Ryan VanderMeulen
f1e20fb689 Merge inbound to m-c. a=merge
CLOSED TREE
2014-08-25 11:49:37 -04:00
Andrea Marchesini
733f01834b Bug 1055467 - Rename MozNamedAttrMap to NamedNodeMap, r=smaug
--HG--
rename : dom/webidl/MozNamedAttrMap.webidl => dom/webidl/NamedNodeMap.webidl
2014-08-25 10:25:34 +01:00
Georgios Kontaxis
8670ec571e Bug 1043803: checkIdentity following onSecurityChange now shows doorhanger on STATE_LOADED_MIXED_ACTIVE_CONTENT. Doorhanger now acknowledges this new state. r=adw 2014-08-22 20:26:03 -07:00
Georgios Kontaxis
937ebf1ae6 Bug 1043797: extended popup notifications to create a generic doorhanger for all security notifications incl. mixed content r=adw
--HG--
rename : browser/themes/linux/mixed-content-blocked-16.png => browser/themes/linux/bad-content-blocked-16.png
rename : browser/themes/linux/mixed-content-blocked-64.png => browser/themes/linux/bad-content-blocked-64.png
rename : browser/themes/osx/mixed-content-blocked-16.png => browser/themes/osx/bad-content-blocked-16.png
rename : browser/themes/osx/mixed-content-blocked-16@2x.png => browser/themes/osx/bad-content-blocked-16@2x.png
rename : browser/themes/osx/mixed-content-blocked-64.png => browser/themes/osx/bad-content-blocked-64.png
rename : browser/themes/osx/mixed-content-blocked-64@2x.png => browser/themes/osx/bad-content-blocked-64@2x.png
rename : browser/themes/windows/mixed-content-blocked-16.png => browser/themes/windows/bad-content-blocked-16.png
rename : browser/themes/windows/mixed-content-blocked-64.png => browser/themes/windows/bad-content-blocked-64.png
2014-08-22 15:34:25 -07:00
Wes Kocher
02017e20ed Merge inbound to m-c a=merge 2014-08-22 16:47:32 -07:00
Botond Ballo
9a24fd35ae Bug 1053975 - Take device scale into account when calculating default viewport size. r=kats,mbrubeck 2014-08-15 11:58:03 -04:00
Ted Clancy (:tedders1)
d6e1da2ebe Bug 1055427 - Add KillChild() method to nsIMessageManager. r=sicking
Patch originally from bug 1000313.
2014-08-12 08:59:47 -04:00
C.J. Ku
ee84378b54 Bug 974242 - Bring FullZoom into nsDocument::GetViewportInfo. r=mbrubeck, r=kats
--HG--
extra : rebase_source : 4fd84defb47c9eb5bcea849fde61e6e09dc5e9a3
2014-08-10 02:50:07 +08:00
Christoph Kerschbaumer
ef6c463f47 Bug 1049289 - CSP: Test that fragments are stripped in csp-reports (r=sstamm) 2014-08-07 12:51:50 -07:00
Christoph Kerschbaumer
f36c70b281 Bug 1049289 - CSP: Strip uri fragments before sending csp-reports (r=sstamm) 2014-08-05 16:12:16 -07:00
Christoph Kerschbaumer
e25473a9a7 Bug 1053028 - Remove remaining relicts of deprecated X-CSP header (r=sstamm) 2014-08-12 21:15:56 -07:00
Trevor Saunders
86b7aff8fc 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
Matt Woodrow
4d7eebfb5f Bug 1056427 - Stop PRenderFrame from managing PLayerTransaction since it hasn't worked since the layers refactoring. r=roc
--HG--
extra : rebase_source : 38c86648bb8e59a6b992bd377acb9aacb418c98b
2014-08-22 12:16:44 +12:00
Bobby Holley
354fc3883c Bug 981218 - Remove default compartment objects. r=luke
\o/
2014-08-21 17:13:51 -07:00
Bobby Holley
7b689eecfd Bug 1056271 - Switch to GetEntryGlobal in DOMParser::Init. r=smaug 2014-08-20 17:45:04 -07:00
Ryan VanderMeulen
655d07d1e0 Merge m-c to inbound. a=merge
CLOSED TREE
2014-08-20 16:23:04 -04:00
Ryan VanderMeulen
9767936074 Merge inbound to m-c. a=merge 2014-08-20 16:14:23 -04:00
Ed Morley
a04736e627 Merge mozilla-central and fx-team 2014-08-20 15:18:31 +01:00
Ed Morley
83a5064ff2 Merge latest green b2g-inbound changeset and mozilla-central; a=merge 2014-08-20 14:46:55 +01:00
Mike Conley
72420563c2 Bug 961362 - DOM Fullscreen API support for e10s. r=smaug,billm. 2014-08-19 16:58:00 -04:00
Ryan VanderMeulen
455e48bbde Merge inbound to m-c. a=merge 2014-08-19 16:09:47 -04:00
Fabrice Desré
3c97fffc91 Bug 899322 - Convert the mozApps API to use webidl r=marco,bholley 2014-08-19 09:30:54 -07:00
Lynn Tran
36bc853044 Bug 1041335 - Add a mozilla::services getter for nsIServiceWorkerManager; r=ehsan 2014-08-18 21:13:14 -04:00
Bill McCloskey
6fe00b051a Bug 1050360 - Fix script blocker warning (r=smaug) 2014-08-19 17:24:55 -07:00
Ryan VanderMeulen
476e0aef44 Merge m-c to inbound. a=merge 2014-08-19 16:25:33 -04:00
Botond Ballo
1d16def11d Bug 923512 - Introduce strongly-typed coordinate classes. r=kats,Bas
--HG--
extra : rebase_source : 22e5fe577ea503aede765c70e16c0bf875c4a9fd
2014-08-19 13:08:16 -04:00
Junior Hsu
57c101009b Bug 1005818 - Part 2: Only limited browser API are available to a widget. r=kanru
1. Add |ownerIsWidget| in nsIFrameLoader.idl
2. Add |GetReallyIsWidget| in nsIMozBrowserFrame.idl
3. Hide the methods of browser API of a widget
4. Hide security-sensitive mozbrowser events of a widget
2014-08-19 15:14:22 +01:00
Junior Hsu
e84ab195da Bug 1005818 - Part 1: Load a widget as an app if the |src| is in the |widgetPages|. r=fabrice, sr=sicking
1. Add permission |embed-widgets| and Element attribute |mozwidget|
2. Add |hasWidgetPage| in /mozIApplication.idl
3. Check permission |embed-widgets| and the |src| is in the |widgetPages| when |GetAppManifest|
4. Add test case
5. Should enable preference |dom.enable_widgets|
2014-08-19 15:14:08 +01:00
Ed Morley
0a2146dfad Backed out changeset e020d647d6d3 (bug 1005818) for exceptions during test_widget.html 2014-08-19 15:06:12 +01:00
Ed Morley
f049ad3ce3 Backed out changeset e71a3cac1b3d (bug 1005818) 2014-08-19 15:05:51 +01:00
Kyle Machulis
754f812274 Bug 1055898 - Readd include of nsIContent.h to nsINodeList.h; r=bz 2014-08-19 19:32:25 -07:00
Bobby Holley
115b664102 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
2bbc0ff149 Bug 796938 - Switch nsGlobalWindow::Focus to GetEntryGlobal and eliminate nsContentUtils::GetWindowFromCaller. r=smaug 2014-08-19 12:02:05 -07:00
Bobby Holley
16c18914d9 Bug 951991 - Implement GetEntryGlobal. r=smaug 2014-08-19 12:02:05 -07:00
Christoph Kerschbaumer
f9f3b04dc6 Bug 1045902: CSP - log warning and ignore 'reflected-xss' directive (r=grobinson)
--HG--
extra : rebase_source : 9625060894079debd9cee8bc50bdc3b3be1ee18f
2014-07-31 22:24:07 -07:00
Bill McCloskey
8652680f22 Bug 1052093 - Child->parent CPOWs should go through COWs in the parent for security (r=bholley) 2014-08-20 12:49:10 -07:00
Junior Hsu
368a85c7f6 Bug 1005818 - Part 2: Only limited browser API are available to a widget. r=kanru
1. Add |ownerIsWidget| in nsIFrameLoader.idl
2. Add |GetReallyIsWidget| in nsIMozBrowserFrame.idl
3. Hide the methods of browser API of a widget
4. Hide security-sensitive mozbrowser events of a widget
2014-08-04 09:06:26 +08:00
Junior Hsu
518ff2f66d Bug 1005818 - Part 1: Load a widget as an app if the |src| is in the |widgetPages|. r=fabrice, sr=sicking
1. Add permission |embed-widgets| and Element attribute |mozwidget|
2. Add |hasWidgetPage| in /mozIApplication.idl
3. Check permission |embed-widgets| and the |src| is in the |widgetPages| when |GetAppManifest|
4. Add test case
5. Should enable preference |dom.enable_widgets|
2014-07-03 13:47:09 +08:00
Ted Clancy (:tedders1)
965c41bed7 Bug 1000315 - Part 8: Various tests skip uninstall prompt. r=sicking 2014-06-12 09:53:54 -07:00