700882 Commits

Author SHA1 Message Date
Andrea Marchesini
b523b552a4 Bug 1363541 - Modernize the PermissionManager - part 4 - mozilla namespace, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D70040

--HG--
rename : extensions/permissions/nsPermissionManager.cpp => extensions/permissions/PermissionManager.cpp
rename : extensions/permissions/nsPermissionManager.h => extensions/permissions/PermissionManager.h
extra : moz-landing-system : lando
2020-04-09 22:08:02 +00:00
Andrea Marchesini
f78d7b4bd4 Bug 1363541 - Modernize the PermissionManager - part 3 - DB handling in a separate thread, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D69965

--HG--
extra : moz-landing-system : lando
2020-04-10 06:36:03 +00:00
Andrea Marchesini
3961346cfc Bug 1363541 - Modernize the PermissionManager - part 2 - PermissionDelegateHandler to mozilla::PermissionDelegateHandler, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D69964

--HG--
extra : moz-landing-system : lando
2020-04-09 22:08:02 +00:00
Andrea Marchesini
2ab42cd711 Bug 1363541 - Modernize the PermissionManager - part 1 - nsPermission to mozilla::Permission, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D69963

--HG--
rename : extensions/permissions/nsPermission.cpp => extensions/permissions/Permission.cpp
rename : extensions/permissions/nsPermission.h => extensions/permissions/Permission.h
extra : moz-landing-system : lando
2020-04-09 22:08:02 +00:00
aarushivij
c44207440a Bug 1626195 - Cogwheel for Protection level not vertically centered in div r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D70311

--HG--
extra : moz-landing-system : lando
2020-04-10 06:03:42 +00:00
Tetsuharu Ohzeki
06985b12a4 Bug 1597455 - Fix uses nsIDocShellTreeItem of nsMixedContentEvent::Run(). r=kmag,baku
Differential Revision: https://phabricator.services.mozilla.com/D61341

--HG--
extra : moz-landing-system : lando
2020-04-10 05:56:56 +00:00
Bert Peers
9051184fab Bug 1628137 - Switch to using WaitForVBlank for vsync on Windows r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D70463

--HG--
extra : moz-landing-system : lando
2020-04-10 02:24:07 +00:00
Chris Peterson
8b5365a15b Bug 1624786 - Replace MOZ_MUST_USE with [[nodiscard]] in widget/headless. r=bdahl
Also move MOZ_MUST_USE before function declarations' specifiers and return type. While clang and gcc's __attribute__((warn_unused_result)) can appear before, between, or after function specifiers and return types, the [[nodiscard]] attribute must precede the function specifiers.

Differential Revision: https://phabricator.services.mozilla.com/D68150

--HG--
extra : moz-landing-system : lando
2020-04-08 16:41:43 +00:00
Chris Peterson
162b8c8490 Bug 1624786 - Replace MOZ_MUST_USE with [[nodiscard]] in widget/gtk. r=karlt
Also move MOZ_MUST_USE before function declarations' specifiers and return type. While clang and gcc's __attribute__((warn_unused_result)) can appear before, between, or after function specifiers and return types, the [[nodiscard]] attribute must precede the function specifiers.

Differential Revision: https://phabricator.services.mozilla.com/D68149

--HG--
extra : moz-landing-system : lando
2020-04-08 16:41:43 +00:00
Chris Peterson
eaafc27a70 Bug 1624786 - Replace MOZ_MUST_USE with [[nodiscard]] in widget/cocoa. r=spohl
Also move MOZ_MUST_USE before function declarations' specifiers and return type. While clang and gcc's __attribute__((warn_unused_result)) can appear before, between, or after function specifiers and return types, the [[nodiscard]] attribute must precede the function specifiers.

Differential Revision: https://phabricator.services.mozilla.com/D68148

--HG--
extra : moz-landing-system : lando
2020-04-08 16:41:42 +00:00
Coroiu Cristina
80979ef228 Bug 1620856 - Follow-up: updated syntax for browser_jsterm_autocomplete-properties-with-non-alphanumeric-names.js a=test-fix 2020-04-10 05:34:51 +03:00
Cameron McCormack
60ff2bc9ec Bug 1513603 - Remove SVG tearoff objects from the table when they are unlinked. r=longsonr
The only three types that can hit the PreservedWrapper() assertion
currently, and which this patch avoids, are DOMSVGPathSegList,
DOMSVGPointList, and DOMSVGStringList.

This is because these are the only types that are implemented as proxies
(due to having e.g. indexed getters on them, and thus have the offending
DOMProxyHandler::GetExpandoObject() call in their bindings) and which we
store in tearoff tables.

Differential Revision: https://phabricator.services.mozilla.com/D70314

--HG--
extra : moz-landing-system : lando
2020-04-09 12:50:28 +00:00
Daosheng Mu
c6c6582108 Bug 1627136 - Implement select and squeeze XRInputSourceEvent. r=kip,smaug
Differential Revision: https://phabricator.services.mozilla.com/D70080

--HG--
extra : moz-landing-system : lando
2020-04-10 01:22:28 +00:00
Masayuki Nakano
39b3ec6675 Bug 1624007 - Don't check IsSelectionRangeContainerNotContent() for/in GetElementOrParentElement*() r=m_kato
We can relax about `GetElementOrParentElement*()` because they just return
`nullptr` when selection anchor is a `Document` node.

Additionally, this patch renames the internal APIs to the names similar to
modern DOM API.

Finally, this adds automated test for
`nsIHTMLEditor.getElementOrParentByTagName()`.

Differential Revision: https://phabricator.services.mozilla.com/D70152

--HG--
extra : moz-landing-system : lando
2020-04-09 10:10:36 +00:00
Tomislav Jovanovic
581f34a57e Bug 1627646 - Avoid creating a Port object when there are no listeners r=mixedpuppy
Without this check, we're creating "ghost" Ports in each extension page(or sidebar), which get associated with a wrong Window, and thus getclosed when that wrong window goes away.

Differential Revision: https://phabricator.services.mozilla.com/D70461

--HG--
extra : moz-landing-system : lando
2020-04-09 23:53:36 +00:00
Jim Blandy
7582bd90d4 Bug 1628910: Use correct lower bound for skip_end in SWGL's force_clear function. r=lsalzman
In wr/swgl/src/gl.cc, force_clear constrains skip_end to be no less than y0, but
skip_end is a horizontal position, not a vertical position, so skip_start is the
correct lower bound.

Differential Revision: https://phabricator.services.mozilla.com/D70462

--HG--
extra : moz-landing-system : lando
2020-04-09 23:54:54 +00:00
Mihai Alexandru Michis
1a877e187b Backed out changeset 0105a6519f30 (bug 1628605) for causing failures in test_sec_fetch_websocket.html
CLOSED TREE
2020-04-10 05:04:30 +03:00
Mihai Alexandru Michis
9a16882603 Backed out changeset c5907d661bb7 (bug 1627340) for causing lint failures in tryselect/selectors/chooser/__init__.py
CLOSED TREE
2020-04-10 04:48:08 +03:00
Ethan Glasser-Camp
575aba0e3b Bug 1627638: Get keyring once rather than on each record r=rpl
This saves work because the keyring shouldn't change over the course
of a sync. One important kind of work is the logging work that is done
when add keys to a BulkKeyBundle.

It unfortunately has the consequence that we have to ensure the
keyring is "complete" before we create the transformer -- there's a
sequencing dependency here. This means changing the tests to behave
correctly.

Differential Revision: https://phabricator.services.mozilla.com/D70132

--HG--
extra : moz-landing-system : lando
2020-04-09 22:29:17 +00:00
Ethan Glasser-Camp
5b58957d5b Bug 1627638: Pass remote transformer only when syncing r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D70131

--HG--
extra : moz-landing-system : lando
2020-04-09 22:54:55 +00:00
Ethan Glasser-Camp
2bd5f61ff0 Bug 1627638: Remove unused context argument r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D70130

--HG--
extra : moz-landing-system : lando
2020-04-09 22:29:07 +00:00
Daisuke Akatsuka
5b77474b4b Bug 1603182: Get rid of gFront from window. r=julienw
Depends on D69488

Differential Revision: https://phabricator.services.mozilla.com/D69898

--HG--
extra : moz-landing-system : lando
2020-04-07 13:46:25 +00:00
Daisuke Akatsuka
818bca8761 Bug 1603182: Add a test for target-switching of performance panel. r=julienw
Depends on D68537

Differential Revision: https://phabricator.services.mozilla.com/D69488

--HG--
extra : moz-landing-system : lando
2020-04-07 00:09:38 +00:00
Daisuke Akatsuka
deb44a7392 Bug 1603182: Address target-switching for performance panel. r=julienw,ochameau
Depends on D68536

Differential Revision: https://phabricator.services.mozilla.com/D68537

--HG--
extra : moz-landing-system : lando
2020-04-09 23:21:31 +00:00
Daisuke Akatsuka
ca0545f470 Bug 1603182: Remove unused variables. r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D68536

