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

691004 Коммитов

Автор SHA1 Сообщение Дата
Jeremy Roman 480aa434dc Bug 1611856 [wpt PR 21448] - Cancel rather than block navigations which violate portals 1P rules., a=testonly
Automatic update from web-platform-tests
Cancel rather than block navigations which violate portals 1P rules.

Since this can lead to a WebContents with no committed entries, deal
with that case in the browser-side Activate logic, by rejecting
activations which occur before we can say with certainty that we
will load a page (i.e. navigation commit).

Bug: 1046121,1034740,942198
Change-Id: Icd219dc0bb1e4a9ab6fdc433f8644c14e69964e4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2015768
Reviewed-by: Ken Buchanan <kenrb@chromium.org>
Reviewed-by: Alex Moshchuk <alexmos@chromium.org>
Reviewed-by: Lucas Gadani <lfg@chromium.org>
Commit-Queue: Jeremy Roman <jbroman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#736369}

--

wpt-commits: 3888d4d05c82a951afb63fd0d20a38bb5ea3bf90
wpt-pr: 21448
2020-02-11 11:59:55 +00:00
autofoolip 20a9736cb6 Bug 1610696 [wpt PR 21330] - Add interfaces/webrtc-svc.idl, a=testonly
Automatic update from web-platform-tests
Add interfaces/webrtc-svc.idl (#21330)

Source: https://github.com/tidoust/reffy-reports/blob/7ae7c91/ed/idl/webrtc-svc.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/639926932
--

wpt-commits: 7bd4977b248e1f464f26f3c0b99d17676871de45
wpt-pr: 21330
2020-02-11 11:59:54 +00:00
Arthur Hemery 4fe667d069 Bug 1609418 [wpt PR 21191] - [Security] Implement the context switch for COOP., a=testonly
Automatic update from web-platform-tests
[Security] Implement the context switch for COOP.

This CL lands the Cross-Origin-Opener-Policy "changes to navigation",
as per: https://gist.github.com/annevk/6f2dd8c79c77123f39797f6bdac43f3e

In practice, it forces a BrowsingInstance switch when we have a COOP
mismatch. This is necessary but not sufficient, as we want to ensure
the following behavior:

(1) window.open() returned WindowProxy is closed when we know that we
need to switch.
(2) opener is null in opened popups.
(3) window.name is empty in opened popups.

This CL solves (2). Currently (1) is untested and will follow in
a different patch (tests under development by pmeuleman@ at
https://github.com/web-platform-tests/wpt/pull/21161) and (2) needs to
be updated with some other state in DidCommit.

Bug: 922191
Change-Id: I7d5169f7d53bfc28ea01a1a03c7658e0645bc492
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1985013
Commit-Queue: Arthur Hemery <ahemery@chromium.org>
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#736344}

--

wpt-commits: 2ae8e39b7116213662bcc5357394d4418651211c
wpt-pr: 21191
2020-02-11 11:59:54 +00:00
Stephen McGruer 787b458cfd Bug 1612017 [wpt PR 21479] - Add interfaces/web-locks.idl and modify test, a=testonly
Automatic update from web-platform-tests
Add interfaces/web-locks.idl and modify test (#21479)

Closes https://github.com/web-platform-tests/wpt/pull/21329
--

wpt-commits: 1c5d0a817201698ce43de1e0bf34c3e612dd2c82
wpt-pr: 21479
2020-02-11 11:59:53 +00:00
Eriko Kurimoto bfe3ee1749 Bug 1612029 [wpt PR 21484] - SharedWorker: Remove debug-output in referrer-policy WPT, a=testonly
Automatic update from web-platform-tests
SharedWorker: Remove debug-output in referrer-policy WPT

This CL removes debug-output in referrer-policy web-platform-tests.
This file shouldn't be added but unintentionally included in the CL:
https://chromium-review.googlesource.com/c/chromium/src/+/2023710

Bug: 824646
Change-Id: If0775cebd63d53dd0510b5d64ce2a643998455cf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2026829
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Commit-Queue: Eriko Kurimoto <elkurin@google.com>
Cr-Commit-Position: refs/heads/master@{#736296}

--

wpt-commits: 074719e3660000659cd074b8a59de69bd9b90cd7
wpt-pr: 21484
2020-02-11 11:59:53 +00:00
moz-wptsync-bot b3eb1118f6 Bug 1611791 [wpt PR 21432] - Update wpt metadata, a=testonly
wpt-pr: 21432
wpt-type: metadata
2020-02-11 11:59:53 +00:00
Fredrik Söderquist 665a31768a Bug 1611791 [wpt PR 21432] - Stop dispatching SMIL events while seeking, a=testonly
Automatic update from web-platform-tests
Stop dispatching SMIL events while seeking

Based on [1], 'beginEvent' and 'endEvent' should only be dispatched for
elements that are active at the seeked-to time and elements that were
active at the previous/old/seeked-from time but are inactive at the
seeked-to time (respectively). 'repeatEvent's should not be disaptched
while seeking.

To handle this, extend the TimingUpdate helper class with a map that
tracks what interval the active elements had before the seek operation,
and whether the timing update operation is a seek operation (called
"fast-forward" since we end up moving in the forward direction
regardless of the actual seek direction).
Apart from that, the dispatching of 'repeatEvent's are also inhibited,
as well as the notifications of repeats in general.

[1] https://www.w3.org/TR/SMIL3/smil-timing.html#q114

Bug: 1039886
Change-Id: I17d91b1355858ee0b916d4fa46b9572e685e40e5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2020947
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#736289}

--

wpt-commits: e03feecc468b65aadc66b24bf76dbd0d6acfff5b
wpt-pr: 21432
2020-02-11 11:59:52 +00:00
Martin Stransky 272e06b7b9 Bug 1614421 [Linux] Use GtkInvisible as a fallback widget, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D62412

--HG--
extra : moz-landing-system : lando
2020-02-11 11:10:14 +00:00
Valentin Gosu d2bb5a0ea7 Bug 1613140 - Add WPT that the size attributes for PerformanceNavigationTiming have been updated during DOMContentLoaded/onload r=baku
Depends on D62110

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

--HG--
extra : moz-landing-system : lando
2020-02-11 09:24:02 +00:00
Valentin Gosu df21e78ad6 Bug 1613140 - Call QueuePerformanceNavigationTiming from Document::EndLoad() r=baku
Differential Revision: https://phabricator.services.mozilla.com/D62110

--HG--
extra : moz-landing-system : lando
2020-02-11 09:24:09 +00:00
Jon Coppeard cb3c0a283b Bug 1613384 - Fix race condition setting GC performance hint r=sfink
This is easy enough to fix.

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

--HG--
extra : moz-landing-system : lando
2020-02-07 18:25:49 +00:00
Andy Bruère 64f4f52cea Bug 1613580 - Restore appropriate width of login view r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D62316

--HG--
extra : moz-landing-system : lando
2020-02-11 11:06:49 +00:00
Jan de Mooij bb7e4f3518 Bug 1613594 follow-up fix for 32-bit x86 builds. on a CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com//D62418

--HG--
extra : amend_source : 23e8bf020c0015289e49b3102fdcdca8086d35d5
2020-02-11 13:19:02 +02:00
Mihai Tabara c8f8193411 Bug 1612540 - bake geckoview in the push phase of releases. r=jlorenzo
Bug 1612540 - bake geckoview in the push phase of releases. r=jlorenzo

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

--HG--
extra : moz-landing-system : lando
2020-02-11 11:10:42 +00:00
Sebastian Hengst e046f93589 Bug 1502861 - Set query-encoding/navigation.sub.html as expected to pass on Windows code coverage. r=hsivonen DONTBUILD
Since bug 1610260 extended the timeout for wpt ccov tests, these are not
timing out anymore.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 10:57:27 +00:00
Dão Gottwald 6c9b595366 Bug 1610002 - Make the status panel respect @media (prefers-color-scheme: dark). r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D61554

--HG--
extra : moz-landing-system : lando
2020-02-11 10:47:21 +00:00
aarushivij 2a7522866e Bug 1047132 - DevTools: Panel button should show on hover a pointer cursor. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D62270

--HG--
extra : moz-landing-system : lando
2020-02-11 10:48:09 +00:00
Dão Gottwald e2f2ad5cab Bug 1585994 - Stop using --panel-disabled-color in the urlbar. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D62240

--HG--
extra : moz-landing-system : lando
2020-02-11 10:35:57 +00:00
Jan de Mooij 6fa1ffb3ef Bug 1613594 part 9 - Speed up MIRGenerator::isOptimizationTrackingEnabled(). r=iain
This way we're also guaranteed to get a consistent value per compilation.

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

--HG--
extra : moz-landing-system : lando
2020-02-10 16:39:08 +00:00
Jan de Mooij 5600a9f9bc Bug 1613594 part 8 - Rename ionBuilder memory reporter to ionCompileTask. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D62015

--HG--
extra : moz-landing-system : lando
2020-02-10 08:50:51 +00:00
Jan de Mooij 4111697c57 Bug 1613594 part 7 - Stop heap-allocating IonBuilder. r=iain
The pendingEdges_ field no longer has to use Maybe<> because we now always
call IonBuilder's destructor.

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

--HG--
extra : moz-landing-system : lando
2020-02-07 15:34:58 +00:00
Jan de Mooij 42d8d8cba6 Bug 1613594 part 6 - Change IonCompileTask to not require an IonBuilder. r=iain
This will let us shorten the IonBuilder lifetime later.

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

--HG--
extra : moz-landing-system : lando
2020-02-07 15:29:31 +00:00
Jan de Mooij cbdbbf3836 Bug 1613594 part 5 - Add IonCompileTask class and use it instead of IonBuilder for off-thread tasks. r=iain
For now IonCompileTask just forwards to IonBuilder, but that will change in a
later patch.

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

--HG--
extra : moz-landing-system : lando
2020-02-10 08:46:00 +00:00
Jan de Mooij d2b6efd98d Bug 1613594 part 4 - Use one MIRGenerator per compilation. r=iain
We now no longer allocate a new MIRGenerator for each inline builder. This was
pretty confusing because only the outermost one survived and was used by the
backend.

MIRGenerator's CompileInfo field was renamed from info_ to outerInfo_ to make
this a bit clearer.

Depends on D62009

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

--HG--
extra : moz-landing-system : lando
2020-02-07 14:50:18 +00:00
Jan de Mooij 2804d5c4b3 Bug 1613594 part 3 - Stop using MIRGenerator as base class for IonBuilder. r=iain
For now MIRGenerator and IonBuilder still have the same lifetime, but later
parts will change IonBuilder to a stack-allocated class with a much shorter
lifetime than MIRGenerator.

Some MIRGenerator fields that are accessed frequently by IonBuilder are now
cached in IonBuilder to avoid an extra dereference.

Depends on D62008

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

--HG--
extra : moz-landing-system : lando
2020-02-10 10:02:12 +00:00
Jan de Mooij 2a48daded5 Bug 1613594 part 2 - Only set the safeForMinorGC_ flag on the outermost builder. r=iain
This MIRGenerator flag is not used for inline builders so there's no need to set
it. With later patches in this stack there will be a single MIRGenerator per
compilation so this will become a bit more obvious.

Depends on D62007

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

--HG--
extra : moz-landing-system : lando
2020-02-07 14:00:42 +00:00
Jan de Mooij 2d8c8cc51c Bug 1613594 part 1 - Move abortedPreliminaryGroups Vector from MIRGenerator to IonBuilder. r=iain
IonBuilder is a better fit for this data. MIRGenerator is used by the backend
and is also used for Wasm compilation and WarpBuilder in the future.

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

--HG--
extra : moz-landing-system : lando
2020-02-07 13:58:51 +00:00
Harry Twyford b52b6dfb21 Bug 1608336 - Disable Touch Bar for non-chrome windows. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D62259

--HG--
extra : moz-landing-system : lando
2020-02-11 09:49:11 +00:00
Brindusan Cristian fd1c3e1623 Backed out changeset e687d00a3de0 (bug 1613101) for bc failures at browser_asrouter_whatsnewpanel.js. CLOSED TREE
--HG--
extra : histedit_source : 05b3c369e19230ca4871995207423485b948e7d4
2020-02-11 12:40:19 +02:00
Brindusan Cristian a68356b907 Backed out 5 changesets (bug 1613378) for mochitest failures at test_general.html. CLOSED TREE
Backed out changeset f38b806ee78b (bug 1613378)
Backed out changeset cee4bbabc4b5 (bug 1613378)
Backed out changeset e3a2ab6d7267 (bug 1613378)
Backed out changeset 6fe76439f1d3 (bug 1613378)
Backed out changeset f3baf3407cbe (bug 1613378)
2020-02-11 12:27:49 +02:00
Liang-Heng Chen 2e5619cfe3 Bug 1602890 - use correct window/principal for cache; r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D61815

--HG--
extra : moz-landing-system : lando
2020-02-10 16:17:57 +00:00
Mirko Brodesser b5693e486b Bug 1613378: part 10) Declare some table/Selection related method arguments const. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D62258

--HG--
extra : moz-landing-system : lando
2020-02-11 09:25:27 +00:00
Mirko Brodesser 67f10acb6f Bug 1613378: part 9) Clarify dependency to `mFrameSelection` in `Selection` when adding/removing ranges. r=smaug
Moreover, this is potentially more efficient because
`GetRangesForIntervalArray` doesn't have to be called when there's no
frame selection.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 09:25:45 +00:00
Mirko Brodesser 891a7a92a2 Bug 1613378: part 8) Add assertion to `nsAutoScrollTimer::Init`. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D62043

--HG--
extra : moz-landing-system : lando
2020-02-11 09:26:07 +00:00
Mirko Brodesser 931ef1e3fa Bug 1613378: part 7) Remove `Selection`'s default constructor. r=smaug
Removes duplicated code and reveals the dependency to frame selection.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 09:26:07 +00:00
Mirko Brodesser dd99b9338c Bug 1613378: part 6) Remove copy&pasted `IsValidSelectionPoint` function. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D62039

