Commit Graph

650187 Commits

Author SHA1 Message Date
Julien Cristau
cd18b00642 Bug 1548513 - fix bustage in ResizeObserver with diagnostic asserts disabled. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D29677

--HG--
extra : moz-landing-system : lando
2019-05-03 05:38:00 +00:00
Julien Cristau
e89c321210 Bug 1540911: configure whatsnew page for DevEdition 68. r=nthomas,tomprince
Differential Revision: https://phabricator.services.mozilla.com/D29794

--HG--
extra : moz-landing-system : lando
2019-05-03 05:18:07 +00:00
Masayuki Nakano
006066d2ee Bug 1546888 - Make editor public methods which may be canceled by clipboard event listener return NS_SUCCESS_DOM_NO_OPERATION when it's canceled r=m_kato
This patch makes editors return new error code internally when clipboard event
is dispatched and canceled by script.  This is for making each caller stop
handling the edit action.  However, it's not actual failure.  Therefore, making
public methods return `NS_SUCCESS_DOM_NO_OPERATION` instead via
`EditorBase::ToGenericNSResult()`.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 08:39:53 +00:00
Gurzau Raul
bf5404331b Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-03 07:22:56 +03:00
Gurzau Raul
b4e790d05f Merge inbound to mozilla-central. a=merge 2019-05-03 07:16:59 +03:00
Masayuki Nakano
ad65eafe7c Bug 1547869 - Make IsCommandEnabled() of HTML editor command classes return false if given editor is TextEditor r=smaug
Currently, this bug does not occur actually because nobody has not accessed
these command classes directly and they are registered only in command table
for HTML editor.  However, once rewriting `nsHTMLDocument::ExecCommand()` with
these classes, its `IsCommandEnabled()` should return false if given editor
is `TextEditor`.  The reason why we need this fix is, when we make
`ExecCommand()` call `IsCommandEnabled()` and it returns `true`, `ExecCommand()`
needs to call `DoCommand()`.  Then, it throws exception if given editor is not
an `HTMLEditor` but the command class is only for `HTMLEditor`.

This patch adds new WPT for testing whether `document.execCommand()` works
with `<input>` and `<textarea>`.  The behavior has not been standardized, but
Chromium handles some commands even in it.  So, I write the expectations from
the point of view of web developers.  (Chrome fails in "cut", "copy" and
"removeformat" cases.)

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

--HG--
extra : moz-landing-system : lando
2019-05-03 02:15:18 +00:00
Csoregi Natalia
265d1c1b45 Backed out changeset 6159d01c9341 (bug 1540984) for assertion failures on Allocator.cpp:157. 2019-05-03 03:38:48 +03:00
Bogdan Tara
6d06f3decd Backed out 5 changesets (bug 1546138) for WasmTypes.h related spidermonkey builds bustages
Backed out changeset f9d1ae270d58 (bug 1546138)
Backed out changeset 094145132b7f (bug 1546138)
Backed out changeset 9f78bcde2e81 (bug 1546138)
Backed out changeset 54beb5e36110 (bug 1546138)
Backed out changeset 2b42fdbc6f6b (bug 1546138)
2019-05-03 02:28:05 +03:00
Myk Melez
bfe7c7e0b4 Bug 1547877 - enable configuration of new cert storage implementation r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D29306

--HG--
extra : moz-landing-system : lando
2019-05-02 23:02:13 +00:00
Myk Melez
926c25f9a4 Bug 1547877 - enable configuration of new Notification Store implementation r=mossop,lina
Differential Revision: https://phabricator.services.mozilla.com/D29305

--HG--
rename : dom/notification/NotificationDB.jsm => dom/notification/new/NotificationDB.jsm
rename : dom/notification/NotificationDB.jsm => dom/notification/old/NotificationDB.jsm
extra : moz-landing-system : lando
2019-05-02 23:02:13 +00:00
Myk Melez
1b3f6d1faf Bug 1547877 - enable configuration of new XULStore implementation r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D29304

--HG--
rename : toolkit/components/xulstore/XULStore.jsm => toolkit/components/xulstore/new/XULStore.jsm
extra : moz-landing-system : lando
2019-05-02 23:01:57 +00:00
Johann Hofmann
910be2ccef Bug 1547013 - Enable automatically fixing MitM errors by default. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D29764

--HG--
extra : moz-landing-system : lando
2019-05-02 22:08:44 +00:00
Gurzau Raul
0068b9927d Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-03 01:17:27 +03:00
Gurzau Raul
39cabb27e2 Merge inbound to mozilla-central. a=merge 2019-05-03 01:02:21 +03:00
Ehsan Akhgari
e4a619d01e Bug 1548432 - Part 3: Enable http-state web-platform tests; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D29620

--HG--
extra : moz-landing-system : lando
2019-05-02 17:12:56 +00:00
Ehsan Akhgari
782c6b7440 Bug 1548432 - Part 2: Ignore cookie name-value-pair strings without a "=" character; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D29619

--HG--
extra : moz-landing-system : lando
2019-05-02 17:12:55 +00:00
Ehsan Akhgari
74d91664ed Bug 1548432 - Part 1: Remove the passing tests from the set of expected: FAIL annotations in http-state tests; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D29618

--HG--
extra : moz-landing-system : lando
2019-05-02 17:12:55 +00:00
Ehsan Akhgari
035a56f22c Bug 1481771 - Fix a race condition in browser_privatebrowsing_favicon.js by ensuring the promises that wait on conditions that happen during opening a tab are created before starting to open the tab; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D29717

--HG--
extra : moz-landing-system : lando
2019-05-02 21:26:11 +00:00
Matt Woodrow
ccec906120 Bug 1547159 - Composite just the visible rects of ColorLayerComposite on mobile. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D29456

--HG--
extra : moz-landing-system : lando
2019-05-02 22:02:30 +00:00
Matt Woodrow
ea5af71605 Bug 1537735 - Always update mask layers for ClientTiledPaintedLayer, even if nothing within the Layer itself has changed. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D29753

--HG--
extra : moz-landing-system : lando
2019-05-02 21:16:46 +00:00
Brindusan Cristian
05b6a8de1e Backed out 6 changesets (bug 1392408) for build bustages at nsContentPolicy.cpp and nsFrameLoaderOwner.cpp. CLOSED TREE
Backed out changeset a32ab60deb60 (bug 1392408)
Backed out changeset 69cbc0afb1f1 (bug 1392408)
Backed out changeset cd9081aac4bf (bug 1392408)
Backed out changeset d88d5959f4a6 (bug 1392408)
Backed out changeset 01fd757e335b (bug 1392408)
Backed out changeset 872645a5122c (bug 1392408)
2019-05-02 19:57:25 +03:00
Yura Zenevich
e1400699f4 Bug 1546081 - ensure that a11y audit filters do not shrink or wrap when resized. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D29394

--HG--
extra : moz-landing-system : lando
2019-05-02 16:51:43 +00:00
Yura Zenevich
66f7cf81b0 Bug 1545304 - polish for a11y panel audit throbber styling. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D29374

--HG--
extra : moz-landing-system : lando
2019-05-02 16:48:59 +00:00
Yura Zenevich
e3cbd41a42 Bug 1547068 - making badges in tree non-interactive as per ui-review. r=mtigley
Depends on D29342

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

--HG--
extra : moz-landing-system : lando
2019-05-02 18:55:33 +00:00
Yura Zenevich
c087faa4dc Bug 1544710 - ensure that selected row is always visible within TreeView after update. Clean up scroll into view operations across all uses of TreeView. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D29342

--HG--
extra : moz-landing-system : lando
2019-05-03 04:05:36 +00:00
Ting-Yu Lin
87b3beffae Bug 1548126 - Mark known existing reftests failures with column-span enabled. r=dholbert
Due to the syntax limitation in failures.list, I cannot mark
multicol-rule-004.xht as fails with column-span enabled and success with
column-span disabled simultaneously. Luckily, we had another copy of it
in testing/web-platform/tests/css/css-multicol/multicol-rule-004.xht, We
can use it to test with column-span disabled for now.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 21:41:33 +00:00
Bogdan Tara
f7ff4f47cc Backed out changeset c2f648fbcbf1 (bug 1533861) for test_TelemetryEnvironment.js failures 2019-05-03 06:22:25 +03:00
Bogdan Tara
386d23bfe7 Backed out 4 changesets (bug 1320404) for test_permmanager_load_invalid_entries.js failures
Backed out changeset 7c2f4e64d38e (bug 1320404)
Backed out changeset a7e7c0251179 (bug 1320404)
Backed out changeset dd741b25a244 (bug 1320404)
Backed out changeset de9073c57d20 (bug 1320404)
2019-05-03 06:12:25 +03:00
Chris Pearce
fb8bc549b9 Bug 1540573 - p7. Modify CSP tests to use preload=2 on (emulated) cellular connections. r=jya
The Content Security Policy tests were handling the smaller android preload
values that were #defined on Android by setting media.preload.default=2.  Now
that we're detecting whether we're on cellular or not, and the android
emulators that our tests run on emulate a cellular connection, just setting
media.preload.default is no longer enough.

