Commit 8c5ab627 authored by Chromium WPT Sync's avatar Chromium WPT Sync Committed by Commit Bot

Import wpt@407ecdff87af8aeceaa07cbc71aac9ec355d4334

Using wpt-import in Chromium 737f592b.
With Chromium commits locally applied on WPT:
04a79336 "Send boundary events rightaway after pointerup"


Build: https://ci.chromium.org/buildbot/chromium.infra.cron/wpt-importer/17191

Note to sheriffs: This CL imports external tests and adds
expectations for those tests; if this CL is large and causes
a few new failures, please fix the failures by adding new
lines to TestExpectations rather than reverting. See:
https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md

Directory owners for changes in this CL:
alexander.shalamov@intel.com, kenneth.r.christiansen@intel.com, rijubrata.bhaumik@intel.com:
  external/wpt/web-nfc
chcunningham@chromium.org, wolenetz@chromium.org:
  external/wpt/media-source
chongz@chromium.org:
  external/wpt/pointerlock
drott@chromium.org, kojii@chromium.org:
  external/wpt/css/css-fonts
mlamouri@chromium.org:
  external/wpt/screen-orientation
panicker@chromium.org:
  external/wpt/page-visibility
yhirano@chromium.org, mkwst@chromium.org, japhet@chromium.org:
  external/wpt/fetch

TBR=danyao

No-Export: true
Change-Id: I31bec31c54e422553a77d31ec8d9af1c0a031422
Reviewed-on: https://chromium-review.googlesource.com/1052427
Commit-Queue: Blink WPT Bot <blink-w3c-test-autoroller@chromium.org>
Reviewed-by: default avatarBlink WPT Bot <blink-w3c-test-autoroller@chromium.org>
Cr-Commit-Position: refs/heads/master@{#557241}
parent f83ad555
...@@ -2786,6 +2786,7 @@ crbug.com/832071 external/wpt/service-workers/service-worker/worker-client-id.ht ...@@ -2786,6 +2786,7 @@ crbug.com/832071 external/wpt/service-workers/service-worker/worker-client-id.ht
crbug.com/832071 virtual/navigation-mojo-response/external/wpt/service-workers/service-worker/worker-client-id.https.html [ Failure ] crbug.com/832071 virtual/navigation-mojo-response/external/wpt/service-workers/service-worker/worker-client-id.https.html [ Failure ]
# ====== New tests from wpt-importer added here ====== # ====== New tests from wpt-importer added here ======
crbug.com/626703 [ Mac10.12 ] external/wpt/accelerometer/Accelerometer.https.html [ Timeout ]
crbug.com/626703 [ Retina ] external/wpt/pointerevents/pointerevent_touch-action-button-test_touch-manual.html [ Skip ] crbug.com/626703 [ Retina ] external/wpt/pointerevents/pointerevent_touch-action-button-test_touch-manual.html [ Skip ]
crbug.com/626703 [ Retina ] external/wpt/pointerevents/pointerevent_touch-action-table-test_touch-manual.html [ Skip ] crbug.com/626703 [ Retina ] external/wpt/pointerevents/pointerevent_touch-action-table-test_touch-manual.html [ Skip ]
crbug.com/626703 [ Mac10.12 ] external/wpt/pointerevents/pointerevent_touch-action-button-test_touch-manual.html [ Skip ] crbug.com/626703 [ Mac10.12 ] external/wpt/pointerevents/pointerevent_touch-action-button-test_touch-manual.html [ Skip ]
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
<title>Testing new font-matching algorithm for font-weight values introduced in CSS Fonts level 4 (for system fonts)</title> <title>Testing new font-matching algorithm for font-weight values introduced in CSS Fonts level 4 (for system fonts)</title>
<link rel="help" href="https://www.w3.org/TR/css-fonts-4/#font-matching-algorithm" /> <link rel="help" href="https://www.w3.org/TR/css-fonts-4/#font-matching-algorithm" />
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<!-- THIS TEST REQUIRES THAT YOU INSTALL THE [csstest-*.ttf] FONTS OF THE [resources] FOLDER --> <!-- THIS TEST REQUIRES THAT YOU INSTALL THE [csstest-*.ttf] FONTS OF THE [resources] FOLDER -->
<meta name="flags" content="font" /> <meta name="flags" content="font" />
......
This is a testharness.js-based test.
PASS CORS filter on Cache-Control header
PASS CORS filter on Content-Language header
PASS CORS filter on Content-Type header
PASS CORS filter on Expires header
PASS CORS filter on Last-Modified header
PASS CORS filter on Pragma header
FAIL CORS filter on Content-Length header assert_equals: Content-Length header should be included in response with value: 3 expected (string) "3" but got (object) null
PASS CORS filter on Age header
PASS CORS filter on Server header
PASS CORS filter on Warning header
PASS CORS filter on Set-Cookie header
PASS CORS filter on Set-Cookie2 header
PASS CORS filter on Age header, header is exposed
PASS CORS filter on Server header, header is exposed
PASS CORS filter on Warning header, header is exposed
PASS CORS filter on Set-Cookie header, header is forbidden
PASS CORS filter on Set-Cookie2 header, header is forbidden
PASS CORS filter on Set-Cookie header, header is forbidden(credentials = include)
PASS CORS filter on Set-Cookie2 header, header is forbidden(credentials = include)
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS CORS filter on Cache-Control header
PASS CORS filter on Content-Language header
PASS CORS filter on Content-Type header
PASS CORS filter on Expires header
PASS CORS filter on Last-Modified header
PASS CORS filter on Pragma header
FAIL CORS filter on Content-Length header assert_equals: Content-Length header should be included in response with value: 3 expected (string) "3" but got (object) null
PASS CORS filter on Age header
PASS CORS filter on Server header
PASS CORS filter on Warning header
PASS CORS filter on Set-Cookie header
PASS CORS filter on Set-Cookie2 header
PASS CORS filter on Age header, header is exposed
PASS CORS filter on Server header, header is exposed
PASS CORS filter on Warning header, header is exposed
PASS CORS filter on Set-Cookie header, header is forbidden
PASS CORS filter on Set-Cookie2 header, header is forbidden
PASS CORS filter on Set-Cookie header, header is forbidden(credentials = include)
PASS CORS filter on Set-Cookie2 header, header is forbidden(credentials = include)
Harness: the test ran to completion.
...@@ -52,18 +52,17 @@ corsFilter(url, "Content-Type", "text/html", false); ...@@ -52,18 +52,17 @@ corsFilter(url, "Content-Type", "text/html", false);
corsFilter(url, "Expires","04 May 1988 22:22:22 GMT" , false); corsFilter(url, "Expires","04 May 1988 22:22:22 GMT" , false);
corsFilter(url, "Last-Modified", "04 May 1988 22:22:22 GMT", false); corsFilter(url, "Last-Modified", "04 May 1988 22:22:22 GMT", false);
corsFilter(url, "Pragma", "no-cache", false); corsFilter(url, "Pragma", "no-cache", false);
corsFilter(url, "Content-Length", "3" , false); // top.txt contains "top"
corsFilter(url, "Age", "27", true); corsFilter(url, "Age", "27", true);
corsFilter(url, "Server", "wptServe" , true); corsFilter(url, "Server", "wptServe" , true);
corsFilter(url, "Warning", "Mind the gap" , true); corsFilter(url, "Warning", "Mind the gap" , true);
corsFilter(url, "Content-Length", "3" , true); // top.txt contains "top"
corsFilter(url, "Set-Cookie", "name=value" , true); corsFilter(url, "Set-Cookie", "name=value" , true);
corsFilter(url, "Set-Cookie2", "name=value" , true); corsFilter(url, "Set-Cookie2", "name=value" , true);
corsExposeFilter(url, "Age", "27", false); corsExposeFilter(url, "Age", "27", false);
corsExposeFilter(url, "Server", "wptServe" , false); corsExposeFilter(url, "Server", "wptServe" , false);
corsExposeFilter(url, "Warning", "Mind the gap" , false); corsExposeFilter(url, "Warning", "Mind the gap" , false);
corsExposeFilter(url, "Content-Length", "3" , false);
corsExposeFilter(url, "Set-Cookie", "name=value" , true); corsExposeFilter(url, "Set-Cookie", "name=value" , true);
corsExposeFilter(url, "Set-Cookie2", "name=value" , true); corsExposeFilter(url, "Set-Cookie2", "name=value" , true);
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<head> <head>
<title>graphics-document on HTML element</title> <title>graphics-document on HTML element</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link rel="stylesheet" href="/resources/testharness.css">
<link rel="stylesheet" href="/wai-aria/scripts/manual.css"> <link rel="stylesheet" href="/wai-aria/scripts/manual.css">
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<head> <head>
<title>graphics-document on SVG element</title> <title>graphics-document on SVG element</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link rel="stylesheet" href="/resources/testharness.css">
<link rel="stylesheet" href="/wai-aria/scripts/manual.css"> <link rel="stylesheet" href="/wai-aria/scripts/manual.css">
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<head> <head>
<title>graphics-object on HTML element</title> <title>graphics-object on HTML element</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link rel="stylesheet" href="/resources/testharness.css">
<link rel="stylesheet" href="/wai-aria/scripts/manual.css"> <link rel="stylesheet" href="/wai-aria/scripts/manual.css">
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<head> <head>
<title>graphics-object on SVG element</title> <title>graphics-object on SVG element</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link rel="stylesheet" href="/resources/testharness.css">
<link rel="stylesheet" href="/wai-aria/scripts/manual.css"> <link rel="stylesheet" href="/wai-aria/scripts/manual.css">
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<head> <head>
<title>graphics-symbol on HTML element</title> <title>graphics-symbol on HTML element</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link rel="stylesheet" href="/resources/testharness.css">
<link rel="stylesheet" href="/wai-aria/scripts/manual.css"> <link rel="stylesheet" href="/wai-aria/scripts/manual.css">
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<head> <head>
<title>graphics-symbol on SVG element</title> <title>graphics-symbol on SVG element</title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
<link rel="stylesheet" href="/resources/testharness.css">
<link rel="stylesheet" href="/wai-aria/scripts/manual.css"> <link rel="stylesheet" href="/wai-aria/scripts/manual.css">
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
......
<!doctype html>
<meta charset={{GET[encoding]}}> <!-- ends up as <meta charset> by default which is windows-1252 -->
<meta name=variant content="?encoding=x-cp1251">
<meta name=variant content="?encoding=utf8">
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<div id=log></div>
<script>
function expected(encoding) {
return "?" + {
"UTF-8": "%C3%BF",
"windows-1251": "&%23255;",
"windows-1252": "%FF"
}[encoding];
}
[
[(win, input) => { win.location = input; }, "location [PutForwards]"],
[(win, input) => { win.location.assign(input); }, "location.assign()"],
[(win, input) => { win.location.replace(input); }, "location.replace()"],
[(win, input) => { win.location.href = input; }, "location.href"]
].forEach(([callback, desc]) => {
async_test(t => {
const frame = document.body.appendChild(document.createElement("iframe")),
actualEncoding = document.characterSet
callback(frame.contentWindow, "/common/blank.html?\u00FF");
frame.onload = t.step_func_done(() => {
assert_equals(frame.contentWindow.location.search, expected(actualEncoding));
});
}, desc);
});
async_test(t => {
const frame = document.body.appendChild(document.createElement("iframe")),
actualEncoding = document.characterSet;
frame.src = "/common/blank.html";
frame.onload = t.step_func(() => {
frame.contentWindow.location.search = "\u00FF";
frame.onload = t.step_func_done(() => {
assert_equals(frame.contentWindow.location.search, expected(actualEncoding));
});
});
}, "location.search");
</script>
This is a testharness.js-based test.
FAIL location [PutForwards] assert_equals: expected "?&%23255;" but got "?%26%23255%3B"
FAIL location.assign() assert_equals: expected "?&%23255;" but got "?%26%23255%3B"
FAIL location.replace() assert_equals: expected "?&%23255;" but got "?%26%23255%3B"
FAIL location.href assert_equals: expected "?&%23255;" but got "?%26%23255%3B"
FAIL location.search assert_equals: expected "?&%23255;" but got "?%C3%BF"
Harness: the test ran to completion.
// NOTE: this file needs to be split up rather than expanded. See ../location.sub.html for some
// extracted tests. Tracked by https://github.com/w3c/web-platform-tests/issues/4934.
setup({explicit_done:true}); setup({explicit_done:true});
onload = function() { onload = function() {
var encoding = '{{GET[encoding]}}'; var encoding = '{{GET[encoding]}}';
...@@ -35,7 +38,7 @@ onload = function() { ...@@ -35,7 +38,7 @@ onload = function() {
// page and the test timing out // page and the test timing out
test_obj.force_timeout(); test_obj.force_timeout();
} }
step_timeout(poll, 200); test_obj.step_timeout(poll, 200);
} else { } else {
assert_equals(xhr.response, expected); assert_equals(xhr.response, expected);
test_obj.done(); test_obj.done();
...@@ -43,7 +46,7 @@ onload = function() { ...@@ -43,7 +46,7 @@ onload = function() {
}); });
xhr.send(); xhr.send();
}) })
step_timeout(poll, 200); test_obj.step_timeout(poll, 200);
} }
// background attribute, check with getComputedStyle // background attribute, check with getComputedStyle
...@@ -505,55 +508,6 @@ onload = function() { ...@@ -505,55 +508,6 @@ onload = function() {
}, 'window.open()', }, 'window.open()',
{help:'https://html.spec.whatwg.org/multipage/#dom-open'}); {help:'https://html.spec.whatwg.org/multipage/#dom-open'});
// location
function test_location(func, desc) {
async_test(function() {
var iframe = document.createElement('iframe');
document.body.appendChild(iframe);
this.add_cleanup(function() {
document.body.removeChild(iframe);
});
func(iframe.contentWindow, input_url_html);
iframe.onload = this.step_func(function() {
var got = iframe.contentDocument.body.textContent;
if (got != '') {
assert_equals(got, expected_current);
this.done();
}
});
}, desc,
{help:'https://html.spec.whatwg.org/multipage/#the-location-interface'});
}
[[function(win, input) { win.location = input; }, "location [PutForwards]"],
[function(win, input) { win.location.assign(input); }, "location.assign()"],
[function(win, input) { win.location.replace(input); }, "location.replace()"],
[function(win, input) { win.location.href = input; }, "location.href"]].forEach(function(arr) {
test_location(arr[0], arr[1]);
});
// location.search
async_test(function() {
var iframe = document.createElement('iframe');
iframe.src = input_url_html;
document.body.appendChild(iframe);
this.add_cleanup(function() {
document.body.removeChild(iframe);
});
var i = 0;
iframe.onload = this.step_func(function() {
i++;
if (i == 1) {
iframe.contentWindow.location.search = '?' + input_url_html.split('?')[1] + '&other=foobar';
} else {
var got = iframe.contentDocument.body.textContent;
assert_equals(got, expected_current);
this.done();
}
});
}, 'location.search',
{help:['https://html.spec.whatwg.org/multipage/#the-location-interface',
'http://url.spec.whatwg.org/#dom-url-search']});
// a.search, area.search // a.search, area.search
function test_hyperlink_search(tag) { function test_hyperlink_search(tag) {
test(function() { test(function() {
......
...@@ -83,7 +83,6 @@ HTML_TEMPLATE = """<!DOCTYPE html> ...@@ -83,7 +83,6 @@ HTML_TEMPLATE = """<!DOCTYPE html>
<script src="/w3c/resources/testharnessreport.js"></script> <script src="/w3c/resources/testharnessreport.js"></script>
<script src="mediasource-util.js"></script> <script src="mediasource-util.js"></script>
<script src="mediasource-config-changes.js"></script> <script src="mediasource-config-changes.js"></script>
<link rel="stylesheet" href="/w3c/resources/testharness.css">
</head> </head>
<body> <body>
<div id="log"></div> <div id="log"></div>
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
<title>Page Visibility API Operation While Minimizing Browser Window</title> <title>Page Visibility API Operation While Minimizing Browser Window</title>
<meta name="flags" content="interact" /> <meta name="flags" content="interact" />
<script type="text/javascript" src="/resources/testharness.js"></script> <script type="text/javascript" src="/resources/testharness.js"></script>
<script type="text/javascript" src="/resources/testharnessreport.js"></script>
<script type="text/javascript" src="resources/pagevistestharness.js"></script> <script type="text/javascript" src="resources/pagevistestharness.js"></script>
</head> </head>
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
<title>Page Visibility API Operation While Changing Tabs</title> <title>Page Visibility API Operation While Changing Tabs</title>
<meta name="flags" content="interact" /> <meta name="flags" content="interact" />
<script type="text/javascript" src="/resources/testharness.js"></script> <script type="text/javascript" src="/resources/testharness.js"></script>
<script type="text/javascript" src="/resources/testharnessreport.js"></script>
<script type="text/javascript" src="resources/pagevistestharness.js"></script> <script type="text/javascript" src="resources/pagevistestharness.js"></script>
</head> </head>
......
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<body> <body>
<meta name="timeout" content="long">
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<meta name='flags' content='interact'> <meta name='flags' content='interact'>
<meta name="timeout" content="long">
<style type="text/css"> <style type="text/css">
#status-log { #status-log {
margin: 10px 0; margin: 10px 0;
......
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<body> <body>
<meta name="timeout" content="long">
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<meta name='flags' content='interact'> <meta name='flags' content='interact'>
<meta name="timeout" content="long">
<style type="text/css"> <style type="text/css">
#status-log { #status-log {
margin: 10px 0; margin: 10px 0;
......
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<body> <body>
<meta name="timeout" content="long">
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<meta name='flags' content='interact'> <meta name='flags' content='interact'>
<meta name="timeout" content="long">
<style type="text/css"> <style type="text/css">
button { button {
color: blue; color: blue;
......
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<body> <body>
<meta name="timeout" content="long">
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<meta name='flags' content='interact'> <meta name='flags' content='interact'>
<meta name="timeout" content="long">
<style type="text/css"> <style type="text/css">
button { button {
color: blue; color: blue;
......
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<body> <body>
<meta name="timeout" content="long">
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<meta name='flags' content='interact'> <meta name='flags' content='interact'>
<meta name="timeout" content="long">
<style type="text/css"> <style type="text/css">
button { button {
color: blue; color: blue;
......
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<body> <body>
<meta name="timeout" content="long">
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<meta name='flags' content='interact'> <meta name='flags' content='interact'>
<meta name="timeout" content="long">
<style type="text/css"> <style type="text/css">
button { button {
color: blue; color: blue;
......
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<body> <body>
<meta name="timeout" content="long">
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<meta name='flags' content='interact'> <meta name='flags' content='interact'>
<meta name="timeout" content="long">
<style type="text/css"> <style type="text/css">
button { button {
color: blue; color: blue;
......
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<body> <body>
<meta name="timeout" content="long">
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<meta name='flags' content='interact'> <meta name='flags' content='interact'>
<meta name="timeout" content="long">
<style type="text/css"> <style type="text/css">
button { button {
color: blue; color: blue;
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<title>Monitoring incoming presentation connections</title> <title>Monitoring incoming presentation connections</title>
<link rel="author" title="Tomoyuki Shimizu" href="https://github.com/tomoyukilabs"> <link rel="author" title="Tomoyuki Shimizu" href="https://github.com/tomoyukilabs">
<link rel="help" href="https://w3c.github.io/presentation-api/#monitoring-incoming-presentation-connections"> <link rel="help" href="https://w3c.github.io/presentation-api/#monitoring-incoming-presentation-connections">
<link rel="stylesheet" href="/resources/testharness.css">
<script src="common.js"></script> <script src="common.js"></script>
<script src="support/stash.js"></script> <script src="support/stash.js"></script>
<style> <style>
...@@ -75,4 +74,4 @@ iframe { display: none; } ...@@ -75,4 +74,4 @@ iframe { display: none; }
connection.terminate(); connection.terminate();
}); });
}; };
</script> </script>
\ No newline at end of file
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<title>Closing a PresentationConnection</title> <title>Closing a PresentationConnection</title>
<link rel="author" title="Tomoyuki Shimizu" href="https://github.com/tomoyukilabs"> <link rel="author" title="Tomoyuki Shimizu" href="https://github.com/tomoyukilabs">
<link rel="help" href="https://w3c.github.io/presentation-api/#closing-a-presentationconnection"> <link rel="help" href="https://w3c.github.io/presentation-api/#closing-a-presentationconnection">
<link rel="stylesheet" href="/resources/testharness.css">
<script src="common.js"></script> <script src="common.js"></script>
<script src="support/stash.js"></script> <script src="support/stash.js"></script>
<style> <style>
...@@ -82,4 +81,4 @@ iframe { display: none; } ...@@ -82,4 +81,4 @@ iframe { display: none; }
connection.terminate(); connection.terminate();
}); });
}; };
</script> </script>
\ No newline at end of file
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<title>Receiving a message through PresentationConnection</title> <title>Receiving a message through PresentationConnection</title>
<link rel="author" title="Tomoyuki Shimizu" href="https://github.com/tomoyukilabs/"> <link rel="author" title="Tomoyuki Shimizu" href="https://github.com/tomoyukilabs/">
<link rel="help" href="http://w3c.github.io/presentation-api/#receiving-a-message-through-presentationconnection"> <link rel="help" href="http://w3c.github.io/presentation-api/#receiving-a-message-through-presentationconnection">
<link rel="stylesheet" href="/resources/testharness.css">
<script src="common.js"></script> <script src="common.js"></script>
<script src="support/stash.js"></script> <script src="support/stash.js"></script>
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<title>Presentation API IDL tests for Receiving User Agent</title> <title>Presentation API IDL tests for Receiving User Agent</title>
<link rel="author" title="Tomoyuki Shimizu" href="https://github.com/tomoyukilabs"> <link rel="author" title="Tomoyuki Shimizu" href="https://github.com/tomoyukilabs">
<link rel="help" href="http://w3c.github.io/presentation-api/#dfn-receiving-user-agent"> <link rel="help" href="http://w3c.github.io/presentation-api/#dfn-receiving-user-agent">
<link rel="stylesheet" href="/resources/testharness.css">
<script src="common.js"></script> <script src="common.js"></script>
<script src="support/stash.js"></script> <script src="support/stash.js"></script>
......
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<body> <body>
<meta name="timeout" content="long">
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<meta name='flags' content='interact'> <meta name='flags' content='interact'>
<meta name="timeout" content="long">
<p>Switch the page to background, then switch back in a minute.</p> <p>Switch the page to background, then switch back in a minute.</p>
<iframe src='about:blank'></iframe> <iframe src='about:blank'></iframe>
<script> <script>
......
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
<title>Web NFC Test: push ArrayBuffer message</title> <title>Web NFC Test: push ArrayBuffer message</title>
<link rel="author" title="Intel" href="http://www.intel.com"/> <link rel="author" title="Intel" href="http://www.intel.com"/>
<link rel="help" href="https://w3c.github.io/web-nfc/"/> <link rel="help" href="https://w3c.github.io/web-nfc/"/>
<meta name="timeout" content="long">
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<script src="resources/nfc_help.js"></script> <script src="resources/nfc_help.js"></script>
<meta name="flags" content="interact"> <meta name="flags" content="interact">
<meta name="timeout" content="long">
<p>Tap an NFC tag to the test device with NFC support.</p> <p>Tap an NFC tag to the test device with NFC support.</p>
......
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
<title>Web NFC Test: push DOMString message</title> <title>Web NFC Test: push DOMString message</title>
<link rel="author" title="Intel" href="http://www.intel.com"/> <link rel="author" title="Intel" href="http://www.intel.com"/>
<link rel="help" href="https://w3c.github.io/web-nfc/"/> <link rel="help" href="https://w3c.github.io/web-nfc/"/>
<meta name="timeout" content="long">
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<script src="resources/nfc_help.js"></script> <script src="resources/nfc_help.js"></script>
<meta name="flags" content="interact"> <meta name="flags" content="interact">
<meta name="timeout" content="long">
<p>Tap an NFC tag to the test device with NFC support.</p> <p>Tap an NFC tag to the test device with NFC support.</p>
......
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
<title>Web NFC Test: push and watch empty records</title> <title>Web NFC Test: push and watch empty records</title>
<link rel="author" title="Intel" href="http://www.intel.com"/> <link rel="author" title="Intel" href="http://www.intel.com"/>
<link rel="help" href="https://w3c.github.io/web-nfc/"/> <link rel="help" href="https://w3c.github.io/web-nfc/"/>
<meta name="timeout" content="long">
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<script src="resources/nfc_help.js"></script> <script src="resources/nfc_help.js"></script>
<meta name="flags" content="interact"> <meta name="flags" content="interact">
<meta name="timeout" content="long">
<p>Tap an NFC tag to the test device with NFC support.</p> <p>Tap an NFC tag to the test device with NFC support.</p>
......
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
<title>Web NFC Test: push and watch json records</title> <title>Web NFC Test: push and watch json records</title>
<link rel="author" title="Intel" href="http://www.intel.com"/> <link rel="author" title="Intel" href="http://www.intel.com"/>
<link rel="help" href="https://w3c.github.io/web-nfc/"/> <link rel="help" href="https://w3c.github.io/web-nfc/"/>
<meta name="timeout" content="long">
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<script src="resources/nfc_help.js"></script> <script src="resources/nfc_help.js"></script>
<meta name="flags" content="interact"> <meta name="flags" content="interact">
<meta name="timeout" content="long">
<p>Tap an NFC tag to the test device with NFC support.</p> <p>Tap an NFC tag to the test device with NFC support.</p>
......
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
<title>Web NFC Test: push and watch opaque records</title> <title>Web NFC Test: push and watch opaque records</title>
<link rel="author" title="Intel" href="http://www.intel.com"/> <link rel="author" title="Intel" href="http://www.intel.com"/>
<link rel="help" href="https://w3c.github.io/web-nfc/"/> <link rel="help" href="https://w3c.github.io/web-nfc/"/>
<meta name="timeout" content="long">
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<script src="resources/nfc_help.js"></script> <script src="resources/nfc_help.js"></script>
<meta name="flags" content="interact"> <meta name="flags" content="interact">
<meta name="timeout" content="long">
<p>Tap an NFC tag to the test device with NFC support.</p> <p>Tap an NFC tag to the test device with NFC support.</p>
......
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
<title>Web NFC Test: push and watch text records</title> <title>Web NFC Test: push and watch text records</title>
<link rel="author" title="Intel" href="http://www.intel.com"/> <link rel="author" title="Intel" href="http://www.intel.com"/>
<link rel="help" href="https://w3c.github.io/web-nfc/"/> <link rel="help" href="https://w3c.github.io/web-nfc/"/>
<meta name="timeout" content="long">
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<script src="resources/nfc_help.js"></script> <script src="resources/nfc_help.js"></script>
<meta name="flags" content="interact"> <meta name="flags" content="interact">
<meta name="timeout" content="long">
<p>Tap an NFC tag to the test device with NFC support.</p> <p>Tap an NFC tag to the test device with NFC support.</p>
......
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
<title>Web NFC Test: push and watch url records</title> <title>Web NFC Test: push and watch url records</title>
<link rel="author" title="Intel" href="http://www.intel.com"/> <link rel="author" title="Intel" href="http://www.intel.com"/>
<link rel="help" href="https://w3c.github.io/web-nfc/"/> <link rel="help" href="https://w3c.github.io/web-nfc/"/>
<meta name="timeout" content="long">
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<script src="resources/nfc_help.js"></script> <script src="resources/nfc_help.js"></script>
<meta name="flags" content="interact"> <meta name="flags" content="interact">
<meta name="timeout" content="long">
<p>Tap an NFC tag to the test device with NFC support.</p> <p>Tap an NFC tag to the test device with NFC support.</p>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment