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

742893 Коммитов

Автор SHA1 Сообщение Дата
Makoto Kato 071043917d Bug 1688521 - moznetwork supports multiple IP address on Windows using PowerShell. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D102894
2021-02-01 09:01:34 +00:00
Mirko Brodesser 36372ab216 Bug 1688832: part 7) Declare `AccessibleCaretManager::GetAllChildFrameRectsUnion` `static`. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D103471
2021-01-29 18:57:30 +00:00
Lars T Hansen e22404c3c8 Bug 1686633 - Add a clarifying comment about commutative operations. r=yury DONTBUILD
The code in MIR.cpp takes care of reordering and there are test cases
in wasm/simd/binop-x64-ion-codegen.js, see the codegenTextX64_LITERALxv128_v128
block.  So just add a comment to avoid future confusion.

Differential Revision: https://phabricator.services.mozilla.com/D103455
2021-02-01 08:08:11 +00:00
Chris Peterson e25d5cd7d9 Bug 1685779 - Add Alt/Command + Left Arrow keyboard shortcut to Back button tooltip. r=Gijs,masayuki,fluent-reviewers,flod
We disabled Backspace as a keyboard shortcut to go back one page (bug 1041377). We can use the Back and Forward buttons' tooltips to advertise the other shortcuts users can use instead of Backspace (like we do on the Reload button's tooltip).

Differential Revision: https://phabricator.services.mozilla.com/D102053
2021-02-01 06:44:45 +00:00
sotaro d26e04b806 Bug 1675876 - Make RenderBufferTextureHostSWGL::RenderBufferTextureHostSWGL() fallible r=mattwoodrow
When ShmemTextureHost does not have valid Shmem, RenderBufferTextureHostSWGL::mBuffer is nullptr. RenderBufferTextureHost and RenderExternalTextureHost handle it as fallible.

Differential Revision: https://phabricator.services.mozilla.com/D103427
2021-02-01 03:06:00 +00:00
Ting-Yu Lin ea86c0a39e Bug 1588966 - Add a wpt reftest of breaking a nested column container. r=emilio
Bug 1677917 makes Firefox render this test the same as Google Chrome.

Differential Revision: https://phabricator.services.mozilla.com/D103528
2021-02-01 04:30:06 +00:00
Masayuki Nakano 9db1e46b82 Bug 1665530 - Make `beforeinput` event and `InputEvent.getTargetRanges()` ride the train r=smaug,preferences-reviewers,ntim
Intent to ship: https://groups.google.com/g/mozilla.dev.platform/c/C_92-abaiuw

Differential Revision: https://phabricator.services.mozilla.com/D103424
2021-01-29 10:45:06 +00:00
Paul Bone fd853f4aea Bug 1687221 - Refactoring in fix_stacks.py r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D102128
2021-02-01 03:51:26 +00:00
Emma Malysz 036272d9b2 Bug 1649611: Remove OS.File usage from DownloadIntegration.jsm and respect umask in IOUtils::SetPermissions r=barret
Depends on D103520

Differential Revision: https://phabricator.services.mozilla.com/D99729
2021-01-30 00:50:47 +00:00
Lee Salzman bd16e62c7b Bug 1689933 - force commit_span inline. r=jrmuizel
commit_span is an extremely hot and extremely short function that seems to show
up in many profiles. For some reason the optimizer doesn't choose to inline it,
when the cost of a function call is significant relative to the small amount of
critical work the function does. Force this inline so that we don't waste perf
calling this as a function.

Differential Revision: https://phabricator.services.mozilla.com/D103606
2021-02-01 03:14:44 +00:00
sotaro a65011d712 Bug 1682483 - Make RenderCompositorD3D11SWGL::AttachExternalImage() fallible r=mattwoodrow
Make RenderCompositorD3D11SWGL::AttachExternalImage() to fallible like RenderThread::GetRenderTexture().

