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

723757 Коммитов

Автор SHA1 Сообщение Дата
James Teh 4f869a9ad6 Bug 1660365: Fix a11y dialog role placement for the Print modal. r=Gijs
Previously, the browser dialogTemplate contained role="dialog" and the Print modal body had no role.
This caused screen readers to extraneously report "dialog, Print grouping".
Dialogs presented with commonDialog.xhtml (e.g. using Services.prompt.alertBC) did have the dialog role on the body, so screen readers would report "dialog, {dialogTitle} dialog".

To fix this, remove role="dialog" from dialogTemplate.
Instead, SubDialog now sets role="dialog" on the dialog document when it loads.
Now, screen readers report just "Print dialog" and "{dialogTitle} dialog", respectively.

Differential Revision: https://phabricator.services.mozilla.com/D87977
2020-08-24 12:07:50 +00:00
James Teh f30d80c39a Bug 1660363: Don't treat elements inside print preview documents as focusable. r=emilio,mstriemer
Previously, IsFocusable returned true on elements in print preview documents, but the element wouldn't accept focus.
This meant that when you tried to tab, focus would get stuck on the document.
Now, IsFocusable returns false.
Thus, tab doesn't try to stop on these elements and can move out of the document.

Differential Revision: https://phabricator.services.mozilla.com/D88000
2020-08-26 04:59:27 +00:00
Razvan Maries b3380a4504 Backed out changeset a716e6202487 (bug 1660964) for Gecko Decision Task bustage. CLOSED TREE 2020-08-26 07:47:14 +03:00
Mike Hommey 9cdb5268e6 Bug 1660964 - Upgrade skopeo to 1.1.1 and kaniko to 1.0.0. r=aki
Differential Revision: https://phabricator.services.mozilla.com/D88116
2020-08-25 20:25:36 +00:00
Razvan Maries ff54551a34 Backed out 12 changesets (bug 1660328, bug 1660015, bug 1649595, bug 1649596, bug 1649593, bug 1659176, bug 1659839, bug 1659838, bug 1657663, bug 1657647, bug 1655460) for xpcshell perma failures. CLOSED TREE
Backed out changeset ff95badf90e3 (bug 1660328)
Backed out changeset a92f8525ab6f (bug 1659176)
Backed out changeset 8ca05470a0d5 (bug 1659839)
Backed out changeset 5de389b735d3 (bug 1649596)
Backed out changeset 73bdddd96664 (bug 1649595)
Backed out changeset 59800d609b55 (bug 1659838)
Backed out changeset 8aca41723313 (bug 1649593)
Backed out changeset dc0d90b3e135 (bug 1657647)
Backed out changeset e3dd5b6b4fbd (bug 1657663)
Backed out changeset f9c823fa14ba (bug 1657663)
Backed out changeset a5aecc7a6469 (bug 1655460)
Backed out changeset 21b64ef30e12 (bug 1660015)
2020-08-26 06:35:20 +03:00
Nicholas Nethercote 810f608c1a Bug 1660946 - Remove telemetry for prefs loading. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D88105
2020-08-25 18:13:55 +00:00
Keefer Rourke 1d0cf6135d Bug 1660328: Implement IOUtils::getChildren method r=barret,Gijs
This change introduces a `getChildren` method to the IOUtils interface, which
returns an array of absolute paths pointing to the immediate children of a
directory.

This method should provide equivalent (though not the same) functionality to
iterating directory entries using a new `OS.File.DirectoryIterator`.

Differential Revision: https://phabricator.services.mozilla.com/D87875
2020-08-25 17:54:56 +00:00
Keefer Rourke 6cd6afcf45 Bug 1659176: Document return values for IOUtils r=barret,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D87873
2020-08-24 15:47:37 +00:00
Keefer Rourke e4abec2ea6 Bug 1659839: Assert XRE_IsParentProcess in IOUtils methods r=barret,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D87872
2020-08-24 18:28:04 +00:00
Keefer Rourke 766145a111 Bug 1649596: Use IOUtils instead of OS.File in CrashService.jsm r=barret,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D87495
2020-08-24 15:47:25 +00:00
Keefer Rourke d6ac0ac16a Bug 1649595: Use IOUtils instead of OS.File in CrashMonitor.jsm r=barret
Differential Revision: https://phabricator.services.mozilla.com/D87488
2020-08-24 15:42:31 +00:00
Keefer Rourke b1744ebbe9 Bug 1659838: Change IOUtils shutdown blocker phase from XPCOMWillShutdown to ProfileBeforeChange r=Gijs
IOUtils is meant to act as a drop-in replacement for OS.File. Previously,
IOUtils would block shutdown at the XPCOMWillShutDown phase to allow pending
I/O tasks to finish, however, OS.File blocks for the same reason during the
ProfileBeforeChange phase.

