Revision 1215544

Go back to digest for 23rd January 2011

Bug Fixes in KDE Base

Maks Orlovich committed changes in /trunk/KDE/kdelibs/khtml:

Various fixes for the new twitter website:
1) The alleged DOM 0 DOMNode::item doesn't exist in Gecko and WebCore at least,
and it confuses the script loader (as we have NodeList-like .item, but not an
index [[Get]]). Remove it, but add one to HTMLSelectElement as that's legit
HTML5.

2) When document.domain is set to the present domain, we still want to call
setDomainFromDOM(), as it would set the 'script-set domain' bit moving the
origin into that namespace --- otherwise it will be inaccessible to other
things that opted in.

3) XMLHttpRequest should complete relative URLs in its own context, not the
dynamic one.

File Changes

Modified 6 files
  • /trunk/KDE/kdelibs/khtml
  •   /ecma/kjs_dom.cpp
  •   /ecma/kjs_dom.h
  •   /ecma/kjs_html.cpp
  •   /ecma/kjs_html.h
  •   /ecma/xmlhttprequest.cpp
  •   /xml/dom_docimpl.cpp
6 files changed in total