Differential Revision: https://phabricator.services.mozilla.com/D103422
2021-02-01 03:06:18 +00:00
Emilio Cobos Álvarez b9b4fc2acc Bug 1689871 - Ensure non-native resizers are loaded in test_bug629172.html r=masayuki
The issue is that the test was depending on the native resizers (or on a
previous test having loaded the non-native ones).

The first snapshot will not have resizers (because we just started the
load of the SVG) and thus following snapshots would fail.

Wait for the load event and pre-show the ltr textarea, so that the
resizer is known loaded.

This doesn't happen without the non-native theme because that uses
native resizers which don't depend on the image load.

Differential Revision: https://phabricator.services.mozilla.com/D103591
2021-02-01 02:36:41 +00:00
Bogdan Tara ed210ffba0 Backed out changeset 45fb48dc681c (bug 1687426) for arabic-final-ligature-spacing.html failures CLOSED TREE 2021-02-01 05:35:30 +02:00
Emilio Cobos Álvarez 0b49bad602 Bug 1689603 - Fix color input reftests which hard-code their height for the non-native theme.
MANUAL PUSH: Orange on a CLOSED TREE
2021-02-01 04:16:02 +01:00
Emilio Cobos Álvarez b25929c24d Bug 1456052 - Tweak a fuzzy test annotation. 2021-02-01 04:04:54 +01:00
Daisuke Akatsuka f172e68f63 Bug 1689275: Avoid notifying empty events. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D103268
2021-02-01 01:41:46 +00:00
Emilio Cobos Álvarez 10d7e8d01b Bug 1456052 - Change overflow-clip-box of textarea to be consistent with text inputs and match other browsers. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D38794
2021-02-01 00:36:18 +00:00
Jonathan Kew 0b9ef71f7f Bug 1687426 - If a CSS generic font-family name is present, use this to determine which font prefs to look at during fallback. r=emk
Differential Revision: https://phabricator.services.mozilla.com/D103598
2021-01-31 22:27:45 +00:00
Emilio Cobos Álvarez b274d0d387 Bug 1680084 - Tests. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D98745
2021-01-27 22:45:00 +00:00
Emilio Cobos Álvarez 0ed4f74e39 Bug 1689603 - Fix up one XUL test.
MANUAL PUSH: Orange CLOSED TREE
2021-02-01 00:07:20 +01:00
Glenn Watson cf743d8f14 Bug 1685145 - Fix incorrect usage of memory profiling code. r=jrmuizel
The calling code was directly calling the sizeof function, instead
of going via the API method wrapper.

Differential Revision: https://phabricator.services.mozilla.com/D103429
2021-01-31 20:15:47 +00:00
Emilio Cobos Álvarez 1cc19dee6a Bug 1689477 - Remove number-input padding special-case so that we size them the same way as text controls. r=spohl
This means that the number input by default shows some white space to
the right of the spinners. I think it's probably not the end of the
world, and depending on the different trade-offs we might want to do
this instead of fixing the test.

Depends on D103270

Differential Revision: https://phabricator.services.mozilla.com/D103271
2021-01-28 23:22:51 +00:00
Emilio Cobos Álvarez a091ae7d29 Bug 1689603 - Return 2px border for most widgets in nsNativeBasicTheme. r=spohl
This is slightly unfortunate on one hand because we're technically lying
(but so is chromium and our GTK theme, on the other hand).

It is nice because it means that themed and unthemed controls have the
same size by default though, which seems desirable.

So I'm a bit on the edge here, but I think this is probably the less bad
option to grow our form controls if we want to do it.

Differential Revision: https://phabricator.services.mozilla.com/D103477
2021-01-29 21:18:54 +00:00
Barret Rennie eebe62f30e Bug 1689740 - Check for nsIFile::GetParent() returning null in IOUtils r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D103520
2021-01-30 05:47:25 +00:00
Emilio Cobos Álvarez 06078ea6e0 Bug 1598613 - Remove single-caller method in PreloadService. r=edgar
Just drive-by cleanup, no behavior change.

Depends on D103563

