642264 Commits

Author SHA1 Message Date
shindli
3315ea9026 Backed out 10 changesets (bug 1488673) for permafailing wpt tests in /html/semantics/embedded-content/media-elements/track/track-element/track-cue-rendering-line-doesnt-fit.html CLOSED TREE
Backed out changeset 58bd4444d2c5 (bug 1488673)
Backed out changeset faa494b301b9 (bug 1488673)
Backed out changeset b7cea852fc6b (bug 1488673)
Backed out changeset f264bc709b32 (bug 1488673)
Backed out changeset 5b3ae7eb7842 (bug 1488673)
Backed out changeset 9fa072a4b67d (bug 1488673)
Backed out changeset d18858a1fe8b (bug 1488673)
Backed out changeset e5030bf46846 (bug 1488673)
Backed out changeset 9206cafa8778 (bug 1488673)
Backed out changeset ca1266e7fbad (bug 1488673)
2019-03-18 11:50:08 +02:00
Michael Ratcliffe
cffcfc6b1c Bug 1535661 - Fix CORS issues in Markup Panel r=pbro
One change is in `node.js::isScrollable()` so I decided to assign this to you for review. Feel free to re-assign as you feel appropriate if you don't have time.

### Try

https://treeherder.mozilla.org/#/jobs?repo=try&revision=2e2f20af3f902ea65436bcfd288b3e075d6508f8

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

--HG--
extra : moz-landing-system : lando
2019-03-18 09:22:50 +00:00
Laphets
1ee91a6323 Bug 1457379 - [Adding Tests] Fix webSockets show only under 'other' filter. r=Honza
//Before this change, the websocket request will be filtered in to "other" subject. After this change, the websocket request will be in "ws" subject.//

## About Tests
The original test has some problem that it doesn't mock websocket request well, (since it use `XMLHttpRequest` to mock websocket, so the "upgrade" header can't be added due to some browser restrictions)

In the updated test file, the native `new WebSocket()` method is used to perform websoket request. The origin http based server at [[ https://searchfox.org/mozilla-central/rev/89414a1df52d06cfc35529afb9a5a8542a6e4270/devtools/client/netmonitor/test/sjs_content-type-test-server.sjs#237 | Here ]] is still utilized. However, the `ws://example.com` request will be proxy to websocket server at port 9988 instead of 8888, so the ip url is used to make sure the request is handled by the orginal test [[ https://searchfox.org/mozilla-central/rev/89414a1df52d06cfc35529afb9a5a8542a6e4270/devtools/client/netmonitor/test/sjs_content-type-test-server.sjs#237 | server ]].

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

--HG--
extra : moz-landing-system : lando
2019-03-18 08:57:07 +00:00
dlee
b713c23c08 Bug 1532765 - Do not show warning message for top-level load in URL classifier. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D23236

--HG--
extra : moz-landing-system : lando
2019-03-12 23:23:21 +00:00
Alastor Wu
0c440cab31 Bug 1488673 - part10 : enable wpt tests. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D22885

--HG--
extra : moz-landing-system : lando
2019-03-14 09:49:53 +00:00
Alastor Wu
0ff8b4b1ec Bug 1488673 - part9 : disable vtt wpt rendering tests. r=heycam
These wpt tests are using the wrong ref html which always assume the cue should be on the bottom of the video element.

According to the spec, the result of cue's position is calulated by rendering area and it won't always be on the bottom of the video.

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

--HG--
extra : moz-landing-system : lando
2019-03-18 08:42:10 +00:00
Alastor Wu
950afd4d30 Bug 1488673 - part8 : remove unnecessary anonymous function. r=heycam
There is no need to have an anonymous function after we replace all `var` to `let`, now those variables won't pollute outer scopes.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 16:27:19 +00:00
Alastor Wu
a84641d33a Bug 1488673 - part7 : huge replacement of 'var' by 'let'. r=heycam
In order to keep the local variable only visible inside the function scope, we should only use 'let' for those variables.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 09:38:37 +00:00
Alastor Wu
3efd4f2e8f Bug 1488673 - part6 : remove unused functions. r=heycam
Remove those funcitons which are used to implement the previous way to move the cue box.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 09:39:53 +00:00
Alastor Wu
ea20eb6bb5 Bug 1488673 - part5 : find the best position for the cue box in order not to overlap it with other cue boxes. r=heycam
According to the spec 7.2.10 [1], the step13 to step21 (snap-to-line is true) and the step3 to step5 (snap-to-line is false), we need to find the best position where the cue box has least overlap with other cue boxes.

In addition, in order not to be affected by CSS transformation, use non-tranformed attribute in `BoxPosition`.

[1]
https://w3c.github.io/webvtt/#ref-for-webvtt-cue-snap-to-lines-flag-12
https://w3c.github.io/webvtt/#ref-for-webvtt-cue-snap-to-lines-flag-13

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

--HG--
extra : moz-landing-system : lando
2019-03-14 07:22:33 +00:00
Alastor Wu
6c6cc4b4ad Bug 1488673 - part4 : adjust cue's position. r=heycam
According to the spec 7.2.10, step1 to step10 (snap-to-line is true) and step1 to step2 (snap-to-line is flase) [1], we would adjust cue box's position depending on the algorithm.

The algorithm would calculate the cue box's top (or left) position depending on the writing direction, and move the box to the specific position.

However, if the cue box is overlapping with other cue boxes in the rendering area, we would still need to adjust its postion, which will be implemented in next patch.

[1]
https://w3c.github.io/webvtt/#ref-for-webvtt-cue-snap-to-lines-flag-12
https://w3c.github.io/webvtt/#ref-for-webvtt-cue-snap-to-lines-flag-13

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

--HG--
extra : moz-landing-system : lando
2019-03-13 16:27:17 +00:00
Alastor Wu
bc66137e1a Bug 1488673 - part3 : only use BoxPosition format for position calculation r=heycam
It's confused that we have both simpleBoxPosition object and BoxPosition object, we should only use one format to perform all box related operations.

Therefore, BoxPosition should be able to be initiaized by StyleBox, HTMLElement or BoxPosition.

In addition, as `right` and `bottom` can be calculated from other attributes, we remove these two attributes from BoxPosition, and use getter to get the correct value, which can reduce some unnessary modification when we changes the `height` or `width`. In order to implement a more readable getter, so we change `BoxPosition` to class-based.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 09:29:31 +00:00
Alastor Wu
89ca31731a Bug 1488673 - part2 : keep font size consistent even if applying CSS transform scale on the parent element r=heycam
When calculating font size, we should use the original bounding box as a reference, or it would cause incorrect font size scale.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 16:27:18 +00:00
Alastor Wu
a8b183849a Bug 1488673 - part1 : use correct size to calculate position. r=heycam
According to the spec [1], we have calculated the size in step 7.3 and then we should use that for calculating x-position and y-position, instead of using cue's size.

[1] https://w3c.github.io/webvtt/#apply-webvtt-cue-settings

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

--HG--
extra : moz-landing-system : lando
2019-03-14 01:37:42 +00:00
neha
4ab97597f2 Bug 1533887 - Set correct buffer size for NS_NewCheckSummedOutputStream r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D23096

--HG--
extra : moz-landing-system : lando
2019-03-12 12:26:11 +00:00
Makoto Kato
e36a499d77 Bug 1484899 - Update Android's font list to use Noto Serif and Noto Sans for several languages r=jfkthame
Android P has a lot of Noto Serif and Noto Sans fonts for several languages.
So we should use it to default font list.

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

--HG--
extra : moz-landing-system : lando
2019-03-15 09:52:07 +00:00
Masayuki Nakano
b07d3a94c6 Bug 1525867 - Make IMContextWrapper::SetTextRange() not ignore composition clause even if no visual styles are specified r=m_kato
We've ignored clauses whose visual styles are not specified.
However, kinput2 with XIM protocol does not specify any styles
to non-selected clauses.  Therefore, we fail to dispatch
eCompositionChange events if there is 2 or more clauses.

Note that the log in the bug indicates that we may set
selected clause type to`TextRangeType::eConvertedClause` and
last clause type to `TextRangeType::eSelectedClause` because
caret is always put at end of composition string.  However,
this should not problem for now because nobody except plugins
on Windows refer this information.

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

--HG--
extra : moz-landing-system : lando
2019-03-18 03:00:23 +00:00
Brindusan Cristian
5d5838bb92 Backed out changeset d8ead6a3396d (bug 1525976) as requested by nhnt11 in bug 1535970.
--HG--
extra : histedit_source : dcc628f7ca9b178cf42e516df2afac6ac18ebe91
2019-03-18 09:21:09 +02:00
Glenn Watson
a15a5c4425 Bug 1535540 - Remove the identity transform condition while checking redundant stacking contexts. r=emilio
The only time that the ancestor spatial node index is read is
during push_stacking_context. This means that even if it was
used as an ancestor for a 3d context, we can safely collapse
it in to the parent stacking context during flattening, if it
is otherwise redundant.

This is a partial fix for picture caching heuristics failing
with the display list produced on mobile devices.

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

--HG--
extra : moz-landing-system : lando
2019-03-18 03:08:26 +00:00
violet
57d684b5aa Bug 1413319 - Correctly check a double is within long's limit r=birtles
When close to int64_t's limit, the int64 can't be precisely converted to
double because of rounding error, rounding-up is also allowed. To ensure
a double `d` is within int64's limit, we should check
`d < std::numeric_limits<int64_t>::max()`, instead of `<=`.

Because `std::numeric_limits<int64_t>::max()` might be converted to a larger
double, when they are equal, we can't be sure if `d` is indeed within the actual
int64 limit.

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

--HG--
extra : moz-landing-system : lando
2019-03-17 23:34:02 +00:00
Masayuki Nakano
6dd0ecdd8e Bug 1533293 - part 3: Make editor and ContentEventHandler not use Selection::Extend() due to too slow r=m_kato
`Selection::Extend()` is too slow but editor and ContentEventHandler use it in
some places.  We should make them use `Selection::SetStartAndEndInLimiter()` or
`Selection::SetBaseAndExtentInLimiter()`.  The former is usable only when caller
guarantees the start point is prior to the end point in the DOM tree.
Otherwise, we need to use the latter even though it's slower than the former.

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

--HG--
extra : moz-landing-system : lando
2019-03-18 01:52:36 +00:00
Masayuki Nakano
448571fd81 Bug 1533293 - part 2: Rewrite EditorBase::SelectEntireDocument() and its overrides r=m_kato
`EditorBase::SelectEntierDocument()` uses `Selection::Extend()` but it's too
slow.  It should use `Selection::SetStartAndEndInLimiter()` instead.

Additionally, `TextEditor::SelectEntierDocument()` shrink the result of
`EditorBase::SelectEntierDocument()` with `Selection::Extend()` if there is
a `moz-<br>` element.  So, `TextEditor::SelectEntinerDocument()` should set
its expected selection with a call for saving the runtime cost.

Then, we don't need to make `EditorBase::SelectEntierDocument()` as non-pure
virtual method.  So, this patch makes each its callers call
`Selection->SelectAllChildren()` directly.

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

--HG--
extra : moz-landing-system : lando
2019-03-18 01:51:53 +00:00
Masayuki Nakano
d4cbc09db8 Bug 1533293 - part 1: Create Selection::SetStartAndEnd() to set new range as far as faster r=smaug
`Selection::Extend()` is too slow because:
- it may create some `nsRange` instances.
- it users `nsContentUtils::ComparePoints()` multiple times.

Therefore, we can improve the performance if we can stop using it in some
places.  First, this patch creates `Selection::SetStartAndEnd()` and
`Selection::SetStartAndEndInLimiter()` for internal use.  They remove
current ranges, reuse `nsRange` instance as far as possible and add new
range which is set by their arguments.  Then, this patch makes
`Selection::SelectAllChildren()` stop using `Selection::Extend()`.  At this
time, this fixes a web-compat issue.  `Selection::Expand()` cannot cross the
selection limiter boundary when there is a limiter (e.g., when an editing host
has focus).  But we can now fix this with using the new internal API.

Note that methods in editor shouldn't move selection to outside of active
editing host.  Therefore, this patch adds `Selection::SetStartAndEndInLimiter()`
and `Selection::SetBaseAndExtentInLimiter()` for them.

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

--HG--
extra : moz-landing-system : lando
2019-03-18 01:50:59 +00:00
Sebastian Hengst
cbbed3707e Bug 1535353 - update Core :: DOM: * bugzilla product and component meta data in moz.build files after reorganization in bug 1533440: replace 'Core :: Keyboard: Navigation'. r=me DONTBUILD
--HG--
extra : amend_source : d2099ea98dbd1a814c1257e276cec58db9be907a
2019-03-18 00:39:30 +01:00
Sebastian Hengst
cee711baf9 Bug 1535353 - update Core :: DOM: * bugzilla product and component meta data in moz.build files after reorganization in bug 1533440 r=hsinyi
Differential Revision: https://phabricator.services.mozilla.com/D23546

--HG--
extra : moz-landing-system : lando
2019-03-17 23:13:22 +00:00
Noemi Erli
30ebc112df Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-17 23:39:40 +02:00
Noemi Erli
e20d6c8a1c Merge inbound to mozilla-central. a=merge 2019-03-17 23:38:05 +02:00
Sylvestre Ledru
2dc83b1ba4 Bug 1535949 - browser.js: Fix typo in the identifier r=JanH
Differential Revision: https://phabricator.services.mozilla.com/D23812

--HG--
extra : moz-landing-system : lando
2019-03-17 20:41:46 +00:00
Nihanth Subramanya
4cfc36dbe8 Bug 1525976 - Implement a basic browser-chrome mochitest for Firefox Monitor. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D21551

--HG--
extra : moz-landing-system : lando
2019-03-17 20:32:55 +00:00
Dale Harvey
b5e97c0bec Bug 1521725 - Remove remaining about:searchreset references. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D17563

--HG--
extra : moz-landing-system : lando
2019-03-17 13:03:52 +00:00
James Willcox
f05a94d5e7 Bug 1534802 - Don't enable code coverage for gradle-dependencies job r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D23739

--HG--
extra : moz-landing-system : lando
2019-03-15 22:24:02 +00:00
Brian Hackett
3e8ff9df82 Bug 1535459 - Create BrowsingContext in middleman processes.
--HG--
extra : rebase_source : f994643a4f55552e8257656ed3c744a507e724f4
2019-03-15 07:25:49 -10:00
Ciure Andrei
4763b8d576 Merge inbound to mozilla-central. a=merge
--HG--
rename : testing/web-platform/tests/css/css-images/support/100x100-blue-green.html => testing/web-platform/tests/css/css-images/reference/100x100-blue-green.html
rename : testing/web-platform/tests/css/css-namespaces/reftest/ref-lime-1-block.xml => testing/web-platform/tests/css/css-namespaces/reference/ref-lime-1-block.xml
rename : testing/web-platform/tests/css/css-namespaces/reftest/ref-lime-1-generic.xml => testing/web-platform/tests/css/css-namespaces/reference/ref-lime-1-generic.xml
rename : testing/web-platform/tests/css/css-namespaces/reftest/ref-lime-1.xml => testing/web-platform/tests/css/css-namespaces/reference/ref-lime-1.xml
rename : testing/web-platform/tests/css/css-namespaces/reftest/ref-lime-2-generic.xml => testing/web-platform/tests/css/css-namespaces/reference/ref-lime-2-generic.xml
rename : testing/web-platform/tests/css/css-namespaces/reftest/ref-lime-2.xml => testing/web-platform/tests/css/css-namespaces/reference/ref-lime-2.xml
rename : testing/web-platform/tests/css/css-namespaces/reftest/ref-lime-3.xml => testing/web-platform/tests/css/css-namespaces/reference/ref-lime-3.xml
rename : testing/web-platform/tests/css/css-namespaces/reftest/ref-lime-5.xml => testing/web-platform/tests/css/css-namespaces/reference/ref-lime-5.xml
rename : testing/web-platform/tests/css/css-namespaces/reftest/ref-lime-6.xml => testing/web-platform/tests/css/css-namespaces/reference/ref-lime-6.xml
rename : testing/web-platform/tests/css/css-transforms/reftest/transform-3d-rotateY-stair-above-ref-001.xht => testing/web-platform/tests/css/css-transforms/reference/transform-3d-rotateY-stair-above-ref-001.xht
rename : testing/web-platform/tests/css/css-transforms/reftest/transform-applies-to-001-ref.xht => testing/web-platform/tests/css/css-transforms/reference/transform-applies-to-001-ref.xht
rename : testing/web-platform/tests/css/css-transforms/reftest/transform-applies-to-002-ref.xht => testing/web-platform/tests/css/css-transforms/reference/transform-applies-to-002-ref.xht
rename : testing/web-platform/tests/css/css-transforms/reftest/transform-origin-01-ref.html => testing/web-platform/tests/css/css-transforms/reference/transform-origin-01-ref.html
rename : testing/web-platform/tests/css/css-transforms/transform-box/support/greensquare200x200.html => testing/web-platform/tests/css/css-transforms/transform-box/reference/greensquare200x200.html
rename : testing/web-platform/tests/css/css-writing-modes/reftest/writing-mode-vertical-lr-002-ref.xht => testing/web-platform/tests/css/css-writing-modes/reference/writing-mode-vertical-lr-002-ref.xht
rename : testing/web-platform/tests/css/css-writing-modes/reftest/writing-mode-vertical-rl-001-ref.xht => testing/web-platform/tests/css/css-writing-modes/reference/writing-mode-vertical-rl-001-ref.xht
rename : testing/web-platform/tests/css/css-writing-modes/reftest/writing-mode-vertical-rl-002-ref.xht => testing/web-platform/tests/css/css-writing-modes/reference/writing-mode-vertical-rl-002-ref.xht
rename : testing/web-platform/tests/orientation-event/devicemotionevent-init.html => testing/web-platform/tests/orientation-event/devicemotionevent-init.https.html
rename : testing/web-platform/tests/orientation-event/deviceorientationabsoluteevent.html => testing/web-platform/tests/orientation-event/deviceorientationabsoluteevent.https.html
rename : testing/web-platform/tests/orientation-event/deviceorientationevent-init.html => testing/web-platform/tests/orientation-event/deviceorientationevent-init.https.html
rename : testing/web-platform/tests/orientation-event/ondeviceorientationabsolute.html => testing/web-platform/tests/orientation-event/ondeviceorientationabsolute.https.html
rename : testing/web-platform/tests/svg/embedded/support/green-rect-100x100.svg => testing/web-platform/tests/svg/embedded/reference/green-rect-100x100.svg
rename : testing/web-platform/tests/svg/shapes/reftests/support/empty.svg => testing/web-platform/tests/svg/shapes/reftests/reference/empty.svg
2019-03-17 11:44:39 +02:00
Andrea Marchesini
5bb6c49ba8 Bug 1535799 - nsIHttpChannel.isTrackingResource should be a method, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D23765

--HG--
extra : moz-landing-system : lando
2019-03-17 06:55:50 +00:00
Sebastian Hengst
f915dc09ca Bug 1532580 - [wpt-sync] Update test expectations for /signed-exchange/reporting/ on Linux x64 asan to exclude it from timeouts. a=test-only
--HG--
extra : rebase_source : 274565f9d4e161337167f44bf90868c7712ee1c8
2019-03-16 23:28:02 +01:00
J.C. Jones
8b64b97bc6 Bug 1523175 - land NSS NSS_3_43_RTM UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : d609bbce8603071c011dfe7133866b734ff3c380
2019-03-16 17:50:02 +00:00
Sebastian Hengst
9a9ec0e387 Bug 1532580 - [wpt-sync] Update test expectations for /signed-exchange/reporting/ on Linux x64 pgo and asan. a=test-only CLOSED TREE
--HG--
extra : amend_source : 7df6704d90431e8950f1779460ac9df1ad89a161
2019-03-16 20:23:42 +01:00
longsonr
fd7d94f776 Bug 1532156 - correct marker-start for closed paths so it is the average of the start and end angles i.e. the same as marker-end r=dholbert 2019-03-16 17:00:23 +00:00
James Graham
d7fb84d2e4 Bug 1532580 - Update jsshell metadata, a=testonly ON A CLOSED TREE 2019-03-16 14:37:19 +00:00
Boris Zbarsky
e348ad0b6c Improve the documentation around the MOZ_CAN_RUN_SCRIPT analysis. No bug. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D23762

--HG--
extra : moz-landing-system : lando
2019-03-16 12:52:33 +00:00
Timothy Nikkel
9210539d17 Bug 1535862. Don't use a property after changing it in nsDOMWindowUtils::SetDisplayPortForElement. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D23801

--HG--
extra : moz-landing-system : lando
2019-03-16 22:14:35 +00:00
Coroiu Cristina
9df7619fc3 Merge mozilla-central to autoland a=merge 2019-03-16 23:56:14 +02:00
Gurzau Raul
0414b39799 Bug 1533394 - Disable browser_serviceWorker.js on Linux, Mac and Windows 7. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D23793

--HG--
extra : moz-landing-system : lando
2019-03-16 16:40:25 +00:00
danielleleb
07bdaa54f0 Bug 1501955 - Runs securityOnLoad on certificate error pages and adds test. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D21840

--HG--
extra : moz-landing-system : lando
2019-03-16 19:53:02 +00:00
Andreea Pavel
4f60356595 Backed out changeset b12dda048dd5 (bug 1535666) patch does not work on beta DONTBUILD 2019-03-16 18:51:42 +02:00
Emilio Cobos Álvarez
bfed43b178 Bug 1535790 - Initialize members in nsLookAndFeel, and bail out when there's no screen settings. r=stransky
A patch of mine starts calling nsLookAndFeel from xpcshell tests, which makes
gtk crash eventually.

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

--HG--
extra : moz-landing-system : lando
2019-03-16 15:17:49 +00:00
James Graham
d467910740 Bug 1532580 - Fix wpt reftest window dimensions, r=gsnedders
The wpt reftest window was mixing up width and height for initial
opening, meaining that it would be the wrong shape for non-square
configurations. This caused us to go down a path where we weren't
passing DRAWWINDOW_USE_WIDGET_LAYERS which turns out to be broken and
result in frequent blank screenshots.

Fix the window dimensions and make the broken path an error instead.

Differential Revision: https://phabricator.services.mozilla.com/D23323
2019-03-16 12:13:33 +00:00
moz-wptsync-bot
330342ee43 Bug 1532580 - [wpt-sync] Update web-platform-tests to 0f1c6e9b1f63e523eb241e8c0eba1cdc764fd180, a=testonly
wpt-head: 0f1c6e9b1f63e523eb241e8c0eba1cdc764fd180
wpt-type: landing
2019-03-16 12:13:33 +00:00
pyup-bot
d5483d0c95 Bug 1531372 [wpt PR 15543] - Update mozrunner to 7.4.0, a=testonly
Automatic update from web-platform-tests
Update mozrunner from 7.3.0 to 7.4.0
--

wpt-commits: 0f1c6e9b1f63e523eb241e8c0eba1cdc764fd180
wpt-pr: 15543
2019-03-16 12:13:32 +00:00
jugglinmike
02884183db Bug 1531365 [wpt PR 15488] - [wptrunner] Reset internal state during "rerun", a=testonly
Automatic update from web-platform-tests
[wptrunner] Reset internal state during "rerun" (#15488)

The "reftest" implementation uses an internal cache for screenshots as
an optimization for running similar tests. That optimization is
inappropriate for the CLI's "rerun" feature since in that context,
repeatedly running the same tests is an explicit goal.

Introduce a generic "reset" message that is emitted by the
TestRunnerManager during "rerun", and extend the RefTestExecutor to
handle this message by emptying its internal cache.
--

wpt-commits: f650eb264890a42067f0703fa1e7350c4d8f31d2
wpt-pr: 15488
2019-03-16 12:13:32 +00:00