Граф коммитов

629224 Коммитов

Автор SHA1 Сообщение Дата
Jan Henning 6011bbb22c Bug 1478776 - Part 6: Initial Visual Viewport event implementation. r=botond
The event rate throttling mechanism is modelled on the logic for "scroll" events
in nsGfxScrollFrame.cpp.

That is
1. When a request to fire an event is posted to the VisualViewport, we create a
   new runnable for this and register it with the RefreshDriver. If we already
   have a pending runnable, calling VisualViewport->Post...Event() becomes a
   no-op.
2. When the RefreshDriver is ready, it executes the runnable, which in turn
   fires the actual event and then cleans itself up.

To keep this patch manageable, we simply fire a scroll event every time the
stored visual viewport offset is changed. Because we are storing the absolute
offset of the viewport relative to the page, this behaviour doesn't match the
spec, which demands that scroll events are fired only when the relative offset
between visual and layout viewport changes. We'll fix this up in the next patch.

Differential Revision: https://phabricator.services.mozilla.com/D14043

--HG--
extra : moz-landing-system : lando
2018-12-20 21:35:26 +00:00
Jan Henning af9bb8e48e Bug 1478776 - Part 5: Define Visual Viewport event handlers. r=botond,Ehsan
As per https://wicg.github.io/visual-viewport/#the-visualviewport-interface.

Differential Revision: https://phabricator.services.mozilla.com/D14042

--HG--
extra : moz-landing-system : lando
2018-12-21 17:08:47 +00:00
Jan Henning dc15f822e0 Bug 1478776 - Part 4: Add basic tests for visual viewport events. r=botond
This will use the existing APZ basic pan/pinch-zoom tests to check that
scrolling/zooming will also generate the expected visual viewport events.

Because the various scroll-related events are throttled by the refresh driver
and only fire once per tick, merely flushing APZ repaints is no longer enough.
We now have to actually wait for the paints themselves, so we're sure that we've
had an opportunity to receive the corresponding events, too.

Differential Revision: https://phabricator.services.mozilla.com/D14041

--HG--
extra : moz-landing-system : lando
2018-12-20 21:35:04 +00:00
Jan Henning 3e9a58268b Bug 1478776 - Part 3: Forward todo/todo_is to APZ mochitests, too. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D14040

--HG--
extra : moz-landing-system : lando
2018-12-20 21:34:57 +00:00
Jan Henning 0455f90365 Bug 1478776 - Part 2: Add utility class for counting events. r=botond,masayuki
Differential Revision: https://phabricator.services.mozilla.com/D14039

--HG--
extra : moz-landing-system : lando
2018-12-20 21:34:50 +00:00
Jan Henning 7d3611429d Bug 1478776 - Part 1: Rewrite APZ panning test without callbacks. r=botond
I want to check that panning also triggers the appropriate scroll events, and
that will be easier without callbacks to worry about.
The test has been reorganised after the model given by helper_basic_zoom.html.

Differential Revision: https://phabricator.services.mozilla.com/D14038

--HG--
extra : moz-landing-system : lando
2018-12-20 21:34:43 +00:00
Mark Banner bdad30d68b Bug 1500486 - QuantumBar: Handle loading of non-urls entered in the new address bar. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D10346

--HG--
extra : moz-landing-system : lando
2018-12-21 16:58:47 +00:00
Eitan Isaacson 70e2a64ff1 Bug 1513912 - Null check return from TextToSpeech.getFeatures() r=agi
Differential Revision: https://phabricator.services.mozilla.com/D15158

--HG--
extra : moz-landing-system : lando
2018-12-21 15:28:05 +00:00
Shane Caraveo e194dff2bf Bug 1515153 - make osx attributions work with both utm and plain params, r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D14884

--HG--
extra : moz-landing-system : lando
2018-12-21 16:46:20 +00:00
Matthew Noorenberghe 5b6cacf4cc Bug 1515427 - Remove #ifndef RELEASE_OR_BETA guard on formautofill license references. r=mhoye
Differential Revision: https://phabricator.services.mozilla.com/D15009

--HG--
extra : moz-landing-system : lando
2018-12-21 15:58:20 +00:00
Gurzau Raul d939455801 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-21 18:39:42 +02:00
Gurzau Raul 55697e5bce Merge inbound to mozilla-central. a=merge 2018-12-21 18:36:36 +02:00
Margareta Eliza Balazs 5cb5823e4f Backed out changeset 3a328e80b02c (bug 1510860) for failures e.g.: dom/tests/mochitest/general/test_storagePermissionsLimitForeign.html CLOSED TREE 2018-12-21 18:31:20 +02:00
Margareta Eliza Balazs d5a7e1c3a5 Backed out changeset 338f4fbbfddf (bug 1515665) for bc failures browser/components/sessionstore/test/browser_339445.js CLOSED TREE 2018-12-21 18:29:48 +02:00
Margareta Eliza Balazs b1bfef86d6 Backed out changeset 6745799b8cbf (bug 1500486) for X1 perma failures in browser/components/extensions/test/xpcshell/test_ext_url_overrides_newtab.js CLOSED TREE 2018-12-21 18:13:07 +02:00
Margareta Eliza Balazs be60f2ecdd Backed out changeset a9a84d2e19ef (bug 1515015) for X perma failures in toolkit/components/places/tests/unit/test_telemetry.js CLOSED TREE 2018-12-21 18:11:55 +02:00
Dão Gottwald efd44eae02 Bug 1515902 - Introduce panel-footer class to fix common color problem with footer buttons. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D15188

--HG--
rename : toolkit/themes/shared/close-icon.inc.css => toolkit/themes/shared/global.inc.css
extra : moz-landing-system : lando
2018-12-21 15:44:44 +00:00
Margareta Eliza Balazs 7ef930fffa Backed out changeset 2eab9d9bd89e (bug 1514655) for geckoview-junit perma failures NavigationDelegateTest.loadData_noMimeType CLOSED TREE 2018-12-21 15:34:27 +02:00
longsonr e160f38d5f Bug 1515607 - Move nsSVGFE into the mozilla::dom namespace r=dholbert 2018-12-21 12:32:35 +00:00
longsonr f68bd8c718 Bug 1515705 - Rename NS_IMPL_NS_NEW_NAMESPACED_SVG_ELEMENT as all SVG elements are now namespaced r=dholbert 2018-12-21 11:43:29 +00:00
Emilio Cobos Álvarez 7cd760932e Bug 1513749 - Deduplicate NodesFromRect and Element(s)FromPoint. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D14358

--HG--
extra : moz-landing-system : lando
2018-12-21 11:00:47 +00:00
Emilio Cobos Álvarez 019dbe4244 Bug 1513749 - Rename and make nodesFromRect infallible. r=mats
This way it has a more WebIDL-like signature, which will be helpful in a second.

Differential Revision: https://phabricator.services.mozilla.com/D14357

--HG--
extra : moz-landing-system : lando
2018-12-21 11:00:38 +00:00
Emilio Cobos Álvarez c9c94f0ee1 Bug 1513749 - Move NodesFromRectHelper to DocumentOrShadowRoot. r=mats
We'll factor the commont bits out in a bit.

Differential Revision: https://phabricator.services.mozilla.com/D14356

--HG--
extra : moz-landing-system : lando
2018-12-21 11:30:28 +00:00
Emilio Cobos Álvarez 99521806a2 Bug 1513749 - Modernize a bit nsLayoutUtils::GetFrameForPoint / GetFrameForArea. r=mats
Also add an IsElement check in GetElementFromPoint in the APZ code since I think
the element cast is unsound in presence of Shadow DOM.

Differential Revision: https://phabricator.services.mozilla.com/D14355

--HG--
extra : moz-landing-system : lando
2018-12-21 11:22:07 +00:00
Jan Varga 2c3d7e1bb6 Bug 1510410 - Enable Next Generation Local Storage Implementation on Nightly; r=asuth 2018-12-21 11:54:53 +01:00
Daniel Holbert 234ebbeea8 Bug 695385: Add a mochitest to validate that cross-origin svg filters are blocked. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D13844

--HG--
rename : layout/reftests/filters.svg => layout/svg/tests/filters.svg
extra : moz-landing-system : lando
2018-12-21 06:46:19 +00:00
Ehsan Akhgari eeab7cf802 Bug 1510860 - Ensure that the cookie service checks the content blocking allow list even for first-party cookies since that's required when we're blocking all cookies; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D15109

--HG--
extra : moz-landing-system : lando
2018-12-21 11:47:18 +00:00
Ehsan Akhgari 0439cf3142 Bug 1515665 - Ensure that DOM Storage checks the content blocking allow list when performing storage access checks; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D15110

--HG--
extra : moz-landing-system : lando
2018-12-21 11:53:03 +00:00
Mark Banner 1e2dcbea63 Bug 1500486 - QuantumBar: Handle loading of non-urls entered in the new address bar. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D10346

--HG--
extra : moz-landing-system : lando
2018-12-21 14:31:08 +00:00
Andrew Halberstadt fea1d97f08 Bug 1436037 - [ci] Run mozbase and mozlint python-test tasks on OSX, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D14901

--HG--
extra : moz-landing-system : lando
2018-12-21 13:43:12 +00:00
Andrew Halberstadt 828485d8db Bug 1436037 - [taskgraph] Support OSX generic-worker in run-task, r=Callek
This enables OSX generic-worker based tasks to use the run-task script.

Differential Revision: https://phabricator.services.mozilla.com/D14900

--HG--
extra : moz-landing-system : lando
2018-12-21 13:43:04 +00:00
Dão Gottwald a90b373483 Bug 1515907 - Remove styling for unused XUL window "dialog" class. r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D15189

--HG--
extra : moz-landing-system : lando
2018-12-21 13:39:18 +00:00
Marco Bonardo 3ebdf2f1a9 Bug 1515015 - Quantum Bar results are messed up. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D14960

--HG--
rename : toolkit/components/places/tests/unifiedcomplete/data/engine-suggestions.xml => browser/components/urlbar/tests/unit/data/engine-suggestions.xml
extra : moz-landing-system : lando
2018-12-21 13:38:00 +00:00
Emilio Cobos Álvarez 5a57093928 Bug 1514655 - Always wrap plain text documents. r=bzbarsky
This matches other UAs.

Differential Revision: https://phabricator.services.mozilla.com/D14848

--HG--
extra : moz-landing-system : lando
2018-12-18 14:48:31 +00:00
Margareta Eliza Balazs 7dee48cc9b Backed out changeset 0564666f34b2 (bug 1507674) for crashtests in reftest/tests/dom/base/crashtests/1397795.html CLOSED TREE
--HG--
extra : amend_source : 0827eb3d6a4ed61ef99b71ad25d9b9170d23d63e
2018-12-21 12:58:34 +02:00
Mark Banner 925ccf2751 Bug 1515605 - Enable ESLint for dom/localstorage (manual changes). r=janv
Differential Revision: https://phabricator.services.mozilla.com/D15073

--HG--
extra : moz-landing-system : lando
2018-12-21 10:13:00 +00:00
Mark Banner e802d90ab3 Bug 1515605 - Enable ESLint for dom/localstorage (automatic changes). r=janv
Differential Revision: https://phabricator.services.mozilla.com/D15072

--HG--
extra : moz-landing-system : lando
2018-12-21 10:12:45 +00:00
Emilio Cobos Álvarez b2b62ed289 Bug 1507674 - Flush the overflow changed tracker earlier. r=jwatt
So we do it while we're still handling re-entrant changes for SVG, since SVG can
post change hints from UpdateOverflow().

Differential Revision: https://phabricator.services.mozilla.com/D12102

