Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/tests/browser.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="testing.js"></script>
<script id=intl>
// this will crash if ICU isn't properly configured / ininitialized
Expand Down
1 change: 1 addition & 0 deletions src/tests/crypto.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="testing.js"></script>
<script id=crypto>
const a = crypto.randomUUID();
Expand Down
1 change: 1 addition & 0 deletions src/tests/css.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="testing.js"></script>
<script id=support>
testing.expectEqual(true, CSS.supports('display: flex'));
Expand Down
1 change: 1 addition & 0 deletions src/tests/cssom/css_rule_list.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<script id=css_rule_list>
let list = new CSSRuleList();
Expand Down
1 change: 1 addition & 0 deletions src/tests/cssom/css_style_declaration.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<script id=css_style_declaration>
let style = document.createElement('div').style;
Expand Down
1 change: 1 addition & 0 deletions src/tests/cssom/css_stylesheet.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<script id=css_stylesheet>
let css = new CSSStyleSheet()
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/animation.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>

<script id=animation>
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/attribute.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>

<a id="link" href="foo" class="ok">OK</a>
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/character_data.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>

<a id="link" href="foo" class="ok">OK</a>
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/comment.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<script id=comment>
let comment = new Comment('foo');
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/document.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>

<div id="content">
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/document_fragment.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<body></body>

Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/document_type.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<script id=documentType>
let dt1 = document.implementation.createDocumentType('qname1', 'pid1', 'sys1');
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/dom_parser.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<script id=domParser>
const dp = new DOMParser();;
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/element.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>

<div id="content">
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/event_target.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>

<div id="content"><p id=para></p></div>
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/exceptions.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>

<div id="content">
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/html_collection.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<body>
<div id="content">
<a id="link" href="foo" class="ok">OK</a>
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/implementation.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<script id=implementation>
let impl = document.implementation;
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/intersection_observer.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<body></body>
<script src="../testing.js"></script>
<script id=intersectionObserver>
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/message_channel.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<script id=messageChannel>
const mc1 = new MessageChannel();
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/mutation_observer.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<div></div>
<div id=d1><p id=p1> And</p></div>
<div id=d2><p id=p2> And</p></div>
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/named_node_map.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<div id="content"></div>

<script src="../testing.js"></script>
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/node.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<body><div id="content">
<a id="link" href="foo" class="ok">OK</a>
<p id="para-empty" class="ok empty">
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/node_filter.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<script id=nodeFilter>
testing.expectEqual(1, NodeFilter.FILTER_ACCEPT);
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/node_iterator.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<script id=nodeIterator>
const nodeIterator = document.createNodeIterator(
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/node_list.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<div id="content">
<a id="link" href="foo" class="ok">OK</a>
<p id="para-empty" class="ok empty">
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/node_owner.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<div id="target-container">
<p id="reference-node">
I am the original reference node.
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/performance.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<script id=performance>
let performance = window.performance;
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/performance_observer.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<script id=performanceObserver>
testing.expectEqual(0, PerformanceObserver.supportedEntryTypes.length);
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/processing_instruction.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<script id=processingInstruction>
let pi = document.createProcessingInstruction('foo', 'bar');
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/range.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>

<div id=content><!-- hello world --><p>over 9000</p></div>
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/shadow_root.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<div id=conflict>node</div>

<script src="../testing.js"></script>
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/text.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<a id="link" href="foo" class="ok">OK</a>

<script src="../testing.js"></script>
Expand Down
1 change: 1 addition & 0 deletions src/tests/dom/token_list.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<p id="para-empty" class="ok empty">

<script src="../testing.js"></script>
Expand Down
1 change: 1 addition & 0 deletions src/tests/encoding/encoder.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<script id=encoder>
var encoder = new TextEncoder();
Expand Down
1 change: 1 addition & 0 deletions src/tests/events/custom.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<script id=custom>
let capture = null;
Expand Down
1 change: 1 addition & 0 deletions src/tests/events/event.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>

<div id=content>
Expand Down
1 change: 1 addition & 0 deletions src/tests/events/keyboard.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>

<script id=default>
Expand Down
1 change: 1 addition & 0 deletions src/tests/events/mouse.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<script id=default>
let event = new MouseEvent('click');
Expand Down
1 change: 1 addition & 0 deletions src/tests/html/abort_controller.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>

<script id=abortController>
Expand Down
1 change: 1 addition & 0 deletions src/tests/html/dataset.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<div id=x data-power="over 9000" data-empty data-some-long-key=ok></div>

Expand Down
1 change: 1 addition & 0 deletions src/tests/html/document.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<html>
<body>
<div id=content><a id=link href=#></a></div>
Expand Down
1 change: 1 addition & 0 deletions src/tests/html/element.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<div id=content>a<strong>b</strong>cc</div>
<script id=inner>
Expand Down
1 change: 1 addition & 0 deletions src/tests/html/error_event.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>

<script id=ErrorEvent>
Expand Down
1 change: 1 addition & 0 deletions src/tests/html/history.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>

<script id=history>
Expand Down
1 change: 1 addition & 0 deletions src/tests/html/image.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>

<script id=image>
Expand Down
1 change: 1 addition & 0 deletions src/tests/html/input.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>

<form action="test.php" target="_blank" id=form>
Expand Down
1 change: 1 addition & 0 deletions src/tests/html/link.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<a id=link href=foo>OK</a>

Expand Down
1 change: 1 addition & 0 deletions src/tests/html/location.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>

<script id=location>
Expand Down
1 change: 1 addition & 0 deletions src/tests/html/navigator.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>

<script id=navigator>
Expand Down
1 change: 1 addition & 0 deletions src/tests/html/screen.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>

<script id=screen>
Expand Down
1 change: 1 addition & 0 deletions src/tests/html/script/inline_defer.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<head>
<script>
let dyn1_loaded = 0;
Expand Down
1 change: 1 addition & 0 deletions src/tests/html/script/script.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../../testing.js"></script>

<script id=script>
Expand Down
1 change: 1 addition & 0 deletions src/tests/html/select.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>

<form id=f1>
Expand Down
1 change: 1 addition & 0 deletions src/tests/html/slot.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<script>
class LightPanda extends HTMLElement {
Expand Down
1 change: 1 addition & 0 deletions src/tests/html/style.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>

<script id=style>
Expand Down
1 change: 1 addition & 0 deletions src/tests/html/svg.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>

<script id=svg>
Expand Down
1 change: 1 addition & 0 deletions src/tests/html/template.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>

<div id=c></div>
Expand Down
1 change: 1 addition & 0 deletions src/tests/polyfill/webcomponents.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>

<div id=main></div>
Expand Down
1 change: 1 addition & 0 deletions src/tests/storage/local_storage.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>

<script id=localstorage>
Expand Down
1 change: 1 addition & 0 deletions src/tests/url/url.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<script id=url>
var url = new URL('https://foo.bar/path?query#fragment');
Expand Down
1 change: 1 addition & 0 deletions src/tests/url/url_search_params.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<script id=url_search_params>
let usp = new URLSearchParams();
Expand Down
1 change: 1 addition & 0 deletions src/tests/window/frames.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>

<body>
Expand Down
1 change: 1 addition & 0 deletions src/tests/window/window.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<body></body>
<script id=aliases>
Expand Down
1 change: 1 addition & 0 deletions src/tests/xhr/file.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<script id=file>
let f = new File()
Expand Down
1 change: 1 addition & 0 deletions src/tests/xhr/form_data.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<script id=formData>
let f = new FormData();
Expand Down
1 change: 1 addition & 0 deletions src/tests/xhr/progress_event.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<script id=progressEvent>
let pevt = new ProgressEvent('foo');
Expand Down
1 change: 1 addition & 0 deletions src/tests/xhr/xhr.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<script src="../testing.js"></script>
<script id=xhr type=module>
const req = new XMLHttpRequest();
Expand Down