<rdar://problem/
3870317> REGRESSION(125.9-125.11) broken behavior at test.profoundlearning.com - used to
* khtml/ecma/kjs_window.cpp:
(Window::get): Look up frame names before buitin window properties
to match other browsers. This regressed because we added a builtin
"toolbar" property but this site had a frame with that name.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8288
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2005-01-03 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by John and Kevin.
+
+ <rdar://problem/3870317> REGRESSION(125.9-125.11) broken behavior at test.profoundlearning.com - used to
+
+ * khtml/ecma/kjs_window.cpp:
+ (Window::get): Look up frame names before buitin window properties
+ to match other browsers. This regressed because we added a builtin
+ "toolbar" property but this site had a frame with that name.
+
2004-12-21 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
return Value(val);
}
+ // Check for child frames by name before built-in properties to
+ // match behavior of other browsers.
+ KHTMLPart *childFrame = m_part->childFrameNamed(p.ustring().qstring());
+ if (childFrame)
+ return retrieve(childFrame);
+
const HashEntry* entry = Lookup::findEntry(&WindowTable, p);
if (entry)
{