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

778287 Коммитов

Автор SHA1 Сообщение Дата
Steve Fink 70ffe6ef15 Bug 1743441 - Missing nullptr check in TypedArray_base::fromObject r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D132416
2021-11-30 15:51:27 +00:00
pestanoah 5c3b2f577f Bug 1733580 - Fixed glitch on the PiP toggle icon in HCM. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D129354
2021-11-30 15:43:36 +00:00
Kagami Sascha Rosylight 19993c55dd Bug 1739989 - Part 2: Apply more edits r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D130630
2021-11-30 15:38:37 +00:00
Kagami Sascha Rosylight c0dd606b27 Bug 1739989 - Part 1: Update Web IDL references r=peterv
Reflects the recent move to WHATWG and the name (corresponding to f01080ffc4)

Differential Revision: https://phabricator.services.mozilla.com/D130629
2021-11-30 15:38:37 +00:00
Emilio Cobos Álvarez 8ce726b6d4 Bug 1743600 - Clean up some cocoa system color code. r=mac-reviewers,harry
No behavior change, but it's a bit less code this way.

Differential Revision: https://phabricator.services.mozilla.com/D132477
2021-11-30 15:08:37 +00:00
Emilio Cobos Álvarez a03153bd1b Bug 1743027 - Simplify plaintext.css dark mode code. r=jwatt
Now that we have dark color-scheme everywhere we don't need to hard-code
this.

Differential Revision: https://phabricator.services.mozilla.com/D132187
2021-11-30 15:06:51 +00:00
Butkovits Atila 8e13e5203a Backed out changeset 0de3705203a4 (bug 1742168) for causing failures at browser_multiple_pushState.js. CLOSED TREE 2021-11-30 16:31:10 +02:00
Tim Huang 32d4280266 Bug 1743236 - Part 3: Add a test. r=dimi
This patch adds a test to ensure that a dedicated worker can be created
in a page which is controlled by a servcie worker.

Differential Revision: https://phabricator.services.mozilla.com/D132371
2021-11-30 13:40:33 +00:00
Tim Huang e2cd77377d Bug 1743236 - Part 2: Use Partitioned Principal when creating clientSource in WorkerPrivate. r=dimi,edenchuang
We should use the parititoned principal when creating clientSource in
WorkerPrivate if the workerPrivate is in third-party context.

Differential Revision: https://phabricator.services.mozilla.com/D132370
2021-11-30 13:40:33 +00:00
Tim Huang 82984ed40f Bug 1743236 - Part 1: Add StoragePrincipalHelper::ShouldUsePartitionPrincipalForServiceWorker() for WorkerPrivate. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D132369
2021-11-30 13:40:32 +00:00
Tim Huang e892676b4e Bug 1731999 - Part 4: Modify tests to tests partitioned service workers. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D131789
2021-11-30 13:40:32 +00:00
Tim Huang e3e09e1fdf Bug 1731999 - Part 3: Enable partitioned service workers. r=pbz
This patch enables partitioned service workers in third-party contexts.
Doesn't like before, we will allow service workers to be registered even
the third-party contexts don't have storage access and the registered
service workers will be partitioned by the top-level site.

You can control this by using the pref 'privacy.partition.serviceWorkers'.
Setting this to true will enable the partitioning, otherwise, it will
still use the old behavior.

Differential Revision: https://phabricator.services.mozilla.com/D131788
2021-11-30 13:40:31 +00:00
Tim Huang bf00e6e2cf Bug 1731999 - Part 2: Use regular principal for service workers if pref 'privacy.partition.serviceWorkers' is false. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D131787
2021-11-30 13:40:31 +00:00
Tim Huang bee9196df8 Bug 1731999 - Part 1: Add a pref 'privacy.partition.serviceWorkers'. r=pbz
This patch adds a pref to control unconditional partitioned service
worker in dFPI.

Differential Revision: https://phabricator.services.mozilla.com/D131786
2021-11-30 13:40:31 +00:00
Cosmin Sabou a38d2127b3 Backed out 3 changesets (bug 1732473) for causing xpcshell failures on test_ext_cookies_errors.js. CLOSED TREE
Backed out changeset a219f44c0135 (bug 1732473)
Backed out changeset d2a20c79f52b (bug 1732473)
Backed out changeset ee872b2362bb (bug 1732473)
2021-11-30 15:46:36 +02:00
Olli Pettay 00560d8b6d Bug 1742168, increase maxStateObjectSize to 16MB and make the pref a StaticPref, r=peterv
Keeping the pref as signed, since the existing code explicitly handles that case, so someone may have -1 as the pref value.

Differential Revision: https://phabricator.services.mozilla.com/D132020
2021-11-30 13:31:20 +00:00
Rob Wu fb42d8e7fe Bug 1732473 - Remove redundant privateBrowsingAllowed check r=zombie
The query method already validates whether access to private cookies is
allowed. It cannot yield private cookies if not allowed, so checking it
again in the loop of getAll is redundant..

Differential Revision: https://phabricator.services.mozilla.com/D127644
2021-11-30 13:04:20 +00:00
Rob Wu 91fcfaa76f Bug 1732473 - Deduplicate storeId parsing in cookies API r=zombie
Move the duplicate logic of parsing the storeId to a common place.

This patch has the following observable change in behavior:

- Invalid storeId (whether with the "firefox-container-" prefix or with
  something else) have the same error message instead of distinct ones.
  Instead of "Illegal storeId: X` or "Unknown storeId", the message is
  now `Invalid cookie store id: "X"`, which is also what Chromium uses.

Differential Revision: https://phabricator.services.mozilla.com/D127643
2021-11-30 13:04:20 +00:00
Rob Wu 7cc346a550 Bug 1732473 - Add test coverage for errors in the cookies API r=zombie
The cookies API implementation emits a bunch of errors in some cases,
but these are not covered by unit tests. I'm going to refactor some
logic involving these checks, and before doing so I'd like to start
with unit tests with the current behavior as expectations.

Differential Revision: https://phabricator.services.mozilla.com/D127642
2021-11-30 13:04:19 +00:00
Peter Van der Beken d9015bc3ab Bug 1743353 - Fire pageshow after pagehide/unload with session history in the parent. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D132354
2021-11-30 13:01:03 +00:00
Peter Van der Beken 759bf3ea27 Bug 1742689 - Block things loaded in the large allocation process from the BFCache with BFCache in the parent. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D132351
2021-11-30 12:50:09 +00:00
Sebastian Hengst 3bb82e4bca Bug 1743553 - set secure-payment-confirmation/enrollment.https.html as timing out on Linux code coverage. DONTBUILD
Test got added in bug 1741855.

Differential Revision: https://phabricator.services.mozilla.com/D132472
2021-11-30 12:37:56 +00:00
Sebastian Hengst 7e5883739e Backed out changeset b9191663cc08 (bug 1743583) because it landed with wrong bug number 2021-11-30 13:49:22 +01:00
Sebastian Hengst f2e02c55d1 Bug 1743564 - set navigation-timing/nav2_test_response_end_and_duration_before_during_and_after_load_event.html as passing on Windows ccov. DONTBUILD
Test got added in bug 1728515. Code coverage seems too slow to reproduce the
condition which yields the timeout.

Depends on D132473

Differential Revision: https://phabricator.services.mozilla.com/D132474
2021-11-30 12:37:57 +00:00
Sebastian Hengst 3dedd9da05 Bug 1743556 - set screen-cpature/permissions-policy audio and video tests as passing on Windows opt. DONTBUILD
They had already been set as passing on other desktop platforms.

Depends on D132472

Differential Revision: https://phabricator.services.mozilla.com/D132473
2021-11-30 12:37:56 +00:00
Sebastian Hengst 47a66b870b Bug 1743583 - set secure-payment-confirmation/enrollment.https.html as timing out on Linux code coverage. DONTBUILD
Test got added in bug 1741855.

Differential Revision: https://phabricator.services.mozilla.com/D132472
2021-11-30 12:37:56 +00:00
Emilio Cobos Álvarez c9d4405306 Bug 1743310 - Remove paint flashing. r=gfx-reviewers,lsalzman
It's only meaningfully read in two places:

 * WebRender fallback code.
 * Some widget DEBUG-only code, which on Linux is ifdef'd and on Windows does
   some rather sketchy things like sleeping for 30ms

So I think it should be ok to remove, since WR fallback has its own flashing
pref as well, IIUC.

Differential Revision: https://phabricator.services.mozilla.com/D132313
2021-11-30 11:46:08 +00:00
Emilio Cobos Álvarez 52174f1ecb Bug 1743310 - Remove paint flahing support from the layout debugger. r=hiro
Doesn't do anything particularly useful nowadays, see above.

Differential Revision: https://phabricator.services.mozilla.com/D132312
2021-11-30 11:46:07 +00:00
Emilio Cobos Álvarez 44e44eaf46 Bug 1743310 - Remove paint flashing support from DevTools. r=nchevobbe,devtools-backward-compat-reviewers
It doesn't do anything useful except on a niche WebRender fallback code-path,
so it's confusing.

Differential Revision: https://phabricator.services.mozilla.com/D132311
2021-11-30 11:46:07 +00:00
Dragana Damjanovic c5ea85db23 Bug 1741422 - Add tests for the 103 responses over HTTP/2 r=necko-reviewers,valentin
GetHeader can return NS_ERROR_NOT_AVAILABLE which is not a fatal error and we should not assert.

Differential Revision: https://phabricator.services.mozilla.com/D131376
2021-11-30 11:07:04 +00:00
Butkovits Atila 724754167c Backed out 2 changesets (bug 1580394) for causing failures at browser_dbg-paused-overlay-loading.js. CLOSED TREE
Backed out changeset 6d96da07e581 (bug 1580394)
Backed out changeset db068d3108a2 (bug 1580394)
2021-11-30 12:44:44 +02:00
Nick Alexander 8acec2021a Bug 1709522 - Include WinToast license in `browser/omni.ja`, not in `/omni.ja`. r=Gijs
Make `chrome/browser/content/browser/license.html` include the
WinToast license if the WDBA is enabled and never include the WinToast
license in `chrome/toolkit/content/global/license.html`.

