Commit Graph

676066 Commits

Author SHA1 Message Date
Anthony Ramine
798c8f5953 Bug 1590081 - Properly guard spewing code with JS_JITSPEW; r=bbouvier
Differential Revision: https://phabricator.services.mozilla.com/D49899

--HG--
extra : moz-landing-system : lando
2019-10-22 11:55:35 +00:00
Anthony Ramine
6081633c9b Bug 1590081 - Include Zydis only if JS_JITSPEW is set; r=bbouvier
Differential Revision: https://phabricator.services.mozilla.com/D49898

--HG--
extra : moz-landing-system : lando
2019-10-22 11:56:02 +00:00
Anthony Ramine
d111b07a8a Bug 1590081 - Properly guard vtune includes with MOZ_VTUNE; r=bbouvier
Differential Revision: https://phabricator.services.mozilla.com/D49902

--HG--
extra : moz-landing-system : lando
2019-10-22 11:54:47 +00:00
Tom Tung
348747a1fa Bug 1582200 - P2 - Disable wpt test window-serviceworker-failure.https.html on Android; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D49738

--HG--
extra : moz-landing-system : lando
2019-10-22 12:00:15 +00:00
Tom Tung
b21840c618 Bug 1582200 - Enable wpt tests for enabling postMessage SAB; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D46579

--HG--
extra : moz-landing-system : lando
2019-10-22 12:00:15 +00:00
Andrea Marchesini
7c8a14a29d Bug 1590022 - Use union return value for FileReader.result, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D49876

--HG--
extra : moz-landing-system : lando
2019-10-22 11:53:18 +00:00
Nazım Can Altınova
809db7ead1 Bug 1587907 - Move test content inside the BrowserTestUtils.withNewTab function callback r=gregtatum
In Bug 1587907 we got some contentPid not found errors. It seemed like we were
failing intermittently at getting content pid. After moving test content inside
the BrowserTestUtils.withNewTab callback, we won't get the same error anymore.
Also from my testing, it looks like it makes the test execution faster. We were
getting some intermittents before because of the timeouts, these will be fixed
if my testing is correct.

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

--HG--
extra : moz-landing-system : lando
2019-10-21 16:43:31 +00:00
Andy Wingo
78f01e1de1 Bug 1585990 - Fix WebAssembly multi-value Ion codegen r=luke
Differential Revision: https://phabricator.services.mozilla.com/D48154

--HG--
extra : moz-landing-system : lando
2019-10-22 10:03:20 +00:00
fluks
686acfc93a Bug 1230453 - Add a hidden preference to change the number of folders in the recent list of the "bookmark this page" popup. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D43679

--HG--
extra : moz-landing-system : lando
2019-10-22 07:57:49 +00:00
Bogdan Tara
e1b6bc2222 Backed out changeset 8705284b50d4 (bug 1584993) for test_report_uri_missing_in_report_only_header.html failures CLOSED TREE 2019-10-22 13:25:49 +03:00
Kershaw Chang
08028daaf9 Bug 1588726 - Return NS_OK if IPC channel is closed r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D50033

--HG--
extra : moz-landing-system : lando
2019-10-22 09:16:46 +00:00
Jan de Mooij
29938be504 Bug 1590034 - Use MOZ_CRASH_UNSAFE in AutoEnterOOMUnsafeRegion::crash. r=jonco
This way the |reason| string will be available on crash-stats.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 07:09:46 +00:00
Dão Gottwald
55616a415e Bug 1590324 - Fix hardcoded messaging system font sizes. r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D50034

--HG--
extra : moz-landing-system : lando
2019-10-22 09:27:47 +00:00
John Dai
55f60cfb27 Bug 1543231 - Fix intermittent dom/html/test/test_bug1472426.html; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D49904

--HG--
extra : moz-landing-system : lando
2019-10-21 19:40:44 +00:00
André Bargull
a806d55e8c Bug 1583269 - Part 5: Updating ICU requires a clobber. r=jwalden
Depends on D49447

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

--HG--
extra : moz-landing-system : lando
2019-10-19 01:40:06 +00:00
André Bargull
9ff5de7a1b Bug 1583269 - Part 4: Update language tag mappings for CLDR 36. r=jwalden
Depends on D49445

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

--HG--
extra : moz-landing-system : lando
2019-10-19 01:39:59 +00:00
André Bargull
d2125e5768 Bug 1583269 - Part 3: Update tests after ICU update. r=jwalden
js/src/tests/jstests.list
- Enable now passing test262 tests.

non262/Intl/RelativeTimeFormat/format.js
- "minute" and "hour" are now supported in 'text' contexts for relative time formatting.
- Also see the now passing test262 tests.

non262/Intl/NumberFormat/currency-sign-accounting.js
non262/Intl/NumberFormat/sign-display.js
- Referenced ICU bug has been fixed in ICU 65.

non262/Intl/NumberFormat/notation-compact-short.js
- 万亿 is preferred over 兆 in mainland China; CLDR sources were updated accordingly.

non262/Intl/NumberFormat/notation-engineering.js
non262/Intl/NumberFormat/notation-scientific.js
- ICU removed "E0" suffix for non-finite numbers in engineering and scientific contexts.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 08:36:58 +00:00
André Bargull
e96ab7f00d Bug 1583269 - Part 2: Update in-tree ICU to release 65.1. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D49443

--HG--
rename : intl/icu/source/i18n/numparse_stringsegment.cpp => intl/icu/source/i18n/string_segment.cpp
rename : intl/icu/source/data/buildtool/__init__.py => intl/icu/source/python/icutools/databuilder/__init__.py
rename : intl/icu/source/data/buildtool/comment_stripper.py => intl/icu/source/python/icutools/databuilder/comment_stripper.py
rename : intl/icu/source/data/buildtool/locale_dependencies.py => intl/icu/source/python/icutools/databuilder/locale_dependencies.py
rename : intl/icu/source/data/buildtool/renderers/__init__.py => intl/icu/source/python/icutools/databuilder/renderers/__init__.py
rename : intl/icu/source/data/buildtool/renderers/makefile.py => intl/icu/source/python/icutools/databuilder/renderers/makefile.py
rename : intl/icu/source/data/buildtool/test/__init__.py => intl/icu/source/python/icutools/databuilder/test/__init__.py
rename : intl/icu/source/data/buildtool/test/__main__.py => intl/icu/source/python/icutools/databuilder/test/__main__.py
rename : intl/icu/source/data/buildtool/test/filtration_test.py => intl/icu/source/python/icutools/databuilder/test/filtration_test.py
extra : moz-landing-system : lando
2019-10-19 01:25:24 +00:00
André Bargull
da21d4fea0 Bug 1583269 - Part 1: Remove custom patch to add thread-safety to icu::TimeZone::adoptDefault. r=jwalden
The custom patch is no longer necessary now that <https://unicode-org.atlassian.net/browse/ICU-20595>
has been fixed. Also inline `icu::TimeZone::recreateDefault` into its sole caller and then remove
this API addition.

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

--HG--
extra : moz-landing-system : lando
2019-10-19 01:23:08 +00:00
Alphan Chen
f085f298dc Bug 1588778 - Enable dom/tests/mochitest/bugs/test_bug369306.html for fission debug build r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D49722

--HG--
extra : moz-landing-system : lando
2019-10-21 18:36:37 +00:00
Christoph Kerschbaumer
2d974555d2 Bug 1584993: Make CSP frame-ancestors work with fission enabled. r=jkt,farre,valentin
Differential Revision: https://phabricator.services.mozilla.com/D49147

--HG--
extra : moz-landing-system : lando
2019-10-22 08:53:47 +00:00
Tooru Fujisawa
0388f104fb Bug 1587678 - Part 3: Remove unnecessary JSContext* parameter. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D49565

--HG--
extra : moz-landing-system : lando
2019-10-22 08:56:13 +00:00
Tooru Fujisawa
9cfe0a749d Bug 1587678 - Part 2: Use FixedLengthVector when the size is known at the allocation. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D49564

