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

772525 Коммитов

Автор SHA1 Сообщение Дата
James Teh eb660a098e Bug 1730088 part 7: Move CharAt to HyperTextAccessibleBase. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D127212
2021-10-07 04:22:46 +00:00
James Teh 2dbf269a3f Bug 1730088 part 6: Move TextSubstring to HyperTextAccessibleBase. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D127211
2021-10-07 04:22:45 +00:00
James Teh 3c9b8a17dd Bug 1730088 part 5: Move ConvertMagicOffset to HyperTextAccessibleBase. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D127210
2021-10-07 04:22:45 +00:00
James Teh 90725f7aed Bug 1730088 part 4: Move CaretOffset to HyperTextAccessibleBase. r=eeejay
The implementation for RemoteAccessibleBase is just a stub; we don't cache the caret yet.
However, this needs to be in HyperTextAccessibleBase because it is used by ConvertMagicOffset, which will be moved in an upcoming patch.

Differential Revision: https://phabricator.services.mozilla.com/D127209
2021-10-07 04:22:45 +00:00
James Teh adae2323e9 Bug 1730088 part 3: Move CharacterCount to HyperTextAccessibleBase. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D127208
2021-10-07 04:22:44 +00:00
James Teh 68d5471fbc Bug 1730088 part 2: HyperTextAccessibleBase: Add methods for child index/text offset conversion. r=eeejay
Although HyperTextAccessibleBase implements these, we leave the HyperTextAccessible implementations (overriding the base) because they do caching.
Depending on performance, we may eventually want to move the caching into the base implementation.
I decided not to do this initially because it will use extra memory in the parent process and it may be a premature optimisation.

Differential Revision: https://phabricator.services.mozilla.com/D127207
2021-10-07 04:22:44 +00:00
James Teh f46a0aaf44 Bug 1730088 part 1: Add hyperTextAccessibleBase class. r=eeejay
This will contain methods that can be used for both local and remote Accessibles.
It is inherited into both HyperTextAccessible (local) and RemoteAccessibleBase.

Differential Revision: https://phabricator.services.mozilla.com/D127206
2021-10-07 04:22:43 +00:00
Ed Lee b951e6a2f2 Bug 1734461 - Also check and reset newtab pref from "Firefox Home" upgrade spotlight checkbox r=pdahiya
Add newtab pref checks and record events for when checkbox button is handled. Split up trigger tests to own file and share telemetry helpers from head.js.

Differential Revision: https://phabricator.services.mozilla.com/D127722
2021-10-07 03:59:56 +00:00
Magnus Melin 64a7cbcd6a Bug 1726385 - follow-up - move pocket glyph.svg to toolkit (rename to pocket-outline.svg). r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D127358
2021-10-07 01:51:03 +00:00
Marian-Vasile Laza 8e53738652 Backed out 2 changesets (bug 1734506, bug 1734502) for causing build bustages. CLOSED TREE
Backed out changeset 542b8b4e17ca (bug 1734506)
Backed out changeset b37746f292da (bug 1734502)
2021-10-07 05:15:58 +03:00
Jeff Muizelaar 3bc95646ff Bug 1734506 - Remove Layer. r=gfx-reviewers,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D127753
2021-10-07 01:21:16 +00:00
Jeff Muizelaar c388a92e0c Bug 1734502 - Remove unused ContainerLayer. r=gfx-reviewers,mstange
Differential Revision: https://phabricator.services.mozilla.com/D127751
2021-10-07 01:15:48 +00:00
Emilio Cobos Álvarez 750730d7c2 Bug 1734016 - Annotate some re-enabled tests that fail with drawSnapshot for now. r=tnikkel DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D127652
2021-10-07 00:28:32 +00:00
Emilio Cobos Álvarez 654245b042 Bug 1734445 - Make StyleSheetList idl exactly match the spec. r=webidl,smaug
I don't think this can be observed in any way since all our StyleSheet
objects also implement CSSStyleSheet.

Differential Revision: https://phabricator.services.mozilla.com/D127694
2021-10-07 00:26:31 +00:00
Glenn Watson e8b6ea1147 Bug 1734474 - Refactor spatial tree invertible calculations r=gfx-reviewers,kvark
With this change, we no longer have mutable state stored inside
the `ReferenceFrameInfo` struct, which will be important as we
introduce the follow up patches to retain the spatial tree
between display lists.