While here, fix the anchor, which is case sensitive.

Differential Revision: https://phabricator.services.mozilla.com/D132421
2021-11-30 10:21:21 +00:00
stransky cd753d23dc Bug 1726186 [Linux] Don't advertise full range color for DMABufSurfaceYUV, r=rmader
Differential Revision: https://phabricator.services.mozilla.com/D132463
2021-11-30 10:12:46 +00:00
Mark Banner 4d26cd3ddd Bug 1742839 - Improve handling of missing last modified dates in remote settings database. r=robwu,leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D132053
2021-11-30 10:11:50 +00:00
Mark Banner 94a260ca9b Bug 1742788 - Enable loading from the local dump if it is newer for the search-config remote settings collection. r=robwu,daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D132033
2021-11-30 10:11:50 +00:00
Valentin Gosu 085e6d7704 Bug 1743567 - Enable predictive prefetch on nightly+early beta r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D132460
2021-11-30 09:45:23 +00:00
nchevobbe 3a85747d5c Bug 1580394 - [devtools] Don't wait for document to be ready to show PausesDebuggerOverlay. r=ochameau.
We're using the new `force` parameter for `insertAnonymousContent` to force creating a container
for the anonymous content, and we add a new option to the CanvasAnonymousHelper so highlighter
can choose to not wait for the dom to load.
For now we only use it for the paused debugger overlay as the other highlighters might need
an inspector front, which may require the dom to be ready.
We enable the assertions in  browser_dbg-paused-overlay-loading.js to check that the
highlighter is visible.
This required a few changes in the highlighter test actor.
First, it was waiting for an inspector front in its initialize method, which was
waiting indefinitely in our test as the document is paused. As this was only done
to retrieve the inspector actorID, we simply remove it and retrieve the actorID
through the connection and the target form when it's needed (for the eye dropper).
Secondly, the isPausedDebuggerOverlayVisible method was returning true even when
the highlighter wasn't displayed, so we check a few additional attributes.

Depends on D132034

Differential Revision: https://phabricator.services.mozilla.com/D132116
2021-11-30 09:33:20 +00:00
Emilio Cobos Álvarez 4253a7fa88 Bug 1580394 - Add an InsertAnonymousContent version which tries to update layout synchronously if needed. r=nchevobbe,smaug
Differential Revision: https://phabricator.services.mozilla.com/D132034
2021-11-30 09:33:19 +00:00
Christoph Kerschbaumer b4d3e55408 Bug 1742785: Update more tests within dom/ and docshell/ to work with https-first enabled r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D132007
2021-11-30 09:21:45 +00:00
stransky 4839650179 Bug 1743392 [Linux] Use MakeScopeExit to release clipboard targets, r=emilio"
Differential Revision: https://phabricator.services.mozilla.com/D132364
2021-11-30 07:52:59 +00:00
stransky cbc27848e4 Bug 1740159 [Linux/X11] Don't do strict clipboard content checking on X11, r=emilio
Allow to paste clipboard data even when Gtk does not advertise them as it was before Bug 1611407 (Firefox 93).

Differential Revision: https://phabricator.services.mozilla.com/D132339
2021-11-30 07:29:05 +00:00
Jan Varga ead7da2d9c Bug 1732642 - Handle complex types in MOZ_TO_RESULT_INVOKE_MEMBER_TYPED; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D126785
2021-11-30 05:05:53 +00:00
Jan Varga 1af2efb302 Bug 1731977 - Add MOZ_TO_RESULT_INVOKE_TYPED for invoking plain functions; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D126329
2021-11-30 05:05:53 +00:00
Jan Varga a7f7389681 Bug 1731969 - Rename ToResultInvoke member function overloads to ToResultInvokeMember; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D126328
2021-11-30 05:05:53 +00:00
Jan Varga 0115137758 Bug 1731969 - Rename ToResultInvokeMemberFunction to ToResultInvokeMemberInternal; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D126327
2021-11-30 05:05:52 +00:00
Jan Varga ff4cf60eb4 Bug 1731962 - Move ToResultGet from QuotaCommon.h to ResultExtensions.h; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D126326
2021-11-30 05:05:51 +00:00
Jan Varga 8ff5e0ec6f Bug 1731961 - Add ToResultTransform for transforming Result<V, E2> to Result<V, E>; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D126325
2021-11-30 05:05:51 +00:00
Jan Varga adc8da34e9 Bug 1731960 - Move all Result extensions from QMResult.h to a dedicated file; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D126324
2021-11-30 05:05:51 +00:00
Andreea Pavel 9818dd6ab2 Bug 1726270 - update disabling condition to include linux debug r=intermittent-reviewers,MasterWayZ DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D132305
2021-11-30 05:04:36 +00:00
Makoto Kato e3ff6e435d Bug 1701234 - Add more null check on the background thread. r=geckoview-reviewers,agi
Even if landing bug 1697683, this NullPointerException occurs on the
background thread. So I would like to add more null check for this crash.

Differential Revision: https://phabricator.services.mozilla.com/D132329
2021-11-30 04:29:09 +00:00