Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Side by Side Diff: LayoutTests/fast/dom/wrapper-classes-expected.txt

Issue 37513002: Create a HTMLUnknownElement when using createElement('image') (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: correct test and expected results Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « LayoutTests/fast/dom/wrapper-classes.html ('k') | Source/core/html/HTMLTagNames.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 This tests wrapper class names for JavaScript. 1 This tests wrapper class names for JavaScript.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 Basics 6 Basics
7 7
8 PASS classString(document.createAttribute()) is "Attr" 8 PASS classString(document.createAttribute()) is "Attr"
9 FAIL classString(document.createAttribute().__proto__) should be AttrPrototype. Was Object. 9 FAIL classString(document.createAttribute().__proto__) should be AttrPrototype. Was Object.
10 PASS classString(document.createAttribute().constructor) is "Function" 10 PASS classString(document.createAttribute().constructor) is "Function"
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 PASS tagConstructorClassString('html') is "Function" 387 PASS tagConstructorClassString('html') is "Function"
388 PASS tagConstructorName('html') is "HTMLHtmlElement" 388 PASS tagConstructorName('html') is "HTMLHtmlElement"
389 PASS tagClassString('i') is "HTMLElement" 389 PASS tagClassString('i') is "HTMLElement"
390 FAIL tagPrototypeClassString('i') should be HTMLElementPrototype. Was Object. 390 FAIL tagPrototypeClassString('i') should be HTMLElementPrototype. Was Object.
391 PASS tagConstructorClassString('i') is "Function" 391 PASS tagConstructorClassString('i') is "Function"
392 PASS tagConstructorName('i') is "HTMLElement" 392 PASS tagConstructorName('i') is "HTMLElement"
393 PASS tagClassString('iframe') is "HTMLIFrameElement" 393 PASS tagClassString('iframe') is "HTMLIFrameElement"
394 FAIL tagPrototypeClassString('iframe') should be HTMLIFrameElementPrototype. Was Object. 394 FAIL tagPrototypeClassString('iframe') should be HTMLIFrameElementPrototype. Was Object.
395 PASS tagConstructorClassString('iframe') is "Function" 395 PASS tagConstructorClassString('iframe') is "Function"
396 PASS tagConstructorName('iframe') is "HTMLIFrameElement" 396 PASS tagConstructorName('iframe') is "HTMLIFrameElement"
397 PASS tagClassString('image') is "HTMLElement" 397 PASS tagClassString('image') is "HTMLUnknownElement"
398 FAIL tagPrototypeClassString('image') should be HTMLElementPrototype. Was Object . 398 FAIL tagPrototypeClassString('image') should be HTMLUnknownElementPrototype. Was Object.
399 PASS tagConstructorClassString('image') is "Function" 399 PASS tagConstructorClassString('image') is "Function"
400 PASS tagConstructorName('image') is "HTMLElement" 400 PASS tagConstructorName('image') is "HTMLUnknownElement"
401 PASS tagClassString('img') is "HTMLImageElement" 401 PASS tagClassString('img') is "HTMLImageElement"
402 FAIL tagPrototypeClassString('img') should be HTMLImageElementPrototype. Was Obj ect. 402 FAIL tagPrototypeClassString('img') should be HTMLImageElementPrototype. Was Obj ect.
403 PASS tagConstructorClassString('img') is "Function" 403 PASS tagConstructorClassString('img') is "Function"
404 PASS tagConstructorName('img') is "HTMLImageElement" 404 PASS tagConstructorName('img') is "HTMLImageElement"
405 PASS tagClassString('input') is "HTMLInputElement" 405 PASS tagClassString('input') is "HTMLInputElement"
406 FAIL tagPrototypeClassString('input') should be HTMLInputElementPrototype. Was O bject. 406 FAIL tagPrototypeClassString('input') should be HTMLInputElementPrototype. Was O bject.
407 PASS tagConstructorClassString('input') is "Function" 407 PASS tagConstructorClassString('input') is "Function"
408 PASS tagConstructorName('input') is "HTMLInputElement" 408 PASS tagConstructorName('input') is "HTMLInputElement"
409 PASS tagClassString('ins') is "HTMLModElement" 409 PASS tagClassString('ins') is "HTMLModElement"
410 FAIL tagPrototypeClassString('ins') should be HTMLModElementPrototype. Was Objec t. 410 FAIL tagPrototypeClassString('ins') should be HTMLModElementPrototype. Was Objec t.
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 PASS tagConstructorName('var') is "HTMLElement" 636 PASS tagConstructorName('var') is "HTMLElement"
637 PASS tagClassString('wbr') is "HTMLElement" 637 PASS tagClassString('wbr') is "HTMLElement"
638 FAIL tagPrototypeClassString('wbr') should be HTMLElementPrototype. Was Object. 638 FAIL tagPrototypeClassString('wbr') should be HTMLElementPrototype. Was Object.
639 PASS tagConstructorClassString('wbr') is "Function" 639 PASS tagConstructorClassString('wbr') is "Function"
640 PASS tagConstructorName('wbr') is "HTMLElement" 640 PASS tagConstructorName('wbr') is "HTMLElement"
641 PASS tagClassString('xmp') is "HTMLPreElement" 641 PASS tagClassString('xmp') is "HTMLPreElement"
642 FAIL tagPrototypeClassString('xmp') should be HTMLPreElementPrototype. Was Objec t. 642 FAIL tagPrototypeClassString('xmp') should be HTMLPreElementPrototype. Was Objec t.
643 PASS tagConstructorClassString('xmp') is "Function" 643 PASS tagConstructorClassString('xmp') is "Function"
644 PASS tagConstructorName('xmp') is "HTMLPreElement" 644 PASS tagConstructorName('xmp') is "HTMLPreElement"
645 645
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/wrapper-classes.html ('k') | Source/core/html/HTMLTagNames.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698