mirror of
https://github.com/servo/servo.git
synced 2025-08-27 16:18:21 +01:00
Update web-platform-tests to revision ddfc95cf0493ae147a4f6a4d7be8eff1a0c23098
This commit is contained in:
parent
1f6a864ab5
commit
7e6290451f
832 changed files with 16026 additions and 2649 deletions
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script src="/common/get-host-info.sub.js"></script>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="resources/worklet-test-utils.js"></script>
|
||||
<script src="resources/credentials-tests.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
runCredentialsTests("layout");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script src="/common/get-host-info.sub.js"></script>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="resources/worklet-test-utils.js"></script>
|
||||
<script src="resources/csp-tests.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
runContentSecurityPolicyTests("layout");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script src="/common/get-host-info.sub.js"></script>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="resources/worklet-test-utils.js"></script>
|
||||
<script src="resources/import-tests.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
runImportTests("layout");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script src="/common/get-host-info.sub.js"></script>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="resources/worklet-test-utils.js"></script>
|
||||
<script src="resources/referrer-tests.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
runReferrerTests("layout");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="resources/worklet-test-utils.js"></script>
|
||||
<script src="resources/service-worker-interception-tests.js"></script>
|
||||
<script src="/service-workers/service-worker/resources/test-helpers.sub.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
runServiceWorkerInterceptionTests("layout");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,8 +1,10 @@
|
|||
// Returns a reference to a worklet object corresponding to a given type.
|
||||
function get_worklet(type) {
|
||||
if (type == 'paint')
|
||||
return CSS.paintWorklet;
|
||||
if (type == 'animation')
|
||||
return window.animationWorklet;
|
||||
if (type == 'layout')
|
||||
return CSS.layoutWorklet;
|
||||
if (type == 'paint')
|
||||
return CSS.paintWorklet;
|
||||
return undefined;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue