Commit Graph

2052 Commits

Author SHA1 Message Date
David Major
8e8ab01583 Bug 1078674: Add dummy method to nsIDOMNode to preserve FF34 vtable offsets. r=bz -- Re-land with correct bug number DONTBUILD
--HG--
extra : rebase_source : ddd35c35bb5d32e5b5fe68d5dc41eeb31a2ccb26
2014-11-14 10:32:24 +13:00
David Major
71f6d3cce4 Backed out changeset a03d97422b73 to re-land with correct bug number. DONTBUILD
--HG--
extra : rebase_source : bc48165bcabfdcc53175db9d6409093e86a12e86
2014-11-14 10:41:36 +13:00
David Major
5ece76f4e8 Bug 1078764: Add dummy method to nsIDOMNode to preserve FF34 vtable offsets. r=bz
--HG--
extra : rebase_source : 97f0c61140ac4600ab6f6e038d50240a7d476c8c
2014-11-14 10:32:24 +13:00
Benoit Girard
aa2eeb8ec1 Bug 1094442 - Part 1: Refactor how tile w/h is queried r=kats
--HG--
extra : rebase_source : 70ef00318a718e2ce3149955d2908615d6125cf3
2014-11-12 17:54:29 -05:00
Botond Ballo
c854025367 Bug 1076163 - Basic APZ support for css-driven resolution. r=kats,tn
This makes APZ behave nicely with most uses of a css transform:scale.

Summary of changes:
  - FrameMetrics::mCumulativeResolution now includes the css-driven resolution
    in addition to the pres-shell resolution.
  - Displayports are now stored in Screen pixels rather than Layer pixels.
    This is what we want anyways (as we'd like the displayport size to remain
    constant as a fraction of the screen size), but it was necessary to make
    this change as part of this patch because continuing to store them in
    Layer pixels in the presence of a css-driven resolution would have
    required a bunch of infrastructure to implement correctly.

Remaining work:
  - Layout painting a scrollable layer at a resolution different from the
    scale induced by the css transform causes problems. These will go away
    with bug 1076192.
  - Different resolutions on the x and y axes are not supported. This is
    tracked by bug 1039967.
2014-10-24 15:49:38 -04:00
Carsten "Tomcat" Book
8894f4319e Backed out changeset fbb9dc943109 (bug 1076163) for Android 4.0 Crashes on a CLOSED TREE 2014-11-13 11:47:57 +01:00
Botond Ballo
57adf459d4 Bug 1076163 - Basic APZ support for css-driven resolution. r=kats,tn
This makes APZ behave nicely with most uses of a css transform:scale.

Summary of changes:
  - FrameMetrics::mCumulativeResolution now includes the css-driven resolution
    in addition to the pres-shell resolution.
  - Displayports are now stored in Screen pixels rather than Layer pixels.
    This is what we want anyways (as we'd like the displayport size to remain
    constant as a fraction of the screen size), but it was necessary to make
    this change as part of this patch because continuing to store them in
    Layer pixels in the presence of a css-driven resolution would have
    required a bunch of infrastructure to implement correctly.

Remaining work:
  - Layout painting a scrollable layer at a resolution different from the
    scale induced by the css transform causes problems. These will go away
    with bug 1076192.
  - Different resolutions on the x and y axes are not supported. This is
    tracked by bug 1039967.
