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

724614 Коммитов

Автор SHA1 Сообщение Дата
manas 7268313809 Bug 1660818 - Add telemetry to track the number of times the scrollable badge is clicked. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D88049
2020-08-31 21:21:29 +00:00
Jed Davis 7bf48bbf12 Bug 1660901 - Add some test cases for fstatat inside the content sandbox. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D88500
2020-08-28 09:33:53 +00:00
Jed Davis 08c45b9f68 Bug 1660901 - Support the fstat-like subset of fstatat in the Linux sandbox policies. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D88499
2020-08-28 09:23:58 +00:00
Henrik Skupin 271c9183fa Bug 1661495 - [marionette] Reset content browsing context if new chrome window is not a browser window. r=marionette-reviewers,maja_zf
Fixes a regression from bug 1661495, which missed to reset the
current content browsing context if the new chrome window isn't
a browser window.

Depends on D88827

Differential Revision: https://phabricator.services.mozilla.com/D88900
2020-08-31 20:23:43 +00:00
Henrik Skupin 509137452c Bug 1661495 - [marionette] Update content browsing context for remoteness changes. r=marionette-reviewers,maja_zf
If a navigation in the current browser causes a remoteness change,
the current content browsing context needs to be updated.

Differential Revision: https://phabricator.services.mozilla.com/D88827
2020-08-31 19:57:04 +00:00
Henrik Skupin 4a2822310c Bug 1661495 - [marionette] Don't always set the current content browsing context when registering a new browser. r=marionette-reviewers,maja_zf
Since the patch on bug 1652932 landed in Firefox 80 we always
update the current content browsing context and that now only
when switching to a new window. That leads to an unexpected
change of the current window handle, and as such breaks tests.

Differential Revision: https://phabricator.services.mozilla.com/D88771
2020-08-31 19:56:40 +00:00
Narcis Beleuzu 7a6bc811fb Backed out changeset 39ee74362843 (bug 1643448) for failures on test_presentation_sender_on_terminate_request.html. CLOSED TREE 2020-09-01 00:37:23 +03:00
Narcis Beleuzu 390c295af2 Backed out changeset 0f0b1fa85339 (bug 1662124) for morchitest failures on test_bug1080361.html . CLOSED TREE 2020-09-01 00:07:28 +03:00
Ted Campbell d10b7e7d13 Bug 1662127 - Add ParseTask::runtime field. r=djvj
Instead of relying on the parseGlobal to determine the runtime, store it
directly.

Differential Revision: https://phabricator.services.mozilla.com/D88862
2020-08-31 21:07:49 +00:00
Ted Campbell 50fc073890 Bug 1662127 - Avoid needing active Realm for ScriptSource initialization. r=djvj
The SharedImmutableStrings cache is not tied to gc::Zone so use the JSRuntime
directly from the JSContext instead.

Differential Revision: https://phabricator.services.mozilla.com/D88861
2020-08-31 20:51:30 +00:00
Ted Campbell 63fd40e9dd Bug 1662127 - Remove AutoKeepAtoms argument from TokenStream. r=djvj
After Bug 1660798, the TokenStreamPosition no longer uses JSAtoms and the
AutoKeepAtoms argument is not needed.

Differential Revision: https://phabricator.services.mozilla.com/D88860
2020-08-31 20:52:46 +00:00
Micah Tigley 64abc77bc3 Bug 1661776 - Prevent pasting invalid input into ScaleInput UI. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D88670
2020-08-31 20:50:43 +00:00
Ted Campbell 20f76e64bf Bug 1662113 - The `dumpStencil` shell function must emplace top stencil. r=arai
Since the `dumpStencil` duplicates part of the BytecodeCompiler code, we must
explicitly instantiate the top-level stencil before parse is run. Also add a
test case for this.

Differential Revision: https://phabricator.services.mozilla.com/D88898
2020-08-31 20:30:33 +00:00
Emma Malysz b7a61a4533 Bug 1661374, save default printer name and allow user to open system dialog when saving to pdf is selected r=jwatt,mstriemer
If "save to pdf" is the only printer option, we will hide the system dialog, except on mac
that supports saving to PDF in the native dialog.

Differential Revision: https://phabricator.services.mozilla.com/D88362
2020-08-31 20:08:47 +00:00
Emilio Cobos Álvarez 28231ea1e1 Bug 1662204 - Prevent all printed documents, not just print preview, from getting a regular non-print presentation. r=jwatt
Before bug 1636728 this couldn't happen because print documents weren't
hosted in an <browser>. The presentation of documents that are being
printed should be managed by the print job.

We should, in fact, probably just make mDocument->IsStaticDocument() the
condition, or such.

Differential Revision: https://phabricator.services.mozilla.com/D88901
2020-08-31 20:16:11 +00:00
David Major 1c9486e139 Bug 1660340 - Switch builds to clang 11.0.0 rc2 r=froydnj
This changes most of our automation builds to clang 11.0.0 rc2.

Not included:
* code coverage builds, per bug 1660341
* mingw builds, which have traditionally been on their own update cadence, and in this case are blocked anyway by bug 1658632

This will leave some unused clang-9 task definitions. I intend to clean them up, but at a later date. For now I want to focus on making sure this update sticks, since patches like this have a tendency to bounce.

Differential Revision: https://phabricator.services.mozilla.com/D88313
2020-08-29 10:13:28 +00:00
David Major 46d1d82652 Bug 1660896 - Adjust test expectations for editing WPT on Linux debug r=jgraham
A few test cases fail under clang-11 on Linux debug builds only. As described in the bug, we unfortunately don't have the bandwidth to investigate, so this patch accepts the failures.

Differential Revision: https://phabricator.services.mozilla.com/D88363
2020-08-28 20:38:47 +00:00
David Major 1b886dfdf3 Bug 1641674 - Don't use --gc-sections during profile generation r=froydnj
For not-well-understood reasons, ld's `--gc-sections` discards a large number of the PGO bookkeeping structures that enable us to keep track of function counters, and the effect gets worse in object files generated by clang-10.

As much as I'd like to understand this better, the investigations take way too much time. As a path of least resistance, we can disable `--gc-sections` for the instrumentation phase of PGO builds. It won't harm anything since users never see those builds, and it will improve the performance of the optimized phase greatly.

Differential Revision: https://phabricator.services.mozilla.com/D78112
2020-08-28 20:38:45 +00:00
Lee Salzman 16b168d133 Bug 1661427 - Allow SWGL SwCompositor to split up compositing work between SwComposite and render threads. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D88392
2020-08-31 18:26:20 +00:00
Edgar Chen 259f4671dd Bug 1662124 - element.setPointerCapture should throw NotFoundError if the pointer id is invalid; r=smaug
https://github.com/w3c/pointerevents/issues/256

Differential Revision: https://phabricator.services.mozilla.com/D88859
2020-08-31 19:10:23 +00:00
Emma Malysz defa918a51 Bug 1661618, update shortcut in app menu and toolbar tip for the toolbarbutton r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D88521
2020-08-31 19:14:11 +00:00
Luca Greco bdd2a97960 Bug 1661860 - RemoteWorkerManager should transmit blobs and permissions when spawning any remote worker type. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D88884
2020-08-31 17:47:38 +00:00
Jeff Gilbert 5ebfd8fd7e Bug 1662214 - Add docstring for HoldJSObjects. r=mccr8 DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D88891
2020-08-31 19:01:45 +00:00
Kris Maglione b050c2c657 Bug 1650257: Part 3 - Remove obsolete diagnostic crash annotations and assertions. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D87487
2020-08-31 18:51:54 +00:00
Kris Maglione c2c6945169 Bug 1650257: Part 2 - Abort SetNewDocument() if ancestors are discarded/cached. r=nika,smaug,sg
Differential Revision: https://phabricator.services.mozilla.com/D87486
2020-08-31 18:51:56 +00:00
Kris Maglione 5f2d674982 Bug 1650257: Part 1 - Stop discarding BCs from the parent on WindowGlobal destruction. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D87485
2020-08-31 18:51:45 +00:00
Narcis Beleuzu d70f39e819 Backed out 2 changesets (bug 1661495) as req by whimboo . CLOSED TREE
Backed out changeset c5cdfb592493 (bug 1661495)
Backed out changeset 46f9aa946264 (bug 1661495)
2020-08-31 21:47:32 +03:00
Kershaw Chang d7d4941cf6 Bug 1662072 - Reduce one data copy in parent process when sending chunks to child process r=valentin
1. The data sent from `HttpBackgroundChannelParent` to `HttpBackgroundChannelChild` is using type `nsDependentCSubstring`, since I'd like to reduce one copy in parent process.
2. The data sent from `HttpTransactionChild` to `HttpTransactionParent` is using type `nsCString`. The main reason is that the data is actually captured in `HttpTransactionParent::RecvOnDataAvailable` [1] and put in channel event queue. If we use `nsDependentCSubstring` here, the data would be copied in parent process.
3.  In `HttpBackgroundChannelChild::RecvOnTransportAndData`, it's inevitable that the data is copied when assigning the data to a `nsCString`, since sometimes `HttpBackgroundChannelChild::RecvOnTransportAndData` needs to be queued and execute later.


