Commit Graph

667313 Commits

Author SHA1 Message Date
Masayuki Nakano
24835249e4 Bug 1574852 - part 28: Make methods collecting event target nodes take additional argument which can specify whether aOutArrayOfNodes includes non-editable nodes or not r=m_kato
`HTMLEditRules::GetListActionNodes()` removes non-editable element.  However,
this should've been done by collector methods.

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

--HG--
extra : moz-landing-system : lando
2019-08-25 04:11:06 +00:00
Masayuki Nakano
071b3d92c1 Bug 1574852 - part 27: Move first half of HTMLEditRules::GetListActionNodes() to HTMLEditor and each caller r=m_kato
First half of `HTMLEditoRules::GetListActionNodes()` does 2 things.  One is
trying to get parent list element of `Selection` ranges if `aEntireList` is
`EntireList::yes`.  If it found a list element, it does nothing anymore.
Otherwise, falls backs to `EntireList::no` case.  So, if each caller which
calls it with `EntireList::yes`, `GetListActionNodes()` does not need the
argument.  Therefore, this patch does it first.

Then, `GetListActionNodes()` calls
`CollectEditTargetNodesInExtendedSelectionRanges()` or
`SplitInlinesAndCollectEditTargetNodesInExtendedSelectionRanges()`.  It's
considered with `aTouchContent` is `yes` or `no`.  So, this should be done
by each caller for making it clearer.

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

--HG--
extra : moz-landing-system : lando
2019-08-25 03:45:34 +00:00
Masayuki Nakano
4b1fe5b646 Bug 1574852 - part 26: Move a part of HTMLEditRules::LookInsideDivBQandList() and remove the others r=m_kato
`HTMLEditRules::LookInsideDivBQandList()` does complicated things and I cannot
explain with a method name what it does.  Fortunately, there are only 2 callers.
Therefore, this patch duplicates the part of modifying the range and creates
a method to retrieve "deepest and only editable child of `<div>`, `<blockquote>`
and one of list items".

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

--HG--
extra : moz-landing-system : lando
2019-08-23 09:20:05 +00:00
Bogdan Tara
34cb8d0a2a Merge inbound to mozilla-central. a=merge 2019-08-25 12:42:11 +03:00
Cosmin Sabou
a876ab139c Bug 1575739 - Disable test on Android cause of frequent failures. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D43347

--HG--
extra : moz-landing-system : lando
2019-08-25 03:44:10 +00:00
Jan Varga
f4529437df Bug 1563023 - Part 9: Ignore quota cache if LSNG is disabled; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D39881

--HG--
extra : moz-landing-system : lando
2019-08-25 00:45:41 +00:00
Jan Varga
f4d108788b Bug 1563023 - Part 8: Ignore quota cache if the user loads the same profile in different builds; r=asuth
This patch adds support for quota cache invalidation if the profile is loaded in different builds.

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

--HG--
extra : moz-landing-system : lando
2019-08-25 00:45:19 +00:00
Jan Varga
3e97ea2f34 Bug 1563023 - Part 7: Implement caching functionality; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D38817

--HG--
extra : moz-landing-system : lando
2019-08-25 01:34:37 +00:00
Cosmin Sabou
6ce2570271 Bug 1574067 - Update test expectations on windows !debug cause of frequent failures. r=jgraham 2019-08-25 02:49:50 +03:00
Dorel Luca
27b852f164 Merge mozilla-central to mozilla-inbound 2019-08-25 00:57:57 +03:00
Dorel Luca
14d2add97a Merge mozilla-inbound to mozilla-central. a=merge 2019-08-25 00:51:13 +03:00
Markus Stange
2acd3fcf86 Bug 1576113 - Add a comment.
MANUAL PUSH: Backout and comment change that don't require a review and are somewhat time-critical: the backout fixes breakage in some local build scenarios.

--HG--
extra : rebase_source : 5230000ce88395794c272f0133e09979c70d526d
extra : amend_source : df014e518d27480c5b149acb8acaa0433565d483
2019-08-24 13:45:07 -04:00
Markus Stange
cb2f3a3c58 Bug 1576113 - Back out revision 2a82b5ce10e2 because it causes trouble when building with the 10.14 SDK.
The source of the trouble is our setContents override, which makes sure the window's
content view is the bottommost view in the window, and its interaction with a change
in behavior on 10.14, where windows that return YES from _wantsFloatingTitlebar will
contain an additional NSView for the window background. Our setContents override
moves the content view behind that window background view, which covers it with a
solid gray color.

--HG--
extra : amend_source : cd11d5c805de7054c3dfa3a1d5ae0f504f07116d
2019-08-24 13:50:57 -04:00
Nihanth Subramanya
fefa4770d3 Bug 1575813 - isAllowing state of Fingerprinting and Cryptomining categories shouldn't consider enabled state. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D43046

--HG--
extra : moz-landing-system : lando
2019-08-24 16:37:38 +00:00
Razvan Maries
74868f6da5 Backed out 2 changesets (bug 1569728) for Android 4.0 API16+ GeckoView multi-arch fat AAR opt build bustages.
Backed out changeset a420714ee262 (bug 1569728)
Backed out changeset d24ed38c76cd (bug 1569728)
2019-08-24 19:09:21 +03:00
Nathan Froyd
e8faea9e90 Bug 1569728 - build clang toolchains with GCC 7; r=mshal
We need this change so that the newly-built clang will have
C++17-compatible libstdc++ headers installed.  I believe this change
also means that the newly-built clang (and associated tools) links
against GCC 7's libstdc++, but we set RPATH or similar appropriately, so
there shouldn't be issues stemming from that.

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

--HG--
extra : moz-landing-system : lando
2019-08-24 13:51:57 +00:00
Nathan Froyd
faaa483c34 Bug 1569728 - manually instantiate some basic_string members for libstdc++ compat; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D41370

--HG--
extra : moz-landing-system : lando
2019-08-24 13:51:32 +00:00
Honza Bambas
eb406bc935 Bug 1562276 - Proper transaction restart on HTTP_1_1_REQUIRED and h2 proxy, r=dragana.
1. Unsticky connection from a transaction we disable SPDY on to restart
2. Call OnReadSegment from TLSFilterTransaction;FilterOutput to push written data out (renegotiation)
3. Break indefinite loop that may occur during renegotiation by propagating WOULD_BLOCK via mFilterReadCode

Differential Revision; https;\\phabricator.services.mozilla.com\D40409

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

--HG--
extra : moz-landing-system : lando
2019-08-24 13:21:37 +00:00
Bastien Orivel
88e5c4b00e Bug 1576361 - Update ipc-channel to 0.12 in webrender. r=emilio
While not used in firefox, this is required to update ipc-channel in
servo

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

--HG--
extra : moz-landing-system : lando
2019-08-24 12:22:26 +00:00
Ciure Andrei
0a6d4a24f8 Merge inbound to mozilla-central. a=merge 2019-08-24 12:51:09 +03:00
Ed Lee
3cf7e1697b Bug 1576284 - Add Firefox wordmark, protection template and bug fixes to New Tab Page r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D43310

--HG--
extra : moz-landing-system : lando
2019-08-24 06:35:25 +00:00
Sam Foster
294674d0c5 Bug 1575091 - Update _generatedPasswordsByPrincipalOrigin for auto-saved, generated-password login changes. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D43122

--HG--
extra : moz-landing-system : lando
2019-08-24 05:52:24 +00:00
Coroiu Cristina
07bbadf755 Backed out changeset 2aa1a97003cb (bug 1576284) for browser-chrome failures at browser/base/content/test/performance/browser_startup_mainthreadio.js 2019-08-24 08:00:00 +03:00
Alex Vincent
cec0c5cbdb Bug 1508169, Remove performAction* from nsITreeView.idl in mozilla-central. r=peterv, johannh
performAction, performActionOnRow and performActionOnCell are methods of the
nsITreeView interface that are never called.  This is to remove these methods.
A comm-central patch will be along shortly.

