Commit Graph

624414 Commits

Author SHA1 Message Date
Aki Sasaki
9f18f89db3 Bug 1501878 - point partials at unsigned complete mars. r=tomprince
Partial MAR generation doesn't need a signed complete MAR.
By pointing the partials tasks at the unsigned complete MARs, we are
able to defer signing the complete MARs without deferring partials
creation.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 21:01:13 +00:00
Mike Conley
87e56a69cb Bug 1506457 - Only show titlebar indicators in the titlebar-secondary-buttonbox on macOS. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D12153

--HG--
extra : moz-landing-system : lando
2018-11-16 20:45:36 +00:00
Cosmin Sabou
2ea797e651 Backed out changeset 1d50d21da50d (bug 1507721) for spidermonkey bustages on dynamic-import-oom.js. 2018-11-16 22:53:36 +02:00
Jared Wein
d3582333ea Bug 1504277 - Open new tabs at the end of a multiselection of tabs if the New Tab button is ctrl-clicked. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D11376

--HG--
extra : moz-landing-system : lando
2018-11-16 20:41:57 +00:00
Cosmin Sabou
2213c64dfe Backed out changeset d3468dd807eb (bug 1454613) for Btup bustages on js/src/rust/Cargo.toml 2018-11-16 22:30:31 +02:00
Cosmin Sabou
79edf89597 Backed out changeset e36852845947 (bug 1507312) for damp failures on debugger/custom.js. 2018-11-16 22:24:56 +02:00
WR Updater Bot
0241134630 Bug 1507915 - Update webrender to commit 91910a3ce033239fe36ef096223be333ea5df6d7 (WR PR #3314). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12171

--HG--
extra : moz-landing-system : lando
2018-11-16 20:18:34 +00:00
Ted Mielczarek
6359dfdc7a bug 1454613 - build binsource when building SpiderMonkey. r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D11056

--HG--
extra : moz-landing-system : lando
2018-11-12 21:15:49 +00:00
WR Updater Bot
4677e98fcc Bug 1507848 - Update webrender to commit 5609676e166f939fcf1a4141c5b9cb715b68f1d9 (WR PR #3315). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12170

--HG--
extra : moz-landing-system : lando
2018-11-16 20:12:16 +00:00
Florens Verschelde
86e747a2ad Bug 1507632 - Use Photon colors for console icons; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D12068

--HG--
extra : moz-landing-system : lando
2018-11-16 17:38:22 +00:00
Alex Gaynor
c545e40742 Bug 1507833 - fixed an unused #[macro_use] warning in our rust code; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D12159

--HG--
extra : moz-landing-system : lando
2018-11-16 19:27:54 +00:00
Logan Smyth
89d2ea15b0 Bug 1507312 - Update Debugger Frontend v102 r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D11967

--HG--
extra : moz-landing-system : lando
2018-11-16 19:27:14 +00:00
Tom Schuster
0d00659591 Bug 1317422 - Implement JavaScript globalThis proposal. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D11322

--HG--
extra : moz-landing-system : lando
2018-11-14 15:57:03 +00:00
Andreas Tolfsen
24803f5943 bug 1507428: webdriver: fix incorrect Content-Type header; r=whimboo
The Content-Type header contains the correct MIME type, but the
charset option is "utf8" and invalid: it should be "utf-8".

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

--HG--
extra : moz-landing-system : lando
2018-11-16 19:17:37 +00:00
Rob Wood
78cd9dab3f Bug 1502036 - Subtest results for raptor speedometer have incorrect lower_is_better setting; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D12142

--HG--
extra : moz-landing-system : lando
2018-11-16 17:25:32 +00:00
James Graham
c597273773 Bug 1497898 - Update jstests.py wpt integration for manifest optimisations, r=bbouvier,Ms2ger
Depends on D10743

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

--HG--
extra : moz-landing-system : lando
2018-11-16 17:59:03 +00:00
James Graham
783db98b9b Bug 1497898 - Handle WindowsError trying to determine if git exists, r=ato
Depends on D8232

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

--HG--
extra : moz-landing-system : lando
2018-11-16 18:48:43 +00:00
James Graham
fc1b9e8916 Bug 1497898 - Update gecko wpt manifest update to use caches, r=ato
Depends on D8231

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

--HG--
extra : moz-landing-system : lando
2018-11-16 18:48:50 +00:00
James Graham
8afe7415f7 Bug 1497898 - Update manifest before tests, r=ato
Depends on D8230

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

--HG--
extra : moz-landing-system : lando
2018-11-16 18:46:49 +00:00
James Graham
98239a7695 Bug 1497898 - Pass the manifest file directly into wpttest.from_manifest, r=ato
Depends on D8229

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

--HG--
extra : moz-landing-system : lando
2018-11-16 18:46:57 +00:00
James Graham
322b139c9f Bug 1497898 - Fix the .gitignore rules, r=ato
Depends on D8228

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

--HG--
extra : moz-landing-system : lando
2018-11-16 18:48:24 +00:00
James Graham
5b7b698630 Bug 1497898 - Fix the cache lifecycle, r=ato
The caches weren't being invalidated when the manifest itself
changed. To fix this the manifest itself has to be written before the
cache and the cache has to include data about the manifest that it's
associated with (the mtime and path are used for this purpose).

To make all this work requires a single method that can load the
manifest, update it, write the manifest and write the
caches. Therefore we introduce a single load_and_update method that is
intended to replace all previous use of the load() or update() methods
(and as a bonus handles manifest version mismatches in a single
place).

Depends on D8227

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

--HG--
extra : moz-landing-system : lando
2018-11-16 18:48:26 +00:00
James Graham
ce60bb48b5 Bug 1497898 - Add a custom implementation of os.walk, r=ato
Compared to the normal os.walk this has a couple of differences:

* It returns lists of (name, stat) for filenames and directories,
  allowing callers to reuse the stat data without going back to the
  system to re-request it.

* Directories are always returned as paths relative to the root, and
  the root itself is returned as the empty string.

* It is non-recursive.

There are also a few features missing that aren't required for our use
cases.

Depends on D8226

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

--HG--
extra : moz-landing-system : lando
2018-11-16 18:48:28 +00:00
James Graham
ea13dc74ac Bug 1497898 - Add manifest caches for the mtime and gitignore rules, r=ato
When processing the manifest using the worktree, instead of reading
all files to see if the content changed, instead only process files where
the mtime has been updated since the previous run. Also cache the
result of running gitignore, so we can save a couple of seconds
processing the gitignore rules.

Depends on D8225

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

--HG--
extra : moz-landing-system : lando
2018-11-16 18:48:30 +00:00
James Graham
2896c4c699 Bug 1497898 - Update the lint to the new gitignore API, r=ato
Depends on D8224

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

--HG--
extra : moz-landing-system : lando
2018-11-16 18:48:32 +00:00
James Graham
62e4d2f4f2 Bug 1497898 - Update the gitignore implementation to work as an iterator filter, r=ato
This updates the gitignore implemenation to take input like os.walk
but with additional stat data for the files. It also makes several
useful optimistaions:

 * Avoid using regex when just matching a literal
 * Identify patterns that can only match the final component of a path
   and run those against that component rather than the full path.
 * Add the possibility of providing a dictionary of paths to gitignore
   statuses as a cache.

This dramatically reduces the amount of time we spend in gitignore
processing when updating the manifest.

Depends on D8223

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

--HG--
extra : moz-landing-system : lando
2018-11-16 18:48:34 +00:00
James Graham
f7f73f6d13 Bug 1497898 - Allow the gitignore filter to work on name components only, r=ato
We end up with a lot of rules like (?:.*)/.*\.ext which are basically
trying to find the last component in a path and match against
that. These are rather slow to run so the easiest thing tdo is just
pass in the last component of the path when we know that's the only
thing the rule can match.

The changes to surrounding code to use this API will be made in future
commits.

Depends on D8222

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

--HG--
extra : moz-landing-system : lando
2018-11-16 18:48:36 +00:00
James Graham
7a9dd60df5 Bug 1497898 - Update the .gitignore file, r=ato
Depends on D8221

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

--HG--
extra : moz-landing-system : lando
2018-11-16 18:48:38 +00:00
Ahilya Sinha
51b7f8e4b4 Bug 1497898 - Use testfile mtimes to pre-filter files iterated over for the manifest update, r=ato
Depends on D11667

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

--HG--
extra : moz-landing-system : lando
2018-11-16 18:48:40 +00:00
James Graham
15caf59c7f Bug 1505474 - Use downloaded manifest for wpt in jsshell, r=bbouvier,Ms2ger
web-platform-tests gets its test list from a manifest file that's
generated from the content of the tests. Unfortunately generating this
manifest is slow, so it's unreasonable to create it from scratch for
every test run. Until recently the generated manifest was kept
in-tree, which was suboptimal in a few ways:

* The manifest tended to get out of sync with the actual source
* The large json file caused problems for tooling including source
  control and the review frontends.

We previously switched `mach wpt` to download a manifest on demand and
apply an incremental update. However this work missed the usage in
jstests.py. This continued to use the increasing outdated in-tree
manifest, which causes a number of problems

* It doesn't have an up-to-date list of tests
* It blocks removing that file
* It blocks landing various optimisations to make updating the
  manifest faster.

This patch fixes jstests.py to use a downloaded manifest. Unlike the
tests run through a mach frontend jstests.py doesn't know where the
objdir is, so it's hard to work out where to download the
manifest. This patch adopts a heuristic approach; if the path to the
jsshell looks like <root>/dist/bin and <root>/_tests exists, we assume
it's a gecko-like objdir and use <root>/_tests/web-platform/ for the
manifest; otherwise we just put it into the system tempdir.

Because the manifest has to be updated on startup, this patch causes a
startup time regression, but this will be considerably reduced by the
work in Bug 1497898 for which this is a prerequisite.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 15:23:21 +00:00
Dana Keeler
800094cafe bug 1502841 - follow-up to ensure reentering DataStorageSharedThread::Shutdown() doesn't cause problems r=jcj
We shouldn't reenter DataStorageSharedThread::Shutdown(), but it may be
possible. To guard against potentially attempting to shut down the shared thread
more than once, we can check gDataStorageSharedThreadShutDown first.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 16:14:52 +00:00
alwu
1313230fb1 Bug 1493766 - part4 : add test. r=johannh
Add a test to ensure the temporary autoplay permission is sync correctly between JS and C++ side.

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

--HG--
extra : moz-landing-system : lando
2018-11-14 01:36:26 +00:00
alwu
c084141553 Bug 1493766 - part3 : modify test. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D7017

--HG--
extra : moz-landing-system : lando
2018-11-14 01:32:26 +00:00
alwu
dab4434860 Bug 1493766 - part2 : save the status of temporary autoplay permission in outer window. r=johannh,smaug
In order to know whether we have temporary autoplay permission without creating a request, we need to
cache its state in the outer window so that we can get the correct returned value for AutoplayPolicy::IsAllowedToPlay().

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

--HG--
extra : moz-landing-system : lando
2018-11-16 18:27:00 +00:00
alwu
4515d99b29 Bug 1493766 - part1 : notify when temporary permission changed. r=johannh
Since temporary permissions are only stored in the front-end side, we can't know whether we have
allowed page to autoplay or not without sending a request. Therefore, we want to notify the back-end
side when the temporary permissions changed.

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

--HG--
extra : moz-landing-system : lando
2018-11-15 19:51:26 +00:00
Randall Barker
f65f0ce0b9 Bug 1507369 - Add GeckoView API to set an arbitrary user agent string r=snorp,esawin
Differential Revision: https://phabricator.services.mozilla.com/D12069

--HG--
extra : moz-landing-system : lando
2018-11-16 18:02:26 +00:00
Collin Wing
26d02f4f16 Bug 1504751 Migrate about:networking to Fluent r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D10977

--HG--
extra : moz-landing-system : lando
2018-11-16 18:01:08 +00:00
Brian Grinstead
de723eccb2 Bug 1500424 - Remove customizable ui toolbar-drag binding;r=Gijs
It was almost identical to the toolkit version, only missing a [customizing=true]
check to prevent drag. Since Customization only happens in browser/ we are able
to replace the toolkit version with the CUI version, and then remove the CUI version.

The `#toolbar-menubar:not([autohide="true"])` selector will fall back to the
`toolbar[type="menubar"]` selector in global.css to apply the toolkit one, so
that is removed from browser.css.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 17:50:04 +00:00
Gurzau Raul
6d17917258 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-16 19:54:35 +02:00
Lina Cambridge
91bb9eef1d Bug 1494713 - Add HistoryDelegate and wire up the Java history handlers. r=jchen,snorp
Differential Revision: https://phabricator.services.mozilla.com/D11291

--HG--
extra : moz-landing-system : lando
2018-11-16 17:32:04 +00:00
Lina Cambridge
2e957c8eaf Bug 1494713 - Implement a GeckoViewHistory backend. r=jchen,snorp,smaug
Differential Revision: https://phabricator.services.mozilla.com/D11290

--HG--
extra : moz-landing-system : lando
2018-11-16 17:32:02 +00:00
Lina Cambridge
994f3a458c Bug 1494713 - Add nsWindow::From. r=jchen
Differential Revision: https://phabricator.services.mozilla.com/D11289

--HG--
extra : moz-landing-system : lando
2018-11-16 17:31:58 +00:00
Lina Cambridge
aa4bb114b9 Bug 1494713 - Expose EventDispatcher::GetGlobalObject() and nsWindow::GetEventDispatcher(). r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D11288

--HG--
extra : moz-landing-system : lando
2018-11-16 17:30:26 +00:00
Lina Cambridge
69ee079fa0 Bug 1494713 - Pass the widget for the DocShell to IHistory::VisitURI. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D11287

--HG--
extra : moz-landing-system : lando
2018-11-16 17:29:57 +00:00
Jan de Mooij
7efc1db5ba Bug 1507721 - Simplify AutoEnterOOMUnsafeRegion by adding an explicit inUnsafeRegion_ flag to the OOM simulator. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D12103

--HG--
extra : moz-landing-system : lando
2018-11-16 17:12:44 +00:00
Emilio Cobos Álvarez
45679223d6 Bug 1450219 - followup: Fix the XBL implementation as well. 2018-11-16 18:28:26 +01:00
Nicolas Silva
eef47a1b87 Bug 1507140 - Gecko changes for WebRender PR #3291. r=kats
Move wr::DeviceUint* to wr::DeviceInt*.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 17:13:26 +00:00
WR Updater Bot
c1baccfc1a Bug 1507140 - Update webrender to commit dc442bfe38dcd9fc5033d2191b04c6242d167f05 (WR PR #3291). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D12149

--HG--
extra : moz-landing-system : lando
2018-11-16 17:13:07 +00:00
Jason Orendorff
7bd284ed9d Bug 1503012 - Part 1: Some basic ReadableStream tests that run in the shell. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D11532

--HG--
extra : moz-landing-system : lando
2018-11-16 17:13:19 +00:00
Timothy Guan-tin Chien
c4c5775807 Bug 1472237 - Always do XML Pretty print even if the frame is hidden r=mats
XML pretty print, as it was implemented in bug 64945, skips itself when the loaded document is not visible. There is no explanation why it does that, other than the fact that it is backed by an XBL binding, and XBL bindings always bound to DOM with layout frames. A later change in bug 1400618 made the existence of presshell necessary before binding the XBL binding.

With bug 1437956 and bug 1503019, XML pretty print is now backed by Shadow DOM. That leaves no reason for keeping this behavior.

The test file test_bug590812.html also revealed that XML pretty print might incorrectly opt-out itself because of the said behavior. We don't know if this something only happens in the test or it is something that may happen in the wild. Nonetheless, it's a better idea to simplify the behavior here.

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

--HG--
extra : moz-landing-system : lando
2018-11-16 08:16:27 +00:00