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

627289 Коммитов

Автор SHA1 Сообщение Дата
Domenic Denicola 28b299a4a9 Bug 1508928 [wpt PR 14157] - Add tests for no active script in import(), a=testonly
Automatic update from web-platform-testsAdd tests for no active script in import() (#14157)

Follows https://github.com/whatwg/html/pull/4181.
--

wpt-commits: 5241a3fe2c638f9fadcc040f39f3e6a71a2be2e1
wpt-pr: 14157
2018-12-11 03:01:48 +00:00
Philip Jägenstedt 5c87a7966b Bug 1506701 [wpt PR 14025] - Find manifest for download by tags instead of commits, a=testonly
Automatic update from web-platform-testsFind manifest for download by tags instead of commits

This makes it possible to use `./wpt manifest` on a checkout that is
more than 50 commits behind master. The downside is that it will require
more network requests if the most recent tag/tags don't have releases
uploaded.

Add more warnings to make it clearer why it goes wrong when it does.

--

wpt-commits: 3657828ff4243fcc2f3b3fa4e7bed34d646ad565
wpt-pr: 14025
2018-12-11 03:01:48 +00:00
Philip Jägenstedt a9ff03fbb7 Bug 1507486 [wpt PR 14072] - Automate one fullscreen test using `test_driver.bless`, a=testonly
Automatic update from web-platform-testsAutomate one fullscreen test using `test_driver.bless` (#14072)

Part of https://github.com/web-platform-tests/wpt/issues/7281.
--

wpt-commits: 39e6009b920f632e6c2fee6cd3d96418d677d04f
wpt-pr: 14072
2018-12-11 03:01:48 +00:00
moz-wptsync-bot b4e8dd7584 Bug 1508914 [wpt PR 14154] - Update wpt metadata, a=testonly
wpt-pr: 14154
wpt-type: metadata
2018-12-11 03:01:47 +00:00
Ian Clelland bbbe40bf28 Bug 1508914 [wpt PR 14154] - Fix Feature Policy report output, a=testonly
Automatic update from web-platform-testsFix Feature Policy report output

This brings the feature policy report format in line with the spec,
and fixes the tests which were broken by WPT import.

Bug: 907232
Change-Id: If9d9469956221c18a1aa72ee39debb1340efc01f
Reviewed-on: https://chromium-review.googlesource.com/c/1338167
Commit-Queue: Ian Clelland <iclelland@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610427}

--

wpt-commits: 1832abd9419a532881abe413ef20e717ee8d2a3e
wpt-pr: 14154
2018-12-11 03:01:47 +00:00
Jan-Ivar Bruaroey 579665dbf3 Bug 1509239 [wpt PR 14175] - Fix bad merge 'Merge branch 'master' into gecko/1498793'., a=testonly
Automatic update from web-platform-testsFix bad merge 'Merge branch 'master' into gecko/1498793'.

--
Merge pull request #14175 from jan-ivar/mergefix

Fix bad merge 'Merge branch 'master' into gecko/1498793'.
--

wpt-commits: 379c165e7c1d84d67fa1c53eb3c8c642566427f9, deaca4f1919bd2e44a708fce3a708e01e244da65
wpt-pr: 14175
2018-12-11 03:01:46 +00:00
moz-wptsync-bot 35be142ee6 Bug 1509204 [wpt PR 14172] - Update wpt metadata, a=testonly
wpt-pr: 14172
wpt-type: metadata
2018-12-11 03:01:46 +00:00
Mattias Buelens 76a8611523 Bug 1509204 [wpt PR 14172] - [streams] Refactor to multi-global test format, a=testonly
Automatic update from web-platform-tests[streams] Refactor to multi-global test format (#14172)

* Rename streams tests to .any.js
* Use metadata to import resources in streams tests
* Run streams tests in all scopes
* Delete old test wrappers
* Delete old test wrapper generator
* Replace setTimeout with step_timeout
* Use t.step_timeout in tests
* Remove obsolete done calls

--

wpt-commits: a89730a0f3638d709ccc42064c8f8eb8935b04f7
wpt-pr: 14172
2018-12-11 03:01:45 +00:00
moz-wptsync-bot 231548a109 Bug 1507325 [wpt PR 14060] - Update wpt metadata, a=testonly
wpt-pr: 14060
wpt-type: metadata
2018-12-11 03:01:45 +00:00
Mugdha Lakhani 6850e1c0d0 Bug 1507325 [wpt PR 14060] - Add a list of BackgroundFetchRecord objects to BackgroundFetchRegistration., a=testonly
Automatic update from web-platform-testsAdd a list of BackgroundFetchRecord objects to BackgroundFetchRegistration.

When we allow access to active background fetches, BackgroundFetchRecords for
the fetch can be accessed from multiple places. It simplifies matters if
we return the same record for a request whenever it's accessed.

This CL adds a (private) list of BackgroundFetchRecords to the
BackgroundFetchRegistration object, and updates it every time match and
matchAll() are called.

The second change introduced here is to not immediately resolve
responseReady() if the fetch is active and a response for the request
isn't yet available. Once the fetch has completed, or there's a response
available for the request, we resolve pending promises. We also make sure to
return the same promise (resolved or unresolved) for a given record,
every time responseReady is called.

For a more detailed discussion, see the following doc:
https://docs.google.com/document/d/1CrbWrnnshhyp_SfiAeuODpnQX36GK3Bsi19rXQGez6Q/edit?usp=sharing

Bug: 875201

Change-Id: I8cb386efd19086c0993ad2be2fb2691ad90597ec
Reviewed-on: https://chromium-review.googlesource.com/c/1336151
Commit-Queue: Mugdha Lakhani <nator@chromium.org>
Reviewed-by: Rayan Kanso <rayankans@chromium.org>
Reviewed-by: Peter Beverloo <peter@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610410}

--

wpt-commits: 12720fdc8914deec3e7cc627036a26217cc1e908
wpt-pr: 14060
2018-12-11 03:01:45 +00:00
Yutaka Hirano dd569b435b Bug 1509343 [wpt PR 14185] - Make ReadableStream extendable, a=testonly
Automatic update from web-platform-testsMake ReadableStream extendable

IDL defined ReadableStream was not extendable because it didn't use
provided |info.Holder()| as its wrapper. Instead, it creates a new
wrapper in Create functions.

This CL solves the issue by making the constructor "custom". The custom
constructor creates a blink::ReadableStream first, then associates it
to the wrapper, and then calls the appropriate Init function.

Bug: 906476
Change-Id: I91a7fec1cf4ee5e08704a944b0af852584d1679e
Reviewed-on: https://chromium-review.googlesource.com/c/1347643
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Reviewed-by: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610391}

--

wpt-commits: a51c2df43ad4491d9a778f0f93e83b596fe47c2b
wpt-pr: 14185
2018-12-11 03:01:44 +00:00
moz-wptsync-bot f6b92f4172 Bug 1509360 [wpt PR 14190] - Update wpt metadata, a=testonly
wpt-pr: 14190
wpt-type: metadata
2018-12-11 03:01:44 +00:00
Hiroki Nakagawa 9b3553fc18 Bug 1509360 [wpt PR 14190] - Worker: Add [Replaceable] to SharedWorkerGlobalScope.name, a=testonly
Automatic update from web-platform-testsWorker: Add [Replaceable] to SharedWorkerGlobalScope.name

The HTML spec requires SharedWorkerGlobalScope.name has [Replaceable]:
https://html.spec.whatwg.org/multipage/workers.html#shared-workers-and-the-sharedworkerglobalscope-interface

This CL also fixes a test expectation of
wpt/workers/interfaces/SharedWorkerGlobalScope/name/setting.html. The name
attribute is now replaceable, so the result should be replaced. Firefox fails
the test because of this wrong expectation:
https://wpt.fyi/results/workers/interfaces/SharedWorkerGlobalScope/name/setting.html?label=stable&aligned&q=%2Fname%2Fsetting.html

Bug: 875714
Change-Id: Id04ae30895a2de4a07e30f49dc1189bb9742f6b9
Reviewed-on: https://chromium-review.googlesource.com/c/1347962
Reviewed-by: Kent Tamura <tkent@chromium.org>
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610383}

--

wpt-commits: 76781be440f9f54acd0c8edc48dc423d727b4bba
wpt-pr: 14190
2018-12-11 03:01:43 +00:00
moz-wptsync-bot aa89c1bb00 Bug 1508871 [wpt PR 14148] - Update wpt metadata, a=testonly
wpt-pr: 14148
wpt-type: metadata
2018-12-11 03:01:43 +00:00
Fredrik Söderquist 4ddb6295a6 Bug 1508871 [wpt PR 14148] - Expose all constants on SVGFEBlendElement, a=testonly
Automatic update from web-platform-testsExpose all constants on SVGFEBlendElement

Per:

  https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEBlendElement

All other browsers expose these already.

Bug: 906612
Change-Id: I4be6185d4832d980a5d7c6518dcb0b2ccca2ce82
Reviewed-on: https://chromium-review.googlesource.com/c/1341846
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Commit-Queue: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610379}

--

wpt-commits: 21705cd7f9e2319c8e0bdb7f315f4217707fbe76
wpt-pr: 14148
2018-12-11 03:01:43 +00:00
Matt Falkenhagen 48a3a778ae Bug 1509335 [wpt PR 14183] - WPT: service worker: canvas tainting with two images from the same URL, a=testonly
Automatic update from web-platform-testsWPT: service worker: canvas tainting with two images from the same URL

This adds a test that does the following:
- Writes to a canvas with a cors same-origin image
- Writes to a canvas with a cors cross-origin image from the same URL
- Tests that the canvas is tainted after the second step.

Bug: 907047
Change-Id: Ie231b442eb9b55c642b3957c065555e6f4997a83
Reviewed-on: https://chromium-review.googlesource.com/c/1347952
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: Makoto Shimazu <shimazu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610356}

--

wpt-commits: d65f24c346dff3b5dce2983b413805b97c223417
wpt-pr: 14183
2018-12-11 03:01:42 +00:00
kaixinjxq 2d93a317b7 Bug 1507797 [wpt PR 14091] - Test getUserMedia non-applicable constraints are ignored, a=testonly
Automatic update from web-platform-testsTest getUserMedia non-applicable constraints are ignored

--
Merge pull request #14091 from kaixinjxq/issue_13363_getUserMedia_ignore_constraints

Test getUserMedia non-applicable constraints are ignored
--

wpt-commits: 96a20b4937d9fc4d8489d4f96b39343fa3e39722, 0419df7b64914c5ff8c0b24fd361f86555bab24e
wpt-pr: 14091
2018-12-11 03:01:42 +00:00
Brian Birtles 45d5f2e954 Bug 1509355 [wpt PR 14189] - Add scroll-animations reviewers, a=testonly
Automatic update from web-platform-testsAdd scroll-animations reviewers

Antoine and Stephen have recently been added as editors of the spec
--

wpt-commits: c34207cd731d8aebfb6a8b7eb706259149b6240b
wpt-pr: 14189
2018-12-11 03:01:42 +00:00
Domenic Denicola 52a2468f9d Bug 1500160 [wpt PR 13600] - Add tests for simple dialog newline normalization, a=testonly
Automatic update from web-platform-testsAdd tests for simple dialog newline normalization

Follows https://github.com/whatwg/html/pull/4105.
--

wpt-commits: c73a85e666558413c672e183cf388d9724fce578
wpt-pr: 13600
2018-12-11 03:01:41 +00:00
autofoolip f5ebdfbbdf Bug 1509349 [wpt PR 14187] - Update interfaces/fetch.idl, a=testonly
Automatic update from web-platform-testsUpdate interfaces/fetch.idl (#14187)

Source: https://github.com/tidoust/reffy-reports/blob/ad6a3af/whatwg/idl/fetch.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/458282545
--

wpt-commits: 53dc4fb61401f49e7312d1470139940b9892bb89
wpt-pr: 14187
2018-12-11 03:01:41 +00:00
autofoolip a42e8adbaa Bug 1509351 [wpt PR 14188] - Update interfaces/scroll-animations.idl, a=testonly
Automatic update from web-platform-testsUpdate interfaces/scroll-animations.idl (#14188)

Source: https://github.com/tidoust/reffy-reports/blob/ad6a3af/whatwg/idl/scroll-animations.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/458282545
--

wpt-commits: a606c3b63cc92971aff8bd1a83d2140ecd2815b1
wpt-pr: 14188
2018-12-11 03:01:41 +00:00
moz-wptsync-bot de23faae46 Bug 1509312 [wpt PR 14182] - Update wpt metadata, a=testonly
wpt-pr: 14182
wpt-type: metadata
2018-12-11 03:01:40 +00:00
jugglinmike 2d218bffc7 Bug 1509312 [wpt PR 14182] - [cookies] Add test for default path calculation, a=testonly
Automatic update from web-platform-tests[cookies] Add test for default path calculation (#14182)

* [cookies] Add test for default path calculation

* fixup! [cookies] Add test for default path calculation

--

wpt-commits: ad1f7dc356c8f61a5f822def378ebde50c610420
wpt-pr: 14182
2018-12-11 03:01:40 +00:00
npm1 0651aa58f8 Bug 1509243 [wpt PR 14176] - Create EventTiming folder, a=testonly
Automatic update from web-platform-testsCreate EventTiming folder (#14176)

In particular, the META file includes the explainer in place of the spec (no spec yet).
--

wpt-commits: 579140910974daa5394f741197b0b68179882490
wpt-pr: 14176
2018-12-11 03:01:39 +00:00
Brindusan Cristian cab76a96b5 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-12-11 00:11:47 +02:00
Brindusan Cristian c0be6a4290 Merge inbound to mozilla-central. a=merge 2018-12-11 00:05:18 +02:00
Brindusan Cristian bc1f3670dc Merge autoland to mozilla-central. a=merge 2018-12-11 00:01:51 +02:00
Nathan Froyd 47b90c968b Bug 1511470 - part 2 - reduce copying of profile data in ProfilerChild; r=mstange
This case is exactly the same as the previous commit: we can just adopt
the newly-generated profile into the outgoing nsCString.
2018-12-10 16:22:26 -05:00
Nathan Froyd e1d14adf40 Bug 1511470 - part 1 - reduce copying of profile data in FinishGathering(); r=mstange
At this point, we've freshly allocated data for the generated JSON.
There's no need to copy it into a separate nsCString; we can simply
adopt the generated JSON into the nsCString, saving a copy.
2018-12-10 16:22:26 -05:00
Geoff Brown dc6d556802 Bug 1512408 - Build crash symbol artifacts for Android x86-64 debug artifact builds; r=nalexander 2018-12-10 13:37:26 -07:00
Geoff Brown 4e8eb29338 Bug 1512492 - Improve support for unicode logcat content in android test logs; r=bc 2018-12-10 13:37:22 -07:00
Geoff Brown bca26bb348 Bug 1509324 - Poll remote process less often during startup and shutdown; r=kwierso 2018-12-10 13:37:19 -07:00
Boris Zbarsky c734e83c48 Bug 1511401 part 4. Use CallArgs::requireAtLeast in the DOM. r=nbp,qdot 2018-12-10 14:13:06 -05:00
Boris Zbarsky d28b50be98 Bug 1511401 part 3. Inline the fast (no error) path of requireAtLeast. r=nbp
We don't want to pay the cost of a function call here in DOM bindings.
2018-12-10 14:13:05 -05:00
Boris Zbarsky 7f5c7dd8aa Bug 1511401 part 2. Have JSMGS_MORE_ARGS_NEEDED say how many args it actually got. r=nbp 2018-12-10 14:13:05 -05:00
Boris Zbarsky fee3a8438c Bug 1511401 part 1. Use requireAtLeast more in the JS engine. r=nbp
Looks like these uses might predate requireAtLeast existing.
2018-12-10 14:13:05 -05:00
June Wilde b24cf79204 Bug 1508782 - Add moz.yaml for bspatch in toolkit/mozapps/update; r=mhowell
Moves bspatch.h and bspatch.cpp into new folder
Adds LICENSE, moz.yaml, and moz.build for bspatch
Alters bsdiff and updater build files to account for the new location of bspatch
Renames toolkit/mozapps/update/common/errors.h to toolkit/mozapps/update/common/updatererrors.h for
breaking windows builds. It collided with MSVCRT's exported errors.h after being added to the export list for
the 'updatercommon' library

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

--HG--
rename : toolkit/mozapps/update/common/errors.h => toolkit/mozapps/update/common/updatererrors.h
rename : toolkit/mozapps/update/updater/bspatch.cpp => toolkit/mozapps/update/updater/bspatch/bspatch.cpp
rename : toolkit/mozapps/update/updater/bspatch.h => toolkit/mozapps/update/updater/bspatch/bspatch.h
extra : moz-landing-system : lando
2018-12-10 19:07:42 +00:00
Dave Townsend 78cd66e19c Bug 1513036: Ignore files generated in the source tree by lalrpop. r=ted 2018-12-10 11:05:01 -08:00
James Graham d4f93713b9 Bug 1513023 - Wait for wpt tests to finish across reloads, r=ato
When wpt is used by developers they often want to reload a test that's
running to allow iterative development (or running under devtools,
etc.). The recent switch to target marionette commands at the test
window rather than the opener window broke this as waiting is
implemented as an async script that never returns (i.e. a promise that
never resolves) and when this is in the test window navigating that
window causes the script to return.

A simple, but not particuarly elegant, solution here is to simply
rerun the script in the new window.

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

--HG--
extra : moz-landing-system : lando
2018-12-10 18:39:39 +00:00
Dan Minor 4c2f93d7ef Bug 1497650 - Remove 100 bytes added to CalcBufferSize in vp8_impl.cc; r=ng
In Bug 919979 we added 100 bytes to the size returned by CalcBufferSize
to work around an error with the calculated buffer size with small
resolutions. I verified that this extra buffer is no longer required with
a modified mochitest. Given the age of the bug this was working around,
I don't think a permanent test is required to prevent regressions from
upstream.

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

--HG--
extra : moz-landing-system : lando
2018-12-10 17:19:34 +00:00
Jason Orendorff 4499193a01 Backed out 2 changesets (bug 1488417, bug 1259822) for web compat issues.
Backed out changeset b58b7cd29a0b (bug 1488417)
Backed out changeset f0c6e521429c (bug 1259822)

--HG--
extra : rebase_source : 8c06ed65ee33eddad7131694beb9740abeca82cb
2018-12-10 10:47:47 -06:00
Matt Woodrow 084029f653 Bug 1510853 - Followup to restore code that accidentally got removed during a rebase.
--HG--
extra : amend_source : 59efe45c760f02f0134ec1edcabc68dbe857d7d5
2018-12-11 08:31:12 +13:00
Sebastian Hengst df1d0673b0 Backed out changeset 725a692947dd (bug 675428) for opening multiple tabs (bug 1496380) - bug 1512496
--HG--
extra : source : 0cf938ef3c98b60c9e276a197b50ea9a2bf14c38
2018-12-10 18:44:24 +02:00
Yura Zenevich edfcc41e95 Bug 1512980 - ensure that the right window is used when calculating the contrast ratio in accessibility highlighter. r=pbro
MozReview-Commit-ID: 9AFXlLnkZvs

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

--HG--
extra : moz-landing-system : lando
2018-12-10 16:41:43 +00:00
Emilio Cobos Álvarez 26110eea9b Bug 1513015 - Remove unneeded inherit-scroll-behavior class. r=botond
Use a more general rule instead, since we add the class unconditionally.

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

--HG--
extra : moz-landing-system : lando
2018-12-10 18:03:44 +00:00
Toby Ward b7922e7f75 Bug 1435562 - browser.tabs.warnOnOpen is now respected when opening multiple items from the library. r=Standard8
- Unified openContainerNodeInTabs and openURINodesInTabs in PlacesUIUtils into openMultipleLinksInTabs
- Users are now warned when the amount of links to be opened is equal to or exceeds browser.tabs.maxOpenBeforeWarn

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

--HG--
extra : moz-landing-system : lando
2018-12-10 17:04:18 +00:00
Florens Verschelde 3c6fc58b10 Bug 1512263 - Photonize the devtools accessibility icon; r=yzen,gl
Differential Revision: https://phabricator.services.mozilla.com/D14008

--HG--
extra : moz-landing-system : lando
2018-12-10 16:56:24 +00:00
Cosmin Sabou e3d5f2a521 Backed out changeset 6f69dc19ed7c (bug 1507487) for devtools failures on browser_scratchpad_pprint.js CLOSED TREE 2018-12-10 19:04:49 +02:00
Andreas Tolfsen 2f9e4fdbc3 bug 1512264: webdriver: reuse http connection in test client; r=jgraham
Whilst we do set the Keep-Alive HTTP header to request the HTTPD to
use a persistent connection, we throw away the httplib.HTTPConnection
object after each request.  This will causes the HTTPD to serve us
a persistent connection, only to throw it away after the first request.

When the connection timeout is reached, httplib closes the connection
for us.  Unfortunately httplib does not reconnect for the next
request, so we need to manually check if the underlying socket
connection to the server is alive.

We check whether the connection has dropped or if it has unread,
buffered data using select() as a poller.  We could use poll() here
on available systems, which might give a theoretical performance
improvement since it gives O(number of file descriptors), but since
we only deal with one connection select() will probably be good enough.

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

--HG--
extra : moz-landing-system : lando
2018-12-10 16:10:45 +00:00
Cosmin Sabou c794cea671 Bug 1501688 - Fix eslint failures for trailing spaces. r=eslint-fix 2018-12-10 18:46:32 +02:00