[prev in list] [next in list] [prev in thread] [next in thread] 

List:       htmlunit-develop
Subject:    [HtmlUnit] [ htmlunit-Bugs-3046109 ] Content of iframe is
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2010-08-27 14:48:46
Message-ID: E1Op0EY-0007dq-Ra () sfs-web-11 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Bugs item #3046109, was opened at 2010-08-16 11:43
Message generated for change (Comment added) made by mguillem
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=448266&aid=3046109&group_id=47038

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
> Resolution: Accepted
Priority: 5
Private: No
Submitted By: Hartmut Arlt (j3r0nim0)
Assigned to: Nobody/Anonymous (nobody)
Summary: Content of iframe is overwritten

Initial Comment:
Having a page containing an iframe whose 'src' attribute is not set, HtmlUnit \
overwrites the iframe's content in HtmlPage#loadFrames() regardless of its actual \
content.

The attached test case demonstrates this behaviour.

Verified using HtmlUnit 2.8 release. 

----------------------------------------------------------------------

> Comment By: Marc Guillemot (mguillem)
Date: 2010-08-27 16:48

Message:
Last line of unit test is wrong and should be something like:
		final HtmlPage enclosedPage = (HtmlPage)
page.getFrames().get(0).getEnclosedPage();
		enclosedPage.getHtmlElementById("myContent");

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=448266&aid=3046109&group_id=47038

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
HtmlUnit-develop mailing list
HtmlUnit-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic