Commit Graph

699455 Commits

Author SHA1 Message Date
Eitan Isaacson
df0924d72a Bug 1626036 - Initial Mac state caching. r=morgan
Here I added caching for all the toggle states, and expanded.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 16:42:46 +00:00
Eitan Isaacson
df6032b2ba Bug 1626036 - Add a stateWithMask method to mozAccessible. r=morgan
Having this kind of method will let us know what the states of interest are.
If all the states are cached we can return them without inquiring the full state.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 05:47:43 +00:00
Eitan Isaacson
fdedd0e534 Bug 1626639 - Use mozCheckboxAccessible class for radio buttons. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D69215

--HG--
extra : moz-landing-system : lando
2020-04-02 20:28:06 +00:00
Eitan Isaacson
b2c4484df1 Bug 1626036 - Introduce more mochitests for mac accessibility. r=morgan
In this patch set I'll introduce state caching, so I thought it's a good idea
to first add a bunch of tests to features that will be touched.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 16:41:43 +00:00
Eitan Isaacson
dbdae4f810 Bug 1617436 - Reset caret before doing another find in page test. r=geckoview-reviewers,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D69229

--HG--
extra : moz-landing-system : lando
2020-04-01 16:18:50 +00:00
Kershaw Chang
c38e7fc54b Bug 1626743 - Fix the logic for the sniffer data r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D69273

--HG--
extra : moz-landing-system : lando
2020-04-02 14:08:42 +00:00
Gijs Kruitbosch
c8f180ee44 Bug 1624983 - follow-up: add missing Array.from call a=fix
CLOSED TREE

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

--HG--
extra : amend_source : 2526a782e8884f6f7763ca41295323719954e1ba
2020-04-02 20:01:58 +00:00
Ryan Hunt
773c89c7b9 Bug 1624363 - Update GC test syntax. r=lth
This commit updates our tests to use the new GC syntax.
 * Removes (gc_feature_opt_in)
 * Switches (ref T) to (ref opt T)
 * Fix some manual binary encoding tests

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

--HG--
extra : moz-landing-system : lando
2020-04-02 19:51:28 +00:00
Ryan Hunt
f775be973d Bug 1624363 - Fix duplicate identifier messages. r=lth
The wat update now uses a different message for duplicate identifier errors.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 19:44:49 +00:00
Ryan Hunt
2c6c29c62c Bug 1624363 - Decode struct flag after type in struct field. r=lth
The V8/wabt prototype uses a different struct field encoding by putting the
flags for a field after the value type. This commit updates our decoder to
match.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 19:44:32 +00:00
Ryan Hunt
c360245ef4 Bug 1624363 - Rename TypeCode::Ref to TypeCode::OptRef. r=lth
The (ref T) in the GC proposal is non-nullable, while our (ref T) may be null.
This commit renames our (ref T) value type to be an (optref T). Eventually we
will want to implement the proper (ref T) to be more compatible with V8 which
only implements (ref T).

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

--HG--
extra : moz-landing-system : lando
2020-04-02 19:51:01 +00:00
Ryan Hunt
89b545bdd0 Bug 1624363 - Add GcPrefix opcode space and align encoding with wat update. r=lth
The V8/wabt prototype uses a dedicated prefix opcode for most of the GC
operations. This commit adds this prefix and switches the instructions over
to it.

The encoding for ref/optref is left to its own commit as that implies a larger
change to rename the actual TypeCode.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 19:44:15 +00:00
Ryan Hunt
e340de84e7 Bug 1624363 - Drop (gc_feature_optin). r=lth
This feature was useful when we were the only implementation prototyping this,
but now there is another implementation that doesn't require this flag. A later
commit will remove these from the tests.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 19:43:15 +00:00
Ryan Hunt
4f62abea70 Bug 1624363 - Vendor wat 0.1.14. r=lth
This commit updates the wat version in tree.
 * Implements MVP GC syntax
 * Updated abs SIMD opcodes

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

--HG--
extra : moz-landing-system : lando
2020-04-02 19:42:57 +00:00
Ted Campbell
300a5cfe2a Bug 1597795 - Stop requiring js::detail::CopyScript to be a friend. r=caroline
If we add JSScript::initSharedData(), we no longer need to mark CopyScript as
a friend of JSScript and can simplify some things.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 19:26:34 +00:00
caroline
dbddbdc439 Bug 1626069 - Reorder JSScript::Create parameters so they match other call orderings. r=tcampbell
Depends on D69148

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

--HG--
extra : moz-landing-system : lando
2020-04-02 19:22:11 +00:00
caroline
37ae66a2f2 Bug 1626069 - Move JSScript::New to BaseScript and remove the rest of JSScript::Create. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D69148

--HG--
extra : moz-landing-system : lando
2020-04-02 18:28:16 +00:00
caroline
dc867f60d7 Bug 1626069 - Remove JSScript::Create wrapper. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D68882

--HG--
extra : moz-landing-system : lando
2020-04-02 18:22:28 +00:00
Ted Campbell
e812d55dd5 Bug 1626825 - Remove stale comments about args-analysis. r=anba
Depends on D69430

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

