740621 Commits

Author SHA1 Message Date
Simon Giesecke
48bc696200 Bug 1683828 - Use QM_TRY et al. in Cache. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D100767
2021-01-14 15:51:47 +00:00
Simon Giesecke
c0b5a7fcba Bug 1683828 - Use QM_TRY et al. in Manager and modernize signatures. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D100665
2021-01-14 16:09:32 +00:00
Simon Giesecke
2951ef3a35 Bug 1683828 - Use QM_TRY et al. in DBAction and modernize signatures. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D100321
2021-01-14 16:42:32 +00:00
Simon Giesecke
731e2bb3f2 Bug 1683828 - Use QM_TRY et al. in FileUtils and modernize signatures. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D100320
2021-01-14 16:42:32 +00:00
Tom Tung
45ce146298 Bug 1683299 - Introduce site quota for legacy LocalStorage; r=dom-workers-and-storage-reviewers,janv
This patch:
- adds a new pref for site quota.
- sets 25 MB as the default site qutoa.
- renames LocalStorageManager::GetQuota() to LocalStorageManager::GetOriginQuota().
- adds LocalStorageManager::GetSiteQuota().
- updates LocalStorage quota tests.

Differential Revision: https://phabricator.services.mozilla.com/D101756
2021-01-14 16:01:17 +00:00
Bogdan Tara
60482b14fc Backed out changeset dc9229077eaa (bug 1420335) for security/manager* and toolkit/mozapps/* xpc failures CLOSED TREE 2021-01-14 18:43:19 +02:00
Oriol Brufau
04f94d6d52 Bug 1580003 - Remove isLastMultiSelectChange parameter. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D45245
2021-01-14 15:32:24 +00:00
Kevin Jacobs
4d02d441fc Bug 1684061 - land NSS a8de35c990e3 UPGRADE_NSS_RELEASE, r=bbeurdouche
2021-01-13  Kevin Jacobs  <kjacobs@mozilla.com>

	* gtests/softoken_gtest/manifest.mn:
	Bug 1684300 - Define USE_STATIC_LIBS=1 for softoken_gtest make
	builds. r=bbeurdouche

	[a8de35c990e3] [tip]

	* gtests/softoken_gtest/manifest.mn,
	gtests/softoken_gtest/softoken_gtest.cc,
	gtests/softoken_gtest/softoken_gtest.gyp, lib/softoken/sftkdb.c,
	tests/gtests/gtests.sh:
	Bug 1684300 - Disable legacy storage when compiled with
	NSS_DISABLE_DBM. r=mt

	[d4991bb56852]

Differential Revision: https://phabricator.services.mozilla.com/D101703
2021-01-14 15:16:11 +00:00
sotaro
bd94d12825 Bug 1681107 - Fix race condition of calling CompositorBridgeChild::SendPause() r=rmader,stransky
Differential Revision: https://phabricator.services.mozilla.com/D101693
2021-01-14 14:29:55 +00:00
Paul Zuehlcke
7f71d5c223 Bug 1685355 - Use storage principal when clearing data via clear-site-data header. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D101192
2021-01-14 14:56:15 +00:00
Simon Giesecke
259813a7ba Bug 1683826 - Replace SanitizeOriginString by pure functions. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D100318
2021-01-14 14:50:21 +00:00
Simon Giesecke
418e1457f3 Bug 1685098 - Use QM_TRY in dom/quota/ActorsParent.cpp. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D100783
2021-01-14 14:50:39 +00:00
Mirko Brodesser
0114f7f280 Bug 1685303: part 11) Add some const-correctness to frame code. r=smaug
Helps distinguishing what modifies frames and what doesn't.

Differential Revision: https://phabricator.services.mozilla.com/D101751
2021-01-14 14:45:01 +00:00
june wilde
6c0883d216 Bug 1686629 - Remove extra / from mach vendor's github url construction; r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D101696
2021-01-14 14:48:12 +00:00
ffxbld
e1040cc6b8 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D101757
2021-01-14 14:44:52 +00:00
Emilio Cobos Álvarez
0a8a8a0cc2 Bug 1686386 - Make DOMIntersectionObserver check docgroup rather than principal base domain. r=mstange
This is similar effectively, and should be more correct and faster, as per:

  https://github.com/w3c/IntersectionObserver/issues/161#issuecomment-492539452

Differential Revision: https://phabricator.services.mozilla.com/D101636
2021-01-14 14:31:46 +00:00
Chris H-C
8e82c80996 Bug 1675877 - Ensure FOG lints the YAML and the metrics r=janerik
Depends on D101368

Differential Revision: https://phabricator.services.mozilla.com/D101604
2021-01-14 12:31:00 +00:00
Chris H-C
b19897a038 Bug 1675877 - Record for fog validation whether profile is on a ssd r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D101368
2021-01-13 15:39:44 +00:00
Ted Campbell
d8e7bcd581 Bug 1686018 - Avoid entraining top-level selfhosted script. r=nbp
During selfhosting initialization, we perform a GC and then freeze the
global. This means we must clear any dangling references before this GC
happens. This fixes a recent regression where we started keeping the
top-level script alive unintentionally. Also ensure the options mark the
script as run-once to match that old behaviour.

Differential Revision: https://phabricator.services.mozilla.com/D101637
2021-01-14 11:09:40 +00:00
smolnar
de6685f248 Backed out 3 changesets (bug 1680151) for causing xpc/mochitest failures. CLOSED TREE
Backed out changeset 87222362f8f3 (bug 1680151)
Backed out changeset f5a436352e34 (bug 1680151)
Backed out changeset f9a606a66973 (bug 1680151)
2021-01-14 17:20:34 +02:00
Gregory Mierzwinski
28c3011f51 Bug 1686118 - Always run downstream tasks on browsertime test retriggers. r=jmaher,bhearsum
This patch makes it so that any retrigger actions being performed from Treeherder on browsertime tasks (through add-new-jobs, retrigger, and retrigger-multiple) will always retrigger the vismet (visual-metrics) tasks correctly. Furthermore, when a vismet task is retriggered, we'll retrigger the browsertime test task.

Differential Revision: https://phabricator.services.mozilla.com/D101404
2021-01-14 13:54:29 +00:00
Dan Minor
487bcdd4ea Bug 1420335 - Make OSPreferences::ReadDateTimePattern check 12h/24h on Android; r=zbraniecki
As is the case with GTK, Android provides an OS override to display times in
AM/PM or 24 hour format. This moves the code for rewriting skeletons from the
GTK specific code to OSPreferences, and calls it from the Android OSPreferences
implementation.

This was tested manually by visiting the file:/// uri. I don't believe this is
feasible to test from automation, as it would require changing Android OS settings
from within our test code.

Differential Revision: https://phabricator.services.mozilla.com/D101641
2021-01-14 13:45:40 +00:00
moz-wptsync-bot
f1eb675dc4 Bug 1685853 - [wpt-sync] Update web-platform-tests to 28ac8ff82f255bfb5c799b6d433d19d0a0eb0e34, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 28ac8ff82f255bfb5c799b6d433d19d0a0eb0e34
wpt-type: landing
2021-01-14 13:34:09 +00:00
Reilly Grant
e7ccd4a4d0 Bug 1682090 [wpt PR 26873] - usb: Add a manual test for USB transfer completion order, a=testonly
Automatic update from web-platform-tests
usb: Add a manual test for USB transfer completion order

This manual test attempts to reproduce a case seen in issue 1153647
where parallel calls to transferIn(), recommended for performance, can
return data out of order.

This test is a starting point in the investigation as it only sends a
small amount of data while the original report involves much larger
transfers.

Bug: 1153647
Change-Id: I4f4b8f5ad502d08ae7c4fb9cc22889047029afc4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2587950
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Reviewed-by: James Hollyer <jameshollyer@chromium.org>
Auto-Submit: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#841773}

--

wpt-commits: 28ac8ff82f255bfb5c799b6d433d19d0a0eb0e34
wpt-pr: 26873
2021-01-14 13:34:08 +00:00
Benjamin Beaudry
149a35615c Bug 1684554 [wpt PR 27019] - [LayoutNG] Fix OOF not painted in "tall" multicolumns, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix OOF not painted in "tall" multicolumns

In some cases as the one described in https://crbug.com/1151383,
non-fragmented OOF are not painted. The computed |offset_from_root|
seems to be invalid and this CL fixes it.

Bug: 1151383
Change-Id: Ib85440577442782a1f09f704d2224214d4822232
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2607670
Commit-Queue: Benjamin Beaudry <benjamin.beaudry@microsoft.com>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#841740}

--

wpt-commits: 1affd0458528e1ccde884f4e4c942da7d056856b
wpt-pr: 27019
2021-01-14 13:34:08 +00:00
Richard Townsend
d4218127ef Bug 1685777 [wpt PR 27114] - fix: relax performance API checks for prefetch test, a=testonly
Automatic update from web-platform-tests
fix: relax performance API checks for prefetch test

This test was flaky because occasionally one or more paint events
were included in the Performance API data. The check's been
relaxed to remove the intermittent failure.

Bug: 901056, 1164166, 1160655
Change-Id: I1fc89ad1cd60bd326b1516ae6b93814f10922b30
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2618483
Commit-Queue: Richard Townsend <richard.townsend@arm.com>
Reviewed-by: Mason Freed <masonfreed@chromium.org>
Cr-Commit-Position: refs/heads/master@{#841696}

--

wpt-commits: 2491f9dbc12e38e742b7a28395bacf42cd689368
wpt-pr: 27114
2021-01-14 13:34:07 +00:00
Adam Rice
0f6baa65c7 Bug 1685765 [wpt PR 27112] - Remove port 554 from the restricted list, a=testonly
Automatic update from web-platform-tests
Remove port 554 from the restricted list

Blocking port 554 has known compatibility issues. Unblock it.

BUG=1148309,1164418

Change-Id: I51de0e944cdd57cad5f2d5fec145dad7320dfc51
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2618418
Auto-Submit: Adam Rice <ricea@chromium.org>
Reviewed-by: Matt Menke <mmenke@chromium.org>
Commit-Queue: Matt Menke <mmenke@chromium.org>
Commit-Queue: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/master@{#841622}

--

wpt-commits: f67cae457639f098da3b09992d7c88a46147fee8
wpt-pr: 27112
2021-01-14 13:34:07 +00:00
Adithya Srinivasan
a72211609f Bug 1685618 [wpt PR 27088] - Portals: Fix postMessage calls in portals-focus.sub.html resources, a=testonly
Automatic update from web-platform-tests
Portals: Fix postMessage calls in portals-focus.sub.html resources

Missed fixing these callsites in https://crrev.com/c/2386012.

Bug: 1126901
Change-Id: If94b71e0767bb222df3840185e7e00e515592fd2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2616459
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Commit-Queue: Adithya Srinivasan <adithyas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#841619}

--

wpt-commits: 42fa4445668937218214bf398fb29db2ad11e44c
wpt-pr: 27088
2021-01-14 13:34:06 +00:00
Philipp Hancke
f439356a05 Bug 1685750 [wpt PR 27107] - webrtc wpt: fix order of assert, a=testonly
Automatic update from web-platform-tests
webrtc wpt: fix order of assert

BUG=chromium:1164376

Change-Id: Ic9321b007e652f8d6b0ca40e490645735296317b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2616411
Reviewed-by: Harald Alvestrand <hta@chromium.org>
Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com>
Cr-Commit-Position: refs/heads/master@{#841614}

--

wpt-commits: d62bc10bf43692727df6971485e6d3e6ef7f3452
wpt-pr: 27107
2021-01-14 13:34:06 +00:00
James Graham
a91e68a38c Bug 1685532 [wpt PR 27075] - Lint cases where reftest-wait.js is used but class=reftest-wait isn't, a=testonly
Automatic update from web-platform-tests
Fix reftest-wait usage in some tests

--
Add a lint that anything that uses the reftest-wait script specifies reftest-wait

Not having the reftest-wait class on the root is a pretty clear indication of a bug
and one that's relatively easy to avoid. Of course this doesn't catch all cases where
something happens after load and reftest-wait is required but it at least catches some
of the more obvious errors

--
Fix mypy annotations for parsing

--
Update tools/lint/rules.py

Co-authored-by: Chris Harrelson <chrishtr@gmail.com>
--

wpt-commits: 7bf1d81fca9dfa5a5bcc33ab4e2c5b6219426a11, 5b4049b18faae5953d3b8470715bb405ea99eec4, c913981fd467faca7de998a269afa1f8e8961bec, 67c3f228ec036e90aeb11d2ce13c0bb8061584d3
wpt-pr: 27075
2021-01-14 13:34:05 +00:00
David Grogan
8672146c1c Bug 1685635 [wpt PR 27091] - [css-flex] Apply transferred min/max sizes to svg with no natural sizes, a=testonly
Automatic update from web-platform-tests
[css-flex] Apply transferred min/max sizes to svg with no natural sizes

When deriving flex base size of an svg that has an aspect ratio but no
natural height or width, we were ignoring min/max sizes specified in the
cross-axis direction, even though they should transfer through the
aspect ratio and restrict the stretch fit into the available size.

Bug: 1162704
Change-Id: If502de43a876e41e6f3784aea089edcd2467ba60
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2614470
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#841586}

--

wpt-commits: d81b71f027dc76082e8a77370d8a6642666cfca9
wpt-pr: 27091
2021-01-14 13:34:05 +00:00
Adam Rice
5e62cf4c2f Bug 1685762 [wpt PR 27109] - WebSocketStream: Make backpressure-receive.any.js work again, a=testonly
Automatic update from web-platform-tests
WebSocketStream: Make backpressure-receive.any.js work again

The web test
external/wpt/websockets/stream/tentative/backpressure-receive.any.js
started failing on Windows 10 with the switch to Python 3. It appears
some additional buffering is happening in the OS. As a workaround,
split the large message that is supposed to be delayed by backpressure
into 16 parts.

BUG=1155106

Change-Id: Ifa2b04e4857f3c537721735cec187f610c053d99
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2613853
Commit-Queue: Domenic Denicola <domenic@chromium.org>
Auto-Submit: Adam Rice <ricea@chromium.org>
Reviewed-by: Domenic Denicola <domenic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#841571}

--

wpt-commits: 4f82b31b95639c3d57d7b99ca56f0f03bb6ec507
wpt-pr: 27109
2021-01-14 13:34:04 +00:00
Stephen McGruer
4afe2c3f1a Bug 1685770 [wpt PR 27113] - Remove jimsch from WebCryptoAPI/META.yml, a=testonly
Automatic update from web-platform-tests
Remove jimshaab from WebCryptoAPI/META.yml

See https://github.com/web-platform-tests/wpt/issues/27111

--

wpt-commits: 5c201a595befa12abd35054ba8a08b58021eec0b
wpt-pr: 27113
2021-01-14 13:34:04 +00:00
Ken Rockot
43bdb7f067 Bug 1685630 [wpt PR 27089] - Migrate WebUSB WPT to Mojo JS modules, a=testonly
Automatic update from web-platform-tests
Migrate WebUSB WPT to Mojo JS modules

Bug: 1004256
Change-Id: Iaaf8e601a7f3e400bd7aff5b60e8586e7adb43a2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2616519
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Michael Moss <mmoss@chromium.org>
Auto-Submit: Ken Rockot <rockot@google.com>
Commit-Queue: Ken Rockot <rockot@google.com>
Cr-Commit-Position: refs/heads/master@{#841569}

--

wpt-commits: 7442d6e6d8d8f27809c13038f1d7d834c43e310d
wpt-pr: 27089
2021-01-14 13:34:03 +00:00
dhiogoboza
f257102f33 Bug 1685524 [wpt PR 27073] - Fixing runner when autorun flag is true, a=testonly
Automatic update from web-platform-tests
Fixing runner when autorun flag is true
 - The tests on complete callback was not being registered

--

wpt-commits: a351e924c5548601a65ed3f1ff6d7b68747766da
wpt-pr: 27073
2021-01-14 13:34:03 +00:00
Mirko Brodesser
c0d32bffc5 Bug 1685303: part 10) Annotate nsFrameSelection::HandleClick with MOZ_CAN_RUN_SCRIPT. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D101598
2021-01-14 13:24:36 +00:00
Mirko Brodesser
31e33f4d2c Bug 1685303: part 9) Correct some comments in PresShell::EventHandler::HandleEvent. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D101571
2021-01-14 13:24:23 +00:00
Mirko Brodesser
f6f7a6f1aa Bug 1685303: part 8) Annotate nsFrameSelection::SetDragState with MOZ_CAN_RUN_SCRIPT. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D101467
2021-01-14 13:24:16 +00:00
Jason Orendorff
6ff7e927f9 Bug 1671391 - Part 2: Fix frame.this access to optimized .this binding in generators and async functions. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D94201
2021-01-13 23:01:25 +00:00
Jason Orendorff
be70035821 Bug 1671391 - Part 1: Fix eval-in-frame and Debugger.Environment access to optimized local variables in generators and async functions. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D94200
2021-01-13 23:23:51 +00:00
Tom Tung
5c29c7ab29 Bug 1685475 - Add a browser test to verify data document stays in the same DocGroup with its creator; r=smaug
Depends on D101327

Differential Revision: https://phabricator.services.mozilla.com/D101328
2021-01-14 13:22:52 +00:00
Tom Tung
d7a1ef74c4 Bug 1685475 - Get cross-origin-isolated state from the scope object when it's a data document and thus don't have a browsing context; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D101327
2021-01-14 13:22:52 +00:00
Lee Salzman
caa9cd4f4d Bug 1684050 - choose appropriate stroke res scale for PathSkia::StrokeContainsPoint. r=bobowen
This uses SkDraw::ComputeResScaleForStroking to ensure we exactly match the resolution scale
that is chosen for drawing the stroked path inside the guts of Skia. This should ensure these
two don't get out of sync.

This also cleans out the old overscale code in ComputeResScaleForStroking that was necessary
during an ancient Skia porting effort but has now bitrotted into irrelevance.

Differential Revision: https://phabricator.services.mozilla.com/D101686
2021-01-14 09:01:54 +00:00
stransky
5c56e4c045 Bug 1686703 [Wayland] Merge GetWaylandBufferWithSwitch()/GetWaylandBufferRecent() to GetWaylandBuffer(), r=jhorak
Depends on D101746

Differential Revision: https://phabricator.services.mozilla.com/D101747
2021-01-14 13:01:36 +00:00
stransky
ae1cdace17 Bug 1686703 [Wayland] Always resize wl_buffer after buffer switch, r=jhorak"
Depends on D101745

Differential Revision: https://phabricator.services.mozilla.com/D101746
2021-01-14 12:46:30 +00:00
stransky
8f0b303208 Bug 1686703 [Wayland] Don't switch wl_buffer for non-direct drawing, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D101745
2021-01-14 12:45:11 +00:00
Andreas Farre
78e800dabe Bug 1612147 - Don't store FeaturePolicy in BrowsingContext. r=smaug
Syncing the container FeaturePolicy across BrowsingContext is actually
a bit more heavy-handed than necessary. We only ever need a container
FeaturePolicy when inheriting a FeaturePolicy in exactly the document
the container contains. Not every process that the tree the container
is a part of. So instead of storing a FeaturePolicy in a synced field,
we manually send it to the correct WindowGlobalChild (which
corresponds to a document) and retrieve it from there.

Differential Revision: https://phabricator.services.mozilla.com/D61479
2021-01-14 11:15:24 +00:00
Andreas Farre
83df9df213 Bug 1686234 - Add missing includes. r=peterv
Also add missing forward declaration for FeaturePolicy.

Differential Revision: https://phabricator.services.mozilla.com/D101466
2021-01-14 11:15:22 +00:00
Henrik Skupin
206eecdc83 Bug 1668243 - [geckodriver] Update changeset for the 0.29.0 release. r=webdriver-reviewers,jgraham
DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D101730
2021-01-14 11:03:12 +00:00
Mirko Brodesser
ab12d717b5 Bug 1685303: part 7) Declare some methods in nsFrameSelection const. r=smaug
Simplifie reasoning about them.

Differential Revision: https://phabricator.services.mozilla.com/D101454
2021-01-14 11:06:03 +00:00