2014-10-24 15:49:38 -04:00
Christoph Kerschbaumer
ab97bec4cb Bug 1089912: Part 1, move csp into dom/security (r=sstamm,jst)
--HG--
rename : dom/base/nsIContentSecurityPolicy.idl => dom/interfaces/security/nsIContentSecurityPolicy.idl
rename : dom/base/nsCSPContext.cpp => dom/security/nsCSPContext.cpp
rename : dom/base/nsCSPContext.h => dom/security/nsCSPContext.h
rename : dom/base/nsCSPParser.cpp => dom/security/nsCSPParser.cpp
rename : dom/base/nsCSPParser.h => dom/security/nsCSPParser.h
rename : dom/base/nsCSPService.cpp => dom/security/nsCSPService.cpp
rename : dom/base/nsCSPService.h => dom/security/nsCSPService.h
rename : dom/base/nsCSPUtils.cpp => dom/security/nsCSPUtils.cpp
rename : dom/base/nsCSPUtils.h => dom/security/nsCSPUtils.h
2014-10-27 16:58:20 -07:00
Tomasz Kołodziejski
1a87a10585 Bug 1058116 - Pass referrer and isPrivate to openURIInFrame instead of nullptr as aOpener. r=mconley, r=smaug, r=Margaret, r=ally 2014-11-06 09:41:00 -05:00
Wes Kocher
077d7648c7 no bug - Fix merge conflict to help open this CLOSED TREE 2014-11-04 20:56:45 -08:00
Wes Kocher
a4e8fe7150 Merge m-c to inbound a=merge CLOSED TREE 2014-11-04 20:37:26 -08:00
Wes Kocher
052b085df2 Merge fx-team to m-c a=merge 2014-11-04 19:53:20 -08:00
Dave Townsend
57f0c49df2 Bug 1093048: Add a string overload to nsIDOMWindowUtils.removeSheet. r=bholley 2014-11-04 09:32:06 -08:00
Robert O'Callahan
7f0095de5c Bug 1083635. Part 4.2: Create nsDOMWindowUtils::UpdateLayerTree and use it to flush layers in reftest content processes instead of doing a DRAW_WIDGET_LAYERS drawWindow. r=mattwoodrow
--HG--
extra : rebase_source : b1db1f0171180ed0a7ca36f92653cb702124fc95
2014-11-04 17:05:44 +13:00
Gina Yeh
1d9d1f4c1f Bug 989198, Patch 2: Implementation of BeforeAfterKeyboardEvent, sr=smaug, r=masayuki. 2014-11-03 15:05:32 +08:00
Dave Townsend
36daaf9002 Bug 1089230: Add a string overload to nsIDOMWindowUtils.loadSheet. r=bholley 2014-10-31 11:48:52 -07:00
Peter Van der Beken
1dfb12501b Bug 1018658 - Convert XPathNSResolver to WebIDL bindings, remove nsIDOMXPathNSResolver. r=bz.
--HG--
extra : rebase_source : ea2b29ebafb830717bedee2ce80f46c92b270804
2014-10-14 16:27:25 +02:00
Peter Van der Beken
dbe4555527 Bug 1018658 - Convert XPathNSResolver to WebIDL bindings, remove nsIDOMXPathEvaluator::createNSResolver. r=bz.
--HG--
extra : rebase_source : efc7c5a5cc527b789e6c7d4460bbd388d9da77fe
2014-10-14 16:27:24 +02:00
Peter Van der Beken
643250e37e Bug 1018658 - Convert XPathNSResolver to WebIDL bindings, switch XPathNSResolver to WebIDL. r=bz.
--HG--
extra : rebase_source : 5edb613061b8d0dcb533ae6e1c3a5244e43dd545
2014-10-14 16:27:24 +02:00
Kartikaya Gupta
eea178f9b0 Bug 1078029 - Dispatch a dummy mouse event so that browser.js can pick up the event's retargeted target. r=wesj 2014-11-04 09:53:17 -05:00
Ryan VanderMeulen
f00e2738a4 Backed out 6 changesets (bug 989198, bug 1082963) for causing bug 1083231.
Backed out changeset a7c972407578 (bug 1082963)
Backed out changeset 94d1b30bde00 (bug 989198)
Backed out changeset 01e064ceb505 (bug 989198)
Backed out changeset f5a538109e36 (bug 989198)
Backed out changeset 3ff227d79d74 (bug 989198)
Backed out changeset 186743fc6f6d (bug 989198)

CLOSED TREE
2014-10-16 12:57:18 -04:00
Gina Yeh
303bfb5736 Bug 989198, Patch 2: Implementation of BeforeAfterKeyboardEvent, sr=smaug, r=masayuki.
---
 dom/events/BeforeAfterKeyboardEvent.cpp          |   92 ++++++++++++++++++++++
 dom/events/BeforeAfterKeyboardEvent.h            |   45 +++++++++++
 dom/events/EventDispatcher.cpp                   |    3 +
 dom/events/KeyboardEvent.cpp                     |   60 ++++++++------
 dom/events/KeyboardEvent.h                       |    8 +-
 dom/events/moz.build                             |    2 +
 dom/events/test/test_all_synthetic_events.html   |    4 +
 dom/interfaces/events/nsIDOMEvent.idl            |    7 ++
 dom/tests/mochitest/general/test_interfaces.html |   48 ++++++-----
 dom/webidl/BeforeAfterKeyboardEvent.webidl       |   24 ++++++
 dom/webidl/moz.build                             |    1 +
 11 files changed, 250 insertions(+), 44 deletions(-)
 create mode 100644 dom/events/BeforeAfterKeyboardEvent.cpp
 create mode 100644 dom/events/BeforeAfterKeyboardEvent.h
 create mode 100644 dom/webidl/BeforeAfterKeyboardEvent.webidl
2014-10-14 15:09:20 +08:00
Masayuki Nakano
d08404080c Bug 960871 part.7 Get rid of WidgetTextEvent r=smaug 2014-10-07 19:01:48 +09:00
Andrew Osmond
044342a2bc Bug 994912 - Add support for event-based notifications to media streams. r=roc, r=bz 2014-10-03 04:18:00 -04:00
Nick Lebedev
df62a59237 Bug 1055773 - Move hasAttributes method from Node to Element. r=bz 2014-10-01 10:16:00 +02:00
Ben Turner
d081140cb0 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-26 16:21:57 -07:00
Markus Stange
7d5a3be591 Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc
--HG--
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/basic/BasicPaintedLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/basic/BasicPaintedLayer.h
rename : gfx/layers/client/ClientThebesLayer.cpp => gfx/layers/client/ClientPaintedLayer.cpp
rename : gfx/layers/client/ClientThebesLayer.h => gfx/layers/client/ClientPaintedLayer.h
rename : gfx/layers/client/ClientTiledThebesLayer.cpp => gfx/layers/client/ClientTiledPaintedLayer.cpp
rename : gfx/layers/client/ClientTiledThebesLayer.h => gfx/layers/client/ClientTiledPaintedLayer.h
rename : gfx/layers/composite/ThebesLayerComposite.cpp => gfx/layers/composite/PaintedLayerComposite.cpp
rename : gfx/layers/composite/ThebesLayerComposite.h => gfx/layers/composite/PaintedLayerComposite.h
rename : gfx/layers/d3d10/ThebesLayerD3D10.cpp => gfx/layers/d3d10/PaintedLayerD3D10.cpp
rename : gfx/layers/d3d10/ThebesLayerD3D10.h => gfx/layers/d3d10/PaintedLayerD3D10.h
rename : gfx/layers/d3d9/ThebesLayerD3D9.cpp => gfx/layers/d3d9/PaintedLayerD3D9.cpp
rename : gfx/layers/d3d9/ThebesLayerD3D9.h => gfx/layers/d3d9/PaintedLayerD3D9.h
2014-09-26 13:06:08 -04:00
Tomasz Kołodziejski
e6d53b900b Bug 1058435 - Add removeAllDomainsSince to ContentPrefService2. r=adw 2014-09-19 14:24:00 -04:00
Ben Turner
46d101f40c Backout bug 994190 and merge over some stuff that landed afterwards on a CLOSED TREE. 2014-09-17 19:36:01 -04:00
Robert Bindar
1d7df22c6e Bug 912645 - Add notification behavior dict support. r=baku, sr=sicking 2014-09-16 17:12:00 -04:00
Vlatko Markovic
892881d00d Bug 1059194 - Trusted Hosted Apps, part 2: CSP infrastructure changes. r=sicking 2014-09-16 13:14:02 -07:00
Ben Turner
1a91d40956 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
--HG--
rename : dom/indexedDB/ipc/SerializationHelpers.h => dom/indexedDB/SerializationHelpers.h
rename : dom/indexedDB/ipc/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-child-process.js
rename : dom/indexedDB/test/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-parent-process.js
rename : dom/ipc/Blob.h => dom/ipc/BlobParent.h
rename : dom/ipc/FileDescriptorSetChild.cpp => ipc/glue/FileDescriptorSetChild.cpp
rename : dom/ipc/FileDescriptorSetChild.h => ipc/glue/FileDescriptorSetChild.h
rename : dom/ipc/FileDescriptorSetParent.cpp => ipc/glue/FileDescriptorSetParent.cpp
rename : dom/ipc/FileDescriptorSetParent.h => ipc/glue/FileDescriptorSetParent.h
rename : dom/ipc/PFileDescriptorSet.ipdl => ipc/glue/PFileDescriptorSet.ipdl
2014-09-13 12:12:19 -04:00
Tom Schuster
e9184faa0c Bug 1065574 - Remove UserDataHandler. r=smaug f=bz 2014-09-11 12:22:30 +02:00
Andrea Marchesini
7396255880 Bug 982728 - Implement ServiceWorkerGlobalScope unregister(), r=nsm 2014-09-10 11:21:32 -04:00
Andrea Marchesini
9a9a2da290 Bug 1065036 - nsIServiceWorkerManager.idl should be a builtinclass, r=nsm 2014-09-09 15:04:35 -04:00
David Zbarsky
87e75a12b3 Bug 1042654: Clean up XPIDL events r=bz 2014-09-05 23:33:40 -04: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
b03c146c49 Bug 880997 part 3. Change crossOrigin reflection to allow null values and be a limited enumerated attribute. r=smaug 2014-09-05 22:42:33 -04:00
Benoit Girard
f663585192 Bug 1057088 - Add a way to sync query compositor properties like overfill and HWC status. r=smaug,jrmuizel
--HG--
extra : rebase_source : 2791431bc77e939e78db3b888fc816c9d98294d3
2014-09-02 15:23:34 -04:00
Ryan VanderMeulen
f5859a2048 Merge inbound to m-c. a=merge 2014-09-03 16:38:57 -04:00
Nikhil Marathe
d185ce387a Bug 1057933 - ServiceWorkerRegistrations should use scope and not window to obtain workers. r=baku
--HG--
extra : rebase_source : 299337329af979f091fefd6b2d1ef202c547c5ed
2014-08-24 22:35:03 -07:00
Andrea Marchesini
51c5e60fe1 Bug 1025077 - Implement ServiceWorkerContainer.ready, r=nsm 2014-08-26 09:16:03 +01:00
Nikhil Marathe
231b875967 Bug 1057135 - ServiceWorkerManager::Register() uses entry global. r=ehsan
--HG--
extra : transplant_source : %B1%3F%EA%17%81%DB%D6%EC%8A%86%3C%EE%D7%A9x%C7%0B%CD2%A0
2014-08-21 16:31:12 -07:00
Nikhil Marathe
ac703e92cb Bug 1011268 - Unregister algorithm. r=ehsan
--HG--
extra : rebase_source : 134f7db35f039891775cf45a6bfd2146e03b8e75
2014-07-14 10:33:44 -07:00
Andrea Marchesini
401a133406 Bug 1002571 - Implement navigator.serviceWorker.getRegistrations. r=nsm 2014-08-20 11:40:00 -04:00
Robert Bindar
29ee85a120 Bug 899585 - Add custom data support in the Notification constructor r=baku 2014-08-20 17:56:12 -07:00