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

25175 Коммитов

Автор SHA1 Сообщение Дата
James Graham 4443a88796 Bug 1476053 - Handle invalid json in metadata updates, r=ato
Sometimes we get errors that result in invalid json in the logs.
There's nothing reasonable to do about this during metadata updates
so just skip it

MozReview-Commit-ID: 4QuM7M3lXGv

--HG--
extra : rebase_source : 7e828a32c0a05338ff050f16ab6a91761e58d9b0
2018-07-23 19:13:41 +01:00
James Graham f380927ba7 Bug 1476053 - Enabling updating wpt metadata from wptreport.json files, r=ato
Raw log files have the big disadvantage that they are large and we
therefore spend a lot of time just downloading the log files and
parsing json. wptreport.json files are much smaller and so reduce
these issues.

In order to support both formats, we first try parsing the log as
json. If that succeeds, and we have the expected keys, we parse it as
a wptreport file by reconstructing the events we would have got in a
raw log.

If that doesn't work we fall back to the standard raw log processing.

MozReview-Commit-ID: 7rjTJJUPhpz

--HG--
extra : rebase_source : 6d0a834811cb1b5c7d92e350a5eaa9d75a35a576
2018-07-10 10:42:48 +01:00
James Graham a88f496505 Bug 1476053 - Optimise wpt metadata updates, r=ato
The previous strategy for wpt metadata updates was to read add the
existing expected files, annotate them with the new results, compute
the resulting expectation file, and reserialize everything. This was
quite straighforward, but it has a number of disadvantages:

* Slow, since all expectation files need to be read and written, even
  when there were no changes affecting those files.
* Memory intensive, since we have to load all the results and the
  metadata at the same time, and little optimisation had been
  done. This could lead to OOM for large updates on some machines.
* Confusing, since parsing and reserializing files leads to changes in
  "unrelated" metadata

Instead we take the approach that we should only update the metadata
in cases where there are actually changes. Inteads of loading all the
expectation files, we do the following:

* Load all the results data into a large nested dictionary, keeping
  track of which results files had an update that requires
  regenerating metadata.

* Load/serialize metadata only in the cases it changed, and one at a
  time.

Loading all the data upfront is still necessary because we effectively
need to traspose the input data in cases where we have multiple
configurations running the same test (i.e. we get the data per run
and want the data for all runs per test). This approach also has the
disadvantage that it's more likely to miss a necessary update. However
the tradeoffs for better performance are still worthwhile.

MozReview-Commit-ID: 1jevEmRsJxc

--HG--
extra : rebase_source : f1a3ed9c1a49eb347306029e8f164fcac0b2da10
2018-07-10 10:13:02 +01:00
James Graham 89815dfe69 Bug 1476053 - Add lsan leak reports to wptreport output, r=ato
This adds a top level key lsan_leaks iff there are any leaks detected in the run.
The data is equivalent to that in the underlying structured logger.

MozReview-Commit-ID: I3ex7Yamhoh

--HG--
extra : rebase_source : ded7c0ef92170f12874359a5b5a20701ab93dbdf
2018-07-10 10:11:15 +01:00
James Graham 8a442a4848 Bug 1476053 - Add an option not to store state when running wpt-update, r=jdm
This adds some overhead and can be annoying since it requries explicitly aborting failed jobs.
The state storage isn't very useful for just udpating metadata (the typical gecko usecase), but
is useful for performing syncs (a typical servo usecase). Therefore add a --no-store-state option
and set it by default in the gecko mach frontend.

MozReview-Commit-ID: LhEcMkyuRHD

--HG--
extra : rebase_source : 0f5c22b2a1337f7ca370cae31514792528d234a3
2018-07-10 10:09:43 +01:00
James Graham 8dd59553eb Bug 1477256 - Use certificate files from upstream in web-platform-tests, r=cactusmachete
These files are duplicates of each other, so for simplicity we may as well use the
upstream copies to avoid falling out of sync.

MozReview-Commit-ID: JpG3joT8NNJ

--HG--
extra : rebase_source : d06c8969a9f8871b078c22e72947f7cd7584fb00
2018-07-20 13:29:05 +01:00
shindli ed684136aa Backed out 2 changesets (bug 1471894) for linting failure in /builds/worker/checkouts/gecko/tools/lint/wpt.yml on a CLOSED TREE
Backed out changeset 82b13a9a70e6 (bug 1471894)
Backed out changeset 9a6e53d96b83 (bug 1471894)
2018-07-24 02:56:41 +03:00
shindli 70ab23ecd2 Backed out changeset d126a6593e8f (bug 1475647) for mozmake.exe bustage on a CLOSED TREE 2018-07-24 02:55:53 +03:00
Brad Werth 51462b9733 Bug 1471894 Part 2: Add a web-platform-test to check computed margin values on auto margin blocks. r=dholbert
MozReview-Commit-ID: KbSZzhoX5mu

--HG--
extra : rebase_source : 210535f627475e07c85f174b41396f650ac0d29f
2018-07-12 11:55:32 -07:00
Dipen Patel b0259a189f Bug 1475647 - Remove nsISSLStatusProvider interface. r=baku,Gijs,jchen,jryans,keeler,mcmanus
- Access nsISSLStatus directly as a member of nsITransportSecurityInfo
and nsISecureBrowserUI.  This is part of a larger effort to consolidate
nsISSLStatus and nsITransportSecurityInfo.
- The TabParent implementation of GetSecInfo will always return null.
- Removed unnecessary QueryInterface calls
- Style adherence updates

MozReview-Commit-ID: Dzy6t2zYljL

--HG--
extra : rebase_source : b15f75e39d04c8485b4eb63416fd1f1e4175fafe
2018-07-13 11:48:55 -07:00
Coroiu Cristina 44141cfda4 Merge inbound to mozilla-central a=merge 2018-07-24 00:43:44 +03:00
Brindusan Cristian dcbbf37b84 Backed out changeset 7b42110e827b (bug 1461465) for android mochitest failures on test_ext_async_clipboard.html. CLOSED TREE 2018-07-23 22:11:26 +03:00
Nicolas Chevobbe 7d5b5aa884 Bug 1473332 - Add a DAMP test for console autocomplete; r=ochameau.
MozReview-Commit-ID: 34PqIBot2ZK

--HG--
extra : rebase_source : b5ff3ddad6c9c7bdd38d799688d4c24d600073c4
2018-07-05 17:44:10 +02:00
Marco Castelluccio 9e4a436b47 Bug 1477202 - Avoid shipping PerTestCoverageUtils.jsm to users by only adding it to Marionette when MOZ_CODE_COVERAGE is defined. r=florian
--HG--
extra : rebase_source : 18fe9086546fa328dddfe35f307f383f832c9a75
2018-07-20 11:37:52 +02:00
Anny Gakhokidze 05520e664b Bug 1461465 - Implement async Clipboard APIs, r=nika,enndeakin
MozReview-Commit-ID: 3vCxbaGZtiv
2018-07-23 13:41:07 -04:00
Cosmin Sabou 3144e04a98 Backed out changeset 86bce8df5152 (bug 1461465) for build bustages on dom/Clipboard.h. CLOSED TREE 2018-07-23 19:16:37 +03:00
Anny Gakhokidze 2e0358b999 Bug 1461465 - Part 1: Implement async Clipboard APIs, r=nika,enndeakin
MozReview-Commit-ID: 3vCxbaGZtiv
2018-07-23 11:59:13 -04:00
Ben Hearsum 2d9f93eea7 bug 1469284: allow ssh username to be passed to the merge day scripts. r=mtabara 2018-07-23 10:39:01 -04:00
Brian Birtles 59ace942ca Bug 1477486 - Add dom.animations-api.getAnimations.enabled pref to css-logical test suite; r=hiro
In particular the animation-003 test needs it but we may as well turn it on for
all tests since we'll possibly add more tests like this in the future.

