Commit Graph

676085 Commits

Author SHA1 Message Date
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
Dão Gottwald
786dcf2f6a Bug 1589923 - Strip https:// instead of http:// from URLs in the results view. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D49842

--HG--
extra : moz-landing-system : lando
2019-10-22 07:22:55 +00:00
Jon Coppeard
d1664d884b Bug 1589717 - Simplify GCVector::sweep and allow use with element types that don't have barriers r=sfink
We can simplify this method by using std::remove_if, which does the shifting down of removed elements for us. We just need to make sure all our wrapper classes support moving assignment.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 04:58:53 +00:00
Gerald Squelart
0e19d51a0a Bug 1583431 - Test "No Stack Sampling" feature - r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D49234

--HG--
extra : moz-landing-system : lando
2019-10-22 05:37:14 +00:00
Gerald Squelart
edd497462f Bug 1583431 - Don't wait for samples in marker-only tests - r=gregtatum,julienw
Since markers are stored directly into the buffer:
- We don't need to wait for a sampling run to collect them,
- No markers are left uncollected between the last sampling and the time we stop
  the profiler.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 05:37:07 +00:00
Gerald Squelart
d57761d32e Bug 1583431 - stopProfilerNowAndGetThreads doesn't wait for samples - r=julienw
`stopProfilerAndGetThreads()` waits until at least one sample appears in the
main thread, before capturing a profile and stopping the profiler.

`stopProfilerNowAndGetThreads()` does not wait; this should be useful in tests
that may not generate any samples (e.g., using the nostacksampling feature).

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

--HG--
extra : moz-landing-system : lando
2019-10-22 05:37:00 +00:00
Gerald Squelart
93254141e5 Bug 1583430 - Profiler popup feature "No Periodic Sampling" - r=julienw
Expose the Gecko Profiler feature "nostacksampling" as "No Periodic Sampling".

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

--HG--
extra : moz-landing-system : lando
2019-10-22 06:23:28 +00:00
Nicolas Chevobbe
f78c29194d Bug 1589301 - Migrate WalkerFront methods to async/await syntax. r=gl.
Differential Revision: https://phabricator.services.mozilla.com/D49720

--HG--
extra : moz-landing-system : lando
2019-10-22 06:14:36 +00:00
Bogdan Tara
8a63fc190b Backed out changeset 617d82c93a06 (bug 1590022) for test_fileapi_other.html & test_fileapi_other_worker.html failures CLOSED TREE 2019-10-22 09:34:29 +03:00
Andrea Marchesini
a9bf7f7b5d Bug 1588248 - XHR.send() on workers must throw an InvalidStateError if called during another xhr.send(), r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D49968

--HG--
extra : moz-landing-system : lando
2019-10-22 05:19:46 +00:00
Andrea Marchesini
e5b77e11f4 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 05:18:03 +00:00
Dão Gottwald
854a6bfecb Bug 1589836 - Add permanent search icon in front of the megabar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D49826

--HG--
extra : moz-landing-system : lando
2019-10-21 23:06:06 +00:00
Botond Ballo
7b80a2f886 Bug 1560770 - Don't use MobileViewportManager if we're not using APZ. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D50023

--HG--
extra : moz-landing-system : lando
2019-10-22 04:20:07 +00:00
Doug Thayer
cc57ad9bcb Bug 1587112 - Make asserts in StartupCache::LoadArchive explicit r=njn
There is no behavior change here - these asserts were previously being hit
inside the operator+ of RangedPtr, but this makes them explicit.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 03:15:18 +00:00
Neil Deakin
ca34a940cf Bug 1567175, add a test that verifies that a cross process iframe with a password field saves the password on submit and page navigation, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D49704

--HG--
extra : moz-landing-system : lando
2019-10-21 18:18:38 +00:00
Neil Deakin
fc3aa270bf Bug 1567175, enable some password manager tests in fission mode, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D47829

--HG--
extra : moz-landing-system : lando
2019-10-22 03:40:30 +00:00
Neil Deakin
72233596ff Bug 1567175, check opener that is used to determine which parent window to use for a password prompt in the parent process instead of in content, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D47828

--HG--
extra : moz-landing-system : lando
2019-10-21 18:18:22 +00:00
Neil Deakin
e00aa26593 Bug 1567175, move password manager event listener attachment from content framescript to LoginManagerChild, and use the current window instead of the top level window for the argument passed to DOMInputPasswordAdded, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D47826

--HG--
extra : moz-landing-system : lando
2019-10-21 20:26:21 +00:00
Neil Deakin
7410901165 Bug 1567175, support password manager in out of process iframes, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D47825

--HG--
extra : moz-landing-system : lando
2019-10-21 18:18:02 +00:00
Neil Deakin
7cbc074da1 Bug 1567175, rename LoginManagerContent to LoginManagerChild, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D47824

--HG--
rename : toolkit/components/passwordmgr/LoginManagerContent.jsm => toolkit/components/passwordmgr/LoginManagerChild.jsm
extra : moz-landing-system : lando
2019-10-21 18:17:50 +00:00
Neil Deakin
3302428083 Bug 1567175, make LoginManagerContent and LoginManagerParent JS classes,r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D47823

--HG--
extra : moz-landing-system : lando
2019-10-21 18:17:43 +00:00
shindli
c5df88ff8f Backed out changeset 87c82b01a388 (bug 1583859) for causing bustages in /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/RefPtr.h CLOSED TREE 2019-10-22 06:28:42 +03:00
Andrew Sutherland
f2143eb0b7 Bug 1583859 - ExecutionReadyPromise should not be exclusive. r=perry
Although many Clients API usages are inherently exclusive (a specific claim
or control request), the execution-ready promise is shared by all requests
to get the state of a client that is not yet execution ready.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 01:55:07 +00:00
Andrew Sutherland
4945715675 Bug 1589708 - Restore propagateUnregister as API to wipe registrations. r=perry
Owing to a lack of test coverage, the changes in bug 1469048 regressed our
de facto privacy/devtools API at nsIServiceWorkerManager.propagateUnregister
to no longer wipe the given registration.  The intent of that bug's changes
was to stop the now-moot propagation, but that particular intentional mis-use
of the API was missed.

This patch fixes the problem but maintains the parent-intercept behavior of
only calling ServiceWorkerRegistrar::UnregisterServiceWorker only once.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 01:48:37 +00:00
Emilio Cobos Álvarez
b0b21c6323 Bug 1590273 - Remove useless early-outs in nsStyle{Padding,Margin}::CalcDifference. r=hiro
Best-case they're redundant.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 02:34:20 +00:00
sotaro
26e474c3f9 Bug 1584511 - Handle Compositor session recreation when egl_window is re-created r=stransky
Differential Revision: https://phabricator.services.mozilla.com/D49380

--HG--
extra : moz-landing-system : lando
2019-10-18 08:20:30 +00:00
Ben Campbell
b47aa06ec3 Bug 1587630 - Fix test_json_cache_(good|broken).js under Thunderbird. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D48775

--HG--
extra : moz-landing-system : lando
2019-10-11 09:49:06 +00:00
Matthew Gregan
5c6b8467dd Bug 1590246 - Vendor Rust. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D50001

--HG--
extra : moz-landing-system : lando
2019-10-22 01:31:39 +00:00
Matthew Gregan
9638ad722c Bug 1590246 - Update audioipc to 8af8083a. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D50000

--HG--
extra : moz-landing-system : lando
2019-10-22 01:31:31 +00:00
Adam Holm
a89ec19e1b Bug 1572870 - Use bytecode interface classes BytecodeLocation and BytecodeIterator to encapsulate bytecode manipulation in VerifyGlobalNames. r=jandem
Replacing jsbytecode and pcToOffset with BytecodeLocation and BytecodeIterator.

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

--HG--
extra : moz-landing-system : lando
2019-10-21 02:02:17 +00:00
Adam Holm
9d71c3a8b8 Bug 1572504 - Use BytecodeLocation and BytecodeIterator in BytecodeAnalysis::init. r=mgaudet
Replacing uses of `jsbytecode` and `pcToOffset` with `BytecodeLocation` and `BytecodeIterator`

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

--HG--
extra : moz-landing-system : lando
2019-10-21 02:02:00 +00:00
Adam Holm
841bbc6095 Bug 1586030 - Fixed BytecodeIterator post-increment operator. r=mgaudet
Post-increment overload operator for BytecodeIterator class matches the operator for pre-increment in BytecodeIterator, meaning the implementation of post-increment is incorrect.

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

--HG--
extra : moz-landing-system : lando
2019-10-21 02:00:24 +00:00