--HG--
extra : moz-landing-system : lando
2020-02-10 13:25:03 +00:00
Alexandre Poirot 07d03a2e68 Bug 1613119 - Test the inspector node picker from Multiprocess Browser Toolbox. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D61570

--HG--
extra : moz-landing-system : lando
2020-02-10 18:25:25 +00:00
Sylvestre Ledru f9328d2021 Bug 1613526 - Create a code quality documentation and move the appropriate docs r=ahal
This for a few reasons:
* The summary becomes the landing page for code quality:
  https://firefox-source-docs.mozilla.org/tools/static-analysis/summary.html
* I don't think we need a full code quality category
* Closer to the source-code-doc
* All the files at the same place

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

--HG--
rename : tools/lint/docs/coding-style/coding_style_java.rst => docs/code-quality/coding-style/coding_style_java.rst
rename : tools/lint/docs/coding-style/coding_style_other.rst => docs/code-quality/coding-style/coding_style_other.rst
rename : tools/lint/docs/coding-style/coding_style_python.rst => docs/code-quality/coding-style/coding_style_python.rst
rename : tools/lint/docs/coding-style/format_cpp_code_with_clang-format.rst => docs/code-quality/coding-style/format_cpp_code_with_clang-format.rst
rename : tools/clang-tidy/docs/summary.rst => docs/code-quality/index.rst
rename : tools/lint/docs/create.rst => docs/code-quality/lint/create.rst
rename : tools/lint/docs/index.rst => docs/code-quality/lint/index.rst
rename : tools/lint/docs/index.rst => docs/code-quality/lint/lint.rst
rename : tools/lint/docs/linters/codespell.rst => docs/code-quality/lint/linters/codespell.rst
rename : tools/lint/docs/linters/cpp-virtual-final.rst => docs/code-quality/lint/linters/cpp-virtual-final.rst
rename : tools/lint/docs/linters/eslint-plugin-mozilla.rst => docs/code-quality/lint/linters/eslint-plugin-mozilla.rst
rename : tools/lint/docs/linters/eslint-plugin-spidermonkey-js.rst => docs/code-quality/lint/linters/eslint-plugin-spidermonkey-js.rst
rename : tools/lint/docs/linters/eslint.rst => docs/code-quality/lint/linters/eslint.rst
rename : tools/lint/docs/linters/file-perm.rst => docs/code-quality/lint/linters/file-perm.rst
rename : tools/lint/docs/linters/file-whitespace.rst => docs/code-quality/lint/linters/file-whitespace.rst
rename : tools/lint/docs/linters/flake8.rst => docs/code-quality/lint/linters/flake8.rst
rename : tools/lint/docs/linters/l10n.rst => docs/code-quality/lint/linters/l10n.rst
rename : tools/lint/docs/linters/license.rst => docs/code-quality/lint/linters/license.rst
rename : tools/lint/docs/linters/lintpref.rst => docs/code-quality/lint/linters/lintpref.rst
rename : tools/lint/docs/linters/mingw-capitalization.rst => docs/code-quality/lint/linters/mingw-capitalization.rst
rename : tools/lint/docs/linters/perfdocs.rst => docs/code-quality/lint/linters/perfdocs.rst
rename : tools/lint/docs/linters/rstlinter.rst => docs/code-quality/lint/linters/rstlinter.rst
rename : tools/lint/docs/linters/rustfmt.rst => docs/code-quality/lint/linters/rustfmt.rst
rename : tools/lint/docs/usage.rst => docs/code-quality/lint/usage.rst
rename : tools/clang-tidy/docs/index.rst => docs/code-quality/static-analysis.rst
extra : moz-landing-system : lando
2020-02-11 09:11:44 +00:00
Eden Chuang 852445c77e Bug 1610881 - Get rid of ErrorResult.Throw(DOMException) in Payment code r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D61557

