Changeset 92124 in webkit
- Timestamp:
- Aug 1, 2011, 5:25:53 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 11 edited
-
ChangeLog (modified) (1 diff)
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/dom/shadow/get-element-by-id-in-shadow-root-expected.txt (added)
-
LayoutTests/fast/dom/shadow/get-element-by-id-in-shadow-root.html (added)
-
LayoutTests/fast/dom/shadow/resources (added)
-
LayoutTests/fast/dom/shadow/resources/create-dom.js (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/WebCore.exp.in (modified) (1 diff)
-
Source/WebCore/testing/Internals.cpp (modified) (1 diff)
-
Source/WebCore/testing/Internals.h (modified) (1 diff)
-
Source/WebCore/testing/Internals.idl (modified) (1 diff)
-
Source/WebKit2/ChangeLog (modified) (1 diff)
-
Source/WebKit2/win/WebKit2.def (modified) (1 diff)
-
Source/WebKit2/win/WebKit2CFLite.def (modified) (1 diff)
-
Source/autotools/symbols.filter (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r92123 r92124 1 2011-08-01 Hayato Ito <hayato@chromium.org> 2 3 Add support for getting an element in shadow root by its id into a window.internals object. 4 https://bugs.webkit.org/show_bug.cgi?id=64587 5 6 Reviewed by Hajime Morita. 7 8 * Source/autotools/symbols.filter: 9 1 10 2011-08-01 Neil Roberts <neil@linux.intel.com> 2 11 -
trunk/LayoutTests/ChangeLog
r92122 r92124 1 2011-08-01 Hayato Ito <hayato@chromium.org> 2 3 Add support for getting an element in shadow root by its id into a window.internals object. 4 https://bugs.webkit.org/show_bug.cgi?id=64587 5 6 Reviewed by Hajime Morita. 7 8 * fast/dom/shadow/get-element-by-id-in-shadow-root-expected.txt: Added. 9 * fast/dom/shadow/get-element-by-id-in-shadow-root.html: Added. 10 * fast/dom/shadow/resources/create-dom.js: Added. 11 (createShadow): 12 (createDom): 13 1 14 2011-08-01 Yury Semikhatsky <yurys@chromium.org> 2 15 -
trunk/Source/WebCore/ChangeLog
r92122 r92124 1 2011-08-01 Hayato Ito <hayato@chromium.org> 2 3 Add support for getting an element in shadow root by its id into a window.internals object. 4 https://bugs.webkit.org/show_bug.cgi?id=64587 5 6 Reviewed by Hajime Morita. 7 8 Test: fast/dom/shadow/get-element-by-id-in-shadow-root.html 9 10 * WebCore.exp.in: 11 * testing/Internals.cpp: 12 (WebCore::Internals::getElementByIdInShadowRoot): 13 * testing/Internals.h: 14 * testing/Internals.idl: 15 16 2011-07-15 Hayato Ito <hayato@chromium.org> 17 18 Add support for retrieving an element in TreeScope by id to window.internals object. 19 https://bugs.webkit.org/show_bug.cgi?id=64587 20 21 Reviewed by Hajime Morita. 22 23 Test: fast/dom/shadow/get-element-by-id-in-shadow.html 24 25 * WebCore.exp.in: 26 * testing/Internals.cpp: 27 (WebCore::Internals::getElementByIdInTreeScope): 28 * testing/Internals.h: 29 * testing/Internals.idl: 30 1 31 2011-08-01 Yury Semikhatsky <yurys@chromium.org> 2 32 -
trunk/Source/WebCore/WebCore.exp.in
r92059 r92124 1343 1343 __ZNK7WebCore9PageCache10frameCountEv 1344 1344 __ZNK7WebCore9PageCache21autoreleasedPageCountEv 1345 __ZNK7WebCore9TreeScope14getElementByIdERKN3WTF12AtomicStringE 1345 1346 __ZTVN7WebCore12ChromeClientE 1346 1347 __ZTVN7WebCore12JSDOMWrapperE -
trunk/Source/WebCore/testing/Internals.cpp
r92059 r92124 71 71 72 72 return ShadowContentElement::create(document); 73 } 74 75 Element* Internals::getElementByIdInShadowRoot(Node* shadowRoot, const String& id, ExceptionCode& ec) 76 { 77 if (!shadowRoot || !shadowRoot->isShadowRoot()) { 78 ec = INVALID_ACCESS_ERR; 79 return 0; 80 } 81 return toShadowRoot(shadowRoot)->getElementById(id); 73 82 } 74 83 -
trunk/Source/WebCore/testing/Internals.h
r92059 r92124 55 55 String shadowPseudoId(Element*, ExceptionCode&); 56 56 PassRefPtr<Element> createShadowContentElement(Document*, ExceptionCode&); 57 Element* getElementByIdInShadowRoot(Node* shadowRoot, const String& id, ExceptionCode&); 57 58 58 59 #if ENABLE(INSPECTOR) -
trunk/Source/WebCore/testing/Internals.idl
r92059 r92124 37 37 DOMString shadowPseudoId(in Element element) raises (DOMException); 38 38 Element createShadowContentElement(in Document document) raises(DOMException); 39 Element getElementByIdInShadowRoot(in Node shadowRoot, in DOMString id) raises(DOMException); 39 40 40 41 void setInspectorResourcesDataSizeLimits(in Document document, in long maximumResourcesContentSize, in long maximumSingleResourceContentSize) raises(DOMException); -
trunk/Source/WebKit2/ChangeLog
r92113 r92124 1 2011-08-01 Hayato Ito <hayato@chromium.org> 2 3 Add support for getting an element in shadow root by its id into a window.internals object. 4 https://bugs.webkit.org/show_bug.cgi?id=64587 5 6 Reviewed by Hajime Morita. 7 8 * win/WebKit2.def: 9 * win/WebKit2CFLite.def: 10 1 11 2011-08-01 Sheriff Bot <webkit.review.bot@gmail.com> 2 12 -
trunk/Source/WebKit2/win/WebKit2.def
r92070 r92124 152 152 ?externalRepresentation@WebCore@@YA?AVString@WTF@@PAVElement@1@I@Z 153 153 ?getCachedDOMStructure@WebCore@@YAPAVStructure@JSC@@PAVJSDOMGlobalObject@1@PBUClassInfo@3@@Z 154 ?getElementById@TreeScope@WebCore@@QBEPAVElement@2@ABVAtomicString@WTF@@@Z 154 155 ?isPreloaded@CachedResourceLoader@WebCore@@QBE_NABVString@WTF@@@Z 155 156 ?jsStringSlowCase@WebCore@@YA?AVJSValue@JSC@@PAVExecState@3@AAV?$HashMap@PAVStringImpl@WTF@@V?$Weak@VJSString@JSC@@@JSC@@UStringHash@2@U?$HashTraits@PAVStringImpl@WTF@@@2@U?$HashTraits@V?$Weak@VJSString@JSC@@@JSC@@@2@@WTF@@PAVStringImpl@6@@Z -
trunk/Source/WebKit2/win/WebKit2CFLite.def
r92079 r92124 144 144 ?externalRepresentation@WebCore@@YA?AVString@WTF@@PAVElement@1@I@Z 145 145 ?getCachedDOMStructure@WebCore@@YAPAVStructure@JSC@@PAVJSDOMGlobalObject@1@PBUClassInfo@3@@Z 146 ?getElementById@TreeScope@WebCore@@QBEPAVElement@2@ABVAtomicString@WTF@@@Z 146 147 ?isPreloaded@CachedResourceLoader@WebCore@@QBE_NABVString@WTF@@@Z 147 148 ?toJS@WebCore@@YA?AVJSValue@JSC@@PAVExecState@3@PAVJSDOMGlobalObject@1@PAVClientRect@1@@Z -
trunk/Source/autotools/symbols.filter
r92081 r92124 61 61 _ZNK7WebCore7Element10shadowRootEv; 62 62 _ZNK7WebCore8Document4pageEv; 63 _ZNK7WebCore9TreeScope14getElementByIdERKN3WTF12AtomicStringE; 63 64 local: 64 65 _Z*;
Note:
See TracChangeset
for help on using the changeset viewer.