mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Auto merge of #23240 - servo-wpt-sync:wpt_update_22-04-2019, r=jdm
Sync WPT with upstream (22-04-2019) Automated downstream sync of changes from upstream as of 22-04-2019. [no-wpt-sync] Fixes #22752. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23240) <!-- Reviewable:end -->
This commit is contained in:
commit
48ba809719
16 changed files with 61 additions and 71 deletions
|
@ -10,6 +10,7 @@ set -o pipefail
|
|||
|
||||
REMOTE_NAME=sync-fork
|
||||
LOG_FILE=test-wpt.log
|
||||
BLUETOOTH_LOG_FILE=test-wpt-bluetooth.log
|
||||
CURRENT_DATE=$(date +"%d-%m-%Y")
|
||||
BRANCH_NAME="wpt_update"
|
||||
REMOTE_BRANCH_NAME="wpt_update_${CURRENT_DATE}"
|
||||
|
@ -64,12 +65,16 @@ function unsafe_run_tests() {
|
|||
# Run the full testsuite and record the new test results.
|
||||
./mach test-wpt --release --processes 6 --log-raw "${1}" \
|
||||
--always-succeed || return 1
|
||||
|
||||
# Run the bluetooth testsuite, which uses the webdriver test harness.
|
||||
./mach test-wpt --release --processes 1 --product=servodriver --headless \
|
||||
--log-raw "${2}" --always-succeed || return 2
|
||||
}
|
||||
|
||||
# Using an existing log file, update the expected test results and amend the
|
||||
# last commit with the new results.
|
||||
function unsafe_update_metadata() {
|
||||
./mach update-wpt "${1}" || return 1
|
||||
./mach update-wpt "${1}" "${2}" || return 1
|
||||
# Ensure any new directories or ini files are included in these changes.
|
||||
git add tests/wpt/metadata tests/wpt/mozilla/meta || return 2
|
||||
# Merge all changes with the existing commit.
|
||||
|
@ -129,11 +134,11 @@ function pull_from_upstream() {
|
|||
}
|
||||
|
||||
function run_tests() {
|
||||
unsafe_run_tests "${1}" || { code="${?}"; cleanup; return "${code}"; }
|
||||
unsafe_run_tests "${1}" "${2}" || { code="${?}"; cleanup; return "${code}"; }
|
||||
}
|
||||
|
||||
function update_metadata() {
|
||||
unsafe_update_metadata "${1}" || { code="${?}"; cleanup; return "${code}"; }
|
||||
unsafe_update_metadata "${1}" "${2}" || { code="${?}"; cleanup; return "${code}"; }
|
||||
}
|
||||
|
||||
function open_pull_request() {
|
||||
|
@ -143,8 +148,8 @@ function open_pull_request() {
|
|||
SCRIPT_NAME="${0}"
|
||||
|
||||
function update_test_results() {
|
||||
run_tests "${LOG_FILE}"
|
||||
update_metadata "${LOG_FILE}"
|
||||
run_tests "${LOG_FILE}" "${BLUETOOTH_LOG_FILE}"
|
||||
update_metadata "${LOG_FILE}" "${BLUETOOTH_LOG_FILE}"
|
||||
}
|
||||
|
||||
function fetch_upstream_changes() {
|
||||
|
|
|
@ -3,3 +3,4 @@
|
|||
// Files are sorted alphabetically. When committing polyfills
|
||||
// order them with numbers, e.g. `01.innerhtml.js` will be executed before
|
||||
// `05.jquery.js`
|
||||
WheelEvent = { DOM_DELTA_PIXEL: 5, DOM_DELTA_LINE: 5, DOM_DELTA_PAGE: 5 };
|
||||
|
|
|
@ -669845,7 +669845,7 @@
|
|||
"support"
|
||||
],
|
||||
"interfaces/animation-worklet.idl": [
|
||||
"58d0bc51a67be51d1d3fab75096b71feef8dea9b",
|
||||
"159cabd09cd0b425c933cdfde58c46c8f14c9819",
|
||||
"support"
|
||||
],
|
||||
"interfaces/appmanifest.idl": [
|
||||
|
@ -670289,7 +670289,7 @@
|
|||
"support"
|
||||
],
|
||||
"interfaces/web-bluetooth.idl": [
|
||||
"c5fd30cf320ac857d34758558110c972770fd428",
|
||||
"183f77326051ad116785e3a5c371435afd9f7b65",
|
||||
"support"
|
||||
],
|
||||
"interfaces/web-nfc.idl": [
|
||||
|
@ -670345,7 +670345,7 @@
|
|||
"support"
|
||||
],
|
||||
"interfaces/webxr.idl": [
|
||||
"6a45597594631eb458c459e3d8bf6cca43fbd06c",
|
||||
"9e02becb76f70dc7c675568e070d71ab15008a9e",
|
||||
"support"
|
||||
],
|
||||
"interfaces/worklets.idl": [
|
||||
|
|
|
@ -212,3 +212,8 @@
|
|||
[Bluetooth interface: attribute oncharacteristicvaluechanged]
|
||||
expected: FAIL
|
||||
|
||||
[BluetoothRemoteGATTCharacteristic interface: operation writeValueWithResponse(BufferSource)]
|
||||
expected: FAIL
|
||||
|
||||
[BluetoothRemoteGATTCharacteristic interface: operation writeValueWithoutResponse(BufferSource)]
|
||||
expected: FAIL
|
|
@ -218,9 +218,6 @@
|
|||
[Matching font-weight: '501' should prefer '500' over '450 460']
|
||||
expected: FAIL
|
||||
|
||||
[Matching font-weight: '501' should prefer '501' over '502 510']
|
||||
expected: FAIL
|
||||
|
||||
[Matching font-style: 'italic' should prefer 'oblique 30deg 60deg' over 'oblique 40deg 50deg']
|
||||
expected: FAIL
|
||||
|
||||
|
@ -296,15 +293,9 @@
|
|||
[Matching font-style: 'oblique 10deg' should prefer 'oblique 5deg' over 'oblique 15deg 20deg']
|
||||
expected: FAIL
|
||||
|
||||
[Matching font-style: 'oblique -10deg' should prefer 'oblique -50deg -40deg' over 'italic']
|
||||
expected: FAIL
|
||||
|
||||
[Matching font-weight: '400' should prefer '400' over '450 460']
|
||||
expected: FAIL
|
||||
|
||||
[Matching font-style: 'oblique 20deg' should prefer 'oblique 0deg' over 'oblique -50deg -20deg']
|
||||
expected: FAIL
|
||||
|
||||
[Matching font-style: 'italic' should prefer 'oblique 0deg' over 'oblique -60deg -30deg']
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -74,6 +74,3 @@
|
|||
[opacity end]
|
||||
expected: FAIL
|
||||
|
||||
[letter-spacing end]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
expected: NOTRUN
|
||||
|
||||
[<iframe>: combined response Content-Type: text/plain */*;charset=gbk]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[fetch(): separate response Content-Type: text/html;x=" text/plain]
|
||||
expected: NOTRUN
|
||||
|
@ -163,7 +163,7 @@
|
|||
expected: NOTRUN
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;" " text/plain]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[Request: combined response Content-Type: text/plain;charset=gbk;x=foo text/plain]
|
||||
expected: NOTRUN
|
||||
|
@ -172,7 +172,7 @@
|
|||
expected: NOTRUN
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[Response: combined response Content-Type: text/html;x=" text/plain]
|
||||
expected: NOTRUN
|
||||
|
@ -202,7 +202,7 @@
|
|||
expected: NOTRUN
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;" " text/plain]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[fetch(): separate response Content-Type: text/plain */*;charset=gbk]
|
||||
expected: NOTRUN
|
||||
|
@ -286,7 +286,7 @@
|
|||
expected: NOTRUN
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;" \\" text/plain ";charset=GBK]
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
||||
[fetch(): combined response Content-Type: text/html;" " text/plain]
|
||||
expected: NOTRUN
|
||||
|
@ -310,32 +310,5 @@
|
|||
expected: NOTRUN
|
||||
|
||||
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
|
||||
expected: TIMEOUT
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;" text/plain]
|
||||
expected: TIMEOUT
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;" text/plain]
|
||||
expected: TIMEOUT
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
|
||||
expected: TIMEOUT
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html */*]
|
||||
expected: FAIL
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
|
||||
expected: TIMEOUT
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;x=" text/plain]
|
||||
expected: TIMEOUT
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
|
||||
expected: TIMEOUT
|
||||
|
||||
[<iframe>: separate response Content-Type: text/html;" \\" text/plain]
|
||||
expected: TIMEOUT
|
||||
|
||||
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[traverse_the_history_2.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[traverse_the_history_4.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
[non-active-document.html]
|
||||
[DOMParser]
|
||||
expected: FAIL
|
||||
|
||||
[createHTMLDocument]
|
||||
expected: FAIL
|
||||
|
||||
[<template>]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
[script-onerror-insertion-point-2.html]
|
||||
expected: TIMEOUT
|
|
@ -0,0 +1,4 @@
|
|||
[iframe_005.html]
|
||||
[document.write external script into iframe write back into parent]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
[transition_calc_implicit.html]
|
||||
expected: TIMEOUT
|
|
@ -3,16 +3,30 @@
|
|||
// (https://github.com/tidoust/reffy-reports)
|
||||
// Source: CSS Animation Worklet API (https://wicg.github.io/animation-worklet/)
|
||||
|
||||
[Exposed=Window]
|
||||
partial namespace CSS {
|
||||
[SameObject] readonly attribute Worklet animationWorklet;
|
||||
};
|
||||
|
||||
[ Exposed=AnimationWorklet, Global=AnimationWorklet ]
|
||||
interface AnimationWorkletGlobalScope : WorkletGlobalScope {
|
||||
void registerAnimator(DOMString name, VoidFunction animatorCtor);
|
||||
[Exposed=AnimationWorklet, Global=AnimationWorklet, Constructor (optional any options)]
|
||||
interface StatelessAnimator {
|
||||
};
|
||||
|
||||
[Constructor (DOMString animatorName,
|
||||
[Exposed=AnimationWorklet, Global=AnimationWorklet,
|
||||
Constructor (optional any options, optional any state)]
|
||||
interface StatefulAnimator {
|
||||
any state();
|
||||
};
|
||||
|
||||
[ Exposed=AnimationWorklet, Global=AnimationWorklet ]
|
||||
interface AnimationWorkletGlobalScope : WorkletGlobalScope {
|
||||
void registerAnimator(DOMString name, AnimatorInstanceConstructor animatorCtor);
|
||||
};
|
||||
|
||||
callback AnimatorInstanceConstructor = any (any options, optional any state);
|
||||
|
||||
[Exposed=Window,
|
||||
Constructor (DOMString animatorName,
|
||||
optional (AnimationEffect or sequence<AnimationEffect>)? effects = null,
|
||||
optional AnimationTimeline? timeline,
|
||||
optional any options)]
|
||||
|
@ -20,6 +34,7 @@ interface WorkletAnimation : Animation {
|
|||
readonly attribute DOMString animatorName;
|
||||
};
|
||||
|
||||
[Exposed=AnimationWorklet]
|
||||
interface WorkletGroupEffect {
|
||||
sequence<AnimationEffect> getChildren();
|
||||
};
|
||||
|
|
|
@ -164,6 +164,8 @@ interface BluetoothRemoteGATTCharacteristic : EventTarget {
|
|||
getDescriptors(optional BluetoothDescriptorUUID descriptor);
|
||||
Promise<DataView> readValue();
|
||||
Promise<void> writeValue(BufferSource value);
|
||||
Promise<void> writeValueWithResponse(BufferSource value);
|
||||
Promise<void> writeValueWithoutResponse(BufferSource value);
|
||||
Promise<BluetoothRemoteGATTCharacteristic> startNotifications();
|
||||
Promise<BluetoothRemoteGATTCharacteristic> stopNotifications();
|
||||
};
|
||||
|
|
|
@ -30,7 +30,6 @@ enum XREnvironmentBlendMode {
|
|||
|
||||
[SecureContext, Exposed=Window] interface XRSession : EventTarget {
|
||||
// Attributes
|
||||
readonly attribute XRSessionMode mode;
|
||||
readonly attribute XREnvironmentBlendMode environmentBlendMode;
|
||||
readonly attribute XRRenderState renderState;
|
||||
readonly attribute XRSpace viewerSpace;
|
||||
|
@ -110,7 +109,6 @@ dictionary XRReferenceSpaceOptions {
|
|||
|
||||
[SecureContext, Exposed=Window]
|
||||
interface XRStationaryReferenceSpace : XRReferenceSpace {
|
||||
readonly attribute XRStationaryReferenceSpaceSubtype subtype;
|
||||
};
|
||||
|
||||
[SecureContext, Exposed=Window]
|
||||
|
@ -217,9 +215,6 @@ interface XRWebGLLayer : XRLayer {
|
|||
readonly attribute XRWebGLRenderingContext context;
|
||||
|
||||
readonly attribute boolean antialias;
|
||||
readonly attribute boolean depth;
|
||||
readonly attribute boolean stencil;
|
||||
readonly attribute boolean alpha;
|
||||
readonly attribute boolean ignoreDepthValues;
|
||||
|
||||
readonly attribute WebGLFramebuffer framebuffer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue