[ http://webtest-community.canoo.com/jira/browse/WT-189?page=all ]
Marc Guillemot closed WT-189:
-----------------------------
Fix Version: future versions
Resolution: Fixed
Should be fixed in build 1354 as it includes htmlunit 1.9
See WT-210
> Add support for ownerDocument or document on Table and defaultView or
> parentWindow on document
> ----------------------------------------------------------------------------------------------
>
> Key: WT-189
> URL: http://webtest-community.canoo.com/jira/browse/WT-189
> Project: WebTest
> Type: New Feature
> Versions: 2.0
> Environment: Linux - Firefox, Opera, Konqueror
> Windows - Firefox, I.E.
> Reporter: Sonny Gill
> Assignee: Marc Guillemot
> Fix For: future versions
> Attachments: test.jsp
>
> The attached page renders correctly on many browsers, but a canoo test
> accessing this page fails.
> The reason is lack of support for -
> 1. at least one of the ownerDocument property or document property for HTML
> table element
> 2. at least one of the defaultView property or parentWindow property for HTML
> Document element
> This causes an error with the code -
> var oTable = document.getElementById('table-1');
> var oDocument = oTable.ownerDocument || oTable.document;
> var win = oDocument.defaultView || oDocument.parentWindow;
>
> These properties are used in the Sortable Table script by Erik Arvidsson.
> See - http://webfx.eae.net/dhtml/sortabletable/sortabletable.html
> In fact, a canoo test to access the demo page
> http://webfx.eae.net/dhtml/sortabletable/demo.html fails with the same error.
> I am not DOM or JS expert, but running simple tests shows support for these
> elements as follows -
> Browser | table.ownerDocument | table.document |
> document.defaultView | document.parentWindow
> ------------------------------------------------------------------------------------------------------------------------------------------------------------
> Firefox 1.5.0.2 | Y | N
> | Y | N
> Opera 8.5.2 | Y | Y
> | Y | Y
> Konqueror 3.4.2 | Y | Y
> | Y | N
> I.E. 6.0 | Y |
> Y | N |
> Y
> Hope this info helps.
> And a big Thank You to Marc Guillemot for helping with this issue on the
> mailing list -
> http://lists.canoo.com/pipermail/webtest/2006q2/005950.html
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest