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

724823 Коммитов

Автор SHA1 Сообщение Дата
Narcis Beleuzu a7cd806311 Backed out 2 changesets (bug 1659530, bug 1657476) for bustages on check.svg. CLOSED TREE
Backed out changeset 761a09f4d153 (bug 1659530)
Backed out changeset c8afdd9434bb (bug 1657476)
2020-09-01 02:30:36 +03:00
Narcis Beleuzu 5777c93648 Backed out changeset 84e7233d29a6 (bug 1638422) for xpcshell failures on test_ext_webRequest_responseBody.js . CLOSED TREE 2020-09-01 02:23:00 +03:00
Shane Caraveo 6f359e0bea Bug 1659530 skip 3rd party panel when installing recommended addons r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D87326
2020-08-31 21:38:13 +00:00
Shane Caraveo fb21940df8 Bug 1657476 support multiple recommendation badges r=fluent-reviewers,rpl,flod
Differential Revision: https://phabricator.services.mozilla.com/D86124
2020-08-31 21:35:58 +00:00
Ricky Stewart f339ca9f42 Bug 1660831 - Reference the standalone `bootstrap.py` script in `windows_build.rst` and prefer `mozilla-unified` to `mozilla-central` where relevant r=mhentges,froydnj
Today the docs tell you to directly clone `mozilla-central`, which is a weird departure from what we do in the other per-platform documents for no real reason. Instead, reference the standalone `bootstrap.py` script as we do for Linux and macOS.

Also, do a little scan and replace references to `mozilla-central` with `mozilla-unified` where appropriate.

Differential Revision: https://phabricator.services.mozilla.com/D88051
2020-08-31 17:51:14 +00:00
Ryan VanderMeulen d912656d9c Bug 1662118 - Update pdf.js to version 2.6.336. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D88856
2020-08-31 21:59:19 +00:00
Robert Helmer 2107e42238 Bug 1661803 - ensure default study is installed before unlocking studies r=fluent-reviewers,flod,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D88669
2020-08-31 21:55:11 +00:00
Shane Caraveo 5c31932e0a Bug 1638422 test multipart responses with filterResposeData r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D85638
2020-08-27 01:41:33 +00:00
Erik Nordin a35b29686a Bug 1661993 - Use PWG Standardized paper names for GTK r=sfoster
This patch ensures that our fallback paper list (used for print saving
as PDF) will use PWG standardized names for the paper sizes for GTK
print settings.

Differential Revision: https://phabricator.services.mozilla.com/D88736
2020-08-31 21:03:36 +00:00
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