Commit Graph

642691 Commits

Author SHA1 Message Date
Alastor Wu
bbb2e64dde Bug 1524065 - part1 : implement the way to resume delayed autoplay media via browsing context. r=farre
After enable Fission, we're not able to resume media in the different process, because the current way we use can only notify one process and would cause the media on other process can't be resumed.

Therefore, we should use the browsing context to notify the web content which might be on different processes.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 03:15:36 +00:00
Barret Rennie
d1cbdf8699 Bug 1536466 - Fix nsTDependentString with non-null-terminated buffer assertion r=bholley
`gecko_profiler_add_text_marker` was being passed a character pointer and a
length to construct a `nsDependentCString`. However, these values were coming
from a Rust `&str`, which is not null-terminated, causing an debug assertion to
be hit (and possible memory safety issues if mishandle the string). We now
construct an `nsDependentCSubstring` instead.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 23:51:22 +00:00
Edwin Gao
6ca73c42a3 Bug 1536573 - disable manifest toolkit/content/tests/browser/browser.ini for windows10-aarch64 r=jmaher
Disable the entire manifest file `toolkit/content/tests/browser/browser.ini` that deals with audio playback tests for windows10-aarch64.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 05:18:23 +00:00
Andreea Pavel
dd962029e9 Backed out 2 changesets (bug 676268) for failing android checkstyle
Backed out changeset 85d03febdb70 (bug 676268)
Backed out changeset cfa2c6443a6d (bug 676268)

--HG--
extra : rebase_source : 603eb3f1d13a11a98e2f92c3fc41c92d408cec6d
2019-03-20 07:16:34 +02:00
Edwin Gao
bd038cd9fe Bug 1536729 - disable browser_screenshots_cropping.js for windows10-aarch64 r=MattN
Disable `browser_screenshots_cropping.js` due to constant failure of this test on windows10-aarch64.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 05:16:22 +00:00
Makoto Kato
7bbf5f37a7 Bug 676268 - Part 2. Use editor API instead of accessing clipboard directly r=geckoview-reviewers,snorp
Actually, Fennec accesses clipboard directly when using action bar. To allow
`text/html` mime type, we should use editor API instead.

Also, Fennec doesn't fire clipboard event for copy and cut since it doesn't
use editor API (or `cmd_*` command). So we will be fixed by using editor API.

GeckoView uses `cmd_*` command, so this doesn't occur on GV.

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

--HG--
extra : moz-landing-system : lando
2019-03-11 15:37:51 +00:00
Makoto Kato
61804ba4b3 Bug 676268 - Part 1. Support text/html on Android clipboard backend r=geckoview-reviewers,snorp
Actually, we only support `text/unicode` mime type on Android clipboard backend.  But Android API 16+ supports `text/html`, so we should support this type since Chrome/Blink already supports it.

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

--HG--
extra : moz-landing-system : lando
2019-03-11 15:35:54 +00:00
Matthew Noorenberghe
f934771efe Bug 936026 - Test autofilling logins in documents restored from bfcache. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D22213

--HG--
extra : moz-landing-system : lando
2019-03-18 19:43:47 +00:00
Matthew Noorenberghe
ff0e40a071 Bug 936026 - Autofill login forms after restoring documents from bfcache. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D22212

--HG--
extra : moz-landing-system : lando
2019-03-18 19:43:40 +00:00
Andrea Marchesini
1b6bfa6413 Bug 1536110 - StorageAccess should be propagated to workers, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D23861

--HG--
extra : moz-landing-system : lando
2019-03-20 01:06:33 +00:00
Andreea Pavel
69f980ffee Backed out 3 changesets (bug 1535507) wr failures e.g. line_1_wrapped_cue_grow_downwards.html on a CLOSED TREE
Backed out changeset 458563d6a69e (bug 1535507)
Backed out changeset 48726c586c4f (bug 1535507)
Backed out changeset 74d9f16af0bf (bug 1535507)
2019-03-20 03:32:51 +02:00
Daisuke Akatsuka
6b0440a87b Bug 1522062: Add a test for main process. r=ladybenko
Depends on D21695

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

--HG--
extra : moz-landing-system : lando
2019-03-20 00:48:49 +00:00
Julian Descottes
99d4969139 Bug 1522062 - Add Processes category to debug the main process on remote runtimes r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D21695

--HG--
extra : moz-landing-system : lando
2019-03-20 00:47:46 +00:00
Boris Chiou
267334cb8c Bug 1536392 - Disable multiple transform-like properties animation at 5s on GeckoView. r=hiro
If we have an animation with multiple transform-like properties, it
seems getOMTAStyle(transform) returns an empty string at 50% on
Android x86_64 opt with e10s, so we cannot pass this test case. We
temporarily disable this test case on this platform.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 00:12:50 +00:00
Dana Keeler
2cf1772b43 bug 1535851 - proactively check for mixed content in nsSecureBrowserUIImpl r=Ehsan
If nsSecureBrowserUIImpl::GetState is never called, it never checks for mixed
content (this can happen when loading a page from the BF cache). To ensure that
we properly set the security state (via OnLocationChange -> OnSecurityChange),
nsSecureBrowserUIImpl must check for mixed content more proactively.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 23:56:55 +00:00
Andreea Pavel
f7b09c8773 Backed out 2 changesets (bug 1524429) for build bustages at lint.py on a CLOSED TREE
Backed out changeset 7947b90f1580 (bug 1524429)
Backed out changeset 1a5a5aef01d5 (bug 1524429)
2019-03-20 02:16:41 +02:00
Jan-Ivar Bruaroey
f30f21c430 Bug 1335740 - Update wpt & mochitests to work w/[SecureContext] navigator.mediaDevices. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D20425

--HG--
rename : testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.html.ini => testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html.ini
rename : testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.html => testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html
extra : moz-landing-system : lando
2019-03-19 14:17:53 +00:00
Jan-Ivar Bruaroey
2958460ddc Bug 1335740 - getUserMedia() Add 2 prefs to control A) NotAllowedError in http (pref'd on), and B) [SecureContext] navigator.mediaDevices (pref'd off) r=bzbarsky,pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D19549

--HG--
rename : testing/web-platform/meta/mediacapture-streams/historical.html.ini => testing/web-platform/meta/mediacapture-streams/historical.https.html.ini
rename : testing/web-platform/tests/mediacapture-streams/historical.html => testing/web-platform/tests/mediacapture-streams/historical.https.html
extra : moz-landing-system : lando
2019-03-19 14:17:51 +00:00
Edwin Gao
0e56d58992 Bug 1536604 - disable manifest dom/media/test/mochitest.ini r=jmaher
Disable the following:

- test_MediaSource_flac_mp4 (keeps getting missed somehow)
- dom/media/test/mochitest.ini

Disabling the entire `dom/media/test/mochitest.ini` manifest file does have collateral damage in that it disables tests that are running fine; the alternative is to disable only the EME tests, but the failure count numbers somewhere close to 50.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 22:54:34 +00:00
Mike Shal
28e60232f7 Bug 632954 - Enable tests on Android PGO; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D22827

--HG--
extra : moz-landing-system : lando
2019-03-18 23:53:38 +00:00
Mike Shal
d07bfb450e Bug 632954 - Add final Android PGO task; r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D22826

--HG--
extra : moz-landing-system : lando
2019-03-18 23:53:31 +00:00
Mike Shal
de76c53a4e Bug 632954 - Add Android profile generation task; r=tomprince,gbrown
This introduces a mozharness script, android_emulator_pgo.py, to run the
profileserver suite with the PGO-instrumented Android build, and collect
the profile data and jarlog.

The mozharness script contains some redundancy with
build/pgo/profileserver.py, but the additional requirements for Android
to use adb and existing mozharness classes to control the emulator made
it difficult to share the desktop profileserver implementation.

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

--HG--
extra : moz-landing-system : lando
2019-03-18 23:53:29 +00:00
Mike Shal
9a90619e08 Bug 632954 - Add Android PGO-instrumented build task; r=tomprince
This is the first stage of the Android PGO task pipeline to generate an
instrumented build.

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

--HG--
extra : moz-landing-system : lando
2019-03-18 23:53:19 +00:00
Mike Shal
be5ed9b762 Bug 632954 - Ignore dashes in adb error messages; r=bc
The regex should match '-' characters as well as \w to properly trim the
error message if the device string contains a dash.

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

--HG--
extra : moz-landing-system : lando
2019-03-18 23:53:15 +00:00
Mike Shal
b63bf70e42 Bug 632954 - Add support for MOZHARNESS_OPTIONS to test-linux.sh; r=tomprince
The mozharness.py transform passes in "options" parameters through the
MOZHARNESS_OPTIONS environment variable. This will allow the Android PGO
run task to pass in the mozharness script name to test-linux.sh

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

--HG--
extra : moz-landing-system : lando
2019-03-18 23:53:06 +00:00
Mike Shal
3729df6ca6 Bug 632954 - Add execute bit to test-linux.sh; r=tomprince
In order to call test-linux.sh with the job-script parameter, it needs
to have executable permissions.

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

--HG--
extra : moz-landing-system : lando
2019-03-18 23:53:01 +00:00
Mike Shal
9b049d4cdf Bug 632954 - Explicitly set NEED_XVFB to false if need-xvfb isn't set; r=tomprince
test-linux.sh defaults to true for NEED_XVFB, while build-linux.sh
defaults to false. If we are using test-linux.sh from mozharness (rather
than mozharness-test), we need to explicitly set NEED_XVFB to false in
order to not use xvfb.

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

--HG--
extra : moz-landing-system : lando
2019-03-18 23:52:52 +00:00
Mike Shal
03cc695f08 Bug 632954 - Add Android PGO mozconfigs; r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D22819

--HG--
extra : moz-landing-system : lando
2019-03-18 23:52:43 +00:00
Mike Shal
21be2f5327 Bug 632954 - Allow passing in env to Fennec Marionette; r=gbrown
The Fennec process needs a few extra environment variables for PGO,
notably LLVM_PROFILE_FILE and MOZ_JAR_LOG_FILE to give the locations for
the profile run outputs. FennecInstance needs to pass the "env"
parameter on down so it can be used by DeviceRunner.

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

--HG--
extra : moz-landing-system : lando
2019-03-18 23:52:41 +00:00
Mike Shal
14770d9dbf Bug 632954 - Add an explicit __llvm_profile_dump() call for Android; r=snorp
When Android shuts down the ndk process, it doesn't call the registered
atexit() handlers, which is normally where the profile data gets written
to file. Since the PGO test suite closes the browser when it is
finished, the nativeRun routine can manually call out to
__llvm_profile_dump() before returning.

This method has a downside that only the profile data from the calling
library gets written out, rather than for the whole process. Since we
are most interested in optimizing libxul, a new hook is added in
Bootstrap to make sure we get the profile data for the right library.

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

--HG--
extra : moz-landing-system : lando
2019-03-18 23:52:31 +00:00
Mike Shal
5607f84fdf Bug 632954 - Add -Wno-error=backend-plugin to support Android PGO; r=glandium
Without this flag, Android PGO profile-use builds may fail with
"Function control flow change detected" errors.

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

--HG--
extra : moz-landing-system : lando
2019-03-18 23:52:22 +00:00
Andreea Pavel
2039ea418b Backed out changeset 1b8c42577e24 (bug 1535166) for build bustages on a CLOSED TREE
--HG--
rename : js/src/jit-test/tests/fields/basic.js => js/src/tests/non262/fields/basic.js
rename : js/src/jit-test/tests/fields/literal.js => js/src/tests/non262/fields/literal.js
rename : js/src/jit-test/tests/fields/mixed_methods.js => js/src/tests/non262/fields/mixed_methods.js
rename : js/src/jit-test/tests/fields/quirks.js => js/src/tests/non262/fields/quirks.js
2019-03-20 00:48:11 +02:00
Mike Hommey
80f7e86b2e Bug 1524429 - Move build/autoconf/arch.m4 to python configure. r=nalexander
The file is essentially limited to ARM flag tweaks, so we make the
corresponding python configure code ARM-only. In large parts, the
python code sets things up similarly, although in a few places we try to
be smarter about than the current autoconf-based code.

The resulting config.status have been verified to only have
insignificant differences on both arm and aarch64 android builds.

Depends on D24000

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

--HG--
extra : moz-landing-system : lando
2019-03-19 22:32:58 +00:00
Mike Hommey
fc262970ca Bug 1524429 - MOZ_ANDROID_CPU_ARCH doesn't need MOZ_ARCH. r=nalexander
It hasn't needed it since bug 1397776.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 17:09:41 +00:00
Ian Moody
167f623a3e Bug 1246594 - Enable ESLint rule no-throw-literal by default. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D24088

--HG--
extra : moz-landing-system : lando
2019-03-19 22:02:42 +00:00
Matt Woodrow
244c79d92a Bug 1535507 - Assume that we have an empty display list building override rect for frames that support it, even if an explicit one isn't present. r=miko
If the frame supports it (stacking context + containing block for fixed), and a descendant was
modified, we would have created an override dirty region with just the area of that descendant.
In the case where no descendants are modified, we should use an empty rect, rather than
the area inherited from our parent.

This fixes the case where we forcibly build position:fixed frames (since they might async
scroll differently to the rest of the page), but we only need to build the container item,
not the whole frame subtree within it.

Added a test that shows us building the non-intersecting position:fixed, but not items within it.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 22:24:36 +00:00
Matt Woodrow
38f1bc0d01 Bug 1535507 - Don't create new display items for InvalidateLayer, since only the Layer tree should need to change. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D23609

--HG--
extra : moz-landing-system : lando
2019-03-19 22:24:20 +00:00
Matt Woodrow
9146a4d43a Bug 1535507 - Don't force display item rebuilding for ActiveLayerTracker expiry, since we should only need to update the Layer tree. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D23608

--HG--
extra : moz-landing-system : lando
2019-03-19 22:24:02 +00:00
Micah Tigley
ab764ec7dc Bug 1487857 - Part I: Rearranging devices setting view to new design. r=gl,flod
This is part 1 of implementing the redesigned device settings panel. In this patch we are rearranging the existing device settings view to match the new design.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 18:59:24 +00:00
Andrew McCreight
cce04c17b8 Bug 1535453 - BrowsingContext does not need to inherit from LinkedListElement. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D23586

--HG--
extra : moz-landing-system : lando
2019-03-19 21:33:40 +00:00
Edwin Gao
dd607c2044 Bug 1536566 - disable dom/base/test/browser_timeout_throttling_with_audio_playback.js r=jmaher
Disable this test from `mochitest-browser-chrome`, possibly related to the wider audio/video issues in windows10-aarch64.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 19:45:02 +00:00
Nicholas Nethercote
8c151cc707 Bug 1535880 - Always check ReadValueFromPowerFile() return value. r=glandium
This makes RAPL abort with more informative error messages if certain
kernel-provided files aren't present.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 11:20:11 +00:00
Ashley Hauck
385b67babe Bug 1535166 - Implement computed field names. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D23408

--HG--
rename : js/src/tests/non262/fields/basic.js => js/src/jit-test/tests/fields/basic.js
rename : js/src/tests/non262/fields/literal.js => js/src/jit-test/tests/fields/literal.js
rename : js/src/tests/non262/fields/mixed_methods.js => js/src/jit-test/tests/fields/mixed_methods.js
rename : js/src/tests/non262/fields/quirks.js => js/src/jit-test/tests/fields/quirks.js
extra : moz-landing-system : lando
2019-03-19 20:23:03 +00:00
Gijs Kruitbosch
8fd9c89716 Bug 1536633 - add ellipsis to 'connect another device' string in FXA menu, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D24100

--HG--
extra : moz-landing-system : lando
2019-03-19 22:02:49 +00:00
Ashley Hauck
1b8972c224 Bug 1536495 - Omit loc property when told to omit it. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D24057

--HG--
extra : moz-landing-system : lando
2019-03-19 21:59:14 +00:00
Andreea Pavel
bcc65cb482 Backed out changeset 8d9b4e8dce57 (bug 1343014) for failing dt at rowser_device_width.js on a CLOSED TREE 2019-03-20 00:16:05 +02:00
Razvan Maries
84a87f5587 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-03-20 00:07:50 +02:00
Andreea Pavel
c3cd918c5c Backed out 2 changesets (bug 1429796) for failing xperf on a CLOSED TREE
Backed out changeset b0d08863f7a5 (bug 1429796)
Backed out changeset 1bd54f8dfd9e (bug 1429796)
2019-03-20 00:03:49 +02:00
Razvan Maries
7c20ad9250 Merge mozilla-inbound to mozilla-central a=merge 2019-03-19 23:54:04 +02:00
Emilio Cobos Álvarez
344ea4ee7c Bug 1516780 - fix rusttests by removing a now-unused declaration.
CLOSED TREE
2019-03-19 22:44:36 +01:00