--HG--
extra : moz-landing-system : lando
2018-12-20 22:50:28 +00:00
Jan de Mooij ebf079a50a Bug 1515590 part 1 - Fix incorrect SandboxProxyHandler::getOwnPropertyDescriptor implementation. r=bzbarsky
The code was trying to implement the getOwnPropertyDescriptor trap in terms of
getPropertyDescriptor, by comparing the "holder" object we found to the object
we did the lookup on. This becomes buggy when wrappers like WindowProxy are involved.

The patch removes this check and calls JS_GetOwnPropertyDescriptor instead of
JS_GetPropertyDescriptor.

Differential Revision: https://phabricator.services.mozilla.com/D15091

--HG--
extra : moz-landing-system : lando
2018-12-20 20:41:58 +00:00
Margareta Eliza Balazs f43dfc843e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-21 11:42:32 +02:00
Margareta Eliza Balazs 413dd3a1fa Merge inbound to mozilla-central. a=merge 2018-12-21 11:37:24 +02:00
Petru Lingurar 4a9cd4dfff Bug 1513938 - Enforce a Bundle size limit and drop `privateSession` if exceeds it; r=JanH
The `privateSession` key would normally allow persisting the Private Browsing
session across OOMs in Activity's Bundle.
We need to do that to avoid storing private, sensible data on disk like we do
with the normal browsing session.

In some cases `privateSession` would contain a lot of data which, along with
other possible concurrent transactions could overflow Binder's buffer which has
a limited fixed size, currently 1Mb.
To avoid this, we will drop `privateSession` from the Bundle if the resulting
size is greater than a _speculative_ size of 300KBs which would mean that in
the case of an OOM all Private Browsing state would be lost.

Bug 1515592 is filed to investigate for a better solution.

Differential Revision: https://phabricator.services.mozilla.com/D15067

--HG--
extra : moz-landing-system : lando
2018-12-21 08:56:47 +00:00
James Teh f9cba89c57 Bug 1515294: Only use SendSyncTextChangeEvent for live regions. r=MarcoZ
In order to support IA2 live regions with e10s (bug 1322532), text change events sent from the child process to the parent process use sync IPC.
That comes at a slight performance cost: the content process is blocked until the parent returns from sending and handling the event.
However, there is no reason to do this if the event is not for an accessible inside a live region; current clients don't need the sync behaviour outside of live regions.

Differential Revision: https://phabricator.services.mozilla.com/D15183

--HG--
extra : moz-landing-system : lando
2018-12-21 09:16:38 +00:00
Cameron McCormack 115eddc306 Bug 1515800 - Rename some more GetCurrentTime methods to avoid winbase.h bustage r=birtles,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D15167

--HG--
extra : moz-landing-system : lando
2018-12-21 05:37:58 +00:00
Jan Varga 9f045e03d5 Bug 1513892 - Part 2: Cache usage in a standalone file; r=asuth
This patch significantly speedups origin initialization by having a special file
for current data usage.
2018-12-21 06:26:36 +01:00
Jan Varga 630b46cb1d Bug 1513892 - Part 1: Cache usage in the database table; r=asuth
This patch slightly speedups origin initialization by having a special column in
the database table for current data usage.
This patch also fixes a problem with length computation of some unicode strings.
2018-12-21 06:26:25 +01:00
Narcis Beleuzu fa87e17c27 Backed out 2 changesets (bug 1485016, bug 1512921) as requested by tjr.
Backed out changeset 61ae84746b34 (bug 1485016)
Backed out changeset 585f7d2135ee (bug 1512921)
2018-12-21 05:59:24 +02:00
Jason Laster 5ba21ddf61 Bug 1515644 - Update Debugger Frontend v110. r=davidwalsh 2018-12-20 22:41:52 -05:00
Jason Laster ca5568da3b Bug 1515644 - [release 110] Fix 6121 - Crop attributes and provide title after specified length (#7475). r=davidwalsh 2018-12-20 22:41:51 -05:00
Jason Laster e44bb87980 Bug 1515644 - [release 110] Invoke getter in the root object. (#7484). r=davidwalsh 2018-12-20 22:41:51 -05:00