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

736909 Коммитов

Автор SHA1 Сообщение Дата
Julian Seward f082e74406 Bug 1680509 - Vendor in CL ac58a436ed84d1a88b4ff24367c5972cf8d3d405. Part 1: hash and API changes. r=yury.
Revendor CL to ac58a436ed84d1a88b4ff24367c5972cf8d3d405 from
https://github.com/mozilla-spidermonkey/wasmtime, branch firefox85.

This pulls in a version of our private wasmtime tree that properly refers to
our private versions of the regalloc.rs and wasm-tools trees, also at
https://github.com/mozilla-spidermonkey.  With this patch in place, we will be
decoupled from upstream commits to wasmtime, wasm-tools (wasmparser), and
regalloc.rs.

Differential Revision: https://phabricator.services.mozilla.com/D98647
2020-12-03 20:01:22 +00:00
Tim Huang e6be6222e0 Bug 1679325 - Part 2: Add a test to ensure the saveVideoAs is correctly partitioned and the default file name is correct. r=smaug,dimi
Depends on D98455

Differential Revision: https://phabricator.services.mozilla.com/D98456
2020-12-03 14:19:42 +00:00
Tim Huang 9fadef5261 Bug 1679325 - Part 1: Making contentAreaUtils.saveURL to accept cookieJarSettings. r=smaug
This patch makes the contentAreaUtils.saveURL to be aware of the
cookieJarSettings, and updates all callers.

This also updates the documentation of the persistArgs
'cookieJarSettings' for internalPersist().

Differential Revision: https://phabricator.services.mozilla.com/D98455
2020-12-03 20:10:36 +00:00
Barret Rennie 72dbca0048 Bug 1680449 - Clean up after test_setPermissions on Windows r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D98672
2020-12-03 23:58:39 +00:00
Emilio Cobos Álvarez 106ebf10ec Bug 1680654 - Update rustc version used in test_toolchain_configure. r=glandium,firefox-build-system-reviewers DONTBUILD
The min version was updated to 1.47.0 in bug 1680080.

Differential Revision: https://phabricator.services.mozilla.com/D98707
2020-12-04 05:12:08 +00:00
alwu 532535f040 Bug 1634489 - part3 : update ID3 link to ID3v2.4. r=jya
We've been using `footer` which is an attribute from v2.4, so we should keep the link up to date as well.

Differential Revision: https://phabricator.services.mozilla.com/D98653
2020-12-04 01:53:31 +00:00
alwu 3b7cdfa5d4 Bug 1634489 - part2 : add test. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D98652
2020-12-04 01:53:33 +00:00
alwu 28ab67bbfa Bug 1634489 - part1 : allow ID3 parser to parse multiple ID3 headers and store the latest one. r=jya
Most of time, mp3 file should only have one or none ID3v2 header, but sometime we can see a file incorrectly containing multiple ID3v2 headers where the second one is following by the first one.

Therefore, in this situation, we should keep parsing following ID3v2 header, even if we've parsed one, and report multiple headers size together in order to skip correct offset for finding the correct first frame.

Differential Revision: https://phabricator.services.mozilla.com/D98651
2020-12-04 01:51:35 +00:00
Razvan Maries c3c2eaa18e Backed out changeset 975163dad54f (bug 1680402) for causing leaks. CLOSED TREE 2020-12-04 07:06:30 +02:00
Razvan Maries e755870785 Backed out changeset 54068f044426 (bug 1680558) for perma failures on browser_resources_stylesheets.js. CLOSED TREE 2020-12-04 06:48:30 +02:00
Botond Ballo 3695fe3d68 Bug 1673073 - Do not add clip to masked content if a filter applies to the content as well. r=mstange
Depends on D98559

Differential Revision: https://phabricator.services.mozilla.com/D98560
2020-12-03 17:11:40 +00:00
Botond Ballo 755d4c2725 Bug 1673073 - Add a comment to better explain what we're already doing. r=mstange
Depends on D98558

Differential Revision: https://phabricator.services.mozilla.com/D98559
2020-12-03 17:11:22 +00:00
Botond Ballo 94be450929 Bug 1673073 - Include-what-you-use fixes. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D98558
2020-12-03 17:11:04 +00:00
Razvan Maries ee021779b5 Backed out changeset a507222dac63 (bug 1678765) for perma failures on browser_oneOffs_searchSuggestions.js. CLOSED TREE 2020-12-04 06:02:22 +02:00
Emilio Cobos Álvarez 659a6773ad Bug 1680558 - Update cssparser to get ParserState in rule parser. r=heycam
The changes should be trivial.

The third_party changes are up for review in
https://github.com/servo/rust-cssparser/pull/277 (and of course I'll
land with a bump to 0.28 rather than the override after that gets r+'d).

The basic idea is that with this we have the actual start offset of the
rule, so we wouldn't include html comments or other invalid stuff we
discard during sanitization in bug 1680084. But that's a separate
change.

Differential Revision: https://phabricator.services.mozilla.com/D98677
2020-12-04 03:14:36 +00:00
Drew Willcoxon c33bf2e704 Bug 1678765 - Fix broken "Search with" action text for heuristic results that are restyled to look like search results. r=harry
This was a little harder than it seemed like it should be because we show/hide
the title separator in two places, in `UrlbarView.updateRow` and in the CSS.
This patch gets rid of the show/hide in `updateRow`, so now we show/hide only in
the CSS. The decision to show/hide in `updateRow` was based on whether the
result has action text (`actionSetter`) or is a URL (`setURL`). We already had a
`has-url` attribute that corresponds directly to `setURL`, so adding a similar
`has-action` attribute that corresponds to `actionSetter` lets us show/hide only
in the CSS.

The second part of this patch is to actually fix the bug. For that, the existing
`show-action-text` attribute does what we want in the CSS; the only problem is
that we currently set it only when there's no selected row, but we need to also
set it when there's no selected row but a one-off is selected. We have a similar
block -- the one with a comment about restyling the heuristic to look like a
search result -- so I removed the block that currently sets/removes the
attribute and moved the set/removal there. I also renamed the attribute
`restyled-search` to better semantically describe what's happening, but if you
disagree I can restore the old name.

Depends on D97843

Differential Revision: https://phabricator.services.mozilla.com/D98429
2020-12-04 02:54:55 +00:00
Razvan Maries 016881a724 Backed out 5 changesets (bug 1678416) for build bustages on CCGCScheduler.h. CLOSED TREE
Backed out changeset cc5f7ecb3922 (bug 1678416)
Backed out changeset 61d9f960b80e (bug 1678416)
Backed out changeset 882f7ebe33fe (bug 1678416)
Backed out changeset e845a32a60bd (bug 1678416)
Backed out changeset 85f35f5749a0 (bug 1678416)
2020-12-04 04:55:39 +02:00
Jeff Muizelaar 62e7969d1a Bug 1680402. Use stderr in printf_stderr instead of reopening fd 2. r=glandium
Currently, printf_stderr doesn't show up when running with ./mach run.
This is because we run with -attach-console and that redirects stderr
to a different file descriptor using freopen in UseParentConsole.

The change from just using stderr directly happened in bug 340443 and was done
to avoid some linking issues. That problem doesn't seem to apply anymore so we
should be able to go back to the straightforward implemention that works even
if stderr has been redirected. The mozglue implementation was cargo culted from
xpcom, and there wasn't a reason other than that for the fdopen(dup()) there.

Differential Revision: https://phabricator.services.mozilla.com/D98550
2020-12-04 02:46:57 +00:00
Steve Fink f5c9716fcb Bug 1678416 - Minor comment fixes r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D90901
2020-12-04 02:40:29 +00:00
Steve Fink 4ce6b7b08c Bug 1678416 - Remove a couple of calls to TimeStamp::Now() r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D90900
2020-12-04 02:40:22 +00:00
Steve Fink 8f26e5c1b2 Bug 1678416 - Merge ICCRunner and CCRunner into a single CCRunner r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D90633
2020-12-04 02:40:14 +00:00
Steve Fink 393195efb8 Bug 1678416 - Move more state to CCGCScheduler r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D97692
2020-12-04 02:40:13 +00:00
Steve Fink cd97876818 Bug 1678416 - Implement IdleTaskRunner::SetBudget() and add some comments. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D97670
2020-12-04 02:40:00 +00:00
Andreea Pavel e68c428ea1 Bug 1585916 - disable test_session_resumption.js on win10 ccov qr r=keeler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D98704
2020-12-04 01:55:40 +00:00
Razvan Maries ae4e418a02 Backed out changeset e7c03faf2880 (bug 1678079) for perma failures on test_encrypted_client_hello.js. CLOSED TREE 2020-12-04 03:46:54 +02:00
Emilio Cobos Álvarez 04229a0075 Bug 1680080 - Optimize proc macros / build dependencies. r=glandium,firefox-build-system-reviewers,mhentges
On a very parallel debug build, I see a long time just waiting for
bindgen / style compilation / geckoservo.

Turns out that a bunch of this is just proc macros / build scripts.

Optimizing it saves between 10 and 17 seconds of my debug build. We
might want to consider running bindgen much like cbindgen rather than
rebuilding it all the time, which should help a lot more, but my guess
is that this should still help with the pretty hot custom derives that
the style crate runs.

This needs rust 1.41, so the requirement for tools/crashreporter needs
to be bumped as a consequence. To make things simpler, it was bumped
to 1.47 while we're at it.

Differential Revision: https://phabricator.services.mozilla.com/D98366
2020-12-04 01:35:51 +00:00
Emilio Cobos Álvarez fe363fa80f Bug 1678987 - Make page style menu deal with <link disabled> better. r=mconley
<link disabled> doesn't appear in document stylesheets, but some pages
use it to use alternative stylesheets.

Differential Revision: https://phabricator.services.mozilla.com/D97988
2020-12-04 01:34:15 +00:00
alwu cc933e516a Bug 1678813 - part2 : await all promises to ensure window is focus and loaded. r=mconley
On try server, sometime I noticed that we would get intermittent failure on waiting the window focus. From its description [1], that method won't resolve the promise for already focus window. So we should call that method earlier in order to prevent the intermittent failure where the method is called on a focused window.

[1] https://searchfox.org/mozilla-central/rev/168c45a7acc44e9904cfd4eebcb9eb080e05699c/testing/mochitest/tests/SimpleTest/SimpleTest.js#933-938

Differential Revision: https://phabricator.services.mozilla.com/D98283
2020-12-03 22:43:13 +00:00
Emilio Cobos Álvarez 7abb275b8f Bug 1666739 - Fix android build bustage.
MANUAL PUSH: Bustage on a CLOSED TREE.
2020-12-04 02:17:00 +01:00
Matt Woodrow d58b85c3c9 Bug 1678684 - Initialize DXVA on the media thread, remove the mostly-unused dll blocklist, and the crashguard. r=jya
The main-thread requirements for DXVA appear to have been needed when we initialized a crash guard. We now only run DXVA in the GPU and RDD processes, which don't support crash guards. This removes the main thread dispatch and the crashguard code, and enforces that we're in the GPU/RDD process to init DXVA.

This also removes the DLL blocklist code. This was disabled via pref when in the GPU process, which should be the majority of the time. In rare cases we would have been running DXVA in the RDD process (on older win7 when the GPU process isn't available). In these cases we can just do the same as the GPU process, allowing crashes and recovering from them (and disabling DXVA).

Differential Revision: https://phabricator.services.mozilla.com/D98036
2020-12-04 00:49:27 +00:00
Emilio Cobos Álvarez 75be5de2e1 Bug 1666739 - Add an optional opacity threshold for visibility hit-test. r=mconley,miko
This is a best-effort thing of course, but so is the rest of the
visibility threshold stuff in practice and this should be good enough.

Differential Revision: https://phabricator.services.mozilla.com/D98360
2020-12-04 00:48:45 +00:00
Kagami Sascha Rosylight 296459ef20 Bug 1680167 - Part 9: Mark setFocus() as [can_run_script] r=masayuki
Depends on D98631

Differential Revision: https://phabricator.services.mozilla.com/D98632
2020-12-03 22:15:52 +00:00
Kagami Sascha Rosylight 9fc2fee9e3 Bug 1680167 - Part 8: MOZ_CAN_RUN_SCRIPT_BOUNDARY in toolkit r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D98631
2020-12-03 22:58:14 +00:00
Kagami Sascha Rosylight 24a88545bc Bug 1680167 - Part 7: MOZ_CAN_RUN_SCRIPT_BOUNDARY in layout r=masayuki
Depends on D98629

Differential Revision: https://phabricator.services.mozilla.com/D98630
2020-12-03 21:36:41 +00:00
Kagami Sascha Rosylight 8aba7414f7 Bug 1680167 - Part 6: Use RefPtr for nsFocusManager in editor r=masayuki
Depends on D98628

Differential Revision: https://phabricator.services.mozilla.com/D98629
2020-12-03 21:35:20 +00:00
Kagami Sascha Rosylight cd517fc839 Bug 1680167 - Part 5: MOZ_CAN_RUN_SCRIPT_BOUNDARY in dom/* r=masayuki
Depends on D98627

Differential Revision: https://phabricator.services.mozilla.com/D98628
2020-12-03 21:34:06 +00:00
Kagami Sascha Rosylight 00c44d3b04 Bug 1680167 - Part 4: MOZ_CAN_RUN_SCRIPT in dom/xul r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D98627
2020-12-03 22:08:44 +00:00
Kagami Sascha Rosylight 8ab2900b08 Bug 1680167 - Part 3: MOZ_CAN_RUN_SCRIPT_BOUNDARY in dom/base r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D98626
2020-12-03 22:08:36 +00:00
Kagami Sascha Rosylight 1e9bd44120 Bug 1680167 - Part 2: MOZ_CAN_RUN_SCRIPT in dom/html r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D98625
2020-12-03 22:15:56 +00:00
Kagami Sascha Rosylight 0354ee74cc Bug 1680167 - Part 1: MOZ_CAN_RUN_SCRIPT_BOUNDARY in accessible/ r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D98624
2020-12-03 21:15:46 +00:00
Razvan Maries 4d4a8e32fb Bug 1678590 - Disabled browser_aboutCertError_mitm.js on Windows and Linux. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D98696
2020-12-04 00:26:21 +00:00
Dale Harvey 9740a695a6 Bug 1675624 - Persist engine metadata for inactive AppProvided engines r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D97283
2020-12-04 00:01:23 +00:00
Andrew Erickson f577c1eafe Bug 1678163: update linux hostutils r=bc
Differential Revision: https://phabricator.services.mozilla.com/D97516
2020-12-03 23:55:33 +00:00
Mike Conley e748e4fc00 Bug 1232204 - Use AppConstants.MOZ_DEV_EDITION to detect DevEdition rather than using UpdateChannel. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D98258
2020-12-03 22:24:24 +00:00
Bob Clary 672deb4342 Bug 1680345 - python3 - Require six 1.13.0 in non third_party and non web-platform packages r=jgraham,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D98680
2020-12-03 22:54:35 +00:00
Steve Fink faadaa5160 Bug 1679736 - Prohibit Rooted<void*> r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D98230
2020-12-03 23:05:29 +00:00
Mitchell Hentges 984958944e Bug 1661153: Removes _ensure_zstd() and usages r=firefox-build-system-reviewers,glandium
Removes a bunch of zstandard installations that were ran from
within the mach virtualenv, which should already have zstandard
installed.

Differential Revision: https://phabricator.services.mozilla.com/D98387
2020-12-03 22:58:52 +00:00
Molly Howell 6206b305ec Bug 1553982 Part 5 - Add a test for the update semaphore and make existing tests support it. r=bytesized,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D95630
2020-12-03 21:52:10 +00:00
Molly Howell bf229b9aa5 Bug 1553982 Part 4 - Display a prompt when waiting for the update semaphore expires. r=bytesized,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D95629
2020-12-03 21:52:12 +00:00
Molly Howell 9947d273a0 Bug 1553982 Part 3 - Wait for the semaphore before performing update operations. r=bytesized,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D95628
2020-12-03 21:52:15 +00:00