osdir.com
mailing list archive

Subject: Re: [HtmlUnit] item function not defined. - msg#00136

List: java.htmlunit.devel

Date: Prev Next Index Thread: Prev Next Index
nimeshm@xxxxxxxxxx wrote:
> Should I put this as a defect or a feature request?

as a defect is ok.

Marc.



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click


Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: [HtmlUnit] Version 1.7 to fix 1.6?

Where do we stand on the jaxen/jelly issue? Could we do a 1.6.1 build this evening for example? I've just tested with jaxen-1.1-beta-4 and the problem is the same as with jaxen-1.1-beta-6. As already said, I don't know Jelly and don't have time to investigate it. It would be probably better if a Jelly expert takes the responsability of this issue. Marc. ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click

Next Message by Date: click to view message preview

Re: [HtmlUnit] Version 1.7 to fix 1.6?

--- Marc Guillemot <mguillemot@xxxxxxxx> wrote: > > Where do we stand on the jaxen/jelly issue? Could we do a 1.6.1 build > > this evening for example? > > I've just tested with jaxen-1.1-beta-4 and the problem is the same as with > jaxen-1.1-beta-6. As already said, I don't > know Jelly and don't have time to investigate it. It would be probably better > if a > Jelly expert takes the responsability > of this issue. When I tested beta-4 is still had the element ordering bug but not the xpath problem that beta-6 has. Since I don't really understand what the problem with beta-6 is (nor do I really "get" what jelly is for) I don't think I can comment on releasing with it. ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click

Previous Message by Thread: click to view message preview

RE: [HtmlUnit] item function not defined.

Should I put this as a defect or a feature request? -----Original Message----- From: Marc Guillemot [mailto:mguillemot@xxxxxxxx] Sent: Thursday, May 19, 2005 1:08 PM To: htmlunit-develop@xxxxxxxxxxxxxxxxxxxxx Subject: Re: [HtmlUnit] item function not defined. I guess that we forgot to migrate it from NativeArray to ElementArray and that no unit test complained about that. Marc. Gredler, Daniel (Matrix) wrote: > Hi, > > It looks like document.getElementsByTagName and document.getElementsByName > are returning NativeArrays. Does anyone know why they aren't returning > ElementArrays instead? ElementArray has the item() method... > > Regards, > > Daniel Gredler > > -----Original Message----- > From: htmlunit-develop-admin@xxxxxxxxxxxxxxxxxxxxx > [mailto:htmlunit-develop-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of > nimeshm@xxxxxxxxxx > Sent: Wednesday, May 18, 2005 7:55 AM > To: htmlunit-develop@xxxxxxxxxxxxxxxxxxxxx > Subject: [HtmlUnit] item function not defined. > > Hi, > > In my page I have JS which is as follows. > var li_list = document.getElementsByTagName("a"); > alert("First Items id = " + li_list.item(0).id); > > When I am executing this it throws an exception "[java] > org.mozilla.javascript.EcmaError: TypeError: item is not a function. > (Embedded script#12)" > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > _______________________________________________ > HtmlUnit-develop mailing list > HtmlUnit-develop@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/htmlunit-develop > ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ HtmlUnit-develop mailing list HtmlUnit-develop@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/htmlunit-develop MASTEK "Making a valuable difference" Mastek in NASSCOM's 'India Top 20' Software Service Exporters List. In the US, we're called MAJESCO ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from all computers. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_idt12&alloc_id344&op=click

Next Message by Thread: click to view message preview

[HtmlUnit] [ htmlunit-Feature Requests-1204628 ] improve XMLHttpRequest support

Feature Requests item #1204628, was opened at 2005-05-18 23:28 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448269&aid=1204628&group_id=47038 Category: None Group: None Status: Open Priority: 5 Submitted By: Ray Suliteanu (raysuliteanu) Assigned to: Nobody/Anonymous (nobody) Summary: improve XMLHttpRequest support Initial Comment: There are two differing descriptions of XMLHttpRequest, the one currently supported in version 1.6 described at http://developer.apple.com/internet/webcontent/xmlhttpreq.html and another one at http://xulplanet.com/references/objref/XMLHttpRequest.html. The latter has at least one additional method (I haven't done an exhaustive comparison) which therefore causes htmlunit to fail since it is not defined. Naturally I'm trying to test a page that uses it. Copying the description from the page ... void overrideMimeType ( AUTF8String mimetype ) Override the mime type returned by the server (if any). This may be used, for example, to force a stream to be treated and parsed as text/xml, even if the server does not report it as such. This must be done before the send method is invoked. Arguments: mimetype: The type used to override that returned by the server (if any). It would be nice if htmlunit supported this as well. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448269&aid=1204628&group_id=47038 ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by