NotYetImplemented is a condition in which a test is known to fail with HtmlUnit.
FileMethodLineDescription
CookieManagerTest valueQuoted() 153 Regression test for issue 2973040. When a cookie is set with value within quotes, this value should be sent within quotes in the following requests. This is a problem (bug?) in HttpClient which is not fixed in HttpClient-4.0.1.
UrlFetchWebConnectionTest post_multipart() 102 Simple POST multipart. This doesn't work currently and the test should be reworked as the boundary for the body varies.
WebClient2Test serialization_withJSBackgroundTasks() 212 Background tasks that have been registered before the serialization should wake up and run normally after the deserialization. Until now (2.7-SNAPSHOT 17.09.09) HtmlUnit has probably never supported it. This is currently not requested and this test is just to document the current status.
HTMLParserListenerTest testSimple() 106 This is the right test as we had before HtmlUnit-2.6 but due to an (accepted - at least in a first time -) regression in NekoHTML, it doesn't work anymore. testSimple_withWrongLineCol ensures that no other regression occurs here.
HTMLParserTest completeHtmlInsideDiv() IE 252 Test for a case where complete HTML page is present inside DIV tag. IE ignores the HTML tag, BODY tag and complete HEAD along with content inside HEAD FF ignores only HTML, HEAD and BODY tags. Contents of HEAD are added to head of the page and content of BODY are added to the current node (DIV tag in test case).
writeCompleteHtmlInsideDIV() IE 301 Test for a case where complete HTML page is added using document.write() inside DIV tag. IE ignores the HTML tag, BODY tag and complete HEAD along with content inside HEAD FF ignores only HTML, HEAD and BODY tags. Contents of HEAD are added to head of the page and content of BODY are added to the current node (DIV tag in test case).
HtmlCheckBoxInput2Test checked_on_attachment() IE 39 Verifies the behavior of 'checked' property on being attached to a page.
onchangeFires2() 101  
HtmlElementTest onpropertychange2() 1149  
HtmlForm2Test encoding() 41  
HtmlFrame2Test postponeLoading() 85  
HtmlFrameSetTest onunload() 363  
HtmlImageTest useMapClick_CircleRadiusPercentage() 110 Tests circle radius of percentage value.
HtmlPageTest testNoSlashURL() IE 1246 Test for bug 1714767.
HtmlTable2Test two_theads() FF 34 Table can have multiple children of <thead>, <tbody> and <tfoot>. Also, IE adds TR between THEAD and TD if missing.
MalformedHtmlTest missingDoubleQuote() 215 Regression test for bug 2838901.
missingSingleQuote() 200 Regression test for bug 2838901.
IEWeirdSyntaxTest semicolonAndComment_before_catchAndFinally() 60  
semicolon_before_catch() 49  
semicolon_before_finally() 37  
windowDotHandlerFunction() 101  
JavaScriptEngine2Test undefined() 116  
JavaScriptEngineTest function_object_method() 1517  
function_toStringValue() 1499  
nativeFunction_toStringValue() IE 1478 String value of native functions starts with \n on IE.
NativeArrayTest sort() IE 35 Test for sort algorithm used (when sort is called with callback).
SimpleScriptableTest setNonWritableProperty() IE 199 This test fails on IE and FF but not by HtmlUnit because according to Ecma standard, attempts to set read only properties should be silently ignored. Furthermore document.body = document.body will work on FF but not on IE
ActiveXObjectTest activex() 82  
AttrTest value() 156  
DocumentTest documentCloneNode() 1703 Tests document.cloneNode(). IE specific.
DocumentTypeTest doctype() 35  
doctype_xml() 72  
EventTest nameResolution() 1016 Regression test for bug 2851920. Name resolution doesn't work the same in inline handlers than in "normal" JS code!
testBubbles() 646  
testIE_EventBubbling() 507 Test for event bubbling in IE.
testNullEventHandler() FF 626 Test value for null event handler: null for IE, while 'undefined' for Firefox.
NamedNodeMap2Test setNamedItem() 34  
NamedNodeMapTest testAttributes() 43  
SelectionTest aLittleBitOfEverything_removeRange() 410 Test selection's anchorNode and focusNode after call to removeRange. Surprisingly, this is not null.
StorageTest storage() 37  
Window2Test FF_controllers() FF 52 "window.controllers" is used by some JavaScript libraries to determine if the browser is Gecko based or not.
onbeforeunload_notDefined() FF 586 Regression test for bug 2808901.
rhino_lazilyNames2() FF 255 The same as in {@link #rhino_lazilyNames()} but for properties with different expectations for IE and FF.
rhino_lazilyNames3() FF 268 The same as in {@link #rhino_lazilyNames()} but for properties where it doesn't work yet.
WindowTest functionPrototypeArguments() 2077 Verifies that this.arguments works from within a method invocation, in a function defined on the Function prototype object. This usage is required by the Ajax.NET Professional JavaScript library.
CSSStyleDeclaration2Test width_like_properties() 102  
CSSStyleDeclarationTest interceptSetter() 1288 Test for a __lookupSetter__ bug affecting Hotmail when emulating Firefox. @see Rhino bug 491433
properties() FF, IE7, IE8 408 Expected values are missing for FF3, IE7 and IE8.
properties2() FF, IE7, IE8 587 Test types of properties. Expected values are missing for FF3, IE7 and IE8.
CSSStyleRuleTest colon() 136  
testReadOnly() 75  
CSSStyleSheetTest css3_not() FF 384 CSS3 pseudo selector :not is not yet supported.
npe_root() 344 This seems to be a bug in CSSParser. This test can be removed once the problem in CSSParser is fixed. @see CSSParser bug [2123264] NPE in insertRule
selects_pseudoClass_negation() 171  
HTMLCollectionTest testOutOfBoundAccess() FF 205 Depending on the method used, out of bound access give different responses.
testToStringFunction() FF 59 Test that toString is accessible.
HTMLDocumentTest getElementsByTagName3() 1122  
importNode_script() 328  
prefix() 707 Test that document.forms.form_name should be evaluated to undefined if the form has a prefix.
readyState() 451  
HTMLDocumentWriteTest writeInNewWindowAndReadFormCollection() 794 Regression test for bug 2921851.
HTMLElement2Test offsetWidth_calculatedBasedOnPage() 512 Value of offsetWidth is currently wrong when width is a % of the page.
HTMLFrameElementTest frames() 336  
HTMLIFrameElementTest idByName() IE 569 IE: getElementById() returns a different object than with direct 'id' variable.
settingInnerHtmlTriggersFrameLoad() 594 Regression test for bug 2940926.
HTMLLabelElementTest htmlFor_click() FF 62 Tests that clicking the label by JavaScript does not change 'htmlFor' attribute in FF!!
HTMLOptionElementTest without_new() 268  
HTMLScriptElementTest onReadyStateChange_Order() IE 138 Verifies the correct the ordering of script element execution, deferred script element execution, script ready state changes, deferred script ready state changes, and onload handlers.
XMLDocumentTest xpathWithNamespaces() 761  
XMLHttpRequest2Test deadlock() 52 This produced a deadlock situation with HtmlUnit-2.6 and HttmlUnit-2.7-SNAPSHOT on 17.09.09. The reason is that HtmlUnit has currently one "JS execution thread" per window, synchronizing on the owning page BUT the XHR callback execution are synchronized on their "owning" page. This test isn't really executed now to avoid the deadlock. Strangely, this test seem to fail even without the implementation of the "/setStateXX" handling on the "server side". Strange thing.
xhrDownloadInBackground() 367 Ensures that XHR download is performed without altering other JS jobs. Currently HtmlUnit doesn't behave correctly here because download and callback execution are executed within the same synchronize block on the HtmlPage.
XMLHttpRequestTest testStreaming() 1121 Regression test for bug 1209686 (onreadystatechange not called with partial data when emulating FF).
XMLSerializerTest htmlAttributes() 156  
nameSpaces() 99  
HtmlUnitRegExpProxyTest regExp_exec() 243  
test2() 683  
test_minimal() 334 Minimized version of {@link #test()}. Once successful, either one to be removed.
test_prototype() 281 Minimal case exists in {@link #test_minimal()}. Once successful, either one to be removed.
AlphanumericTest test2() IE 47 Be sure all non-alphanumerics are matched by \W.
test3() IE 61 Be sure all non-alphanumerics are not matched by \w.
test5() IE 82 Be sure all alphanumerics are matched by \w.
test6() IE 93 Be sure all non-alphanumerics are matched by \W.
test8() IE 117 Be sure all non-alphanumerics are matched by \W (using literals).
AsteriskTest test12() 143 Tests 'a0.b2.c3'.match(/[xyz]*1/.
DigitTest test2() IE 56 Tests non_digits.match(new RegExp('\\D+')).
test6() IE 101 Tests s.match(new RegExp('\\D+')).
OctalTest test1() 33 Tests testString.match(new RegExp(testPattern)).
test2() 48 Tests testString.match(new RegExp(testPattern)).
test3() 63 Tests testString.match(new RegExp(testPattern)).
test4() 77 Tests testString.match(new RegExp(testPattern)).
test5() 91 Tests testString.match(new RegExp(testPattern)).
test6() 104 Tests 'canthisbeFOUND'.match(new RegExp('[A-\\132]+')).
test7() 115 Tests 'canthisbeFOUND'.match(new RegExp('[\\141-\\172]+')).
test8() 126 Tests 'canthisbeFOUND'.match(/[\141-\172]+/).
SimpleFormTest test1() IE 34 Tests /[0-9]{3}/('23 2 34 678 9 09').
test2() IE 45 Tests /3.{4}8/('23 2 34 678 9 09').
test3() IE 56 Tests (/3.{4}8/('23 2 34 678 9 09')).length.
test4() IE 67 Tests re('23 2 34 678 9 09').
test5() IE 78 Tests re('23 2 34 678 9 09').
test6() IE 89 Tests /3.{4}8/('23 2 34 678 9 09').
test7() IE 100 Tests (re('23 2 34 678 9 09')).length.
test8() IE 111 Tests (/3.{4}8/('23 2 34 678 9 09')).length.
StringSplitTest test6() IE 84 Tests 'abc'.split(/[a-z]/).
test7() IE 95 Tests 'abc'.split(/[a-z]/).
test8() IE 106 Tests 'abc'.split(new RegExp('[a-z]')).
test9() IE 117 Tests 'abc'.split(new RegExp('[a-z]')).
GWTSourceTest stack() IE 39 Test case for StackTraceCreatorTest. Test case to be moved to {@link com.gargoylesoftware.htmlunit.javascript.SimpleScriptableTest}
JQuery126LocalTest test() 58  
JQuery126Test test() 57  
Prototype150rc1Test position() 99  
selector() 116  
Prototype160Test ajax() 34  
dom() 60 Note: testElementGetDimensions:, testElementGetStyle, testElementGetHeight, testElementScrollTo:, testPositionedOffset, testViewportOffset, testViewportDimensions, testViewportScrollOffsets and testElementGetWidth are expected to fail with HtmlUnit, as they need calculating width and height of all elements. Other tests succeed.
form() 103  
position() 128  
unitTests() 161 Depends on {@link com.gargoylesoftware.htmlunit.javascript.regexp.HtmlUnitRegExpProxyTest#test()}. 1 expected failure is because the server port is other than 4711
TinyMceTest api() 46  
basic() 55  
YuiTest config() 103  
editor() 151  
yuiLoaderRollup() 162  
UrlUtils2Test hash() 35