Replace <link rel="import"> with <import>
This CL is just a search-and-replace. R=esprehn@chromium.org Review URL: https://codereview.chromium.org/694423002
This commit is contained in:
parent
5473994cea
commit
175f8fdfe8
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<body>
|
<body>
|
||||||
<div id="container"></div>
|
<div id="container"></div>
|
||||||
<script>
|
<script>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<body>
|
<body>
|
||||||
<div id="container"></div>
|
<div id="container"></div>
|
||||||
<script>
|
<script>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-text.sky" />
|
<import src="../resources/dump-as-text.sky" />
|
||||||
<link rel="import" href="resources/document-register-fuzz.sky" as="fuzzer" />
|
<import src="resources/document-register-fuzz.sky" as="fuzzer" />
|
||||||
<body>
|
<body>
|
||||||
<div id="container"></div>
|
<div id="container"></div>
|
||||||
Fuzzing document.registerElement() through getters. PASS unless crash.
|
Fuzzing document.registerElement() through getters. PASS unless crash.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-text.sky" />
|
<import src="../resources/dump-as-text.sky" />
|
||||||
<link rel="import" href="resources/document-register-fuzz.sky" as="fuzzer" />
|
<import src="resources/document-register-fuzz.sky" as="fuzzer" />
|
||||||
<body>
|
<body>
|
||||||
<div id="container"></div>
|
<div id="container"></div>
|
||||||
Fuzzing document.registerElement() through getters. PASS uless crash.
|
Fuzzing document.registerElement() through getters. PASS uless crash.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-text.sky" />
|
<import src="../resources/dump-as-text.sky" />
|
||||||
<link rel="import" href="resources/document-register-fuzz.sky" as="fuzzer" />
|
<import src="resources/document-register-fuzz.sky" as="fuzzer" />
|
||||||
<body>
|
<body>
|
||||||
<div id="container"></div>
|
<div id="container"></div>
|
||||||
Fuzzing document.registerElement() through getters. PASS unless crash.
|
Fuzzing document.registerElement() through getters. PASS unless crash.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-text.sky" />
|
<import src="../resources/dump-as-text.sky" />
|
||||||
<body>
|
<body>
|
||||||
Tests unresolved element not leaking if never resolved.
|
Tests unresolved element not leaking if never resolved.
|
||||||
<div id="container"></div>
|
<div id="container"></div>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-text.sky" />
|
<import src="../resources/dump-as-text.sky" />
|
||||||
<body>
|
<body>
|
||||||
<section id="a" is="x-a"></section>
|
<section id="a" is="x-a"></section>
|
||||||
Tests that type extension of a element whose DOM interface is HTMLElement does not assert
|
Tests that type extension of a element whose DOM interface is HTMLElement does not assert
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-text.sky" />
|
<import src="../resources/dump-as-text.sky" />
|
||||||
<body>
|
<body>
|
||||||
<script>
|
<script>
|
||||||
document.registerElement("x-foo", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: function () { this.innerHTML = "<x-foo>Hello</x-foo>"; } } }) });
|
document.registerElement("x-foo", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: function () { this.innerHTML = "<x-foo>Hello</x-foo>"; } } }) });
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-text.sky" />
|
<import src="../resources/dump-as-text.sky" />
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<body>
|
<body>
|
||||||
This test ensures that is visible in following script block.
|
This test ensures that is visible in following script block.
|
||||||
<script>
|
<script>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-text.sky" />
|
<import src="../resources/dump-as-text.sky" />
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<body>
|
<body>
|
||||||
This test ensures that the lifecycle callback of a parser-made element is visible in following script block.
|
This test ensures that the lifecycle callback of a parser-made element is visible in following script block.
|
||||||
<script>
|
<script>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="/sky/framework/inspector/css-agent.sky" as="CSSAgent" />
|
<import src="/sky/framework/inspector/css-agent.sky" as="CSSAgent" />
|
||||||
<script>
|
<script>
|
||||||
var fakeDOMAgent = {
|
var fakeDOMAgent = {
|
||||||
getNodeForId: function(id) {
|
getNodeForId: function(id) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="/sky/framework/inspector/dom-agent.sky" as="DOMAgent" />
|
<import src="/sky/framework/inspector/dom-agent.sky" as="DOMAgent" />
|
||||||
<div></div>
|
<div></div>
|
||||||
<script>
|
<script>
|
||||||
// FIXME: This shows a bug in our DOM mutation handling, we should
|
// FIXME: This shows a bug in our DOM mutation handling, we should
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="/sky/framework/inspector/dom-agent.sky" as="DOMAgent" />
|
<import src="/sky/framework/inspector/dom-agent.sky" as="DOMAgent" />
|
||||||
<div><div></div></div>
|
<div><div></div></div>
|
||||||
<script>
|
<script>
|
||||||
// setTimeout to flush pending DOM modifications and measure
|
// setTimeout to flush pending DOM modifications and measure
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<link rel="import" href="../resources/dump-as-render-tree.sky" />
|
<import src="../resources/dump-as-render-tree.sky" />
|
||||||
<title>Adam Barth</title>
|
<title>Adam Barth</title>
|
||||||
<style>
|
<style>
|
||||||
html {
|
html {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<script>
|
<script>
|
||||||
describe("Attribute collection", function() {
|
describe("Attribute collection", function() {
|
||||||
var div;
|
var div;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<CamelCase>
|
<CamelCase>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<script>
|
<script>
|
||||||
describe('Element tag names', function() {
|
describe('Element tag names', function() {
|
||||||
it('should have various casing', function() {
|
it('should have various casing', function() {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<test>
|
<test>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<script>
|
<script>
|
||||||
describe('createElementNS tests from mozilla, attached to webkit bug 16833', function() {
|
describe('createElementNS tests from mozilla, attached to webkit bug 16833', function() {
|
||||||
it('should behave like mozilla', function() {
|
it('should behave like mozilla', function() {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<script>
|
<script>
|
||||||
describe('DOMImplementation', function() {
|
describe('DOMImplementation', function() {
|
||||||
it('should let you create a document', function() {
|
it('should let you create a document', function() {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<foo>
|
<foo>
|
||||||
<link rel="import" href="../resources/dump-as-render-tree.sky" />
|
<import src="../resources/dump-as-render-tree.sky" />
|
||||||
Hello World!
|
Hello World!
|
||||||
</foo>
|
</foo>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<div id="tests">
|
<div id="tests">
|
||||||
<div id="id1">
|
<div id="id1">
|
||||||
<div class="class2"></div>
|
<div class="class2"></div>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<sky>
|
<sky>
|
||||||
<scroller style="overflow: scroll; height: 400px;">
|
<scroller style="overflow: scroll; height: 400px;">
|
||||||
<link rel="import" href="../resources/dump-as-render-tree.sky" />
|
<import src="../resources/dump-as-render-tree.sky" />
|
||||||
<style>
|
<style>
|
||||||
div { height: 100px; }
|
div { height: 100px; }
|
||||||
</style>
|
</style>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-text.sky" />
|
<import src="../resources/dump-as-text.sky" />
|
||||||
<style>
|
<style>
|
||||||
#id1 { order: 1; }
|
#id1 { order: 1; }
|
||||||
.class2 { order: 2; }
|
.class2 { order: 2; }
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<style>
|
<style>
|
||||||
#sandbox { color: red; }
|
#sandbox { color: red; }
|
||||||
.blue { color: blue; }
|
.blue { color: blue; }
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-text.sky" />
|
<import src="../resources/dump-as-text.sky" />
|
||||||
<body>
|
<body>
|
||||||
This is a dump-as-text test.
|
This is a dump-as-text test.
|
||||||
</body>
|
</body>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
describe.only('This suite', function() {
|
describe.only('This suite', function() {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
describe('This suite', function() {
|
describe('This suite', function() {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<script>
|
<script>
|
||||||
describe('MutationObserver', function() {
|
describe('MutationObserver', function() {
|
||||||
it('should pass the callback and observer arguments', function(done) {
|
it('should pass the callback and observer arguments', function(done) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<script>
|
<script>
|
||||||
describe('Transient registrations', function() {
|
describe('Transient registrations', function() {
|
||||||
it('should be cleared even without delivery', function(done) {
|
it('should be cleared even without delivery', function(done) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<script>
|
<script>
|
||||||
window.jsTestIsAsync = true;
|
window.jsTestIsAsync = true;
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<script>
|
<script>
|
||||||
describe('MutationObserver cross document moves', function() {
|
describe('MutationObserver cross document moves', function() {
|
||||||
it('should handle basic observation', function(done) {
|
it('should handle basic observation', function(done) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<script>
|
<script>
|
||||||
describe('MutationObserver', function() {
|
describe('MutationObserver', function() {
|
||||||
it('should deliver in order of creation', function(done) {
|
it('should deliver in order of creation', function(done) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<script>
|
<script>
|
||||||
describe('MutationObserver.disconnect', function() {
|
describe('MutationObserver.disconnect', function() {
|
||||||
it('should cancel pending delivery', function(done) {
|
it('should cancel pending delivery', function(done) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<script>
|
<script>
|
||||||
describe('DocumentFragments should remove all children of the fragment before moving children, ', function() {
|
describe('DocumentFragments should remove all children of the fragment before moving children, ', function() {
|
||||||
var mutations;
|
var mutations;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<script>
|
<script>
|
||||||
describe('MutationObserver', function() {
|
describe('MutationObserver', function() {
|
||||||
it('should not interrupt delivery order on getting mutations during delivery', function(done) {
|
it('should not interrupt delivery order on getting mutations during delivery', function(done) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-text.sky" />
|
<import src="../resources/dump-as-text.sky" />
|
||||||
<body id="body">
|
<body id="body">
|
||||||
<script>
|
<script>
|
||||||
function mutationCallback(mutations, observer) {
|
function mutationCallback(mutations, observer) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<script>
|
<script>
|
||||||
describe('MutationObserver', function() {
|
describe('MutationObserver', function() {
|
||||||
var observer = new MutationObserver(function(mutations) { });
|
var observer = new MutationObserver(function(mutations) { });
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<script>
|
<script>
|
||||||
describe('MutationRecord', function() {
|
describe('MutationRecord', function() {
|
||||||
it('should be exposed on window but not constructable', function() {
|
it('should be exposed on window but not constructable', function() {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<script>
|
<script>
|
||||||
describe('Non-relevant properties on mutation records should be null, except for NodeLists, which should be empty', function() {
|
describe('Non-relevant properties on mutation records should be null, except for NodeLists, which should be empty', function() {
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<script>
|
<script>
|
||||||
describe('MutationObserver.observe on attributes', function() {
|
describe('MutationObserver.observe on attributes', function() {
|
||||||
it('should handle basic aspects of attribute observation', function(done) {
|
it('should handle basic aspects of attribute observation', function(done) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<body id="body">
|
<body id="body">
|
||||||
<script>
|
<script>
|
||||||
document.body = document.getElementById("body");
|
document.body = document.getElementById("body");
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<script>
|
<script>
|
||||||
describe('MutationObserver.observe on childList', function() {
|
describe('MutationObserver.observe on childList', function() {
|
||||||
it('should handle basic observation', function(done) {
|
it('should handle basic observation', function(done) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<script>
|
<script>
|
||||||
describe('MutationObserver observe', function() {
|
describe('MutationObserver observe', function() {
|
||||||
it('should throw on invalid input', function() {
|
it('should throw on invalid input', function() {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<script>
|
<script>
|
||||||
describe('MutationObserver.observe', function() {
|
describe('MutationObserver.observe', function() {
|
||||||
it('should observe attributes', function() {
|
it('should observe attributes', function() {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<script>
|
<script>
|
||||||
describe('Test MutationObserver.observe', function() {
|
describe('Test MutationObserver.observe', function() {
|
||||||
it('should respect character data options', function() {
|
it('should respect character data options', function() {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<script>
|
<script>
|
||||||
describe('MutationObserver.observe on a subtree', function() {
|
describe('MutationObserver.observe on a subtree', function() {
|
||||||
it('should handle basic aspects of subtree observation', function(done) {
|
it('should handle basic aspects of subtree observation', function(done) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<script>
|
<script>
|
||||||
describe('MutationObserver wrappers', function() {
|
describe('MutationObserver wrappers', function() {
|
||||||
it('should survive GC for passing into the callback even if JS has lost references and the only remaining observations are transient.', function(done) {
|
it('should survive GC for passing into the callback even if JS has lost references and the only remaining observations are transient.', function(done) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<script>
|
<script>
|
||||||
describe('MutationObserver', function() {
|
describe('MutationObserver', function() {
|
||||||
it('should not invoke callbacks when appending a script', function() {
|
it('should not invoke callbacks when appending a script', function() {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<div id="range"></div>
|
<div id="range"></div>
|
||||||
<script>
|
<script>
|
||||||
describe('MutationObservers', function() {
|
describe('MutationObservers', function() {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<script>
|
<script>
|
||||||
describe('MutationObserver.takeRecords', function() {
|
describe('MutationObserver.takeRecords', function() {
|
||||||
it('should allow taking records synchronously or getting a notification', function(done) {
|
it('should allow taking records synchronously or getting a notification', function(done) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-text.sky" />
|
<import src="../resources/dump-as-text.sky" />
|
||||||
<body>
|
<body>
|
||||||
<
|
<
|
||||||
<!
|
<!
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-markup.sky"></link>
|
<import src="../resources/dump-as-markup.sky"></import>
|
||||||
<body>
|
<body>
|
||||||
THIS TEST SHOULD PASS
|
THIS TEST SHOULD PASS
|
||||||
(control test for success)
|
(control test for success)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-markup.sky" />
|
<import src="../resources/dump-as-markup.sky" />
|
||||||
<body>
|
<body>
|
||||||
THIS TEST SHOULD PASS
|
THIS TEST SHOULD PASS
|
||||||
(control test for success)
|
(control test for success)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-markup.sky"></link>
|
<import src="../resources/dump-as-markup.sky"></import>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<diva>1</diva>
|
<diva>1</diva>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-markup.sky"></link>
|
<import src="../resources/dump-as-markup.sky"></import>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<diva>1</diva>
|
<diva>1</diva>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-markup.sky"></link>
|
<import src="../resources/dump-as-markup.sky"></import>
|
||||||
<body>
|
<body>
|
||||||
<div>aaa'bbb</div>
|
<div>aaa'bbb</div>
|
||||||
<div><</div>
|
<div><</div>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-markup.sky" />
|
<import src="../resources/dump-as-markup.sky" />
|
||||||
<body>
|
<body>
|
||||||
<div>aaa'bbb</div>
|
<div>aaa'bbb</div>
|
||||||
<div><</div>
|
<div><</div>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<!DOCTYPE HTML>
|
<!DOCTYPE HTML>
|
||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-markup.sky"></link>
|
<import src="../resources/dump-as-markup.sky"></import>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
A <!DOCTYPE HTMLAGAIN>
|
A <!DOCTYPE HTMLAGAIN>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<!DOCTYPE HTML>
|
<!DOCTYPE HTML>
|
||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-markup.sky"></link>
|
<import src="../resources/dump-as-markup.sky"></import>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
A <!DOCTYPE HTMLAGAIN>
|
A <!DOCTYPE HTMLAGAIN>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-markup.sky"></link>
|
<import src="../resources/dump-as-markup.sky"></import>
|
||||||
<body>
|
<body>
|
||||||
<div>
|
<div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-markup.sky" />
|
<import src="../resources/dump-as-markup.sky" />
|
||||||
<body>
|
<body>
|
||||||
<div></div>
|
<div></div>
|
||||||
<div>
|
<div>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-markup.sky" />
|
<import src="../resources/dump-as-markup.sky" />
|
||||||
<body>
|
<body>
|
||||||
<div><3E></div>
|
<div><3E></div>
|
||||||
<div><3E><><EFBFBD><EFBFBD><EFBFBD></div>
|
<div><3E><><EFBFBD><EFBFBD><EFBFBD></div>
|
||||||
|
@ -13,7 +13,7 @@ SOURCE: http://127.0.0.1:8000/parser/script.sky:38
|
|||||||
ERROR: Uncaught SyntaxError: Unexpected token }
|
ERROR: Uncaught SyntaxError: Unexpected token }
|
||||||
SOURCE: http://127.0.0.1:8000/parser/script.sky:43
|
SOURCE: http://127.0.0.1:8000/parser/script.sky:43
|
||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-markup.sky"></link>
|
<import src="../resources/dump-as-markup.sky"></import>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-markup.sky"></link>
|
<import src="../resources/dump-as-markup.sky"></import>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-markup.sky"></link>
|
<import src="../resources/dump-as-markup.sky"></import>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<a>1</a>
|
<a>1</a>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-markup.sky"></link>
|
<import src="../resources/dump-as-markup.sky"></import>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<a>1</a>
|
<a>1</a>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-markup.sky"></link>
|
<import src="../resources/dump-as-markup.sky"></import>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-markup.sky"></link>
|
<import src="../resources/dump-as-markup.sky"></import>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-markup.sky"></link>
|
<import src="../resources/dump-as-markup.sky"></import>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<p></p> a
|
<p></p> a
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-markup.sky"></link>
|
<import src="../resources/dump-as-markup.sky"></import>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<p/> a </p>
|
<p/> a </p>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-text.sky" />
|
<import src="../resources/dump-as-text.sky" />
|
||||||
<link rel="import" href="/mojo/public/sky/buffer.sky" as="buffer" />
|
<import src="/mojo/public/sky/buffer.sky" as="buffer" />
|
||||||
<div id="result">FAIL</div>
|
<div id="result">FAIL</div>
|
||||||
<script>
|
<script>
|
||||||
document.getElementById("result").textContent =
|
document.getElementById("result").textContent =
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-text.sky" />
|
<import src="../resources/dump-as-text.sky" />
|
||||||
<link rel="import" href="/mojo/public/sky/codec.sky" as="codec" />
|
<import src="/mojo/public/sky/codec.sky" as="codec" />
|
||||||
<div id="result">FAIL</div>
|
<div id="result">FAIL</div>
|
||||||
<script>
|
<script>
|
||||||
document.getElementById("result").textContent =
|
document.getElementById("result").textContent =
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/dump-as-text.sky" />
|
<import src="../resources/dump-as-text.sky" />
|
||||||
<link rel="import" href="/mojo/public/sky/core.sky" as="core" />
|
<import src="/mojo/public/sky/core.sky" as="core" />
|
||||||
<div id="result">FAIL</div>
|
<div id="result">FAIL</div>
|
||||||
<script>
|
<script>
|
||||||
document.getElementById("result").textContent =
|
document.getElementById("result").textContent =
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<link rel="import" href="/mojo/public/sky/core.sky" as="core" />
|
<import src="/mojo/public/sky/core.sky" as="core" />
|
||||||
<link rel="import" href="/mojo/public/sky/connection.sky" as="connection" />
|
<import src="/mojo/public/sky/connection.sky" as="connection" />
|
||||||
<link rel="import" href="/mojo/services/public/interfaces/network/network_service.mojom.sky" as="net" />
|
<import src="/mojo/services/public/interfaces/network/network_service.mojom.sky" as="net" />
|
||||||
<link rel="import" href="/mojo/services/public/interfaces/network/url_loader.mojom.sky" as="loader" />
|
<import src="/mojo/services/public/interfaces/network/url_loader.mojom.sky" as="loader" />
|
||||||
<script>
|
<script>
|
||||||
describe('Mojo network_service', function() {
|
describe('Mojo network_service', function() {
|
||||||
this.enableTimeouts(false);
|
this.enableTimeouts(false);
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<link rel="import" href="/sky/framework/xmlhttprequest.sky" as="XMLHttpRequest" />
|
<import src="/sky/framework/xmlhttprequest.sky" as="XMLHttpRequest" />
|
||||||
<script>
|
<script>
|
||||||
describe('XMLHttpRequest', function() {
|
describe('XMLHttpRequest', function() {
|
||||||
this.enableTimeouts(false);
|
this.enableTimeouts(false);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<foo />
|
<foo />
|
||||||
<script>
|
<script>
|
||||||
describe('Border', function() {
|
describe('Border', function() {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<link rel="import" href="../resources/chai.sky" />
|
<import src="../resources/chai.sky" />
|
||||||
<link rel="import" href="../resources/mocha.sky" />
|
<import src="../resources/mocha.sky" />
|
||||||
<foo />
|
<foo />
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user