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

742827 Коммитов

Автор SHA1 Сообщение Дата
Barret Rennie 60d382943b Bug 1688711 - Don't write to empty JsBuffer when reading compressed files r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D103524
2021-01-30 00:33:21 +00:00
Narcis Beleuzu 868935867c Backed out 2 changesets (bug 1596897) for bc failures on browser_search_discovery.js
Backed out changeset 635972f169e7 (bug 1596897)
Backed out changeset a84b667007e2 (bug 1596897)
2021-01-30 04:01:21 +02:00
Narcis Beleuzu 37d1a797ce Backed out 2 changesets (bug 1689740, bug 1649611) for mochitest failures on test_ioutils_mkdir.html
Backed out changeset 91181a01b68c (bug 1649611)
Backed out changeset 4dd71fe08a0e (bug 1689740)
2021-01-30 02:47:37 +02:00
Ted Campbell f5fafb46ce Bug 1689734 - Further restrict ScriptPreloader use of CompileOptions. r=kmag,arai
The JS CompileOptions used to load cache entries must be consistent with
eachother to avoid subtle and serious bugs. This adds additional checks and
makes more consistent use of `FillCompileOptionsForCachedScript`.

This patch is a refactoring and should not change any behaviour.

Depends on D103515

Differential Revision: https://phabricator.services.mozilla.com/D103516
2021-01-29 22:54:59 +00:00
Ted Campbell a70f9b9fe5 Bug 1689734 - Cleanup lazy-source in nsFrameMessageManager if using ScriptPreloader. r=kmag
For consistency with other uses of the ScriptPreloader, we ensure we use lazy
script source when compiling for the cache. This generates full bytecode for
the cache but also avoids saving a copy of the source. If the frame script
were to call Function.prototype.toString, the existing source-hook would load
it in the same way as the JSM loader. In practice, we avoid relying on this
in our chrome code. If we will not be writing to the cache, we can instead
compile with the JS syntax parser, similar to what we do for JSM loader.

Differential Revision: https://phabricator.services.mozilla.com/D103515
2021-01-29 22:53:26 +00:00
Erica Wright b97c12efa4 Bug 1688683 - Personalize button and search should not overlap. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D103195
2021-01-29 20:09:05 +00:00
Xidorn Quan 1479c9d9e2 Bug 1687056 - Upgrade rkv to 0.17 and remove failure from rkv's dependent crates. r=vporof
Differential Revision: https://phabricator.services.mozilla.com/D102052
2021-01-29 12:58:00 +00:00
Emma Malysz e13166a7b1 Bug 1649611: Remove OS.File usage from DownloadIntegration.jsm and respect umask in IOUtils::SetPermissions r=barret
Depends on D103520

Differential Revision: https://phabricator.services.mozilla.com/D99729
2021-01-29 22:56:54 +00:00
Barret Rennie 8ba96a2ae5 Bug 1689740 - Check for nsIFile::GetParent() returning null in IOUtils r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D103520
2021-01-29 22:55:22 +00:00
Tom Schuster 0f69816f22 Bug 1688279 - Support strings as data in ClipboardItem r=nika
Differential Revision: https://phabricator.services.mozilla.com/D102791
2021-01-29 22:33:55 +00:00
Sean Feng 71ce0cfc2a Bug 1687358 - Implement telemetry probes to determine the best possible threshold for <lazyload> r=emilio
This patch implements five telemetry probes to help us learn how
lazyload thresholds perform in the wild.

Differential Revision: https://phabricator.services.mozilla.com/D102845
2021-01-29 17:03:25 +00:00
Masayuki Nakano f7b2e8084b Bug 1689573 - Make `WidgetKeyboardEvent::GetCommandStr()` map empty string to commands never executed r=smaug
Not mapping them causes creating shorter command list than expected.

Differential Revision: https://phabricator.services.mozilla.com/D103465
2021-01-29 22:26:57 +00:00
Nika Layzell b9efbca10c Bug 1687805 - Part 3: Support submitting form data with noopener enabled, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D103361
2021-01-29 22:15:46 +00:00
Nika Layzell 8c7b06dc23 Bug 1687805 - Part 2: Don't use OpenNoNavigate if noopener is force-enabled, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D103360
2021-01-29 22:15:44 +00:00
Nika Layzell 51b5d48b77 Bug 1687805 - Part 1: Test creating popups with anchor clicks and form submissions in coop iframe tests, r=annevk
Differential Revision: https://phabricator.services.mozilla.com/D103359
2021-01-29 22:15:42 +00:00
Tooru Fujisawa 4a8a91d553 Bug 1689334 - Part 5: Move RegExpStencil method definitions to Stencil.cpp. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D103512
2021-01-29 22:06:56 +00:00
Tooru Fujisawa 3d646a954e Bug 1689334 - Part 4: Move ObjLiteralStencil method definitions to ObjLiteral.cpp. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D103511
2021-01-29 22:06:49 +00:00
Tooru Fujisawa db044765b7 Bug 1689334 - Part 3: Move CompilationStencil method definitions to Stencil.cpp. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D103510
2021-01-29 22:06:46 +00:00
Tooru Fujisawa f84a4475e5 Bug 1689334 - Part 2: Move CompilationInput method definitions and trace methods definitions to Stencil.cpp. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D103509
2021-01-29 22:06:39 +00:00
Tooru Fujisawa d012105da4 Bug 1689334 - Part 1: Move ScopeContext method definitions to Stencil.cpp. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D103508
2021-01-29 22:06:29 +00:00
Nika Layzell bbaf7fbc65 Bug 1682285 - Part 2: Track LOAD_FLAGS_FROM_EXTERNAL separately from LOAD_TYPE, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D103365
2021-01-29 22:06:36 +00:00
Nika Layzell 29c2d4d113 Bug 1682285 - Part 1: Split internal and external load flags, r=kmag,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D103364
2021-01-29 22:06:16 +00:00
Dorel Luca dc191572ea Backed out changeset 4572c1ba670a (bug 1688972) for Browser-chrome failures in accessible/tests/browser/fission/browser_take_focus.js. CLOSED TREE 2021-01-30 01:17:00 +02:00
Mike Hommey 0b791c3130 Bug 1689526 - Use MOZHARNESS_TEST_PATHS for web platform tests for isolate_test action. r=taskgraph-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D103456
2021-01-29 12:11:24 +00:00
Dorel Luca 9d50e72c4a Backed out changeset 100bc29bbb72 (bug 1625593) for Browser-chrome failures in gfx/layers/apz/test/mochitest/browser_test_scrollbar_in_extension_popup_window.js. CLOSED TREE 2021-01-30 01:13:18 +02:00
Dorel Luca 85e20aac7c Backed out 3 changesets (bug 1681360) for Browser-chrome failures in browser/base/content/test/performance/browser_startup_content_subframe.js. CLOSED TREE
Backed out changeset 2e07885dda4c (bug 1681360)
Backed out changeset c80806107851 (bug 1681360)
Backed out changeset 49e0948090b9 (bug 1681360)
2021-01-30 01:12:33 +02:00
Dorel Luca 11d343d9e6 Backed out changeset 91bf91b8a4b1 (bug 1689526) for Browser-chrome failures in accessible/tests/browser/fission/browser_take_focus.js. CLOSED TREE 2021-01-30 01:10:00 +02:00
alwu e7acf58183 Bug 1688775 - report the decoding error according to different mime type. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D103407
2021-01-29 21:11:23 +00:00
Mike Hommey 990995c428 Bug 1689281 - Remove MFBT_DATA for kBase10MaximalLength. r=nika
It was added in bug 614188. 8 years have passed, and it doesn't seem
necessary anymore (if it ever was).

Differential Revision: https://phabricator.services.mozilla.com/D103265
2021-01-28 16:50:14 +00:00
Mike Hommey 4030da2448 Bug 1689494 - Don't include gmp-clearkey in test archives. r=releng-reviewers,jmaher
It's already part of Firefox, and makes the gtest initialization print
an error message because the one already in Firefox can't be
overwritten.

Differential Revision: https://phabricator.services.mozilla.com/D103475
2021-01-29 13:31:07 +00:00
Aki Sasaki 28ce0f37e8 Bug 1689232 - sign mac openh264 on mac r=bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D103425
2021-01-29 20:47:52 +00:00
Mike Hommey 4dd20e86f3 Bug 1689526 - Use MOZHARNESS_TEST_PATHS for web platform tests for isolate_test action. r=taskgraph-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D103456
2021-01-29 12:11:24 +00:00
Mike Hommey c1515076ae Bug 1689467 - Allow mach commands in test package to use python 3. r=releng-reviewers,jmaher
Few mach commands require python 2 nowadays. It doesn't make sense to
error out anymore.

Differential Revision: https://phabricator.services.mozilla.com/D103448
2021-01-29 12:08:46 +00:00
Mike Hommey beb8f44609 Bug 1689467 - Use mozharness virtualenv python to run custom mach commands. r=releng-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D103447
2021-01-29 12:08:33 +00:00
Mike Hommey 1eb8a5a11a Bug 1689467 - Handle error log stream as bytes in isolate_test. r=taskgraph-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D103446
2021-01-29 13:00:58 +00:00
Mike Hommey 0a1823c2e4 Bug 1689467 - Add missing arguments to resolve_task_references in actions after bug 1641971. r=taskgraph-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D103445
2021-01-29 12:02:55 +00:00
Mike Hommey 88b97ce29a Bug 1686831 - Use double-conversion for mozilla::PrintfTarget::cvt_f. r=nika
This makes mozilla::PrintfTarget consistent across all locales (not
printing e.g. "," instead of "." for the decimal point in floats in some
locales)

