Commit Graph

710281 Commits

Author SHA1 Message Date
Razvan Maries
f2ef387aa5 Backed out changeset 396da163d87a (bug 1627541) for perma failures on test_geodefaults.js. CLOSED TREE 2020-05-27 21:59:51 +03:00
Emilio Cobos Álvarez
70ab539dc0 Bug 1641245 - Fix silly windows build bustage.
MANUAL PUSH: bustage on a CLOSED TREE.
2020-05-27 21:05:25 +02:00
Eitan Isaacson
b0be864424 Bug 1641002 - Map NSAccessibility API to MOXAccessible protocol. r=morgan
Add most attributes getters, setters and actions to prottocol,
autogenerate objective c dictionaries, and implement forwarding
logic from NSAccessibility methods.

Differential Revision: https://phabricator.services.mozilla.com/D76921
2020-05-27 17:26:38 +00:00
Eitan Isaacson
553616aa05 Bug 1641002 - Introduce MOXAccessible protocol and MOXAccessibleBase. r=morgan
This sets up the possibility of moving most non-gecko things to a base class, and
start a protocol to add for all the subclasses to implement as needed.

Differential Revision: https://phabricator.services.mozilla.com/D76920
2020-05-27 17:24:44 +00:00
Artem
30dba11bdd Bug 1609556 - Migrate toolbar-context-menu to Fluent r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D76016
2020-05-27 18:09:40 +00:00
Emilio Cobos Álvarez
54fd961a29 Bug 1641245 - Make string comparators not virtual. r=froydnj,necko-reviewers,geckoview-reviewers,jgilbert,agi,valentin
There's no use case for stateful comparators, so they can be just plain
function pointers.

This is used in some hot places like CSS selector matching.

Differential Revision: https://phabricator.services.mozilla.com/D77084
2020-05-27 18:11:12 +00:00
Anny Gakhokidze
28243d5736 Bug 1630323 - Do not override user preferences when clicking on a service worker notification to open a new document, r=Gijs,nika,geckoview-reviewers,snorp
In Bug 1622749 a user preference for where to open new documents (from a
service worker notification) was temporarily overriden in order to quickly fix
a crash that was happening in mozilla::dom::ClientOpenWindow. The crash was
ocurring when the pref "browser.link.open_newwindow" was set to 2, meaning new
documents are opened in a new window, instead of a new tab. The reason the
browser crashed is because the path for opening a new document is different
depending on the current user setting, and in NEWWINDOW case we did not get a
browsing context returned when calling mozilla::dom::OpenWindow which resulted
in a failed assertion.

The solution is to pass in a callback to mozilla::dom::OpenWindow as part of
nsOpenWindowInfo object, and invoke that callback with a corresponding
BrowsingContext in nsFrameLoader when that browsing context is ready.

After we call mozilla::dom::OpenWindow, we wait on a promise, that will be
resolved when the callback is invoked, before executing the rest of the code
that depends on the browsing context for a newly opened document being
available.

Differential Revision: https://phabricator.services.mozilla.com/D72745
2020-05-27 18:15:36 +00:00
Ben Hearsum
34915064c5 Bug 1637542: Disable {linux64,win32,win64} opt and linux64 artifact builds on autoland. r=jmaher
The opt builds were originally disabled in bug 1522111, but were re-enabled when webgpu was added.

Differential Revision: https://phabricator.services.mozilla.com/D76906
2020-05-27 17:53:38 +00:00
Razvan Maries
06a194ef3b Backed out changeset 5b97f74fb6fd (bug 1629113) for perma failures on test_keycodes.xhtml. CLOSED TREE 2020-05-27 21:16:13 +03:00
Razvan Maries
e44db87b99 Backed out changeset b4c58d9afd4b (bug 1624909) for build bustages on Pivot.h. CLOSED TREE 2020-05-27 21:04:58 +03:00
Mitchell Hentges
0482fe58ed Bug 1641073: improve BaseFile.copy() performance r=rstewart
Arrays are mutable, so appending each substring at a time and joining at the endis much faster than re-allocating
a new string on each loop.

Differential Revision: https://phabricator.services.mozilla.com/D76945
2020-05-27 16:52:51 +00:00
Morgan Reschenberg
812a214eeb Bug 1624909: Create and maintain radio siblings array for position information. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D72751
2020-05-27 17:51:30 +00:00
Miko Mynttinen
6013e7cd95 Bug 1640457 - Discard pending WR display items if the Gecko item will be pushed as an image r=jrmuizel
If |nsDisplayItem::CreateWebRenderCommands()| returns false, the items that have been pushed to |DisplayListBuilder::pending_chunk| need to be cleared, because the item will be pushed as an image instead. This happens, for example, when nsDisplayText encounters unsupported features.

Differential Revision: https://phabricator.services.mozilla.com/D77095
2020-05-27 16:45:08 +00:00
Dzmitry Malyshau
abaaa872a5 Bug 1634425 - Integrate WebGPU API tracing r=jgilbert
This is the logic of tracing the WebGPU API calls at the level of wgpu-core,
serialized into a folder of choosing on the user drive. Traces are extremely portable,
they can be shared (on BugZilla) and then replayed on the developer machine,
which can have a different architecture from the users machine.

The standalone player is introduced in `gfx/wgpu/player`, similar to WebRender's Wrench.

The output dir is controlled by "dom.webgpu.traceDir" pref. No tracing happens if it's empty.

Differential Revision: https://phabricator.services.mozilla.com/D73333
2020-05-27 16:49:03 +00:00
Marco Bonardo
e8fd1b7c50 Bug 1398567 - Invert URIFixup default behavior to search unless the string looks like a URI. r=Gijs
With recent fixes that can properly identify whitelisted domains, whitelisted
domain suffixed, valid known public suffixes, and forcing to visit URI-like
strings that end with a slash, it's time to re-evaluate the URIFixup behavior.
Until now URIFixup considered everything a URI unless it had specific search
characteristics, this patch inverts that behavior.
The scope of this change is to improve the urlbar behavior as the main Search
Access Point, since that's the direction we're moving towards.

This lands with a temporary hidden feature pref browser.fixup.defaultToSearch,
that will be removed once the feature has been released.

Differential Revision: https://phabricator.services.mozilla.com/D76852
2020-05-27 16:55:14 +00:00
Harry Twyford
bec092afba Bug 1627989 - Remove the browser.urlbar.openViewOnFocus pref. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D76247
2020-05-27 16:46:43 +00:00
Harry Twyford
ce4271d662 Bug 1627858 - Add a user visible preference to disable Top Sites on focus. r=dao,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D76246
2020-05-27 16:45:47 +00:00
Harry Twyford
e671b8b516 Bug 1623666 - Always show Top Sites in the Urlbar on empty searches. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D76245
2020-05-27 15:08:07 +00:00
Harry Twyford
166994cf8b Bug 1634279 - Allow accessing the TopSites feed even if Top Sites are hidden on the new tab page. r=dao,thecount,mixedpuppy
Creates a new pref, "...activity-stream.feeds.system.topsites" to control whether TopSitesFeed is enabled. The existing "...activity-stream-feeds.topsites" pref is kept to allow users to downgrade and to ensure that people who disabled Top Sites in the past will continue to not see Top Sites on the New Tab Page -- the difference being that Top Sites will now be generated for those users.

Differential Revision: https://phabricator.services.mozilla.com/D75603
2020-05-27 16:38:03 +00:00
Morgan Reschenberg
6b03f5994e Bug 1632252: Replace constructor with AccOrProxy, adjust native getter. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D75354
2020-05-27 15:50:47 +00:00
Dale Harvey
ac889ccf75 Bug 1627541 - Move pref handling into Region.jsm r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D75719
2020-05-27 16:26:28 +00:00
Dorel Luca
99ddf6cdc5 Backed out 2 changesets (bug 1366645) for Browser-chrome failures in uriloader/exthandler/tests/mochitest/browser_download_open_with_internal_handler.js. CLOSED TREE
Backed out changeset cdfedc4707bd (bug 1366645)
Backed out changeset 666659de5856 (bug 1366645)
2020-05-27 19:25:57 +03:00
Andrew Halberstadt
a829c1fad0 Bug 1640382 - [taskgraph] Don't try to set 'schedules-component' on tasks that use 'when.files-changed', r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D76979
2020-05-27 14:37:37 +00:00
Drew Willcoxon
e9b32a80a2 Bug 1635622 - Don't notify urlbar consumers when there aren't any results in a search. r=mak
See https://bugzilla.mozilla.org/show_bug.cgi?id=1635622#c14

Differential Revision: https://phabricator.services.mozilla.com/D77012
2020-05-27 16:16:38 +00:00
Benjamin Beurdouche
98c6aea04e Bug 1639475 - Fix incomplete documentation of TLS key exchange algorithms in telemetry. r=mt
Differential Revision: https://phabricator.services.mozilla.com/D76105
2020-05-27 15:27:33 +00:00
Benjamin Beurdouche
8d7877aca9 Bug 1639468 - Incorrect documentation of TLS authentication algorithms in telemetry. r=mt
Differential Revision: https://phabricator.services.mozilla.com/D76104
2020-05-27 16:02:25 +00:00
Eden Chuang
8ec5c50a7f Bug 1575095 - P2 Apply COOP switch with InterceptedHttpChannel in DocumentLoadListener r=necko-reviewers,valentin,mattwoodrow
The response from ServiceWorker might also be COOP mismatched, such that the document/sub-document loading need to be performed on another process.
However, DocumentLoadListener only works with nsHttpChannel.

This patch would like to support InterceptedHttpChannel in DocumentLoadListener.

Differential Revision: https://phabricator.services.mozilla.com/D76841
2020-05-27 15:37:21 +00:00
Eden Chuang
a570025eed Bug 1575095 - P1 Move CrossOriginXXXHeaders checking into HttpBaseChannel and apply CrossOriginXXXHeaders in InterceptedHttpChannel. r=valentin
Move COOP, COEP, and CORP checking into HttpBaseChannel, and apply these checking on InterceptedHttpChannel.

Differential Revision: https://phabricator.services.mozilla.com/D54224
2020-05-27 15:37:09 +00:00
Gijs Kruitbosch
fe8ffbe98e Bug 1641042 - don't remove dropdown-open class when scrolling while narrating, r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D77050
2020-05-27 16:03:58 +00:00
Christoph Kerschbaumer
256c0e8e80 Bug 1639505: Fix test inheritance/window.html. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D77071
2020-05-27 15:57:55 +00:00
sefeng
727ca5589e Bug 1322947 - Add support of cancel dialog modal with escape key r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D74937
2020-05-27 14:37:19 +00:00
Dão Gottwald
72693e39fa Bug 1640403 - Remove dark mode support for the library window on macOS for now. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D77082
2020-05-27 15:12:22 +00:00
Lee Salzman
a3cd8b98e4 Bug 1640401 - pass in IDWriteFont for all UnscaledFontDWrites that are not data fonts. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D76943
2020-05-26 22:30:17 +00:00
prathiksha
add557cecc Bug 1640698 - Add telemetry for monitor card buttons in the protections dashboard. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D76744
2020-05-27 15:23:40 +00:00
Itiel
9df9994234 Bug 1641066 - Force LTR the console sidebar contents r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D76938
2020-05-27 13:18:04 +00:00
Cosmin Sabou
1ed9d6b0b4 Bug 1641089 - Update expectations for some embedded-content/the-video-element tests that timeout on Android. r=intermittent-reviewers,jmaher
DONTBUILD

The change for video_initially_paused.html may not be necessary but updated that one too because of the pattern observed in the tests folder with the timeout moving from one test to another as their expecation was updated.

Differential Revision: https://phabricator.services.mozilla.com/D76954
2020-05-27 13:17:13 +00:00
julianwels
86341bce85 Bug 1640906 - Fixed intermittent timeout of toolkit/components/httpsonlyerror/tests/browser/browser_exception.js. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D77041
2020-05-27 13:15:07 +00:00
Agi Sferro
1e7ad33a14 Bug 1629113 - Move caret browsing handler to tabbrowser.js. r=NeilDeakin
We don't use it on GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D72724
2020-05-27 01:33:50 +00:00
Agi Sferro
5b00703f08 Bug 1629113 - Add missing documentation to onBeforeUnloadPrompt. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D76964
2020-05-27 15:10:46 +00:00
Ricky Stewart
1d10fc6783 Bug 1639624 - Don't import from distutils unless absolutely necessary in virtualenv.py r=froydnj
Similar reasoning to bug 1638780.

Differential Revision: https://phabricator.services.mozilla.com/D76221
2020-05-27 15:07:47 +00:00
Dan Minor
d7b3697b38 Bug 1638361 - Remove uuid generation code from mdns_service; r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D76708
2020-05-26 18:30:20 +00:00
Dan Minor
a090854892 Bug 1638361 - Use nsIUUIDGenerator in NrIceCtx::GenerateObfuscatedAddress; r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D76707
2020-05-26 19:40:26 +00:00
Dan Minor
3c647c3f98 Bug 1638361 - Allow nsIUUIDGenerator to be used from socket process; r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D76706
2020-05-26 18:30:15 +00:00
Jan Varga
63f5c04b35 Bug 1621916 - Remove redundant checks that were needed before we started ignoring unknown files and directories; r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D75949
2020-05-27 15:02:29 +00:00
Jan Varga
1345656755 Bug 1621916 - Simplify test_unknownFiles.js by merging stage 1 and stage 2; r=dom-workers-and-storage-reviewers,ttung
We plan to replace this test with more thorough tests in bug 1620277, but for
now it's still needed and will be part of a short term fix for ignoring
unknown files and directories.

Differential Revision: https://phabricator.services.mozilla.com/D75948
2020-05-27 15:02:04 +00:00
David Walsh
71202aa381 Bug 1640940 - Better vertically align scopes properties while keeping string integrity r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D76862
2020-05-27 14:45:58 +00:00
Jan de Mooij
cc09714458 Bug 1640829 part 4 - Use fallibleUnbox* in EmitLoadAndUnbox. r=iain
Also adds support for object/string/symbol/bigint to the FoldLoadsWithUnbox
optimization pass: with the old unboxing scheme this would have been inefficient
on 64-bit platforms (loading the Value twice, for type guard and unbox) but
fallibleUnboxPtr now does a single load on x64 and ARM64.

Differential Revision: https://phabricator.services.mozilla.com/D76830
2020-05-27 12:14:28 +00:00
Jan de Mooij
a82197fabb Bug 1640829 part 3 - Use fallibleUnbox* for LUnbox on 64-bit platforms. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D76829
2020-05-27 12:14:31 +00:00
Jan de Mooij
a798443fd2 Bug 1640829 part 2 - Add fallibleUnbox* methods to the MacroAssembler. r=iain
On 64-bit platforms we can generate better code for a fallible unbox by first
doing a XOR to unbox and then doing the type check with a right-shift + check-non-zero.

For int32 and boolean we still use a separate branch + unbox: these types can be
unboxed more efficiently because they only use 32 payload bits.

Depends on D76827

Differential Revision: https://phabricator.services.mozilla.com/D76828
2020-05-27 05:10:18 +00:00
Jan de Mooij
319bac0dc9 Bug 1640829 part 1 - Add some missing branchTestSymbol and unboxInt32/unboxBoolean overloads. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D76827
2020-05-27 05:10:18 +00:00