Changeset 190085 in webkit
- Timestamp:
- Sep 21, 2015 3:39:25 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 25 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r190084 r190085 1 2015-09-21 Chris Dumez <cdumez@apple.com> 2 3 [JS Bindings] prototype.constructor should be writable 4 https://bugs.webkit.org/show_bug.cgi?id=149412 5 <rdar://problem/22545096> 6 7 Reviewed by Geoffrey Garen. 8 9 Add layout test that checks that Event.prototype.constructor has the 10 expected properties and that it is actually writable. 11 12 * fast/events/event-prototype-constructor-properties-expected.txt: Added. 13 * fast/events/event-prototype-constructor-properties.html: Added. 14 1 15 2015-09-21 Antti Koivisto <antti@apple.com> 2 16 -
trunk/LayoutTests/imported/w3c/ChangeLog
r190078 r190085 1 2015-09-21 Chris Dumez <cdumez@apple.com> 2 3 [JS Bindings] prototype.constructor should be writable 4 https://bugs.webkit.org/show_bug.cgi?id=149412 5 <rdar://problem/22545096> 6 7 Reviewed by Geoffrey Garen. 8 9 Rebaseline W3C DOM / HTML tests now that more checks are passing. 10 11 * web-platform-tests/dom/interfaces-expected.txt: 12 * web-platform-tests/html/dom/interfaces-expected.txt: 13 1 14 2015-09-21 Chris Dumez <cdumez@apple.com> 2 15 -
trunk/LayoutTests/imported/w3c/web-platform-tests/dom/interfaces-expected.txt
r189842 r190085 111 111 PASS Event interface object length 112 112 PASS Event interface: existence and properties of interface prototype object 113 FAIL Event interface: existence and properties of interface prototype object's "constructor" property assert_true: Event.prototype.constructor is not writable expected true got false 113 PASS Event interface: existence and properties of interface prototype object's "constructor" property 114 114 FAIL Event interface: attribute type assert_throws: getting property on prototype object must throw TypeError function "function () { 115 115 [native code] … … 197 197 PASS CustomEvent interface object length 198 198 PASS CustomEvent interface: existence and properties of interface prototype object 199 FAIL CustomEvent interface: existence and properties of interface prototype object's "constructor" property assert_true: CustomEvent.prototype.constructor is not writable expected true got false 199 PASS CustomEvent interface: existence and properties of interface prototype object's "constructor" property 200 200 FAIL CustomEvent interface: attribute detail assert_true: The prototype object must have a property "detail" expected true got false 201 201 FAIL CustomEvent interface: operation initCustomEvent(DOMString,boolean,boolean,any) assert_equals: property has wrong .length expected 4 but got 0 … … 232 232 PASS EventTarget interface object length 233 233 PASS EventTarget interface: existence and properties of interface prototype object 234 FAIL EventTarget interface: existence and properties of interface prototype object's "constructor" property assert_true: EventTarget.prototype.constructor is not writable expected true got false 234 PASS EventTarget interface: existence and properties of interface prototype object's "constructor" property 235 235 PASS EventTarget interface: operation addEventListener(DOMString,EventListener,boolean) 236 236 PASS EventTarget interface: operation removeEventListener(DOMString,EventListener,boolean) … … 274 274 PASS MutationObserver interface object length 275 275 PASS MutationObserver interface: existence and properties of interface prototype object 276 FAIL MutationObserver interface: existence and properties of interface prototype object's "constructor" property assert_true: MutationObserver.prototype.constructor is not writable expected true got false 276 PASS MutationObserver interface: existence and properties of interface prototype object's "constructor" property 277 277 PASS MutationObserver interface: operation observe(Node,MutationObserverInit) 278 278 PASS MutationObserver interface: operation disconnect() … … 283 283 PASS MutationRecord interface object length 284 284 PASS MutationRecord interface: existence and properties of interface prototype object 285 FAIL MutationRecord interface: existence and properties of interface prototype object's "constructor" property assert_true: MutationRecord.prototype.constructor is not writable expected true got false 285 PASS MutationRecord interface: existence and properties of interface prototype object's "constructor" property 286 286 FAIL MutationRecord interface: attribute type assert_throws: getting property on prototype object must throw TypeError function "function () { 287 287 [native code] … … 316 316 PASS Node interface object length 317 317 FAIL Node interface: existence and properties of interface prototype object assert_equals: prototype of Node.prototype is not EventTarget.prototype expected object "[object EventTargetPrototype]" but got object "[object Object]" 318 FAIL Node interface: existence and properties of interface prototype object's "constructor" property assert_true: Node.prototype.constructor is not writable expected true got false 318 PASS Node interface: existence and properties of interface prototype object's "constructor" property 319 319 PASS Node interface: constant ELEMENT_NODE on interface object 320 320 PASS Node interface: constant ELEMENT_NODE on interface prototype object … … 410 410 PASS Document interface object length 411 411 PASS Document interface: existence and properties of interface prototype object 412 FAIL Document interface: existence and properties of interface prototype object's "constructor" property assert_true: Document.prototype.constructor is not writable expected true got false 412 PASS Document interface: existence and properties of interface prototype object's "constructor" property 413 413 FAIL Document interface: attribute implementation assert_throws: getting property on prototype object must throw TypeError function "function () { 414 414 [native code] … … 482 482 PASS XMLDocument interface object length 483 483 FAIL XMLDocument interface: existence and properties of interface prototype object assert_equals: prototype of XMLDocument.prototype is not Document.prototype expected Node object of unknown type but got Node object of unknown type 484 FAIL XMLDocument interface: existence and properties of interface prototype object's "constructor" property assert_true: XMLDocument.prototype.constructor is not writable expected true got false 484 PASS XMLDocument interface: existence and properties of interface prototype object's "constructor" property 485 485 PASS XMLDocument must be primary interface of xmlDoc 486 486 FAIL Stringification of xmlDoc assert_equals: class string of xmlDoc expected "[object XMLDocument]" but got "[object Document]" … … 659 659 PASS DOMImplementation interface object length 660 660 PASS DOMImplementation interface: existence and properties of interface prototype object 661 FAIL DOMImplementation interface: existence and properties of interface prototype object's "constructor" property assert_true: DOMImplementation.prototype.constructor is not writable expected true got false 661 PASS DOMImplementation interface: existence and properties of interface prototype object's "constructor" property 662 662 FAIL DOMImplementation interface: operation createDocumentType(DOMString,DOMString,DOMString) assert_equals: property has wrong .length expected 3 but got 0 663 663 FAIL DOMImplementation interface: operation createDocument(DOMString,DOMString,DocumentType) assert_equals: property has wrong .length expected 2 but got 0 … … 682 682 PASS DocumentFragment interface object length 683 683 PASS DocumentFragment interface: existence and properties of interface prototype object 684 FAIL DocumentFragment interface: existence and properties of interface prototype object's "constructor" property assert_true: DocumentFragment.prototype.constructor is not writable expected true got false 684 PASS DocumentFragment interface: existence and properties of interface prototype object's "constructor" property 685 685 FAIL DocumentFragment interface: operation getElementById(DOMString) assert_equals: property has wrong .length expected 1 but got 0 686 686 FAIL DocumentFragment interface: attribute children assert_throws: getting property on prototype object must throw TypeError function "function () { … … 812 812 PASS DocumentType interface object length 813 813 PASS DocumentType interface: existence and properties of interface prototype object 814 FAIL DocumentType interface: existence and properties of interface prototype object's "constructor" property assert_true: DocumentType.prototype.constructor is not writable expected true got false 814 PASS DocumentType interface: existence and properties of interface prototype object's "constructor" property 815 815 FAIL DocumentType interface: attribute name assert_throws: getting property on prototype object must throw TypeError function "function () { 816 816 [native code] … … 928 928 PASS Element interface object length 929 929 PASS Element interface: existence and properties of interface prototype object 930 FAIL Element interface: existence and properties of interface prototype object's "constructor" property assert_true: Element.prototype.constructor is not writable expected true got false 930 PASS Element interface: existence and properties of interface prototype object's "constructor" property 931 931 FAIL Element interface: attribute namespaceURI assert_throws: getting property on prototype object must throw TypeError function "function () { 932 932 [native code] … … 1208 1208 PASS Attr interface object length 1209 1209 FAIL Attr interface: existence and properties of interface prototype object assert_equals: prototype of Attr.prototype is not Object.prototype expected object "[object Object]" but got Node object of unknown type 1210 FAIL Attr interface: existence and properties of interface prototype object's "constructor" property assert_true: Attr.prototype.constructor is not writable expected true got false 1210 PASS Attr interface: existence and properties of interface prototype object's "constructor" property 1211 1211 FAIL Attr interface: attribute namespaceURI assert_throws: getting property on prototype object must throw TypeError function "function () { 1212 1212 [native code] … … 1252 1252 PASS CharacterData interface object length 1253 1253 PASS CharacterData interface: existence and properties of interface prototype object 1254 FAIL CharacterData interface: existence and properties of interface prototype object's "constructor" property assert_true: CharacterData.prototype.constructor is not writable expected true got false 1254 PASS CharacterData interface: existence and properties of interface prototype object's "constructor" property 1255 1255 FAIL CharacterData interface: attribute data assert_throws: getting property on prototype object must throw TypeError function "function () { 1256 1256 [native code] … … 1279 1279 PASS Text interface object length 1280 1280 PASS Text interface: existence and properties of interface prototype object 1281 FAIL Text interface: existence and properties of interface prototype object's "constructor" property assert_true: Text.prototype.constructor is not writable expected true got false 1281 PASS Text interface: existence and properties of interface prototype object's "constructor" property 1282 1282 PASS Text interface: operation splitText(unsigned long) 1283 1283 FAIL Text interface: attribute wholeText assert_throws: getting property on prototype object must throw TypeError function "function () { … … 1400 1400 PASS ProcessingInstruction interface object length 1401 1401 PASS ProcessingInstruction interface: existence and properties of interface prototype object 1402 FAIL ProcessingInstruction interface: existence and properties of interface prototype object's "constructor" property assert_true: ProcessingInstruction.prototype.constructor is not writable expected true got false 1402 PASS ProcessingInstruction interface: existence and properties of interface prototype object's "constructor" property 1403 1403 FAIL ProcessingInstruction interface: attribute target assert_throws: getting property on prototype object must throw TypeError function "function () { 1404 1404 [native code] … … 1518 1518 PASS Comment interface object length 1519 1519 PASS Comment interface: existence and properties of interface prototype object 1520 FAIL Comment interface: existence and properties of interface prototype object's "constructor" property assert_true: Comment.prototype.constructor is not writable expected true got false 1520 PASS Comment interface: existence and properties of interface prototype object's "constructor" property 1521 1521 PASS Comment must be primary interface of document.createComment("abc") 1522 1522 PASS Stringification of document.createComment("abc") … … 1632 1632 PASS Range interface object length 1633 1633 PASS Range interface: existence and properties of interface prototype object 1634 FAIL Range interface: existence and properties of interface prototype object's "constructor" property assert_true: Range.prototype.constructor is not writable expected true got false 1634 PASS Range interface: existence and properties of interface prototype object's "constructor" property 1635 1635 FAIL Range interface: attribute startContainer assert_throws: getting property on prototype object must throw TypeError function "function () { 1636 1636 [native code] … … 1795 1795 PASS NodeIterator interface object length 1796 1796 PASS NodeIterator interface: existence and properties of interface prototype object 1797 FAIL NodeIterator interface: existence and properties of interface prototype object's "constructor" property assert_true: NodeIterator.prototype.constructor is not writable expected true got false 1797 PASS NodeIterator interface: existence and properties of interface prototype object's "constructor" property 1798 1798 FAIL NodeIterator interface: attribute root assert_throws: getting property on prototype object must throw TypeError function "function () { 1799 1799 [native code] … … 1829 1829 PASS TreeWalker interface object length 1830 1830 PASS TreeWalker interface: existence and properties of interface prototype object 1831 FAIL TreeWalker interface: existence and properties of interface prototype object's "constructor" property assert_true: TreeWalker.prototype.constructor is not writable expected true got false 1831 PASS TreeWalker interface: existence and properties of interface prototype object's "constructor" property 1832 1832 FAIL TreeWalker interface: attribute root assert_throws: getting property on prototype object must throw TypeError function "function () { 1833 1833 [native code] -
trunk/LayoutTests/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt
r190030 r190085 1671 1671 PASS HTMLElement interface object length 1672 1672 PASS HTMLElement interface: existence and properties of interface prototype object 1673 FAIL HTMLElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLElement.prototype.constructor is not writable expected true got false 1673 PASS HTMLElement interface: existence and properties of interface prototype object's "constructor" property 1674 1674 FAIL HTMLElement interface: attribute title assert_throws: getting property on prototype object must throw TypeError function "function () { 1675 1675 [native code] … … 2256 2256 PASS HTMLUnknownElement interface object length 2257 2257 PASS HTMLUnknownElement interface: existence and properties of interface prototype object 2258 FAIL HTMLUnknownElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLUnknownElement.prototype.constructor is not writable expected true got false 2258 PASS HTMLUnknownElement interface: existence and properties of interface prototype object's "constructor" property 2259 2259 PASS HTMLUnknownElement must be primary interface of document.createElement("quasit") 2260 2260 PASS Stringification of document.createElement("quasit") … … 2282 2282 PASS HTMLHtmlElement interface object length 2283 2283 PASS HTMLHtmlElement interface: existence and properties of interface prototype object 2284 FAIL HTMLHtmlElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLHtmlElement.prototype.constructor is not writable expected true got false 2284 PASS HTMLHtmlElement interface: existence and properties of interface prototype object's "constructor" property 2285 2285 FAIL HTMLHtmlElement interface: attribute version assert_throws: getting property on prototype object must throw TypeError function "function () { 2286 2286 [native code] … … 2294 2294 PASS HTMLHeadElement interface object length 2295 2295 PASS HTMLHeadElement interface: existence and properties of interface prototype object 2296 FAIL HTMLHeadElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLHeadElement.prototype.constructor is not writable expected true got false 2296 PASS HTMLHeadElement interface: existence and properties of interface prototype object's "constructor" property 2297 2297 PASS HTMLHeadElement must be primary interface of document.createElement("head") 2298 2298 PASS Stringification of document.createElement("head") … … 2302 2302 PASS HTMLTitleElement interface object length 2303 2303 PASS HTMLTitleElement interface: existence and properties of interface prototype object 2304 FAIL HTMLTitleElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLTitleElement.prototype.constructor is not writable expected true got false 2304 PASS HTMLTitleElement interface: existence and properties of interface prototype object's "constructor" property 2305 2305 FAIL HTMLTitleElement interface: attribute text assert_throws: getting property on prototype object must throw TypeError function "function () { 2306 2306 [native code] … … 2314 2314 PASS HTMLBaseElement interface object length 2315 2315 PASS HTMLBaseElement interface: existence and properties of interface prototype object 2316 FAIL HTMLBaseElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLBaseElement.prototype.constructor is not writable expected true got false 2316 PASS HTMLBaseElement interface: existence and properties of interface prototype object's "constructor" property 2317 2317 FAIL HTMLBaseElement interface: attribute href assert_throws: getting property on prototype object must throw TypeError function "function () { 2318 2318 [native code] … … 2330 2330 PASS HTMLLinkElement interface object length 2331 2331 PASS HTMLLinkElement interface: existence and properties of interface prototype object 2332 FAIL HTMLLinkElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLLinkElement.prototype.constructor is not writable expected true got false 2332 PASS HTMLLinkElement interface: existence and properties of interface prototype object's "constructor" property 2333 2333 FAIL HTMLLinkElement interface: attribute href assert_throws: getting property on prototype object must throw TypeError function "function () { 2334 2334 [native code] … … 2381 2381 PASS HTMLMetaElement interface object length 2382 2382 PASS HTMLMetaElement interface: existence and properties of interface prototype object 2383 FAIL HTMLMetaElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLMetaElement.prototype.constructor is not writable expected true got false 2383 PASS HTMLMetaElement interface: existence and properties of interface prototype object's "constructor" property 2384 2384 FAIL HTMLMetaElement interface: attribute name assert_throws: getting property on prototype object must throw TypeError function "function () { 2385 2385 [native code] … … 2405 2405 PASS HTMLStyleElement interface object length 2406 2406 PASS HTMLStyleElement interface: existence and properties of interface prototype object 2407 FAIL HTMLStyleElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLStyleElement.prototype.constructor is not writable expected true got false 2407 PASS HTMLStyleElement interface: existence and properties of interface prototype object's "constructor" property 2408 2408 FAIL HTMLStyleElement interface: attribute media assert_throws: getting property on prototype object must throw TypeError function "function () { 2409 2409 [native code] … … 2424 2424 PASS HTMLBodyElement interface object length 2425 2425 PASS HTMLBodyElement interface: existence and properties of interface prototype object 2426 FAIL HTMLBodyElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLBodyElement.prototype.constructor is not writable expected true got false 2426 PASS HTMLBodyElement interface: existence and properties of interface prototype object's "constructor" property 2427 2427 FAIL HTMLBodyElement interface: attribute text assert_throws: getting property on prototype object must throw TypeError function "function () { 2428 2428 [native code] … … 2502 2502 PASS HTMLHeadingElement interface object length 2503 2503 PASS HTMLHeadingElement interface: existence and properties of interface prototype object 2504 FAIL HTMLHeadingElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLHeadingElement.prototype.constructor is not writable expected true got false 2504 PASS HTMLHeadingElement interface: existence and properties of interface prototype object's "constructor" property 2505 2505 FAIL HTMLHeadingElement interface: attribute align assert_throws: getting property on prototype object must throw TypeError function "function () { 2506 2506 [native code] … … 2529 2529 PASS HTMLParagraphElement interface object length 2530 2530 PASS HTMLParagraphElement interface: existence and properties of interface prototype object 2531 FAIL HTMLParagraphElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLParagraphElement.prototype.constructor is not writable expected true got false 2531 PASS HTMLParagraphElement interface: existence and properties of interface prototype object's "constructor" property 2532 2532 FAIL HTMLParagraphElement interface: attribute align assert_throws: getting property on prototype object must throw TypeError function "function () { 2533 2533 [native code] … … 2541 2541 PASS HTMLHRElement interface object length 2542 2542 PASS HTMLHRElement interface: existence and properties of interface prototype object 2543 FAIL HTMLHRElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLHRElement.prototype.constructor is not writable expected true got false 2543 PASS HTMLHRElement interface: existence and properties of interface prototype object's "constructor" property 2544 2544 FAIL HTMLHRElement interface: attribute align assert_throws: getting property on prototype object must throw TypeError function "function () { 2545 2545 [native code] … … 2567 2567 PASS HTMLPreElement interface object length 2568 2568 PASS HTMLPreElement interface: existence and properties of interface prototype object 2569 FAIL HTMLPreElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLPreElement.prototype.constructor is not writable expected true got false 2569 PASS HTMLPreElement interface: existence and properties of interface prototype object's "constructor" property 2570 2570 FAIL HTMLPreElement interface: attribute width assert_throws: getting property on prototype object must throw TypeError function "function () { 2571 2571 [native code] … … 2588 2588 PASS HTMLQuoteElement interface object length 2589 2589 PASS HTMLQuoteElement interface: existence and properties of interface prototype object 2590 FAIL HTMLQuoteElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLQuoteElement.prototype.constructor is not writable expected true got false 2590 PASS HTMLQuoteElement interface: existence and properties of interface prototype object's "constructor" property 2591 2591 FAIL HTMLQuoteElement interface: attribute cite assert_throws: getting property on prototype object must throw TypeError function "function () { 2592 2592 [native code] … … 2603 2603 PASS HTMLOListElement interface object length 2604 2604 PASS HTMLOListElement interface: existence and properties of interface prototype object 2605 FAIL HTMLOListElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLOListElement.prototype.constructor is not writable expected true got false 2605 PASS HTMLOListElement interface: existence and properties of interface prototype object's "constructor" property 2606 2606 FAIL HTMLOListElement interface: attribute reversed assert_throws: getting property on prototype object must throw TypeError function "function () { 2607 2607 [native code] … … 2621 2621 PASS HTMLUListElement interface object length 2622 2622 PASS HTMLUListElement interface: existence and properties of interface prototype object 2623 FAIL HTMLUListElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLUListElement.prototype.constructor is not writable expected true got false 2623 PASS HTMLUListElement interface: existence and properties of interface prototype object's "constructor" property 2624 2624 FAIL HTMLUListElement interface: attribute compact assert_throws: getting property on prototype object must throw TypeError function "function () { 2625 2625 [native code] … … 2633 2633 PASS HTMLLIElement interface object length 2634 2634 PASS HTMLLIElement interface: existence and properties of interface prototype object 2635 FAIL HTMLLIElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLLIElement.prototype.constructor is not writable expected true got false 2635 PASS HTMLLIElement interface: existence and properties of interface prototype object's "constructor" property 2636 2636 FAIL HTMLLIElement interface: attribute value assert_throws: getting property on prototype object must throw TypeError function "function () { 2637 2637 [native code] … … 2649 2649 PASS HTMLDListElement interface object length 2650 2650 PASS HTMLDListElement interface: existence and properties of interface prototype object 2651 FAIL HTMLDListElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLDListElement.prototype.constructor is not writable expected true got false 2651 PASS HTMLDListElement interface: existence and properties of interface prototype object's "constructor" property 2652 2652 FAIL HTMLDListElement interface: attribute compact assert_throws: getting property on prototype object must throw TypeError function "function () { 2653 2653 [native code] … … 2658 2658 PASS HTMLDivElement interface object length 2659 2659 PASS HTMLDivElement interface: existence and properties of interface prototype object 2660 FAIL HTMLDivElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLDivElement.prototype.constructor is not writable expected true got false 2660 PASS HTMLDivElement interface: existence and properties of interface prototype object's "constructor" property 2661 2661 FAIL HTMLDivElement interface: attribute align assert_throws: getting property on prototype object must throw TypeError function "function () { 2662 2662 [native code] … … 2670 2670 PASS HTMLAnchorElement interface object length 2671 2671 PASS HTMLAnchorElement interface: existence and properties of interface prototype object 2672 FAIL HTMLAnchorElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLAnchorElement.prototype.constructor is not writable expected true got false 2672 PASS HTMLAnchorElement interface: existence and properties of interface prototype object's "constructor" property 2673 2673 FAIL HTMLAnchorElement interface: attribute target assert_throws: getting property on prototype object must throw TypeError function "function () { 2674 2674 [native code] … … 2744 2744 PASS HTMLSpanElement interface object length 2745 2745 PASS HTMLSpanElement interface: existence and properties of interface prototype object 2746 FAIL HTMLSpanElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLSpanElement.prototype.constructor is not writable expected true got false 2746 PASS HTMLSpanElement interface: existence and properties of interface prototype object's "constructor" property 2747 2747 PASS HTMLSpanElement must be primary interface of document.createElement("span") 2748 2748 PASS Stringification of document.createElement("span") … … 2752 2752 PASS HTMLBRElement interface object length 2753 2753 PASS HTMLBRElement interface: existence and properties of interface prototype object 2754 FAIL HTMLBRElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLBRElement.prototype.constructor is not writable expected true got false 2754 PASS HTMLBRElement interface: existence and properties of interface prototype object's "constructor" property 2755 2755 FAIL HTMLBRElement interface: attribute clear assert_throws: getting property on prototype object must throw TypeError function "function () { 2756 2756 [native code] … … 2764 2764 PASS HTMLModElement interface object length 2765 2765 PASS HTMLModElement interface: existence and properties of interface prototype object 2766 FAIL HTMLModElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLModElement.prototype.constructor is not writable expected true got false 2766 PASS HTMLModElement interface: existence and properties of interface prototype object's "constructor" property 2767 2767 FAIL HTMLModElement interface: attribute cite assert_throws: getting property on prototype object must throw TypeError function "function () { 2768 2768 [native code] … … 2790 2790 PASS HTMLImageElement interface object length 2791 2791 PASS HTMLImageElement interface: existence and properties of interface prototype object 2792 FAIL HTMLImageElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLImageElement.prototype.constructor is not writable expected true got false 2792 PASS HTMLImageElement interface: existence and properties of interface prototype object's "constructor" property 2793 2793 FAIL HTMLImageElement interface: attribute alt assert_throws: getting property on prototype object must throw TypeError function "function () { 2794 2794 [native code] … … 2896 2896 PASS HTMLIFrameElement interface object length 2897 2897 PASS HTMLIFrameElement interface: existence and properties of interface prototype object 2898 FAIL HTMLIFrameElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLIFrameElement.prototype.constructor is not writable expected true got false 2898 PASS HTMLIFrameElement interface: existence and properties of interface prototype object's "constructor" property 2899 2899 FAIL HTMLIFrameElement interface: attribute src assert_throws: getting property on prototype object must throw TypeError function "function () { 2900 2900 [native code] … … 3079 3079 PASS HTMLParamElement interface object length 3080 3080 PASS HTMLParamElement interface: existence and properties of interface prototype object 3081 FAIL HTMLParamElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLParamElement.prototype.constructor is not writable expected true got false 3081 PASS HTMLParamElement interface: existence and properties of interface prototype object's "constructor" property 3082 3082 FAIL HTMLParamElement interface: attribute name assert_throws: getting property on prototype object must throw TypeError function "function () { 3083 3083 [native code] … … 3103 3103 PASS HTMLVideoElement interface object length 3104 3104 PASS HTMLVideoElement interface: existence and properties of interface prototype object 3105 FAIL HTMLVideoElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLVideoElement.prototype.constructor is not writable expected true got false 3105 PASS HTMLVideoElement interface: existence and properties of interface prototype object's "constructor" property 3106 3106 FAIL HTMLVideoElement interface: attribute width assert_throws: getting property on prototype object must throw TypeError function "function () { 3107 3107 [native code] … … 3180 3180 PASS HTMLAudioElement interface object length 3181 3181 PASS HTMLAudioElement interface: existence and properties of interface prototype object 3182 FAIL HTMLAudioElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLAudioElement.prototype.constructor is not writable expected true got false 3182 PASS HTMLAudioElement interface: existence and properties of interface prototype object's "constructor" property 3183 3183 PASS HTMLAudioElement must be primary interface of document.createElement("audio") 3184 3184 PASS Stringification of document.createElement("audio") … … 3288 3288 PASS HTMLSourceElement interface object length 3289 3289 PASS HTMLSourceElement interface: existence and properties of interface prototype object 3290 FAIL HTMLSourceElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLSourceElement.prototype.constructor is not writable expected true got false 3290 PASS HTMLSourceElement interface: existence and properties of interface prototype object's "constructor" property 3291 3291 FAIL HTMLSourceElement interface: attribute src assert_throws: getting property on prototype object must throw TypeError function "function () { 3292 3292 [native code] … … 3312 3312 PASS HTMLTrackElement interface object length 3313 3313 PASS HTMLTrackElement interface: existence and properties of interface prototype object 3314 FAIL HTMLTrackElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLTrackElement.prototype.constructor is not writable expected true got false 3314 PASS HTMLTrackElement interface: existence and properties of interface prototype object's "constructor" property 3315 3315 FAIL HTMLTrackElement interface: attribute kind assert_throws: getting property on prototype object must throw TypeError function "function () { 3316 3316 [native code] … … 3360 3360 PASS HTMLMediaElement interface object length 3361 3361 PASS HTMLMediaElement interface: existence and properties of interface prototype object 3362 FAIL HTMLMediaElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLMediaElement.prototype.constructor is not writable expected true got false 3362 PASS HTMLMediaElement interface: existence and properties of interface prototype object's "constructor" property 3363 3363 FAIL HTMLMediaElement interface: attribute error assert_throws: getting property on prototype object must throw TypeError function "function () { 3364 3364 [native code] … … 3471 3471 PASS MediaError interface object length 3472 3472 PASS MediaError interface: existence and properties of interface prototype object 3473 FAIL MediaError interface: existence and properties of interface prototype object's "constructor" property assert_true: MediaError.prototype.constructor is not writable expected true got false 3473 PASS MediaError interface: existence and properties of interface prototype object's "constructor" property 3474 3474 PASS MediaError interface: constant MEDIA_ERR_ABORTED on interface object 3475 3475 PASS MediaError interface: constant MEDIA_ERR_ABORTED on interface prototype object … … 3530 3530 PASS MediaController interface object length 3531 3531 FAIL MediaController interface: existence and properties of interface prototype object assert_equals: prototype of MediaController.prototype is not EventTarget.prototype expected object "[object EventTargetPrototype]" but got object "[object Object]" 3532 FAIL MediaController interface: existence and properties of interface prototype object's "constructor" property assert_true: MediaController.prototype.constructor is not writable expected true got false 3532 PASS MediaController interface: existence and properties of interface prototype object's "constructor" property 3533 3533 FAIL MediaController interface: attribute readyState assert_true: The prototype object must have a property "readyState" expected true got false 3534 3534 FAIL MediaController interface: attribute buffered assert_throws: getting property on prototype object must throw TypeError function "function () { … … 3657 3657 PASS TextTrack interface object length 3658 3658 FAIL TextTrack interface: existence and properties of interface prototype object assert_equals: prototype of TextTrack.prototype is not EventTarget.prototype expected object "[object EventTargetPrototype]" but got object "[object Object]" 3659 FAIL TextTrack interface: existence and properties of interface prototype object's "constructor" property assert_true: TextTrack.prototype.constructor is not writable expected true got false 3659 PASS TextTrack interface: existence and properties of interface prototype object's "constructor" property 3660 3660 FAIL TextTrack interface: attribute kind assert_true: The prototype object must have a property "kind" expected true got false 3661 3661 FAIL TextTrack interface: attribute label assert_throws: getting property on prototype object must throw TypeError function "function () { … … 3726 3726 FAIL TextTrackCue interface object length assert_equals: wrong value for TextTrackCue.length expected 0 but got 3 3727 3727 FAIL TextTrackCue interface: existence and properties of interface prototype object assert_equals: prototype of TextTrackCue.prototype is not EventTarget.prototype expected object "[object EventTargetPrototype]" but got object "[object Object]" 3728 FAIL TextTrackCue interface: existence and properties of interface prototype object's "constructor" property assert_true: TextTrackCue.prototype.constructor is not writable expected true got false 3728 PASS TextTrackCue interface: existence and properties of interface prototype object's "constructor" property 3729 3729 FAIL TextTrackCue interface: attribute track assert_throws: getting property on prototype object must throw TypeError function "function () { 3730 3730 [native code] … … 3753 3753 PASS TimeRanges interface object length 3754 3754 PASS TimeRanges interface: existence and properties of interface prototype object 3755 FAIL TimeRanges interface: existence and properties of interface prototype object's "constructor" property assert_true: TimeRanges.prototype.constructor is not writable expected true got false 3755 PASS TimeRanges interface: existence and properties of interface prototype object's "constructor" property 3756 3756 FAIL TimeRanges interface: attribute length assert_true: The prototype object must have a property "length" expected true got false 3757 3757 PASS TimeRanges interface: operation start(unsigned long) … … 3769 3769 PASS TrackEvent interface object length 3770 3770 PASS TrackEvent interface: existence and properties of interface prototype object 3771 FAIL TrackEvent interface: existence and properties of interface prototype object's "constructor" property assert_true: TrackEvent.prototype.constructor is not writable expected true got false 3771 PASS TrackEvent interface: existence and properties of interface prototype object's "constructor" property 3772 3772 FAIL TrackEvent interface: attribute track assert_true: The prototype object must have a property "track" expected true got false 3773 3773 FAIL TrackEvent must be primary interface of new TrackEvent("addtrack"; {track:document.createElement("track").track}) assert_equals: Unexpected exception when evaluating object expected null but got object "SyntaxError: Unexpected token ';'. Expected ')' to end a ..." … … 3797 3797 PASS HTMLMapElement interface object length 3798 3798 PASS HTMLMapElement interface: existence and properties of interface prototype object 3799 FAIL HTMLMapElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLMapElement.prototype.constructor is not writable expected true got false 3799 PASS HTMLMapElement interface: existence and properties of interface prototype object's "constructor" property 3800 3800 FAIL HTMLMapElement interface: attribute name assert_throws: getting property on prototype object must throw TypeError function "function () { 3801 3801 [native code] … … 3815 3815 PASS HTMLAreaElement interface object length 3816 3816 PASS HTMLAreaElement interface: existence and properties of interface prototype object 3817 FAIL HTMLAreaElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLAreaElement.prototype.constructor is not writable expected true got false 3817 PASS HTMLAreaElement interface: existence and properties of interface prototype object's "constructor" property 3818 3818 FAIL HTMLAreaElement interface: attribute alt assert_throws: getting property on prototype object must throw TypeError function "function () { 3819 3819 [native code] … … 3861 3861 PASS HTMLTableElement interface object length 3862 3862 PASS HTMLTableElement interface: existence and properties of interface prototype object 3863 FAIL HTMLTableElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLTableElement.prototype.constructor is not writable expected true got false 3863 PASS HTMLTableElement interface: existence and properties of interface prototype object's "constructor" property 3864 3864 FAIL HTMLTableElement interface: attribute caption assert_throws: getting property on prototype object must throw TypeError function "function () { 3865 3865 [native code] … … 3951 3951 PASS HTMLTableCaptionElement interface object length 3952 3952 PASS HTMLTableCaptionElement interface: existence and properties of interface prototype object 3953 FAIL HTMLTableCaptionElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLTableCaptionElement.prototype.constructor is not writable expected true got false 3953 PASS HTMLTableCaptionElement interface: existence and properties of interface prototype object's "constructor" property 3954 3954 FAIL HTMLTableCaptionElement interface: attribute align assert_throws: getting property on prototype object must throw TypeError function "function () { 3955 3955 [native code] … … 3963 3963 PASS HTMLTableColElement interface object length 3964 3964 PASS HTMLTableColElement interface: existence and properties of interface prototype object 3965 FAIL HTMLTableColElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLTableColElement.prototype.constructor is not writable expected true got false 3965 PASS HTMLTableColElement interface: existence and properties of interface prototype object's "constructor" property 3966 3966 FAIL HTMLTableColElement interface: attribute span assert_throws: getting property on prototype object must throw TypeError function "function () { 3967 3967 [native code] … … 4003 4003 PASS HTMLTableSectionElement interface object length 4004 4004 PASS HTMLTableSectionElement interface: existence and properties of interface prototype object 4005 FAIL HTMLTableSectionElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLTableSectionElement.prototype.constructor is not writable expected true got false 4005 PASS HTMLTableSectionElement interface: existence and properties of interface prototype object's "constructor" property 4006 4006 FAIL HTMLTableSectionElement interface: attribute rows assert_throws: getting property on prototype object must throw TypeError function "function () { 4007 4007 [native code] … … 4065 4065 PASS HTMLTableRowElement interface object length 4066 4066 PASS HTMLTableRowElement interface: existence and properties of interface prototype object 4067 FAIL HTMLTableRowElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLTableRowElement.prototype.constructor is not writable expected true got false 4067 PASS HTMLTableRowElement interface: existence and properties of interface prototype object's "constructor" property 4068 4068 FAIL HTMLTableRowElement interface: attribute rowIndex assert_throws: getting property on prototype object must throw TypeError function "function () { 4069 4069 [native code] … … 4161 4161 PASS HTMLTableCellElement interface object length 4162 4162 PASS HTMLTableCellElement interface: existence and properties of interface prototype object 4163 FAIL HTMLTableCellElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLTableCellElement.prototype.constructor is not writable expected true got false 4163 PASS HTMLTableCellElement interface: existence and properties of interface prototype object's "constructor" property 4164 4164 FAIL HTMLTableCellElement interface: attribute colSpan assert_throws: getting property on prototype object must throw TypeError function "function () { 4165 4165 [native code] … … 4246 4246 PASS HTMLLabelElement interface object length 4247 4247 PASS HTMLLabelElement interface: existence and properties of interface prototype object 4248 FAIL HTMLLabelElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLLabelElement.prototype.constructor is not writable expected true got false 4248 PASS HTMLLabelElement interface: existence and properties of interface prototype object's "constructor" property 4249 4249 FAIL HTMLLabelElement interface: attribute form assert_throws: getting property on prototype object must throw TypeError function "function () { 4250 4250 [native code] … … 4266 4266 PASS HTMLInputElement interface object length 4267 4267 PASS HTMLInputElement interface: existence and properties of interface prototype object 4268 FAIL HTMLInputElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLInputElement.prototype.constructor is not writable expected true got false 4268 PASS HTMLInputElement interface: existence and properties of interface prototype object's "constructor" property 4269 4269 FAIL HTMLInputElement interface: attribute accept assert_throws: getting property on prototype object must throw TypeError function "function () { 4270 4270 [native code] … … 4482 4482 PASS HTMLButtonElement interface object length 4483 4483 PASS HTMLButtonElement interface: existence and properties of interface prototype object 4484 FAIL HTMLButtonElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLButtonElement.prototype.constructor is not writable expected true got false 4484 PASS HTMLButtonElement interface: existence and properties of interface prototype object's "constructor" property 4485 4485 FAIL HTMLButtonElement interface: attribute autofocus assert_throws: getting property on prototype object must throw TypeError function "function () { 4486 4486 [native code] … … 4668 4668 PASS HTMLOptGroupElement interface object length 4669 4669 PASS HTMLOptGroupElement interface: existence and properties of interface prototype object 4670 FAIL HTMLOptGroupElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLOptGroupElement.prototype.constructor is not writable expected true got false 4670 PASS HTMLOptGroupElement interface: existence and properties of interface prototype object's "constructor" property 4671 4671 FAIL HTMLOptGroupElement interface: attribute disabled assert_throws: getting property on prototype object must throw TypeError function "function () { 4672 4672 [native code] … … 4684 4684 PASS HTMLOptionElement interface object length 4685 4685 PASS HTMLOptionElement interface: existence and properties of interface prototype object 4686 FAIL HTMLOptionElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLOptionElement.prototype.constructor is not writable expected true got false 4686 PASS HTMLOptionElement interface: existence and properties of interface prototype object's "constructor" property 4687 4687 FAIL HTMLOptionElement interface: attribute disabled assert_throws: getting property on prototype object must throw TypeError function "function () { 4688 4688 [native code] … … 4734 4734 PASS HTMLTextAreaElement interface object length 4735 4735 PASS HTMLTextAreaElement interface: existence and properties of interface prototype object 4736 FAIL HTMLTextAreaElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLTextAreaElement.prototype.constructor is not writable expected true got false 4736 PASS HTMLTextAreaElement interface: existence and properties of interface prototype object's "constructor" property 4737 4737 FAIL HTMLTextAreaElement interface: attribute autocomplete assert_true: The prototype object must have a property "autocomplete" expected true got false 4738 4738 FAIL HTMLTextAreaElement interface: attribute autofocus assert_throws: getting property on prototype object must throw TypeError function "function () { … … 4862 4862 PASS HTMLKeygenElement interface object length 4863 4863 PASS HTMLKeygenElement interface: existence and properties of interface prototype object 4864 FAIL HTMLKeygenElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLKeygenElement.prototype.constructor is not writable expected true got false 4864 PASS HTMLKeygenElement interface: existence and properties of interface prototype object's "constructor" property 4865 4865 FAIL HTMLKeygenElement interface: attribute autofocus assert_throws: getting property on prototype object must throw TypeError function "function () { 4866 4866 [native code] … … 4921 4921 PASS HTMLOutputElement interface object length 4922 4922 PASS HTMLOutputElement interface: existence and properties of interface prototype object 4923 FAIL HTMLOutputElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLOutputElement.prototype.constructor is not writable expected true got false 4923 PASS HTMLOutputElement interface: existence and properties of interface prototype object's "constructor" property 4924 4924 FAIL HTMLOutputElement interface: attribute htmlFor assert_throws: getting property on prototype object must throw TypeError function "function () { 4925 4925 [native code] … … 4976 4976 PASS HTMLProgressElement interface object length 4977 4977 PASS HTMLProgressElement interface: existence and properties of interface prototype object 4978 FAIL HTMLProgressElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLProgressElement.prototype.constructor is not writable expected true got false 4978 PASS HTMLProgressElement interface: existence and properties of interface prototype object's "constructor" property 4979 4979 FAIL HTMLProgressElement interface: attribute value assert_throws: getting property on prototype object must throw TypeError function "function () { 4980 4980 [native code] … … 5000 5000 PASS HTMLMeterElement interface object length 5001 5001 PASS HTMLMeterElement interface: existence and properties of interface prototype object 5002 FAIL HTMLMeterElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLMeterElement.prototype.constructor is not writable expected true got false 5002 PASS HTMLMeterElement interface: existence and properties of interface prototype object's "constructor" property 5003 5003 FAIL HTMLMeterElement interface: attribute value assert_throws: getting property on prototype object must throw TypeError function "function () { 5004 5004 [native code] … … 5036 5036 PASS HTMLFieldSetElement interface object length 5037 5037 PASS HTMLFieldSetElement interface: existence and properties of interface prototype object 5038 FAIL HTMLFieldSetElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLFieldSetElement.prototype.constructor is not writable expected true got false 5038 PASS HTMLFieldSetElement interface: existence and properties of interface prototype object's "constructor" property 5039 5039 FAIL HTMLFieldSetElement interface: attribute disabled assert_throws: getting property on prototype object must throw TypeError function "function () { 5040 5040 [native code] … … 5069 5069 PASS HTMLLegendElement interface object length 5070 5070 PASS HTMLLegendElement interface: existence and properties of interface prototype object 5071 FAIL HTMLLegendElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLLegendElement.prototype.constructor is not writable expected true got false 5071 PASS HTMLLegendElement interface: existence and properties of interface prototype object's "constructor" property 5072 5072 FAIL HTMLLegendElement interface: attribute form assert_throws: getting property on prototype object must throw TypeError function "function () { 5073 5073 [native code] … … 5118 5118 PASS HTMLDetailsElement interface object length 5119 5119 PASS HTMLDetailsElement interface: existence and properties of interface prototype object 5120 FAIL HTMLDetailsElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLDetailsElement.prototype.constructor is not writable expected true got false 5120 PASS HTMLDetailsElement interface: existence and properties of interface prototype object's "constructor" property 5121 5121 FAIL HTMLDetailsElement interface: attribute open assert_throws: getting property on prototype object must throw TypeError function "function () { 5122 5122 [native code] … … 5130 5130 PASS HTMLMenuElement interface object length 5131 5131 PASS HTMLMenuElement interface: existence and properties of interface prototype object 5132 FAIL HTMLMenuElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLMenuElement.prototype.constructor is not writable expected true got false 5132 PASS HTMLMenuElement interface: existence and properties of interface prototype object's "constructor" property 5133 5133 FAIL HTMLMenuElement interface: attribute type assert_true: The prototype object must have a property "type" expected true got false 5134 5134 FAIL HTMLMenuElement interface: attribute label assert_true: The prototype object must have a property "label" expected true got false … … 5172 5172 PASS HTMLScriptElement interface object length 5173 5173 PASS HTMLScriptElement interface: existence and properties of interface prototype object 5174 FAIL HTMLScriptElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLScriptElement.prototype.constructor is not writable expected true got false 5174 PASS HTMLScriptElement interface: existence and properties of interface prototype object's "constructor" property 5175 5175 FAIL HTMLScriptElement interface: attribute src assert_throws: getting property on prototype object must throw TypeError function "function () { 5176 5176 [native code] … … 5216 5216 PASS HTMLTemplateElement interface object length 5217 5217 PASS HTMLTemplateElement interface: existence and properties of interface prototype object 5218 FAIL HTMLTemplateElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLTemplateElement.prototype.constructor is not writable expected true got false 5218 PASS HTMLTemplateElement interface: existence and properties of interface prototype object's "constructor" property 5219 5219 FAIL HTMLTemplateElement interface: attribute content assert_true: The prototype object must have a property "content" expected true got false 5220 5220 FAIL HTMLCanvasElement interface: existence and properties of interface object assert_equals: prototype of self's property "HTMLCanvasElement" is not Function.prototype expected (function) function "function () { … … 5223 5223 PASS HTMLCanvasElement interface object length 5224 5224 PASS HTMLCanvasElement interface: existence and properties of interface prototype object 5225 FAIL HTMLCanvasElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLCanvasElement.prototype.constructor is not writable expected true got false 5225 PASS HTMLCanvasElement interface: existence and properties of interface prototype object's "constructor" property 5226 5226 FAIL HTMLCanvasElement interface: attribute width assert_throws: getting property on prototype object must throw TypeError function "function () { 5227 5227 [native code] … … 5265 5265 FAIL CanvasRenderingContext2D interface object length assert_equals: wrong value for CanvasRenderingContext2D.length expected 1 but got 0 5266 5266 FAIL CanvasRenderingContext2D interface: existence and properties of interface prototype object assert_equals: prototype of CanvasRenderingContext2D.prototype is not Object.prototype expected object "[object Object]" but got object "[object CanvasRenderingContextPrototype]" 5267 FAIL CanvasRenderingContext2D interface: existence and properties of interface prototype object's "constructor" property assert_true: CanvasRenderingContext2D.prototype.constructor is not writable expected true got false 5267 PASS CanvasRenderingContext2D interface: existence and properties of interface prototype object's "constructor" property 5268 5268 FAIL CanvasRenderingContext2D interface: attribute canvas assert_throws: getting property on prototype object must throw TypeError function "function () { 5269 5269 [native code] … … 5533 5533 PASS CanvasGradient interface object length 5534 5534 PASS CanvasGradient interface: existence and properties of interface prototype object 5535 FAIL CanvasGradient interface: existence and properties of interface prototype object's "constructor" property assert_true: CanvasGradient.prototype.constructor is not writable expected true got false 5535 PASS CanvasGradient interface: existence and properties of interface prototype object's "constructor" property 5536 5536 FAIL CanvasGradient interface: operation addColorStop(double,DOMString) assert_equals: property has wrong .length expected 2 but got 0 5537 5537 FAIL CanvasPattern interface: existence and properties of interface object assert_equals: prototype of self's property "CanvasPattern" is not Function.prototype expected (function) function "function () { … … 5540 5540 PASS CanvasPattern interface object length 5541 5541 PASS CanvasPattern interface: existence and properties of interface prototype object 5542 FAIL CanvasPattern interface: existence and properties of interface prototype object's "constructor" property assert_true: CanvasPattern.prototype.constructor is not writable expected true got false 5542 PASS CanvasPattern interface: existence and properties of interface prototype object's "constructor" property 5543 5543 FAIL CanvasPattern interface: operation setTransform(SVGMatrix) assert_own_property: interface prototype object missing non-static operation expected property "setTransform" missing 5544 5544 FAIL TextMetrics interface: existence and properties of interface object assert_equals: prototype of self's property "TextMetrics" is not Function.prototype expected (function) function "function () { … … 5547 5547 PASS TextMetrics interface object length 5548 5548 PASS TextMetrics interface: existence and properties of interface prototype object 5549 FAIL TextMetrics interface: existence and properties of interface prototype object's "constructor" property assert_true: TextMetrics.prototype.constructor is not writable expected true got false 5549 PASS TextMetrics interface: existence and properties of interface prototype object's "constructor" property 5550 5550 FAIL TextMetrics interface: attribute width assert_throws: getting property on prototype object must throw TypeError function "function () { 5551 5551 [native code] … … 5567 5567 PASS ImageData interface object length 5568 5568 PASS ImageData interface: existence and properties of interface prototype object 5569 FAIL ImageData interface: existence and properties of interface prototype object's "constructor" property assert_true: ImageData.prototype.constructor is not writable expected true got false 5569 PASS ImageData interface: existence and properties of interface prototype object's "constructor" property 5570 5570 FAIL ImageData interface: attribute width assert_throws: getting property on prototype object must throw TypeError function "function () { 5571 5571 [native code] … … 5595 5595 PASS Path2D interface object length 5596 5596 PASS Path2D interface: existence and properties of interface prototype object 5597 FAIL Path2D interface: existence and properties of interface prototype object's "constructor" property assert_true: Path2D.prototype.constructor is not writable expected true got false 5597 PASS Path2D interface: existence and properties of interface prototype object's "constructor" property 5598 5598 PASS Path2D interface: operation addPath(Path2D,SVGMatrix) 5599 5599 FAIL Path2D interface: operation addPathByStrokingPath(Path2D,CanvasDrawingStyles,SVGMatrix) assert_own_property: interface prototype object missing non-static operation expected property "addPathByStrokingPath" missing … … 5617 5617 PASS DataTransfer interface object length 5618 5618 PASS DataTransfer interface: existence and properties of interface prototype object 5619 FAIL DataTransfer interface: existence and properties of interface prototype object's "constructor" property assert_true: DataTransfer.prototype.constructor is not writable expected true got false 5619 PASS DataTransfer interface: existence and properties of interface prototype object's "constructor" property 5620 5620 FAIL DataTransfer interface: attribute dropEffect assert_throws: getting property on prototype object must throw TypeError function "function () { 5621 5621 [native code] … … 5930 5930 PASS BarProp interface object length 5931 5931 PASS BarProp interface: existence and properties of interface prototype object 5932 FAIL BarProp interface: existence and properties of interface prototype object's "constructor" property assert_true: BarProp.prototype.constructor is not writable expected true got false 5932 PASS BarProp interface: existence and properties of interface prototype object's "constructor" property 5933 5933 FAIL BarProp interface: attribute visible assert_throws: getting property on prototype object must throw TypeError function "function () { 5934 5934 [native code] … … 5988 5988 PASS PopStateEvent interface object length 5989 5989 PASS PopStateEvent interface: existence and properties of interface prototype object 5990 FAIL PopStateEvent interface: existence and properties of interface prototype object's "constructor" property assert_true: PopStateEvent.prototype.constructor is not writable expected true got false 5990 PASS PopStateEvent interface: existence and properties of interface prototype object's "constructor" property 5991 5991 FAIL PopStateEvent interface: attribute state assert_true: The prototype object must have a property "state" expected true got false 5992 5992 PASS PopStateEvent must be primary interface of new PopStateEvent("popstate", { data: {} }) … … 6018 6018 PASS HashChangeEvent interface object length 6019 6019 PASS HashChangeEvent interface: existence and properties of interface prototype object 6020 FAIL HashChangeEvent interface: existence and properties of interface prototype object's "constructor" property assert_true: HashChangeEvent.prototype.constructor is not writable expected true got false 6020 PASS HashChangeEvent interface: existence and properties of interface prototype object's "constructor" property 6021 6021 FAIL HashChangeEvent interface: attribute oldURL assert_throws: getting property on prototype object must throw TypeError function "function () { 6022 6022 [native code] … … 6030 6030 PASS PageTransitionEvent interface object length 6031 6031 PASS PageTransitionEvent interface: existence and properties of interface prototype object 6032 FAIL PageTransitionEvent interface: existence and properties of interface prototype object's "constructor" property assert_true: PageTransitionEvent.prototype.constructor is not writable expected true got false 6032 PASS PageTransitionEvent interface: existence and properties of interface prototype object's "constructor" property 6033 6033 FAIL PageTransitionEvent interface: attribute persisted assert_throws: getting property on prototype object must throw TypeError function "function () { 6034 6034 [native code] … … 6039 6039 PASS BeforeUnloadEvent interface object length 6040 6040 PASS BeforeUnloadEvent interface: existence and properties of interface prototype object 6041 FAIL BeforeUnloadEvent interface: existence and properties of interface prototype object's "constructor" property assert_true: BeforeUnloadEvent.prototype.constructor is not writable expected true got false 6041 PASS BeforeUnloadEvent interface: existence and properties of interface prototype object's "constructor" property 6042 6042 FAIL BeforeUnloadEvent interface: attribute returnValue assert_throws: getting property on prototype object must throw TypeError function "function () { 6043 6043 [native code] … … 6106 6106 PASS ErrorEvent interface object length 6107 6107 PASS ErrorEvent interface: existence and properties of interface prototype object 6108 FAIL ErrorEvent interface: existence and properties of interface prototype object's "constructor" property assert_true: ErrorEvent.prototype.constructor is not writable expected true got false 6108 PASS ErrorEvent interface: existence and properties of interface prototype object's "constructor" property 6109 6109 FAIL ErrorEvent interface: attribute message assert_true: The prototype object must have a property "message" expected true got false 6110 6110 FAIL ErrorEvent interface: attribute filename assert_true: The prototype object must have a property "filename" expected true got false … … 6117 6117 PASS Navigator interface object length 6118 6118 PASS Navigator interface: existence and properties of interface prototype object 6119 FAIL Navigator interface: existence and properties of interface prototype object's "constructor" property assert_true: Navigator.prototype.constructor is not writable expected true got false 6119 PASS Navigator interface: existence and properties of interface prototype object's "constructor" property 6120 6120 FAIL Navigator interface: attribute appCodeName assert_true: The prototype object must have a property "appCodeName" expected true got false 6121 6121 FAIL Navigator interface: attribute appName assert_true: The prototype object must have a property "appName" expected true got false … … 6206 6206 PASS MimeType interface object length 6207 6207 PASS MimeType interface: existence and properties of interface prototype object 6208 FAIL MimeType interface: existence and properties of interface prototype object's "constructor" property assert_true: MimeType.prototype.constructor is not writable expected true got false 6208 PASS MimeType interface: existence and properties of interface prototype object's "constructor" property 6209 6209 FAIL MimeType interface: attribute type assert_throws: getting property on prototype object must throw TypeError function "function () { 6210 6210 [native code] … … 6242 6242 PASS MessageEvent interface object length 6243 6243 PASS MessageEvent interface: existence and properties of interface prototype object 6244 FAIL MessageEvent interface: existence and properties of interface prototype object's "constructor" property assert_true: MessageEvent.prototype.constructor is not writable expected true got false 6244 PASS MessageEvent interface: existence and properties of interface prototype object's "constructor" property 6245 6245 FAIL MessageEvent interface: attribute data assert_true: The prototype object must have a property "data" expected true got false 6246 6246 FAIL MessageEvent interface: attribute origin assert_throws: getting property on prototype object must throw TypeError function "function () { … … 6262 6262 PASS EventSource interface object length 6263 6263 FAIL EventSource interface: existence and properties of interface prototype object assert_equals: prototype of EventSource.prototype is not EventTarget.prototype expected object "[object EventTargetPrototype]" but got object "[object Object]" 6264 FAIL EventSource interface: existence and properties of interface prototype object's "constructor" property assert_true: EventSource.prototype.constructor is not writable expected true got false 6264 PASS EventSource interface: existence and properties of interface prototype object's "constructor" property 6265 6265 FAIL EventSource interface: attribute url assert_throws: getting property on prototype object must throw TypeError function "function () { 6266 6266 [native code] … … 6293 6293 PASS WebSocket interface object length 6294 6294 FAIL WebSocket interface: existence and properties of interface prototype object assert_equals: prototype of WebSocket.prototype is not EventTarget.prototype expected object "[object EventTargetPrototype]" but got object "[object Object]" 6295 FAIL WebSocket interface: existence and properties of interface prototype object's "constructor" property assert_true: WebSocket.prototype.constructor is not writable expected true got false 6295 PASS WebSocket interface: existence and properties of interface prototype object's "constructor" property 6296 6296 FAIL WebSocket interface: attribute url assert_throws: getting property on prototype object must throw TypeError function "function () { 6297 6297 [native code] … … 6342 6342 PASS CloseEvent interface object length 6343 6343 PASS CloseEvent interface: existence and properties of interface prototype object 6344 FAIL CloseEvent interface: existence and properties of interface prototype object's "constructor" property assert_true: CloseEvent.prototype.constructor is not writable expected true got false 6344 PASS CloseEvent interface: existence and properties of interface prototype object's "constructor" property 6345 6345 FAIL CloseEvent interface: attribute wasClean assert_throws: getting property on prototype object must throw TypeError function "function () { 6346 6346 [native code] … … 6357 6357 PASS MessageChannel interface object length 6358 6358 PASS MessageChannel interface: existence and properties of interface prototype object 6359 FAIL MessageChannel interface: existence and properties of interface prototype object's "constructor" property assert_true: MessageChannel.prototype.constructor is not writable expected true got false 6359 PASS MessageChannel interface: existence and properties of interface prototype object's "constructor" property 6360 6360 FAIL MessageChannel interface: attribute port1 assert_throws: getting property on prototype object must throw TypeError function "function () { 6361 6361 [native code] … … 6369 6369 PASS MessagePort interface object length 6370 6370 FAIL MessagePort interface: existence and properties of interface prototype object assert_equals: prototype of MessagePort.prototype is not EventTarget.prototype expected object "[object EventTargetPrototype]" but got object "[object Object]" 6371 FAIL MessagePort interface: existence and properties of interface prototype object's "constructor" property assert_true: MessagePort.prototype.constructor is not writable expected true got false 6371 PASS MessagePort interface: existence and properties of interface prototype object's "constructor" property 6372 6372 PASS MessagePort interface: operation postMessage(any,[object Object]) 6373 6373 PASS MessagePort interface: operation start() … … 6432 6432 PASS Worker interface object length 6433 6433 PASS Worker interface: existence and properties of interface prototype object 6434 FAIL Worker interface: existence and properties of interface prototype object's "constructor" property assert_true: Worker.prototype.constructor is not writable expected true got false 6434 PASS Worker interface: existence and properties of interface prototype object's "constructor" property 6435 6435 PASS Worker interface: operation terminate() 6436 6436 PASS Worker interface: operation postMessage(any,[object Object]) … … 6482 6482 PASS StorageEvent interface object length 6483 6483 PASS StorageEvent interface: existence and properties of interface prototype object 6484 FAIL StorageEvent interface: existence and properties of interface prototype object's "constructor" property assert_true: StorageEvent.prototype.constructor is not writable expected true got false 6484 PASS StorageEvent interface: existence and properties of interface prototype object's "constructor" property 6485 6485 FAIL StorageEvent interface: attribute key assert_throws: getting property on prototype object must throw TypeError function "function () { 6486 6486 [native code] … … 6555 6555 PASS HTMLMarqueeElement interface object length 6556 6556 PASS HTMLMarqueeElement interface: existence and properties of interface prototype object 6557 FAIL HTMLMarqueeElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLMarqueeElement.prototype.constructor is not writable expected true got false 6557 PASS HTMLMarqueeElement interface: existence and properties of interface prototype object's "constructor" property 6558 6558 FAIL HTMLMarqueeElement interface: attribute behavior assert_throws: getting property on prototype object must throw TypeError function "function () { 6559 6559 [native code] … … 6655 6655 PASS HTMLFrameElement interface object length 6656 6656 PASS HTMLFrameElement interface: existence and properties of interface prototype object 6657 FAIL HTMLFrameElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLFrameElement.prototype.constructor is not writable expected true got false 6657 PASS HTMLFrameElement interface: existence and properties of interface prototype object's "constructor" property 6658 6658 FAIL HTMLFrameElement interface: attribute name assert_throws: getting property on prototype object must throw TypeError function "function () { 6659 6659 [native code] … … 6701 6701 PASS HTMLDirectoryElement interface object length 6702 6702 PASS HTMLDirectoryElement interface: existence and properties of interface prototype object 6703 FAIL HTMLDirectoryElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLDirectoryElement.prototype.constructor is not writable expected true got false 6703 PASS HTMLDirectoryElement interface: existence and properties of interface prototype object's "constructor" property 6704 6704 FAIL HTMLDirectoryElement interface: attribute compact assert_throws: getting property on prototype object must throw TypeError function "function () { 6705 6705 [native code] … … 6713 6713 PASS HTMLFontElement interface object length 6714 6714 PASS HTMLFontElement interface: existence and properties of interface prototype object 6715 FAIL HTMLFontElement interface: existence and properties of interface prototype object's "constructor" property assert_true: HTMLFontElement.prototype.constructor is not writable expected true got false 6715 PASS HTMLFontElement interface: existence and properties of interface prototype object's "constructor" property 6716 6716 FAIL HTMLFontElement interface: attribute color assert_throws: getting property on prototype object must throw TypeError function "function () { 6717 6717 [native code] -
trunk/Source/WebCore/ChangeLog
r190084 r190085 1 2015-09-21 Chris Dumez <cdumez@apple.com> 2 3 [JS Bindings] prototype.constructor should be writable 4 https://bugs.webkit.org/show_bug.cgi?id=149412 5 <rdar://problem/22545096> 6 7 Reviewed by Geoffrey Garen. 8 9 prototype.constructor should have the following properties: 10 { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } 11 12 as per the Web IDL specification: 13 https://heycam.github.io/webidl/#interface-prototype-object 14 15 In WebKit, it is currently not writable. It is writable in Firefox. 16 17 Test: fast/events/event-prototype-constructor-properties.html 18 19 * bindings/scripts/CodeGeneratorJS.pm: 20 (GenerateAttributesHashTable): 21 * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp: 22 * bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp: 23 * bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp: 24 * bindings/scripts/test/JS/JSTestEventConstructor.cpp: 25 * bindings/scripts/test/JS/JSTestEventTarget.cpp: 26 * bindings/scripts/test/JS/JSTestException.cpp: 27 * bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp: 28 * bindings/scripts/test/JS/JSTestInterface.cpp: 29 * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp: 30 * bindings/scripts/test/JS/JSTestNamedConstructor.cpp: 31 * bindings/scripts/test/JS/JSTestNode.cpp: 32 * bindings/scripts/test/JS/JSTestNondeterministic.cpp: 33 * bindings/scripts/test/JS/JSTestObj.cpp: 34 * bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp: 35 * bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp: 36 * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp: 37 * bindings/scripts/test/JS/JSTestTypedefs.cpp: 38 * bindings/scripts/test/JS/JSattribute.cpp: 39 * bindings/scripts/test/JS/JSreadonly.cpp: 40 1 41 2015-09-21 Antti Koivisto <antti@apple.com> 2 42 -
trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
r190036 r190085 1313 1313 } else { 1314 1314 push(@$hashValue2, "0"); 1315 push(@$hashSpecials, "DontEnum | ReadOnly");1315 push(@$hashSpecials, "DontEnum"); 1316 1316 } 1317 1317 } -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.cpp
r190028 r190085 101 101 static const HashTableValue JSTestActiveDOMObjectTableValues[] = 102 102 { 103 { "constructor", DontEnum | ReadOnly, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestActiveDOMObjectConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } },103 { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestActiveDOMObjectConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, 104 104 { "excitingAttr", DontDelete | ReadOnly | CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestActiveDOMObjectExcitingAttr), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, 105 105 }; -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomConstructorWithNoInterfaceObject.cpp
r190028 r190085 107 107 static const HashTableValue JSTestCustomConstructorWithNoInterfaceObjectPrototypeTableValues[] = 108 108 { 109 { "constructor", DontEnum | ReadOnly, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestCustomConstructorWithNoInterfaceObjectConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } },109 { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestCustomConstructorWithNoInterfaceObjectConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, 110 110 }; 111 111 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp
r190028 r190085 97 97 static const HashTableValue JSTestCustomNamedGetterTableValues[] = 98 98 { 99 { "constructor", DontEnum | ReadOnly, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestCustomNamedGetterConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } },99 { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestCustomNamedGetterConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, 100 100 }; 101 101 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.cpp
r190028 r190085 156 156 static const HashTableValue JSTestEventConstructorPrototypeTableValues[] = 157 157 { 158 { "constructor", DontEnum | ReadOnly, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestEventConstructorConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } },158 { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestEventConstructorConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, 159 159 { "attr1", DontDelete | ReadOnly | CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestEventConstructorAttr1), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, 160 160 { "attr2", DontDelete | ReadOnly | CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestEventConstructorAttr2), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.cpp
r190028 r190085 106 106 static const HashTableValue JSTestEventTargetTableValues[] = 107 107 { 108 { "constructor", DontEnum | ReadOnly, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestEventTargetConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } },108 { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestEventTargetConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, 109 109 }; 110 110 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.cpp
r190028 r190085 117 117 static const HashTableValue JSTestExceptionPrototypeTableValues[] = 118 118 { 119 { "constructor", DontEnum | ReadOnly, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestExceptionConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } },119 { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestExceptionConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, 120 120 }; 121 121 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp
r190028 r190085 100 100 static const HashTableValue JSTestGenerateIsReachablePrototypeTableValues[] = 101 101 { 102 { "constructor", DontEnum | ReadOnly, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestGenerateIsReachableConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } },102 { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestGenerateIsReachableConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, 103 103 }; 104 104 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp
r190036 r190085 318 318 static const HashTableValue JSTestInterfacePrototypeTableValues[] = 319 319 { 320 { "constructor", DontEnum | ReadOnly, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestInterfaceConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } },320 { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestInterfaceConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, 321 321 #if ENABLE(Condition22) || ENABLE(Condition23) 322 322 { "implementsStr1", DontDelete | ReadOnly | CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestInterfaceImplementsStr1), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp
r190028 r190085 107 107 static const HashTableValue JSTestMediaQueryListListenerPrototypeTableValues[] = 108 108 { 109 { "constructor", DontEnum | ReadOnly, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestMediaQueryListListenerConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } },109 { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestMediaQueryListListenerConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, 110 110 { "method", JSC::Function, NoIntrinsic, { (intptr_t)static_cast<NativeFunction>(jsTestMediaQueryListListenerPrototypeFunctionMethod), (intptr_t) (1) } }, 111 111 }; -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.cpp
r190028 r190085 173 173 static const HashTableValue JSTestNamedConstructorPrototypeTableValues[] = 174 174 { 175 { "constructor", DontEnum | ReadOnly, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestNamedConstructorConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } },175 { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestNamedConstructorConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, 176 176 }; 177 177 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNode.cpp
r190028 r190085 122 122 static const HashTableValue JSTestNodePrototypeTableValues[] = 123 123 { 124 { "constructor", DontEnum | ReadOnly, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestNodeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } },124 { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestNodeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, 125 125 { "name", DontDelete | CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestNodeName), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestNodeName) } }, 126 126 }; -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.cpp
r190028 r190085 123 123 static const HashTableValue JSTestNondeterministicPrototypeTableValues[] = 124 124 { 125 { "constructor", DontEnum | ReadOnly, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestNondeterministicConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } },125 { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestNondeterministicConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, 126 126 { "nondeterministicReadonlyAttr", DontDelete | ReadOnly | CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestNondeterministicNondeterministicReadonlyAttr), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, 127 127 { "nondeterministicWriteableAttr", DontDelete | CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestNondeterministicNondeterministicWriteableAttr), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestNondeterministicNondeterministicWriteableAttr) } }, -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp
r190036 r190085 507 507 static const HashTableValue JSTestObjPrototypeTableValues[] = 508 508 { 509 { "constructor", DontEnum | ReadOnly, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } },509 { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, 510 510 { "readOnlyLongAttr", DontDelete | ReadOnly | CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjReadOnlyLongAttr), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, 511 511 { "readOnlyStringAttr", DontDelete | ReadOnly | CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjReadOnlyStringAttr), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp
r190028 r190085 194 194 static const HashTableValue JSTestOverloadedConstructorsPrototypeTableValues[] = 195 195 { 196 { "constructor", DontEnum | ReadOnly, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestOverloadedConstructorsConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } },196 { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestOverloadedConstructorsConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, 197 197 }; 198 198 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverrideBuiltins.cpp
r190028 r190085 99 99 static const HashTableValue JSTestOverrideBuiltinsTableValues[] = 100 100 { 101 { "constructor", DontEnum | ReadOnly, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestOverrideBuiltinsConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } },101 { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestOverrideBuiltinsConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, 102 102 }; 103 103 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp
r190028 r190085 114 114 static const HashTableValue JSTestSerializedScriptValueInterfacePrototypeTableValues[] = 115 115 { 116 { "constructor", DontEnum | ReadOnly, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestSerializedScriptValueInterfaceConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } },116 { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestSerializedScriptValueInterfaceConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, 117 117 { "value", DontDelete | CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestSerializedScriptValueInterfaceValue), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestSerializedScriptValueInterfaceValue) } }, 118 118 { "readonlyValue", DontDelete | ReadOnly | CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestSerializedScriptValueInterfaceReadonlyValue), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp
r190028 r190085 186 186 static const HashTableValue JSTestTypedefsPrototypeTableValues[] = 187 187 { 188 { "constructor", DontEnum | ReadOnly, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestTypedefsConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } },188 { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestTypedefsConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, 189 189 { "unsignedLongLongAttr", DontDelete | CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestTypedefsUnsignedLongLongAttr), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestTypedefsUnsignedLongLongAttr) } }, 190 190 { "immutableSerializedScriptValue", DontDelete | CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestTypedefsImmutableSerializedScriptValue), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestTypedefsImmutableSerializedScriptValue) } }, -
trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.cpp
r190028 r190085 103 103 static const HashTableValue JSattributePrototypeTableValues[] = 104 104 { 105 { "constructor", DontEnum | ReadOnly, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsattributeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } },105 { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsattributeConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, 106 106 { "readonly", DontDelete | ReadOnly | CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsattributeReadonly), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, 107 107 }; -
trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.cpp
r190028 r190085 100 100 static const HashTableValue JSreadonlyPrototypeTableValues[] = 101 101 { 102 { "constructor", DontEnum | ReadOnly, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsreadonlyConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } },102 { "constructor", DontEnum, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsreadonlyConstructor), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } }, 103 103 }; 104 104
Note: See TracChangeset
for help on using the changeset viewer.