gecko-dev/dom
Emilio Cobos Álvarez d36c96ab4c Bug 1612068 - Move zoom from the content viewer to the browsing context. r=nika
We need it to live in BrowsingContext instead of WindowContext, because
we need to preserve the zoom level across same-origin navigation.

It'd be nice if it only lived in the top BC, but that's not possible at
the moment because a lot of tests rely on zooming only iframes. Some of
them can be adjusted for scaling the top instead, but not sure it's
worth it's worth fixing them and moving the zoom to be top-only, as it'd
be a bunch of effort, and the complexity and overhead of propagating the
zoom is not so big.

The print-preview-specific code in nsContentViewer is from before we did
the document cloning setup, and it seems useless. I've tested print
preview scaling before and after my patch and both behave the same.

The rest is just various test changes to use the SpecialPowers APIs or
BrowsingContext as needed instead of directly poking at the content
viewer.

I named the pres context hook RecomputeBrowsingContextDependentData, as
more stuff should move there like overrideDPPX and other media emulation
shenanigans.

I also have some ideas to simplify or even remove ZoomChild and such,
but that's followup work.

Differential Revision: https://phabricator.services.mozilla.com/D71969
2020-04-22 19:32:52 +00:00
..
abort Bug 1549945 - Avoid the need for import-globals-from when (x)html files load scripts via /tests/. r=mossop 2020-04-20 16:15:11 +00:00
animation
audiochannel
base Bug 1612068 - Move zoom from the content viewer to the browsing context. r=nika 2020-04-22 19:32:52 +00:00
battery
bindings Bug 1425450 - Ensure that we call Drop/HoldJSObjects when a preserved wrapper is changed for one in a different zone r=mccr8 2020-04-20 17:08:14 +00:00
broadcastchannel Bug 1549945 - Avoid the need for import-globals-from when (x)html files load scripts via /tests/. r=mossop 2020-04-20 16:15:11 +00:00
browser-element Backed out 19 changesets (bug 1602318) for causing multiple failures 2020-04-21 03:46:41 +03:00
cache Bug 1628076 - Ensure sFactory alive while it is calling Abort; r=dom-workers-and-storage-reviewers,asuth 2020-04-21 19:57:46 +00:00
canvas Backed out 2 changesets (bug 1625500) for multiple failures on a CLOSED TREE 2020-04-17 15:36:05 +03:00
chrome-webidl Bug 1612068 - Move zoom from the content viewer to the browsing context. r=nika 2020-04-22 19:32:52 +00:00
clients Bug 1631234 - Part 2: Moving the setting of the 'HasStoragePermission' before the first check of the storage access in nsGlobalWindowOuter::SetNewDocument(). r=baku 2020-04-22 14:49:22 +00:00
commandhandler
console Bug 1628728 - Change an assertion to a warning because it's possible to fail while initializing an URI; r=baku 2020-04-16 11:39:29 +00:00
credentialmanagement
crypto Bug 1614462: Part 2d - Fix tests that don't need to use mozbrowser. r=mccr8 2020-04-20 22:31:29 +00:00
debugger
docs Bug 1631358 - remove CPOW support in the message manager, r=mccr8 2020-04-21 14:07:57 +00:00
encoding
events Bug 1606885 - Add control+backspace/delete shortcut. r=geckoview-reviewers,snorp 2020-04-21 14:55:16 +00:00
fetch Bug 1618546 - give worker debugger globals their own clients r=asuth,webidl,smaug 2020-04-21 06:50:53 +00:00
file Bug 1614462: Part 2d - Fix tests that don't need to use mozbrowser. r=mccr8 2020-04-20 22:31:29 +00:00
filehandle
filesystem
flex
gamepad Bug 1631635 - Implement IsPositionEmulated for XRInputSource. r=kip,imanol 2020-04-21 11:17:34 +00:00
geolocation
grid
html Bug 1612068 - Move zoom from the content viewer to the browsing context. r=nika 2020-04-22 19:32:52 +00:00
imptests
indexedDB Bug 1536540 - Implement IDBCursor.request attribute. r=dom-workers-and-storage-reviewers,janv,webidl,baku 2020-04-23 08:38:57 +00:00
interfaces Bug 1625513 - Part 4: Don't require being in tabbrowser for subframe process switches, r=mattwoodrow,necko-reviewers,valentin 2020-04-21 22:33:14 +00:00
ipc Bug 1612068 - Move zoom from the content viewer to the browsing context. r=nika 2020-04-22 19:32:52 +00:00
jsurl
l10n Bug 1621674 - Update tests to use Localization WebIDL. r=jfkthame,Mardak 2020-04-10 23:35:58 +00:00
locales Bug 1628922 - Support landmark navigation in GeckoView. r=Jamie 2020-04-15 22:12:37 +00:00
localstorage
manifest
mathml
media Bug 1631963: Warn in web console about {sdpSemantics: plan-b} usage. r=bwc,emilio 2020-04-22 23:15:25 +00:00
messagechannel Bug 1631358 - remove CPOW support in the message manager, r=mccr8 2020-04-21 14:07:57 +00:00
midi
network Bug 1614462: Part 2d - Fix tests that don't need to use mozbrowser. r=mccr8 2020-04-20 22:31:29 +00:00
notification
offline
payments
performance
permission Bug 1363541 - Modernize the PermissionManager - part 4 - mozilla namespace, r=timhuang 2020-04-11 13:42:12 +00:00
plugins
power
presentation Bug 1614462: Part 3b - Remove moribund DocShell FrameType/IsMozBrowser/IsInMozBrowser fields. r=nika 2020-04-20 22:15:24 +00:00
prio
promise Bug 1624524 - Remove uses of wasmTextToBinary in non-JS shell tests. r=bbouvier 2020-04-10 21:28:19 +00:00
prototype
push Bug 1614462: Part 1 - Remove unused message principals. r=nika 2020-04-20 22:15:19 +00:00
quota
reporting Bug 1630947 - Update Reporting API - part 2 - tests for Workers, r=smaug 2020-04-18 12:26:15 +00:00
res
script Bug 1628842 give up on reporting off-main-thread exceptions when global creation fails r=baku 2020-04-17 04:10:43 +00:00
security Backed out 19 changesets (bug 1602318) for causing multiple failures 2020-04-21 03:46:41 +03:00
serviceworkers Bug 1630947 - Update Reporting API - part 2 - tests for Workers, r=smaug 2020-04-18 12:26:15 +00:00
simpledb
smil
storage
svg Bug 1632207 - Intermittent bustage failure: member access into incomplete type 'mozilla::dom::DOMSVGLength' r=emilio 2020-04-22 17:26:16 +00:00
system
tests Bug 1612068 - Move zoom from the content viewer to the browsing context. r=nika 2020-04-22 19:32:52 +00:00
u2f
url
vr Bug 1631635 - Implement IsPositionEmulated for XRInputSource. r=kip,imanol 2020-04-21 11:17:34 +00:00
webauthn
webbrowserpersist Bug 1576188 - Handle save-as for cross process iframes. r=peterv 2020-04-23 13:56:26 +00:00
webgpu Bug 1630813 - Remove gfx/wgpu/wgpu-native, move wgpu-remote out into gfx/wgpu_bindings r=jgilbert 2020-04-22 15:35:13 +00:00
webidl Bug 1576188 - Handle save-as for cross process iframes. r=peterv 2020-04-23 13:56:26 +00:00
websocket Bug 1631380 - Fixed blank upgrade message on HTTPS Only Mode websocket upgrade. r=ckerschb 2020-04-20 16:41:16 +00:00
workers Bug 1618546 - give worker debugger globals their own clients r=asuth,webidl,smaug 2020-04-21 06:50:53 +00:00
worklet Bug 1631713 - Align the maximum memory usage of worklets on workers. r=karlt 2020-04-23 05:17:04 +00:00
xhr Bug 1618546 - give worker debugger globals their own clients r=asuth,webidl,smaug 2020-04-21 06:50:53 +00:00
xml
xslt
xul Bug 1630704 - Merge nsBox into nsIFrame r=emilio 2020-04-18 12:06:09 +00:00
jar.mn
moz.build