Commit Graph

24490 Commits

Author SHA1 Message Date
Andreea Pavel
903008e848 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-07-05 19:29:15 +03:00
Ms2ger
74b15ebc94 Bug 1460546 - Add a mach jstests command; r=dminor 2018-07-05 14:42:52 +02:00
Ciure Andrei
a55b661b04 Merge inbound to mozilla-central. a=merge 2018-07-05 12:51:41 +03:00
Andrea Marchesini
dfc5cfb571 Bug 1473024 - CSP should throw EvalError when blocking eval(), r=ckerschb 2018-07-05 08:21:04 +02:00
Andrea Marchesini
e4ccc82e67 Bug 1418246 - Return valid columnNumber value in CSP violation events, r=ckerschb 2018-07-05 08:21:04 +02:00
Emilio Cobos Álvarez
d41e6076e9 Bug 1473225 - Update another entry in shape-margin-003.html.ini. r=me CLOSED TREE
MozReview-Commit-ID: DsSM6qSENEq
2018-07-05 05:48:25 +02:00
Raphael Pierzina
cf99ccc3d9 Bug 1471625 - Bump mozinfo to v1.0.0 and update classifiers;r=davehunt
MozReview-Commit-ID: 1Kgl4fCzCyq
2018-07-03 14:22:11 +02:00
Raphael Pierzina
eab4071ec7 Bug 1471625 - Create setup.cfg for universal wheels in mozinfo;r=davehunt
MozReview-Commit-ID: 3GRRIx3KH6x
2018-07-03 13:39:20 +02:00
Raphael Pierzina
39b71d8a15 Bug 1471625 - Resolve Python 3.5 compat issues in mozinfo;r=davehunt
MozReview-Commit-ID: HdPEVAJnXZf
2018-07-03 11:06:11 +02:00
Justin Wood
f6b5b54c93 Bug 1473528 - Don't cause jobs to auto-retry when failing for desktop l10n. r=sfraser
In l10n repacks we run the repackage multiple times, once for each locale. If something low level fails (like compare-locales) we'll abort out and call _add_failure (from _map) which then will set the return code based on the type of failure.

However it, by default, will increment the return code each time it is called in BaseScript, so to preserve expectations here we should disable that from desktop_l10n.py

Differential Revision: https://phabricator.services.mozilla.com/D1971
2018-07-05 13:15:19 +00:00
Coroiu Cristina
34c5df272d Merge inbound to mozilla-central a=merge 2018-07-05 03:14:19 +03:00
Emilio Cobos Álvarez
c90fe62ec8 Bug 1473225 - Serialize a few more lengths with Servo. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D1934
2018-07-04 06:42:38 +00:00
Coroiu Cristina
240dbf1078 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-07-05 03:33:16 +03:00
moz-wptsync-bot
7f7cd57da0 Bug 1472741 - [wpt-sync] Update web-platform-tests to 7b2cd8b78d938ea8879adc6419f2ea14b6af8bad, a=testonly
wpt-head: 7b2cd8b78d938ea8879adc6419f2ea14b6af8bad
wpt-type: landing
MozReview-Commit-ID: 4skvwpLpHzT
2018-07-04 18:15:10 +01:00
Luke Bjerring
0b576a3dc4 Bug 1467968 [wpt PR 11445] - Clean up budget-api idl test, a=testonly
Automatic update from web-platform-testsClean up budget-api idl test (#11445)

Follow up for #9763 now that #10338 is resolved and we have #10381 too.
--

wpt-commits: 7b2cd8b78d938ea8879adc6419f2ea14b6af8bad
wpt-pr: 11445
2018-07-04 18:15:09 +01:00
moz-wptsync-bot
eccb76e0a2 Bug 1467739 [wpt PR 11402] - Update wpt metadata, a=testonly
wpt-pr: 11402
wpt-type: metadata
2018-07-04 18:15:05 +01:00
Anne van Kesteren
47088e129b Bug 1467739 [wpt PR 11402] - HTML: add more document.domain tests, a=testonly
Automatic update from web-platform-testsHTML: add more document.domain tests (#11402)

For https://github.com/whatwg/html/pull/3742.
--

wpt-commits: a25abdfe5f86c0db7ca89d75ce4490e50f4d18b9
wpt-pr: 11402
2018-07-04 18:15:04 +01:00
Luke Bjerring
ad77d752af Bug 1466696 [wpt PR 11333] - Update the IDL generated content headers to the content from reffy-reports, a=testonly
Automatic update from web-platform-testsUpdate the IDL generated content headers to the content from reffy-reports (#11333)

--

wpt-commits: cdf41ff70d042eb78f461aeb44a5ad383964dbd3
wpt-pr: 11333
2018-07-04 18:15:00 +01:00
moz-wptsync-bot
819776dce9 Bug 1468157 [wpt PR 11417] - Update wpt metadata, a=testonly
wpt-pr: 11417
wpt-type: metadata
2018-07-04 18:14:56 +01:00
Morten Stenshorne
3892b09cd3 Bug 1468157 [wpt PR 11417] - [LayoutNG] Orthogonal flows need available inline size for min/max calculation., a=testonly
Automatic update from web-platform-tests[LayoutNG] Orthogonal flows need available inline size for min/max calculation.

Provide a suitable constraint space when calculating min/max inline
sizes for an orthogonal flow root. ComputeMinMaxSize() in NGBlockNode
typically ended up creating its zero-sized constraint space, which would
typically result in large block sizes (since there'd e.g. only be space
for one word per line).

Set percentage resolution size too, instead of leaving it at 0x0.
Percentages are often unresolvable (i.e. indefinite), in which case we
should of course refrain from resolving them, rather than resolving the
percentage against zero (which we used to do).

Add a DCHECK that we're always provided with a constraint space when
calculating min/max for orthogonal flows, as using the zero-size one
will not produce the correct result.

Bug: 848225
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng
Change-Id: Ic0aac380b2b733d3a55b25396c89584e4468899d
Reviewed-on: https://chromium-review.googlesource.com/1090845
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Reviewed-by: Aleks Totic <atotic@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#565446}

--

wpt-commits: ce22baff58c81ab98f3cbd2ac390e51e755fd9f9
wpt-pr: 11417
2018-07-04 18:14:55 +01:00
moz-wptsync-bot
e4c2925015 Bug 1466123 [wpt PR 11301] - Update wpt metadata, a=testonly
wpt-pr: 11301
wpt-type: metadata
2018-07-04 18:14:51 +01:00
Henrik Boström
efbbbf2267 Bug 1466123 [wpt PR 11301] - Improve RTCPeerConnection-setRemoteDescription-tracks.https.html tests., a=testonly
Automatic update from web-platform-testsImprove RTCPeerConnection-setRemoteDescription-tracks.https.html tests.

Using async functions and promise_tests instead of then()-chains and
async_tests. This makes them more readable, easier to maintain and
shorter.

Replaced RTCPeerConnection-helper.js function performOffer() with
exchangeOffer()/exchangeAnswer()/exchangeOfferAnswer().

Updated tests that were performing multiple offers to perform a full
offer/answer exchange whenever there were future offers to be made.
Previously it would perform half of an offer/answer cycle before
starting the next offer/answer, which under Unified Plan could lead to
some unexpected failures.

TBR=guidou@chromium.org

Bug: 777617
Change-Id: Ib0305d55af5aef7f49b5418d4ba44ded9c84d5c6
Reviewed-on: https://chromium-review.googlesource.com/1082434
Reviewed-by: Henrik Boström <hbos@chromium.org>
Commit-Queue: Henrik Boström <hbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#565234}

--

wpt-commits: fb908f941185aff41514383293f029e21937a87d
wpt-pr: 11301
2018-07-04 18:14:49 +01:00
Zirro
7a0d2b86a1 Bug 1467989 [wpt PR 11449] - Add selector tests, a=testonly
Automatic update from web-platform-testsAdd selector tests

* Test invalid pseudo-class starting with a valid one
* Test selector in :not() surrounded by spaces
* Test :nth-child used twice in selector
--

wpt-commits: 2436290affb197955acf8aa0115897ce5205dcc4
wpt-pr: 11449
2018-07-04 18:14:45 +01:00
moz-wptsync-bot
3c73641f5c Bug 1468041 [wpt PR 11451] - Update wpt metadata, a=testonly
wpt-pr: 11451
wpt-type: metadata
2018-07-04 18:14:42 +01:00
L. David Baron
339a7c3411 Bug 1468041 [wpt PR 11451] - Sync Mozilla tests as of 2018-06-09, #2, a=testonly
Automatic update from web-platform-testsSync Mozilla tests as of https://hg.mozilla.org/mozilla-central/rev/874dedd55599e4b87fe37a497a968c079f1cca69 . (#11451)

--

wpt-commits: 9d009fc59a8f99e0117b841b7f49094cc690964c
wpt-pr: 11451
2018-07-04 18:14:40 +01:00
L. David Baron
1f3704233e Bug 1468031 [wpt PR 11450] - Sync Mozilla tests as of 2018-06-09, a=testonly
Automatic update from web-platform-testsSync Mozilla tests as of https://hg.mozilla.org/mozilla-central/rev/062e1553dc91da5b7c58dbaa0b5348b2be0f91f2 . (#11450)

--

wpt-commits: 639812b9fdc7a95d3066ed098d4650be0c4e1a3a
wpt-pr: 11450
2018-07-04 18:14:36 +01:00
Luke Bjerring
114ee0b0a9 Bug 1472741 [wpt PR 9851] - Update the webdriver IDL file, a=testonly
Automatic update from web-platform-testswebdriver: update the webdriver WebIDL and fix test (#9851)

--

wpt-commits: 418538eb1cce3ecd931285db697736aa2066d05c
wpt-pr: 9851
2018-07-04 18:14:32 +01:00
moz-wptsync-bot
f661ca0467 Bug 1467965 [wpt PR 11442] - Update wpt metadata, a=testonly
wpt-pr: 11442
wpt-type: metadata
2018-07-04 18:14:28 +01:00
Luke Bjerring
35cc726b01 Bug 1467965 [wpt PR 11442] - [idlharness.js] Clean up media-capabilities idl test, a=testonly
Automatic update from web-platform-tests[idlharness.js] Clean up media-capabilities idl test

Follow up for #11255 which was unable to use add_dependency_idls because of #10338.
--

wpt-commits: c243b3c545f592a1635c770575dc6e20593ee392
wpt-pr: 11442
2018-07-04 18:14:26 +01:00
Luke Bjerring
8341544ead Bug 1467967 [wpt PR 11444] - Clean up mediasession idl test, a=testonly
Automatic update from web-platform-testsClean up mediasession idl test

--

wpt-commits: 88e6a3580ec114b52e29f3a7d836d7a8ce67139b
wpt-pr: 11444
2018-07-04 18:14:23 +01:00
moz-wptsync-bot
3d2486aa14 Bug 1467958 [wpt PR 11440] - Update wpt metadata, a=testonly
wpt-pr: 11440
wpt-type: metadata
2018-07-04 18:14:19 +01:00
Joe Downing
d219448aed Bug 1467958 [wpt PR 11440] - [KeyboardMap] Blink module now handles iFrames and multiple calls, a=testonly
Automatic update from web-platform-tests[KeyboardMap] Blink module now handles iFrames and multiple calls

This CL adds the following:
- KeyboardMap now requires the caller to be a top-level, secure
  browsing context
- Multiple calls to getKeyboardLayout() will now be given the same
  promise instead of it being timing dependent (the initial promise
  might get overwritten with the old logic)
- Sequential calls to getKeyboardLayout() still get their own promise
- All promise rejections will return a DOM exception (similar to
  KeyboardLock)
- I've cleaned up KeyboardLock a bit as well so it has similar
  logic/formatting to what I added to KeyboardMap
- Added several tests to KeyboardMap and fixed some failing cases

BUG=832811

Change-Id: I4a03f68c239cff42b8840e9513257384038f04b4
Reviewed-on: https://chromium-review.googlesource.com/1093474
Commit-Queue: Joe Downing <joedow@chromium.org>
Reviewed-by: Gary Kacmarcik <garykac@chromium.org>
Cr-Commit-Position: refs/heads/master@{#565833}

--

wpt-commits: 4565dc5875f3841b0884bdfd8ad6b9ad6f4a5944
wpt-pr: 11440
2018-07-04 18:14:18 +01:00
Anne van Kesteren
66516f82ff Bug 1467953 [wpt PR 11438] - URL: correct non-special URL's origin, a=testonly
Automatic update from web-platform-testsURL: correct non-special URL's origin

Fixup for 0e084a927078d434bcc1952a2ab99fb541f2c25d.

--

wpt-commits: 9b7f4414f226443ec95f823a92d1c33c8e0c67bb
wpt-pr: 11438
2018-07-04 18:14:13 +01:00
David H
8a38b27a70 Bug 1467952 [wpt PR 11415] - Added tests for InputFile directly, a=testonly
Automatic update from web-platform-testsCreated a test file to directly test the InputFile class in test_request.py, bypassing the server. Found and fixed a bug where passing a file larger than the buffer in InputFile caused the server to crash. Found and fixed a bug where seeking to a position before the current position and calling read() immediately after falsely tried to assert the positions of _buf_pos and _file_pos. Added tests for these bugs. (#11415)

--

wpt-commits: 99eb0f68f85f4d3c44d5c0d80021ed305e2f3613
wpt-pr: 11415
2018-07-04 18:14:10 +01:00
Matt Falkenhagen
e313345396 Bug 1467905 [wpt PR 11434] - service worker: Add long timeout to registration-updateviacache.https.html., a=testonly
Automatic update from web-platform-testsservice worker: Add long timeout to registration-updateviacache.https.html.

The test is slow because it does a lot of registrations and updates.

Bug: 850842
Change-Id: I5782e4e426e571a604929da7369c8474ffda88e5
TBR: robertma
Reviewed-on: https://chromium-review.googlesource.com/1092958
Reviewed-by: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#565641}

--

wpt-commits: 7bc2ca900c7f5d19040c5a1169d1257cb947459e
wpt-pr: 11434
2018-07-04 18:14:08 +01:00
Geoffrey Sneddon
9435ea4b5a Bug 1467884 [wpt PR 11431] - [css-logical-properties-1] Add test case margin{-block,-inline}{-start,-end}, a=testonly
Automatic update from web-platform-tests[css-logical-properties-1] Add test case margin{-block,-inline}{-start,-end} (#11431)

Spec is here: https://drafts.csswg.org/css-logical-props-1/#logical-prop.

[Committer note]: This was split out of a larger mostly obsolete PR,
https://github.com/web-platform-tests/wpt/pull/5284
--

wpt-commits: ede8a377b16bae4482b312b30db328154fdba0db
wpt-pr: 11431
2018-07-04 18:14:04 +01:00
Luke Bjerring
605ded346e Bug 1472741 [wpt PR 9755] - Add the InputDeviceCapabilities IDL file with test, a=testonly
Automatic update from web-platform-testsAdd the InputDeviceCapabilities IDL file with test (#9755)

--

wpt-commits: 3bc4498426ab48d6e580cb00802bca50e3220317
wpt-pr: 9755
2018-07-04 18:14:01 +01:00
moz-wptsync-bot
e2fbeb888f Bug 1467888 [wpt PR 11419] - Update wpt metadata, a=testonly
wpt-pr: 11419
wpt-type: metadata
2018-07-04 18:13:57 +01:00
Luke Bjerring
778eb2e7ac Bug 1467888 [wpt PR 11419] - [idlharness.js] Test exposure set of partial interfaces, a=testonly
Automatic update from web-platform-tests[idlharness.js] Test exposure set of partial interfaces (#11419)

--

wpt-commits: 24d1bbe29fd1ca3ca18e5154d99058be87cb2f24
wpt-pr: 11419
2018-07-04 18:13:56 +01:00
moz-wptsync-bot
67b54e1f8a Bug 1468841 [wpt PR 9756] - Update wpt metadata, a=testonly
wpt-pr: 9756
wpt-type: metadata
2018-07-04 18:13:54 +01:00
Luke Bjerring
ce0b615142 Bug 1468841 [wpt PR 9756] - Update the ResizeObserver IDL file, a=testonly
Automatic update from web-platform-testsAdd ResizeObserver IDL file with test (#9756)

--

wpt-commits: 7684fe30a809662f2af99a78f7c4671195573ce8
wpt-pr: 9756
2018-07-04 18:13:52 +01:00
moz-wptsync-bot
08c182d41c Bug 1468837 [wpt PR 9905] - Update wpt metadata, a=testonly
wpt-pr: 9905
wpt-type: metadata
2018-07-04 18:13:49 +01:00
Luke Bjerring
d6130f1377 Bug 1468837 [wpt PR 9905] - Update css-masking IDL file, a=testonly
Automatic update from web-platform-testsAdd css-masking IDL file with test (#9905)

--

wpt-commits: 82a7c8930aae4df57dbd7895b8d3038c095f0790
wpt-pr: 9905
2018-07-04 18:13:47 +01:00
moz-wptsync-bot
138c4f0eeb Bug 1468835 [wpt PR 9837] - Update wpt metadata, a=testonly
wpt-pr: 9837
wpt-type: metadata
2018-07-04 18:13:43 +01:00
Luke Bjerring
bee19543ab Bug 1468835 [wpt PR 9837] - Update the user-timing IDL file, a=testonly
Automatic update from web-platform-testsUpdate the performance-timeline and user-timing  IDL files (#9837)

Adds new any.js tests and removes the old ones.
--

wpt-commits: 8cce35711430779302fab1c7f6fda492cd1853a5
wpt-pr: 9837
2018-07-04 18:13:42 +01:00
Anders Hartvoll Ruud
f260cd8af1 Bug 1467861 [wpt PR 11420] - CSS Typed OM: Proper types for custom props during iteration., a=testonly
Automatic update from web-platform-testsCSS Typed OM: Proper types for custom props during iteration.

Currently, you get CSSUnparsedValues when iterating entries on the
.computedStyleMap(), even for properties which are registered with a
type. However, if you do .computedStyleMap().get(...) with a registered
property, you _do_ get the correct type.

This is because ComputedStyleCSSValueMapping::Get properly looks up the
typed values on the ComputedStyle, but ::GetVariables does not; instead it
directly returns the CSSVariableData for everything, regardless of
registrations.

This patch changes the behavior of iteration to use the same code path
as .get(). This ensures that we either create a CSSCustomProperty-
Declaration on the fly for unregistered properties, or we re-use the
existing (and typed) CSSValue for registered properties.

Note: I initially wanted to do a nested iterator thing here, but dropped
      it because we would anyway need a temp HashSet to avoid potential
      duplicates from the StyleInheritedVariables-root.

Note: One caller of GetVariables() just wants the size. It's possibly a
      little overkill to create entire HashMap just to count something,
      but I don't want to resolve that here in the same patch.

R=futhark@chromium.org, haraken@chromium.org

Bug: 850072
Change-Id: I64bfb3cc22a377cf956420a9e64d47ca3daac1e2
Reviewed-on: https://chromium-review.googlesource.com/1090848
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Anders Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#565605}

--

wpt-commits: 36bb4d778a8ad51a46e478b6ca98e39cc6f5a8e7
wpt-pr: 11420
2018-07-04 18:13:38 +01:00
Simon Pieters
c4d62c4d29 Bug 1467486 [wpt PR 11378] - Exclude more labels in "Reviewed but still open PRs", a=testonly
Automatic update from web-platform-testsExclude more labels in "Reviewed but still open PRs" (#11378)

--

wpt-commits: 185e07d903b514f8d1a4564923ba63fd4e6c3476
wpt-pr: 11378
2018-07-04 18:13:34 +01:00
David H
ce2bd83e8f Bug 1467789 [wpt PR 11408] - Use variant for window-open-noopener, a=testonly
Automatic update from web-platform-testsUse `variant` for window-open-noopener

Fixes #11049.
--

wpt-commits: 837fc78d84247e16ce7d346ca671bd795e594d7c
wpt-pr: 11408
2018-07-04 18:13:31 +01:00
moz-wptsync-bot
3008ce6978 Bug 1467611 [wpt PR 11389] - Update wpt metadata, a=testonly
wpt-pr: 11389
wpt-type: metadata
2018-07-04 18:13:27 +01:00
achristensen07
0ac37ab392 Bug 1467611 [wpt PR 11389] - Add test for URL issue 348, a=testonly
Automatic update from web-platform-testsURL: test ' in queries

For https://github.com/whatwg/url/pull/395.
--

wpt-commits: 0e084a927078d434bcc1952a2ab99fb541f2c25d
wpt-pr: 11389
2018-07-04 18:13:26 +01:00