Differential Revision: https://phabricator.services.mozilla.com/D103564
2021-01-31 21:16:30 +00:00
Emilio Cobos Álvarez db7e961185 Bug 1598613 - Fix non-unified build in nsHtml5TreeOpExecutor.cpp. r=edgar
Just drive-by cleanup, no behavior change.

There's an using namespace mozilla, so also remove some useless
namespace qualifications while at it.

Depends on D103562

Differential Revision: https://phabricator.services.mozilla.com/D103563
2021-01-31 21:19:23 +00:00
Emilio Cobos Álvarez 0f3f2503ea Bug 1598613 - Remove some useless kNamespaceID_Nones in HTMLLinkElement. r=edgar
Just drive-by clean-up, no behavior change.

Differential Revision: https://phabricator.services.mozilla.com/D103562
2021-01-31 21:17:18 +00:00
Micah Tigley d245fddb87 Bug 1686316 - Show the allowFocusCheckbox for dialogs opened from TabDialogBox. r=Gijs
This revision introduces helpers for determining whether or not dialogs opened with TabDialogBox show the checkbox for allowing focus (tab switching). The approach for showing the checkbox follows the pattern similar to how its handled for TabModalPromptBox:

First, when a prompt is opened, the "DOMWillOpenModalDialog" event is fired from `PromptParent.jsm` on the browser tab. The browser then determines if the tab the event is dispatched on is the current selected tab. If the dialog was opened from another tab, then we check if the content prompt principal permission "focus-tab-by-prompt" is allowed for the URI the dialog was opened for and store its prompt principal on the tab prompt's `_onNextPromptShowAllowFocusCheckboxFor` property.  This presence for this value is ultimately what determines whether or not the checkbox is shown. Everything after that, the prompt's UI component is responsible for handling the checkbox's state and setting a handler for setting the permission when it's checked.

Implementing this for TabDialogBox makes it so we also store the prompt principal on the dialog box. We then process this value and send some information (such as explicitly setting a `checkLabel` value) via the `args` object for common dialog to process. And finally, we set the "focus-tab-by-prompt" permission for that URI via a closing callback for the dialog.

Differential Revision: https://phabricator.services.mozilla.com/D102076
2021-01-31 03:05:00 +00:00
Tim Nguyen cf8a197c9f Bug 1689727 - Followup: fix missing CSS in preferences #updateDeck. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D103593
2021-01-31 17:03:06 +00:00
Bob Owen 4967e1cddf Bug 1689398 p2: Add prefs to allow CET Strict Mode to be turned on for each sandboxed child process. r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D103474
2021-01-31 16:47:11 +00:00
Bob Owen cc73dd0338 Bug 1689398 p1: Add MITIGATION_CET_STRICT_MODE to chromium sandbox code. r=handyman
The patch for the chromium changes doesn't include the updates to
windows_version, because these are already in the release version of chromium
and so will be picked up when we next update.

Differential Revision: https://phabricator.services.mozilla.com/D103473
2021-01-31 16:46:48 +00:00
Mihai Alexandru Michis bd92b9b4a3 Bug 1689885 - Update expectations for beta. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D103587
2021-01-31 16:23:03 +00:00
Jan de Mooij 72b0edc3ed Bug 1674777 part 4 - Change some JSAPI byteLength and byteOffset accessors to return size_t instead of uint32_t. r=sfink
Of these four, only JS_GetTypedArrayByteLength is used outside jsapi-tests.

Differential Revision: https://phabricator.services.mozilla.com/D103277
2021-01-28 16:11:52 +00:00
Jan de Mooij 41621582c6 Bug 1674777 part 3 - Change Get*LengthAndData outparam from uint32_t to size_t. r=sfink,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D103275
2021-01-31 08:35:40 +00:00
Jan de Mooij 27b285bc46 Bug 1674777 part 2 - Enable large ArrayBuffers for jsapi-tests. r=sfink
Depends on D103273

Differential Revision: https://phabricator.services.mozilla.com/D103274
2021-01-28 15:54:23 +00:00
Jan de Mooij e6456075d7 Bug 1674777 part 1 - Change JS::NewArrayBuffer and JS_New*Array size argument from uint32_t to size_t. r=sfink
A later patch will add a jsapi-test for this.

Differential Revision: https://phabricator.services.mozilla.com/D103273
2021-01-28 15:53:44 +00:00
Emilio Cobos Álvarez 6168703191 Bug 1689854, bug 1689855 - Two more nnt fuzzy tweaks.
MANUAL PUSH: Unreviewed intermittent fix.
2021-01-31 09:04:03 +01:00
Jan de Mooij 8d290159a6 Bug 1688616 part 2 - Check for large ArrayBuffer{View}s in WebIDL bindings. r=edgar,lth
The dom::TypedArray type currently represents its length as uint32_t. Changing
that to size_t/uint64_t would cause problems (truncation) for many 'Length()' callers.
Instead of requiring a length check for each of those call sites, for now check for
and reject large array buffers and views in the generated bindings.

Code and tests are based on the implementation of the [AllowShared] attribute.
Additional tests for the new JSAPIs will be added as part of bug 1674777.

Differential Revision: https://phabricator.services.mozilla.com/D102912
2021-01-31 07:33:41 +00:00
Jan de Mooij 6b0004f4f5 Bug 1688616 part 1 - Add a browser pref for large ArrayBuffers. r=lth
The pref is only checked on startup and sets a process-wide flag, so that we
don't have to worry about the value changing from under us.

Differential Revision: https://phabricator.services.mozilla.com/D102911
2021-01-30 16:14:30 +00:00
longsonr c04dd7eafa Bug 1689799 - Ensure we move to the next path when displaying multiple adjacent textPaths r=emilio
reverts part of bug 1678756

Differential Revision: https://phabricator.services.mozilla.com/D103558
2021-01-30 21:35:17 +00:00
Emilio Cobos Álvarez 4d3481a3a2 Bug 1689359 - Two more fuzzy annotation tweaks.
MANUAL PUSH: Orange fix
2021-01-31 03:16:52 +01:00
Csoregi Natalia a7cb602561 Backed out changeset 73c1995ff098 (bug 1685779) for failures on browser_ext_menus_replace_menu.js. CLOSED TREE 2021-01-31 00:57:04 +02:00
Emilio Cobos Álvarez 20babafe8f Bug 1689359 - scrolling-attr-1 needs the same threshold as scrolling-attr-2.
MANUAL PUSH: Preventive orange fix.
2021-01-30 23:22:49 +01:00
Chris Peterson 119f424dc2 Bug 1685779 - Add Alt/Command + Left Arrow keyboard shortcut to Back button tooltip. r=Gijs,masayuki,fluent-reviewers,flod
We disabled Backspace as a keyboard shortcut to go back one page (bug 1041377). We can use the Back and Forward buttons' tooltips to advertise the other shortcuts users can use instead of Backspace (like we do on the Reload button's tooltip).

Differential Revision: https://phabricator.services.mozilla.com/D102053
2021-01-29 14:50:44 +00:00
Chris Peterson b84f179e44 Bug 1685779 - Remove unused and unneeded aNoCloverLeaf hack from prettifyShortcut. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D103144
2021-01-27 13:04:17 +00:00
Emilio Cobos Álvarez d8111fb49e Bug 1689359 - Tweak some fuzzy thresholds.
MANUAL PUSH: Orange on a CLOSED TREE
2021-01-30 20:47:59 +01:00
Csoregi Natalia 201492aa8e Merge mozilla-central to autoland on a CLOSED TREE 2021-01-30 21:44:12 +02:00
Csoregi Natalia 0a489e6757 Merge autoland to mozilla-central. a=merge 2021-01-30 21:39:38 +02:00
Emma Malysz 205673ebee Bug 1689405: remove components of library panel r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D103532
2021-01-30 17:12:51 +00:00
Tim Nguyen 553283a8aa Bug 1689742 - Stop using XUL <deck> for #setDefaultPane. r=preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D103522
2021-01-30 16:31:53 +00:00