Commit Graph

757001 Commits

Author SHA1 Message Date
Frederik Braun
5b4bb711be Bug 1708114 - when doing unexpected systemprincipal loads, record redirected schemes - r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D113763
2021-05-11 08:27:47 +00:00
Christoph Kerschbaumer
65efd6810d Bug 1710467: HTTPS-First Mode should only upgrade schemes using the default port r=arthuredelstein
Differential Revision: https://phabricator.services.mozilla.com/D114760
2021-05-11 07:50:25 +00:00
Alexandre Lissy
bb8254d3dd Bug 1704683 - Avoid loop for closing fd r=jld
Differential Revision: https://phabricator.services.mozilla.com/D114088
2021-05-11 07:45:16 +00:00
Jan de Mooij
a446784236 Bug 1710075 part 10 - Rename FallbackICStubSpace to JitScriptICStubSpace. r=iain
FallbackICStubSpace is no longer a good name because it isn't used for fallback
stubs anymore.

Differential Revision: https://phabricator.services.mozilla.com/D114612
2021-05-11 06:21:57 +00:00
Jan de Mooij
2236016abd Bug 1710075 part 9 - Allocate fallback stubs as an array in ICScript. r=iain
This is more efficient than using the LifoAlloc and lets us make more code infallible.

Differential Revision: https://phabricator.services.mozilla.com/D114611
2021-05-11 06:21:56 +00:00
Jan de Mooij
34f59abf10 Bug 1710075 part 8 - Remove classes and kinds for fallback stubs. r=iain
Each fallback stub is now allocated as just ICFallbackStub.

Also replaces the switch-statement in initICEntries with a faster table lookup
to map from JSOp to fallback kind (to get the trampoline code for the fallback stub).

Differential Revision: https://phabricator.services.mozilla.com/D114610
2021-05-11 06:21:56 +00:00
Jan de Mooij
b2f443b882 Bug 1710075 part 7 - Remove IsInlinableFallback assertion. r=iain
The next patch wants to remove the derived classes (and kinds) for fallback stubs.

This assertion seems redundant with getStubReturnAddress so it should be fine
to remove it.

Differential Revision: https://phabricator.services.mozilla.com/D114609
2021-05-11 06:21:55 +00:00
Jan de Mooij
fe0606ee2e Bug 1710075 part 6 - Clean up fallback stub tracing a bit now that they never contain a GC pointer. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D114608
2021-05-11 06:21:55 +00:00
Dzmitry Malyshau
f25cc08f2a Bug 1710550 - Detect resolving into WebGPU canvas r=gw
Differential Revision: https://phabricator.services.mozilla.com/D114811
2021-05-11 05:42:20 +00:00
Iulian Moraru
e436deb69c Bug 1708191 - fixed eslint failures. a=lint-fix CLOSED TREE 2021-05-11 09:01:20 +03:00
Henrik Skupin
35dbb8baa7 Bug 1708191 - [marionette] Reduce memory footprint when checking for open user prompts. r=marionette-reviewers,Gijs
Calling "getTabDialogBox()" and "getTabModalPromptBox()"
unnecessarily creates new instances for
"TabModalPromptBox" and "TabDialogBox". To avoid that
directly access "tabDialogBox" and "tabModalPromptBox"
on the content browser.

Differential Revision: https://phabricator.services.mozilla.com/D114638
2021-05-11 05:08:28 +00:00
Daisuke Akatsuka
6b099d836c Bug 1710289: Avoid pasting the content of clipboard to urlbar upon clicking on new tab button and tab bar. r=masayuki,adw
Differential Revision: https://phabricator.services.mozilla.com/D114700
2021-05-11 04:58:40 +00:00
Noemi Erli
6a92681d7b Backed out changeset 70979067bc56 (bug 1710415) for causing failures in browser_ext_themes_findbar.js CLOSED TREE 2021-05-11 04:49:57 +03:00
Botond Ballo
148520bf12 Bug 1709374 - Make the check for canceling overscroll after a scroll offset reclamp more precise. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D114798
2021-05-11 00:56:44 +00:00
James Teh
fd632817d3 Bug 1709987: Call MsaaShutdown() when shutting down the ApplicationAccessible. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D114567
2021-05-11 00:35:17 +00:00
Hiroyuki Ikezoe
0416e9a726 Bug 1709723 - Hand off overscrolling to the root content APZC only if the APZC is scrollable in the same direction of the input. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D114583
2021-05-11 00:09:08 +00:00
Csoregi Natalia
e000635504 Backed out 3 changesets (bug 1710324) for causing mass failures and crashes. CLOSED TREE
Backed out changeset 7328372519f1 (bug 1710324)
Backed out changeset aa852464d828 (bug 1710324)
Backed out changeset 238a4cfcdc86 (bug 1710324)
2021-05-11 03:27:51 +03:00
Mike Conley
4ad0c866de Bug 1703494 - Use CSS box for FxA CTA item to avoid need for descriptionHeightWorkaround. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D114770
2021-05-10 23:49:55 +00:00
Mike Conley
211654cace Bug 1708056 - Add a dedicated primary button string for the upgrade dialog for Win7. r=Mardak,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D114783
2021-05-10 23:49:53 +00:00
Emilio Cobos Álvarez
01419dd4c8 Bug 1709622 - Apply EXIF resolution to SurfaceFromElement. r=tnikkel,jrmuizel,jgilbert
And make sure we return the surface of the right size for canvas, which
makes that assumption in a bunch of places.

Depends on D114686

Differential Revision: https://phabricator.services.mozilla.com/D114687
2021-05-10 23:39:05 +00:00
Emilio Cobos Álvarez
6d91a5484a Bug 1709622 - Remove no-op FLAG_WANT_DATA_SURFACE. r=tnikkel,jgilbert
Depends on D114685

Differential Revision: https://phabricator.services.mozilla.com/D114686
2021-05-10 23:39:04 +00:00
Emilio Cobos Álvarez
9180254463 Bug 1709622 - Split density-corrected-image-in-canvas.html. r=tnikkel
So it's easier to see where we fail.

Differential Revision: https://phabricator.services.mozilla.com/D114685
2021-05-10 23:39:04 +00:00
Emilio Cobos Álvarez
aa80bca8b7 Bug 1702940 - Move content select dropdown rules from browser.css to global.css. r=Gijs
So that the rules apply to the popup in
browser/base/content/webext-panels.xhtml and about:addons as well.

Differential Revision: https://phabricator.services.mozilla.com/D114690
2021-05-10 23:37:32 +00:00
Emilio Cobos Álvarez
7199e86cfc Bug 1710415 - Fix customizemode toolbarbutton styles to not use widget colors. r=Gijs
We're suppressing native appearance, so we should also suppress the
native color.

Differential Revision: https://phabricator.services.mozilla.com/D114745
2021-05-10 23:35:32 +00:00
Emilio Cobos Álvarez
c25a3146e9 Bug 1710324 - nsNativeThemeGTK shouldn't need to be an nsIObserver. r=stransky
This is just cleanup. We have better ways to run code on shutdown (the pointer
to the theme object gets cleared on shutdown anyways).

Depends on D114697

Differential Revision: https://phabricator.services.mozilla.com/D114698
2021-05-10 23:33:34 +00:00
Emilio Cobos Álvarez
d420cf322f Bug 1710324 - Tweak dark background detection so that it works for XUL use cases. r=mstange
Two changes:

 * Make it work across document boundaries, so that it works on e.g., the
   bookmarks sidebar.

 * Don't bail out if there's no scrollable frame, as XUL <tree>s use raw
   <scrollbar> elements without any scrollframe (gnarly). In that case, just
   use the target frame, but make sure to skip over themed elements (like the
   scrollbars themselves) so that we can find the right background.

The logic to check the canvas frame background etcetera was simpler in
FindNonTransparentBackgroundFrame. The only caller other than the
scrollbar darkening code is nsTextFrame, which should find a non-canvas frame
before anyways, but it doesn't hurt there.

Differential Revision: https://phabricator.services.mozilla.com/D114697
2021-05-10 23:33:33 +00:00
Emilio Cobos Álvarez
147c187bac Bug 1710324 - Don't specify background color on native scrollbar elements on Windows / Linux. r=Gijs
This allow the automatic scrollbar darkening logic to work without further
tweaks. We don't set appearance: none in any scrollbar on desktop (and we
support scrollbar-{width,color} to customize them anyways).

Differential Revision: https://phabricator.services.mozilla.com/D114696
2021-05-10 23:33:33 +00:00
Kris Maglione
1929fcc995 Bug 1706272: Remove owning-process-can-set workaround for overrideDPPX. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D114270
2021-05-10 23:12:10 +00:00
alwu
749abc0457 Bug 1709899 - batch all data together when appending data to 'AudioDecoderInputTrack' to further ensure the free spaces in SPSC queue. r=padenot.
Differential Revision: https://phabricator.services.mozilla.com/D114559
2021-05-10 22:18:26 +00:00
Morgan Reschenberg
7c9fb4df94 Bug 1710493: Implement AXFrame for VoiceOver r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D113585
2021-05-10 21:32:19 +00:00
Drew Willcoxon
752fb9ad29 Bug 1709992 - Show the Quick/Firefox Suggest row at the end of the general bucket. r=mak
This might be a little hacky because it builds special handling of quick suggest
results into the muxer instead of using some general solution. I have ideas for
general solutions, but they would all be larger than this patch, and we want to
uplift this to 89.

Differential Revision: https://phabricator.services.mozilla.com/D114669
2021-05-10 21:27:04 +00:00
Glenn Watson
e30be09d52 Bug 1710336 - Deduplicate clip template ids when creating hit-test nodes. r=gfx-reviewers,nical
Ideally, we wouldn't need to de-duplicate clip ids here, this would
be done at a higher level. However, due to the way we currently
handle redundant stacking context clips, this is a significant
performance win on some pages.