--HG--
extra : moz-landing-system : lando
2020-04-06 03:29:19 +00:00
Martin Stransky
cbd149f1b6 Bug 1527976 [Wayland] Don't cancel Drag and Drop on MOZ_GTK_DRAG_RESULT_ERROR for application/x-moz-tabbrowser-tab (tab move), r=jhorak
- X11 uses MOZ_GTK_DRAG_RESULT_NO_TARGET to state 'no place' for drop. Wayland does not have protocol for it and always return MOZ_GTK_DRAG_RESULT_ERROR.
  To emulate X11 behaviour for tab D&D (application/x-moz-tabbrowser-tab mime) don't cancel D&D operation on Wayland for MOZ_GTK_DRAG_RESULT_ERROR
  to allow to create a new tab when user drops tab outside the tab bar.
- Provide some additional loging to D&D code.

Differential Revision: https://phabricator.services.mozilla.com/D70333

--HG--
extra : moz-landing-system : lando
2020-04-09 14:18:41 +00:00
André Bargull
1f5e630889 Bug 1628316 - Part 2: Remove specialisation data from BitwisePolicy. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D70188

--HG--
extra : moz-landing-system : lando
2020-04-09 20:50:20 +00:00
André Bargull
1011f91f3e Bug 1628316 - Part 1: Remove specialisation data from ArithPolicy. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D70187

--HG--
extra : moz-landing-system : lando
2020-04-09 15:00:46 +00:00
André Bargull
27269cad71 Bug 1628309 - Part 3: Move always-inlined relational comparison operations into Interpreter.cpp. r=jandem
Similar to part 1, move the relational comparison operations into Interpreter.cpp.

Depends on D70185

Differential Revision: https://phabricator.services.mozilla.com/D70186

--HG--
extra : moz-landing-system : lando
2020-04-09 14:58:51 +00:00
André Bargull
cda25b5fcf Bug 1628309 - Part 2: Move SignExtendOperation into Recover.cpp. r=jandem
This function is only called from jit/Recover.cpp. Replace it with a directly
inlined version.

Depends on D70184

Differential Revision: https://phabricator.services.mozilla.com/D70185

--HG--
extra : moz-landing-system : lando
2020-04-09 14:58:51 +00:00
André Bargull
16b400922b Bug 1628309 - Part 1: Move always-inlined bitwise operations into Interpreter.cpp. r=jandem
Moves the always-inline functions into Interpreter.cpp and appends "Operation"
to the function name, similar to how the inlined arithmetic functions are named.

Differential Revision: https://phabricator.services.mozilla.com/D70184

--HG--
extra : moz-landing-system : lando
2020-04-09 14:58:51 +00:00
Emma Malysz
92820f83c2 Bug 1625553, change cpuCount value to int to avoid incorrect telemetry r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D70116

--HG--
extra : moz-landing-system : lando
2020-04-09 19:33:13 +00:00
Christoph Kerschbaumer
91485d8871 Bug 1628605: Test SecFetch Headers and websockets. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D70366

--HG--
extra : moz-landing-system : lando
2020-04-09 14:24:00 +00:00
Edwin Takahashi
ae9fc8a3c6 Bug 1627340 - separate filter for try selectors and apply them to try chooser r=ahal,jmaher
Changes:

  - implement filtering of taskgraph items against a list of known task filters in `tasks.py`.
  - apply these filters to both `fuzzy` and `chooser` selectors, unless `--full` is specified.

Differential Revision: https://phabricator.services.mozilla.com/D70097

--HG--
extra : moz-landing-system : lando
2020-04-09 22:01:41 +00:00
Kris Taeleman
990150b302 Bug 1626099 - Renewing FX_TOUCH_USED telemetry. r=chutten,botond
Differential Revision: https://phabricator.services.mozilla.com/D69840

--HG--
extra : moz-landing-system : lando
2020-04-08 20:51:57 +00:00
Dimi Lee
788c34f07f Bug 1627897 - Add a SkipListService testcase to ensure features can get correct initial data. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D69955

--HG--
extra : moz-landing-system : lando
2020-04-09 21:28:43 +00:00
Dzmitry Malyshau
3d20dd0f60 Bug 1616741 - Force-disable WebGPU when not on Nightly r=kats
Differential Revision: https://phabricator.services.mozilla.com/D70435

--HG--
extra : moz-landing-system : lando
2020-04-09 21:11:09 +00:00
Emily McDonough
a076865928 Bug 1628837 - Add subgrid property address to nsGridContainerFrame frame dump output r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D70436

