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

662952 Коммитов

Автор SHA1 Сообщение Дата
Gerald Squelart 6abdf8f681 Bug 1569458 - Use mMutex.AssertCurrentThreadOwns() in BlocksRingBuffer - r=gregtatum
This of course checks that the mutex is locked as expected in non-public APIs.
It also checks that user callbacks will not keep readers/writers longer than
they should.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 12:19:55 +00:00
Gerald Squelart d5ac2c3154 Bug 1569458 - Unify Base Profiler mutexes into one class - r=gregtatum
`BaeProfilerMutex` is a concrete mutex based on MutexImpl, which was previously
implemented twice in both platform.h and BlocksRingBuffer.h.
This combined mutex has some DEBUG code (when MOZ_BASE_PROFILER is #defined) to
catch recursive locking, and to assert that the mutex is held (for code that
cannot easily use the "proof of lock" pattern; e.g., going through user-provided
callbacks).

This class needs to be public (because it is used in public headers), but is an
implementation detail, so it is located in a new header
"mozilla/BaseProfilerDetail.h" that will collect `mozilla::baseprofiler::detail`
code that may be useful to a few files in Base Profiler.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 12:19:54 +00:00
Gerald Squelart ce8cf3d633 Bug 1567861 - Fix BlocksRingBuffer::ClearBefore() with past-the-end BlockIndex - r=gregtatum
`ClearBefore()` with a past-the-end `BlockIndex` was calling `Clear()`, which
tried to take the lock again! Also we didn't return after that.
Fixed, and added corresponding test.

Also: Removed ambiguous "delete" word, now using more precise "destroy" or
"entry destructor".

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

--HG--
extra : moz-landing-system : lando
2019-07-30 07:24:20 +00:00
Timothy Nikkel b6d7658eb5 Bug 1570163. Fix uri for PlacesUtils.jsm. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D39980

--HG--
extra : moz-landing-system : lando
2019-07-30 22:37:14 +00:00
Daniel Varga cb2194298c Merge mozilla-central to autoland. On a CLOSED TREE
--HG--
extra : rebase_source : 0143886518bceb49b3541c96a2663e3ef42917b4
2019-07-31 00:56:42 +03:00
Daniel Varga 8e64ed723e Merge mozilla-inbound to mozilla-central. a=merge 2019-07-31 00:52:26 +03:00
Daniel Varga 62d568d70a Merge autoland to mozilla-central. a=merge 2019-07-31 00:49:14 +03:00
Kris Maglione 6081c2d9d8 Bug 1568035: Follow-up: Skip additional test with new shutdown leaks. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D39971

--HG--
extra : moz-landing-system : lando
2019-07-30 21:43:34 +00:00
Mike Hommey d5a633f2e9 Bug 1569887 - Use a fetch task artifact to get tup source. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D39849

--HG--
extra : moz-landing-system : lando
2019-07-30 16:39:20 +00:00
Mike Hommey 0e5de57dd0 Bug 1569887 - Use a fetch task artifact to get llvm-dsymutil source. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D39848

--HG--
extra : moz-landing-system : lando
2019-07-30 21:10:09 +00:00
Mike Hommey 506f421e75 Bug 1569887 - Use the fetch task artifacts for libdmg-hfsplus. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D39847

--HG--
extra : moz-landing-system : lando
2019-07-30 21:09:24 +00:00
Mike Hommey eab1179c45 Bug 1569887 - Use the fetch task artifacts for cctools-port/libtapi source. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D39846

--HG--
extra : moz-landing-system : lando
2019-07-30 21:08:01 +00:00
Bryce Van Dyk 029e8e9936 Bug 1566180 - Update Widevine fallback downloader to 4.10.1440.19. r=rhelmer
Update the fallback downloader to make sure it's in step with balrog rules.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 16:03:20 +00:00
James Graham d5479b6d88 Bug 1552309 - Avoid timing out with buggy behaviour in IndexedDB test, r=asuth
Ensure that the test returns a result in various error conditions
including databases not being defined, and databases() throwing an
exception. This avoids the test timing out as a failure mode and so
saves some runtime.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 15:54:56 +00:00
Dave Townsend b2dea19e2d Bug 1570019: Verify that nsContentUtils is initialized before calling into it. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D39895

--HG--
extra : moz-landing-system : lando
2019-07-30 15:51:17 +00:00
Tom Schuster 6bfc234bde Bug 1558915 - Use infallible nsIURI::SchemeIs in dom/base. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D39780

--HG--
extra : moz-landing-system : lando
2019-07-30 17:51:37 +00:00
Razvan Maries 4c09b6cf5f Merge autoland to mozilla-central a=merge 2019-07-30 18:25:57 +03:00
Mike Hommey 99390d1487 Bug 1569865 - Switch the llvm-dsymutil toolchain task to cloning the llvm-project repo. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D39837

--HG--
extra : moz-landing-system : lando
2019-07-30 13:43:08 +00:00
Mike Hommey 0b648ba79b Bug 1569075 - Rename FileAvoidWrite mode argument. r=chmanchester
It causes confusion because it's the mode used to _read_ the overwritten
file. Make that more obvious by renaming to `readmode`.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 21:03:12 +00:00
Emilio Cobos Álvarez 73a81d9f9a Bug 1569911 - followup: Update properties database since the order some structs are loaded changed.
MANUAL PUSH: orange
2019-07-30 14:16:48 +02:00
Andreea Pavel 7d0f8d18be Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2019-07-30 13:41:12 +03:00
Emilio Cobos Álvarez caf746c853 Bug 1569911 - Fix some issues when importing the previous patches in Gecko.
MANUAL PUSH: Manual cherry-pick of Servo code.
2019-07-30 12:25:12 +02:00
Simon Sapin ff58da4ccc Bug 1569911 - Servo: Generate apis.html and css-properties.json for docs as part of crates' build scripts. r=nox
… rather than as an extra step after `cargo doc`.
This helps always using the correct set of CSS properties
(for layout 2013 v.s. 2020).

Cherry-picked from: https://github.com/servo/servo/pull/23856
2019-07-30 12:24:10 +02:00
Simon Sapin df960afd6f Bug 1569911 - Stylo: replace product={gecko,servo} with engine={gecko,servo-2013,servo-2020}. r=emilio,nox
Renaming the variable helped make sure I looked at every use.

Cherry-picked from: https://github.com/servo/servo/pull/23856
2019-07-30 12:24:07 +02:00
Simon Sapin 5448b8c036 Bug 1569911 - Servo: Auto-generate CSSStyleDeclaration.webidl for CSS properties based on the style crate. r=nox
Cherry-picked from https://github.com/servo/servo/pull/23856
2019-07-30 12:23:51 +02:00
Nupur Baghel c356668e9c Bug 1569100 - Add GetCookies command and Cookies response types. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D39838

--HG--
extra : moz-landing-system : lando
2019-07-30 10:04:00 +00:00
Nupur Baghel 5c9e948681 Bug 1569100 - Add Cookie, Date types and AddCookie command to Marionette. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D39835

--HG--
extra : moz-landing-system : lando
2019-07-30 10:03:20 +00:00
Andreea Pavel 38c88cbf4b Merge mozilla-inbound to mozilla-central a=merge 2019-07-30 12:50:56 +03:00
Tom Schuster af8f619ad2 Bug 1558915 - Use infallible nsIURI::SchemeIs in dom/security. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D39779

--HG--
extra : moz-landing-system : lando
2019-07-30 07:23:18 +00:00
James Graham a20a043c9e Bug 1533048 - Improve wpt expectation ini error messages, r=ato
Currently we don't always give a useful message and in particular
don't always include the file and line number of the place where the
exception occured in order to give a clue about where the error might
be.

To fix this, if we get an error that isn't a ParseError, wrap it in a
ParseError to give the file and line. Also improve one error message.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 17:46:22 +00:00
ksenia 8f578bcca2 Bug 1568636 - Import WebCompat GoFaster 5.0.2 sources r=denschub,rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D39351

--HG--
rename : browser/extensions/webcompat/AboutCompat.jsm => browser/extensions/webcompat/about-compat/AboutCompat.jsm
rename : browser/extensions/webcompat/aboutCompat.css => browser/extensions/webcompat/about-compat/aboutCompat.css
rename : browser/extensions/webcompat/aboutCompat.html => browser/extensions/webcompat/about-compat/aboutCompat.html
rename : browser/extensions/webcompat/aboutCompat.js => browser/extensions/webcompat/about-compat/aboutCompat.js
rename : browser/extensions/webcompat/aboutPage.js => browser/extensions/webcompat/about-compat/aboutPage.js
rename : browser/extensions/webcompat/aboutPage.json => browser/extensions/webcompat/about-compat/aboutPage.json
rename : browser/extensions/webcompat/aboutPageProcessScript.js => browser/extensions/webcompat/about-compat/aboutPageProcessScript.js
rename : browser/extensions/webcompat/ua_overrides.js => browser/extensions/webcompat/data/ua_overrides.js
rename : browser/extensions/webcompat/aboutConfigPrefs.js => browser/extensions/webcompat/experiment-apis/aboutConfigPrefs.js
rename : browser/extensions/webcompat/aboutConfigPrefs.json => browser/extensions/webcompat/experiment-apis/aboutConfigPrefs.json
rename : browser/extensions/webcompat/injections/css/bug0000000-dummy-css-injection.css => browser/extensions/webcompat/injections/css/bug0000000-testbed-css-injection.css
rename : mobile/android/extensions/webcompat/injections/js/bug0000000-dummy-js-injection.js => browser/extensions/webcompat/injections/js/bug0000000-testbed-js-injection.js
rename : mobile/android/extensions/webcompat/AboutCompat.jsm => mobile/android/extensions/webcompat/about-compat/AboutCompat.jsm
rename : browser/extensions/webcompat/aboutCompat.css => mobile/android/extensions/webcompat/about-compat/aboutCompat.css
rename : mobile/android/extensions/webcompat/aboutCompat.html => mobile/android/extensions/webcompat/about-compat/aboutCompat.html
rename : mobile/android/extensions/webcompat/aboutCompat.js => mobile/android/extensions/webcompat/about-compat/aboutCompat.js
rename : mobile/android/extensions/webcompat/aboutPage.js => mobile/android/extensions/webcompat/about-compat/aboutPage.js
rename : browser/extensions/webcompat/aboutPage.json => mobile/android/extensions/webcompat/about-compat/aboutPage.json
rename : browser/extensions/webcompat/aboutPageProcessScript.js => mobile/android/extensions/webcompat/about-compat/aboutPageProcessScript.js
rename : mobile/android/extensions/webcompat/ua_overrides.js => mobile/android/extensions/webcompat/data/ua_overrides.js
rename : browser/extensions/webcompat/aboutConfigPrefs.js => mobile/android/extensions/webcompat/experiment-apis/aboutConfigPrefs.js
rename : browser/extensions/webcompat/aboutConfigPrefs.json => mobile/android/extensions/webcompat/experiment-apis/aboutConfigPrefs.json
rename : browser/extensions/webcompat/injections/css/bug0000000-dummy-css-injection.css => mobile/android/extensions/webcompat/injections/css/bug0000000-testbed-css-injection.css
rename : mobile/android/extensions/webcompat/injections/js/bug0000000-dummy-js-injection.js => mobile/android/extensions/webcompat/injections/js/bug0000000-testbed-js-injection.js
extra : moz-landing-system : lando
2019-07-30 17:07:40 +00:00
Marco Zehe 8f478ee1ea Bug 1569931 - Make the What's New contents panel a document for easier browsing for screen readers, r=andreio
This way, screen reader users can more easily browse all content provided by the What's New sections. Otherwise, only the buttons would be read, and screen reader users would have to use cumbersome navigation techniques to get to the rest of the contents.

This patch adds an WAI-ARIA role "document" to the container, which only changes screen reader behavior, but has otherwise no effect on styling or browser behavior.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 16:14:42 +00:00
Paul Adenot 834e954d9f Bug 1570015 - Fix test_waveShaperGain.html by placing the <pre> tag before the script. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D39893

--HG--
extra : moz-landing-system : lando
2019-07-30 16:41:15 +00:00
Bob Clary da772c8074 Bug 1569707 - [mozdevice 3.0.3] - Improve boot complete detection and ensure that the device state is reset after rebooting, r=gbrown.
Add internal method _wait_for_bootcompleted to wait until sys.boot_completed and dev.bootcomplate are set.
Add internal method _initialize_boot_state to encapsulate the steps required to initialize device state.
Make sure to set device state after rebooting.
Normalize optional arguments for _test_path calls.
Add verbose logging for shell_bool.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 18:03:27 +00:00
Nika Layzell d665121e07 Bug 1568517 - Assert embedder exists when creating subframe WindowGlobalParent, r=farre
This asserts that the embedder is always set soon enough that we don't run into
the situation which caused the null deref fixed by bug 1565489.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 14:45:47 +00:00
Axel Hecht e1751884d0 Bug 1569892, move in-progress fluent files to preview locations, r=johannh
Having these files in their final packaged locations creates problems when
we expose them to localizations.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 17:01:48 +00:00
Daniel Varga c7ecfc9e12 Backed out 9 changesets (bug 1387894) for wpt failures at /web-animations/timing-model/animations/finishing-an-animation.html on a CLOSED TREE
Backed out changeset 998582bf083d (bug 1387894)
Backed out changeset cd58aae7d47b (bug 1387894)
Backed out changeset a51919fb2062 (bug 1387894)
Backed out changeset ef7b589d751b (bug 1387894)
Backed out changeset 75c0249b594a (bug 1387894)
Backed out changeset 4a75f2556242 (bug 1387894)
Backed out changeset 0bff9ba4237c (bug 1387894)
Backed out changeset 80040c0a275e (bug 1387894)
Backed out changeset 02814f69872d (bug 1387894)
2019-07-30 21:05:59 +03:00
Jan de Mooij 2fd3bab4f7 Bug 1567438 part 13 - Modernize and simplify BaselineStackBuilder. r=tcampbell CLOSED TREE
Instead of storing both buffer_ and header_ we now store just header_ (as UniquePtr).

This also removes HeaderSize() and uses sizeof(BaselineBailoutInfo) directly.

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

--HG--
extra : histedit_source : 5966a423808ffceb9b4566b175724f2b7616a039
2019-07-30 17:22:12 +03:00
Jan de Mooij 67b29c0167 Bug 1567438 part 12 - Simplify type monitor code a bit and fix a now-stale comment. r=tcampbell,iain CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com//D38975

--HG--
extra : histedit_source : 997cde18298fbec1d5bb8d6e3162a6a49dbee139
2019-07-30 15:11:25 +03:00
Jan de Mooij e92a406d53 Bug 1567438 part 11 - Add GetResumePC, make pc and op variables in InitFromBailout const. r=tcampbell CLOSED TREE
Making variables in InitFromBailout immutable makes the code a lot easier to reason about.

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

--HG--
extra : histedit_source : 8b6756ea0c8caa2f934026807ef13a2fa03bc89a
2019-07-30 15:11:10 +03:00
Jan de Mooij 7b20db44d7 Bug 1567438 part 10 - Remove now-unnecessary AutoSuppressGC in FinishBailoutToBaseline. r=tcampbell CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com//D38869

--HG--
extra : histedit_source : 267155a5daa8aa307bee14f76b69210357a67559
2019-07-30 15:10:54 +03:00
Jan de Mooij 0e29f80930 Bug 1567438 part 9 - Modernize BaselineBailoutInfo. r=tcampbell CLOSED TREE
Use proper C++ constructors/destructors, use UniquePtr instead of js_free.

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

--HG--
extra : histedit_source : e4bbcde1cd0a3d8d523ad0e7dfa543af879ec4cf
2019-07-30 15:10:38 +03:00
Jan de Mooij 2daa53384a Bug 1567438 part 8 - Change Ion bailouts to resume in the interpreter instead of JIT. r=tcampbell CLOSED TREE
There will be more clean up in later patches.

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

--HG--
extra : histedit_source : 8d89fd848656af43e7dc1eae03c857d7cde6e559
2019-07-30 15:10:22 +03:00
Jan de Mooij 1be9c38c19 Bug 1567438 part 7 - Some BaselineFrame changes. r=tcampbell CLOSED TREE
This adds/changes some methods we need later on.

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

--HG--
extra : histedit_source : 62b72ad824ee4fa254e7bcfc2e6ecc6a68bcd54b
2019-07-30 15:10:07 +03:00
Tom Ritter b9ded6fecc Bug 1387894 - Followup: tabs to spaces for lint CLOSED TREE
--HG--
extra : histedit_source : 31c5a83ec635f39116fc58b69396a824880be233
2019-07-30 10:58:21 -05:00
Gabriel Luong cbfa9181e7 Bug 1569780 - Remove unused notificationBox reference in the inspector. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D39787

--HG--
extra : moz-landing-system : lando
2019-07-30 09:30:14 +00:00
Jan de Mooij b768b94143 Bug 1567438 part 6 - Save IC return offsets in interpreter code for IsIonInlinableOp ops. r=tcampbell,iain
We need this for interpreter bailouts for bailouts involving inlining.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 12:10:06 +00:00
Jan de Mooij d3397e90fe Bug 1567438 part 5 - Change IsIonInlinablePC to IsIonInlinableOp. r=tcampbell,iain
We need this for the next patch because we have a JSOp instead of a pc when
generating the interpreter. (In general it's nicer for functions to take a JSOp
instead of a PC because it can be used in strictly more contexts.)

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

--HG--
extra : moz-landing-system : lando
2019-07-30 12:09:51 +00:00
Jan de Mooij 4afa4e1369 Bug 1567438 part 4 - Don't set the frame's return value for noScriptRval scripts. r=tcampbell,iain
The old code happened to work for Baseline JIT bailouts because the JIT ignores
the return value slot for noScriptRval scripts, but when bailing out to the
interpreter we would have an optimized-out MagicValue in the return value slot
and get confused.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 12:09:34 +00:00
Jan de Mooij e8ac0f6abc Bug 1567438 part 3 - Don't skip JSOP_LOOPENTRY ops for prologue bailouts. r=tcampbell,iain
The old code happened to work but didn't really make sense and I ran into some assertion
failures with other changes. Later patches will clean this up more.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 12:09:18 +00:00