776861 Commits

Author SHA1 Message Date
Jon Coppeard
d89836b479 Bug 1693775 - Change CallbackTracer::onChild to pass GCCellPtr by value r=sfink,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D131142
2021-11-16 09:09:37 +00:00
Marcos Cáceres
0f403e17c7 Bug 1735098 - Implement EpochTimeStamp from HR-Time r=edgar
Add the EpochTimeStamp, which can be used to incrementally rename/remove DOMTimeStamp. See also https://github.com/w3c/hr-time/pull/124 and https://github.com/whatwg/webidl/pull/1021

Differential Revision: https://phabricator.services.mozilla.com/D128030
2021-11-16 08:50:37 +00:00
Lars T Hansen
1ad8c73f5c Bug 1739971 - Make it possible to throttle debug machine code. r=jseward
Introduce a command line jit option that allows codegen functions that
emit debug code to know when to emit less of it.  I'm currently using
this only in one place but it would be useful to use it more often, to
simplify whitebox testing of codegen.

Also give a better (and more typical) name to a function that
emits debug code.

Differential Revision: https://phabricator.services.mozilla.com/D130619
2021-11-16 08:47:01 +00:00
Dragana Damjanovic
d30cb41384 Bug 1740208 - Implement an EarlyHint listener r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D130729
2021-11-16 08:45:09 +00:00
sotaro
dc41fd6a96 Bug 1740673 - Ensure d3d device re-creation before sessions re-creation in GPUProcessManager::OnInProcessDeviceReset() r=nical,gfx-reviewers
Current code is not explicit about device recreation before session re-creation. It is actually done by nsWindow::OnPaint() before OnInProcessDeviceReset() call. But it is not explicit.

gfxWindowsPlatform::HandleDeviceReset() does d3d device re-creation if it is necessary.

Differential Revision: https://phabricator.services.mozilla.com/D130957
2021-11-16 08:25:09 +00:00
Bob Owen
6233ec443f Bug 1669149 p7: Always use size from device context for print paper size on Windows. r=jwatt
This is always available and makes it more consistent for comparing print
settings.
Also change to round when converting back to DEVMODE for better accuracy.

Depends on D99810

Differential Revision: https://phabricator.services.mozilla.com/D99811
2021-11-16 08:17:05 +00:00
Bob Owen
c105e16a8d Bug 1669149 p6: Change print settings stored as floats to be stored as doubles. r=jwatt
This more precisely matches what we get from the printer and use in layout.

Depends on D99808

Differential Revision: https://phabricator.services.mozilla.com/D99810
2021-11-16 08:17:04 +00:00
Bob Owen
571f1db901 Bug 1669149 p5: Make nsPrintSettingsService::ReadPrefs return NS_ERROR_NOT_AVAILABLE, not NS_OK, if no prefs are read. r=jwatt
This allows us to detect if any prefs were read in JavaScript.

Depends on D99807

Differential Revision: https://phabricator.services.mozilla.com/D99808
2021-11-16 08:17:04 +00:00
Bob Owen
773d934c75 Bug 1669149 p4: Change unwriteable margin pref to be stored in twips. r=jwatt
This means that more precise values can be stored, so that they match what we
actually retrieve from the printer and use in layout.

Depends on D99806

Differential Revision: https://phabricator.services.mozilla.com/D99807
2021-11-16 08:17:04 +00:00
Bob Owen
c5214a2110 Bug 1669149 p3: Never go back to the parent for print settings with tab modal print UI. r=jwatt
Depends on D105824

Differential Revision: https://phabricator.services.mozilla.com/D99806
2021-11-16 08:17:03 +00:00
Bob Owen
5c38419942 Bug 1669149 p2: Update the printer's DefaultSettings with the global settings. r=jwatt
Depends on D98458

Differential Revision: https://phabricator.services.mozilla.com/D105824
2021-11-16 08:17:03 +00:00
Bob Owen
8efc00817c Bug 1669149 p1: Introduce nsIPrintSettings::EquivalentTo and nsIPrinter::CopyFromWithValidation. r=jwatt
This is to allow settings saved in prefs to be validated against a printer and
for print preview to be updated if any changes affecting layout occur.

Differential Revision: https://phabricator.services.mozilla.com/D98458
2021-11-16 08:17:02 +00:00
Andi-Bogdan Postelnicu
d6be8bb00a Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio,firefox-build-system-reviewers,mhentges
Updated with rustfmt 1.4.38-nightly (936238a9 2021-11-11)

Depends on D129119

Differential Revision: https://phabricator.services.mozilla.com/D129120
2021-11-16 08:07:30 +00:00
Andi-Bogdan Postelnicu
c8e0f87391 Bug 1519636 - First reformat with clang-format 13.0.0. r=firefox-build-system-reviewers,sylvestre,mhentges
Updated with clang-format version 13.0.0 (taskcluster-OgjH5lasS5K_fvefdRcJVg)

Depends on D131114

Differential Revision: https://phabricator.services.mozilla.com/D129119
2021-11-16 08:07:30 +00:00
Andi-Bogdan Postelnicu
1faa3d40cf Bug 1519636 - Reformat recent changes to the Google coding style. r=firefox-build-system-reviewers,mhentges,sylvestre
Reformat with clang-format version 12.0.1 (taskcluster-FYV2l5wGTseBAhiqf8cxfQ)

Differential Revision: https://phabricator.services.mozilla.com/D131114
2021-11-16 08:07:29 +00:00
Sylvestre Ledru
551a6b105b Bug 1714788 - doc: Fix 'undefined label: firefox status flags' r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Depends on D131095

Differential Revision: https://phabricator.services.mozilla.com/D131096
2021-11-16 07:59:49 +00:00
Sylvestre Ledru
39a2e463ea Bug 1714788 - doc: Fix a Pygments warning r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Warning:
lexer name 'bz_comment_text' is not known

Depends on D131047

Differential Revision: https://phabricator.services.mozilla.com/D131095
2021-11-16 07:59:49 +00:00
Sylvestre Ledru
dedafe8aea Bug 1740890 - doc: Silent a recommonmark warning r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D131047
2021-11-16 07:59:48 +00:00
Sylvestre Ledru
1df999712f Bug 1714788 - doc: do not provide the language if the code isn't valid r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Otherwise, the warning is displayed:
```
WARNING: Could not lex literal_block as "json". Highlighting skipped.
```

Depends on D131092

Differential Revision: https://phabricator.services.mozilla.com/D131093
2021-11-16 07:59:48 +00:00
Sylvestre Ledru
cc801c974a Bug 1714788 - doc: Remove an html artifact r=firefox-source-docs-reviewers,championshuttler,nchevobbe DONTBUILD
Depends on D131091

Differential Revision: https://phabricator.services.mozilla.com/D131092
2021-11-16 07:59:47 +00:00
Sylvestre Ledru
e747d0c0f5 Bug 1714788 - doc: Fix a warning 'Inline interpreted text' r=firefox-source-docs-reviewers,championshuttler DONTBUILD
WARNING: Inline interpreted text or phrase reference start-string without end-string.

Depends on D131090

Differential Revision: https://phabricator.services.mozilla.com/D131091
2021-11-16 07:59:47 +00:00
Sylvestre Ledru
2c055de75d Bug 1714788 - doc: Add a missing image r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Depends on D131089

Differential Revision: https://phabricator.services.mozilla.com/D131090
2021-11-16 07:59:46 +00:00
Sylvestre Ledru
cfd3613eeb Bug 1714788 - doc: Fix a link to the image r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Depends on D131088

Differential Revision: https://phabricator.services.mozilla.com/D131089
2021-11-16 07:59:46 +00:00
Sylvestre Ledru
2eaffc586b Bug 1714788 - doc: Remove the image - not available r=firefox-source-docs-reviewers,championshuttler DONTBUILD
'WARNING: image file not readable: public/images/sumo-flag.png'

Differential Revision: https://phabricator.services.mozilla.com/D131088
2021-11-16 07:59:45 +00:00
Andreea Pavel
c607c00328 Bug 1732818 - re-enable browser_windowStateContainer.js on all platforms r=cpeterson
Differential Revision: https://phabricator.services.mozilla.com/D130545
2021-11-16 07:40:44 +00:00
Xidorn Quan
6a113ead05 Bug 1708944 - Update miow & gpu-alloc to latest compatible version. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D131079
2021-11-16 07:29:54 +00:00
Narcis Beleuzu
6deb8b6af5 Backed out changeset 3438d650eca8 (bug 1735098) for Linting opt failure. CLOSED TREE 2021-11-16 07:23:26 +02:00
Marcos Cáceres
04d9c2def4 Bug 1735098 - Implement EpochTimeStamp from HR-Time r=edgar
Add the EpochTimeStamp, which can be used to incrementally rename/remove DOMTimeStamp. See also https://github.com/w3c/hr-time/pull/124 and https://github.com/whatwg/webidl/pull/1021

Differential Revision: https://phabricator.services.mozilla.com/D128030
2021-11-16 05:01:49 +00:00
Marian-Vasile Laza
cc12927f82 Backed out 2 changesets (bug 1740619, bug 1740805) for causing multiple test failures. CLOSED TREE
Backed out changeset be8956524114 (bug 1740805)
Backed out changeset b5ae0c3e9c56 (bug 1740619)
2021-11-16 05:38:10 +02:00
Tom Ritter
b3dba737fd Bug 1700396: Bump updatebot to get the windows job commits and the could-not-vendor commit r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D131070
2021-11-16 02:43:06 +00:00
Tom Ritter
12fdd98bd0 Bug 1740781: When we cannot add files in ./mach vendor, fail with a detectable error code r=jewilde
Differential Revision: https://phabricator.services.mozilla.com/D131008
2021-11-16 02:43:05 +00:00
sotaro
f4fdf11ff5 Bug 1738362 - Do not use MacIOSurface for video frame with RenderCompositorSWGL r=bradwerth,gfx-reviewers
RenderCompositorSWGL does not support MacIOSurface NV12 nor YUV422. Their usage causes a crash at SwCompositor::queue_composite(). See Bug 1697004.

On macOS, RenderCompositorSWGL is normally used only for headless.

Differential Revision: https://phabricator.services.mozilla.com/D131040
2021-11-16 01:58:49 +00:00
Daisuke Akatsuka
d43b44aca5 Bug 1723504: Make dailog be able to narrow. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D130956
2021-11-16 01:44:09 +00:00
Toshihito Kikuchi
d2034f189f Bug 1740805 - Treat --remote-debugging-port as implicit --wait-for-browser. r=mhowell
Depends on D131170

Differential Revision: https://phabricator.services.mozilla.com/D131171
2021-11-16 01:37:02 +00:00
Toshihito Kikuchi
30151da990 Bug 1740619 - Include the launcher process in a Job object when "--wait-for-browser" is set. r=mhowell
When the launcher process is enabled, Puppeteer, or any other automation tools, cannot
have control of the lifetime of the browser process even though the `--wait-for-browser`
option is used.

This patch is to include the launcher process and the browser process to a job to enable
a launcher of the launcher process like Puppeteer to terminate the application by terminating
the launcher process if `--wait-for-browser` is set.

Differential Revision: https://phabricator.services.mozilla.com/D131170
2021-11-16 01:37:02 +00:00
Tetsuharu Ohzeki
076dabcb2a Bug 1741175 - Remove unused GLBlitTextureImageHelper. r=gfx-reviewers,jgilbert,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D131133
2021-11-16 00:53:16 +00:00
Botond Ballo
020074d32b Bug 1675902 - Re-enable test_{bug622117,bug622246,copypaste_disabled}.html on android. r=tnikkel
Depends on D131179

Differential Revision: https://phabricator.services.mozilla.com/D131180
2021-11-16 00:49:13 +00:00
Botond Ballo
3f0818b6be Bug 1675902 - Disable the zoom part of zoom-to-focused-input in dom/base/test. r=tnikkel
This feature causes problems on Android, where it can cause the
root content document to zoom in and its visual viewport to
scroll when an input element gets focus.

Since mochitests run inside iframes, manipulating the root
content document in this way is not something they expect
or want, and it can cause subsequent tests to fail.

Differential Revision: https://phabricator.services.mozilla.com/D131179
2021-11-16 00:49:13 +00:00
Botond Ballo
c49a168426 Bug 1675902 - Remove an unused variable from test_bug622117.html. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D131178
2021-11-16 00:49:12 +00:00
Scott
c910dfa83e Bug 1737868 - Pocket panel overflow menu not properly getting the remote attribute. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D130770
2021-11-16 00:35:34 +00:00
Marian-Vasile Laza
07ce088d36 Backed out changeset f16830944997 (bug 1653543) for causing build bustages on DNSServiceBase.cpp. CLOSED TREE 2021-11-16 02:53:12 +02:00
Marian-Vasile Laza
25a09c0d08 Backed out changeset 561c776bea20 (bug 1740042) for causing build bustages on llvm-readelf. 2021-11-16 02:51:16 +02:00
Marian-Vasile Laza
b06253f9c6 Backed out changeset 50ad5f64e5ba (bug 1738372) for causing bc failures on browser_downloads_panel_opens.js. 2021-11-16 02:50:05 +02:00
Markus Stange
39942c6822 Bug 1728602 - Use IOUtils.openFileForSyncReading in symbolication-worker.js. r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D124208
2021-11-16 00:17:40 +00:00
Molly Howell
18e12efbad Bug 1738372 - Add a pref to control whether the downloads panel opens on every new download. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D130931
2021-11-16 00:03:27 +00:00
Mike Kaply
a35fd106db Bug 1664852 - Close menu at end of test. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D130497
2021-11-15 23:27:26 +00:00
Emilio Cobos Álvarez
d18e0ef76d Bug 1740845 - Add a reftest. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D131149
2021-11-15 23:22:37 +00:00
Emilio Cobos Álvarez
1cb7ed4cfb Bug 1740845 - Remove inline-end padding on inner text control frames if we have a button-box. r=dholbert
This causes the scrollframe to be the right size and the caret clipping
code to work as we expect.

Depends on D131147

Differential Revision: https://phabricator.services.mozilla.com/D131148
2021-11-15 23:22:36 +00:00
Emilio Cobos Álvarez
c8a55fd819 Bug 1740845 - Minor cleanups to text control layout. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D131147
2021-11-15 23:22:36 +00:00
Dão Gottwald
84973358a7 Bug 1740954 - Remove the arrowposition attribute. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D131059
2021-11-15 23:03:43 +00:00