For example, on the youtube.com home page, this drops the size of
the hit-test clip nodes array from ~3800 to ~2200 per scene. This
is still much higher than it should be, but this gives an immediate
performance win while working on the more involved changes to handle
this in a more optimal way.

Differential Revision: https://phabricator.services.mozilla.com/D114705
2021-05-10 21:21:16 +00:00
Jonathan Kew
1af33c039b Bug 1708821 - On pre-10.15 macOS versions, don't do off-main-thread font registration in content processes. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D114484
2021-05-10 21:04:53 +00:00
sotaro
ad5ad7d272 Bug 1709998 - Do no change window size by PresentableSharedImage::PresentToWindow() r=cmartin
nsWindow does not expect that window size is updated by PresentToWindow().

Differential Revision: https://phabricator.services.mozilla.com/D114570
2021-05-10 20:49:31 +00:00
sotaro
c28cd636d3 Bug 1709900 - Do not call ScreenshotGrabber::MaybeGrabScreenshot() when RenderCompositorLayersSWGL::mCompositingStarted is false r=mstange,gfx-reviewers
mCompositor->BeginFrameForWindow() needs to be called for  ScreenshotGrabber::MaybeGrabScreenshot() with CompositorD3D11.

Differential Revision: https://phabricator.services.mozilla.com/D114714
2021-05-10 20:48:02 +00:00
Matthew Gregan
a455211ec5 Bug 1710095 - Update audioipc to 7537bfad for memmap -> memmap2 transition. r=chunmin,cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D114665
2021-05-10 20:40:40 +00:00
Dana Keeler
19b3cf4df1 Bug 1709848 - osclientcerts: don't scan for certificates when loaded r=bbeurdouche
Before this patch, osclientcerts would look for client certificates and keys
upon initialization. However, this is unnecessary, given that most users won't
ever even be asked to use them. This patch avoids doing this work at startup,
saving some time there. Additionally, this should help avoid shutdown hangs
related to the background task that loads osclientcerts.

Differential Revision: https://phabricator.services.mozilla.com/D114655
2021-05-10 20:36:33 +00:00
Thomas Wisniewski
7cb351d3a0 Bug 1707795 - adjust the webcompat fix to disable overscroll effects on Excel spreadsheets; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D114775
2021-05-10 20:33:22 +00:00
Gavin Lazar Suntop
5c42cd15e6 Bug 1709402 - Replacing more saved.js methods with native DOM r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D114283
2021-05-10 20:25:05 +00:00
Morgan Reschenberg
80ccd5b8b1 Bug 1708522: Remove MOZ_CRASHREPORTER from windows, log AccClient on mac. r=Jamie
This commit adds crash logging for AccessibilityClient on MacOS and
enables that logging on windows by removing the defunct MOZ_CRASHREPORTER
defines. On MacOS, we also introduce logging for SwitchControl and
unknown clients.

Differential Revision: https://phabricator.services.mozilla.com/D114167
2021-05-10 20:22:32 +00:00
Scott
23017c67b0 Bug 1708721 - Update Pocket panel font sizes. r=mconley,gvn
Differential Revision: https://phabricator.services.mozilla.com/D114252
2021-05-10 20:21:46 +00:00
Ava Katushka
a2eeb3b1f3 Bug 1601904 - Keep the downloading file while clearing the downloads. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D113969
2021-05-10 20:12:37 +00:00
Kershaw Chang
6d57ed5e05 Bug 1698017 - Update ODoH to draft 06, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D110915
2021-05-10 20:12:09 +00:00
Kershaw Chang
ef16e154ae Bug 1709551 - Re-enable echConfig tests, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D114738
2021-05-10 20:10:39 +00:00
Glenn Watson
b9eaec8657 Bug 1709983 - Pt 4 - Remove DefineClip use from nsFieldSetFrame r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D114568
2021-05-10 20:10:13 +00:00
Glenn Watson
54230f3c04 Bug 1709983 - Pt 3 - Remove remaining WR uses of define_clip r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D114565
2021-05-10 20:10:13 +00:00
Glenn Watson
ee49ee940e Bug 1709983 - Pt 2 - Use DefinedRoundedRectClip for backdrop-filter r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D114564
2021-05-10 20:10:12 +00:00
Glenn Watson
6cfb58809a Bug 1709983 - Pt 1 - Remove PushClearRectWithComplexRegion. r=gfx-reviewers,nical
The clear region prim don't support complex clip regions (the
complex clip region was being ignored). This has been shipping
like this for many months now, so it seems it's not required.

Differential Revision: https://phabricator.services.mozilla.com/D114563
2021-05-10 20:10:12 +00:00
Edgar Chen
20a141de1f Bug 1706316 - Part 2: Remove nsIBaseWindow::setFocus; r=hsivonen
Depends on D112739

Differential Revision: https://phabricator.services.mozilla.com/D112740
2021-05-10 20:05:12 +00:00
Edgar Chen
45da1c12ad Bug 1706316 - Part 1: Remove nsIEmbeddingSiteWindow::setFocus; r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D112739
2021-05-10 20:05:12 +00:00