| Type |
Changes |
By |
 |
Upgrade NekoHtml to 1.9.7. |
asashour
|
 |
Deprecate DomNode non-DOM methods, i.e. getLastDomChild(), getParentDomNode(), getPreviousSibling(),
getNextDomSibling(), getFirstDomChild() and cloneDomNode(). |
asashour
|
 |
Deprecate HtmlUnitXPath. |
asashour
|
 |
DomNode: asXml() uses charset from HtmlPage.getPageEncoding(). |
asashour
|
 |
Upgrade Jetty to 6.1.9. |
asashour
|
 |
Upgrade Commons Lang to 2.4. |
asashour
|
 |
Deprecate popFirstWindow and pushClearFirstWindow on WebClient. |
mguillem
|
 |
Add element.offsetParent to FF emulation mode. |
sdanig
|
 |
Upgrade CSS Parser to 0.9.5. |
sdanig
|
 |
Add initial support for data protocol (Firefox only). |
mguillem
|
 |
Fix element.clientWidth, clientHeight, offsetTop, offsetLeft and offsetParent to reflect CSS configuration. |
sdanig
|
 |
In BoxObject, add attributes element, firs
tChild, lastChild, nextSibling, previousSibling, x, y, width and height. |
sdanig
|
 |
Fix element.offsetWidth and element.offsetHeight to include padding. |
sdanig
|
 |
Add DomNode.getCanonicalXPath(). |
asashour
|
 |
Deprecate HtmlPage.moveFocusToElement() and getElementWithFocus(),
use setFocusedElement() and getFocusedElement(). |
asashour
|
 |
Meta Refresh: case-insensitive URL (#1924784). Thanks to Dmitri Zoubkov. |
asashour
|
 |
Upgrade Rhino to 1.7R1. |
asashour
|
 |
JavaScript: add support for XMLElement.getElementsByTagNameNS() (FF only). |
asashour
|
 |
JavaScript: add support for input.setSelectionRange() (FF only). |
asashour
|
 |
HtmlSelect: if any HtmlOption is selected, focus is moved to HtmlSelect. |
asashour
|
 |
JavaScript: add support for 'onfocusin' and 'onfocusout' (IE only). |
asashour
|
 |
JavaScript: CSSStyleSheet added support for ownerNode (FF) and owningElement (IE). |
mguillem
|
 |
JavaScript: allow direct access to nodes per id/name when simulating Firefox too. |
mguillem
|
 |
JavaScript: fixed various issues with Node methods appendChild, insertBefore and replaceChild
when involved nodes don't belong to th
e same document. |
mguillem
|
 |
HtmlPage.asXml(): place scripts in CDATA sections with comments. |
mguillem
|
 |
JavaScript: fix window.location.hash so it always starts with '#'. |
asashour
|
 |
Upgrade Jetty to 6.1.8, Commons IO to 1.4 and FileUpload to 1.2.1. |
asashour
|
 |
INCOMPATIBLE CHANGE: Remove KeyValuePair, and hide HtmlForm.getParameterListForSubmit() and .getSubmittableElements(),
they shouldn't be directly called by users. |
asashour
|
 |
JavaScript: return undefined for out of bound element access on HtmlFormElement. |
mguillem
|
 |
JavaScript: custom RegExp proxy now accepts unescaped curly braces. |
mguillem
|
 |
JavaScript: ComputedCSSStyleDeclaration.getPropertyValue returns the same value as direct property access. |
mguillem
|
 |
JavaScript: add support for HtmlElement.textContent (FF only). |
mguillem
|
 |
Remove Jaxen dependency. |
asashour
|
 |
Remove deprecated methods in HtmlPage: assertAllIdAttributesUnique(), assertAllAccessKeyAttributesUnique(),
assertAllTabIndexAttributesSet() (use corresponding methods in WebAssert instead). |
sdanig
|
 |
Remove deprecated WebRequestSettings.setCookiePolicy() and getCookiePolicy(). |
sdanig
|
 |
JavaScript: element.currentStyle returns calculated (rather than static) style (IE only). |
sdanig
|
 |
Add method Cache.clear(). |
sdanig
|
 |
JavaScript: added support for (undocumented) method CollectGarbage (IE only). |
mguillem
|
 |
DomNode.getByXPath(): when called with a string starting with slash, evaluation is relative
to the root element, not to the DomNode. You can add initial dot. |
asashour
|
 |
Add Xalan 2.7.0 as dependency. |
asashour
|
 |
JavaScript: fixed IndexOutOfBoundsException in processing of IE @elif pre processor instruction. |
mguillem
|
 |
JavaScript: instanceof now works correctly with html elements (FF only). |
mguillem
|
 |
JavaScript: property ownerDocument now defined on node. |
mguillem
|
 |
JavaScript: ignore calls to document.open() during page parsing. |
sdanig
|
 |
JavaScript: calling document.write() after a page has finished parsing results in overwriting the entire page. |
sdanig
|
 |
Handle script elements with src attributes containing "javascript:..." URLs. |
sdanig
|
 |
Correct the order of script element execution, deferred script element execution, script ready state changes,
deferred script ready state changes, and onload handlers. |
sdanig
|
 |
JavaScript: add support for document.fireEvent (IE only) and document.onXXX event handlers (elements
already had these). |
sdanig
|
 |
Don't reload page from server if window.location.hash is modified. |
sdanig
|
 |
JavaScript: HTMLCollection.item and namedItem return null when element is not found. |
mguillem
|
 |
JavaScript: avoid detection of document.all when simulating FF (property still available). |
mguillem
|
 |
XPath: case-insensitive match for attribute names. |
asashour
|
 |
Add temporary body element when one is missing and document.write() is called. |
sdanig
|
 |
Add implicit body element when one is missing and there is no content to trigger addition by NekoHTML. |
sdanig
|
 |
When document is missing a body element, document.body returns null instead of undefined. |
sdanig
|
 |
Execute JavaScript when a script element's src attribute is set (always when emulating IE,
only sometimes when emulating FF). |
sdanig
|
 |
Add test-scoped dependency on slf4j, in order to trigger correct logging in Jetty during the unit tests. |
sdanig
|
 |
JavaScript: add support for document.importNode() (FF only). |
asashour
|
 |
Upgrade Jetty to 6.1.7 and JCL t
o 1.1.1. |
sdanig
|
 |
Fixed incorrect processing of multiple conditional compilation flags (IE only). |
mguillem
|
 |
JavaScript: add empty implementation of HTMLElement.clientWidth and .clientHeight. |
asashour
|
 |
JavaScript: remove style attribute if it is empty. |
asashour
|
 |
Add support of having XML inside Html (IE only). |
asashour
|
 |
INCOMPATIBLE CHANGE: Rename UnknownHtmlElement to HtmlUnknownElement. |
asashour
|
 |
Beautify asXml() by removing unnecessary blanks. |
asashour
|
 |
XmlPage: fix asText() and asXml(). |
asashour
|
 |
JavaScript: add basic support for document.queryCommandSupported and document.execCommand. |
mguillem
|
 |
