servo/tests/wpt/web-platform-tests
bors-servo bac9903fbe
Auto merge of #24123 - gterzian:redo_blob, r=jdm
Restructure Blob, structured serialization

<!-- Please describe your changes on the following line: -->
FIX #24052 and also address the "cloning" half of FIX #23917

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- 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/24123)
<!-- Reviewable:end -->
2019-12-19 16:16:56 -05:00
..
.github Update web-platform-tests to revision 6fbd872e9ac5fe60e32946bc9b318be6eeada123 2019-12-14 10:59:49 +00:00
.well-known
2dcontext Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
accelerometer Update web-platform-tests to revision a3a4442b04c37155f81c4ad4ae9c06339f76ce14 2019-09-19 13:22:29 +00:00
accname Update web-platform-tests to revision 474923949524b5c05a9e6f28ec082fdca87078de 2019-10-25 13:27:26 +00:00
acid
ambient-light Update web-platform-tests to revision a3a4442b04c37155f81c4ad4ae9c06339f76ce14 2019-09-19 13:22:29 +00:00
animation-worklet Update web-platform-tests to revision 82cecba576456d05c09894749379df1013ab488f 2019-10-30 13:49:46 +00:00
annotation-model
annotation-protocol
annotation-vocab Update web-platform-tests to revision 89aa3f42131cce5a77268ddaeb2fab8a2e29c2a6 2019-11-17 14:10:26 +00:00
apng
appmanifest
audio-output
background-fetch
BackgroundSync Update web-platform-tests to revision f0cb9071aea5ce5b641fcba5f362a0796bdc70bc 2019-11-23 13:39:46 +00:00
battery-status Update web-platform-tests to revision 70fdd27f4cecb8a5cae3dafa76ba05265531c9e2 2019-11-10 14:14:47 +00:00
beacon Update web-platform-tests to revision 7c15d5b4e87b3a20ca2bc523b33303131510bc01 2019-10-10 13:44:00 +00:00
bluetooth Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
clear-site-data Update web-platform-tests to revision e710d1d6bbe007a6a9344f79e17b445cf97cc623 2019-10-09 13:27:36 +00:00
client-hints Update web-platform-tests to revision fa41b43ac93bc2fdc2427a4378dc3754d483cdda 2019-12-10 11:06:32 +00:00
clipboard-apis Update web-platform-tests to revision 6fbd872e9ac5fe60e32946bc9b318be6eeada123 2019-12-14 10:59:49 +00:00
common Update web-platform-tests to revision 157b71e48394fb63f91fa497be429c3543b0ab03 2019-11-25 14:07:26 +00:00
compat Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
compression Update web-platform-tests to revision 3503c50a6452e153bde906a9c6644cb6237224fc 2019-11-30 14:25:22 +00:00
conformance-checkers Update web-platform-tests to revision fa41b43ac93bc2fdc2427a4378dc3754d483cdda 2019-12-10 11:06:32 +00:00
console
contacts Update web-platform-tests to revision 70fdd27f4cecb8a5cae3dafa76ba05265531c9e2 2019-11-10 14:14:47 +00:00
content-dpr Update web-platform-tests to revision 0317e9a8591851f97d59c9de28c46ea1c2a25f88 2019-12-03 14:09:06 +00:00
content-security-policy Update web-platform-tests to revision 54a6679265caf957a1470c2b398a81bd5440dd2f 2019-12-04 14:25:42 +00:00
cookie-store Update web-platform-tests to revision ff11f93316527e37ec580adca01a9cf0a58a297e 2019-12-02 14:41:01 +00:00
cookies Update web-platform-tests to revision 1cee79240e1a6e2df18faa0ed27c7febada1e3fb 2019-11-26 13:17:56 +00:00
core-aam
cors
credential-management Update web-platform-tests to revision fa41b43ac93bc2fdc2427a4378dc3754d483cdda 2019-12-10 11:06:32 +00:00
css Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
custom-elements Update web-platform-tests to revision 548818eee08f7a6e31b9706b352b5d44b2f6d024 2019-12-12 10:59:51 +00:00
device-memory
docs Update web-platform-tests to revision 0ed072539aa45d3a5a67c9164b243d27873f257c 2019-12-13 11:03:54 +00:00
document-policy Update web-platform-tests to revision 3503c50a6452e153bde906a9c6644cb6237224fc 2019-11-30 14:25:22 +00:00
dom Update web-platform-tests to revision 0ed072539aa45d3a5a67c9164b243d27873f257c 2019-12-13 11:03:54 +00:00
domparsing Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
domxpath Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
dpub-aam Update web-platform-tests to revision fa41b43ac93bc2fdc2427a4378dc3754d483cdda 2019-12-10 11:06:32 +00:00
dpub-aria Update web-platform-tests to revision fa41b43ac93bc2fdc2427a4378dc3754d483cdda 2019-12-10 11:06:32 +00:00
editing Update web-platform-tests to revision 2b80e6d28f3c1ca734384ebded282bf07df80657 2019-10-18 13:42:40 +00:00
element-timing Update web-platform-tests to revision 0abb411331f86f472103183c7ec1136ea21a7e1b 2019-10-31 14:12:13 +00:00
encoding Update web-platform-tests to revision e710d1d6bbe007a6a9344f79e17b445cf97cc623 2019-10-09 13:27:36 +00:00
encoding-detection Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
encrypted-media Update web-platform-tests to revision 332b7c4e711d75ead4c0dfbf7f6f0b683206756d 2019-09-25 13:47:14 +00:00
entries-api
event-timing Update web-platform-tests to revision 2b80e6d28f3c1ca734384ebded282bf07df80657 2019-10-18 13:42:40 +00:00
eventsource Update web-platform-tests to revision 756a676d640e9a772f565964285b2f20f6164fce 2019-09-07 14:29:08 +00:00
feature-policy Update web-platform-tests to revision fa41b43ac93bc2fdc2427a4378dc3754d483cdda 2019-12-10 11:06:32 +00:00
fetch Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
FileAPI Update web-platform-tests to revision cbd8c8ca929bc1aea71087be3b826cf1ee189a52 2019-10-28 14:07:02 +00:00
fonts Update web-platform-tests to revision 4ab3cef83d73c2b6dd3616e0fe9165b3a6eed808 2019-09-28 13:38:48 +00:00
forced-colors-mode Update web-platform-tests to revision 2660fc486f7027c913863d48a8843942f0c0365e 2019-09-12 15:00:14 +00:00
fullscreen Update web-platform-tests to revision 82cecba576456d05c09894749379df1013ab488f 2019-10-30 13:49:46 +00:00
gamepad Update web-platform-tests to revision e710d1d6bbe007a6a9344f79e17b445cf97cc623 2019-10-09 13:27:36 +00:00
generic-sensor Update web-platform-tests to revision 9f31d497bf87bdf5ebc3ba70b5cb9f87786f4071 2019-10-15 13:26:56 +00:00
geolocation-API Update web-platform-tests to revision 89aa3f42131cce5a77268ddaeb2fab8a2e29c2a6 2019-11-17 14:10:26 +00:00
geolocation-sensor Update web-platform-tests to revision a3a4442b04c37155f81c4ad4ae9c06339f76ce14 2019-09-19 13:22:29 +00:00
graphics-aam
gyroscope Update web-platform-tests to revision a3a4442b04c37155f81c4ad4ae9c06339f76ce14 2019-09-19 13:22:29 +00:00
hr-time Update web-platform-tests to revision 7c15d5b4e87b3a20ca2bc523b33303131510bc01 2019-10-10 13:44:00 +00:00
html Auto merge of #24123 - gterzian:redo_blob, r=jdm 2019-12-19 16:16:56 -05:00
html-longdesc Update web-platform-tests to revision d2f5658cb7f7806b2c6adf81ecb7ded82fb85df5 2019-10-24 15:48:44 +00:00
html-media-capture
idle-detection
imagebitmap-renderingcontext Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
images Update web-platform-tests to revision 474923949524b5c05a9e6f28ec082fdca87078de 2019-10-25 13:27:26 +00:00
import-maps Update web-platform-tests to revision 54a6679265caf957a1470c2b398a81bd5440dd2f 2019-12-04 14:25:42 +00:00
IndexedDB Update web-platform-tests to revision fa41b43ac93bc2fdc2427a4378dc3754d483cdda 2019-12-10 11:06:32 +00:00
inert Update web-platform-tests to revision f0cb9071aea5ce5b641fcba5f362a0796bdc70bc 2019-11-23 13:39:46 +00:00
infrastructure Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
input-device-capabilities
input-events Update web-platform-tests to revision 89aa3f42131cce5a77268ddaeb2fab8a2e29c2a6 2019-11-17 14:10:26 +00:00
installedapp Update web-platform-tests to revision 89aa3f42131cce5a77268ddaeb2fab8a2e29c2a6 2019-11-17 14:10:26 +00:00
interfaces Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
intersection-observer Update web-platform-tests to revision f0cb9071aea5ce5b641fcba5f362a0796bdc70bc 2019-11-23 13:39:46 +00:00
js
keyboard-lock
keyboard-map
kv-storage
largest-contentful-paint Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
layout-instability Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
lifecycle Update web-platform-tests to revision a3a4442b04c37155f81c4ad4ae9c06339f76ce14 2019-09-19 13:22:29 +00:00
loading Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
longtask-timing Update web-platform-tests to revision 548818eee08f7a6e31b9706b352b5d44b2f6d024 2019-12-12 10:59:51 +00:00
magnetometer Update web-platform-tests to revision a3a4442b04c37155f81c4ad4ae9c06339f76ce14 2019-09-19 13:22:29 +00:00
mathml Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
measure-memory Update web-platform-tests to revision e710d1d6bbe007a6a9344f79e17b445cf97cc623 2019-10-09 13:27:36 +00:00
media Update web-platform-tests to revision 3503c50a6452e153bde906a9c6644cb6237224fc 2019-11-30 14:25:22 +00:00
media-capabilities Update web-platform-tests to revision 54a6679265caf957a1470c2b398a81bd5440dd2f 2019-12-04 14:25:42 +00:00
media-playback-quality
media-source Update web-platform-tests to revision 6fbd872e9ac5fe60e32946bc9b318be6eeada123 2019-12-14 10:59:49 +00:00
mediacapture-depth
mediacapture-fromelement
mediacapture-image Update web-platform-tests to revision 89aa3f42131cce5a77268ddaeb2fab8a2e29c2a6 2019-11-17 14:10:26 +00:00
mediacapture-record Update web-platform-tests to revision 70fdd27f4cecb8a5cae3dafa76ba05265531c9e2 2019-11-10 14:14:47 +00:00
mediacapture-streams Update web-platform-tests to revision 89aa3f42131cce5a77268ddaeb2fab8a2e29c2a6 2019-11-17 14:10:26 +00:00
mediasession Update web-platform-tests to revision e4c65276b686cd788b2c4f8c395025df371e84a1 2019-10-12 13:42:08 +00:00
mimesniff
mixed-content Update web-platform-tests to revision 70fdd27f4cecb8a5cae3dafa76ba05265531c9e2 2019-11-10 14:14:47 +00:00
mst-content-hint
native-file-system Update web-platform-tests to revision 89aa3f42131cce5a77268ddaeb2fab8a2e29c2a6 2019-11-17 14:10:26 +00:00
navigation-timing Update web-platform-tests to revision cbd8c8ca929bc1aea71087be3b826cf1ee189a52 2019-10-28 14:07:02 +00:00
netinfo
network-error-logging
notifications
offscreen-canvas Update web-platform-tests to revision 54a6679265caf957a1470c2b398a81bd5440dd2f 2019-12-04 14:25:42 +00:00
old-tests
orientation-event Update web-platform-tests to revision 2660fc486f7027c913863d48a8843942f0c0365e 2019-09-12 15:00:14 +00:00
orientation-sensor Update web-platform-tests to revision a3a4442b04c37155f81c4ad4ae9c06339f76ce14 2019-09-19 13:22:29 +00:00
origin-policy
page-visibility Update web-platform-tests to revision 7c15d5b4e87b3a20ca2bc523b33303131510bc01 2019-10-10 13:44:00 +00:00
paint-timing
payment-handler Update web-platform-tests to revision f1e1bd6bfa544af8059ff8ef79d622281f9ec0a8 2019-10-01 13:54:31 +00:00
payment-method-basic-card Update web-platform-tests to revision b624f9b794b1fbc6672fb744bb0ed18819be4d44 2019-11-18 15:04:31 +00:00
payment-method-id
payment-request Update web-platform-tests to revision 0ed072539aa45d3a5a67c9164b243d27873f257c 2019-12-13 11:03:54 +00:00
performance-timeline Update web-platform-tests to revision 7c15d5b4e87b3a20ca2bc523b33303131510bc01 2019-10-10 13:44:00 +00:00
PeriodicBackgroundSync Update web-platform-tests to revision 54a6679265caf957a1470c2b398a81bd5440dd2f 2019-12-04 14:25:42 +00:00
permissions Update web-platform-tests to revision fa41b43ac93bc2fdc2427a4378dc3754d483cdda 2019-12-10 11:06:32 +00:00
picture-in-picture
pointerevents Update web-platform-tests to revision f0cb9071aea5ce5b641fcba5f362a0796bdc70bc 2019-11-23 13:39:46 +00:00
pointerlock Update web-platform-tests to revision a3dd2ad02c65588ad280ceac378d82e9250d1045 2019-10-23 14:17:29 +00:00
portals Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
preload Update web-platform-tests to revision 424249088dd679888e07bd315dd8ebc98ccf323a 2019-11-03 13:38:54 +00:00
presentation-api
printing
priority-hints
proximity Update web-platform-tests to revision 4ab3cef83d73c2b6dd3616e0fe9165b3a6eed808 2019-09-28 13:38:48 +00:00
push-api
quirks Update web-platform-tests to revision 3f26c954fb1791782bb73bd2f37a727bd8650d55 2019-11-24 13:00:21 +00:00
referrer-policy Update web-platform-tests to revision 70fdd27f4cecb8a5cae3dafa76ba05265531c9e2 2019-11-10 14:14:47 +00:00
remote-playback
reporting Update web-platform-tests to revision 89aa3f42131cce5a77268ddaeb2fab8a2e29c2a6 2019-11-17 14:10:26 +00:00
requestidlecallback
resize-observer
resource-timing Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
resources Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
screen-capture Update web-platform-tests to revision f0cb9071aea5ce5b641fcba5f362a0796bdc70bc 2019-11-23 13:39:46 +00:00
screen-orientation Update web-platform-tests to revision 89aa3f42131cce5a77268ddaeb2fab8a2e29c2a6 2019-11-17 14:10:26 +00:00
screen_enumeration Update web-platform-tests to revision fa41b43ac93bc2fdc2427a4378dc3754d483cdda 2019-12-10 11:06:32 +00:00
scroll-animations Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
scroll-to-text-fragment Update web-platform-tests to revision 548818eee08f7a6e31b9706b352b5d44b2f6d024 2019-12-12 10:59:51 +00:00
secure-contexts
selection
serial
server-timing Update web-platform-tests to revision cbd8c8ca929bc1aea71087be3b826cf1ee189a52 2019-10-28 14:07:02 +00:00
service-workers Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
shadow-dom Update web-platform-tests to revision f0cb9071aea5ce5b641fcba5f362a0796bdc70bc 2019-11-23 13:39:46 +00:00
shape-detection
signed-exchange Update web-platform-tests to revision 332b7c4e711d75ead4c0dfbf7f6f0b683206756d 2019-09-25 13:47:14 +00:00
sms Update web-platform-tests to revision fa41b43ac93bc2fdc2427a4378dc3754d483cdda 2019-12-10 11:06:32 +00:00
speech-api Update web-platform-tests to revision 70fdd27f4cecb8a5cae3dafa76ba05265531c9e2 2019-11-10 14:14:47 +00:00
std-toast
storage Update web-platform-tests to revision 332b7c4e711d75ead4c0dfbf7f6f0b683206756d 2019-09-25 13:47:14 +00:00
storage-access-api Update web-platform-tests to revision 3503c50a6452e153bde906a9c6644cb6237224fc 2019-11-30 14:25:22 +00:00
streams Update web-platform-tests to revision 548818eee08f7a6e31b9706b352b5d44b2f6d024 2019-12-12 10:59:51 +00:00
subresource-integrity Update web-platform-tests to revision 90e1ee27eede63cf117f19c1e55553cc1881aef0 2019-09-27 13:51:36 +00:00
svg Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
svg-aam Update web-platform-tests to revision fa41b43ac93bc2fdc2427a4378dc3754d483cdda 2019-12-10 11:06:32 +00:00
timing-entrytypes-registry Update web-platform-tests to revision 7c15d5b4e87b3a20ca2bc523b33303131510bc01 2019-10-10 13:44:00 +00:00
tools Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
touch-events
trusted-types Update web-platform-tests to revision 548818eee08f7a6e31b9706b352b5d44b2f6d024 2019-12-12 10:59:51 +00:00
uievents Update web-platform-tests to revision 89aa3f42131cce5a77268ddaeb2fab8a2e29c2a6 2019-11-17 14:10:26 +00:00
upgrade-insecure-requests Update web-platform-tests to revision 70fdd27f4cecb8a5cae3dafa76ba05265531c9e2 2019-11-10 14:14:47 +00:00
url Update web-platform-tests to revision 82cecba576456d05c09894749379df1013ab488f 2019-10-30 13:49:46 +00:00
user-timing Update web-platform-tests to revision 7c15d5b4e87b3a20ca2bc523b33303131510bc01 2019-10-10 13:44:00 +00:00
vibration Update web-platform-tests to revision 70fdd27f4cecb8a5cae3dafa76ba05265531c9e2 2019-11-10 14:14:47 +00:00
visual-viewport Update web-platform-tests to revision f0cb9071aea5ce5b641fcba5f362a0796bdc70bc 2019-11-23 13:39:46 +00:00
wai-aria Update web-platform-tests to revision fa41b43ac93bc2fdc2427a4378dc3754d483cdda 2019-12-10 11:06:32 +00:00
wake-lock Update web-platform-tests to revision a3dd2ad02c65588ad280ceac378d82e9250d1045 2019-10-23 14:17:29 +00:00
wasm Update web-platform-tests to revision 0ed072539aa45d3a5a67c9164b243d27873f257c 2019-12-13 11:03:54 +00:00
web-animations Update web-platform-tests to revision fa41b43ac93bc2fdc2427a4378dc3754d483cdda 2019-12-10 11:06:32 +00:00
web-locks Update web-platform-tests to revision 89aa3f42131cce5a77268ddaeb2fab8a2e29c2a6 2019-11-17 14:10:26 +00:00
web-nfc Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
web-share Update web-platform-tests to revision 670f3ef16f9b38e22e3b863dcdc2ea860348929a 2019-10-21 14:37:40 +00:00
webaudio Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
webauthn Update web-platform-tests to revision fa41b43ac93bc2fdc2427a4378dc3754d483cdda 2019-12-10 11:06:32 +00:00
WebCryptoAPI Update web-platform-tests to revision 424249088dd679888e07bd315dd8ebc98ccf323a 2019-11-03 13:38:54 +00:00
webdriver Update web-platform-tests to revision 548818eee08f7a6e31b9706b352b5d44b2f6d024 2019-12-12 10:59:51 +00:00
webgl Update web-platform-tests to revision 90e1ee27eede63cf117f19c1e55553cc1881aef0 2019-09-27 13:51:36 +00:00
webgpu Update web-platform-tests to revision f0cb9071aea5ce5b641fcba5f362a0796bdc70bc 2019-11-23 13:39:46 +00:00
WebIDL Add WPT test for invalidating WebIDL iterators during forEach 2019-11-25 20:27:15 -08:00
webmessaging Update web-platform-tests to revision cbd8c8ca929bc1aea71087be3b826cf1ee189a52 2019-10-28 14:07:02 +00:00
webmidi
webrtc Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
webrtc-extensions Update web-platform-tests to revision a3dd2ad02c65588ad280ceac378d82e9250d1045 2019-10-23 14:17:29 +00:00
webrtc-identity Update web-platform-tests to revision f1e1bd6bfa544af8059ff8ef79d622281f9ec0a8 2019-10-01 13:54:31 +00:00
webrtc-quic
webrtc-stats
webrtc-svc
websockets Update web-platform-tests to revision 70fdd27f4cecb8a5cae3dafa76ba05265531c9e2 2019-11-10 14:14:47 +00:00
webstorage
webusb Update web-platform-tests to revision 3564c21f260aeb6862ceaa56bee9c39b74db3440 2019-10-03 13:25:50 +00:00
webvr
webvtt Update web-platform-tests to revision 89aa3f42131cce5a77268ddaeb2fab8a2e29c2a6 2019-11-17 14:10:26 +00:00
webxr Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44 2019-12-19 10:58:13 +00:00
workers Update web-platform-tests to revision fa41b43ac93bc2fdc2427a4378dc3754d483cdda 2019-12-10 11:06:32 +00:00
worklets Update web-platform-tests to revision e710d1d6bbe007a6a9344f79e17b445cf97cc623 2019-10-09 13:27:36 +00:00
x-frame-options
xhr Update web-platform-tests to revision 3503c50a6452e153bde906a9c6644cb6237224fc 2019-11-30 14:25:22 +00:00
xslt
.azure-pipelines.yml Update web-platform-tests to revision 0ed072539aa45d3a5a67c9164b243d27873f257c 2019-12-13 11:03:54 +00:00
.codecov.yml
.gitattributes
.gitignore
.mailmap
.pyup.yml Update web-platform-tests to revision cbd8c8ca929bc1aea71087be3b826cf1ee189a52 2019-10-28 14:07:02 +00:00
.taskcluster.yml Update web-platform-tests to revision fa41b43ac93bc2fdc2427a4378dc3754d483cdda 2019-12-10 11:06:32 +00:00
CODEOWNERS
CONTRIBUTING.md Update web-platform-tests to revision 70fdd27f4cecb8a5cae3dafa76ba05265531c9e2 2019-11-10 14:14:47 +00:00
LICENSE
LICENSE.md
lint.whitelist Update web-platform-tests to revision 6fbd872e9ac5fe60e32946bc9b318be6eeada123 2019-12-14 10:59:49 +00:00
README.md Update web-platform-tests to revision 54a6679265caf957a1470c2b398a81bd5440dd2f 2019-12-04 14:25:42 +00:00
testharness_runner.html
update-built-tests.sh Update web-platform-tests to revision cbd8c8ca929bc1aea71087be3b826cf1ee189a52 2019-10-28 14:07:02 +00:00
wpt
wpt.py Update web-platform-tests to revision 70fdd27f4cecb8a5cae3dafa76ba05265531c9e2 2019-11-10 14:14:47 +00:00

The web-platform-tests Project

Taskcluster CI Status

The web-platform-tests Project is a W3C-coordinated attempt to build a cross-browser test suite for the Web-platform stack. Writing tests in a way that allows them to be run in all browsers gives browser projects confidence that they are shipping software that is compatible with other implementations, and that later implementations will be compatible with their implementations. This in turn gives Web authors/developers confidence that they can actually rely on the Web platform to deliver on the promise of working across browsers and devices without needing extra layers of abstraction to paper over the gaps left by specification editors and implementors.

The most important sources of information and activity are:

  • github.com/web-platform-tests/wpt: the canonical location of the project's source code revision history and the discussion forum for changes to the code
  • web-platform-tests.org: the documentation website; details how to set up the project, how to write tests, how to give and receive peer review, how to serve as an administrator, and more
  • wpt.live: a public deployment of the test suite, allowing anyone to run the tests by visiting from an Internet-enabled browser of their choice
  • wpt.fyi: an archive of test results collected from an array of web browsers on a regular basis
  • Real-time chat room: the IRC chat room named #testing on irc.w3.org; includes participants located around the world, but busiest during the European working day; all discussion is archived here
  • Mailing list: a public and low-traffic discussion list

If you'd like clarification about anything, don't hesitate to ask in the chat room or on the mailing list.

Setting Up the Repo

Clone or otherwise get https://github.com/web-platform-tests/wpt.

Note: because of the frequent creation and deletion of branches in this repo, it is recommended to "prune" stale branches when fetching updates, i.e. use git pull --prune (or git fetch -p && git merge).

Running the Tests

See the documentation website and in particular the system setup for running tests locally.

Command Line Tools

The wpt command provides a frontend to a variety of tools for working with and running web-platform-tests. Some of the most useful commands are:

  • wpt serve - For starting the wpt http server
  • wpt run - For running tests in a browser
  • wpt lint - For running the lint against all tests
  • wpt manifest - For updating or generating a MANIFEST.json test manifest
  • wpt install - For installing the latest release of a browser or webdriver server on the local machine.

Windows Notes

On Windows wpt commands must be prefixed with python or the path to the python binary (if python is not in your %PATH%).

python wpt [command]

Alternatively, you may also use Bash on Ubuntu on Windows in the Windows 10 Anniversary Update build, then access your windows partition from there to launch wpt commands.

Please make sure git and your text editor do not automatically convert line endings, as it will cause lint errors. For git, please set git config core.autocrlf false in your working tree.

Publication

The master branch is automatically synced to http://w3c-test.org/.

Pull requests are automatically mirrored except those that modify sensitive resources (such as .py). The latter require someone with merge access to comment with "LGTM" or "w3c-test:mirror" to indicate the pull request has been checked.

Branches

In the vast majority of cases the only upstream branch that you should need to care about is master. If you see other branches in the repository, you can generally safely ignore them.

Contributing

Save the Web, Write Some Tests!

Absolutely everyone is welcome to contribute to test development. No test is too small or too simple, especially if it corresponds to something for which you've noted an interoperability bug in a browser.

The way to contribute is just as usual:

  • Fork this repository (and make sure you're still relatively in sync with it if you forked a while ago).
  • Create a branch for your changes: git checkout -b topic.
  • Make your changes.
  • Run ./wpt lint as described above.
  • Commit locally and push that to your repo.
  • Create a pull request based on the above.

Issues with web-platform-tests

If you spot an issue with a test and are not comfortable providing a pull request per above to fix it, please file a new issue. Thank you!