--HG--
extra : moz-landing-system : lando
2020-04-09 21:25:12 +00:00
Mihai Alexandru Michis
6013b44308 Backed out changeset e60ce7274c9f (bug 1628754) for causing bustages in ServoStyleConsts.h
CLOSED TREE
2020-04-10 04:05:15 +03:00
Mihai Alexandru Michis
f2e4ef7d2a Backed out 3 changesets (bug 1626772) for causing bustages in DefineEnum.h
CLOSED TREE

Backed out changeset f42150bdee2b (bug 1626772)
Backed out changeset ab5b637f714a (bug 1626772)
Backed out changeset fd4026a9f380 (bug 1626772)
2020-04-10 03:49:33 +03:00
Mihai Alexandru Michis
5beb91b795 Backed out changeset d91a97562b48 (bug 1628772) for causing failures regarding core-foundation.
CLOSED TREE
2020-04-10 03:42:05 +03:00
Erica Wright
31bc01b102 Bug 1625228 - Add dFPI as an option in custom and add strings to enable it to display in Strict and Standard. r=fluent-reviewers,johannh
Differential Revision: https://phabricator.services.mozilla.com/D70082

--HG--
extra : moz-landing-system : lando
2020-04-09 20:30:39 +00:00
Dzmitry Malyshau
e71799ed9d Bug 1628754 - Cbindgen update to 0.14.0 r=kats
Differential Revision: https://phabricator.services.mozilla.com/D70421

--HG--
extra : moz-landing-system : lando
2020-04-09 21:10:40 +00:00
Ryan Hunt
37cf413477 Bug 1612804 - Fix gc/nullref.js test. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D68659

--HG--
extra : moz-landing-system : lando
2020-04-09 21:06:50 +00:00
Ryan Hunt
831769798b Bug 1612804 - Clean up Instance::init(). r=lth
The case of GlobalKind::Variable has some redundancy that can be cleaned up.

Differential Revision: https://phabricator.services.mozilla.com/D68658

--HG--
extra : moz-landing-system : lando
2020-04-09 21:06:22 +00:00
Ryan Hunt
21b7e0ab74 Bug 1612804 - Clean up InitExpr constructors. r=lth
With the addition of ref.func, the approach of using an explicit constructor to
tag the kind of InitExpr has become a bit ambiguous. This commit tries to improve
the situation.

Differential Revision: https://phabricator.services.mozilla.com/D68657

--HG--
extra : moz-landing-system : lando
2020-04-09 21:05:49 +00:00
Ryan Hunt
841fdc139a Bug 1612804 - Add test for ref.func in global initializers. r=lth
This commit adds a test for the various cases of initializing a global
with ref.func.

Differential Revision: https://phabricator.services.mozilla.com/D68656

--HG--
extra : moz-landing-system : lando
2020-04-09 21:05:00 +00:00
Ryan Hunt
b4fc89f36c Bug 1612804 - Add support for ref.func in global initializers. r=lth
This commit adds the decoding, validation, and initialization logic for ref.func
in globals.

There's an open issue about whether the function index needs to be declared in
an element segment. This commit assumes that this is not required. This may be
changed easily in the future.

A later commit will try to improve the InitExpr constructors as they have
become a little ambiguous with ref.func.

Differential Revision: https://phabricator.services.mozilla.com/D68655

--HG--
extra : moz-landing-system : lando
2020-04-09 21:04:35 +00:00
Ryan Hunt
ea89c584a0 Bug 1612804 - Refactor initialization of global object cells. r=lth
The problem here is that a ref.func global initializer needs to acquire an
exported function which is only available after an Instance object has been
created. However, we sometimes initialize global object cells before this for
exported globals defined in this module or imports satisfied with an immediate
value.

This commit changes EnsureExportedGlobalObject to only initialize the cell of
an import satisfied with an immediate value. Instance::init() is changed to
always initialize the cell of an indirect global. CreateExportObject is changed
to finally initialize the remaining global cells.

A later commit will clean up some of the redundancy in Instance::init().

Differential Revision: https://phabricator.services.mozilla.com/D68654

--HG--
extra : moz-landing-system : lando
2020-04-09 21:03:43 +00:00
Ryan Hunt
9785ed771e Bug 1612804 - Move TlsData initialization out of Instance constructor. r=lth
With ref.func initializers, this process will become fallible and will need to
return a boolean value.

Differential Revision: https://phabricator.services.mozilla.com/D68653

--HG--
extra : moz-landing-system : lando
2020-04-09 21:03:08 +00:00