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

662918 Коммитов

Автор SHA1 Сообщение Дата
Petru Lingurar 54ed625fc0 Bug 1568810 - Intersect platform TLS ciphers with our desired ones; r=nalexander
This would ensure we will not use ciphers not supported by the platform.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 15:55:46 +00:00
Dylan Roeh 1e945a8dd6 Bug 1553603 - Support "capture" attribute in Gecko and expose in GV. r=geckoview-reviewers,smaug,snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D38746

--HG--
extra : moz-landing-system : lando
2019-07-30 18:13:05 +00:00
Mathieu Leplatre 68a314f460 Bug 1569894 - Upgrade kinto-http-client.js to 4.7.3 r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D39852

--HG--
extra : moz-landing-system : lando
2019-07-30 13:32:45 +00:00
Liang-Heng Chen 77576f3961 Bug 1567896 - Part 2: test cases of control central; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D39499

--HG--
extra : moz-landing-system : lando
2019-07-30 11:53:37 +00:00
Liang-Heng Chen 6222ea5025 Bug 1567896 - Part 1: Implement social tracking protection info in control panel; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D39498

--HG--
extra : moz-landing-system : lando
2019-07-30 15:00:23 +00:00
Aaron Klotz db8a55f024 Bug 1569681: Part 3 - Update mfbt/Attributes.h with new MOZ_STATIC_LOCAL_CLASS macro; r=Ehsan
I did not add a separate macro for `MOZ_TRIVIAL_DTOR` as I could not really
think of a use case for it. Let me know if you prefer that I add it as a
distinct macro.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 18:51:11 +00:00
Aaron Klotz 20bd2d4b30 Bug 1569681: Part 2 - Add new clang-plugin tests for moz_static_local_class and moz_trivial_destructor attributes; r=Ehsan
These tests are based on `moz_global_class` and `moz_trivial_ctor_dtor` tests,
respectively, but adapted for the semantics of the new attributes.

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

--HG--
rename : build/clang-plugin/tests/TestGlobalClass.cpp => build/clang-plugin/tests/TestStaticLocalClass.cpp
rename : build/clang-plugin/tests/TestTrivialCtorDtor.cpp => build/clang-plugin/tests/TestTrivialDtor.cpp
extra : moz-landing-system : lando
2019-07-30 18:50:54 +00:00
Aaron Klotz b21e723d2e Bug 1569681: Part 1 - Add support for moz_static_local_class and moz_trivial_dtor to clang-plugin; r=Ehsan
This patch is in support of adding a variant of Static{Auto,Ref}Ptr for use as
static locals, taking advantage of C++11 "magic statics" such that we can lazily
initialize those variables in a thread-safe way.

In support of those classes, this patch adds two new attributes:

* `moz_static_local_class` to ensure that any instantiations of that class only
  occur as static local variables;
* `moz_trivial_dtor` to ensure that these classes do not implicitly call `atexit`
  and add a whole bunch of shutdown crap.

`moz_static_local_class` works similarly to `moz_global_class`, except that its
object must only instantiate as static locals.

`TrivialDtorChecker` is based on `TrivialCtorDtorChecker`, with the ctor-specific
bits removed.

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

--HG--
rename : build/clang-plugin/TrivialCtorDtorChecker.cpp => build/clang-plugin/TrivialDtorChecker.cpp
rename : build/clang-plugin/TrivialCtorDtorChecker.h => build/clang-plugin/TrivialDtorChecker.h
extra : moz-landing-system : lando
2019-07-30 18:50:52 +00:00
Maja Frydrychowicz bc4352b83c Bug 1569440 - [wptrunner] Remove unused process-handling code for running Firefox for Android; r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D39622

--HG--
extra : moz-landing-system : lando
2019-07-30 01:28:13 +00:00
Maja Frydrychowicz 8e15c4ae87 Bug 1569440 - [mozrunner] Empty the minidump directory instead of deleting it; r=gbrown
Other harness code intermittently complains if the directory is absent. Maybe this will help.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 16:55:19 +00:00
Maja Frydrychowicz 96e61238be Bug 1569440 - [mozrunner] Clean up stray temp directory; r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D39620

--HG--
extra : moz-landing-system : lando
2019-07-30 01:27:03 +00:00
Maja Frydrychowicz b368ec56ba Bug 1569440 - [mozdevice] Remove redundant except clause; r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D39619

