add traceur test suite
This commit is contained in:
16
test/fixtures/traceur/Classes/Skip_HTMLBlockquoteElement.js
vendored
Normal file
16
test/fixtures/traceur/Classes/Skip_HTMLBlockquoteElement.js
vendored
Normal 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);
|
||||
Reference in New Issue
Block a user