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

25664 Коммитов

Автор SHA1 Сообщение Дата
Kris Maglione 4a168a8034 Bug 1479235: Stop whitelisting SpecialPowers helper modules for content process startup. r=felipe
MozReview-Commit-ID: 3y3qTVsB3ly

--HG--
extra : rebase_source : 01a7939d874d4435dd09fbf29bb166c2a234bad5
2018-07-28 17:38:05 -07:00
Ryan Hunt a2d89c778c Bug 1480139 - Disable tiling on linux due to high crash rate. r=jrmuizel
We're experiencing a high volume of content crashes on linux, most likely due to
free type thread unsafety seen in bug 1477444 and 1479498. This commit disables
tiling to stop the crashes for now while we investigate further.

--HG--
extra : rebase_source : 9becf3d4c5e41eb6a30ed12008ed342663660291
extra : intermediate-source : b9b178105f1bd1d794e53c2fb128bd9e505f8f32
extra : source : d28438c3e7596af6d6e482f3b227c7cb43dbbf26
2018-08-01 11:31:11 -05:00
Andreas Tolfsen 268fbf91e8 Bug 1470659 - Regenerate WPT manifest. r=me 2018-08-01 18:32:33 +01:00
Andreas Tolfsen 9dccee3a24 Bug 1470659 - Parametrize capabilities tests. r=whimboo
To be able to ignore tests for individual capabilities we need to
parametrize these tests.  geckodriver now supports setWindowRect,
but fails the proxy capability test because it is for some reason
not propagated back.
2018-08-01 18:31:26 +01:00
Andreas Tolfsen a873cd8570 Bug 1470659 - Move timeouts test to separate file. r=automatedtester,whimboo
For similar reasons as for platformName, tests for configuring the
timeouts object do not belong in the same parent test as those for
response body structure.
2018-08-01 18:31:26 +01:00
Andreas Tolfsen e978cfd33d Bug 1470659 - Move platformName test to separate file. r=whimboo
Specific tests for the platformName capability do not belong in
the test for the response body structure.
2018-08-01 18:31:25 +01:00
Andreas Tolfsen 015c30f932 Bug 1470659 - Add setWindowRect capability to geckodriver. r=automatedtester
It will never be possible to configure setWindowRect, and trying
to do so will cause geckodriver to return with an error.
2018-08-01 18:31:25 +01:00
Andreas Tolfsen 42d2cf5275 Bug 1470659 - Add setWindowRect capability to Marionette. r=whimboo
The setWindowRect capability is mandated by the WebDriver standard
and is an indication whether the driver supports manipulating the
window dimensions and position.

This will always be true for Firefox and always false for Fennec.
2018-08-01 18:31:25 +01:00
Andreas Tolfsen 2dee10d7b9 Bug 1470659 - Simplify Marionette capability parsing. r=whimboo
Change the switch-statement to only do assertions, and replace the
v variable with any parsed values before writing it to the matched
set of capabilities in one location.
2018-08-01 18:31:24 +01:00
Boris Zbarsky 754087a992 Bug 1446940 part 5. Stop getting docshells from windows via getInterface in dom/editor/etc code. r=kmag 2018-08-01 13:07:11 -04:00
moz-wptsync-bot b2e35088a6 Bug 1479767 - [wpt-sync] Update web-platform-tests to 00d1189bc19907a981ee8ee9b90229121bf3ac51, a=testonly
wpt-head: 00d1189bc19907a981ee8ee9b90229121bf3ac51
wpt-type: landing
2018-08-01 16:34:57 +00:00
Harald Alvestrand 9380022462 Bug 1477651 [wpt PR 12141] - webrtc: make transceiver tests work in Firefox, a=testonly
Automatic update from web-platform-testsMerge pull request #12141 from fippo/remember-firefox

webrtc: make transceiver tests work in Firefox
--

wpt-commits: 00d1189bc19907a981ee8ee9b90229121bf3ac51
wpt-pr: 12141
2018-08-01 16:34:57 +00:00
Kent Tamura 78f39dc2bb Bug 1479404 [wpt PR 12226] - Revert "html: Split semantics/tabular-data/processing-model-1/span-limits.html into two.", a=testonly
Automatic update from web-platform-testsRevert "html: Split semantics/tabular-data/processing-model-1/span-limits.html into two."

This reverts commit bb69db9e4daaee1b42d5026d3d4596614e3908ca.

Reason for revert: Found that both of tests still timed out.

