Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
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
.cargo Bug 1504507 - Update serde branch for changes in WR PR #3264. r=kats 2018-11-05 13:14:07 +00:00
.vscode Bug 1493017 - Tweak vscode tasks.json problemMatcher regexes to handle clang/Windows output - r=jya 2018-09-21 10:00:59 +00:00
accessible Bug 1494713 - Add nsWindow::From. r=jchen 2018-11-16 17:31:58 +00:00
browser Bug 1493766 - part4 : add test. r=johannh 2018-11-14 01:36:26 +00:00
build Backed out changeset f73e25fa0d8c (bug 1501991) for multiple failures e.g browser_storage_dynamic_windows.js on a CLOSED TREE 2018-11-16 14:14:01 +02:00
caps Bug 1502743 - Replace black/whitelist within caps to block/allowlist r=ckerschb 2018-10-31 17:56:43 +00:00
chrome Bug 1356412: Part 2 - Remove script loader path mangling from DOM code. r=bz 2018-11-02 16:15:26 -07:00
config Bug 1501796 - Use nasm when yasm is requested. r=firefox-build-system-reviewers,mshal 2018-11-16 01:20:58 +00:00
db Bug 1495238 - Upgrade to SQLite 3.25.3. r=mak 2018-11-06 16:59:19 +00:00
devtools Merge inbound to mozilla-central. a=merge 2018-11-16 19:08:39 +02:00
docshell Bug 1494713 - Pass the widget for the DocShell to IHistory::VisitURI. r=smaug 2018-11-16 17:29:57 +00:00
dom Bug 1493766 - part3 : modify test. r=smaug 2018-11-14 01:32:26 +00:00
editor Bug 1504179 - Trigger first spell-checking by moving focus to contenteditable element; r=smaug 2018-11-14 12:38:46 +00:00
embedding Merge inbound to mozilla-central. a=merge 2018-11-16 11:47:51 +02:00
extensions Bug 1502457 - Move MOZ_APP_VERSION{,_DISPLAY} to python configure. r=nalexander 2018-11-16 01:15:35 +00:00
gfx Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-16 19:54:35 +02:00
gradle/wrapper Bug 1476165 - Part 2: Update Android Gradle plugin to version 3.1.0. r=nalexander,snorp 2018-07-17 13:20:19 +01:00
hal Bug 1488401 - Remove the remnants of the DiskSpaceWatcher r=asuth,janv,smaug 2018-09-13 06:40:51 +00:00
image Bug 1501482. r=tnikkel 2018-11-16 09:41:27 -05:00
intl Bug 1507441 - Replace FTL.VariantName with FTL.Identifier in existing recipes and documentation, fix nits in recipes r=stas 2018-11-15 12:48:09 +00:00
ipc Bug 1471535 - pt12 - Hook up RDD process and Remote decoding. r=jya,spohl 2018-11-14 18:07:28 +00:00
js Bug 1505474 - Use downloaded manifest for wpt in jsshell, r=bbouvier,Ms2ger 2018-11-16 15:23:21 +00:00
layout Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-16 19:54:35 +02:00
media Bug 1501796 - Use nasm when yasm is requested. r=firefox-build-system-reviewers,mshal 2018-11-16 01:20:58 +00:00
memory Bug 1507035 - Fix run sizes for size classes >= 16KB on systems with large pages. r=njn 2018-11-14 06:58:53 +00:00
mfbt Merge inbound to mozilla-central a=merge 2018-11-15 11:54:15 +02:00
mobile Bug 1507369 - Add GeckoView API to set an arbitrary user agent string r=snorp,esawin 2018-11-16 18:02:26 +00:00
modules Merge inbound to mozilla-central. a=merge 2018-11-16 11:47:51 +02:00
mozglue Backed out changeset 2bc6db0a2574 (bug 1486524) android raptor failures ona CLOSED TREE 2018-11-14 23:04:59 +02:00
netwerk Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-16 19:54:35 +02:00
nsprpub Bug 1477680, NSPR 4.20 RTM, no code change, only version number, r=me 2018-08-28 16:21:01 +02:00
other-licenses Bug 1468544 - Replace mar_hash_name with CityHash algorithm. r=rstrong 2018-11-06 13:34:21 -05:00
parser Bug 1503019 - Part II, Remove dom.webcomponents.customelements.enabled pref r=smaug 2018-11-15 06:52:01 +00:00
python Bug 1504751 Migrate about:networking to Fluent r=jaws,flod 2018-11-16 18:01:08 +00:00
security bug 1502841 - follow-up to ensure reentering DataStorageSharedThread::Shutdown() doesn't cause problems r=jcj 2018-11-16 16:14:52 +00:00
services Bug 1507294 - Display all compatible FxA devices in send tab menu. r=markh 2018-11-16 03:03:13 +00:00
servo Bug 1503019 - Part II, Remove dom.webcomponents.customelements.enabled pref r=smaug 2018-11-15 06:52:01 +00:00
startupcache Bug 1503207 - Remove nsWeakPtr.h and cleanup all files including weak reference-related headers r=froydnj 2018-10-31 20:39:03 +00:00
storage Bug 1506554 part 2 - Actually call cleanupLocaleTests in storage/test/unit/test_locale_collation.js. r=asuth 2018-11-14 07:46:34 +00:00
taskcluster Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-16 19:54:35 +02:00
testing Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-16 19:54:35 +02:00
third_party Merge mozilla-central to mozilla-inbound. 2018-11-10 13:51:14 +02:00
toolkit Bug 1493766 - part3 : modify test. r=smaug 2018-11-14 01:32:26 +00:00
tools Bug 1507111 - Fallback to latest mozilla-central pushes if the local base revision is not known by hgmo. r=ahal 2018-11-14 16:32:01 +01:00
uriloader Backed out 2 changesets (bug 1504728, bug 1505198) for xpcshell failures on test_WebExtensionContentScript.js. CLOSED TREE 2018-11-16 02:34:15 +02:00
view Bug 1504521 - rename in-tree mentions of bugzilla metadata for product and component "Core :: Layout: Web Painting" to "Core :: Web Painting" r=kats 2018-11-04 12:57:04 +00:00
widget Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-16 19:54:35 +02:00
xpcom Merge inbound to mozilla-central. a=merge 2018-11-16 19:08:39 +02:00
xpfe/appshell Bug 1496722 - Make nsIDocShellTreeItem.itemType readonly. r=peterv 2018-11-08 21:58:58 +00:00
.arcconfig
.clang-format
.clang-format-ignore Bug 1506177 - Ignore the formating on all layout/style/ns*List.h file r=emilio 2018-11-09 16:51:01 +00:00
.cron.yml Bug 1503547 - Move searchfox indexing jobs a half hour earlier to match nightly build times. r=mccr8 2018-11-01 15:37:07 +00:00
.eslintignore Bug 1506559 - Enable ESLint for memory/replace/dmd/test/. r=njn 2018-11-13 09:07:38 +00:00
.eslintrc.js Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (setup ESLint). r=mossop 2018-10-19 08:46:31 +00:00
.flake8 Bug 1479503: Check infer in ./mach static-analysis autotest. r=nalexander 2018-10-24 21:54:34 +00:00
.gdbinit Bug 1486903 - Add "ftl" command to dump frame subtree to .gdbinit. r=Ehsan 2018-08-28 20:20:21 +00:00
.gdbinit_python
.gitignore Bug 1503447 - Remove Nothing() semantic from ASR overrides r=kats 2018-11-14 14:15:16 +00:00
.hgignore Bug 1479503: Check infer in ./mach static-analysis autotest. r=nalexander 2018-10-24 21:54:34 +00:00
.hgtags No bug - Tagging mozilla-central c44fbdd5173548c9035256dda8fd3512f67118a8 with FIREFOX_NIGHTLY_64_END a=release DONTBUILD CLOSED TREE 2018-10-22 08:48:42 -07:00
.lldbinit Bug 1481555: Use lldb's python API to summarise nsAtoms. r=froydnj 2018-08-08 15:11:22 +00:00
.mailmap
.taskcluster.yml Bug 1505930 - Promote try-push analysis result r=catlee 2018-11-08 21:40:53 +00:00
.trackerignore Bug 1486468 - Add .trackerignore file to avoid GNOME Tracker indexing mozilla-central files. r=ahal 2018-08-27 16:45:03 +02:00
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS Bug 1481409 - Use HTTPS protocol for Mozilla's Credits link in AUTHORS file r=mossop 2018-08-13 16:39:30 +00:00
build.gradle Bug 1485439 - Pre: Upgrade Android Gradle plugin. r=nalexander 2018-09-04 22:33:00 +02:00
Cargo.lock Bug 1496503 - Change the rust panic hook to delegate to Gecko's crash code. r=froydnj 2018-11-14 22:35:33 +00:00
Cargo.toml Bug 1504507 - Update serde branch for changes in WR PR #3264. r=kats 2018-11-05 13:14:07 +00:00
client.mk Bug 1498031 - Merge code paths for running configure between Tup and Make based backends. r=firefox-build-system-reviewers,mshal 2018-10-16 22:21:36 +00:00
client.py
CLOBBER Bug 1499026 - Part 3: Updating ICU requires a clobber. r=clobber 2018-11-01 06:32:49 -07:00
configure.in
configure.py Bug 1461836 - Write out complete configure dependencies from configure for consumption by make and non-make backends. r=mshal 2018-05-21 14:01:50 -07:00
GNUmakefile
gradle.properties
gradlew
LEGAL
LICENSE
mach
Makefile.in Bug 1498031 - Merge code paths for running configure between Tup and Make based backends. r=firefox-build-system-reviewers,mshal 2018-10-16 22:21:36 +00:00
moz.build Bug 1490253 - Replace pipenv with pip-tools for vendoring packages and dependencies; r=ahal 2018-10-10 08:58:41 +00:00
moz.configure Bug 1502457 - Move MOZILLA_OFFICIAL to init.configure. r=nalexander 2018-11-16 01:16:31 +00:00
mozilla-config.h.in Bug 1504022 - Map GetExceptionCode to a nop to avoid an error r=bobowen 2018-11-02 13:28:01 -05:00
old-configure.in Bug 1502457 - Move MOZ_APP_VERSION{,_DISPLAY} to python configure. r=nalexander 2018-11-16 01:15:35 +00:00
package-lock.json Bug 1495397 - Update mozilla-central's package.json for being more generic, and move existing ESLint modules to dev dependencies. r=firefox-build-system-reviewers,nalexander 2018-10-01 17:28:45 +00:00
package.json Bug 1495397 - Update mozilla-central's package.json for being more generic, and move existing ESLint modules to dev dependencies. r=firefox-build-system-reviewers,nalexander 2018-10-01 17:28:45 +00:00
README.txt Bug 1480997 - Remove "Mozilla FTP server" link in README.txt r=mossop 2018-10-23 10:06:29 +00:00
settings.gradle
test.mozbuild

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy.