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

772498 Коммитов

Автор SHA1 Сообщение Дата
Jens Stutte 7b6bc8c02e Bug 1731564: Use motivated SpinEventLoopUntil inside security/*. r=bobowen
Depends on D127231

Differential Revision: https://phabricator.services.mozilla.com/D127232
2021-10-06 19:45:15 +00:00
Jens Stutte 09fbcfad19 Bug 1731564: Use motivated SpinEventLoopUntil inside modules/*. r=Gijs,KrisWright
Depends on D127230

Differential Revision: https://phabricator.services.mozilla.com/D127231
2021-10-06 19:45:15 +00:00
Jens Stutte 3cbb575b9e Bug 1731564: Use motivated SpinEventLoopUntil inside layout/*. r=emilio
Depends on D127226

Differential Revision: https://phabricator.services.mozilla.com/D127230
2021-10-06 19:45:14 +00:00
Jens Stutte fb5044cb38 Bug 1731564: Use motivated SpinEventLoopUntil inside extensions/*. r=jesup
Depends on D127225

Differential Revision: https://phabricator.services.mozilla.com/D127226
2021-10-06 19:45:14 +00:00
Jens Stutte b3a8e550fe Bug 1731564: Use motivated SpinEventLoopUntil inside netwerk/*. r=necko-reviewers,valentin
Depends on D127102

Differential Revision: https://phabricator.services.mozilla.com/D127225
2021-10-06 19:45:14 +00:00
Jens Stutte 4c843c7054 Bug 1731564: Use motivated SpinEventLoopUntil inside ipc/*. r=ipc-reviewers,nika
Depends on D127100

Differential Revision: https://phabricator.services.mozilla.com/D127102
2021-10-06 19:45:13 +00:00
Jens Stutte cf216f838a Bug 1731564: Use motivated SpinEventLoopUntil inside gfx/*. r=gfx-reviewers,nical
Depends on D127099

Differential Revision: https://phabricator.services.mozilla.com/D127100
2021-10-06 19:45:13 +00:00
Jens Stutte 286cf9a99a Bug 1731564: Use motivated SpinEventLoopUntil inside devtools/*. r=devtools-reviewers,jdescottes
Depends on D126957

Differential Revision: https://phabricator.services.mozilla.com/D127099
2021-10-06 19:45:12 +00:00
Jens Stutte f764763e98 Bug 1731564: Use motivated SpinEventLoopUntil inside dom/*. r=smaug
Depends on D126714

Differential Revision: https://phabricator.services.mozilla.com/D126957
2021-10-06 19:45:12 +00:00
Jens Stutte 80463c0d23 Bug 1731564: Introduce a motivated SpinEventLoopUntil for direct use from C++. r=xpcom-reviewers,nika,necko-reviewers
This patch:
- moves the AutoNestedEventLoopAnnotation into SpinEventLoopUntil.h
- introduces the motivated SpinEventLoopUntil
- maps remaining SpinEventLoopUntil instances to SpinEventLoopUntil with "Missing motivation."
- changes relevant uses in nsThread and nsThreadManager to the motivated SpinEventLoopUntil
- changes all uses with IgnoreAndContinue behavior to the motivated SpinEventLoopUntil

Differential Revision: https://phabricator.services.mozilla.com/D126714
2021-10-06 19:45:11 +00:00
Nihanth Subramanya f56119bc09 Bug 1619071 - Trip Canary heuristic when canonical lookup contains only local addresses. r=necko-reviewers,valentin
This allows certain routers to signal us to disable DoH when they are not capable of
responding with NXDOMAIN or no A records.

Differential Revision: https://phabricator.services.mozilla.com/D127538
2021-10-06 19:06:07 +00:00
Jon Bauman 2a647010dd Bug 1725190 - Incorrect file extension when downloading CR3 files. r=jolin
Fix clang-tidy lints

Depends on D127291

Differential Revision: https://phabricator.services.mozilla.com/D127585
2021-10-06 19:02:15 +00:00
Jon Bauman 97efb10d2e Bug 1725190 - Incorrect file extension when downloading CR3 files. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D127291
2021-10-06 19:02:15 +00:00
Jon Bauman b70b5914dd Bug 1725190 - Incorrect file extension when downloading CR3 files. r=jolin
Add failing test

Differential Revision: https://phabricator.services.mozilla.com/D127290
2021-10-06 19:02:14 +00:00
alwu ae857daa8e Bug 1734327 - only use AOMDecoder when MOZ_AV1 is defined. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D127692
2021-10-06 18:49:58 +00:00
Matthew Gaudet 3f20b90025 Bug 1731070 - Implement ReadableStream.tee() r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D126002
2021-10-06 18:43:02 +00:00
Matthew Gaudet 3bcfc27cef Bug 1730589 - Initial Implementation of ReadableStreams using WebIDL and DOM technologies r=smaug
This patch begins re-implements ReadableStreams using WebIDL and DOM technology (vs the existing JS streams implementation).   Some more background is [here](https://docs.google.com/document/d/1MWRkF32KV60ngOY-Ip4PnKbCMvl6VK_Y9QLED8MJJxg/edit#)

This is guarded under a configure flag `--enable-dom-streams`

1. ByteStreams and ReadableStream.tee will come in future patches.
2. I intentionally crash in other parts of the DOM that require streams (Fetch, Response, Blob), until the integration work is done in future patches.

   My current plan for that integration doesn't involve re-creating the alternative 'external streams' API from SpiderMonkey's implementation, but I have yet to do enough development to verify that will work.

Differential Revision: https://phabricator.services.mozilla.com/D122643
2021-10-06 18:43:01 +00:00
Avinash a078f6adad Bug 1698349 - Changed the .small selectors to .small-button and since there were no uses of medium found that selector was removed . r=mhowell,mtigley,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D125341
2021-10-06 18:18:04 +00:00
Andi-Bogdan Postelnicu 5482810b38 Bug 1734285 - fix mixing bitwise with bool operators. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D127639
2021-10-06 17:37:56 +00:00
Itiel b0e4975d00 Bug 1734187 - Improve HCM for the new upgrade dialog r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D127562
2021-10-06 16:59:54 +00:00
Tooru Fujisawa 952c68f8ee Bug 1723417 - Part 3: Update comment for async functions. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D127477
2021-10-06 16:19:54 +00:00
Tooru Fujisawa e358822269 Bug 1723417 - Part 2: Update comment for Promise combinator methods. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D127476
2021-10-06 16:19:53 +00:00
Tooru Fujisawa 51491841cf Bug 1723417 - Part 1: Update comment for Promise internal and simple methods. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D127475
2021-10-06 16:19:53 +00:00
Marian-Vasile Laza b139f7c95a Backed out changeset a586415a372b (bug 1661152) for causing bc failures on browser_partitionedLocalStorage.js. CLOSED TREE 2021-10-06 21:00:43 +03:00
Benjamin VanderSloot 4b6f68e098 Bug 1661152 - hasStorageAccess will return false when all cookies are blocked. r=timhuang
- Adding a test to validate behavior on non-tracking first-party requests
- Correct the result of a tracking same-origin request (now hasStorageAccess() == false when cookiePolicy = 2)
- Add check near the top of Document::HasStorageAccess to immediately return false when cookiePolicy is REJECT.

Differential Revision: https://phabricator.services.mozilla.com/D126399
2021-10-06 16:19:05 +00:00
Gijs Kruitbosch 4ba8832b34 Bug 1734246 - fix English text for 'show you how' button to use first person singular instead, r=fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D127686
2021-10-06 16:18:02 +00:00
Luca Greco 3f6092e28e Bug 1733781 - Ensure test_ext_new_tab_processType.html closes the tabs opened from its test cases. r=mixedpuppy
NOTE: this issue in the test_ext_new_tab_processType.html test was not actually the one triggering
the intermittent failures being tracked by this bug, but while investigating the issue I did notice
an unexpected tab in the screenshots attached to the failures and looked into fix it to confirm
if it was related or not to the failures triggered while running test_ext_webrequest_basic.html.

Differential Revision: https://phabricator.services.mozilla.com/D127484
2021-10-06 16:14:22 +00:00
Luca Greco e8774b5955 Bug 1733781 - Fix test_ext_webRequest_basic.html timeout failures. r=mixedpuppy
The underlying reasons for the test to fail for a timeout seems to be the same
ones that D94613 was meant to fix:

- a favicon request may be triggered at a random time while one of the test case
  in the test file is asserting the intercepted web requests

- a previous run (in particular when running under --verify or as part of a TV job)
  may have cached the stylesheet and the resulting webrequest may not match
  the properties expected (and asserted) by the test case

The original patch was attached and pushed to autoland from Bug 1633189
(see https://bugzilla.mozilla.org/show_bug.cgi?id=1633189#c46), but it seems that
it has been backed out (https://bugzilla.mozilla.org/show_bug.cgi?id=1633189#c47)
and instead we ended up landing a patch (D123339) that skipped the test in
linux-asan-opt.

NOTE:
- The unexpected favicon request which was making the test case to permafail
  on the build infrastructure is only triggered when "browser.chrome.guess_favicon"
  is set to true, which is actually explicitly set in mochitest-common.ini, but
  apparently those preferences are not being set when the test is executed locally
  through `mach mochitest` / `mach test`

- To be able to reproduce the same behavior when running the test locally,
  the pref has to be set through the --setpref command line option:

     mach mochitest --setpref "browser.chrome.guess_favicon=true" ...

Differential Revision: https://phabricator.services.mozilla.com/D127398
2021-10-06 16:14:21 +00:00
owlishDeveloper 7a6decb12a Bug 1734028 - Update GeckoView Contributor Guide r=geckoview-reviewers,agi,calu
Differential Revision: https://phabricator.services.mozilla.com/D127493
2021-10-06 16:12:02 +00:00
Tom Schuster 8e643f5b0b Bug 1734320 - Expose structuredClone in Sandbox. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D127641
2021-10-06 16:10:44 +00:00
Nihanth Subramanya d79be2b492 Bug 1734183 - Add CIRA to TRR telemetry provider-key list. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D127563
2021-10-06 15:53:48 +00:00
Emilio Cobos Alvarez 96d7a82b21 Bug 1734359 - Make system toolbar dark on windows dark mode. r=cmartin
This can be accomplished by the undocumented DWMWA_USE_IMMERSIVE_DARK_MODE.

You can test this by going to "Customize Toolbar" and checking "Title Bar", or
opening any native dialog like e.g. the profile creation window / the profile
manager / etc.

Differential Revision: https://phabricator.services.mozilla.com/D127636
2021-10-06 15:30:00 +00:00
Emilio Cobos Alvarez 4dbd654e4c Bug 1734297 - Don't use native <input> appearance on Windows dark mode. r=desktop-theme-reviewers,dao
Also, change XUL button borders to match HTML <input>s and <button>s.

Differential Revision: https://phabricator.services.mozilla.com/D127633
2021-10-06 15:29:59 +00:00
Emilio Cobos Alvarez 51b1017370 Bug 1734226 - Use a single pref to determine whether system colors follow the Firefox theme. r=desktop-theme-reviewers,dao
Now that windows is going to support dark colors, we want to make it
behave like other platforms in this regard.

Having a single pref for this seems better.

Differential Revision: https://phabricator.services.mozilla.com/D127624
2021-10-06 15:29:59 +00:00
Tim Huang 763b888847 Bug 1731988 - Part 5: Updatet the documentation in StoragePrincipalHelper.h r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D127440
2021-10-06 14:57:00 +00:00
Tim Huang 7776c7e67d Bug 1731988 - Part 4: Add gTest for the StoragePrincipalHelper::GetPrincipal(). r=dimi
This patch adds tests for the StoragePrincipalHelper::GetPrincipal() but
only for the version which accepts a channel. The reason why we don't
add tests for window version is because there is no way to setup window
in gTest.

Differential Revision: https://phabricator.services.mozilla.com/D127439
2021-10-06 14:57:00 +00:00
Tim Huang 1849ce5a27 Bug 1731988 - Part 3: Implement StoragePrincipalHelper::GetPrincipal() functions. r=dimi
This patch implements the StoragePrincipalHelper::GetPrincipal() which
is designed to be used to get the principal from the window/channel
according to the given principal type.

Differential Revision: https://phabricator.services.mozilla.com/D127438
2021-10-06 14:56:59 +00:00
Tim Huang c3ea5f426d Bug 1731988 - Part 2: Support eForeignPartitionedPrincipal for StoragePrincipalHelper::GetOriginAttributes(). r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D127436
2021-10-06 14:56:59 +00:00
Tim Huang 0d2eb797fd Bug 1731988 - Part 1: Add a new PrincipalType `eForeignPartitionedPrincipal` for StoragePrincipalHelper. r=dimi
In order to support always partitioned third-party storage,
like the service worker, in the future, we need to have another
principal type which uses partitioned principal in a third-party context
and regular principal in a first-party context.

Differential Revision: https://phabricator.services.mozilla.com/D127435
2021-10-06 14:56:59 +00:00
Andrew Osmond db0498fdc5 Bug 1732115 - Part 6. Update test annotations. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D126384
2021-10-06 14:41:19 +00:00
Andrew Osmond 774ef22598 Bug 1732115 - Part 5. Remove reorientation code from RasterImage. r=tnikkel
This is now all handled in the layers below.

Differential Revision: https://phabricator.services.mozilla.com/D126383
2021-10-06 14:41:18 +00:00
Andrew Osmond 211e37f75c Bug 1732115 - Part 4. Add/use reorienting decoding pipeline. r=tnikkel
This part hooks up the swizzling code from earlier to the AVIF and JPEG
decoder pipelines.

Differential Revision: https://phabricator.services.mozilla.com/D126382
2021-10-06 14:41:18 +00:00
Andrew Osmond 09266efcbc Bug 1732115 - Part 3. Refactor decoder pipeline to partially use Unoriented/OrientedPixel. r=tnikkel
Rather than change every use of IntSize/Rect/Point in image/, this patch
attempts to draw the line at the relevant parts of the decoding pipeline
to prevent confusion about which size and orientation we are working
with.

Differential Revision: https://phabricator.services.mozilla.com/D126381
2021-10-06 14:41:17 +00:00
Andrew Osmond e2050d4c94 Bug 1732115 - Part 2. Move OrientedPixel and related to image/Orientation.h. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D126380
2021-10-06 14:41:17 +00:00
Andrew Osmond 1afab525ff Bug 1732115 - Part 1. Add swizzling support for reorienting by row. r=tnikkel
This is a new swizzle operation which allows us process a reorientation
row by row into its new orientation. This will be used in a later part
in the series in the image decoding pipeline.

Differential Revision: https://phabricator.services.mozilla.com/D126379
2021-10-06 14:41:17 +00:00
Cristian Tuns ed43fdd207 Backed out changeset 55ab13abb8c2 (bug 1556362) for causing wpt failures on ElementInternals. CLOSED TREE 2021-10-06 11:14:57 -04:00
Andreas Pehrson 3775fad341 Bug 1729964 - Fix data race on static logging-only nsTimerImpl members. r=xpcom-reviewers,KrisWright
Tsan with MOZ_LOG=nsTimerImpl:5 reveals this race.

Differential Revision: https://phabricator.services.mozilla.com/D126920
2021-10-06 14:33:41 +00:00
Andreas Pehrson 404b158fe7 Bug 1729964 - Move timer-release threading assert from TimerThread to nsTimerImpl. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D127622
2021-10-06 14:33:41 +00:00
Andreas Pehrson 8104de54c0 Bug 1729964 - Fix linker error. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D126918
2021-10-06 14:33:40 +00:00
Rob Wu bab8d4c04d Bug 1734396 - Use Utils.fetch to fetch x5u r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D127660
2021-10-06 14:30:38 +00:00