Changeset 53946 in webkit
- Timestamp:
- Jan 27, 2010 12:00:13 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r53942 r53946 1 2010-01-27 Mads Ager <ager@chromium.org> 2 3 Reviewed by Dimitri Glazkov. 4 5 [V8] Support getting integer-named properties using indexing notation on document object 6 https://bugs.webkit.org/show_bug.cgi?id=34211 7 8 * fast/dom/HTMLDocument/get-iframe-with-integer-name-expected.txt: Added. 9 * fast/dom/HTMLDocument/get-iframe-with-integer-name.html: Added. 10 1 11 2010-01-27 Kinuko Yasuda <kinuko@chromium.org> 2 12 -
trunk/WebCore/ChangeLog
r53945 r53946 1 2010-01-27 Mads Ager <ager@chromium.org> 2 3 Reviewed by Dimitri Glazkov. 4 5 [V8] Support getting integer-named properties using indexing notation on document object 6 https://bugs.webkit.org/show_bug.cgi?id=34211 7 8 Add indexed property getter to HTMLDocument to support getting 9 elements with integer names using indexing notation on document. 10 11 Test: fast/dom/HTMLDocument/get-iframe-with-integer-name.html 12 13 * bindings/scripts/CodeGeneratorV8.pm: 14 * bindings/v8/custom/V8HTMLDocumentCustom.cpp: 15 (WebCore::V8HTMLDocument::indexedPropertyGetter): 16 1 17 2010-01-27 Yury Semikhatsky <yurys@chromium.org> 2 18 -
trunk/WebCore/bindings/scripts/CodeGeneratorV8.pm
r53931 r53946 430 430 "Storage" => 1, 431 431 "HTMLAppletElement" => 1, 432 "HTMLDocument" => 1, 432 433 "HTMLEmbedElement" => 1, 433 434 "HTMLObjectElement" => 1 … … 1306 1307 if ($isSpecialCase) { 1307 1308 $hasGetter = 1; 1308 $hasCustomSetter = 1; 1309 if ($dataNode->extendedAttributes->{"DelegatingPutFunction"}) { 1310 $hasCustomSetter = 1; 1311 } 1309 1312 } 1310 1313 -
trunk/WebCore/bindings/v8/custom/V8HTMLDocumentCustom.cpp
r53271 r53946 100 100 } 101 101 102 v8::Handle<v8::Value> V8HTMLDocument::indexedPropertyGetter(uint32_t index, const v8::AccessorInfo &info) 103 { 104 INC_STATS("DOM.HTMLDocument.IndexedPropertyGetter"); 105 v8::Local<v8::Integer> indexV8 = v8::Integer::NewFromUnsigned(index); 106 return namedPropertyGetter(indexV8->ToString(), info); 107 } 108 102 109 // HTMLDocument ---------------------------------------------------------------- 103 110
Note: See TracChangeset
for help on using the changeset viewer.