--HG--
extra : moz-landing-system : lando
2020-04-02 19:26:46 +00:00
Ted Campbell
030f14bcf8 Bug 1626825 - Remove JSScript::analyzedArgsUsage. r=anba
Replace with the standard flag accessor: needsArgsAnalysis().

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

--HG--
extra : moz-landing-system : lando
2020-04-02 19:29:33 +00:00
Geoff Brown
068d850bc3 Bug 1607763 - Fix mochitest pass/fail count handling when running in debugger; r=bc
Allow for the alternate message format used by TestRunner.js when running in a debugger:
https://searchfox.org/mozilla-central/rev/fa2df28a49883612bd7af4dacd80cdfedcccd2f6/testing/mochitest/tests/SimpleTest/TestRunner.js#259

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

--HG--
extra : moz-landing-system : lando
2020-04-02 19:22:52 +00:00
Punam Dahiya
8cc49e39f8 Bug 1622476 - About Welcome termination telemetry r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D67239

--HG--
extra : moz-landing-system : lando
2020-04-02 16:55:41 +00:00
Julian Descottes
753f76a776 Bug 1619720 - Remove TabDescriptor options r=ochameau,ladybenko
Depends on D65397

Now that we removed all options available for the TabDescriptor, we can just remove the constructor argument and related code.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 16:09:09 +00:00
Julian Descottes
9879c21621 Bug 1619720 - Remove forceUnzombify option in TabDescriptorActor r=ochameau
Depends on D65360

After removing the `favicons` option for the TabDescriptorActor, there is only one `option` left: `forceUnzombify`.

This option is a purely server side option https://searchfox.org/mozilla-central/rev/4d9cd186767978a99dafe77eb536a9525980e118/devtools/server/actors/root.js#347
We can assume that all the callers that need to get a valid target need to have the tab unzombified.
So we can remove the option and always call unzombify from getTarget.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 15:47:32 +00:00
Julian Descottes
6fb848c0e2 Bug 1619720 - Request favicons directly from the tab descriptor r=ochameau,ladybenko
Depends on D69331

This changeset adds a new getFavicon API on the TabDescriptorActor and uses it from about:debugging to retrieve the favicons for the tabs.

Currently, the TabDescriptorActor (living in the parent process) modifies the form of its BrowsingContextTargetActor (living in the content process) to add a "favicon" property on it. The reason we do this is that the API to get favicons can only be used from the parent process. Before tab descriptors, we had "frame-prox(ies)" instead in the parent process and the client could not directly query those frame proxies (they were not actors, and had no corresponding front). That's why we used this workaround of modifying the target actor form.

But now clients can directly call APIs on the TabDescriptor, so we don't have to insert the favicon information in the form of the target actor anymore.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 15:44:24 +00:00
Iain Ireland
c6c63b8011 Bug 1626713: Part 4: Syntax errors r=mgaudet
I had to upstream a patch rewriting irregexp's error handling to make this work, but we should have very nearly the same syntax errors as the old implementation. There are a few small exceptions in cases where we added unicode support after importing, and decided to report slightly different things, but nothing that seems like it should matter. There are two dead error messages. I have made a note to remove them after the old implementation is gone and no longer needs them.

ReportSyntaxError is based as closely as possible on the existing implementation in irregexp/RegExpParser.cpp.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 17:38:23 +00:00
Iain Ireland
1e3727826a Bug 1626713: Part 3: CheckPatternSyntax r=mgaudet
This is the first point at which we can actually run irregexp code. For now, it doesn't do much: it can verify that a regexp has valid syntax, but actually reporting syntax errors doesn't happen until the next patch, and we hit a MOZ_CRASH if you try to actually execute the regexp. (Nevertheless, it works well enough to expose some dumb off-by-one errors in the shim code.)

Depends on D69260

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

--HG--
extra : moz-landing-system : lando
2020-04-02 17:38:23 +00:00
Iain Ireland
0dd839a6d2 Bug 1626713: Part 2: Add RegExpAPI r=mgaudet
This is the interface for SM-to-irregexp calls. Eventually it will support CheckPatternSyntax, CompilePattern, and Execute. For now, we just hook things up so that JSContext owns an Isolate.

Depends on D69259

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

--HG--
extra : moz-landing-system : lando
2020-04-02 17:38:22 +00:00
Iain Ireland
e33dc516d9 Bug 1626713: Part 1: Remove old engine from ENABLE_NEW_REGEXP builds r=mgaudet
If we are using the new import, we don't need the old one.

Note about the testing functions: disRegExp appears to have been broken since we added unicode support. parseRegExp is used for a set of tests (in jit_test/tests/regexp_parse) that hardcode an expected parse tree for various expressions. I don't think either function provides much value.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 17:38:22 +00:00
Gijs Kruitbosch
c19f1c9f84 Bug 1626779 - fix wizard page header handling so it copes with non-fluent labels, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D69283

--HG--
extra : moz-landing-system : lando
2020-04-02 19:19:19 +00:00
Doug Thayer
4c544f2ece Bug 1627040 - Check for corrupt JARs later in startup r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D69428

--HG--
extra : moz-landing-system : lando
2020-04-02 19:10:32 +00:00
Mihai Alexandru Michis
e4d93049ab Backed out changeset 73e0e7a872c3 (bug 1626815) for causing failures regarding startupCache.
CLOSED TREE
2020-04-02 22:15:38 +03:00
Nicolas Silva
780c056648 Bug 1626666 - Rename IpcProfileCounters into TransactionProfileCounters. r=jrmuizel
Few of the counters actually have anything to do with IPC although they all relate to events of layout transactions.

Depends on D69414

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

--HG--
extra : moz-landing-system : lando
2020-04-02 18:25:59 +00:00
Nicolas Silva
82f42d6e29 Bug 1626666 - Ensure ipc profile counters follow transactions through the scene builder thread. r=jrmuizel
Instead of collecting so-called ipc counters when receving the SetDisplayList on the render backend, pass the information through the scene builder thread and update the profile on the render backend after the scene is swapped. This prevents ipc counters to be displayed while the transaction is still being processed by the scene builder thread.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 18:32:57 +00:00
Nicolas Silva
5ca5cd78ce Bug 1624627 - Add a slow transaction indicator. r=jrmuizel
It moves when DL building + IPC + scene building takes more than 100ms.

Depends on D69247

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

--HG--
extra : moz-landing-system : lando
2020-04-02 18:32:58 +00:00
Nicolas Silva
fdb6027218 Bug 1624627 - Reimplement the slow frame indicator. r=jrmuizel
This removes the WebRender side of the previous slow frame indicator and replace it with a simple implementation that only looks at the CPU time on the render backend and renderer thread involved for building a frame.

A followup patch will add a separate indicator for when the displaylist/ipc/scene bits take too long.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 17:23:15 +00:00
aarushivij
c60456e198 Bug 1578906 - Show a larger underline on the accesskeys since they are only single characters and descenders can make the underline appear very small for an accesskey. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D69265

--HG--
extra : moz-landing-system : lando
2020-04-02 18:37:17 +00:00
Nicolas Silva
53168da7e7 Bug 1625365 - Improve the blob image overview documentation. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D68985

--HG--
extra : moz-landing-system : lando
2020-04-02 18:32:14 +00:00
Nicolas Silva
ca77a08ff3 Bug 1581475 - Don't attempt to draw if PreapreForDrawing fails. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D68844

--HG--
extra : moz-landing-system : lando
2020-04-02 18:27:35 +00:00
Nicolas Silva
258b9dbb37 Bug 1626209 - Adjust reftest fuzziness. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D69384

--HG--
extra : moz-landing-system : lando
2020-04-02 14:57:34 +00:00
Ted Campbell
771c53fdf5 Bug 1626825 - Remove BaseScript::setArgumentsHasVarBinding. r=mgaudet
Instead, use resetArgsUsageAnalysis(). We no longer set the arguments flags
for lazy scripts since the mutable flags are imprecise until the BCE is
complete.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 18:22:03 +00:00
Ted Campbell
0f74ca47a6 Bug 1626825 - Use immutableFlags for ArgsObj flags in funbox. r=mgaudet
This replaces the dedicated bools in FunctionBox with the associated
ImmutableFlags. The results in AlwaysNeedsArgsObj now being initialized
consistently for lazy scripts as well.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 18:22:01 +00:00
Gijs Kruitbosch
7992da4e0d Bug 1626141 - fix test-verify support in browser_filetype_dialog.js , r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D69100

--HG--
extra : moz-landing-system : lando
2020-04-02 18:28:28 +00:00
Razvan Maries
2fcb2a30f0 Backed out changeset fe77998cc746 (bug 1626426) for bc failures on browser_history_navigation.js. CLOSED TREE 2020-04-02 21:25:49 +03:00
Ryan VanderMeulen
4e317e27ab Bug 1627021 - Update pdf.js to version 2.5.49. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D69412

--HG--
extra : moz-landing-system : lando
2020-04-02 18:16:00 +00:00
Brendan Dahl
3533e1dfc8 Bug 1626815 - Expose startup cache info to about:support. r=froydnj,fluent-reviewers
Adds a new startup cache info service to expose some of the internal
state of the startup cache.

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

--HG--
extra : moz-landing-system : lando
2020-04-02 17:40:50 +00:00
Chris Peterson
589528cb8d Bug 1625834 - Replace MOZ_MUST_USE with [[nodiscard]] in editor. r=masayuki
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/D69315

--HG--
extra : moz-landing-system : lando
2020-04-02 05:43:31 +00:00
Jared Wein
d6d8baf96f Bug 1626413 - Allow sorting by 'alerts' even if vulnearble logins are not present. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D69216

--HG--
extra : moz-landing-system : lando
2020-04-02 17:36:54 +00:00
Jared Wein
322289c44b Bug 1626956 - Check that OS auth is enabled before prompting during Master Password creation. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D69399

--HG--
extra : moz-landing-system : lando
2020-04-02 17:43:39 +00:00
Amogh Kerigond
eac94b6c20 Bug 1624234 - Removes else or else if after return statement r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D67970

--HG--
extra : moz-landing-system : lando
2020-03-30 20:08:39 +00:00