This implementation passes all the glibc tests in stdio-common/tfformat.c
except two tests because of the difference in how values like e.g 0.25 are
rounded. Printf in glibc and on MacOS, as well as Rust std::fmt, round to
nearest, ties to even. Double-conversion, as well as printf on Windows
and conversion functions in ECMAScript round to nearest, ties away from
zero.

The standard for printf says rounding is implementation-defined so
either way is technically correct.

Differential Revision: https://phabricator.services.mozilla.com/D102699
2021-01-29 04:25:54 +00:00
Mike Hommey 2b96dd066d Bug 1686831 - Allow double-conversion's ToFixed to handle ±DBL_MAX. r=nika
While at this point PrintfTarget doesn't use double-conversion, add a
test that it can (and thus will) handle the largest double output possible
with the default %f precision.

Differential Revision: https://phabricator.services.mozilla.com/D103431
2021-01-29 16:54:03 +00:00
Mike Hommey 504ef77af2 Bug 1686831 - Handle trailing zero removal in double-conversion. r=nika,jwalden,Gankra
Bug 608915 switched nsString::AppendFloat to double-conversion, while
handling trailing zero removal on its own. This can be made more
effectively when doing so in double-conversion itself, support for which
was merged upstream in https://github.com/google/double-conversion/pull/149.

This makes the used_exponential_notation outparam unnecessary.

Differential Revision: https://phabricator.services.mozilla.com/D102698
2021-01-29 04:25:53 +00:00
Mike Hommey 38fa1ea7bd Bug 1686831 - Add some more double formatting tests. r=nika
Patch sent upstream. https://sourceware.org/bugzilla/show_bug.cgi?id=27245

Differential Revision: https://phabricator.services.mozilla.com/D103135
2021-01-28 09:48:40 +00:00
Mike Hommey cc35b21767 Bug 1686831 - Update double-conversion to upstream revision bf46072. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D103134
2021-01-29 04:25:27 +00:00
Mike Hommey 63d408918e Bug 1686831 - Hook glibc printf tests in TestPrintf.cpp. r=nika,mhoye
It is worth noting that some of these tests fail on Windows for rounding
difference reasons (see later commit from this bug for more details),
and on both Windows and mac for differences in formatting for INFINITY
and NAN. All the tests pass on Linux (since the underlying printf is
currently glibc's).

Differential Revision: https://phabricator.services.mozilla.com/D103133
2021-01-29 06:05:45 +00:00
Mike Hommey c90777d4bf Bug 1686831 - Still apply fillers when no numbers are printed. r=Gankra
The standard for printf says that for integers, the result of converting
zero with an explicit precision of zero shall be no characters. But
flags and width still need to apply.

Differential Revision: https://phabricator.services.mozilla.com/D102696
2021-01-28 09:48:50 +00:00
Mike Hommey 89da5c6b52 Bug 1686831 - Add support for %F and %G, and properly support %n$E. r=nika,Gankra
%F and %G are the same as %f and %g, but using caps for the exponent
indicator, and for "inf"/"nan" for infinity and NaN.

%n$E is the same as %E, but taking the nth argument.

Differential Revision: https://phabricator.services.mozilla.com/D102695
2021-01-28 09:48:43 +00:00
Mike Hommey 8cbd8f2b09 Bug 1686831 - Print out the expected and actual results when failing in TestPrintf. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D103132
2021-01-29 06:03:27 +00:00
Mike Hommey 6779b992a5 Bug 1686831 - Import glibc printf test cases verbatim. r=mhoye
Differential Revision: https://phabricator.services.mozilla.com/D103131
2021-01-28 09:48:53 +00:00
Eitan Isaacson ba6174e679 Bug 1688972 - Make FocusedChild work across document/process boundaries. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D103102
2021-01-29 20:57:30 +00:00
Narcis Beleuzu 78590ae20c Backed out 2 changesets (bug 1686395, bug 1686728) for conflicting with the backout of Bug 1683748 . CLOSED TREE
Backed out changeset 9765f1640853 (bug 1686728)
Backed out changeset 0f95f2b3ea92 (bug 1686395)
2021-01-29 22:44:30 +02:00
Tooru Fujisawa 54bf363355 Bug 1687428 - Part 37: Move getParserAtom into ParserAtomToPrintableString. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D102568
2021-01-29 19:43:29 +00:00
Tooru Fujisawa 08bfdc34d5 Bug 1687428 - Part 36: Remove CompilationState::getParserAtomAt. r=nbp
Because CompilationState.parserAtoms.getParserAtom provides the same thing,
removed CompilationState::getParserAtomAt.

Differential Revision: https://phabricator.services.mozilla.com/D102567
2021-01-29 19:43:23 +00:00