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

12190 Коммитов

Автор SHA1 Сообщение Дата
Alastor Wu d61621aace Bug 1283803 - part4 : handle unicode \u0000 and \uFFFD. r=rillian
MozReview-Commit-ID: FtDPV9U7ffS

--HG--
extra : rebase_source : d450e7f2c40cfb44c123206fd0732c8debdec518
2016-07-19 11:10:56 +08:00
Alastor Wu a3a8013883 Bug 1283803 - part2 : modify vtt parsing algorithm. r=rillian
MozReview-Commit-ID: KUYq0L0pW5x

--HG--
extra : rebase_source : bb9875128c89315d50ebea3cf32d65c7a0d7ee5c
2016-07-19 11:10:50 +08:00
Nelson J Morais e029d9b421 Bug 1279005 - Refactor BaseMarionetteTestRunner: added new method _is_filename_valid() centralizing test's file name validation logic.; r=maja_zf
MozReview-Commit-ID: 75IFA54QsWy

--HG--
extra : rebase_source : cb348db29f612cc1ce7f19b7ae41a016567bb0c6
2016-07-15 00:01:38 +01:00
Andreas Tolfsen 1b5fe25426 Bug 1284232 - Convert internal error list to a set; r=automatedtester
MozReview-Commit-ID: THj6qxvUus

--HG--
extra : rebase_source : 06c41b5387755edda487c67418c1575c8c639eee
2016-07-08 14:00:56 +01:00
Andreas Tolfsen 7e156be01e Bug 1284232 - Guard against ill-behaved objects on error check; r=automatedtester
It turns out that certain objects such as a DOMRectList have peculiarities
that cause string comparison to throw. This is normally not a problem
as error.isError is usually passed JSON serialisable data. But when it
is not, this try condition helps diagnose problems.

MozReview-Commit-ID: BLNSziwfxXs

--HG--
extra : rebase_source : 8bad973a20d8b69fa27f5de66e4ea287d4bcddcd
2016-07-08 13:58:04 +01:00
Andreas Tolfsen ddc9f80240 Bug 1284232 - Marshal all HTML and JS collections; r=automatedtester
This patch adds marshaling of HTMLFormControlsCollection,
HTMLAllCollection, and HTMLOptionsCollection element collections to
Marionette.

It will allow us you to return from HTMLSelectElement.options,
document.forms[0].elements, and document.all. This is in
addition to the already supported document.querySelector
(NodeList), document.getElementsBy* (HTMLCollection), and
Array.from(ELEMENT...) collections.

MozReview-Commit-ID: 71a65lZRn4S

--HG--
extra : rebase_source : aff3490ceb0db110f392956baaacbd5e2e7acb62
2016-07-04 17:34:06 +01:00
Gregory Szorc e67eef174b Bug 1287439 - Update robustcheckout extension with upstream; r=Callek
Synchronized with hgext/robustcheckout/__init.py
from https://hg.mozilla.org/hgcustom/version-control-tools at revision
d2140637eaf3f91fefa7c2f44cbaabf4c19faeb3.

MozReview-Commit-ID: 676o5IVE536

--HG--
extra : rebase_source : 8292cceb465d295f50db68ee0e0fdfb6f6797c26
2016-07-18 10:24:27 -07:00
David Keeler 56d2f86c86 bug 1284946 - remove usages-related APIs from nsIX509Cert r=Cykesiopka,Felipe,jcj
nsIX509Cert provided the APIs getUsagesArray, requestUsagesArrayAsync, and
getUsagesString. These APIs were problematic in that the synchronous ones would
cause certificate verification to block the main thread and the asynchronous one
was needlessly indirect in its definition (it made use of two additional
special-case xpidl types) and needlessly complex in its implementation (it
required nsNSSComponent to manually manage a background thread without the aid
of recent improvements in that area (e.g. CryptoTask)). Furthermore, these APIs
would return string descriptions of the usages the certificate in question had
been verified for rather than using more concrete identifiers or values. This
paradigm is usable but imprecise. The new nsIX509CertDB API
asyncVerifyCertAtTime is much more expressive, enforces off-main-thread
computation, and makes use of CryptoTask for a simple implementation. Using this
API, previous uses of the old nsIX509Cert APIs can be replaced. As an additional
benefit, this removes a ton of obsolete C++ code.

MozReview-Commit-ID: KXVTcjAKehu

--HG--
extra : rebase_source : 50c51f73b2b61ed0ad4dc9702cc5df470ce998bc
2016-07-06 14:45:36 -07:00
Nelson J Morais 526a2c53b7 Bug 1282331 - Refactor GetActiveFrame to return WebElement r=automatedtester
MozReview-Commit-ID: 6LiBOXSEPtz

--HG--
extra : rebase_source : 7143f5b41e69146086218c015074370e317d2db5
2016-07-12 22:56:34 +01:00
Jeremy Chen f0831c1624 Bug 1287019 - part2: prevent saving redundant screenshots in mozlog's HTML format result. r=jmaher
There are two identical pairs of screenshots (test/reference pair) which are
png/base64 raw files generated from mozlog's HTML formatter. One pair is stored
in the img element to present the visual result; the other pair is stored as a
hyperlink source in the visual result's title.

After part1 patch, we may have one more pair. It appears that the hyperlinks of
the visual result's titles could be eliminated since they are visually closed to
the visual results, and clicking the visual results provides the exact same
function.

DONTBUILD (NPOTB)

MozReview-Commit-ID: 4CLfYXX8g69

--HG--
extra : rebase_source : d4d3b4e08b66e737d75a2ca21b6e84b344a29fc8
2016-07-18 13:53:58 +08:00
Jeremy Chen 824b568df5 Bug 1287019 - part1: make mozlog's HTML format support wptrunner screenshot. r=jmaher
Current mozlog (v3.2) doesn't support screenshot logs exported from wptrunner.
Add this support so we could run css test with --log-html to see more detail
information, such as screenshots of test/reference pages.

DONTBUILD (NPOTB)

MozReview-Commit-ID: AUJwYfvNfda

--HG--
extra : rebase_source : 1d3d1fcdc396638d256336d3dfaf5ba5bad35168
2016-07-18 13:53:58 +08:00
Carsten "Tomcat" Book 7ca9fd2a44 Merge mozilla-central to autoland 2016-07-17 10:11:17 +02:00
Carsten "Tomcat" Book a0992595d6 merge mozilla-inbound to mozilla-central a=merge 2016-07-17 10:08:08 +02:00
Nicholas Hurley b25e2be852 Bug 1287236 - Use 0 instead of -1 to randomly assign port. r=mcmanus
MozReview-Commit-ID: WkP2s0Pgxc

--HG--
extra : rebase_source : e8096ce181ce3cde8a123eeca41bc4b36b814e28
2016-07-15 14:30:56 -07:00
Brian Birtles cc7e71a19b Bug 1277456 part 8 - Add test that when changing target element, the computed values are re-computed; r=hiro
MozReview-Commit-ID: 4UQFAKFT2uG

--HG--
extra : rebase_source : 1af1fac3e1abcbb59e8ce24751dc9ff07dce38cd
2016-07-13 13:24:20 +09:00
Brian Birtles 10ecbf1a68 Bug 1277456 part 7 - Add tests for the prototypes of objects created using Animatable.animate(); r=bz
The spec now defines that we should use the relevant Realm of the target
element for the created Animation and KeyframeEffect object.[1] As for the
AnimationEffectTiming object associated with the KeyframeEffect object,
the constructor for KeyframeEffect (or, actually the constructor for
KeyframeEffectReadOnly), specifies that current realm is used (which, at this
point corresponds to the relevant Realm of the target).[2]

[1] https://w3c.github.io/web-animations/#dom-animatable-animate
[2] https://w3c.github.io/web-animations/#dom-keyframeeffectreadonly-keyframeeffectreadonly

MozReview-Commit-ID: HzlyCxeQZ3T

--HG--
extra : rebase_source : c27363907da4a6e9ef1327c2ab1f06e8f6129585
2016-07-13 13:22:25 +09:00
Wes Kocher ad9620b862 Merge m-c to autoland a=merge 2016-07-15 17:01:59 -07:00
Carsten "Tomcat" Book 0f6e33eb43 Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2016-07-15 16:16:45 +02:00
Carsten "Tomcat" Book ea82d775d8 merge mozilla-inbound to mozilla-central on a CLOSED TREE a=merge 2016-07-15 16:15:33 +02:00
Ben Hearsum 5582f3e183 Backout bug 1275911 now that we're done testing the new Balrog environment. r=me 2016-07-14 08:56:10 -04:00
Andrew Halberstadt da291f0301 Bug 1278890 - Add reftest support to test package mach environment, r=armenzg
This adds reftest support to the test package mach environment. It will allow
developers to easily run reftests after checking out an interactive worker.

MozReview-Commit-ID: fBAbfuG5XQ

--HG--
extra : rebase_source : 84b4a9fff7f2f27a325ffad4af1de7726bad296e
2016-07-13 10:57:22 -04:00
Andrew Halberstadt d3c5539c81 Bug 1278890 - Add xpcshell support to test package mach environment, r=armenzg
This adds the 'xpcshell-test' command to the mach environment found in the test
package. This will allow developers to easily run xpcshell after checking out
and interactive worker.

MozReview-Commit-ID: fBAbfuG5XQ

--HG--
extra : rebase_source : 71077c9142f33843ed87d4bc4617a780f775939b
2016-07-13 10:55:37 -04:00
Andrew Halberstadt 57cb071e1b Bug 1278890 - Add a method for normalizing test paths to the test package mach environment, r=armenzg
The test path structure is slightly different in the test package compared to a srcdir. So we may need
to normalize the specified paths such that they are relative to a srcdir. Because every test harness
needs to do this, this method is being added to the bootstrap for re-use.

MozReview-Commit-ID: fBAbfuG5XQ

--HG--
extra : rebase_source : b4cedaecfeab777971c9840e932c0aa2bff88240
2016-07-13 10:49:42 -04:00
Andrew Halberstadt a286d3bf33 Bug 1278890 - Search for a firefox binary in the test package mach bootstrap, r=armenzg
When running test harnesses from the test package, the firefox binary will live somewhere
outside of the mach context. There are two common situations where a developer might be
running from a test package:
1) From a mozharness context
2) From an objdir context

This patch will attempt to detect either of those situations and automagically find the
firefox binary.

MozReview-Commit-ID: fBAbfuG5XQ

--HG--
extra : rebase_source : 53c87a83bacf6b90a5849559f5616b7a45970627
2016-07-13 10:50:13 -04:00
Sebastian Hengst bf244b578e Backed out changeset ff5028ff81cb (bug 447689) for assertion in test_worker_xhr_implicit_cancel.html in debug builds. r=backout 2016-07-16 18:26:08 +02:00
Thomas Wisniewski 0564cc02ae Bug 447689 - clean up XMLHttpRequest::Open so XHR readyState=1 events are fired according to spec. r=baku 2016-07-15 11:33:17 -04:00
Valentin Gosu ef5a976694 Bug 1275746 - Fix tests that assume a HTTP url without a hostname is valid r=jrgm,MattN,jdm,gijs,smaug
MozReview-Commit-ID: DzRenakrcAG
2016-07-13 15:19:34 +03:00
Sotaro Ikeda 0dadea6a91 Bug 1284803 part 12 - Update web-platform-tests webvtt ini r=jgraham 2016-07-12 23:05:56 -07:00
Wes Kocher 0dcab503c5 Merge m-c to inbound, a=merge CLOSED TREE 2016-07-12 17:16:47 -07:00
Wes Kocher 92616e983b Merge fx-team to central, a=merge 2016-07-12 16:24:27 -07:00
Wes Kocher 9bfd2af1f9 Merge inbound to central, a=merge 2016-07-12 15:24:34 -07:00
Carsten "Tomcat" Book 66a84ab34f Merge mozilla-central to autoland 2016-07-12 16:45:24 +02:00
Carsten "Tomcat" Book a7e954de09 Merge mozilla-central to fx-team 2016-07-12 16:42:42 +02:00
Carsten "Tomcat" Book f283e32158 Merge mozilla-central to mozilla-inbound 2016-07-12 16:35:46 +02:00
Carsten "Tomcat" Book 010d84a620 merge mozilla-inbound to mozilla-central a=merge 2016-07-12 16:30:18 +02:00
Carsten "Tomcat" Book b40f905f49 Backed out changeset 643bfa8b72ba (bug 1207233) for bustage 2016-07-12 11:40:16 +02:00
Carsten "Tomcat" Book c33672a846 Backed out changeset ff7dbda6a6d0 (bug 1207233) 2016-07-12 11:40:00 +02:00
Carsten "Tomcat" Book fa6b3b7e57 Merge mozilla-central to autoland 2016-07-12 11:08:29 +02:00
Hiroyuki Ikezoe 14efc36afe Bug 1278485 - Part 3: Add test cases to check x value of cubic-bezier is in [0, 1] and step numbers of steps function. r=birtles
MozReview-Commit-ID: DVQF44NMMfp

--HG--
extra : rebase_source : 0faa0246734b607d416150cb2e427a09273ef3e8
2016-07-12 16:37:28 +09:00
Justin Wood 12e61045da Bug 1223385 - Don't clone the older copy of compare-locales anywhere. r=rail
MozReview-Commit-ID: DleFPOnRW3R

--HG--
extra : rebase_source : e3cdefde9cadcf4ac67c444f05e47b7a388c699d
2016-07-01 15:51:43 -04:00
Justin Wood b1ca43198c Bug 1223385 - Make sure nothing in mozharness uses (or clones) compare-locales manually. r=jlund
MozReview-Commit-ID: A4iEIq9weYl

--HG--
extra : rebase_source : 2ad21a26d24d6e6c62abd964dd2cf001b484bd1b
2016-07-08 13:01:00 -04:00
Justin Wood 70fecb5100 Bug 1223385 - remove b2g_desktop_multilocale script due to being unused (dougt-encouraged). r=jlund
MozReview-Commit-ID: Cc8PzufqoZF

--HG--
extra : rebase_source : 8e3ff82e569ce8808288fea8a3481d389e73c37d
2016-07-08 12:40:34 -04:00
Andrew Halberstadt 32596daf4d Bug 1285553 - [mozharness] Pull preflight_copydirs into it's own action, r=armenzg
We need to be able to run the copydirs logic in desktop_unittest.py independently
of the 'run-tests' action to enable a smooth interactive debugging workflow.

MozReview-Commit-ID: ATftu2NnhQq

--HG--
extra : rebase_source : 915ddfad28b4660af1066fc3279ca3d11164a4b6
2016-07-08 10:42:19 -04:00
Thomas Wisniewski b66fa4f6c0 Bug 1207233 - Part 2: Make URLSearchParams nsIXHRSendable as well as clonable, and have XHRs set the correct request content type for them. r=baku 2016-07-11 15:03:44 -04:00
Thomas Wisniewski ef7d665ee0 Bug 1207233 - Part 1: Allow not sending a Content-Type header, or sending a blank string for it, and have XMLHttpRequest.setRequestHeader honor those possibilities. r=dragana 2016-07-11 14:27:36 -04:00
Benjamin Smedberg be3857f963 Bug 1277905 - Remove in-product links to plugincheck. Also remove support for startup prompting about outdated plugins, since that's annoying to users. r=Gijs r=mconley
MozReview-Commit-ID: 69tMivPVxuW

--HG--
extra : rebase_source : bd4d2979beff0f460a20156b0f954e2f1a2a5e85
2016-07-01 11:01:07 -04:00
Ben Kelly 47d90ed239 Bug 1285502 P3 Fix service worker wpt test to expect fetch(event.request) to use original referrer. r=asuth 2016-07-11 12:25:54 -07:00
Ben Kelly 81619d3081 Bug 1285502 P2 Add wpt verifying fetch() respects a Request object's referrer. r=asuth 2016-07-11 12:25:54 -07:00
Masatoshi Kimura 74450a6d2d Bug 1280178 - Update desktop-test images to node 5.0.0. r=dustin
MozReview-Commit-ID: EjCzi8eVZM8

--HG--
extra : rebase_source : 95ddeafc5c4df827326e4f6ea78dc0fcf8eb4850
extra : source : 2a9ec8b312c363a5ed5f741a82089108f44c933d
2016-06-28 20:50:28 +09:00
Thom Chiovoloni 0e8a325713 Bug 1267919 - Part 1. Import Ajv for validation of sync telemetry ping schema. r=Dexter,markh
MozReview-Commit-ID: KjHCQcHUJG7

--HG--
extra : transplant_source : %A1%40V3.%0D%E8%15%96%7F%D9%F4%EAK%1CV%1F%F8%BF%A9
2016-06-20 11:53:55 -04:00