Differential Revision: https://phabricator.services.mozilla.com/D39273
2019-08-24 00:49:55 +02:00
Tijl Coosemans
9c3421dfef Bug 1575876 - Drop header unused on FreeBSD that breaks with new libc++. r=bwc
--HG--
extra : histedit_source : ef16b712dcd62120d01b902a5f734a8163c907a3
2019-08-24 01:38:05 +03:00
Emilio Cobos Álvarez
31c8224bf5 Bug 1561450 - Suppress scroll anchoring adjustments from scroll event listeners. r=dholbert
See https://github.com/w3c/csswg-drafts/issues/4239

This fixes what is in my opinion one of the biggest issues of scroll anchoring
as specified / currently implemented.

It's trivial to flush layout on a scroll handler and create scroll adjustments,
which in turn would trigger other scroll events to be fired. This situation,
which is what has happened in most of the scroll anchoring regressions I've
fixed, at best gets pages to get stuck in an infinite CPU loop. At worst, it
causes scrolling to be unusable because the page keeps reacting to scroll
events.

An alternative, slightly more elegant but not clear to me if 100% implementable
approach would be bug 1529702.

This should enormously reduce the need for scroll anchoring suppression
triggers[1], I'd think, which in turn would allow me to investigate removing
some of that complexity.

https://drafts.csswg.org/css-scroll-anchoring/#suppression-triggers

The setup to set / unset the boolean is a bit awkward but I couldn't come up
with anything better.

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

--HG--
extra : moz-landing-system : lando
2019-08-23 22:29:49 +00:00
Daniel Varga
31af6d3a35 Merge mozilla-central to mozilla-inbound 2019-08-24 00:53:11 +03:00
James Graham
d908e34f83 Bug 1574867 - Revert bogus metadata changes, a=testonly
MANUAL PUSH: wpt sync fixup
2019-08-23 22:30:47 +01:00
James Graham
1c5172350a Bug 1574867 - Update metadata for jsshell, a=testonly CLOSED TREE
MANUAL PUSH: wpt sync fixup
2019-08-23 19:39:24 +01:00
Narcis Beleuzu
9f23833df7 Bug 1575369 - Disable browser_ext_sidebarAction_incognito.js on Mac and Win10. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D43176

--HG--
extra : moz-landing-system : lando
2019-08-23 17:42:52 +00:00
Edwin Gao
ae04af04bb Bug 1576011 - set expectation for tests in gl1c for tests that pass in Debian 10 r=jmaher
Changes:
- when specifying `fail-if` condition for linux platform, narrow down the scope using Ubuntu version `16.04` since some tests are passing on Debian 10

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

--HG--
extra : moz-landing-system : lando
2019-08-23 17:41:16 +00:00
Geoff Brown
ef7b8347c1 Bug 1576025 - Increase chunks for windows ccov browser-chrome; r=intermittent-reviewers,egao
Differential Revision: https://phabricator.services.mozilla.com/D43234

--HG--
extra : moz-landing-system : lando
2019-08-23 17:37:27 +00:00
James Graham
d2d48465f6 Bug 1574867 - Revert bogus metadata changes, a=testonly
MANUAL PUSH: wpt sync fixup
2019-08-23 18:00:36 +01:00
moz-wptsync-bot
f57a044e39 Bug 1574867 - [wpt-sync] Update web-platform-tests to c1e89362cb351be0ea9239e38cf5830e104ba1f4, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: c1e89362cb351be0ea9239e38cf5830e104ba1f4
wpt-type: landing
2019-08-23 16:40:03 +00:00
Philip Jägenstedt
1d3ae2310f Bug 1574076 [wpt PR 18445] - [Azure Pipelines] Differentiate manual triggers for Edge Dev/Canary, a=testonly
Automatic update from web-platform-tests
[Azure Pipelines] Differentiate manual triggers for Edge Dev/Canary (#18445)

As it is, it's only possible to run both of them:
https://github.com/web-platform-tests/wpt/issues/17342#issuecomment-521534275

This also renames the Edge Dev job and artifacts so that Edge stable can
later be added without further renaming.

--

wpt-commits: c1e89362cb351be0ea9239e38cf5830e104ba1f4
wpt-pr: 18445
2019-08-23 16:40:02 +00:00
Edvard Thörnros
7169e0441c Bug 1574407 [wpt PR 18491] - Create new list for paced animation values, a=testonly
Automatic update from web-platform-tests
Create new list for paced animation values

SVGAnimationElement::calculateKeyTimesForCalcModePaced() used to
overwrite the data passed in by the user. This commit fixes the
issue and there are now two lists stored, one with the user data
and one with the key times for paced.

This is a bug fix and should only affect SVGAnimationElements,
there will be an increase in memory usage, especially for animation
intensive scenes. Can be avoided by changing to a CPU heavy approach,
but this will probably be more energy efficient for mobile devices.

Bug: 231525
Change-Id: Ief9bbb8c6d1133d0041ad2c8f5a3d63f9ddcde90
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1757825
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Commit-Queue: Edvard Thörnros <edvardt@opera.com>
Cr-Commit-Position: refs/heads/master@{#687651}

--

wpt-commits: 6ee27431c3352f158b198de70c0816bf1b485a05
wpt-pr: 18491
2019-08-23 16:40:02 +00:00
moz-wptsync-bot
b8fc9bc0c6 Bug 1574464 [wpt PR 18496] - Update wpt metadata, a=testonly
wpt-pr: 18496
wpt-type: metadata
2019-08-23 16:40:02 +00:00
Stephen McGruer
a9d622cb55 Bug 1574464 [wpt PR 18496] - Port {top, left, right, bottom}-interpolation.html to WPT, a=testonly
Automatic update from web-platform-tests
Port {top, left, right, bottom}-interpolation.html to WPT

Bug: 900581
Change-Id: Ib549a18ca17223ee252b2171194e25357f0ef45f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1758133
Reviewed-by: Xida Chen <xidachen@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#687647}

--

wpt-commits: f47ff91b02764da1fe2ac37e788648f1b1366fcd
wpt-pr: 18496
2019-08-23 16:40:01 +00:00
Stephen McGruer
b02bc81abc Bug 1574170 [wpt PR 18457] - [css-transitions-2] Make null-effect test properly wait for the transition to start, a=testonly
Automatic update from web-platform-tests
[css-transitions-2] Make null-effect test properly wait for the transition to start (#18457)

Previously this test would just rAF a single frame and assume that the
transition had started and that the 'left' had changed. Instead, this PR
changes the test to explicitly wait for 'left' to change, so that we can
be sure the transition has started before we interrupt it.
--

wpt-commits: 386d028948caf18c09ba67a68fc5b5667a6b8961
wpt-pr: 18457
2019-08-23 16:40:01 +00:00
Philip Jägenstedt
f38dfa6b36 Bug 1574400 [wpt PR 18489] - Add a test for document.fonts.ready timing assumptions, a=testonly
Automatic update from web-platform-tests
Add a test for document.fonts.ready timing assumptions (#18489)

In https://github.com/web-platform-tests/wpt/pull/17219#issuecomment-521905202
a number of tests were found to depend on document.fonts.ready in this
way, and it turns out it doesn't work in Safari with web fonts. Add a
test to surface this problem more clearly.
--

wpt-commits: 29e72c566832e86e0180982400a1d77d4773e5d2
wpt-pr: 18489
2019-08-23 16:40:00 +00:00
Anne van Kesteren
1d01dc4462 Bug 1574466 [wpt PR 18497] - Meta: increase timeout for COEP test, a=testonly
Automatic update from web-platform-tests
Meta: increase timeout for COEP test

--

wpt-commits: c516ff856176bd1f4d3893bab6c77109841f3b58
wpt-pr: 18497
2019-08-23 16:40:00 +00:00
moz-wptsync-bot
676b55e88a Bug 1574352 [wpt PR 18474] - Update wpt metadata, a=testonly
wpt-pr: 18474
wpt-type: metadata
2019-08-23 16:39:59 +00:00
JuniorHsu
f4b4feac2d Bug 1574352 [wpt PR 18474] - fix-documentCOOPValueTitle-substitution, a=testonly
Automatic update from web-platform-tests
fix-documentCOOPValueTitle-substitution

--

wpt-commits: b6cdac691fc92c59564730a49d9a8985a0cbc875
wpt-pr: 18474
2019-08-23 16:39:59 +00:00
Rune Lillesveen
5b58751378 Bug 1574405 [wpt PR 18490] - Use StyleEngine::InRebuildLayoutTree() to check if we are rebuilding., a=testonly
Automatic update from web-platform-tests
Use StyleEngine::InRebuildLayoutTree() to check if we are rebuilding.

We used ChildNeedsReattachLayoutTree() on documentElement() to check
after [1], but that is false if it's only the root element which is
marked for re-attachment.

[1] https://crrev.com/df2ed4afdfaf3b30adc3d4d80cc7559965eb8519

Bug: 993764
Change-Id: If4656e1c478ee74d26e6e1a39dcef601837020e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1755990
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#687607}

--

wpt-commits: 936827a6527f1c53051d3bc5bc79304c88c0737f
wpt-pr: 18490
2019-08-23 16:39:58 +00:00
moz-wptsync-bot
cd4968004a Bug 1574132 [wpt PR 18456] - Update wpt metadata, a=testonly
wpt-pr: 18456
wpt-type: metadata
2019-08-23 16:39:58 +00:00
Edvard Thörnros
419a3befde Bug 1574132 [wpt PR 18456] - Translate svg/animation tests to WPT (Commit 6), a=testonly
Automatic update from web-platform-tests
Translate svg/animation tests to WPT (Commit 6)

This is the sixth commit in the series of updating all the old svg
animation tests.

The usage of testharness has replaced the older SVGAnimationTest.js
for all where it's suitable. No functionality should have changed
and the tests should cover almost the same.

In all of the animations where there is a sampling at T=0, where
it was assumed that no animations had started. Which didn't work
flawlessly when moved to the new system, it has thus been removed.

Bug: 985335
Change-Id: I43342eb1f4ee50aa5c14ec6035b4a45fee82d5f0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1755902
Commit-Queue: Edvard Thörnros <edvardt@opera.com>
Auto-Submit: Edvard Thörnros <edvardt@opera.com>
Reviewed-by: Stephen Chenney <schenney@chromium.org>
Cr-Commit-Position: refs/heads/master@{#687594}

--

wpt-commits: 78a9dd6f2b8ef40c9e296ea493d6d04b86816055
wpt-pr: 18456
2019-08-23 16:39:57 +00:00
autofoolip
fd26c43de0 Bug 1574384 [wpt PR 18483] - Update interfaces/webrtc-stats.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/webrtc-stats.idl (#18483)

Source: https://github.com/tidoust/reffy-reports/blob/48ca519/whatwg/idl/webrtc-stats.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/572612386
--

wpt-commits: 70a34621356935e48c27529d9fdd067cd40609f5
wpt-pr: 18483
2019-08-23 16:39:57 +00:00
moz-wptsync-bot
d47a045fd8 Bug 1574383 [wpt PR 18482] - Update wpt metadata, a=testonly
wpt-pr: 18482
wpt-type: metadata
2019-08-23 16:39:56 +00:00
autofoolip
9d9b974d32 Bug 1574383 [wpt PR 18482] - Update interfaces/layout-instability.idl, a=testonly
Automatic update from web-platform-tests
Update interfaces/layout-instability.idl (#18482)

Source: https://github.com/tidoust/reffy-reports/blob/48ca519/whatwg/idl/layout-instability.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/572612386
--

wpt-commits: cc4f94eff13d107d10655f3e906c2240b81b899f
wpt-pr: 18482
2019-08-23 16:39:56 +00:00
moz-wptsync-bot
a197cf11d8 Bug 1574381 [wpt PR 18481] - Update wpt metadata, a=testonly
wpt-pr: 18481
wpt-type: metadata
2019-08-23 16:39:56 +00:00