--HG--
extra : moz-landing-system : lando
2020-02-11 08:45:49 +00:00
Andrei Oprea a6038dc186 Bug 1613101 - Enable the What's New panel provider in mochitests to use Remote Settings data r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D61576

--HG--
extra : moz-landing-system : lando
2020-02-10 15:40:25 +00:00
Gijs Kruitbosch a3d7372669 Bug 1545167 - write default pdf behaviour to handlers.json without going to the OS, r=florian,mkaply
I'm taking the opportunity to remove isDefaultHandlerApp messaging as the
content-side calls were removed in bug 1353029.

Depends on D59788

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

--HG--
extra : moz-landing-system : lando
2020-02-10 23:52:21 +00:00
Gijs Kruitbosch a65f26ec64 Bug 1547693 - do not bother looking up protocol information with the OS just to store the default shipped options, r=florian
Differential Revision: https://phabricator.services.mozilla.com/D59788

--HG--
extra : moz-landing-system : lando
2020-02-10 23:51:43 +00:00
aarushivij 74792efe29 Bug 1554894 -Simplify devtools/client/shared/source-utils.js and remove eslint-disable complexity r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D62018

--HG--
extra : moz-landing-system : lando
2020-02-11 08:15:05 +00:00
Henri Sivonen 3ad0a42a86 Bug 1614314 - Use GitHub as upstream for the Java code of the HTML parser. r=alchen
Differential Revision: https://phabricator.services.mozilla.com/D62238

