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

631906 Коммитов

Автор SHA1 Сообщение Дата
alwu 2e0847eade Bug 1520663 - enable blocking autoplay with user-gesture-activation model on Fennec. r=cpearce
Differential Revision: https://phabricator.services.mozilla.com/D16773

--HG--
extra : moz-landing-system : lando
2019-01-17 22:24:37 +00:00
Bobby Holley bad6a4b15e Bug 1520678 - Rename the *Resource* types to be more clearly about interning. r=kamidphish
Depends on D16781

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

--HG--
extra : moz-landing-system : lando
2019-01-18 00:40:44 +00:00
Bobby Holley 1cc37c6e8c Bug 1520678 - Simplify naming of interner and data_store instances. r=kamidphish
Depends on D16780

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

--HG--
extra : moz-landing-system : lando
2019-01-18 00:45:13 +00:00
Bobby Holley f5b664ed7e Bug 1520678 - Use macros to reduce boilerplate. r=kamidphish
Depends on D16779

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

--HG--
extra : moz-landing-system : lando
2019-01-18 00:45:27 +00:00
Bobby Holley 9dd944fbdf Bug 1520678 - Declare intern-related types in a structured way. r=kamidphish
Differential Revision: https://phabricator.services.mozilla.com/D16779

--HG--
extra : moz-landing-system : lando
2019-01-18 00:39:24 +00:00
Emilio Cobos Álvarez 15a7133a82 Bug 1519371 - Reframe less as a result of UpdateContainingBlock. r=dholbert
This patch should make the detection of whether we should reframe in
UpdateContainingBlock exact.

It should have no behavior change, but sometimes reframing can confuse event
handling code or what not.

We don't have a reduced test-case for the event handling regression this fixes,
but I added a test to ensure we don't uselessly reframe in this case that fails
without this patch and passes with.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 21:00:34 +00:00
Daisuke Akatsuka 06ee3265cb Bug 1495944: Add a test for shortcut keys on about:devtools-toolbox page. r=jdescottes
Depends on D16687

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

--HG--
extra : moz-landing-system : lando
2019-01-18 00:38:49 +00:00
Daisuke Akatsuka ce94665632 Bug 1495944: Add a test for context menu in about:devtools-toolbox. r=jdescottes
Depends on D16686

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

--HG--
extra : moz-landing-system : lando
2019-01-17 07:07:57 +00:00
Daisuke Akatsuka 929822ed7f Bug 1495944: Add a test whether the menu items that open inspector was hidden. r=jdescottes
Depends on D16685

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

--HG--
extra : moz-landing-system : lando
2019-01-17 07:03:44 +00:00
Daisuke Akatsuka d6c3c7678a Bug 1495944: Show/Hide 'Inspect Element' item in content context menu. r=jdescottes
This patch removes "Inspect Element" menu item from content context menu in
case that about:devtools-toolbox are opening.
However, we may be able to remove after fixing 1515265.

Depends on D16684

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

--HG--
extra : moz-landing-system : lando
2019-01-17 06:59:17 +00:00
Daisuke Akatsuka ee25d8e1be Bug 1495944: Enable/Disable devtools menu items and the shortcut key. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D16684

--HG--
extra : moz-landing-system : lando
2019-01-17 23:12:29 +00:00
Wes Kocher 7ffc8384e7 Bug 1485386 - Move feature-enabling preferences out of unittest/user.js into a separate file r=ahal
The unittest/user.js file contained a mix of preferences that ensure tests can run (switching web services to dummy servers to prevent hitting networks, etc) and preferences that enable features that aren't shipping by default (turning on touch events, enabling experimental css features, etc).

In the future, we're going to want to run tests of only the features that are being shipped in release builds (or in beta builds, or in esr builds, etc), so we need to move feature-enabling preferences into a different file to make it possible to run tests with various sets of features enabled.

This commit just moves feature-enabling prefs into a new file and then includes that file everywhere unittest prefs were already being included, so it should have no functional difference in the set of preferences being set in test runs. It also renames  the unittest profile to clarify its purpose, and adds pointers to each profile from the other, and adds comments explaining what they're used for.

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

--HG--
rename : testing/profiles/unittest/extensions/README.txt => testing/profiles/unittest-features/extensions/README.txt
rename : testing/profiles/unittest/extensions/README.txt => testing/profiles/unittest-required/extensions/README.txt
rename : testing/profiles/unittest/user.js => testing/profiles/unittest-required/user.js
extra : moz-landing-system : lando
2019-01-18 00:35:43 +00:00
Aaron Klotz ce3866a774 Bug 1520537: Clean up use of LauncherRegistryInfo when MOZ_LAUNCHER_PROCESS is not defined; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D16914

--HG--
extra : moz-landing-system : lando
2019-01-17 23:45:37 +00:00
Bogdan Tara 45f056b544 Backed out changeset a0be6d91b302 (bug 1502921) for toolkit/components/telemetry/tests/unit/*(eg. test_SubsessionChaining.js, test_TelemetryController.js) failures CLOSED TREE 2019-01-18 01:43:52 +02:00
Bogdan Tara cc6a6c8063 Backed out changeset f57051371bf0 (bug 1517641) for apilint bustage CLOSED TREE 2019-01-18 01:30:58 +02:00
Eugen Sawin 5114dc76d2 Bug 1517641 - [1.0] Add experimental ad-blocking category to the Tracking Protection API. r=snorp,geckoview-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D16700

--HG--
extra : moz-landing-system : lando
2019-01-17 23:06:55 +00:00
Michael Kaply 4b7040c7b5 Bug 1506950 - Properly block mozAddonManager based on xpinstall.enabled r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D11806

--HG--
extra : moz-landing-system : lando
2019-01-17 23:04:18 +00:00
Jonathan Kingston c3cdc8746c Bug 1520862 - Fixing WebNavigation serialization of principals to always be present. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D16884

--HG--
extra : moz-landing-system : lando
2019-01-17 18:50:40 +00:00
Jeff Muizelaar c87a6c66d7 Bug 1520651. Use a DataMutex around mWindowInfos instead of a standalone Mutex. r=mattwoodrow
This ensures that access is locked.

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

--HG--
extra : moz-landing-system : lando
2019-01-16 23:25:35 +00:00
Varun Dey ef0ef45dff Fix Bug 1419109 - Empty default icon shows blank icon in toolbar r=mixedpuppy
If the extension had either default_icon or one of it's property as an empty string, it would show a black icon in the toolbar. With this patch, it checks if any of default_icon property is empty and throws an error on extension load.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 18:52:00 +00:00
Dimi Lee fb9287376a Bug 1501974 - Add keyed telemetry to know the download protection remote lookup result . r=francois
Add APPLICATION_REPUTATION_SERVER_VERDICT_2 telemetry with file extension as the key.
This can give us an idea about the current detecion rate for archived
files.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 20:39:53 +00:00
Dimi Lee 632a821b8a Bug 1501458 - Remove unused tracking protection code from nsUrlClassifierDBService. r=baku
No one is using the aUseTrackingProtection parameter and also tracking
protection related preference in Classify API. And we shouldn't use it
that way in the future.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 21:24:43 +00:00
Mike Hommey 23edf37ef7 Bug 1520149 - Also disable the machine outliner on Android when LTO is enabled. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D16790

--HG--
extra : moz-landing-system : lando
2019-01-17 13:18:37 +00:00
Csoregi Natalia 184a7aae44 Merge mozilla-central to autoland. CLOSED TREE 2019-01-17 23:57:04 +02:00
Csoregi Natalia a56ec21b2b Merge inbound to mozilla-central. a=merge 2019-01-17 23:54:34 +02:00
Mats Palmgren e11d61d0d9 Bug 1520236 - [css-logical] Implement the border-{block,inline}-{color,style,width} shorthands. r=emilio 2019-01-17 20:02:41 +01:00
Mike Hommey c98dd02e0b Bug 1520681 - Use proper defaults for --enable-default-toolkit. r=froydnj
Back when those were added, option defaults could not indirectly depend
on `target` or `host`, but that changed with bug 1322025.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 16:04:29 +00:00
Mike Hommey 622e7208be Bug 1520393 - Use proper defaults for --enable-jemalloc and --enable-replace-malloc. r=nalexander
Back when those were added, option defaults could not indirectly depend
on `target` or `host`, but that changed with bug 1322025.

As a side effect, this allows to turn them into straight js_options
without resorting to the manual add_old_configure_arg.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 21:52:01 +00:00
Matt Brubeck f659fdfbdf Bug 1510705 - Fix infinite loop in tests waiting for pending callbacks. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D16733

--HG--
extra : moz-landing-system : lando
2019-01-17 19:14:06 +00:00
Mike Hommey 1e8669d97c Bug 1520718 - In python configure, fix `when` in `option`. r=nalexander
Make option(..., when='--foo') equivalent to
option(..., when=depends('--foo')(lambda x: x)).

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

--HG--
extra : moz-landing-system : lando
2019-01-17 17:04:06 +00:00
Nick Alexander 3036f1ed4d Bug 1477487 - Part 3: Make |mach bootstrap| for Android install Rust toolchains. r=agi
Differential Revision: https://phabricator.services.mozilla.com/D16139

--HG--
extra : moz-landing-system : lando
2019-01-17 21:31:12 +00:00
Nick Alexander aa8a7a854c Bug 1477487 - Part 2: Make |mach bootstrap| for Android recommend toolchain clang and lld. r=agi,froydnj,#firefox-build-system-reviewers
We're seeing all sorts of problems with the NDK toolchain compilers
and the various versions of the NDK.  In automation we build with r17b
and our own toolchain clang; let's try to standardize on that.

This patch is ugly because of the evolution of mozboot.  Long ago, we
passed arguments around and interpolated strings into function names
rather than setting members with the application name and whether
we're in artifact mode.  The places I needed to modify didn't have the
right data at the right time so I added it to the bootstrap instance.
I don't have the time or energy to use the instance variables
through-out: that'll have to be future follow-up.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 21:30:49 +00:00
Nick Alexander 57c01fa819 Bug 1477487 - Part 1: Look for java and pin to Java 1.8 in |mach bootstrap|; r=agi
What is happening is that distribution JRE and JDK packages roll
forward, installing a different version of Java than what is expected.
We don't check the version installed, so sadness ensues.

Right now, we require Java 1.8 to build, but in the near future, after
Android-Gradle plugin 3.2.1+, we'll be free to use later Java
versions.

However, Android's `sdkmanager` itself requires exactly Java 1.8.  We
only require `sdkmanager` to install `emulator`, really -- everything
else will be fetched by Gradle -- but I don't want to unravel that
right now.

So let's just provide decent error messages and try to prevent the
worst of the footguns.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 21:30:29 +00:00
Nick Alexander 2a42763c8f Bug 1477487 - Part 0: Make GeckoView more prominent in |mach bootstrap|. r=agi
This is part of the larger shift toward GeckoView and away from
Firefox for Android.  We need GV to "show up" in these kind of
onboarding tools; here's a small first step.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 21:30:06 +00:00
Nick Alexander 35758fd122 Bug 1477487 - Pre: Bump Android SDK version. r=agi
Just hygiene, no reason to lag, no reason to expect changes.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 21:29:40 +00:00
Nick Alexander 2ac1dba7f9 Bug 1477487 - Pre: Don't require outdated packages. r=agi
These are downloaded from maven.google.com by Gradle now.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 21:29:15 +00:00
Ed Lee 5b0fc0c297 Bug 1520691 - Add Discovery components, search polish and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D16784

--HG--
extra : moz-landing-system : lando
2019-01-17 20:53:45 +00:00
Bogdan Tara 49bf435109 Backed out changeset ee03992cef6e (bug 1519762) for test_ext_downloads_search.js failures CLOSED TREE 2019-01-17 23:28:34 +02:00
Mark Striemer d1493d05da Bug 1502921 - Record telemetry environment data about locales r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D15990

--HG--
extra : moz-landing-system : lando
2019-01-17 21:09:03 +00:00
Jim Blandy 1c20a968ad Bug 1516514: Clear the hasCachedSavedFrame bit on frames on compartment mismatch. r=jorendorff
The code that manages the LiveSavedFrameCache would very much like to assert
that, if a frame has its hasCachedSavedFrame bit set, then it actually does have
an entry in the LiveSavedFrameCache. However, in the presence of compartment
mismatches, this becomes temporarily untrue, and OOMs can make 'temporarily'
longer than expected.

This patch more aggressively clears frames' hasCachedSavedFrame bits, so that
when we do purge the cache for a compartment mismatch, all frames get their bits
cleared before we start repopulating the cache.

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

--HG--
extra : moz-landing-system : lando
2019-01-17 21:09:04 +00:00
Stefan Hindli 3cc58d362f Bug 1512741 - disable test_ext_userScripts.js on Android debug for frequent failures. r=jmaher 2019-01-17 08:59:00 +02:00
Paolo Amadini 07b92644f8 Bug 1520743 - Request longer timeout for "about:config" tests. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D16821

--HG--
extra : rebase_source : 6ff0c06cfcf63883863366734a3329cb803e1917
2019-01-17 13:08:53 +00:00
Paolo Amadini 7a5bf28760 Bug 1520829 - Fix the sticky positioning of the search field. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D16865

--HG--
extra : rebase_source : fa1cf4d4d37f7fb56c622de100f95ca63a95ac4e
2019-01-17 16:26:38 +00:00
Mihai Tabara 37b4b88da1 Bug 1518236: Update WNP with locales for 65; r=flod a=whats-new 2019-01-17 16:39:02 +00:00
shindli 61be1145c0 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-17 18:19:22 +02:00
shindli a2bd3a1afa Merge inbound to mozilla-central. a=merge 2019-01-17 18:13:41 +02:00
Gabriel Luong a5f46f0927 Bug 1520389 - Implement the selector highlighter in the new rules view. r=rcaliman 2019-01-17 10:29:38 -05:00
David Burns e42f7abbcf No Bug: Remove references to #ateam from documents. DONTBUILD r=me
--HG--
extra : rebase_source : 84b0287d5dec5412b7fea921950a90ccb50d4c58
2019-01-17 13:00:50 +00:00
Andrea Marchesini 91431779d9 Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi 2019-01-17 12:30:27 +01:00
Marco Bonardo de59370b24 Bug 1514780 - Use the Quantum Bar tokenizer in UnifiedComplete. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D16676

--HG--
extra : moz-landing-system : lando
2019-01-17 11:26:29 +00:00