To make IOUtils directly compatible with OS.File, we now match this behaviour.

Differential Revision: https://phabricator.services.mozilla.com/D87511
2020-08-24 18:28:25 +00:00
Keefer Rourke 07edf2a38a Bug 1649593: Use IOUtils instead of OS.File in ExtensionParent.jsm r=barret,zombie
Differential Revision: https://phabricator.services.mozilla.com/D87483
2020-08-24 16:28:23 +00:00
Keefer Rourke 4a65302d85 Bug 1657647: Implement IOUtils methods to read and write UTF-8 text r=barret,froydnj
This change introduces two new methods to the IOUtils interface:

1. `readUTF8` will read an entire file as an UTF-8 encoded text
2. `writeAtomicUTF8` will encode a provided DOMString to UTF-8 and write it
   to file

Differential Revision: https://phabricator.services.mozilla.com/D87020
2020-08-24 16:28:30 +00:00
Keefer Rourke 43eea80eef Bug 1657663: Update OS.File.setDates precision and fix failing extension tests r=barret,mixedpuppy
This changes fixes some failing extension tests on unixes. These failures were
caused by a mismatch in time precision used by nsIFile and OS.File's
implementations.

The fixes are as follows:

 1. Use IOUtils (the C++ port of OS.File) methods where possible.
 2. Update the OS.File.setDates implementation to use a higher time precision
    when setDates is called. Eventually, all calls to OS.File.setDates will
    be replaced by IOUtils.touch.

Differential Revision: https://phabricator.services.mozilla.com/D86831
2020-08-24 15:41:25 +00:00
Keefer Rourke c438dddf23 Bug 1657663: Improve timestamp precision for nsLocalFileUnix r=froydnj,barret
This change updates the unix implementation of nsLocalFile
Set/GetLastModifiedTime methods to improve the precision of file modification
times from a 1 second resolution to a 1 millisecond resolution.

Differential Revision: https://phabricator.services.mozilla.com/D86238
2020-08-24 15:41:07 +00:00
Keefer Rourke 71d39442cf Bug 1655460: Implement IOUtils::touch method r=barret,Gijs
This patch introduces a touch method to the IOUtils method, which allows
callers to update the modification time for a file on disk.

Differential Revision: https://phabricator.services.mozilla.com/D86832
2020-08-24 16:13:04 +00:00
Keefer Rourke de9f6fdad8 Bug 1660015: Add IOUtils to privileged eslint environment configuration r=barret,zombie
This change makes eslint aware of the global IOUtils interface, such that it
may be used without having to access it from the window or otherwise declaring
the global in a special comment on a file-by-file basis.

Differential Revision: https://phabricator.services.mozilla.com/D87612
2020-08-24 16:13:01 +00:00
Robert Helmer fa7464a932 Bug 1646151 - send deletion ping for each unenrolled Pioneer study r=sfoster,amiyaguchi
Differential Revision: https://phabricator.services.mozilla.com/D87523
2020-08-26 02:31:22 +00:00
Lee Salzman 8d53aef426 Bug 1622966 - composite YUV surfaces directly in SWGL SwCompositor. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D88102
2020-08-26 00:36:24 +00:00
Kannan Vijayan d06954a28d Bug 1660798 - Part 2 - Convert uses of JSAtom* and PropertyName* to ParserAtomId and ParserNameId. r=tcampbell
Depends on D84865

Differential Revision: https://phabricator.services.mozilla.com/D82826
2020-08-26 01:03:35 +00:00
Kannan Vijayan a667e30fe5 Bug 1660798 - Part 1 - Adaptor glue to allow for parser to transition to internal atoms representation. r=mgaudet,tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D84865
2020-08-26 00:15:23 +00:00
David Major 3e160f998a Bug 1661129 - Add toolchain tasks for clang 11.0.0 rc2 (not yet used) r=nalexander
This adds toolchain definitions for clang 11.0.0 rc2, so that developers can get a sneak peek, but nothing in automation uses these tasks yet. We'll make the switch in a later patch.

NB: most of `clang.yml` is rote copy-paste, except for `macosx64-clang-11` which makes a deliberate departure, described in a comment.

Differential Revision: https://phabricator.services.mozilla.com/D88189
2020-08-25 22:22:12 +00:00
David Major 00d90b6c8a Bug 1661126 - Update wasi-sdk to pick up clang-11 build fixes r=firefox-build-system-reviewers,rstewart
Also reflects the move from CraneStation to the WebAssembly account. And we need a small tweak to the build script to accommodate one of the changes that got picked up along the way.

Differential Revision: https://phabricator.services.mozilla.com/D88187
2020-08-25 22:19:08 +00:00
Matt Woodrow 736bc68232 Bug 1638422 - Implement nsIMultiPartChannelListener for RequestListener. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D83597
2020-08-25 23:17:47 +00:00
Matt Woodrow 698bbf9bd5 Bug 1638422 - Handle attaching StreamFilters to multipart responses from the parent process, so that they see the unparsed single stream. r=kmag,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D83596
2020-08-25 23:17:38 +00:00
Matt Woodrow 228b3b0a58 Bug 1638422 - Add an option for nsITraceableChannel new listeners to request that content decoding be applied before they are called. r=kmag,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D83595
2020-08-25 23:17:35 +00:00
Matt Woodrow bf01cd84ee Bug 1638422 - Remove nsITraceableChannel from DocumentChannel. r=kmag,necko-reviewers
This isn't necessary any more, since we now attach StreamFilters directly to the 'real' channel when we replace DocumentChannel.

Differential Revision: https://phabricator.services.mozilla.com/D83594
2020-08-25 23:17:11 +00:00
longsonr 61fc7b177e Bug 1648550 - Fix getBoundingClientRect for use element position r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D83256
2020-08-25 23:36:18 +00:00
Joel Maher 27932d4e6e Bug 1661132 - disable a few mochitests on osx opt. r=bc
disable a few mochitests on osx opt

Differential Revision: https://phabricator.services.mozilla.com/D88193
2020-08-25 21:48:25 +00:00
David Parks 01d313e47b Bug 1659523: Secure bool and enum serialization in remote WebGL r=jgilbert
"Validate" bools to guarantee they always (de)serialize to proper values.  Require that all enums use EnumSerializer or their own special handlers.

Differential Revision: https://phabricator.services.mozilla.com/D87367
2020-08-25 16:10:21 +00:00
David Parks 9fcae06581 Bug 1659523: Check CanSend() before calling Send() when allocating Shmems r=nika
CanSend() is called (in ChannelSend()) by SendFoo() IPDL calls to prevent calling Send() on a dead actor but shmem creation uses a different code path to Send() -- one that does not use ChannelSend.  This adds the guard to shmem allocation as well.

Differential Revision: https://phabricator.services.mozilla.com/D87357
2020-08-25 16:10:17 +00:00
David Parks c7f79b6c75 Bug 1659523: Wait for SpecialPowers to set pref before running WebGL tests r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D87356
2020-08-25 21:33:15 +00:00
David Parks df6398ff5c Bug 1659523: Free WebGL command shmem when actor is destroyed r=jgilbert
Using the Shmem after our actor has lost IPC capability (say, because the other endpoint crashed) will cause the content process to also crash.  ActorDestroy is where we detect that condition.

Differential Revision: https://phabricator.services.mozilla.com/D87352
2020-08-25 21:33:15 +00:00
Razvan Maries 0162b8cd2b Backed out changeset 5fd46f578846 (bug 1661077) for perma failures on browser_errorpage_timeout.js. CLOSED TREE 2020-08-26 02:07:40 +03:00
Razvan Maries 7fc0a216cf Backed out 2 changesets (bug 1658696) for perma failures on test_reftest.py. CLOSED TREE
Backed out changeset c8a6c4e4fb9f (bug 1658696)
Backed out changeset 2125e2962dcb (bug 1658696)
2020-08-26 00:54:48 +03:00
Emilio Cobos Álvarez 7031d2fbc0 Bug 1636728 - Disable the new test on some builds because we report leaks of stuff that's still alive because of the print process.
MANUAL PUSH: Fix orange introduced by this test on a CLOSED TREE
2020-08-26 00:47:25 +02:00
Alexandre Poirot 26f8349cef Bug 1660897 - Avoid updating the JS context selector too many times. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D88073
2020-08-25 05:31:37 +00:00
Andreea Pavel 2d1453c463 Bug 1549985 - update disabling condition for browser_tabCloseSpacer.js to include osx r=jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D88197
2020-08-25 21:23:52 +00:00
Ricky Stewart 93f6564a24 Bug 1660124 - Don't trample existing `mach` `virtualenv`s if they're already up-to-date r=mhentges,ahal
On some platforms re-creating the `virtualenv`s can be very time-consuming so we'd like to avoid deleting these `virtualenv`s unnecessarily.

Preserve the existing behavior behind a `-f` flag in case unconditionally wiping the `virtualenv`s is what's needed for any reason.

Differential Revision: https://phabricator.services.mozilla.com/D87668
2020-08-25 21:21:19 +00:00
Ricky Stewart d14df1032e Bug 1660614 - Upgrade `sccache` to pick up more resilient behavior in the presence of cache read failures r=froydnj
This avoids a set of intermittent issues related to `zstd` decompression failures, which in the absence of these changes break the entire build.

This also requires [updating an environment variable](https://github.com/mozilla/sccache/pull/822), which we do in `client.mk` as well as documentation.

Differential Revision: https://phabricator.services.mozilla.com/D88184
2020-08-25 21:16:53 +00:00
Matthew Gaudet 658e54cd2e No Bug - Fix spelling error in Promise.h r=caroline DONTBUILD DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D88188
2020-08-25 20:44:46 +00:00
Andreea Pavel 89adde6924 Bug 1642532 - Update k-rate-dynamics-compressor-connections.html expectation on linux 32 r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D87945
2020-08-25 21:07:37 +00:00
Andreea Pavel 4d566b2d98 Bug 1658801 - disable test_2_conformance2__extensions__ext-texture-norm16.html on android r#?intermittent-reviewers r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D87963
2020-08-25 20:54:08 +00:00
Emma Malysz 9635176866 Bug 1658102, switch submit and cancel button order for unix os r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D88068
2020-08-25 20:44:23 +00:00
longsonr 7d4aaf0b25 Bug 571734 - rewrite DOMSVGLength r=emilio
- Remove various redundant fields to shrink size by two pointers per instance

Differential Revision: https://phabricator.services.mozilla.com/D86365
2020-08-25 18:25:52 +00:00
Mark Striemer 621769635d Bug 1658819 - Wait for preview to finish before updating page size r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D87505
2020-08-25 17:49:31 +00:00
Mark Striemer 4c9031a18f Bug 1661020 - Only update the copies count when it's valid r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D88159
2020-08-25 17:24:28 +00:00
julianwels 6daa37a17a Bug 1661077 - HTTPS-Only error page only shows up after a failed upgrade. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D88166
2020-08-25 18:21:20 +00:00
Ted Campbell bbd523a0ca Bug 1661086 - Update function guessed names when updating ObjectGroup. r=mgaudet
This is needed since updating the function name will soon be fallible which
is not allowed in UpdateEmittedInnerFunctions. Move the name updates to the
same place that ObjectGroup updates happen which suffer the same OOM issue.
If an OOM occurs here during delazification, the next attempt at recompile
will compute the same name. Applying the name update early is not a problem
and is what the frontend previously did before stencil.

Differential Revision: https://phabricator.services.mozilla.com/D88174
2020-08-25 19:46:18 +00:00