Original change's description:
> html: Split semantics/tabular-data/processing-model-1/span-limits.html into two.
>
> The third test and the forth test are very slow. Split out the latter to
> another file.
>
> Bug: https://github.com/web-platform-tests/wpt/issues/11187
> Change-Id: I3af14e712b6b06603140666f08005fb18d6a0541
> Reviewed-on: https://chromium-review.googlesource.com/1148163
> Reviewed-by: Takayoshi Kochi <kochi@chromium.org>
> Commit-Queue: Kent Tamura <tkent@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#578991}

TBR=kochi@chromium.org,tkent@chromium.org

Change-Id: I1733918daad4fcc6ed83e015397b9830443b22aa
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: https://github.com/web-platform-tests/wpt/issues/11187
Reviewed-on: https://chromium-review.googlesource.com/1154569
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579011}

--

wpt-commits: d892efb842377ae0b73b39a0d0a80f0b9a998c8f
wpt-pr: 12226
2018-08-01 16:34:56 +00:00
Robert O'Callahan 84fff49256 Bug 1479955 - MarionetteTestharnessExecutor sets a timeout of 0 when running with a debugger, r=jgraham
MozReview-Commit-ID: BI9a0Y31xDk
2018-08-01 14:31:29 +01:00
Dorel Luca 57113ba2b4 Backed out 2 changesets (bug 1473648, bug 1476661) for mochitest failure on testing/mochitest/tests/python/test_basic_mochitest_plain.py
Backed out changeset dbb14978acf8 (bug 1473648)
Backed out changeset de933cb380f9 (bug 1476661)
2018-08-01 16:01:05 +03:00
Dorel Luca a6587cb874 Merge mozilla-cental to mozilla-inbound
--HG--
rename : browser/components/payments/test/mochitest/test_labelled_checkbox.html => browser/components/payments/test/mochitest/test_completion_error_page.html
extra : rebase_source : 8549ae557dceba753101a71840a5076783bd1d36
2018-08-01 12:54:59 +03:00
Dorel Luca d0a0ae30d5 Merge mozilla-inbound to mozilla-central. a=merge 2018-08-01 12:51:56 +03:00
David Heiberg 81d96b4ab0 Bug 1473648 [wpt PR 11806] - [WIP] Prototype HTTP/2.0 Server, a=testonly
Automatic update from web-platform-tests[WIP] Implemented a prototype H2 Server that can establish HTTP/2.0 connections on port 9000, and serve directories.

* Added event handling for ConnectionTerminated

* Added backwards compatibility with HTTP/1.1 Python handler files.

* Made it so a command line flag is needed to start the H2 server, and it is no longer started by default.

* Refactored compatibility checking when launching HTTP/2.0 server

* Created H1 and H2 handler variants, keeping shared logic in a base class

* Added a `raw_headers` field to the H2Headers object, so that the non-converted keys are exposed

* Added basic multithreading support. Requests now get placed in a thread to finish handling, whilst server listens
for more requests/windows updates.

* Created a ConnectionGuard object for the H2 connection object for thread safety as per jgraham's suggestion

--
Vendored in h2 and its dependencies

--

wpt-commits: 8ccd0cdbb51f89e1c45f16b7843dca1ffca37c91, 0e78a45d9f8ebe9d0f0978d6c2fe59a512e9865b
wpt-pr: 11806
MozReview-Commit-ID: 8qojXnrrAN0
2018-08-01 10:52:12 +01:00
David Heiberg 47775cc206 Bug 1476661 - Ensure H2 dependencies are packaged alongside wptserve where needed, r=jgraham 2018-08-01 10:52:11 +01:00
Andrea Marchesini 6c0e1e4469 Bug 1479519 - WPT for Clear-Site-Data executionContexts, r=smaug 2018-08-01 09:01:40 +02:00
Andrea Marchesini 44ce53c72e Bug 1476592 - Remove the cache from nsCSPContext - part 2 - sendViolationReports parameter, r=ckerschb, r=aosmond 2018-08-01 06:35:24 +02:00
Cameron McCormack 046bd5fe7f Bug 1475197 - Part 1: Shrink selectors::Component to 24 bytes. r=emilio
This saves about 37 KiB of memory across the UA style sheets.

MozReview-Commit-ID: EoZnlmyWwxX

--HG--
extra : rebase_source : cd8ef0ba838618f9a4583b7d9896caa3a0602199
2018-07-16 12:15:47 +10:00
Bogdan Tara bd351673a5 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-01 01:05:56 +03:00
Bogdan Tara 9c44097a0d Merge inbound to mozilla-central. a=merge 2018-08-01 00:58:55 +03:00
Andrew Swan ad31645d25 Bug 1451513 Part 3: Make loading the mochitest extension more robust r=kmag
A couple of changes to ensure that the mochitest harness doesn't try to
start executing changes before the mochitest extension is loaded:
1. Fix the marionette driver to wait for an installed extension to
   be started before returning from Addon:install
2. Wait for extension API onStartup() handlers to finish before
   considering a webextension started.

MozReview-Commit-ID: 8YEdNn6s5qh

--HG--
extra : rebase_source : 67e9abadcda82d55ac73c33367ec65cdbf7b823d
2018-07-30 17:03:27 -07:00
Gijs Kruitbosch dcbec7c8b6 Bug 1478404 - remove _xpcom_categories annotations as they're dead code, r=florian
Support for the _xpcom_categories property was removed in Bug 568691,
but we left a bunch of consumers behind, and it's been cargo-culted a bit more.
We should remove the remaining remnants.

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

--HG--
extra : moz-landing-system : lando
2018-07-31 17:39:25 +00:00
Byron Campen [:bwc] a600a51631 Bug 1476600: Stop reusing mids from stopped transceivers. r=jib
When a transceiver is stopped, its mid should not be reused by a new transceiver.

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

--HG--
extra : moz-landing-system : lando
2018-07-31 20:44:47 +00:00
Henrik Skupin 21b02e613d Bug 1479677 - [wdspec] Remove createFile fixture and file upload tests for multiple folders. r=ato
Checking if file upload works for files from different folders
is outside the scope of the wdspec tests. As such those tests,
and the `createFile` fixture can be removed.

MozReview-Commit-ID: DJ2seBjinxZ

--HG--
extra : rebase_source : 89bb61fa853cafece776534603aff62257de74f6
2018-07-31 08:59:02 +02:00
Thomas Wisniewski 35f7d4241c Bug 1459984 - avoid firing progress type ProgressEvents for sync XHRs in workers. r=baku
MozReview-Commit-ID: LVOMGGy73HV

--HG--
extra : rebase_source : 6f88b2a8ffec21239efb997b49644e7be0878ba3
2018-07-30 20:14:36 -04:00
Andrew Swan 3493324938 Bug 1451513 Part 2: Convert mochikit to a webextension r=jmaher,kmag
This is another quick-and-dirty port.  Some of the test logic could
probably be moved to unprivileged extension code but there's no urgent
reason to do that right now.

MozReview-Commit-ID: Af0XQbakLsx

--HG--
rename : testing/mochitest/bootstrap.js => testing/mochitest/api.js
extra : rebase_source : 3870a63d96c0b2d73ccc468393c75e17b884383f
extra : source : 604167986098726b86ea0f9252a63abab36d35c4
2018-07-05 15:42:11 -07:00
Anny Gakhokidze 469c8c4a94 Bug 1461465 - Implement async Clipboard APIs, r=nika,r=enndeakin
MozReview-Commit-ID: 3vCxbaGZtiv
2018-07-31 13:13:02 -04:00
Andreas Tolfsen 9fe71ae6f7 Bug 1479774 - Drop mozreview references from geckodriver docs. r=me
DONTBUILD
2018-07-31 15:10:57 +01:00
Andreas Tolfsen a7c41e76bd Bug 1479772 - Drop references to mozreview from Marionette docs. r=me 2018-07-31 15:07:37 +01:00
Bogdan Tara eb256a84b2 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-01 01:07:12 +03:00
Brindusan Cristian 888682e5d5 Backed out changeset e9cec41e7772 (bug 1458819) for linting failure on /testing/mozharness/configs/builds/branch_specifics.py:104:5. CLOSED TREE 2018-07-31 22:44:08 +03:00
James Graham 257428fc40 Bug 1479439 - Fix wpt manifest, a=testonly on a CLOSED TREE
MozReview-Commit-ID: 4ztR9jfrhiz
2018-07-31 15:03:05 +01:00
James Graham 23304678f9 Bug 1479290 - Reduce memory usage of wpt-update, r=ato
Summary:
The memory usage of wpt-update has always been high, and accidentially
regressed in Bug 1476053 to really problematic levels when doing a
full metadata update for all test results. This patch implements a
number of changes that reduce the peak memory usage to ~1Gb and the
heap after reading all results data to ~600Mb.

THere are several changes in this patch:

* Change from a dict {test: [(subtest, prop, run_info, result)]} to a
  nested dictionary {test: {subtest: [(prop, run_info,
  result)]}}. This fixes the silliness that caused the previous
  regression.

* Convert all unicode data to bytestrings and then intern() the
  bytestring. This allows reusing string allocations for repeated
  strings, of which there are many.

* Process the test manifests upfront and then allow the manifest data
  to be gc'd before starting to process the results files, so that we
  are not holding on to data that is no longer required.

* Stop storing status-type results as (status, default_expected); just
  look up the default_expected for a specific test if we have to
  update the expectations for that test.

* Add __slots__ to all frequently-allocated classes to avoid the
  overhead of constructing an __dict__ for each instance, which
  typically has size overhead (see
  e.g. http://book.pythontips.com/en/latest/__slots__magic.html )

* Move to using a custom compact representation for the list of
  per-subtest results i.e. [(prop, run_info, results)]. This uses an
  array.array of 2-byte ints to store the entries and effectively
  interns the values, bit packing the representations of property to
  be updated and result (if it's a test status) into 4 bits each in
  the first byte, and the run info into the second byte. Properties
  with a complex data representation (e.g. LSAN failures) are stored
  directly, with a 0 value of the status bits indicating that the
  complex value should be read.

Reviewers: ato

Tags: #secure-revision

Bug #: 1479290

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

MozReview-Commit-ID: 7zGpdzdaqRj
2018-07-31 14:16:14 +01:00
moz-wptsync-bot b5603c9dbf Bug 1479439 - [wpt-sync] Update web-platform-tests to 24c4f1e5c434a5ad018aa7467b7bfcffca764b8d, a=testonly
wpt-head: 24c4f1e5c434a5ad018aa7467b7bfcffca764b8d
wpt-type: landing
2018-07-31 13:05:50 +00:00
moz-wptsync-bot b4c987ebf6 Bug 1473464 [wpt PR 11796] - Update wpt metadata, a=testonly
wpt-pr: 11796
wpt-type: metadata
2018-07-31 13:05:50 +00:00
Luke Bjerring 2ce0115f76 Bug 1473464 [wpt PR 11796] - Update the SVG IDL file, a=testonly
Automatic update from web-platform-testsUpdate the SVG IDL file + test (#11796)

--

wpt-commits: 24c4f1e5c434a5ad018aa7467b7bfcffca764b8d
wpt-pr: 11796
2018-07-31 13:05:50 +00:00
Rune Lillesveen a44c1ef952 Bug 1479054 [wpt PR 12215] - Find LayoutText containing the first letter before attaching pseudo., a=testonly
Automatic update from web-platform-testsFind LayoutText containing the first letter before attaching pseudo.

We assert that we find the same text node before creating the element as
we find when attaching the first letter LayoutText. We used to attach
the ::first-letter pseudo element before finding the LayoutText from
which we get the first letter text.

We did crash in a clusterfuzz test because FirstLetterTextLayoutObject()
was confused by a combination of a grid, button, anonymous
wrappers and continuations. Instead of trying to fix all bugs in
FirstLetterTextLayoutObject(), find the LayoutText before attaching the
::first-letter to make sure we are consistent instead of chasing
clusterfuzz issues.

Reported the incorrectness for button, grid, and ::first-letter in
868380.

Bug: 859285, 868380
Change-Id: I335a32b466ab31858fb05ea5f650cf12ab674040
Reviewed-on: https://chromium-review.googlesource.com/1152982
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#578993}

--

wpt-commits: 3442f9d9d984af97c015dabbf1e59dde9585cca4
wpt-pr: 12215
2018-07-31 13:05:49 +00:00
Kent Tamura 8404555fa1 Bug 1477953 [wpt PR 12155] - html: Split semantics/tabular-data/processing-model-1/span-limits.html into two., a=testonly
Automatic update from web-platform-testshtml: Split semantics/tabular-data/processing-model-1/span-limits.html into two.

The third test and the forth test are very slow. Split out the latter to
another file.

Bug: https://github.com/web-platform-tests/wpt/issues/11187
Change-Id: I3af14e712b6b06603140666f08005fb18d6a0541
Reviewed-on: https://chromium-review.googlesource.com/1148163
Reviewed-by: Takayoshi Kochi <kochi@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#578991}

--

wpt-commits: 1e0465e0b37af31c2f261c3cfb3291afa143c1af
wpt-pr: 12155
2018-07-31 13:05:48 +00:00
kaixinjxq 47c3011aa8 Bug 1479351 [wpt PR 12223] - Remove html onshow tests, a=testonly
Automatic update from web-platform-testsRemove html onshow tests (#12223)

--

wpt-commits: ae6368e7b8fafc7acdd9b6c0d8a31bda95f72c68
wpt-pr: 12223
2018-07-31 13:05:48 +00:00
Kenichi Ishibashi 38c21de2cd Bug 1478965 [wpt PR 12205] - Fix typo in appcache-worker.py, a=testonly
Automatic update from web-platform-testsFix typo in appcache-worker.py

Change-Id: I67f20508138ef4690d3b1cb6744f23366b184767
Reviewed-on: https://chromium-review.googlesource.com/1152713
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Commit-Queue: Kenichi Ishibashi <bashi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#578959}

--

wpt-commits: 57f4c9655fdbfb9e555c9c0a2de6d3c90b4e01fe
wpt-pr: 12205
2018-07-31 13:05:47 +00:00
Ovidio Henriquez 49467bb939 Bug 1478962 [wpt PR 12200] - Remove Shared Worker WPT for WebUSB, a=testonly
Automatic update from web-platform-testsRemove Shared Worker WPT for WebUSB

This change removes the WebUSB on Shared Worker web platform tests,
since the feature is not yet implemented in any browser.

Bug: 841510
Change-Id: I6cd09c245edcd69799b39701b82ba1510caf845e
Reviewed-on: https://chromium-review.googlesource.com/1151752
Reviewed-by: Chong Zhang <chongz@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Commit-Queue: Ovidio Henriquez <odejesush@chromium.org>
Cr-Commit-Position: refs/heads/master@{#578479}

--

wpt-commits: ba4921d054808a44c2966507c19861ca729a76a2
wpt-pr: 12200
2018-07-31 13:05:46 +00:00
L. David Baron d7ce997cc8 Bug 1479047 [wpt PR 12214] - Sync Mozilla tests as of 2018-07-27, a=testonly
Automatic update from web-platform-testsSync Mozilla tests as of https://hg.mozilla.org/mozilla-central/rev/87bcafe428a4ad6017e59b915581ae00aa863407 . (#12214)

This contains a single change, from [bug 1470176](https://bugzilla.mozilla.org/show_bug.cgi?id=1470176) by @MReschenberg, reviewed by @dholbert.
--

wpt-commits: 353fe01fc2b657735e57c29bf99eb0fd67f24d47
wpt-pr: 12214
2018-07-31 13:05:45 +00:00
Yutaka Hirano e297b5c8de Bug 1478689 [wpt PR 12192] - [OOR-CORS] Add a wpt for CORS with sandboxed-iframe, a=testonly
Automatic update from web-platform-tests[OOR-CORS] Add a wpt for CORS with sandboxed-iframe

CORSURLLoader uses network::ResourceRequest::request_initiator which
ignores iframe sandboxing, which is a bug. Let's add a simple test for
the behavior.

Bug: 867834
Change-Id: Ia45113503f98b3d18e31c785e703d29eee658d08
Reviewed-on: https://chromium-review.googlesource.com/1151167
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#578636}

--

wpt-commits: b1f0b037511dbfb6ce9801c57fecc7efed944482
wpt-pr: 12192
2018-07-31 13:05:44 +00:00
moz-wptsync-bot 6c8377062f Bug 1478285 [wpt PR 12179] - Update wpt metadata, a=testonly
wpt-pr: 12179
wpt-type: metadata
2018-07-31 13:05:44 +00:00
Philipp Hancke 88e0508f9f Bug 1478285 [wpt PR 12179] - webrtc wpt: remove generateMediaStreamTrack, add cleanup after getNoiseStream, a=testonly
Automatic update from web-platform-testswebrtc wpt: remove generateMediaStreamTrack, add cleanup after getNoiseStream

BUG=836871

Change-Id: I278b34cb305a13a029e84eaaeec57144e2858678
Reviewed-on: https://chromium-review.googlesource.com/1149364
Reviewed-by: Henrik Boström <hbos@chromium.org>
Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com>
Cr-Commit-Position: refs/heads/master@{#578611}

--

wpt-commits: 36c9fdd4ef36c289f416a16707074157d818ea7c
wpt-pr: 12179
2018-07-31 13:05:43 +00:00
jimevans 46e8c589b8 Bug 1470769 [wpt PR 11649] - Update Chrome WebDriver capabilities to use vendor prefix, a=testonly
Automatic update from web-platform-testsUpdate Chrome WebDriver capabilities to use vendor prefix (#11649)

The Chrome WebDriver implementation uses `goog:` for Chrome-specific
settings in its capabilites. The capabilites used in the current test
suite does not use this prefix. This commit resolves that issue.
--

wpt-commits: 312f233727faaeb58269f4cb2ea67a534e35402b
wpt-pr: 11649
2018-07-31 13:05:43 +00:00