So set media.preload.default.cellular=2 in the CSP mochitests instead of
media.preload.default, to make the CSP mochitests pass in the Android
emulators.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 02:45:06 +00:00
Chris Pearce
a3f9372fa2 Bug 1540573 - P6. Use frugal preloading of media data when on cellular, otherwise aggressive. r=jya
We're allowed to take some liberties as to what the default value and behaviour
we assume for the 'preload' attribute on HTMLMediaElement by the spec. On
desktop we assumed preload="metadata", while on mobile we assumed the default
of preload="none" to save data. On mobile we also assumed that preload="auto"
meant preload="metadata".

I think it makes sense to instead of always assuming that data on Android is
always expensive, we can instead detect if we're running on a cellular connection,
and preload frugally then, otherwise aggressively.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 02:44:49 +00:00
Chris Pearce
c957fbd2ef Bug 1540573 - P5. Only "always throttle" media download to the readahead on cellular connections. r=jya
Normally when downloading media data we throttle the download only if we're
ahead of the read cursor more than the "readahead limit", and if we estimate
that the connection is fast enough that we'll be able to download at a rate
fast enough to playback in real time if we resume it later.

On mobile we additionally override this so that we always throttle the download
once we're ahead of the read cursor by the readahead limit. This is to save
data.  I think we can relax this to only do this override if we're on a
cellular connection; if we're on WiFi we can assume data is cheap.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 02:44:31 +00:00
Chris Pearce
c13f163bd6 Bug 1540573 - P4. Use larger MediaCache sizes when on cellular connection. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D26233

--HG--
extra : moz-landing-system : lando
2019-05-03 02:44:05 +00:00
Chris Pearce
693f25ad50 Bug 1540573 - P3. Expose network link type on ContentChild for use in content process. r=snorp
In GeckoView the nsINetworkLinkService doesn't work in the content process, as
we don't seem to have an AndroidBridge there, so just maintain the network
connection type on the ContentChild.

(I had considered keeping this on the NeckoChild, but the creation of that is
initiated from the content process side, and there's not an easy and clean way
to have the parent process send us the connection type after construction of
the NeckoParent, other than have the NeckoChild request it either
synchronously, or doing it async and hoping it's not asked for the value before
the response comes in.)

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

--HG--
extra : moz-landing-system : lando
2019-05-03 02:43:47 +00:00
Chris Pearce
921421911b Bug 1540573 - P2. Have GeckoRuntime listen for network link changes when in the foreground. r=snorp
This allows Gecko to react to network link/status changes events as needed.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 02:43:22 +00:00
Eugen Sawin ext:(%2C%20Chris%20Pearce%20%3Ccpearce%40mozilla.com%3E)
524b2509b6 Bug 1540573 - P1. Observe ProcessLifecycle events in GeckoRuntime. r=snorp
This is esawin's patch from Bug 1544076; D28083.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 02:43:02 +00:00
Andrew Halberstadt
4eeb57f7c1 Bug 1546757 - [tryselect] Always cache both the full_task_set and target_task_set when generating tasks, r=tomprince
Since we need to generate the full_task_set as a prereq to the target_task_set,
and since getting from full_task_set -> target_task_set is trivial.. we might
as well save both computed sets to the cache while we have them. This means users
that run:

$ ./mach try fuzzy

and then run:

$ ./mach try fuzzy --full

(or vice versa)

Will only incur task generation once. It also means that the 'watchman' trigger
will cache both taskgraphs.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 02:26:57 +00:00
Andrew Halberstadt
86e7b04de4 Bug 1546757 - [tryselect] Add a watchman trigger to rebuild the taskgraph cache in the background, r=tomprince
This adds a 'watchman.json' file to /tools/tryselect and some documentation on
how to use it. Tl;dr, install watchman and then:

