add traceur test suite

This commit is contained in:
Sebastian McKenzie
2015-01-04 19:40:09 +11:00
parent 18813f26bb
commit 6a35bdb42b
495 changed files with 9831 additions and 360 deletions

View File

@@ -0,0 +1,16 @@
// Skip. Not implemented.
// Only in browser.
class CustomBlockquote extends HTMLBlockquoteElement {
constructor() {
this.custom = 42;
}
}
var customBlockquote = new CustomBlockquote;
assert.equal(42, customBlockquote.custom);
assert.equal('BLOCKQUOTE', customBlockquote.tagName);
assert.isTrue(customBlockquote instanceof CustomBlockquote);
assert.isTrue(customBlockquote instanceof HTMLBlockquoteElement);
assert.isTrue(customBlockquote instanceof HTMLQuoteElement);
assert.isTrue(customBlockquote instanceof HTMLElement);