--HG--
extra : moz-landing-system : lando
2019-07-30 01:59:45 +00:00
Maja Frydrychowicz 14e9dd3c9e Bug 1569440 - [mozrunner] Set MOZ_IN_AUTOMATION when running on Android; r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D39616

--HG--
extra : moz-landing-system : lando
2019-07-30 01:59:45 +00:00
Maja Frydrychowicz dd38d2d8d2 Bug 1569440 - [wptrunner] Provide test name during crash checks on Android; r=jgraham
This changes the logging from
"PROCESS-CRASH | mozrunner-startup | application crashed" to
"PROCESS-CRASH | path/to/test | application crashed"

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

--HG--
extra : moz-landing-system : lando
2019-07-30 01:26:21 +00:00
Maja Frydrychowicz 2b9bdaaf17 Bug 1569440 - [mozrunner] Log when minidumps directory does not exist on device; r=gbrown
The missing directory seems to happens ~20 or so times per test run. I hope this
can help with investigations.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 16:19:03 +00:00
Maja Frydrychowicz 0a6568a4c0 Bug 1569440 - [wptrunner] Remove dead leak-check code for firefox_android; r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D39612

--HG--
extra : moz-landing-system : lando
2019-07-30 01:25:54 +00:00
Andreas Pehrson 8b83b379b2 Bug 1561254 - Clean up tracks after each gUM request in MediaDevices-getUserMedia. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D37693

--HG--
extra : moz-landing-system : lando
2019-07-30 13:43:15 +00:00
Andreas Pehrson 10202bfc64 Bug 1561254 - Support groupId in constraints. r=achronop,jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D37692

--HG--
extra : moz-landing-system : lando
2019-07-30 16:28:44 +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
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
Jan de Mooij ebc9432365 Bug 1567438 part 2 - Clean up environment chain and prologue bailout handling. r=tcampbell,iain
We now always set the frame's environment chain to a non-null value and have
an explicit isPrologueBailout flag instead of relying on envChain == nullptr.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 12:09:02 +00:00
Jan de Mooij 8d4b54ac29 Bug 1567438 part 1 - Replace the enter-monitor-chain bailout code with type monitoring in C++. r=tcampbell,iain
When we resumeAfter a JOF_TYPESET op, we had code to enter the type monitor
chain for the bailing op, passing it the top stack value. It's simpler to do
this monitoring in C++ in FinishBailoutToBaseline and then treat it as a regular
resumeAfter bailout.

The code for this will be simplified more later in the stack.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 12:08:48 +00:00
Tom Ritter c5687cede9 Bug 1387894 - Disable unconditional clamping for two CSS tests r=birtles
We're hitting double imprecision here.

Example: Given 86.68392200000000 and 86.67999999999999 we want to see
if they're equal with two significant digits. (They are, they're 86.68)

However, when we reduce them, 86.68 (which is represented as an epislon lower)
gets reduced to 86.66 and they no longer match. We disable unconditional clamping
on these tests to confirm they behave the way they shoud... excepting the clamping
which may introduce imprecision.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 15:12:39 +00:00
Tom Ritter 01b3eb5924 Bug 1387894 - Remove expected failure from Event-timestamp-safe-resolution.html r=smaug
Hey, we fixed it!

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

--HG--
extra : moz-landing-system : lando
2019-07-30 15:12:30 +00:00
Tom Ritter 72e4e57aea Bug 1387894 - Fix animation WPTs r=birtles,jgraham
I believe these intermittents are caused by double imprecision. When unconditional clamping is enabled
it gets multiplied out and causes animation.currentTime to occasionally go to 50000.02 which causes
the test to fail. We can reduce the precision back down to ignore that. We do so using some WPT
overrides.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 15:12:17 +00:00
Tom Ritter 48c645ebf2 Bug 1387894 - Fix browser_animation_setCurrentTime.js for unconditional clamping r=birtles
This has to do with double imprecision. The test originally had toPrecision(6) to
account for this imprecision. It'd round up 499.9999 into 500. When we send
double(500) (which is an epsilon below 500) into ReduceTimePrecision we wind up
coming out with 499.98. By reducing our precision requirement in this test
we can handle that and round 499.98 back up to 500

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

--HG--
extra : moz-landing-system : lando
2019-07-30 15:12:08 +00:00