--HG--
extra : moz-landing-system : lando
2019-10-22 08:34:26 +00:00
Tooru Fujisawa
27072461a3 Bug 1587678 - Part 1: Add FixedLengthVector. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D49563

--HG--
extra : moz-landing-system : lando
2019-10-22 08:33:58 +00:00
Tooru Fujisawa
013d0a1d89 Bug 1586975 - Part 3: Remove NaiveHuffmanTable and use GenericHuffmanTable instead. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D49562

--HG--
extra : moz-landing-system : lando
2019-10-22 08:33:36 +00:00
Tooru Fujisawa
e76f235216 Bug 1586975 - Part 2: Add TwoEntriesHuffmanTable. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D49561

--HG--
extra : moz-landing-system : lando
2019-10-22 08:56:06 +00:00
Tooru Fujisawa
df40e5be1e Bug 1586975 - Part 1: Making sure that we always call initWithSingleValue when we can. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D49560

--HG--
extra : moz-landing-system : lando
2019-10-22 08:53:24 +00:00
Julien Wajsberg
bed13567fb Bug 1589122 - Add a simple check to the xpcshell test r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D49646

--HG--
extra : moz-landing-system : lando
2019-10-22 08:14:07 +00:00
Julien Wajsberg
333cd53ceb Bug 1589122 - Rename some arguments from settings to prefs where appropriate r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D49645

--HG--
extra : moz-landing-system : lando
2019-10-22 08:14:00 +00:00
Julien Wajsberg
2ef21585f6 Bug 1589122 - Add and use functions to translate values between the stored preferences and the state r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D49644

--HG--
extra : moz-landing-system : lando
2019-10-22 08:13:58 +00:00
Julien Wajsberg
6ab2fdc4a0 Bug 1589122 - Add comments to the functions called when using the shortcut keys r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D49733

--HG--
extra : moz-landing-system : lando
2019-10-22 08:13:56 +00:00
Julien Wajsberg
75ff79ea60 Bug 1589122 - Fix the default interval in reducers r=canaltinova
This value isn't really used, nevertheless it's good to have it to the
right value for documentation reason and consistency.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 08:13:55 +00:00
Julien Wajsberg
2ca92e3b9a Bug 1589122 - Appropriately configure the default interval pref in microseconds r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D49642

--HG--
extra : moz-landing-system : lando
2019-10-22 08:13:47 +00:00
Julien Wajsberg
75f5c38006 Bug 1589122 - Rename getDefaultRecordingSettings to getDefaultRecordingPreferences r=canaltinova
This also renames various variables from "settings" to "preferences" to
make it clearer that the values are about actual preferences stored in
the user profile.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 08:13:46 +00:00
Valentin Gosu
982bdfbbbd Bug 1579992 - Load pages into new webCOOP+COEP process type r=nika
* This patch makes pages with the `OPENER_POLICY_SAME_ORIGIN_EMBEDDER_POLICY_REQUIRE_CORP` policy load into a special `webCOOP+COEP={pageOrigin}` remote type.
* Adds `E10SUtils.WEB_REMOTE_COOP_COEP_TYPE_PREFIX="webCOOP+COEP="`
* When a COOP process switch occurs and the target page doesn't have this policy, we pass a `preferredRemoteType="web"` into `E10SUtils.getRemoteTypeForPrincipal` ensuring that we correctly get a different `remoteType`
* E10SUtils.getRemoteTypeForPrincipal is changed such that `if preferredRemoteType.startsWith(WEB_REMOTE_COOP_COEP_TYPE_PREFIX)` we don't override it with `webIsolated={pageOrigin}`.
* `coop_header.sjs` is changed to also allow setting `Cross-Origin-Embedder-Policy` headers
* `browser_httpCrossOriginOpenerPolicy.js` is changed to test that pages are correctly opened in the correct remoteType process.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 08:02:16 +00:00
Yoshi Cheng-Hao Huang
5ea9756b16 Bug 1564136 - Part 9: relax assertion with gcMarking in CheckIsMarkedThing. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D49411

--HG--
extra : moz-landing-system : lando
2019-10-17 13:48:47 +00:00
Yoshi Cheng-Hao Huang
df851597dc Bug 1564136 - Part 8: call joinTask for recordParallelTimes. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D49410

--HG--
extra : moz-landing-system : lando
2019-10-17 13:47:52 +00:00
Yoshi Cheng-Hao Huang
68ffeaabd9 Bug 1564136 - Part 7: disable AutoPhase when running on GCParallelTask. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D44853

--HG--
extra : moz-landing-system : lando
2019-10-16 11:16:30 +00:00
Yoshi Cheng-Hao Huang
889a6e5730 Bug 1564136 - Part 6: join task when abortSweepAfterCurrentGroup is true. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D44857

--HG--
extra : moz-landing-system : lando
2019-10-16 11:16:28 +00:00
Yoshi Cheng-Hao Huang
ef514fea83 Bug 1564136 - Part 5: use TlsContext.get() in UnmarkGrayGCThing. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D45658

--HG--
extra : moz-landing-system : lando
2019-10-16 11:16:27 +00:00
Yoshi Cheng-Hao Huang
f3777e83ea Bug 1564136 - Part 4: AutoSetThreadIsMarking r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D45657

--HG--
extra : moz-landing-system : lando
2019-10-16 11:43:18 +00:00
Yoshi Cheng-Hao Huang
3d1ca726fd Bug 1564136 - Part 3: update assertions. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D46265

--HG--
extra : moz-landing-system : lando
2019-10-16 11:16:17 +00:00
Yoshi Cheng-Hao Huang
aa3c34867c Bug 1564136 - Part 2: data structures sharing. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D44854

--HG--
extra : moz-landing-system : lando
2019-10-16 11:16:15 +00:00
Yoshi Cheng-Hao Huang
152cb1f10f Bug 1564136 - Part 1: SweepMarkTask. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D44852

--HG--
extra : moz-landing-system : lando
2019-10-16 11:16:08 +00:00
Benjamin Bouvier
1455995c66 Bug 1590101: Update Baldrdash to latest Cranelift API; r=jseward
The function used to translate a function how requires a
ModuleTranslationState, which contains state collected after reading early
sections of a wasm module. Currently, this is only used in Cranelift for the
multi-value feature (to read block type signatures), so we can use a dummy
state that's shared across all functions.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 07:09:35 +00:00
Benjamin Bouvier
43a32ade76 Bug 1590101: Result of mach vendor rust; r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D49932

--HG--
extra : moz-landing-system : lando
2019-10-22 07:09:34 +00:00
Benjamin Bouvier
1997d0540a Bug 1590101: Bump Cranelift to da179e4fd83d49b7ad6c9f286b1ea04d4f64907e; r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D49931

--HG--
extra : moz-landing-system : lando
2019-10-22 07:09:34 +00:00
Benjamin Bouvier
0288829f7d Bug 1590083: Put the wasm block depth test into its own file; r=lth
On my (pretty powerful) machine, running binary.js takes 7 seconds before this
patch, 2.5 seconds after the patch. The slow test behaves even worse with
Cranelift, taking up to 20 seconds. Splitting this particular test in its own
test file makes it run in parallel and reduce overall time spent on binary.js.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 07:11:05 +00:00
Benjamin Bouvier
7f73b2f797 Bug 1590083: Disable wasm multi value with Cranelift; r=lth
Since wasm multi-value is enabled by default (without a shell switch), there
was no way to signal it was disabled in certain configurations, namely
Cranelift.

Instead, assume multi-value is enabled by default and disable it with
Cranelift, and store this information in the CompilerEnvironment so we can use
it when iterating on the wasm binary.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 07:11:05 +00:00
Tom Tung
03190f48a2 Bug 1587007 - Improve error messages for failing to serialize a shared memory object duo to COOP and COEP; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D48835

--HG--
extra : moz-landing-system : lando
2019-10-22 06:47:32 +00:00