Changeset 20972 in webkit
- Timestamp:
- Apr 20, 2007, 2:52:14 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r20963 r20972 1 2007-04-20 Darin Adler <darin@apple.com> 2 3 Reviewed by Geoff Garen and John Sullivan. 4 5 - test changes for <rdar://problem/4671964> document property on <iframe> elements causes problems for SAP application 6 7 * fast/dom/iframe-document-expected.txt: Added. 8 * fast/dom/iframe-document.html: Added. 9 10 * fast/dom/attr_dead_doc.html: Changed to use contentDocument instead of relying on the document property 11 on HTMLIFrameElement. 12 * fast/events/mouseover-mouseout.html: Ditto. 13 * fast/frames/repaint-display-none-crash.html: Ditto. 14 1 15 2007-04-19 Mitz Pettel <mitz@webkit.org> 2 16 -
trunk/LayoutTests/fast/dom/attr_dead_doc.html
r12587 r20972 4 4 var im; 5 5 function getImg() { 6 im = document.getElementById("right"). document.getElementById("img");6 im = document.getElementById("right").contentDocument.getElementById("img"); 7 7 } 8 8 function setImg() { -
trunk/LayoutTests/fast/events/mouseover-mouseout.html
r13402 r20972 46 46 onMouseOver=" 47 47 logMouseEvent(event); 48 newDoc = document.getElementById('invisible_frame').document; 49 if (!newDoc) 50 newDoc = document.getElementById('invisible_frame').contentDocument; 48 newDoc = document.getElementById('invisible_frame').contentDocument; 51 49 try { 52 50 newDoc.adoptNode(document.getElementById('t3_1')); … … 64 62 onMouseOver=" 65 63 logMouseEvent(event); 66 newDoc = document.getElementById('invisible_frame').document; 67 if (!newDoc) 68 newDoc = document.getElementById('invisible_frame').contentDocument; 64 newDoc = document.getElementById('invisible_frame').contentDocument; 69 65 try { 70 66 newDoc.documentElement.appendChild(newDoc.adoptNode(document.getElementById('t4_1'))); -
trunk/LayoutTests/fast/frames/repaint-display-none-crash.html
r15402 r20972 11 11 t.style.display='none'; 12 12 t.src='about:blank'; 13 t. document.body.offsetTop;13 t.contentDocument.body.offsetTop; 14 14 if (window.layoutTestController) { 15 15 layoutTestController.notifyDone(); -
trunk/WebCore/ChangeLog
r20968 r20972 1 2007-04-20 Darin Adler <darin@apple.com> 2 3 Reviewed by Geoff Garen and John Sullivan. 4 5 - fix <rdar://problem/4671964> document property on <iframe> elements causes problems for SAP application 6 7 Test: fast/dom/iframe-document.html 8 9 * bindings/js/kjs_html.h: Removed IFrameDocument. 10 * bindings/js/kjs_html.cpp: (KJS::JSHTMLElement::iFrameGetter): Ditto. 11 1 12 2007-04-19 Alp Toker <alp@atoker.com> 2 13 -
trunk/WebCore/bindings/js/kjs_html.cpp
r20921 r20972 647 647 contentDocument KJS::JSHTMLElement::IFrameContentDocument DontDelete|ReadOnly 648 648 contentWindow KJS::JSHTMLElement::IFrameContentWindow DontDelete|ReadOnly 649 document KJS::JSHTMLElement::IFrameDocument DontDelete|ReadOnly650 649 frameBorder KJS::JSHTMLElement::IFrameFrameBorder DontDelete 651 650 height KJS::JSHTMLElement::IFrameHeight DontDelete … … 953 952 case IFrameAlign: return jsString(iFrame.align()); 954 953 // ### security check ? 955 case IFrameDocument: // non-standard, mapped to contentDocument956 954 case IFrameContentDocument: return checkNodeSecurity(exec,iFrame.contentDocument()) ? 957 955 toJS(exec, iFrame.contentDocument()) : jsUndefined(); -
trunk/WebCore/bindings/js/kjs_html.h
r19024 r20972 143 143 FrameSetRows, FrameSrc, FrameLocation, FrameFrameBorder, FrameScrolling, 144 144 FrameMarginWidth, FrameLongDesc, FrameMarginHeight, FrameName, FrameContentDocument, FrameContentWindow, 145 FrameNoResize, FrameWidth, FrameHeight, IFrameLongDesc, IFrame Document, IFrameAlign,145 FrameNoResize, FrameWidth, FrameHeight, IFrameLongDesc, IFrameAlign, 146 146 IFrameFrameBorder, IFrameSrc, IFrameName, IFrameHeight, 147 147 IFrameMarginHeight, IFrameMarginWidth, IFrameScrolling, IFrameWidth, IFrameContentDocument, IFrameContentWindow,
Note:
See TracChangeset
for help on using the changeset viewer.