[1] https://searchfox.org/mozilla-central/rev/969fc7fa6c3c7fc489f53b7b7f8c902028b5169f/netwerk/protocol/http/HttpTransactionParent.cpp#556

Differential Revision: https://phabricator.services.mozilla.com/D88781
2020-08-31 17:11:21 +00:00
Ed Lee a193e2372f Bug 1618314 - Remove import suggestions on user opt-out or automatically r=MattN
Allow 3 showing of import suggestions debouncing multiple impressions within 10 seconds. Also treat deleting a suggestion as opt-out.

Differential Revision: https://phabricator.services.mozilla.com/D87805
2020-08-31 16:33:14 +00:00
Eitan Isaacson 6d2844352a Bug 1625868 - Use AXDescription/List for dl/dd. r=morgan
It seems that VoiceOver expects AXDescriptionList and AXDescription
as subroles in order to report the correct number of items in a dl.

Differential Revision: https://phabricator.services.mozilla.com/D88890
2020-08-31 18:40:21 +00:00
Morgan Reschenberg c5126eab79 Bug 1661504: Introduce MOXLandmarkAccessible class and AXLandmarkSearchKey r=eeejay"
Differential Revision: https://phabricator.services.mozilla.com/D88445
2020-08-31 18:36:48 +00:00
Toshihito Kikuchi 9b11b259f9 Bug 1654100 - Backed out changeset 6e556d9c0845. r=froydnj
Now that we've concluded no immediate action is needed for slow
ShellExecuteByExplorer, `SHELLEXECUTEBYEXPLORER_DURATION_MS` is
no longer needed.

Differential Revision: https://phabricator.services.mozilla.com/D86143
2020-08-31 18:05:56 +00:00
Bryce Seager van Dyk 3645d0e0bd Bug 1662210 - Remove dead MediaKeys code from MediaElement's SuspendOrResumeElement. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D88887
2020-08-31 18:19:18 +00:00
Ting-Yu Lin ad069fecf2 Bug 1657256 - Always update the cached mImaginaryCaretRect in SetPosition(). r=marionette-reviewers,mats,whimboo
During scrolling, the caret's position relative to the
custom-content-container (cached in mImaginaryCaretRectInContainerFrame)
may not change, but its position relative to root frame can (cached in
mImaginaryCaretRect).

We need to update mImaginaryCaret each time we are in SetPosition().
Otherwise, the caret still remembers its pre-scrolling old position next
time when we drag it, resulting the caret jumping to its old
pre-scrolling position suddenly.

Note this bug only occurs on the root scroll frame where the APZ is
enabled, not in any sub-scroll frames where APZ is disable when the
caret is shown.

Differential Revision: https://phabricator.services.mozilla.com/D88638
2020-08-31 17:54:19 +00:00
Henrik Skupin 2c5c90b8d3 Bug 1661495 - [marionette] Update content browsing context for remoteness changes. r=marionette-reviewers,maja_zf
If a navigation in the current browser causes a remoteness change,
the current content browsing context needs to be updated.

Differential Revision: https://phabricator.services.mozilla.com/D88827
2020-08-31 17:48:37 +00:00
Henrik Skupin 816ae777d9 Bug 1661495 - [marionette] Don't always set the current content browsing context when registering a new browser. r=marionette-reviewers,maja_zf
Since the patch on bug 1652932 landed in Firefox 80 we always
update the current content browsing context and that now only
when switching to a new window. That leads to an unexpected
change of the current window handle, and as such breaks tests.

Differential Revision: https://phabricator.services.mozilla.com/D88771
2020-08-31 15:50:16 +00:00
owlishDeveloper fd371ef45e Bug 1654722 - Add backend support for new OnExternalResponse API in GV r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D86617
2020-08-31 17:30:57 +00:00
owlishDeveloper 8c96af737f Bug 1654722 - Change OnExternalResponse API to enable downloads in one request in GV r=geckoview-reviewers,snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D86616
2020-08-31 17:30:50 +00:00
Iain Ireland a69d3f2397 Bug 1661352: Transpile spread calls r=jandem
The assertion in emitLoadArgumentSlot was unnecessary. Spread calls always have an argc of 1, so `hasArgumentArray` and `!addArgc` cancel each other out in GetIndexOfArgument.

Depends on D88513

Differential Revision: https://phabricator.services.mozilla.com/D88514
2020-08-28 17:24:47 +00:00
Iain Ireland d32bc4c647 Bug 1661352: Transpile FunApplyArray r=jandem
CallInfo::ArgFormat::Array supports FunApplyArray (in this patch), SpreadCall (in the next patch), and eventually SpreadNew/SpreadSuperCall.

Depends on D88512

Differential Revision: https://phabricator.services.mozilla.com/D88513
2020-08-28 08:21:00 +00:00
Iain Ireland 79d8ceec1b Bug 1661352: Store arg format in CallInfo r=jandem
This makes transpiling nicer, and should also make inlining much easier.

Depends on D88511

Differential Revision: https://phabricator.services.mozilla.com/D88512
2020-08-28 08:11:52 +00:00
Iain Ireland 9ae99bc021 Bug 1661352: Transpile GuardArrayIsPacked r=jandem
It's a bit awkward having both MIsPackedArray and MGuardArrayIsPacked, but I didn't see a nicer approach.

Differential Revision: https://phabricator.services.mozilla.com/D88511
2020-08-28 17:46:14 +00:00
Iain Ireland b3390ba21f Bug 1661352: Split up GuardFunApplyArray r=jandem
Prior to the NON_PACKED flag, we had to iterate over each element of the array to verify that it was packed. It made sense to fold the argc check in with that code. Now that we are using the flag, I moved the argc check inside the call op to match other argument formats.

Differential Revision: https://phabricator.services.mozilla.com/D88510
2020-08-28 08:00:35 +00:00
Ricky Stewart 7813b5eb6d Bug 1661790 - Allow configuring the name of the `virtualenv` used for builds r=nalexander
We don't anticipate end users will actually care to do this, but it's useful especially for unit tests. For example, after bug 1659539, Python `configure` tests will run in a new, non-`init_py3` `virtualenv`, and we'll want to target that `virtualenv` for `configure` rather than having it create a new `virtualenv` for no reason.

Differential Revision: https://phabricator.services.mozilla.com/D88661
2020-08-31 17:13:47 +00:00
Mark Striemer 11d173bee5 Bug 1661645 - Set printInColor based on printer support r=emilio,emalysz
Differential Revision: https://phabricator.services.mozilla.com/D88624
2020-08-31 16:30:42 +00:00
Benjamin Bouvier 4b04d565e3 Bug 1661723: Add test case; r=lth
Differential Revision: https://phabricator.services.mozilla.com/D88785
2020-08-31 11:24:06 +00:00
Benjamin Bouvier 1893cc05f1 Bug 1661723; Bump Cranelift to a7f7c23bf9c37c642da962d575b7c99007918872; r=lth
Differential Revision: https://phabricator.services.mozilla.com/D88784
2020-08-31 16:34:29 +00:00
Narcis Beleuzu eadff29860 Backed out 5 changesets (bug 1658359) for bc crashes on application crashed [@ mozilla::net::nsSocketTransport::InitiateSocket()] . CLOSED TREE
Backed out changeset 2cb2786b8e97 (bug 1658359)
Backed out changeset 859f1b00f6b0 (bug 1658359)
Backed out changeset 27b7e050768d (bug 1658359)
Backed out changeset 8d705f1fa355 (bug 1658359)
Backed out changeset 555f1ebcef60 (bug 1658359)
2020-08-31 20:27:08 +03:00
Mitchell Hentges 4f7b73a741 Bug 1651424: Bump glean version to 32.3.0 r=firefox-build-system-reviewers,rstewart
Improves glean performance.
Prior to this change, using Glean adds ~500ms to each `mach` run.
After this change, using Glean adds ~200ms to each `mach` run.

Differential Revision: https://phabricator.services.mozilla.com/D88691
2020-08-31 16:06:18 +00:00
Jon Coppeard 1733507c90 Bug 1661718 - Simplify optimised marking for TypeObject trace lists r=sfink
Put the optimised marking path inside the trace hook so that we simplify
calling the trace hook from the marking code.

Differential Revision: https://phabricator.services.mozilla.com/D88632
2020-08-30 17:40:03 +00:00