Differential Revision: https://phabricator.services.mozilla.com/D127726
2021-10-06 23:32:51 +00:00
Edgar Chen 4485bbef82 Bug 1556373 - Implement labels attribute of ElementInternals; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D126130
2021-10-06 21:40:51 +00:00
Marian-Vasile Laza 18fb16c542 Backed out 18 changesets (bug 1731564) for causing build bustages on SpinEventLoopUntil. CLOSED TREE
Backed out changeset 0464dbdc8584 (bug 1731564)
Backed out changeset 0d996df13545 (bug 1731564)
Backed out changeset 5630a0e7a109 (bug 1731564)
Backed out changeset 37b41d187cdb (bug 1731564)
Backed out changeset d37700fa60b6 (bug 1731564)
Backed out changeset b0ce7db44b99 (bug 1731564)
Backed out changeset aa5ec3aa1535 (bug 1731564)
Backed out changeset 73b648f1fa70 (bug 1731564)
Backed out changeset bb8fb0f9833e (bug 1731564)
Backed out changeset 0d8905144f5d (bug 1731564)
Backed out changeset 2cfb094a1ec3 (bug 1731564)
Backed out changeset 78d3b0257a6a (bug 1731564)
Backed out changeset e9d32926e93c (bug 1731564)
Backed out changeset 874cab520ce5 (bug 1731564)
Backed out changeset d8071cc32bd9 (bug 1731564)
Backed out changeset 283c5393cbbc (bug 1731564)
Backed out changeset 317bc38e3de5 (bug 1731564)
Backed out changeset 53e3f4862439 (bug 1731564)
2021-10-07 00:09:19 +03:00
Edgar Chen 8339a546d1 Bug 1556362 - Implement form attribute of ElementInternals; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D125900
2021-10-06 20:24:52 +00:00
Scott a3ab24a14e Bug 1730273 - Test for Pocket panel closing unexpectedly. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D125486
2021-10-06 19:47:43 +00:00
Jens Stutte 7acfb8f398 Bug 1731564: Add nested event loop stack to nsTerminator stderr output. r=xpcom-reviewers,nika
Depends on D127249

Differential Revision: https://phabricator.services.mozilla.com/D127253
2021-10-06 19:45:19 +00:00
Jens Stutte b98284738a Bug 1731564: Remove the unmotivated SpinEventLoopUntil variant. r=xpcom-reviewers,nika
Depends on D127238

Differential Revision: https://phabricator.services.mozilla.com/D127249
2021-10-06 19:45:18 +00:00
Jens Stutte 46c1a41f85 Bug 1731564: Use motivated SpinEventLoopUntil inside xpfe/*. r=smaug
Depends on D127237

Differential Revision: https://phabricator.services.mozilla.com/D127238
2021-10-06 19:45:18 +00:00
Jens Stutte 7737c4488a Bug 1731564: Use motivated SpinEventLoopUntil inside xpcom/*. r=xpcom-reviewers,nika
Depends on D127236

Differential Revision: https://phabricator.services.mozilla.com/D127237
2021-10-06 19:45:18 +00:00
Jens Stutte 48ee87e67c Bug 1731564: Use motivated SpinEventLoopUntil inside widget/*. r=smaug
Depends on D127235

Differential Revision: https://phabricator.services.mozilla.com/D127236
2021-10-06 19:45:17 +00:00
Jens Stutte 8928410e6c Bug 1731564: Use motivated SpinEventLoopUntil inside uriloader/*. r=smaug
Depends on D127234

Differential Revision: https://phabricator.services.mozilla.com/D127235
2021-10-06 19:45:17 +00:00
Jens Stutte 1f8b07cd6b Bug 1731564: Use motivated SpinEventLoopUntil inside toolkit/*. r=Gijs
Depends on D127233

Differential Revision: https://phabricator.services.mozilla.com/D127234
2021-10-06 19:45:17 +00:00
Jens Stutte 3d9442dbd4 Bug 1731564: Use motivated SpinEventLoopUntil inside storage/*. r=janv
Depends on D127232

Differential Revision: https://phabricator.services.mozilla.com/D127233
2021-10-06 19:45:16 +00:00
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