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

682426 Коммитов

Автор SHA1 Сообщение Дата
André Bargull 28319c9e07 Bug 1599465 - Part 9: Add 'const' modifier to hash() and dump() methods. r=jwalden
An earlier part changed the `digit` function to be `const`, so we can now make
these two functions `const`, too.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 17:37:07 +00:00
André Bargull c206352de3 Bug 1599465 - Part 8: Remove function call indirection when calling BigInt operations from jit-code. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D54764

--HG--
extra : moz-landing-system : lando
2019-12-02 17:37:07 +00:00
André Bargull 6c0ebea0c8 Bug 1599465 - Part 7: Add "Value" suffix to BigInt operations on Values types. r=jandem
Add the suffix in preparation for part 8.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 17:37:07 +00:00
André Bargull 98cd310eca Bug 1599465 - Part 6: Change test to check if uint128 types are available. r=jwalden
We never define `HAVE_INT128_SUPPORT`, so the uint128 code path is never
enabled. Change the test to use `__SIZEOF_INT128__` to enable it on
applicable platforms.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 17:37:06 +00:00
André Bargull ccaf2a12e3 Bug 1599465 - Part 5: Add fast path for BigInt multiplication with uint64 magnitude. r=jwalden
Similar to the previous part, also add a fast-path when multiplying two Bigints
which fit into uint64_t. When the result also fits into uint64_t, this approach
avoids allocating unused malloc memory.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 17:37:06 +00:00
André Bargull 0903f6d258 Bug 1599465 - Part 4: Add fast path for BigInt addition with uint64 magnitude. r=jwalden
Add a fast path for uint64 BigInts to `BigInt::absoluteAdd`. This fast path
gives a substantial speed-up, because addition for uint64 BigInts no longer
needs allocate malloc memory when the result also fits into uint64_t.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 17:37:06 +00:00
André Bargull 3af8368be7 Bug 1599465 - Part 3: Add fitsInUint64 and uint64FromNonZero to BigInt. r=jwalden
Adds `fitsInUint64` to check if a BigInt fits into uint64_t and `uint64FromNonZero`
to extract an uint64_t value from a non-zero BigInt. Boths function are inline
because the next patches will use them in fast-paths.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 17:37:06 +00:00
André Bargull 5987154aca Bug 1599465 - Part 2: Implement in-place modification in destructivelyTrimHighZeroDigits. r=jwalden
Resolves the TODO in `destructivelyTrimHighZeroDigits` and additionally removes
`trimHighZeroDigits`, because it is no longer used. This change is especially
beneficial for functions which are most of the time over-estimating the result
digit length, like for example `BigInt::absoluteAdd`.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 17:37:06 +00:00
André Bargull 175986d76a Bug 1599465 - Part 1: Move checked arithmetic functions into their own header. r=jwalden
This allows to use these functions without pulling in the complete `jsnum.h` header.

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

--HG--
rename : js/src/jsnum.h => js/src/util/CheckedArithmetic.h
extra : moz-landing-system : lando
2019-12-02 17:37:05 +00:00
Chris Fallin 68ac49527e Bug 1598347, part 2: pass "inner singleton" to NEWOBJECT group logic. r=djvj,iain
This change passes through the "inner singleton" status of a particular
object literal to the group-assignment logic for JSOP_NEWOBJECT by
instead using a variant opcode, JSOP_NEWOBJECT_WITHGROUP.  "Inner
singleton" status is meant to emulate old behavior (prior to ObjLiteral)
in which the frontend built an entire tree of objects/arrays with a
top-level singleton. In the old world, these objects were allocated by
ParseNode::getConstantValue() in the frontend and built by
ObjectGroup::newPlainObject, which looked up an object group by property
names. In the new world, the default NEWOBJECT logic uses a separate
test for whether an allocation site should have a singleton group, and
even after we carefully emulate the old group behavior in the frontend,
the new-object allocation itself will decide to allocate singleton
groups. In the particular regression case motivating this change, these
singleton groups break the TI information for a singleton array (typeset
for all elems no longer has a single group) and as a result, a simple
property access can no longer be inlined. This patch matches the old
behavior and allows the inlining to occur.

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

--HG--
extra : moz-landing-system : lando
2019-11-27 22:49:33 +00:00
Chris Fallin ecb5852eeb Bug 1598347, part 1: Handle the inner-singleton case for array elem objs. r=djvj,iain
This patch extends the "inner singleton" hack to array element object
literals in the parser. With the new ObjLiteral system, we are
attempting to emulate the old (sometimes incidental) behavior of the
parser's literal object allocation as closely as possible, to avoid
regressions (such as this bug). The "inner singleton" status indicates
that an object would have been allocated as part of a tree objects, with
a singleton at the top, in the old world. In this case, we do something
slightly different with the group setup. The second half of this patch
will extend the inner-singleton bit back through to object allocation
during execution.

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

--HG--
extra : moz-landing-system : lando
2019-11-27 22:48:40 +00:00
Noemi Erli a500b741f0 Backed out changeset f7fb3affa4fb (bug 1598377) for causing failures in wasm-testharness.js CLOSED TREE 2019-12-02 20:13:45 +02:00
jeffin143 be122e52af Bug 1600482 : convert NS_STYLE_RUBY_POSITION_* to an enum class in nsStyleConsts.h r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D55379

--HG--
extra : moz-landing-system : lando
2019-12-02 17:22:42 +00:00
Matthew Gaudet 74cf2006fe Bug 1600160 - Sync source information from lazyScript to FunctionBox r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D55200

--HG--
extra : moz-landing-system : lando
2019-12-02 16:53:57 +00:00
Matthew Gaudet ec6a900104 Bug 1600160 - Remove function() uses that don't need to be there r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D55199

--HG--
extra : moz-landing-system : lando
2019-12-02 16:53:42 +00:00
Matthew Gaudet 2b0ed7f24e Bug 1600162 - Initialize skipped lazy function funbox in the same manner as regular lazy function funboxen r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D55198

--HG--
extra : moz-landing-system : lando
2019-12-02 16:53:33 +00:00
Matthew Gaudet 8033b3a789 Bug 1600160 - Rename buf{End,Start} to source{End,start} in FunctionBox to match BaseScript r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D55197

--HG--
extra : moz-landing-system : lando
2019-12-02 16:53:23 +00:00
Sylvestre Ledru 4f4f4cc897 no bug - Reduce the maxdepth on the linting doc r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D55426

--HG--
extra : moz-landing-system : lando
2019-12-02 17:30:07 +00:00
Cosmin Sabou 0c2c5991a8 Bug 1600445 - Update expectations for decode-utf8.any.serviceworker.html on release or beta. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D55368

--HG--
extra : moz-landing-system : lando
2019-12-02 17:40:30 +00:00
Cosmin Sabou a870451527 Bug 1600442 - Add release or beta expectations for sandbox-disallow-scripts-via-unsandboxed-popup.tentative.html. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D55369

--HG--
extra : moz-landing-system : lando
2019-12-02 17:40:07 +00:00
Mark Striemer 732638b973 Bug 1600179 - Force reorder animation to run when testing it r=rpl
On ubuntu1804 prefers-reduced-motion is reduce so the animations are
being skipped even when we're trying to test them. Force them to run
when running the tests.

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

--HG--
extra : moz-landing-system : lando
2019-11-29 22:22:11 +00:00
Cosmin Sabou 128d09ce39 Bug 1600446 - Update webaudio/the-audio-api/the-audioworklet-interface/ for beta and release. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D55367

--HG--
extra : moz-landing-system : lando
2019-12-02 15:43:01 +00:00
Sylvestre Ledru 19d21ac142 no bug - Add links to the static analysis project in the doc r=andi
Differential Revision: https://phabricator.services.mozilla.com/D55465

--HG--
extra : moz-landing-system : lando
2019-12-02 17:04:27 +00:00
Ciure Andrei e473bd5f57 Backed out 10 changesets (bug 1582512) for causing browser_preferences_usage.js to permafail CLOSED TREE
Backed out changeset a615a2c07523 (bug 1582512)
Backed out changeset 7dd0266da0a1 (bug 1582512)
Backed out changeset dfdefc6ede97 (bug 1582512)
Backed out changeset 59db30e1915f (bug 1582512)
Backed out changeset 1eb6f6b02149 (bug 1582512)
Backed out changeset 391ed11326fb (bug 1582512)
Backed out changeset 02865605c1c3 (bug 1582512)
Backed out changeset 017582048986 (bug 1582512)
Backed out changeset 1374c08302f9 (bug 1582512)
Backed out changeset 40dd63b6910a (bug 1582512)
2019-12-02 19:23:12 +02:00
Ciure Andrei 34bc485e5e Bug 1581500 - disable browser_new_tab_in_privilegedabout_process_pref.js for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D55460

--HG--
extra : moz-landing-system : lando
2019-12-02 16:53:21 +00:00
Mats Palmgren 3ef4eee2ea Bug 1600202 - Make test_bug717878_input_scroll.html cope with native themes that has a large padding better, and extend the test to also check non-themed controls. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D55458

--HG--
extra : moz-landing-system : lando
2019-12-02 16:41:02 +00:00
Mats Palmgren d141f0d8ad Bug 1017137 - Don't report Complete status in table-row-group fragmentation if it still has more rows to flow after filling the availble size. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D55397

--HG--
extra : moz-landing-system : lando
2019-12-02 16:40:47 +00:00
Magnus Melin edaedf825d Bug 1599263 - make the test_intermediate_preloads.js test collect telemetry data for all products during testing. r=jcj
Differential Revision: https://phabricator.services.mozilla.com/D55246

--HG--
extra : moz-landing-system : lando
2019-12-02 16:46:58 +00:00
Mats Palmgren 4928207161 Bug 1600367 - Check that the available space is constrained before setting Incomplete status. r=TYLin
The testcase doesn't have a fragmentainer at all so we should
never set Incomplete status in this case.  I added an assertion
that would have caught this.  I also made the baseline methods
deal with a null inner frame for good measure.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 16:43:06 +00:00
Ricky Stewart 149113d525 Bug 1599235 - Download lucetc during bootstrap for Linux r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D54835

--HG--
extra : moz-landing-system : lando
2019-11-28 12:27:22 +00:00
Gijs Kruitbosch 9c1c2ec284 Bug 1600195 - rip out unused 'nice' handling for child processes on Linux/Android, r=mconley
This was added for XUL fennec, which was dropped at the time of Firefox 7.
But we're still reading this pref and env var and system info data, so let's
stop doing that (also because 'cpucount' is unlikely to be 1 on modern
desktop machines, we're dropping arbitrary user pref sets for geckoview,
and I don't think it's even possible to set an env var for app execution
on android as a user - certainly not easy).

Depends on D55265

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

--HG--
extra : moz-landing-system : lando
2019-12-02 16:42:03 +00:00
emcminn f1b22e4ff1 Bug 1592525 - Fixed wrap issue for BelowSearchSnippet r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D53837

--HG--
extra : moz-landing-system : lando
2019-12-02 16:27:12 +00:00
Alexis Beingessner 6f9c0b0768 Bug 1593745 - handle windows-style transparent emoji better with WR. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D52098

--HG--
extra : moz-landing-system : lando
2019-12-02 15:35:34 +00:00
Jon Coppeard b8f1aa26cd Bug 1600575 - Replace use of gc/PrivateIterators-inl.h header from outside the GC component r=allstarschh
None of these uses actually need this header.  Mostly they need the definitions in GC-inl.h.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 13:38:27 +00:00
Ryan Hunt 0971174cfe Bug 1598377 - Only allow function types with one result when CL is enabled. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D55029

--HG--
extra : moz-landing-system : lando
2019-12-02 16:02:23 +00:00
Chris H-C dc13286b52 Bug 1599145 - Ensure we load the client id before sending the deletion-request ping. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D55154

--HG--
extra : moz-landing-system : lando
2019-11-29 08:56:44 +00:00
Daisuke Akatsuka 05c241f450 Bug 1600183: Create a promise which waits for the tooltip will be shown before firing the mouse events. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D55427

--HG--
extra : moz-landing-system : lando
2019-12-02 14:42:29 +00:00
Tom Ritter fd5a5d7079 Bug 1582512 - Add in exception cases where we disable the javascript load restrictions r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D53245

--HG--
extra : moz-landing-system : lando
2019-12-02 15:46:04 +00:00
Tom Ritter 3002020702 Bug 1582512 - Disable script filename validation in Browser Toolbox console debugging r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D53234

--HG--
extra : moz-landing-system : lando
2019-12-02 15:45:57 +00:00
Tom Ritter c9a9ab9d20 Bug 1582512 - Disable the javascript filename load restriction on specific tests r=jdescottes
Certain tests load data: URIs, blob: URIs, or otherwise do unusual things
that mean we need to disable the restriction for them.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 15:45:54 +00:00
Tom Ritter 56cd60435e Bug 1582512 - Switch test-actor-registry.js to use a chrome:// URL r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D51675

--HG--
extra : moz-landing-system : lando
2019-12-02 15:45:45 +00:00
Tom Ritter fc663a0a8d Bug 1582512 - Disable script filename restrictions in Marionette r=jandem,marionette-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D51676

--HG--
extra : moz-landing-system : lando
2019-12-02 15:46:21 +00:00
Tom Ritter fdbdcf71e8 Bug 1582512 - Disable javascript filename validation on all entry points from xpcshell r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D51336

--HG--
extra : moz-landing-system : lando
2019-12-02 15:46:11 +00:00
Tom Ritter f6c094fcf4 Bug 1582512 - Record a Telemetry Event if we receive a request to load a script filename we aren't expecting r=chutten
While we're here, we also extend the collection period for evalUsage, as it is taking longer to deploy than expected.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 15:45:37 +00:00
Tom Ritter 8660e8abe3 Bug 1582512 - Rename FilenameToEvalType to FilenameToFilenameType r=Gijs,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D53232

--HG--
extra : moz-landing-system : lando
2019-12-02 15:45:27 +00:00
Tom Ritter 629dcba076 Bug 1582512 - Rename FilenameType to FilenameTypeAndDetails r=Gijs,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D53231

--HG--
extra : moz-landing-system : lando
2019-12-02 15:45:20 +00:00
Tom Ritter 40826aaf6c Bug 1582512 - Register a ScriptValidationCallback to examine script loads in the parent process r=Gijs,ckerschb
Additionally, we disable validation on PAC scripts.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 15:45:13 +00:00
Henrik Skupin 50ad3cd134 Bug 1600317 - [remote] Deny internal methods to be called. r=remote-protocol-reviewers,maja_zf
As long as we do not validate incoming messages against the
Chrome DevTools JSON schema, all incoming commands would be
executed. To prevent clients from changing internal data by
calling internal commands (prefixed with "_"), deny their
execution.

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

--HG--
extra : moz-landing-system : lando
2019-12-02 14:28:13 +00:00
Ciure Andrei 313f24f785 Backed out changeset 71af6290f436 (bug 1587721) for causing nsExceptionHandler.cpp bustages CLOSED TREE 2019-12-02 17:45:17 +02:00
Tom Ritter e751bb508a Bug 1592297 - Remove MOZ_QUIET and disable this output by default. r=mccr8,jdescottes
Instead of setting MOZ_QUIET to hide the DOMWINDOW and DOCSHELL log messages, you
now must set a regular logging module to enable them. They are automatically enabled
on tests that rely on these messages are leak checking.

That module is DocShellAndDOMWindowLeak:3

One disadvantage of this change is that you cannot set MOZ_QUIET to hide these
messages when running those tests (primarily browser-chrome).

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

--HG--
extra : moz-landing-system : lando
2019-12-02 15:41:35 +00:00