--HG--
extra : moz-landing-system : lando
2020-02-10 15:05:17 +00:00
Boris Zbarsky c343055996 Bug 1614164. Stop using NS_ERROR_DOM_TYPE_ERR in IndexedDB. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D62153

--HG--
extra : moz-landing-system : lando
2020-02-11 07:25:44 +00:00
Masatoshi Kimura 948598bdd4 Bug 1614146 - Stop using byte literals in _hg_cleanenv. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D62398

--HG--
extra : moz-landing-system : lando
2020-02-11 04:47:54 +00:00
Brindusan Cristian 615e78b5fc Backed out changeset a91870b97f09 (bug 1611886) for xpcshell failures at test_browserid_identity.js. CLOSED TREE 2020-02-11 09:03:03 +02:00
Brindusan Cristian bd1db3c1fd Backed out changeset 33e43f085390 (bug 1608554) for bc failures at browser_searchbar_openpopup.js. CLOSED TREE 2020-02-11 09:02:01 +02:00
Hiroyuki Ikezoe b9fb72c857 Bug 1599795 - Make IntersectionObserver work in fission world. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D61938

--HG--
extra : moz-landing-system : lando
2020-02-11 03:59:14 +00:00
Hiroyuki Ikezoe 1c0f15006d Bug 1599795 - Rename BrowserChild::GetRemoteDocumentRect to GetTopLevelViewportVisibleRectInBrowserCoords. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D62183

--HG--
extra : moz-landing-system : lando
2020-02-11 03:35:56 +00:00