--HG--
extra : histedit_source : 3e16067a59780c195b54fae7ad420138e1f18209
2018-07-23 09:21:23 +09:00
Brian Birtles ad113df61e Bug 1477486 - Fix typo in animation-003.tenative.html filename; r=hiro
--HG--
rename : testing/web-platform/tests/css/css-logical/animation-003.tenative.html => testing/web-platform/tests/css/css-logical/animation-003.tentative.html
extra : histedit_source : 8f91be7f6c5a80fb0d635e971de6359614ab1121
2018-07-23 09:21:08 +09:00
Emilio Cobos Álvarez ab4d03e26c Bug 1476927: followup: Enable the pref for the whole subdirectory. r=me
MozReview-Commit-ID: BsBLoybajNy
2018-07-22 23:31:12 +02:00
Christoph Kerschbaumer 49eaf535cb Bug 1474537 - CSP 'self' should translate to 'self' and not be resolved to actual self URI. r=dveditz 2018-07-22 18:08:17 +02:00
Andreas Tolfsen b8e252394c Bug 1477483 - Use monospace on pageLoadStrategy default value in geckodriver README. r=me
DONTBUILD
2018-07-21 14:30:59 +01:00
Cosmin Sabou 0d3874d7d6 Merge mozilla-inbound to mozilla-central. a=merge 2018-07-21 00:42:01 +03:00
Christian Holler 37f45cc5e9 Bug 1473259 - Windows updates for ASan reporter nightly build. r=catlee
MozReview-Commit-ID: 6DQD5DnzyqB
2018-07-03 23:41:31 +02:00
James Graham dc08932050 Bug 1476534 - restart-before doesn't exist, restart-after does, a=testonly
MozReview-Commit-ID: H61M6nwijWE
2018-07-20 18:59:52 +01:00
Andreas Tolfsen 5833c61074 Bug 1477300 - Avoid linking to MDN from geckodriver README. r=me
DONTBUILD
2018-07-20 17:16:36 +01:00
Andreas Tolfsen dee21345de Bug 1477300 - Correct mention on Selenium version number. r=me
DONTBUILD
2018-07-20 17:16:35 +01:00
Andreas Tolfsen ca01d91580 Bug 1477300 - Fix broken links in geckodriver README. r=me
DONTBUILD
2018-07-20 17:16:35 +01:00
James Graham 2febeb016b Bug 1476534 - Add restart-before to test to work around OSX issue, a=testonly
MozReview-Commit-ID: 8Duk5jmTkH7
2018-07-20 17:13:09 +01:00
James Graham 7fa963c733 Bug 1476534 - Disable unstable HTTP cache test on linux debug, a=testonly ON A CLOSED TREE
MozReview-Commit-ID: LUNp53BYTZQ
2018-07-20 16:28:08 +01:00
James Graham 839be6a0eb Bug 1476534 - Update metadata for SVG tests, a=testonly
MozReview-Commit-ID: FINZQOwTrM9
2018-07-20 16:27:36 +01:00
Marco Castelluccio 19db27a4a6 Bug 1476574 - Detect earlier if per-test coverage mode is disabled by detecting if we're in a ccov build using mozinfo. r=jgraham
--HG--
extra : rebase_source : 8b95f3d5e071f9a22b2d50385c13a2fe735d48d2
2018-07-20 12:10:15 +02:00
moz-wptsync-bot 296c4778c4 Bug 1476534 - [wpt-sync] Update web-platform-tests to 6568dc4855dc9831db645c32adc5180b72037f2c, a=testonly
wpt-head: 6568dc4855dc9831db645c32adc5180b72037f2c
wpt-type: landing
2018-07-20 13:21:20 +00:00
moz-wptsync-bot 6da2a08af5 Bug 1474803 [wpt PR 11904] - Update wpt metadata, a=testonly
wpt-pr: 11904
wpt-type: metadata
2018-07-20 13:18:47 +00:00
Luke Bjerring 82b94036c8 Bug 1474803 [wpt PR 11904] - Rename test to https, a=testonly
Automatic update from web-platform-testsRename test to https (#11904)

--

wpt-commits: 6568dc4855dc9831db645c32adc5180b72037f2c
wpt-pr: 11904


--HG--
rename : testing/web-platform/tests/mediacapture-streams/idlharness.window.js => testing/web-platform/tests/mediacapture-streams/idlharness.https.window.js
2018-07-20 13:04:43 +00:00
Morten Stenshorne 80d552eaaa Bug 1474653 [wpt PR 11887] - [css-layout-api] Don't use LayoutNG for custom layout children., a=testonly
Automatic update from web-platform-tests[css-layout-api] Don't use LayoutNG for custom layout children.

Custom layout children may not establish new formatting contexts, and
since the custom container itself is laid out by the legacy engine, we
need to force its children to be laid out by legacy as well.

Added a margin collapsing test that used to fail in NG because of this.

Change-Id: Id320f60fb76b0ed6563fb2b88f6936ac37efc1fd
Reviewed-on: https://chromium-review.googlesource.com/1131179
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#573864}

--

wpt-commits: b47e2cd91cfe1b2246655b6612c407898939588c
wpt-pr: 11887
2018-07-20 13:04:43 +00:00
moz-wptsync-bot 67f1409f1a Bug 1474154 [wpt PR 11846] - Update wpt metadata, a=testonly
wpt-pr: 11846
wpt-type: metadata
2018-07-20 13:04:42 +00:00
Hiroshige Hayashizaki b9c5f6002e Bug 1474154 [wpt PR 11846] - Add tests for (module dedicated|classic shared) worker's URLs, a=testonly
Automatic update from web-platform-testsAdd tests for (module dedicated|classic shared) worker's URLs

This CL adds WPT tests for
- WorkerLocation (wpt/workers/interfaces/WorkerGlobalScope/location/),
- referrer (wpt/xhr/), and
- API base URL (wpt/workers/baseurl/)
that should reflect worker global scope's URL, for
- classic shared workers and
- module classic workers.

Some tests are half-migrated to fetch_tests_from_worker()-style
to test shared workers easily, while the tests for
module workers uses the existing non-fetch_tests_from_worker()-style
tests, because testharness.js can't be used from module scripts.

Bug: 861564
Change-Id: I62fa415647da47e00bf7cbf4d7648f5d64377c04
Reviewed-on: https://chromium-review.googlesource.com/1128517
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#573840}

--

wpt-commits: 1eefa00af8eb0137b4812d0947a38fb5b76cd04e
wpt-pr: 11846


--HG--
rename : testing/web-platform/tests/workers/baseurl/alpha/sharedworker.html => testing/web-platform/tests/workers/baseurl/alpha/sharedworker-in-worker.html
rename : testing/web-platform/tests/workers/baseurl/alpha/worker.html => testing/web-platform/tests/workers/baseurl/alpha/worker-in-worker.html
2018-07-20 13:04:41 +00:00
moz-wptsync-bot e5cb9a41cd Bug 1474068 [wpt PR 11839] - Update wpt metadata, a=testonly
wpt-pr: 11839
wpt-type: metadata
2018-07-20 13:04:40 +00:00
Reilly Grant 3c84b50e0b Bug 1474068 [wpt PR 11839] - Move [SecureContext] to NavigatorBluetooth, a=testonly
Automatic update from web-platform-testsMove [SecureContext] to NavigatorBluetooth

This change moves the [SecureContext] extended attribute from the
individual attributes on the Bluetooth interface to the entire partial
Navigator interface for Web Bluetooth.

This has the practical effect of making the entire navigator.bluetooth
attribute undefined in in-secure contexts rather than only
navigator.bluetooth.requestDevice.

Web Platform Tests are also updated to test access to this attribute
from both secure and in-secure contexts.

Bug: 860798
Change-Id: Ife32dcfe9d035613c41399d7189e087cdb9f54d6
Reviewed-on: https://chromium-review.googlesource.com/1128248
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Reviewed-by: Jeffrey Yasskin <jyasskin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#573780}

--

wpt-commits: 0dcad092b51b7e71890565a7df114a1955a84b78
wpt-pr: 11839


--HG--
rename : testing/web-platform/tests/bluetooth/idl/idl-NavigatorBluetooth.html => testing/web-platform/tests/bluetooth/idl/idl-NavigatorBluetooth.https.html
rename : testing/web-platform/tests/bluetooth/idl/idlharness.tentative.window.js => testing/web-platform/tests/bluetooth/idl/idlharness.tentative.https.window.js
2018-07-20 13:04:40 +00:00
moz-wptsync-bot 9f8527dfbf Bug 1474738 [wpt PR 11894] - Update wpt metadata, a=testonly
wpt-pr: 11894
wpt-type: metadata
2018-07-20 13:04:39 +00:00
Luke Bjerring 319c56e76f Bug 1474738 [wpt PR 11894] - Update trivial IDL changes, a=testonly
Automatic update from web-platform-testsUpdate trivial IDL changes (#11894)

--

wpt-commits: 505ee7d28e099b7305984ea73a8ab705d3192da4
wpt-pr: 11894
2018-07-20 13:04:39 +00:00
Simon Pieters db4fb9fc64 Bug 1467733 [wpt PR 11400] - [testharness.js] Report error for worker errors, a=testonly
Automatic update from web-platform-tests[testharness.js] Report error for worker errors (#11400)

Ensure that uncaught exceptions in typical worker tests cause the
harness to report an ERROR status, and update the corresponding test
accordingly. Add a test to verify that the harness reports an OK status
in response to uncaught exceptions which originate from "single-page
test" workers.
--

wpt-commits: 98848dff9fe765e3719484392fa27458f5a21c54
wpt-pr: 11400
2018-07-20 13:04:38 +00:00
Luke Bjerring 8cfa4655dc Bug 1474677 [wpt PR 11890] - Update the webusb IDL file, a=testonly
Automatic update from web-platform-testsUpdate the webusb IDL file (#11890)

--

wpt-commits: db9d66853f0efd055c1f2100d0d9d468049dd9a1
wpt-pr: 11890
2018-07-20 13:04:38 +00:00
Zirro 690359913c Bug 1474195 [wpt PR 11848] - Verify that invalid selectors cause errors to be thrown for empty elements, a=testonly
Automatic update from web-platform-testsVerify that invalid selectors throw for empty elements

--

wpt-commits: 553778eb487e687efc08ef81b77206c7b91dd930
wpt-pr: 11848
2018-07-20 13:04:37 +00:00
moz-wptsync-bot 54d431787d Bug 1472612 [wpt PR 11748] - Update wpt metadata, a=testonly
wpt-pr: 11748
wpt-type: metadata
2018-07-20 13:04:36 +00:00
Anders Hartvoll Ruud 1220d42fb4 Bug 1472612 [wpt PR 11748] - Disallow font-relative units when resolving var() for font-size., a=testonly
Automatic update from web-platform-testsDisallow font-relative units when resolving var() for font-size.

For a registered custom property --foo, the following is no longer
allowed:

   --foo: 10em;
   font-size: var(--foo);

The same applies to ex and ch, as well as rem on the root element.

This is because --foo depends on font-size via the 'em' unit, and
font-size depends on --foo via the var() reference. This creates a
circular dependency that must be resolved somehow. The agreed-upon way
to resolve that, has been by treating the whole var() reference as
invalid.

This patch implements that cycle detection by adding flags to disallow
resolution of any var() references that contain font-relative units.
These flags are set in ResolveVariableReferences based on the
CSSPropertyID/StyleResolverState.

When a custom property itself contains var() references, it needs to
"inherit" the font-unit-ness from the resolved variables (similar to
is_animation_tainted). This is why flags have also been added to Result.

Bug: 848698
Change-Id: Ife0570949d996c5fc26dc10b1d7ca15bd27343b1
Reviewed-on: https://chromium-review.googlesource.com/1120334
Commit-Queue: Anders Ruud <andruud@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#573712}

--

wpt-commits: a8bd7948236886b2dbce7456beb0406e7d2207a1
wpt-pr: 11748
2018-07-20 13:04:36 +00:00
moz-wptsync-bot f0f057c009 Bug 1474329 [wpt PR 11855] - Update wpt metadata, a=testonly
wpt-pr: 11855
wpt-type: metadata
2018-07-20 13:04:35 +00:00
Luke Bjerring 85593f6c78 Bug 1474329 [wpt PR 11855] - Update the navigation-timing IDL file, a=testonly
Automatic update from web-platform-testsUpdate the navigation-timing IDL file (#11855)

--

wpt-commits: b195e9bf4c29b607132d33883077439506086f91
wpt-pr: 11855
2018-07-20 13:04:34 +00:00