XmlPage: correct XPath handling (#1883395). |
asashour
|
 |
Fixed User-Agent header for IE6. |
mguillem
|
 |
JavaScript: changed simulated screen dimensions to 1024x768 (was 800x600). |
mguillem
|
 |
JavaScript: add basic support for all missing style attributes. |
asashour
|
 |
JavaScript: Node.replaceChild() correctly processes DocumentFragment. |
asashour
|
 |
JavaScript: XMLHttpReque
st should not call onreadystatechange handler if sync (FF only). |
asashour
|
 |
JavaScript: add support for Range.createContextualFragment (FF only). |
asashour
|
 |
JavaScript:
__proto__
is only defined for Firefox. |
asashour
|
 |
Handle line comments in multiline onXxxx events handlers declarations. |
mguillem
|
 |
Upgraded nekohtml to version 1.9.6.1 |
mguillem
|
 |
INCOMPATIBLE CHANGE: Change html package to implement W3C DOM API interfaces, though
most methods are not yet implemented. Remove deprecated methods. Fix DomCData
derivation to be from DomText. Rename getAttributes methods that conflict with
W3C DOM API return type. (#1747878). |
dktaylor
|
 |
INCOMPATIBLE CHANGE: Rename HtmlHeader1 (to HtmlHeader6) to corresponding HtmlHeading1 (to HtmlHeading6). |
asashour
|
 |
INCOMPATIBLE CHANGE: Rename HtmlTextDirection to the correct name (HtmlDirectory). |
asashour
|
 |
JavaScript: XMLHttpRequest should not throw an exception when send() is called without args (for FF)
and when send content is specified but method is GET. |
mguillem
|
 |
JavaScript: correct toString() for properties in 'window' scope (FF only). |
asashour
|
 |
JavaScript: detect encoding from XML d
eclaration (#1876545). |
asashour
|
 |
JavaScript: HTMLAnchor href attribute should be reachable even if the URL is malformed. |
mguillem
|
 |
JavaScript: add support for XMLElement.getAttributeNode() (#1874624). Thanks to Sudhan Moghe. |
asashour
|
 |
JavaScript: document.cookie separates cookies with '; ' and not ';'. |
mguillem
|
 |
Fixed ClassCastException occurring when a non HTML page is loaded with Firefox simulation (regression in 1.14). |
mguillem
|
 |
Remove Assert, use WebAssert instead. |
asashour
|
 |
Upgrade JUnit to 4.4. |
asashour
|
 |
JavaScript: Add support for HTMLHtmlElement. |
asashour
|
 |
HtmlForm: Remove deprecated .getRadioButtonInput() and .setCheckedRadioButton(). |
asashour
|
 |
Remove deprecated HtmlForm.fakeCheckedRadioButton() and HtmlSelect.fakeSelectedAttribute(). |
asashour
|
 |
JavaScript: Add support for XPathResult.iterateNext() (FF only). |
asashour
|
 |
Remove deprecated HtmlElement.MapEntryWrappingIterator. |
asashour
|
 |
Deprecate HtmlElement.getAttributeEntriesIterator(), use .getAttributes() instead. |
asashour
|
 |
JavaScript: HTMLCollection should
not have 'tags' property in Firefox
(except for
document.all
). |
asashour
|
 |
HtmlTextInput and HtmlTextArea: Add support for select(), and fix tabIndex JavaScript property. |
asashour
|
 |
Add initial support for document.selection.createRange() (IE only). |
asashour
|
 |
Remove deprecated constants in BrowserVersion, in addition to HtmlForm.submit(). |
asashour
|
 |
Deprecate DomNode.getChildIterator(), use getChildren() instead. |
asashour
|
 |
INCOMPATIBLE CHANGE: DomNode.getAllHtmlChildElements() returns Iterable instead of Iterator. |
asashour
|
 |
DomNode: remove unused EventHandler, and deprecated PropertyChange methods. |
asashour
|
 |
Deprecate HtmlElement.getChildElementsIterator(), use getChildElements() instead. |
asashour
|
 |
JavaScript: add support for input.selectionStart, input.selectionEnd, and input.textLength. |
asashour
|
 |
Remove deprecated DomNode.XXXX_NODE, use org.w3c.dom.Node instead. |
asashour
|
 |
Remove the public (deprecated) constructor of HtmlElement and its subclasses. |
asashour
|
| Type |
Changes |
By |
 |
JavaScript: all
ow script node's onreadystatechange handler to be set to null. |
mguillem
|
 |
Don't escape '+' in URL path. Thanks to David Bylsma. |
mguillem
|
 |
JavaScript: add support for 'Node' prototype. |
mguillem
|
 |
JavaScript: add support for window.resizeBy. |
mguillem
|
 |
JavaScript: StyleSheetList correctly loads CSS content (FF only). |
asashour
|
 |
Correctly handle URLs with path starting with double slash. |
mguillem
|
 |
JavaScript: add configurable support for supported plugins and mime types (FF only).
Per default a Shockwave Flash plugin is "configured" for Firefox 2. |
mguillem
|
 |
JavaScript: XMLHttpRequest.responseXML.getElementById should always return null (#1854975). |
asashour
|
 |
JavaScript: add support for "for (i in collection)" (#1862054). |
asashour
|
 |
JavaScript: XSLT support (ActiveXObject 'Msxml2.XSLTemplate') (IE only). |
asashour
|
 |
XPath: is now namespace aware for XmlElements. |
asashour
|
 |
JavaScript: add initial support for XPathResult, and XSLTProcessor (FF only). |
asashour
|
 |
JavaScript: activate document.all for Firefox too. |
mguillem
|
 |
Add DomElement with its JavaScript 'Element' prototype. |
asashour
|
 |
XPath: DomCharacterData is treated as text node. |
asashour
|
 |
XMLDocument: add support for .parseError property (IE only), createElement(), createNSResolver() (FF only),
evaluate() (FF only), and 'xml:space' attribute (IE only). |
asashour
|
 |
XMLPage handles qualified tag names. |
asashour
|
 |
JavaScript: added 'HTMLEvents' to the event types supported by document.createEvent (Firefox). |
mguillem
|
 |
JavaScript: use custom JDK based regular expression evaluation for String.match
to avoid Rhino problems (speed and wrong evaluation). |
mguillem
|
 |
HtmlTextInput and HtmlPasswordInput: type('\n') submits the enclosing form. |
asashour
|
 |
<
frame
>
and
<
iframe
>
should trim values in 'src' attribute. |
asashour
|
 |
JavaScript: element.dispatchEvent() exactly behaves as calling ClickableElement.click() and .dblClick()
and returns correct value (based on event.preventDefault()) (#1813007). |
asashour
|
 |
JavaScript: add initial support for event.preventDefault() (anchor, checkbox, text input, textarea, others to follow) (#1813007). |
asashour
|
 |
HtmlTextInput: type() appends text to the value. |
asashour
|
 |
JavaScript: cache parsed JavaScript responses. |
mguillem
|
 |
JavaScript [internal
]
: removed ScriptEngine, use JavaScriptEngine directly. |
mguillem
|
 |
XMLPage: add support for comment node. |
asashour
|
 |
Deprecate FocusableElement. |
asashour
|
 |
JavaScript: add support for label.htmlFor (#1835550). |
asashour
|
 |
JavaScript: fix removeChild() for XML elements (#1836922). |
asashour
|
 |
JavaScript: Add style.borderBottom[Color,Style,Width
]
, .borderLeft[Color,Style,Width
]
, .borderRight[Color,Style,Width
]
,
and .borderTop[Color,Style,Width
]
(#1835836). |
asashour
|
 |
Parse CSS files and use the result in window.getComputedStyle(), as well as providing accurate
values for document.styleSheets.length. All CSS file downloading and parsing occurs lazily.
NOTE: Adds a dependency on cssparser 0.9.4. |
sdanig
|
 |
JavaScript: Tolerate empty string for DOMParser.parseFromString() (FF only),
and ActiveXObject('Microsoft.XMLDOM').loadXML() (IE only) (#1835090). |
asashour
|
 |
JavaScript:
<
iframe
>
src is now correctly handled via setAttribute() (#1828914). |
asashour
|
 |
JavaScript: add support for getAttributeNS and setAttributeNS on node (Firefox). |
mguillem
|
 |
JavaScript: don't encode xml special characters for innerHTML property on script nodes. |
mguillem
|
 |
Ignore
<
script
>
src that starts with "javascript:". |
asashour
|
 |
Handle file URLs with query portions (file://my/path?a=b) and ref portions (file://my/path#ref) without breaking. |
sdanig
|
 |
Fixed possible ConcurrentModificationException and dead lock with HtmlAttributeChangeListener and DomChangeListener. |
mguillem
|
 |
Add support for deferred script elements (IE only). |
sdanig
|
 |
Avoid leaving the DOM in an inconsistent state when DomNode.replace(DomNode) is called and the
target node is used as the parameter. |
sdanig
|
 |
JavaScript: delegate select.options.xxx property modifications to the parent select element
(property accesses were already being delegated correctly; IE only). |
sdanig
|
 |
Add basic support for document.getBoxObjectFor() (FF only) (#1815602). Thanks to Sam Hough. |
asashour
|
 |
HtmlTextArea.asXml() now preserves content and expands empty tag to make generated xml interpretable as html by browsers. |
mguillem
|
 |
Add WebAssert utility class for domain-specific assertions.
INCOMPATIBLE CHANGE: Deprecate assertion methods in HtmlPage in favor of using
WebAssert. The exceptions thrown are now java.lang classes
instead of junit classes,
though they still function as before. |
sdanig
|
 |
HtmlForm: on submitting a form without parameters, URL should not end with a question mark (IE7 only). |
asashour
|
 |
JavaScript: getElementsByTagName now returns empty collection when called with 'incorrect' name. |
mguillem
|
 |
JavaScript: add support for hasAttribute and hasAttributeNS on node (Firefox),
getNamedItem on NamedNodeMap. |
mguillem
|
 |
Add a popup blocker (WebClient.setPopupBlockerEnabled(boolean)). |
sdanig
|
 |
Use browser-compatibility cookie handling by default, deprecate unnecessary
cookie settings in WebRequestSettings, ensure cookie policy used during HTTP
communication matches the cookie policy used by the document.cookie attribute,
use a single cookie header during HTTP communication. |
sdanig
|
 |
HtmlFileInput: add support for non-ASCII name of uploaded files (#1818569). |
asashour
|
 |
JavaScript: accept ECMA reserved keywords like 'float' as normal identifier. |
mguillem
|
 |
JavaScript: added support for DOMContentLoaded event (Firefox). Thanks to Sam Hough. |
mguillem
|
 |
Add possibility to configure the mime type used when uploading a file. |
mguillem
|
 |
JavaScript: add support for the htmlElement.attributes collectio
n. |
sdanig
|
 |
Add WebClient.setUseInsecureSSL(boolean): forces the client to trust all
hosts, regardless of their certificates. Makes it easy to work
around servers with expired or misconfigured certificates. |
sdanig
|
 |
JavaScript: make focus and blur available on HtmlElement. Thanks to Sam Hough. |
mguillem
|
 |
Don't use custom RetryHandler anymore to allow standard retry when server drops the connection
which caused NoHttpResponseException.
(see http://jakarta.apache.org/httpcomponents/httpclient-3.x/exception-handling.html). |
mguillem
|
 |
Make the loading of external .js files referenced via script tags
listen to WebClient.getPrintContentOnFailingStatusCode() and
WebClient.isThrowExceptionOnFailingStatusCode(). |
sdanig
|
 |
Add support for CDATA sections of xml documents. |
mguillem
|
 |
Add facility method DomNode.getFirstByXPath(xpathExpr). |
mguillem
|
 |
JavaScript exceptions: line number information now relative to the page. |
mguillem
|
 |
Add HtmlPage.executeJavaScript to inject JavaScript code in a page. |
mguillem
|
 |
JavaScript: add support for element.dispatchEvent(event) (Firefox only). |
sdanig
|
 |
Cache JS server responses to avoid useless requests (script caching will come l
ater). |
mguillem
|
 |
Don't load the originally specified source of a frame, when its location has already been changed by JavaScript. |
mguillem
|
 |
Add primitive support for document.styleSheets (#1805817). |
asashour
|
 |
Add support of setExpression and removeExpression for element and style (#1809522). |
asashour
|
 |
Update window.frames so it does not throw ClassCastException (#1802836). |
asashour
|
 |
JavaScript: document.all('notExistingElement') now returns null as IE does. |
mguillem
|
 |
Fix loading content containing 'Content-Type' header with quoted charset (#1797235). |
asashour
|
 |
Upgrade Jetty to 6.1.5. |
asashour
|
 |
JavaScript: XMLDocument should not ignore descendants non-empty DomText in IE. |
asashour
|
 |
JavaScript: loadXML() supports relative URLs in ActiveXObjects: 'Microsoft.XmlDom' and 'MSXML.DOMDocument' (IE only). |
asashour
|
 |
Add basic support for attributes of XML elements. |
asashour
|
 |
Added FalsifyingWebConnection, a WebConnection wrapper that provides facility methods to
provide other content than the "real" one. |
mguillem
|
 |
JavaScript: added backgro
undImage to allowed style properties. |
mguillem
|
 |
JavaScript: added Document.createRange() and basic support for Range (Firefox only). |
mguillem
|
 |
JavaScript: add selectNodes() and selectSingleNode() (IE only), getElementsByTagName()
and .tagName property for XML elements. |
asashour
|
 |
JavaScript: add basic support of setProperty() function and .preserveWhiteSpace property for
ActiveXObjects: 'Microsoft.XmlDom' and 'MSXML.DOMDocument' (IE only). |
asashour
|
 |
DomNode.getByXPath() with 'id()' function should return empty list instead of throwing an exception (#1790308). |
asashour
|
 |
WebClient.loadWebResponse should not be final. |
mguillem
|
 |
JavaScript: add UIEvent.initUIEvent() (FF only). |
sdanig
|
 |
Allow HTTP methods DELETE, HEAD, OPTIONS, PUT and TRACE (in WebClient.getPage(WebRequestSettings) and in XMLHttpRequest). |
mguillem
|
 |
JavaScript: add XMLSerializer (FF), and .xml property for ActiveXObjects: 'Microsoft.XmlDom' and
'MSXML.DOMDocument' (IE). |
asashour
|
 |
JavaScript: add DOMParser, with implementation of parseFromString() (FF only). |
asashour
|
 |
JavaScript: add loadXML() and selectNodes() for ActiveXObjects: 'Microsoft.XmlDom' and 'MSXML.DOMDocument' (IE only). |
asashour
|
 |
JavaScript: ignore text nodes of loaded XML by ActiveXObjects: 'Microsoft.XmlDom' and
'MSXML.DOMDocument' (IE). |
asashour
|
 |
Move getWebClient() from HtmlPage to SgmlPage. |
asashour
|
 |
JavaScript: correctly handle 'documentElement' property for
'document.implementation.createDocument()' (FF),
and ActiveXObjects: 'Microsoft.XmlDom' and 'MSXML.DOMDocument' (IE). |
asashour
|
 |
JavaScript: add load() and getElementsByTagName() for 'document.implementation.createDocument()' (FF), and
ActiveXObjects: 'Microsoft.XmlDom' and 'MSXML.DOMDocument' (IE). |
asashour
|
 |
JavaScript: add support for function element.fireEvent() (IE only). Thanks to Rob Di Marco. |
sdanig
|
 |
JavaScript: add support for function mouseEvent.initMouseEvent() (FF only). Thanks to Rob Di Marco. |
sdanig
|
 |
ActiveXObject (XmlHttp): should not be created by case-sensitive string. (#1784330). Thanks to Dan Fabulich. |
asashour
|
 |
Add support for keypress and keyup events (keydown is already supported). Deprecate HtmlElement.keyDown()
methods in favor of HtmlElement.type() methods which simulate user typing rather than a single event type. |
sdanig
|
 |
Add SgmlPage: moving towards having fully fledged XmlPage. |
asashour
|
 |
Regular Expressions: allow 'undefined' pattern, and tolerate improper patterns (
trigger warning). |
asashour
|
 |
Upgrade Rhino to 1.6R7. |
asashour
|
 |
JavaScript: add support for function event.initEvent() (FF only). Thanks to Rob Di Marco. |
sdanig
|
 |
Fix document.createEvent() and document.createEventObject(): set event prototypes correctly. |
sdanig
|
 |
JavaScript: add 'async' property for 'document.implementation.createDocument()' (FF), and
ActiveXObjects: 'Microsoft.XmlDom' and 'MSXML.DOMDocument' (IE). |
asashour
|
 |
JavaScript: add support for read-only attributes uiEvent.detail and uiEvent.view (FF only). Thanks to Rob Di Marco. |
sdanig
|
 |
JavaScript: fixed bug in String.replace (due to custom RegExp proxy) when first arg is a String
with special characters and not a RegExp. |
mguillem
|
 |
JavaScript: add basic support for 'document.implementation.createDocument()' (FF), and ActiveXObjects:
'Microsoft.XmlDom' and 'MSXML.DOMDocument' (IE). |
asashour
|
 |
JavaScript: select.size is used when only needed. |
asashour
|
 |
Upgrade HttpClient to 3.1. |
asashour
|
 |
JavaScript: document.createElement() to accept html as a valid parameter (IE only). |
asashour
|
 |
JavaScript: Make event.shiftKey, event.ctrlKey and event.altKey IE-only attributes; add
m
ouseEvent.shiftKey, mouseEvent.ctrlKey, mouseEvent.altKey and mouseEvent.metaKey FF-only
attributes. |
sdanig
|
 |
JavaScript: add support for read-only attributes event.timeStamp, event.bubbles and
event.cancelable and event.eventPhase (FF only). Thanks to Rob Di Marco. |
sdanig
|
 |
JavaScript: document.createElement() to accept "
<
tagName
>
" as a valid parameter. |
asashour
|
 |
JavaScript: element.setAttribute() sets corresponding event handler onXXX if found (FF only). |
asashour
|
 |
JavaScript: add primitive support for document.elementFromPoint (IE only). |
asashour
|
 |
Add namespace support for attributes: DomNode.getnamespaceURI, getLocalName, getPrefix,
setPrefix, hasAttributes, HtmlElement.getAttribute, getAttributeNS, hasAttributes,
hasAttribute, hasAttributeNS, setAttribute, setAttributeNS, setAttributeValue(NS),
and removeAttributeNS. (#1747878). |
dktaylor
|
 |
JavaScript: add support for element.uniqueID (IE only). |
asashour
|
 |
Deprecate unused class MapEntryWrappingIterator. (#1747878). |
dktaylor
|
 |
Deprecate String-to-String attribute map for HtmlElement. Add initial support for
namespaces for attributes. (#1747878). |
dktaylor
|
 |
Deprecate HtmlAttr implementing Map.Entry that conflicts with W3C DOM API. Replac
e
uses of Map.Entry with HtmlAttr. Add HtmlAttr.getName. (#1747878). |
dktaylor
|
 |
New interface com.gargoylesoftware.htmlunit.OnbeforeunloadHandler with associated WebClient getter and setter, to support 'onbeforeunload' event (#1498419). |
asashour
|
 |
JavaScript: document.getElementById() must not return elements added to newly created ones (not yet added to document). |
asashour
|
 |
JavaScript: add support for 'onunload' event handler. |
asashour
|
| Type |
Changes |
By |
 |
Add document.createEvent() and document.createEventObject(). Thanks to Rob Di Marco. |
sdanig
|
 |
HtmlElement.asXml(): separate lines for empty element and the one after. |
asashour
|
 |
JavaScript: element.appendChild() and insertBefore() must recursively maintain document.getElementById() contract. |
asashour
|
 |
WebRequestSettings: add getter and setter of CookiePolicy. |
asashour
|
 |
JavaScript: for element.appendChild(), .insertBefore(), .innerHTML, and .innerText: if the element parentNode is null, create a DocumentFragment to be the parentNode (IE only). |
asashour
|
 |
Deprecated methods that conflict with W3C DOM API: DomTest.splitText, HtmlPage.getDocumentElement,
createElement, createElementNS, HtmlAttr.getValue, set
Value, DomNode.getLastChild,
getParentNode, getPreviousSibling, getNextSibling, getFirstChild, cloneNode, appendChild,
HtmlElement.cloneNode. Added replacement Dom or Html methods. Renamed
HtmlPage.createDocumentFragment to createDomDocumentFragment. (#1747878). |
dktaylor
|
 |
Deprecated DomNode.XXXX_NODE. |
asashour
|
 |
Change DomNode.ATTRIBUTE_NODE to be 2 in order to match W3C DOM Node.ATTRIBUTE_NODE. |
asashour
|
 |
JavaScript: add support for document.createDocumentFragment(). |
asashour
|
 |
JavaScript: add basic support for element.getBoundingClientRect() and element.getClientRects(). |
asashour
|
 |
JavaScript: add support for node.isSameNode(). |
asashour
|
 |
WebClient: Remove deprecated moveFocusFromElement(), moveFocusToElement(), and getElementWithFocus(). |
asashour
|
 |
HtmlTitle.asXml(): empty tag is expanded as required by Internet Explorer. |
asashour
|
 |
JavaScript: if window object could not find a property or function, it returns 'undefined' instead of null (#1771549). |
asashour
|
| Type |
Changes |
By |
 |
Add method HtmlPage.getHtmlElementsByName(String). |
sdanig
|
 |
HtmlSelect (in single-selec
tion mode) selects the first option if none is selected. |
asashour
|
 |
JavaScript: add basic support for element.runtimeStyle. |
mguillem
|
 |
JavaScript: add basic support for document.createStyleSheet (when emulating IE only). |
mguillem
|
 |
JavaScript: implemented a workaround for Rhino bug in string primitive resolution (Rhino bug 374918). |
mguillem
|
 |
Deprecate HtmlForm.submit(). |
asashour
|
 |
Deprecate HtmlForm.fakeCheckedRadioButton(). |
asashour
|
 |
The method element.style.getPropertyValue('foo') should expect property names to be
delimiter-separated (ie 'font-size') rather than camel case (ie 'fontSize'). |
sdanig
|
 |
Basic document.implementation: hasFeature(). |
asashour
|
 |
Add support for oncontextmenu event type. |
asashour
|
 |
Fix element.innerHTML, element.innerText, element.outerHTML: uppercase tag names when
emulating IE; don't quote attributes when they don't contain whitespace and we're
emulating IE; always use separate open and close tags (even if the tag is empty);
escape XML characters inside text nodes. |
sdanig
|
 |
HtmlElement: add rightClick(). |
asashour
|
 |
JavaScript added minimal support for MouseEvent properties
clientX,
clientY, pageX, pageY, screenX, screenY
coherent with position of event's target. |
mguillem
|
 |
Set Referer header for requests from XMLHttpRequest. |
mguillem
|
 |
First option in a single-selection select input gets selected by default. |
sdanig
|
 |
Add implementation of element.style.filter attribute (when emulating IE only). |
sdanig
|
 |
JavaScript: added support for properties "button" and "which" on mouse events. |
mguillem
|
 |
Add initial support for IE conditional compilation @if, @elif, @else, @end and @set instructions
as well as for conditional compilation variables. |
mguillem
|
 |
Fix getElementsByTagName('*') at the document level (it was returning an empty
collection). |
sdanig
|
 |
JavaScript: add support for style.getPropertyValue() (#1759750). |
asashour
|
 |
JavaScript: fixed eval scope bug when used within function. |
mguillem
|
 |
Add an optional (disabled by default) debugger implementation which can make it easier
to debug complex interactions between HtmlUnit and JavaScript. |
sdanig
|
 |
Deprecate BrowserVersion constants for Mozilla 1.0, Netscape 4.7.9 and Netscape 6.2.3;
add MSIE 7 and Firefox 2. |
sdanig
|
 |
JavaScript: add basic support for element.currentStyle and window.getComputedStyle. |
asashour
|
 |
BrowserVersion: add equals() and hashCode(). Thanks to Matt Ryall. |
asashour
|
 |
HtmlElement: add mouseOver(), mouseMove(), mouseOut(), mouseDown(), and mouseUp(). |
asashour
|
 |
JavaScript: implement navigator.cookieEnabled to match WebClient#isCookiesEnabled(). |
asashour
|
 |
Add empty implementation for table.refresh() (#1742662). |
asashour
|
 |
HTMLCollection: cache getElements() for better performance (#1751756). |
asashour
|
 |
Experimental: added AjaxController and NicelyResynchronizingAjaxController. |
mguillem
|
 |
JavaScript: added support for window.captureEvents (FF). |
mguillem
|
 |
JavaScript: fixed addEventListener cannot be called twice. |
mguillem
|
 |
JavaScript: added support for event capturing and bubbling phases. |
mguillem
|
 |
JavaScript: added support for Event.stopPropagation() (FF) and Event.cancelBubble() (IE). |
mguillem
|
 |
JavaScript: added support for window.onclick and window.ondblclick. |
mguillem
|
 |
Ignore
<
base
>
if inside
<
body
>
(#1579707). |
asashour
|
 |
FailingHttpStatusCodeException is thrown for failing frame (#1065041). |
asashour
|
 |
JavaScript: use custom JDK based regular expression evaluation for String.replace
to avoid Rhino problems (speed and wrong evaluation). |
mguillem
|
 |
Elements inside
<
noscript
>
are ignored if isJavaScriptEnabled() (#1186639). |
asashour
|
 |
Version: add getProductName(), getProductVersion() and getCopyright() (#1748672). |
asashour
|
 |
DomNode: add/remove DomChangeListener. |
asashour
|
 |
Remove deprecated WebClient.getThrowExceptionOnFailingStatusCode and BaseFrame.FrameWindow. |
asashour
|
 |
HtmlImageInput, HtmlResetInput and HtmlSubmitInput can be clicked if exist outside an enclosing form. (#1747454). |
asashour
|
 |
JavaScript: allow FormField.onchange, form.onsubmit and frame.onload to be set to null (#1745024). |
asashour
|
 |
JavaScript: Add table.cellSpacing and table.cellPadding. |
asashour
|
 |
HtmlElement and HtmlPage: add/remove HtmlAttributeChangeListener (#1124781). |
asashour
|
 |
JavaScript: Implement insertAdjacentElement(). |
asashour
|
 |
HtmlSubmitInput: set
ting value to "Submit Query" if not specified, associated with asText(), asXml(), and submitValue changes. |
asashour
|
 |
HTMLElement.scrollIntoView() is added as an empty implementation (#1740086). Thanks to Bruce Chapman. |
asashour
|
 |
DomNode.asText() now correctly handles style elements (e.g.
<
i
>
,
<
b
>
, and
<
font
>
) (#1731042). Thanks to Rodney Gitzel. |
asashour
|
 |
HtmlPage.clone() doesn't share idMap_ with original (#1708397). Thanks to Bruce Chapman. |
asashour
|
 |
ClickableElement: Add dblClick() (#1385295). |
asashour
|
 |
JavaScript: Add document.createElementNS(), element.namespaceURI, element.prefix, and element.localName (#1521790). |
asashour
|
 |
HtmlPage supports Serialization (#1685311). |
asashour
|
 |
Add partial support for IE Conditional Compilation (#1680026). |
asashour
|
 |
Meta Refresh: tolerate spaces before the semicolon (#1549916). Thanks to Andre Soereng. |
asashour
|
 |
Allow setChecked of
<
input type="radio"
>
which is outside any
<
form
>
(#1587962). |
asashour
|
 |
Deprecated HtmlForm#getRadioButtonInput(String,String) and HtmlForm#setCheckedRadioButton(String,String). Use #getByXPath instead. |
asashour
|
 |
Allow HtmlFileInput to handle values starting with "file:/" (#1513928). |
asashour
|
 |
Align node types numeric values to W3C values. |
mguillem
|
 |
JavaScript: allow comment nodes to be retrieved |
mguillem
|
 |
HtmlSelectElement: ignores setting 'selectedIndex' to more than or equal to options size. |
asashour
|
 |
HtmlForm: #getTextAreaByName and #getButtonByName (#1713515). Thanks to Philip Graf. |
asashour
|
 |
Add UTF-16BE, and UTF-16LE charset detection (#1729467). Thanks to Karel Kolman. |
asashour
|
 |
Use WebRequestSettings#getCharset() as the encoding of pages instead of "ISO-8859-1" (#1483301). |
asashour
|
 |
Proper handling of
&
nbsp; in DomNode#asText() (#1549745). Thanks to Kristian Muntau. |
asashour
|
 |
JavaScript: Simulate browser behavior for comments that have last line of "statement--
>
", but not "statement//--
>
". |
asashour
|
 |
JavaScript: Add support for location.toString() (#1725742). |
asashour
|
 |
asXml() now expands tags for div, iframe and script to make generated xml interpretable as html by browsers. |
mguillem
|
 |
Add support for table.width (#1691024). |
asashour
|
 |
HtmlInput (HtmlCheckBoxInput and HtmlRadioButtonInput): #setChecked now returns Page (#1724889). |
asashour
|
 |
Javascript: Correct handling of comments (#1725162). |
asashour
|
 |
JavaScript [internal
]
: use Context.call(ContextAction) for faster JavaScript execution. |
mguillem
|
 |
Meta Refresh empty URL is handled (#1722665). |
asashour
|
 |
JavaScript: add support for textarea.selectionStart, textarea.selectionEnd, and textarea.textLength (#1714772). |
asashour
|
 |
DomNode#getAllHtmlChildElements() now returns Iterator. |
asashour
|
 |
Fixed exception occurring handling script tag with one line content starting with
<
!-- and without closing --!
>
. |
mguillem
|
 |
JavaScript: allow function named onload. |
mguillem
|
 |
JavaScript: made equality tests on functions working. |
mguillem
|
 |
JavaScript: don't allow usage of write(ln) detached from document object when simulating Firefox. |
mguillem
|
 |
JavaScript [internal
]
: large refactoring for a better Rhino usage. |
mguillem
|
 |
JavaScript: Add support for event.shiftKey, event.ctrlKey, and event.altKey. |
asashour
|
 |
Tolerate URL starting with http:/ and http: in Firefox. |
asashour
|
 |
Added IncorrectnessListener to get notified of things that HtmlUnit cope with but that don't respect standards. |
mguillem
|
 |
JavaScript: provide the event object to onreset handlers. |
mguillem
|
 |
Added ScriptException.printScriptStackTrace to retrieve the stack trace of the script execution. |
mguillem
|
 |
WebClient can now enable/disable cookies support. |
asashour
|
 |
JavaScript: allow to set window.onload to something else than a function. |
mguillem
|
 |
DomNode.DescendantElementsIterator.remove() now throws UnsupportedOperationException
(previous behavior was not correct). Thanks to Bruce Chapman. |
mguillem
|
 |
JavaScript: added support for label property on Option objects. |
mguillem
|
 |
JavaScript: added support for defaultSelected property on Option objects. Thanks to Bruce Chapman. |
mguillem
|
 |
JavaScript: allow selected and defaultSelected attribute in Option constructor. Thanks to Bruce Chapman. |
mguillem
|
 |
INCOMPATIBLE CHANGE: Remove HtmlOption#getValue() (deprecated nearly two years ago),
remove FailingHttpStatusCodeException#FailingHttpStatusCodeException(int, String) (deprecated
over
a year ago), remove ScriptException#getEnclosedException() (deprecated over a year ago). |
sdanig
|
 |
JavaScript: Add support for script.src, script.type, script.readyState and script.onreadystatechange. |
sdanig
|
 |
When cloning nodes, clone the id attribute as well. Thanks to Bruce Chapman. |
sdanig
|
 |
Avoid NPEs for responses with null bodies (ie 304 Not Modified responses). Thanks to mtamme. |
sdanig
|
 |
JavaScript: Cloning a script node should not execute the script. Thanks to Bruce Chapman. |
sdanig
|
 |
JavaScript: Don't run scripts after the window location changes. |
sdanig
|
 |
Verify correct behavior of HtmlSelect#asText() with multiple selections, fix JavaDoc. |
sdanig
|
 |
JavaScript: add support for frameset.rows and frameset.cols properties. Thanks to Bruce Chapman. |
sdanig
|
 |
JavaScript: ignore invalid script.src attribute used by jQuery ("//:"). |
sdanig
|
 |
Trim whitespace off of anchor href attributes. |
sdanig
|
 |
JavaScript: add support for event.type property. |
sdanig
|
 |
Fixed NPE exception triggered by invalid iframe/frame src attribute. |
sdanig
|
 |
Fixed infinite loop triggered by recursive iframe/frame src attribute. |
sdanig
|
 |
JavaScript: fixed set innerHTML uses 8bits for all chars and ignores some HTML. Thanks to Sam Hough and Ahmed Ashour. |
mguillem
|
 |
JavaScript: handle out of bound indexes on options as browsers do (undefined when too high and exception when negative). |
mguillem
|
 |
Added (limited) support for client side map. Thanks to Ahmed Ashour. |
mguillem
|
 |
Don't execute JavaScript in
<
noframes
>
and
<
iframe
>
. Thanks to Ahmed Ashour. |
mguillem
|
 |
Set Referer header on outgoing requests. Thanks to Ahmed Ashour. |
mguillem
|
 |
JavaScript: setting innerHTML to null shouldn't create any text node for Firefox. Thanks to Ahmed Ashour. |
mguillem
|
 |
JavaScript: fixed remaining problem of submitted select values when select.selectedIndex = -1 has been used before setting an other value. |
mguillem
|
 |
JavaScript: setting innerHTML to empty string shouldn't create any text node. Thanks to Ahmed Ashour. |
mguillem
|
 |
JavaScript: added support for property parentElement on DOM nodes (IE specific). Thanks to Ahmed Ashour. |
mguillem
|
 |
JavaScript: configure correctly the prototype hiera
rchy on created host objects. |
mguillem
|
 |
JavaScript: fixed non executed scripts added wit document.write. Thanks to Karel Kolman. |
mguillem
|
 |
JavaScript: "this" should be the window and not the current node in JavaScript href of link and area as well as in JavaScript action of forms. |
mguillem
|
 |
Fixed wrong parsing order of comment and text nodes. Thanks to Karel Kolman. |
mguillem
|
 |
JavaScript: added support for following properties on HtmlAnchor: hash, host, hostname, pathname, port, protocol, search and target. Thanks to Bruce Chapman. |
mguillem
|
 |
Handle correctly anchors (alias reference) in URLs after form submission. |
mguillem
|
 |
JavaScript: XMLHttpRequest now encodes post body in UTF-8. |
mguillem
|
| Type |
Changes |
By |
 |
Respect non proxy hosts in redirects from a host using proxy. |
mguillem
|
 |
JavaScript: resolve relative locations from the originating page for Location's href, replace and assign. |
mguillem
|
 |
Renamed frame host class to avoid conflict when a frame has 'Frame' as name. |
mguillem
|
 |
Form should not send push buttons on submit. |
mguillem
|
 |
Added facility method DomNode.getByXPath(xpathExpr). |
mguillem
|
 |
JavaScript: Option.setAttribute now works even if option has not yet been added to a select. |
mguillem
|
 |
Parse as html all responses with content type ending with "xhtml+xml" like XHTML mobile profile documents (application/vnd.wap.xhtml+xml). |
mguillem
|
 |
Improved HtmlPage.getAnchors's javadoc. |
mguillem
|
 |
Added support for server side map (HtmlImage.click(int, int)). |
mguillem
|
 |
Allow redirections to the same URL with a maximal number of 20. |
mguillem
|
 |
Fixed HtmlHtml.getXmlLangAttribute(). |
mguillem
|
 |
Upgraded dependencies to Jaxen 1.1, commons-lang 2.2, rhino 1.6R5, commons-io 1.3. |
mguillem
|
 |
Changing element id should not impact child nodes. Thanks to kkolman. |
mguillem
|
 |
JavaScript: provide event object as argument when calling onload listeners attached with attachEvent (Internet explorer). |
mguillem
|
 |
JavaScript: provide the event object to onsubmit handlers. |
mguillem
|
 |
Set cookies defined in meta tags with http-equiv equals to set-cookie. |
mguillem
|
 |
Fixed NullPointerException occurring while submitting a from which onsubmit handler returns null. Thanks to Andre Soereng. |
mguillem
|
 |
JavaScript: fixed bad initialisation of JavaScript context when window content changes
(was introduced since last release in fixed for bug 1040244). |
mguillem
|
 |
JavaScript: ensure that script execution is synchronized on the owning html page
(for instance using XMLHttpRequest asynchronously). |
mguillem
|
 |
JavaScript: made ThreadManager thread safe. Thanks to kkolman. |
mguillem
|
 |
JavaScript: perform correct setup of context for asynchronous execution of XMLHttpRequest. Thanks to Deryk Sinotte. |
mguillem
|
 |
JavaScript: don't wrap JavaScript primitive types when returned from a Java method. |
mguillem
|
 |
Fixed Non-html reply in window.open() doesn't create window
object by restricting initialization of windows and pages.
Added line/column numbering of HTML elements for embedded
script names that are easier to debug. |
dktaylor
|
 |
JavaScript: fixed regression introduced in 1.10 on window.eval for local scope. |
mguillem
|
 |
JavaScript: provide the event object to onfocus and onblur handlers. |
mguillem
|
 |
Moved focus related methods from WebClien
t to HtmlPage and deprecated them on WebClient. |
mguillem
|
 |
Fixed AREA elements can't handle JavaScript hrefs by
copying code from anchor element. |
dktaylor
|
 |
Fixed frames[i
]
return null for frames generated by
document.write by allowing JavaScript Window object to
be properly initialized with JavaScriptEngine. |
dktaylor
|
 |
Fixed document.write problem when
<
a...
>
written in 2 times
by checking for complete HTML tags before parsing. |
dktaylor
|
 |
Fixed document.write() does not keep ending spaces by reducing
text of adjacent text nodes as a whole instead of separately. |
dktaylor
|
 |
JavaScript: handle comments in event handlers. Thanks to Andre Soereng. |
mguillem
|
 |
JavaScript: if window with name 'myOldWin' exists, window.open('', 'myOldWin') should retrieve it
rather than opening a new one. |
mguillem
|
 |
Fixed asText() for style node. Now returns an empty string. |
mguillem
|
 |
JavaScript: fixed select.selectedIndex = -1 should not be irreversible. |
mguillem
|
 |
JavaScript: setting option's selected status to false when it is already false
shouldn't reset the whole select. |
mguillem
|
 |
JavaScript: fixed java.util.ConcurrentModificationException occurring when some onload event is
removed during execution of an onload event. |
mguillem
|
 |
JavaScript: second argument DOM node's insertBefore is now optional
when simulating Internet Explorer. |
mguillem
|
 |
Added support for comments:
<
!-- some comment --
>
. Patch from Karel Kolman. Thanks to Karel Kolman. |
mguillem
|
 |
JavaScript: added XMLHttpRequest.overrideMimeType. |
mguillem
|
 |
JavaScript: fixed bug preventing to set non String style properties. |
mguillem
|
 |
JavaScript: allow to add options to a select with an index as second argument
when simulating Internet Explorer. |
mguillem
|
 |
Ignore invalid URLs specified in
<
base href="..."/
>
. |
mguillem
|
| Type |
Changes |
By |
 |
Fixed asText() for script node. Now returns an empty string. |
mguillem
|
 |
Removed ":" in project id to avoid problems on Windows with plugins like idea. |
mguillem
|
 |
Upgraded jaxen to 1.1-beta-11 (even if it's a "beta", this is the version
recommended by jaxen developers). |
mguillem
|
 |
Added Maven compliant scopes in project.xml. |
mguillem
|
 |
JavaScript: added minimal support for navigator.mimeTypes (Firefox). |
mguillem
|
 |
Fixed select's faked selections are ignored, if select is empty. |
mguillem
|
 |
Fixed asText() for hidden input. Now returns an empty string. |
mguillem
|
 |
JavaScript: only style's built in properties are of type String (with empty string as default value) |
mguillem
|
 |
Use MultiThreadedHttpConnectionManager (avoids problems with requests started asynchronously from JavaScript). |
mguillem
|
 |
JavaScript: property "all" now available on all html element (Internet explorer). |
mguillem
|
 |
Fixed incorrect handling of web connections (missing call to releaseConnection()). |
mguillem
|
 |
JavaScript: item(xx) method now works correctly on node list. |
mguillem
|
 |
JavaScript: improved support for addEventListener on DOM nodes (Mozilla) and added support for attachEvent (Internet explorer). Thanks to Daniel Gredler. |
mguillem
|
 |
JavaScript: build XMLHttpRequest for all ActiveX names starting with "Msxml2.XMLHTTP". |
mguillem
|
 |
JavaScript: fixed bug in table.insertRow with empty tbody. |
mguillem
|
 |
Follow redirection to the same Url if original method was a POST. Handle redirections
like browsers do rather than according to the RFC. |
mguillem
|
 |
JavaScript: allow script to set a "javascript:..." location. |
mguillem
|
 |
JavaScript: use of HTMLElement.innerHTML should not cause registration of a WebWindow. |
mguillem
|
 |
JavaScript: window.eval now evaluates in the right window scope. |
mguillem
|
 |
JavaScript: added basic support for addEventListener on DOM nodes (Mozilla). |
mguillem
|
 |
JavaScript: added support for window.createPopup (Internet Explorer). |
mguillem
|
 |
Added FrameWindow.getFrameElement and support for Javascript's frameElement property on windows. |
mguillem
|
 |
Parser: automatically add an
<
head
>
element if none present in html source
(as done by Internet Explorer and Firefox). |
mguillem
|
 |
JavaScript: Location.replace wrongly loaded new URL in top window. |
mguillem
|
 |
XPath: fixed wrong behavior with following axis. |
mguillem
|
 |
JavaScript: fixed double execution of external JavaScript files occurring when text contained
between
<
script src=...
>
and
<
/script
>
. |
mguillem
|
 |
JavaScript: allow to specify a maximal script execution time. Thanks to Andre Soereng. |
mguillem
|
 |
INCOMPATIBLE CHANGE: OK button is now simulated for JavaScript confirm calls when no ConfirmHandler is
installed (it was was the Cancel button previously). |
mguillem
|
 |
Removed Jelly support. |
mguillem
|
 |
Updated doc to reflect migration from CVS to SVN. |
mguillem
|
 |
Do not submit reset buttons in forms. |
yourgod
|
 |
Transparently decompress server response if gzipped for transfer. Thanks to Daniel Gredler. |
mguillem
|
 |
JavaScript: fixed default String conversion of objects (like table, table row, table cell, collection). |
mguillem
|
 |
JavaScript: XMLHttpRequest.responseXml NodeList elements now accessible by index. |
mguillem
|
 |
JavaScript: take expiration date into account when creating cookies. Thanks to Andre Soereng. |
mguillem
|
 |
JavaScript: cells collection for rows now takes th into account. |
mguillem
|
 |
JavaScript: table/tbody.deleteRow(-1) will now delete the last row |
yourgod
|
| Type |
Changes |
By |
 |
Upgraded commons-collections to version 3.2 |
yourgod
|
 |
Upgraded commons-logging to version 1.1 |
yourgod
|
 |
Upgraded commons-io to version 1.2 |
yourgod
|
 |
JavaScript: added support IE style of events (window.event). |
mguillem
|
 |
Added possibility to configure NTLM credentials for the DefaultCredentialsProvider. |
mguillem
|
 |
Added facility method WebClient.getPage(String). |
mguillem
|
 |
Upgraded jaxen to 1.1-beta-9 (even if it's a "beta", this is the version
recommended by jaxen developers). |
mguillem
|
 |
JavaScript: set form as parent scope for form fields (allows handlers to call directly form
methods like submit()). |
mguillem
|
 |
XmlPage: parse xml pages namespace aware. |
mguillem
|
 |
JavaScript: ensure that the page being loaded has not already been replaced in its window
by a new one through JavaScript before executing onload handlers. |
mguillem
|
 |
Use Byte Order Mark to recognize UTF-8 content when no charset header is provided. |
mguillem
|
 |
JavaScript: added addEventListener/attachEvent, removeEventListener/detachEvent to Window,
allowing to register load events on
a window. |
mguillem
|
 |
Upgraded commons-httpclient to version 3.0.1. |
mguillem
|
 |
JavaScript: added support for properties defaultView (Mozilla) and parentWindow (IE) on Document. |
mguillem
|
 |
JavaScript: added support for property ownerDocument on HtmlElements. |
mguillem
|
 |
DomText.asText() now cleans up
&
nbsp; and multiple blanks as other DomNodes do. |
mguillem
|
 |
Added facility methods HtmlOption.getEnclosingSelect() and HtmlLabel.getReferencedElement(). |
mguillem
|
 |
Fixed HtmlTable.getCellAt when table contains a rowspan. Thanks to Julien Henry. |
mguillem
|
 |
Proxy settings now respected to load external JavaScript files. |
mguillem
|
 |
HtmlCheckBoxInput.setChecked() now fires the JavaScript onchange event. |
yourgod
|
 |
Implemented window.setTimeout(function, int) and window.setInterval(function, int) |
yourgod
|
 |
HtmlOption.asText() now respects the label attribute as browsers do. |
yourgod
|
 |
Encode path part of URLs containing illegal characters. |
mguillem
|
 |
Added support for firing onkeydown events. Thanks to Brad Murray. |
mguillem
|
 |
HtmlElement.getAttributeEntriesIterator now returns the attributes in the order in
which they appear in the html source code. |
mguillem
|
 |
HttpWebConnection now allows extensions to simply override HttpClient creation. |
mguillem
|
 |
Use configured proxy when performing a request after a redirection. |
mguillem
|
 |
Allow
<
button...
>
s located outside of a form to be clicked and their onclick handler to be called. |
mguillem
|
| Type |
Changes |
By |
 |
Cookies can now be shared between HTTP and HTTPS. |
mguillem
|
 |
HttpWebConnection now uses a single instance of HttpClient (as it can now handle multiple connections). |
mguillem
|
 |
Throw ScriptException (unless WebClient.isThrowExceptionOnScriptError() is false) when the source
of an external script can't be loaded. |
mguillem
|
 |
Deprecated ScriptException.getEnclosedException. Use getCause instead. |
mguillem
|
 |
Added URL of the failed request in message of FailingHttpStatusCodeException. |
mguillem
|
 |
Fixed a bug that could cause a ConcurrentModificationException when navigating away
from a page with JavaScript running in the background. |
yourgod
|
 |
Default
PageCreator now builds an XmlPage and not a TextPage for responses with content type "text/vnd.wap.wml". |
mguillem
|
 |
JavaScript: fixed parent scope wrongly set on Style object. |
mguillem
|
 |
FailingHttpStatusCodeException now contains the failing WebResponse. |
mguillem
|
 |
Modified XmlHttpRequest to use new thread management API for async requests. |
yourgod
|
 |
JavaScript: fixed exception in access to a DOM node when the page contains
a custom object with the same name as the one used by htmlunit for the host object (caused error like:
"Form" is not a constructor). |
mguillem
|
 |
Fixed bad handling of comma in Location header of redirections (30x) |
mguillem
|
 |
Implemented setInterval/clearInterval and thread management for setTimeout
and setInterval threads. Thanks to Steven Grimm and Daniel Gredler for patches that
were helpful in the implementation. |
yourgod
|
 |
JavaScript: added support for properties target and srcElement on events. Thanks to Stefan Anzinger. |
mguillem
|
 |
Upgraded commons-httpclient to version 3.0. |
mguillem
|
 |
Fixed NPE thrown when JS error occurs on click when ThrowExceptionOnScriptError is false. Thanks to Paul King. |
mguillem
|
 |
Added HtmlAnchor.openLinkInNewWin
dow() |
yourgod
|
 |
JavaScript: changes on form's action attribute in onSubmit were ignored. |
mguillem
|
 |
Allow external scripts to be loaded using file protocol. |
mguillem
|
 |
JavaScript: added support for property cellIndex on td and th eleements. Thanks to Mark van Leeuwen. |
mguillem
|
 |
BaseFrame.FrameWindow has been deprecated and replaced with a top level
FrameWindow class. |
yourgod
|
 |
JavaScript: fixed exception occurring when addBehavior is called twice for the same
behavior. |
mguillem
|
 |
JavaScript: Implement add() method for OptionsArray to avoid TypeError. Thanks to Bruce Faulkner. |
mguillem
|
 |
JavaScript: added the full URL of the file containing the script being executed
in the exception message when a script error occurs. |
mguillem
|
 |
JavaScript: made Location properties writable. Thanks to Daniel Gredler. |
mguillem
|
 |
Added possibility to bypass configured proxy for some hosts. Thanks to Daniel Gredler. |
mguillem
|
 |
Fixed support for NTLM proxy. Thanks to Vikram Shitole / Daniel Gredler. |
mguillem
|
 |
JavaScript: setting options' length to a value greate
r than current.
size fills option array with empty options. |
mguillem
|
 |
Fixed mangled binary files loaded with the file protocol for non ISO-8859-1
default system file encoding. Thanks to Paul King. |
mguillem
|
 |
Upgraded commons-io to 1.1. |
mguillem
|
 |
Form's name now writable (both in DOM and in Javascript). |
mguillem
|
 |
Javascript: getElementsByTagName now returns an ElementArray (instead of a
NativeArray) for html elements allowing expressions like
"myForm.getElementsByTagName('input')['one'
]
". |
mguillem
|
 |
JavaScript: when simulating IE, options collection delegates to select
when the requested property/method doesn't exist. Thanks to Daniel Gredler. |
mguillem
|
 |
Consider inputs with invalid type as text inputs. |
mguillem
|
 |
JavaScript: responses to XMLHttpRequest don't disturb window contents anymore. |
mguillem
|
 |
All code deprecated prior to 1.6 has been removed |
yourgod
|
 |
JavaScript: added implementation of IE behavior "#default#download". Thanks to Stefan Anzinger. |
mguillem
|
 |
Fixed HtmlSelect.getSelectedOptions to return an empty list if select has no option.
JavaScript: fixed select.value to return an empt
y string when select has no option. |
mguillem
|
 |
HtmlOption.click() now returns correctly the page loaded by an onchange event. |
mguillem
|
 |
Fixed requested URL for post form with empty action and original page containing
a query string or action containing only a query string. Thanks to ianzlovejoy. |
mguillem
|
 |
Upgraded jaxen to 1.1-beta-8 (even if it's a "beta", this is the version
recommended by jaxen developers). |
mguillem
|
 |
JavaScript: added support for property contentWindow on (i)frames. |
mguillem
|
 |
Upgraded rhino JavaScript library to 1.6R2.
Noteworthy is that the JavaScript stack trace is now added in the normal Java
stack trace (bug 274467 reported by Daniel Gredler,
see http://www.mozilla.org/rhino/rhino16R2.html for full change log). |
mguillem
|
 |
Fill frame windows with about:blank when the declaring tag is found
to allow JavaScript to run on it before the real content is loaded. |
mguillem
|
 |
Upgraded commons-httpclient to version 3.0rc4 in ant as well.
Made HtmlForm.submit(SubmittableElement) public to simulate
keyboard submits (more to come later). |
yourgod
|
 |
JavaScript: XMLHttpRequest.send now accepts null as parameter
and fails when simulating Mozilla if called with no parameter like the browser does. |
mguillem
|
 |
Upgraded commons-httpclient to version 3.0rc4. |
mguillem
|
 |
Javascript: allow to set current node's property within onclick event handler. |
mguillem
|
 |
Javascript: XMLHttpRequest now accepts non xml responses. |
mguillem
|
 |
Javascript: allow to change selected attribute of options created with
document.createElement('option') and not yet added to a select. |
mguillem
|
 |
Load frames content first after the page is loaded to allow access to the whole page
for scripts contained in the frames. |
mguillem
|
 |
JavaScript: added support for document.frames (specific to IE). |
mguillem
|
 |
JavaScript: when simulating IE, second parameter in Select.add can be omitted. |
|