$ cd path/to/gecko
$ watchman -j < tools/tryselect/watchman.json

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

--HG--
extra : moz-landing-system : lando
2019-05-02 16:45:19 +00:00
Emilio Cobos Álvarez
b8406437e0 Bug 1521253 - Request longer timeouts in two tests that frequently time out in the Android emulator. r=dholbert
Bug 1547939 added a bunch of extra tests for three properties (background, mask,
and -webkit-mask). This made them time out more frequently in the Android
emulator.

Request a longer timeout to address this. Alternative is maybe just removing the
tests or such, I don't think they're of particularly great value.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 15:19:10 +00:00
Gabriele Svelto
18fbf9f796 Bug 1533889 - Investigate OpenProcess failures r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D29571

--HG--
extra : moz-landing-system : lando
2019-05-02 20:58:58 +00:00
Michael Froman
8d9ae81a3d Bug 1539030 - (redux) don't attempt RDD launch unless needed. r=jya
Detect content process that already has connection to the RDD process
and don't attempt to relaunch or needlessly call
RDDProcessManager::CreateContentBridge.  Calling CreateContentBridge
unnecessarily causes churn by recreating RemoteDecoderManagerParents.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 21:08:58 +00:00
Bogdan Tara
8244fce3c8 Backed out 3 changesets (bug 1525640) for frequent wpt failures CLOSED TREE
Backed out changeset d9a454afe9bf (bug 1525640)
Backed out changeset 19aa991328cb (bug 1525640)
Backed out changeset 4294abed890f (bug 1525640)
2019-05-03 00:16:20 +03:00
Bogdan Tara
796ab6070d Backed out changeset 8049711eaaf9 (bug 1334012) for autocomplete failures CLOSED TREE 2019-05-03 00:13:33 +03:00
Matt Woodrow
ccad9d3fc8 Bug 1414033 - Recursively invalidate any cached ContainerLayer surfaces for new attached Layers, since they might have been moved and we don't track invalid areas within them. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D29452

--HG--
extra : moz-landing-system : lando
2019-05-02 21:00:30 +00:00
Kartikaya Gupta
a059915b0b Bug 1548635 - Add mechanism to skip wrench reftests on specific platforms. r=gw
This allows us to blacklist certain configurations. Previously we could only
use platform(...) which was more of a whitelist.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 20:49:08 +00:00
Kartikaya Gupta
38a1e79594 Bug 1548635 - Some tweaks for wrench on Android. r=gw
This makes some minor tweaks:
- Use a /sdcard/wrench/ folder for the args and reftests. For me bundling
  the reftests as assets didn't work (app would panic trying to load those
  files). Plus it seems better to not always bundle the reftests with the app.
- Always dump a full backtrace on Android
- Build both x86 and armv7 architectures of wrench into the same APK for
  better compatibility.
- Update documentation.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 20:49:07 +00:00
Kartikaya Gupta
7d7e68f66b Bug 1548635 - Add opt builds of wrench. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D29715

--HG--
extra : moz-landing-system : lando
2019-05-02 20:50:12 +00:00
Perry Jiang
cf811f1da6 Bug 1535699 - Propagate redirect mode across cross-process redirects. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D29719

--HG--
extra : moz-landing-system : lando
2019-05-02 20:46:34 +00:00
Byron Campen [:bwc]
d25f704ddf Bug 1546981: Remove duplicate test-case, and remove an error suppression it caused. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D29667

--HG--
extra : moz-landing-system : lando
2019-05-02 19:11:07 +00:00
Byron Campen [:bwc]
b008fb80d2 Bug 1546406: Disable this test because we don't support RTCSctpTransport. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D29666

--HG--
extra : moz-landing-system : lando
2019-05-02 19:10:59 +00:00
Kris Maglione
4cdcfdf6af Bug 1540984: Pre-load theme header image and share across all windows. r=aswan
For large header images, built-in memory caching does not work correctly, and
we wind up seeing a flicker any time a new window is opened or becomes active.
This patch caches the header image in an Image element at startup, and uses
that element as the backing for the header image in all browser windows.

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

--HG--
extra : rebase_source : a302351f304260154c73436779c89d760f15cb39
2019-05-01 12:43:25 -07:00