You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(10) |
Aug
(30) |
Sep
(15) |
Oct
(26) |
Nov
(12) |
Dec
(17) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(7) |
Feb
(27) |
Mar
(73) |
Apr
(17) |
May
(17) |
Jun
(78) |
Jul
(67) |
Aug
(60) |
Sep
(89) |
Oct
(140) |
Nov
(173) |
Dec
(46) |
2004 |
Jan
(39) |
Feb
(7) |
Mar
(21) |
Apr
(31) |
May
(13) |
Jun
(86) |
Jul
(14) |
Aug
(14) |
Sep
(53) |
Oct
(184) |
Nov
(186) |
Dec
(319) |
2005 |
Jan
(336) |
Feb
(274) |
Mar
(226) |
Apr
(102) |
May
(196) |
Jun
(130) |
Jul
(119) |
Aug
(143) |
Sep
(76) |
Oct
(85) |
Nov
(70) |
Dec
(159) |
2006 |
Jan
(125) |
Feb
(100) |
Mar
(80) |
Apr
(39) |
May
(55) |
Jun
(58) |
Jul
(50) |
Aug
(76) |
Sep
(55) |
Oct
(101) |
Nov
(163) |
Dec
(85) |
2007 |
Jan
(56) |
Feb
(53) |
Mar
(180) |
Apr
(221) |
May
(290) |
Jun
(199) |
Jul
(322) |
Aug
(515) |
Sep
(121) |
Oct
(297) |
Nov
(177) |
Dec
(103) |
2008 |
Jan
(516) |
Feb
(315) |
Mar
(586) |
Apr
(615) |
May
(197) |
Jun
(381) |
Jul
(390) |
Aug
(195) |
Sep
(603) |
Oct
(499) |
Nov
(622) |
Dec
(350) |
2009 |
Jan
(313) |
Feb
(338) |
Mar
(507) |
Apr
(317) |
May
(197) |
Jun
(375) |
Jul
(235) |
Aug
(424) |
Sep
(410) |
Oct
(338) |
Nov
(286) |
Dec
(306) |
2010 |
Jan
(367) |
Feb
(339) |
Mar
(371) |
Apr
(172) |
May
(233) |
Jun
(264) |
Jul
(421) |
Aug
(110) |
Sep
(218) |
Oct
(189) |
Nov
(185) |
Dec
(168) |
2011 |
Jan
(145) |
Feb
(213) |
Mar
(205) |
Apr
(64) |
May
(159) |
Jun
(67) |
Jul
(104) |
Aug
(126) |
Sep
(144) |
Oct
(106) |
Nov
(154) |
Dec
(225) |
2012 |
Jan
(111) |
Feb
(87) |
Mar
(131) |
Apr
(102) |
May
(180) |
Jun
(160) |
Jul
(412) |
Aug
(315) |
Sep
(311) |
Oct
(369) |
Nov
(464) |
Dec
(284) |
2013 |
Jan
(343) |
Feb
(165) |
Mar
(174) |
Apr
(120) |
May
(153) |
Jun
(134) |
Jul
(202) |
Aug
(105) |
Sep
(228) |
Oct
(332) |
Nov
(192) |
Dec
(219) |
2014 |
Jan
(348) |
Feb
(194) |
Mar
(189) |
Apr
(188) |
May
(297) |
Jun
(206) |
Jul
(79) |
Aug
(279) |
Sep
(111) |
Oct
(159) |
Nov
(61) |
Dec
(78) |
2015 |
Jan
(152) |
Feb
(145) |
Mar
(239) |
Apr
(223) |
May
(248) |
Jun
(296) |
Jul
(172) |
Aug
(189) |
Sep
(338) |
Oct
(217) |
Nov
(131) |
Dec
(184) |
2016 |
Jan
(118) |
Feb
(221) |
Mar
(414) |
Apr
(412) |
May
(303) |
Jun
(133) |
Jul
(129) |
Aug
(121) |
Sep
(136) |
Oct
(67) |
Nov
(89) |
Dec
(245) |
2017 |
Jan
(349) |
Feb
(90) |
Mar
(328) |
Apr
(430) |
May
(284) |
Jun
(199) |
Jul
(164) |
Aug
(120) |
Sep
(57) |
Oct
(105) |
Nov
(108) |
Dec
(146) |
2018 |
Jan
(85) |
Feb
(48) |
Mar
(97) |
Apr
(62) |
May
(64) |
Jun
(136) |
Jul
(123) |
Aug
(87) |
Sep
(17) |
Oct
(27) |
Nov
(9) |
Dec
(16) |
2019 |
Jan
(9) |
Feb
(17) |
Mar
(18) |
Apr
(14) |
May
(8) |
Jun
|
Jul
(6) |
Aug
(12) |
Sep
(5) |
Oct
|
Nov
(2) |
Dec
|
2020 |
Jan
(8) |
Feb
|
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
(4) |
Oct
(1) |
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(4) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(4) |
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2023 |
Jan
|
Feb
(6) |
Mar
(9) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: RBRi <rb...@us...> - 2021-05-23 11:21:20
|
- **status**: accepted --> closed - **assigned_to**: RBRi --- ** [feature-requests:#229] Add support for animationend event** **Status:** closed **Group:** Latest SVN **Labels:** javascript event **Created:** Fri Apr 15, 2016 08:34 AM UTC by Madis Pärn **Last Updated:** Sun May 23, 2021 11:21 AM UTC **Owner:** RBRi https://developer.mozilla.org/en-US/docs/Web/Events/animationend --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/feature-requests/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2021-05-23 11:21:09
|
In between implemented. --- ** [feature-requests:#229] Add support for animationend event** **Status:** accepted **Group:** Latest SVN **Labels:** javascript event **Created:** Fri Apr 15, 2016 08:34 AM UTC by Madis Pärn **Last Updated:** Fri Apr 15, 2016 09:14 AM UTC **Owner:** nobody https://developer.mozilla.org/en-US/docs/Web/Events/animationend --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/feature-requests/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2021-05-23 11:17:14
|
- **status**: open --> closed - **assigned_to**: RBRi - **Comment**: this is supported since some versions now --- ** [feature-requests:#259] Support for Content-Security-Policy Header** **Status:** closed **Group:** 2.32 **Created:** Thu May 02, 2019 08:32 PM UTC by Nathan Bowman **Last Updated:** Thu May 02, 2019 08:32 PM UTC **Owner:** RBRi Currently working on adding a proper CSP Header to an existing web service. The itegration testing for this service is accomplished using HtmlUnit and Selenium, and from what I can gather properly testing a Content Policy would as of now require a switch to a different Browser like Chrome. I would prefer to stick with HtmlUnit in order to avoid extra environmental prerequisites within the test scope of the project. Documentation for Content-Security-Policy: https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/feature-requests/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2021-05-23 11:15:00
|
- **status**: open --> closed - **Comment**: without more details i can't do anything here --- ** [bugs:#2022] java.lang.ExceptionInInitializerError is thrown when new WebClient** **Status:** closed **Group:** 2.36.0 **Created:** Mon Aug 26, 2019 03:53 PM UTC by Karen Zhang **Last Updated:** Sat Sep 07, 2019 08:55 AM UTC **Owner:** nobody Hi, I am tring to integrate HtmlUnit into my Android project, but the java.lang.ExceptionInInitializerError is thrown when create WebClient. My code is : WebClient wc = new WebClient(); Grandle: compile 'net.sourceforge.htmlunit:htmlunit:2.36.0' Please advise, thanks --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2021-04-10 16:16:25
|
- **status**: open --> closed - **assigned_to**: RBRi --- ** [feature-requests:#251] Tests run slow** **Status:** closed **Group:** 2.29 **Labels:** tests **Created:** Sun Mar 11, 2018 10:52 PM UTC by Alex **Last Updated:** Sat Apr 10, 2021 04:16 PM UTC **Owner:** RBRi SVN revision 15163, Windows 10, jdk 1.8.0_162 x64. Tests run for ~1hour mostly with low 5% cpu usage. ~~~ [INFO] Total time: 01:11 h [INFO] Finished at: 2018-03-12T00:09:48+02:00 [INFO] Final Memory: 26M/589M ~~~ --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/feature-requests/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2021-04-10 16:16:13
|
Have done a lot in the past to make the suite faster - at lease most of the slow tests are no longer using alert(). --- ** [feature-requests:#251] Tests run slow** **Status:** open **Group:** 2.29 **Labels:** tests **Created:** Sun Mar 11, 2018 10:52 PM UTC by Alex **Last Updated:** Sun Mar 11, 2018 10:52 PM UTC **Owner:** nobody SVN revision 15163, Windows 10, jdk 1.8.0_162 x64. Tests run for ~1hour mostly with low 5% cpu usage. ~~~ [INFO] Total time: 01:11 h [INFO] Finished at: 2018-03-12T00:09:48+02:00 [INFO] Final Memory: 26M/589M ~~~ --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/feature-requests/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: Chander <bl...@gm...> - 2020-10-26 03:21:03
|
Hi, I am using HtmlUnit to upload a file by making a request to the spring controller. The file is of type MultipartFile. Using the below code works only for File Type java.io.File. How do i make the call for MultipartFile? WebRequest request = new WebRequest(new URL("/customer/uploadfile),POST); request.setRequestParameters(toList(new KeyDataPair("newfile", file,"customerfile", "multipart/form-data", StandardCharsets.UTF_8))); I always receive Null inside the method for the file.. public ModelAndView uploadCustomerFile(ModelMap model, RedirectAttributes redirect, @ModelAttribute MultipartFile file ) { } Please let me know.. Thanks for your time, Chander |
From: RBRi <rb...@us...> - 2020-09-25 12:25:24
|
Looks fine now - thansl for the support. --- ** [bugs:#2001] Insufficient validation of input elements** **Status:** closed **Group:** 2.33 **Created:** Mon Nov 19, 2018 12:29 PM UTC by Anton **Last Updated:** Fri Sep 18, 2020 05:59 PM UTC **Owner:** nobody Hi All, It seems that current implementation supports only required attribute validation for input element (attribute required and value is not empty). But html specify more options: - maxlength - min - max - pattern So it would be nice to use them to calculate input validity before form submission. If it would be necessary I could provide patch for this feature a bit later. Best regards --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2020-09-18 15:53:17
|
- **status**: open --> closed --- ** [bugs:#2001] Insufficient validation of input elements** **Status:** closed **Group:** 2.33 **Created:** Mon Nov 19, 2018 12:29 PM UTC by Anton **Last Updated:** Fri Sep 18, 2020 03:52 PM UTC **Owner:** nobody Hi All, It seems that current implementation supports only required attribute validation for input element (attribute required and value is not empty). But html specify more options: - maxlength - min - max - pattern So it would be nice to use them to calculate input validity before form submission. If it would be necessary I could provide patch for this feature a bit later. Best regards --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2020-09-18 15:52:59
|
Many thanks for your PR - will close this. --- ** [bugs:#2001] Insufficient validation of input elements** **Status:** open **Group:** 2.33 **Created:** Mon Nov 19, 2018 12:29 PM UTC by Anton **Last Updated:** Mon Sep 07, 2020 06:17 PM UTC **Owner:** nobody Hi All, It seems that current implementation supports only required attribute validation for input element (attribute required and value is not empty). But html specify more options: - maxlength - min - max - pattern So it would be nice to use them to calculate input validity before form submission. If it would be necessary I could provide patch for this feature a bit later. Best regards --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2020-09-07 21:57:07
|
Sounds great, thanks Am 7. September 2020 20:17:18 MESZ schrieb Anton <dse...@us...>: >Sorry for a long silence, completely forget that I have unclosed issue. >I will upgrade to current codebase and provide PR in github. > > >--- > >** [bugs:#2001] Insufficient validation of input elements** > >**Status:** open >**Group:** 2.33 >**Created:** Mon Nov 19, 2018 12:29 PM UTC by Anton >**Last Updated:** Sat Mar 30, 2019 02:27 PM UTC >**Owner:** nobody > > >Hi All, > >It seems that current implementation supports only required attribute >validation for input element (attribute required and value is not >empty). > >But html specify more options: >- maxlength >- min >- max >- pattern > >So it would be nice to use them to calculate input validity before form >submission. >If it would be necessary I could provide patch for this feature a bit >later. > >Best regards > > >--- > >Sent from sourceforge.net because you indicated interest in ><https://sourceforge.net/p/htmlunit/bugs/2001/> > > > >To unsubscribe from further messages, please visit ><https://sourceforge.net/auth/subscriptions/> -- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet. --- ** [bugs:#2001] Insufficient validation of input elements** **Status:** open **Group:** 2.33 **Created:** Mon Nov 19, 2018 12:29 PM UTC by Anton **Last Updated:** Mon Sep 07, 2020 06:17 PM UTC **Owner:** nobody Hi All, It seems that current implementation supports only required attribute validation for input element (attribute required and value is not empty). But html specify more options: - maxlength - min - max - pattern So it would be nice to use them to calculate input validity before form submission. If it would be necessary I could provide patch for this feature a bit later. Best regards --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2020-07-19 15:51:21
|
- **status**: open --> closed - **assigned_to**: RBRi --- ** [bugs:#2026] Vue.JS support** **Status:** closed **Group:** 2.36.0 **Labels:** javascript **Created:** Fri Oct 11, 2019 05:33 AM UTC by Archimedes Trajano **Last Updated:** Sun Jul 19, 2020 03:51 PM UTC **Owner:** RBRi I am having trouble getting Vue to work. It executes the `new Vue()` correctly, but the rendered element remains as `<!---->` when I try to debug it. Here is more information on what I have been doing. https://stackoverflow.com/questions/58331563/htmlunit-and-vue-components --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2020-07-19 15:51:03
|
There is an issue at github about this - please check there for any progress here. At least your case above should be fixed with the current version. --- ** [bugs:#2026] Vue.JS support** **Status:** open **Group:** 2.36.0 **Labels:** javascript **Created:** Fri Oct 11, 2019 05:33 AM UTC by Archimedes Trajano **Last Updated:** Fri Oct 11, 2019 05:33 AM UTC **Owner:** nobody I am having trouble getting Vue to work. It executes the `new Vue()` correctly, but the rendered element remains as `<!---->` when I try to debug it. Here is more information on what I have been doing. https://stackoverflow.com/questions/58331563/htmlunit-and-vue-components --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2020-03-08 18:25:16
|
- **status**: pending --> closed - **assigned_to**: RBRi - **Group**: Latest SVN --> 2.38.0 --- ** [feature-requests:#165] Allow Precise Flash Configuration** **Status:** closed **Group:** 2.38.0 **Created:** Tue Mar 23, 2010 02:39 PM UTC by Matt Raible **Last Updated:** Sun Mar 08, 2020 06:24 PM UTC **Owner:** RBRi By default, BrowserVersion.FIREFOX_3 uses Flash 9.0.31 and I need Flash 9.0.124. It'd be great if more precise Flash version configuration was available. http://old.nabble.com/Using-HtmlUnit-to-create-HTML-Snapshots-tp27859965p27984010.html --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/feature-requests/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2020-03-08 18:24:59
|
Flash is more or less dead (only supported by IE). Will close this. --- ** [feature-requests:#165] Allow Precise Flash Configuration** **Status:** pending **Group:** Latest SVN **Created:** Tue Mar 23, 2010 02:39 PM UTC by Matt Raible **Last Updated:** Tue Nov 22, 2016 06:17 PM UTC **Owner:** nobody By default, BrowserVersion.FIREFOX_3 uses Flash 9.0.31 and I need Flash 9.0.124. It'd be great if more precise Flash version configuration was available. http://old.nabble.com/Using-HtmlUnit-to-create-HTML-Snapshots-tp27859965p27984010.html --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/feature-requests/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2020-03-08 18:14:18
|
- **status**: open --> closed - **assigned_to**: RBRi - **Group**: --> 2.38.0 --- ** [feature-requests:#146] Do not recreate host configuration per-request** **Status:** closed **Group:** 2.38.0 **Labels:** Interface Improvements (example) **Created:** Fri Jul 03, 2009 11:12 PM UTC by Daniel Radetsky **Last Updated:** Sun Mar 08, 2020 06:12 PM UTC **Owner:** RBRi Currently, getResponse calls getHostConfiguration, which creates a new HostConfiguration and then modifies it based on the WebRequestSettings. Instead, the WebClient should have a member HostConfiguration, which it modifies based on the request settings. Optionally, the member configuration could be copied for getResponse and then modified for the request based on the request settings. This might be better, since: 1. Different concurrent requests could have different configurations. 2. If some part of the codebase expects that each request has its own HostConfiguration (are they modified, perhaps?), this expectation would not be disappointed. --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/feature-requests/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2020-03-08 18:12:08
|
There was a lot refactoring done in the past. Have done a check and think your point was already solved. Additionally i have removed the method getHostConfiguration completly because. --- ** [feature-requests:#146] Do not recreate host configuration per-request** **Status:** open **Group:** **Labels:** Interface Improvements (example) **Created:** Fri Jul 03, 2009 11:12 PM UTC by Daniel Radetsky **Last Updated:** Sun Oct 21, 2012 04:15 AM UTC **Owner:** nobody Currently, getResponse calls getHostConfiguration, which creates a new HostConfiguration and then modifies it based on the WebRequestSettings. Instead, the WebClient should have a member HostConfiguration, which it modifies based on the request settings. Optionally, the member configuration could be copied for getResponse and then modified for the request based on the request settings. This might be better, since: 1. Different concurrent requests could have different configurations. 2. If some part of the codebase expects that each request has its own HostConfiguration (are they modified, perhaps?), this expectation would not be disappointed. --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/feature-requests/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2020-03-02 11:58:00
|
- **status**: open --> closed - **assigned_to**: RBRi --- ** [bugs:#1937] 'Form' attribute is not supported for input element** **Status:** closed **Group:** 2.28 **Created:** Wed Dec 20, 2017 12:40 PM UTC by Anton **Last Updated:** Mon Mar 02, 2020 11:57 AM UTC **Owner:** RBRi **Attachments:** - [form-attribute.patch](https://sourceforge.net/p/htmlunit/bugs/1937/attachment/form-attribute.patch) (9.2 kB; application/octet-stream) > Attribute specifies the form element the <input> element belongs to. The value of this attribute must be the id attribute of a <form> element in the same document. So with 'form' attribute it is should possible: - to have input element outside the form. (Should be submitted with form) - to have input element inside the from(1) which belongs to another form(2) (Should not be submitted with form (1)) More info - [Association of controls and forms](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fae-form) Please find tests and fix in attachment --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2020-03-02 11:57:43
|
Sorry Anton for being that late on this. This should be now fixed. See https://github.com/HtmlUnit/htmlunit/issues/132 And many thanks for the patch. --- ** [bugs:#1937] 'Form' attribute is not supported for input element** **Status:** open **Group:** 2.28 **Created:** Wed Dec 20, 2017 12:40 PM UTC by Anton **Last Updated:** Thu Feb 15, 2018 09:20 AM UTC **Owner:** nobody **Attachments:** - [form-attribute.patch](https://sourceforge.net/p/htmlunit/bugs/1937/attachment/form-attribute.patch) (9.2 kB; application/octet-stream) > Attribute specifies the form element the <input> element belongs to. The value of this attribute must be the id attribute of a <form> element in the same document. So with 'form' attribute it is should possible: - to have input element outside the form. (Should be submitted with form) - to have input element inside the from(1) which belongs to another form(2) (Should not be submitted with form (1)) More info - [Association of controls and forms](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fae-form) Please find tests and fix in attachment --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2020-01-14 19:07:37
|
- **status**: accepted --> closed - **assigned_to**: RBRi --- ** [bugs:#1920] getOwnPropertyDescriptor(input, 'value').get.call is undefined** **Status:** closed **Group:** Latest SVN **Created:** Tue Sep 12, 2017 07:25 AM UTC by Atsushi Nakagawa **Last Updated:** Tue Jan 14, 2020 07:07 PM UTC **Owner:** RBRi Tested against latest trunk which is r14831. This is related to [#1900](https://sourceforge.net/p/htmlunit/bugs/1900/) in that its fix is required to uncover this problem. # Problem: `Object.getOwnPropertyDescriptor(HTMLInputElement, "value")` returns an instance whose `.get.call` is `undefined`. # Test: The following code: ``` <!DOCTYPE html> <html> <head> <script> function test() { var x = Object.getOwnPropertyDescriptor(i1.constructor.prototype, 'value') console.log('x = ' + x) console.log('x.get = ' + x.get) console.log('x.get.call = ' + x.get.call) } </script> </head> <body> <input type="text" id="i1" value="foo"/> <input type="button" onclick="test()" value="test"/> </body> </html> ``` Produces something similar to this in major browsers: ``` x = [object Object] x.get = function () { [native code] } x.get.call = function call() { [native code] } ``` The result with htmlunit r14831 is: ``` x = [object Object] x.get = function () { [native code] } x.get.call = undefined ``` --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2020-01-14 19:07:08
|
- **Comment**: This is fixed now. As you already mentioned the major part is fixed in Rhino. And the second part was broken because the value prop was not available. This is now also fixed. Will release shortly. --- ** [bugs:#1920] getOwnPropertyDescriptor(input, 'value').get.call is undefined** **Status:** accepted **Group:** Latest SVN **Created:** Tue Sep 12, 2017 07:25 AM UTC by Atsushi Nakagawa **Last Updated:** Sat Jan 04, 2020 05:34 PM UTC **Owner:** nobody Tested against latest trunk which is r14831. This is related to [#1900](https://sourceforge.net/p/htmlunit/bugs/1900/) in that its fix is required to uncover this problem. # Problem: `Object.getOwnPropertyDescriptor(HTMLInputElement, "value")` returns an instance whose `.get.call` is `undefined`. # Test: The following code: ``` <!DOCTYPE html> <html> <head> <script> function test() { var x = Object.getOwnPropertyDescriptor(i1.constructor.prototype, 'value') console.log('x = ' + x) console.log('x.get = ' + x.get) console.log('x.get.call = ' + x.get.call) } </script> </head> <body> <input type="text" id="i1" value="foo"/> <input type="button" onclick="test()" value="test"/> </body> </html> ``` Produces something similar to this in major browsers: ``` x = [object Object] x.get = function () { [native code] } x.get.call = function call() { [native code] } ``` The result with htmlunit r14831 is: ``` x = [object Object] x.get = function () { [native code] } x.get.call = undefined ``` --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2020-01-04 17:34:45
|
Testcase added as com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine2Test.getOwnPropertyDescriptorGetCall() --- ** [bugs:#1920] getOwnPropertyDescriptor(input, 'value').get.call is undefined** **Status:** accepted **Group:** Latest SVN **Created:** Tue Sep 12, 2017 07:25 AM UTC by Atsushi Nakagawa **Last Updated:** Sun Aug 05, 2018 10:50 AM UTC **Owner:** nobody Tested against latest trunk which is r14831. This is related to [#1900](https://sourceforge.net/p/htmlunit/bugs/1900/) in that its fix is required to uncover this problem. # Problem: `Object.getOwnPropertyDescriptor(HTMLInputElement, "value")` returns an instance whose `.get.call` is `undefined`. # Test: The following code: ``` <!DOCTYPE html> <html> <head> <script> function test() { var x = Object.getOwnPropertyDescriptor(i1.constructor.prototype, 'value') console.log('x = ' + x) console.log('x.get = ' + x.get) console.log('x.get.call = ' + x.get.call) } </script> </head> <body> <input type="text" id="i1" value="foo"/> <input type="button" onclick="test()" value="test"/> </body> </html> ``` Produces something similar to this in major browsers: ``` x = [object Object] x.get = function () { [native code] } x.get.call = function call() { [native code] } ``` The result with htmlunit r14831 is: ``` x = [object Object] x.get = function () { [native code] } x.get.call = undefined ``` --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2020-01-04 17:10:18
|
- **status**: open --> closed --- ** [bugs:#1717] JavaScript: Worker.postMessage() is not implemented** **Status:** closed **Group:** 2.18 **Created:** Thu Sep 03, 2015 03:16 PM UTC by Tommy Zhang **Last Updated:** Sat Jan 04, 2020 05:10 PM UTC **Owner:** nobody Hi, this is a great tool even I hit this error. I am trying to access a web site: http://finance.yahoo.com/lookup and use htmlunit to change a value in the input field of the form, then click a button from that form and get the second page back. The html page snippet like below: ~~~~~~~~~~~~~~~~~~~~~~~ <div class="bd"> <form accept-charset="UTF-8" method="GET" action="/q" name="quote" id="quote" class="get-quotes has-button"> <i class='magIcon'></i> <input placeholder="Enter a ticker or company name" type="text" autocomplete="off" value="" name="s" id="txtQuotes" class="get-quotes-box"> <input type="hidden" autocomplete="off" value="1" name="ql" id="get_quote_logic_opt"> <input type="submit" class="get-quotes-button rapid-nf Bdrs" value="Go" id="btnQuotes"> </form> ... </div> ~~~~~~~~~~~~~~~~~~~~~~~ my code is like below: ~~~~~~~~~~~~~~~~~~~~~~~ try { final WebClient webClient = new WebClient(BrowserVersion.INTERNET_EXPLORER_11); final HtmlPage page1 = webClient.getPage("http://finance.yahoo.com/lookup"); // get button from the page final HtmlSubmitInput button = page1.getFirstByXPath("//input[@id='btnQuotes']"); // get text field from the page final HtmlTextInput textField = page1.getFirstByXPath("//input[@id='txtQuotes']"); // Change the value of the text field textField.setValueAttribute("google"); // Now submit the form by clicking the button and get back the second page. final HtmlPage page2 = button.click(); // it fails here page2.save(myfile); } catch (IOException e){ } ~~~~~~~~~~~~~~~~~~~~~~~ It fails at line of "final HtmlPage page2 = button.click();". It seems it is able to get to the second page URL correctly, which means button click is functionning well and text field filling is okay, but fails at later process. The second page URL is like this (see below from exception messages): http://finance.yahoo.com/q?s=GOOG I have searched your bugs Mailing Lists, someone reported a similar issue at this number: #1481 HtmlUnit can't open http:mailtrap.io (func postMessage is missing) and this ticket was fixed and closed. Not sure why I am hitting it again. I am using latest downaloaded version of htmlunit-2.18. Many thanks for your help. Tommy ~~~~~~~~~~~~~~~~~~~~~~~ Exception messages below: Exception in thread "main" ======= EXCEPTION START ======== EcmaError: lineNumber=[7] column=[0] lineSource=[<no source>] name=[TypeError] sourceName=[http://l.yimg.com/zz/combo?os/mit/td/stencil-0.1.150/stencil/stencil-min.js&os/mit/td/mjata-0.4.2/mjata-util/mjata-util-min.js&os/mit/td/stencil-0.1.150/stencil-source/stencil-source-min.js&os/mit/td/stencil-0.1.150/stencil-tooltip/stencil-tooltip-min.js&os/mit/td/stencil-0.1.150/stencil-imageloader/stencil-imageloader-min.js&ss/rapid-3.18.3.js] message=[TypeError: Cannot find function postMessage in object [object Worker]. (http://l.yimg.com/zz/combo?os/mit/td/stencil-0.1.150/stencil/stencil-min.js&os/mit/td/mjata-0.4.2/mjata-util/mjata-util-min.js&os/mit/td/stencil-0.1.150/stencil-source/stencil-source-min.js&os/mit/td/stencil-0.1.150/stencil-tooltip/stencil-tooltip-min.js&os/mit/td/stencil-0.1.150/stencil-imageloader/stencil-imageloader-min.js&ss/rapid-3.18.3.js#7)] com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function postMessage in object [object Worker]. (http://l.yimg.com/zz/combo?os/mit/td/stencil-0.1.150/stencil/stencil-min.js&os/mit/td/mjata-0.4.2/mjata-util/mjata-util-min.js&os/mit/td/stencil-0.1.150/stencil-source/stencil-source-min.js&os/mit/td/stencil-0.1.150/stencil-tooltip/stencil-tooltip-min.js&os/mit/td/stencil-0.1.150/stencil-imageloader/stencil-imageloader-min.js&ss/rapid-3.18.3.js#7) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:865) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:628) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:513) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:747) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:722) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:945) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeInlineScriptIfNeeded(HtmlScript.java:351) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:411) at com.gargoylesoftware.htmlunit.html.HtmlScript$3.execute(HtmlScript.java:276) at com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:290) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:800) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:757) at org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1170) at org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1072) at org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:206) at org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:330) at org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:3126) at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2093) at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:920) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:1040) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:253) at com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:199) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:272) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:160) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:476) at com.gargoylesoftware.htmlunit.WebClient.loadDownloadedResponses(WebClient.java:2123) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.doProcessPostponedActions(JavaScriptEngine.java:893) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.processPostponedActions(JavaScriptEngine.java:983) at com.gargoylesoftware.htmlunit.html.DomElement.click(DomElement.java:790) at com.gargoylesoftware.htmlunit.html.DomElement.click(DomElement.java:733) at com.gargoylesoftware.htmlunit.html.DomElement.click(DomElement.java:680) at ReadWeb.getStockSymbol(ReadWeb.java:49) at ReadWeb.main(ReadWeb.java:20) Caused by: net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot find function postMessage in object [object Worker]. (http://l.yimg.com/zz/combo?os/mit/td/stencil-0.1.150/stencil/stencil-min.js&os/mit/td/mjata-0.4.2/mjata-util/mjata-util-min.js&os/mit/td/stencil-0.1.150/stencil-source/stencil-source-min.js&os/mit/td/stencil-0.1.150/stencil-tooltip/stencil-tooltip-min.js&os/mit/td/stencil-0.1.150/stencil-imageloader/stencil-imageloader-min.js&ss/rapid-3.18.3.js#7) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3935) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3919) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3944) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3960) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:4027) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2426) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2408) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1337) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:310) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3286) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:115) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$3.doRun(JavaScriptEngine.java:738) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:850) ... 36 more Enclosed exception: net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot find function postMessage in object [object Worker]. (http://l.yimg.com/zz/combo?os/mit/td/stencil-0.1.150/stencil/stencil-min.js&os/mit/td/mjata-0.4.2/mjata-util/mjata-util-min.js&os/mit/td/stencil-0.1.150/stencil-source/stencil-source-min.js&os/mit/td/stencil-0.1.150/stencil-tooltip/stencil-tooltip-min.js&os/mit/td/stencil-0.1.150/stencil-imageloader/stencil-imageloader-min.js&ss/rapid-3.18.3.js#7) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3935) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3919) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3944) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3960) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:4027) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2426) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2408) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1337) at script.M(http://l.yimg.com/zz/combo?os/mit/td/stencil-0.1.150/stencil/stencil-min.js&os/mit/td/mjata-0.4.2/mjata-util/mjata-util-min.js&os/mit/td/stencil-0.1.150/stencil-source/stencil-source-min.js&os/mit/td/stencil-0.1.150/stencil-tooltip/stencil-tooltip-min.js&os/mit/td/stencil-0.1.150/stencil-imageloader/stencil-imageloader-min.js&ss/rapid-3.18.3.js:7) at script.D(http://l.yimg.com/zz/combo?os/mit/td/stencil-0.1.150/stencil/stencil-min.js&os/mit/td/mjata-0.4.2/mjata-util/mjata-util-min.js&os/mit/td/stencil-0.1.150/stencil-source/stencil-source-min.js&os/mit/td/stencil-0.1.150/stencil-tooltip/stencil-tooltip-min.js&os/mit/td/stencil-0.1.150/stencil-imageloader/stencil-imageloader-min.js&ss/rapid-3.18.3.js:7) at script(http://l.yimg.com/zz/combo?os/mit/td/stencil-0.1.150/stencil/stencil-min.js&os/mit/td/mjata-0.4.2/mjata-util/mjata-util-min.js&os/mit/td/stencil-0.1.150/stencil-source/stencil-source-min.js&os/mit/td/stencil-0.1.150/stencil-tooltip/stencil-tooltip-min.js&os/mit/td/stencil-0.1.150/stencil-imageloader/stencil-imageloader-min.js&ss/rapid-3.18.3.js:7) at script.R(http://l.yimg.com/zz/combo?os/mit/td/stencil-0.1.150/stencil/stencil-min.js&os/mit/td/mjata-0.4.2/mjata-util/mjata-util-min.js&os/mit/td/stencil-0.1.150/stencil-source/stencil-source-min.js&os/mit/td/stencil-0.1.150/stencil-tooltip/stencil-tooltip-min.js&os/mit/td/stencil-0.1.150/stencil-imageloader/stencil-imageloader-min.js&ss/rapid-3.18.3.js:7) at script(http://l.yimg.com/zz/combo?os/mit/td/stencil-0.1.150/stencil/stencil-min.js&os/mit/td/mjata-0.4.2/mjata-util/mjata-util-min.js&os/mit/td/stencil-0.1.150/stencil-source/stencil-source-min.js&os/mit/td/stencil-0.1.150/stencil-tooltip/stencil-tooltip-min.js&os/mit/td/stencil-0.1.150/stencil-imageloader/stencil-imageloader-min.js&ss/rapid-3.18.3.js:28) at script(script in http://finance.yahoo.com/q?s=GOOG from (609, 42) to (632, 11):630) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:310) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3286) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:115) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$3.doRun(JavaScriptEngine.java:738) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:850) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:628) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:513) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:747) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:722) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:945) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeInlineScriptIfNeeded(HtmlScript.java:351) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:411) at com.gargoylesoftware.htmlunit.html.HtmlScript$3.execute(HtmlScript.java:276) at com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:290) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:800) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:757) at org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1170) at org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1072) at org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:206) at org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:330) at org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:3126) at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2093) at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:920) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:1040) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:253) at com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:199) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:272) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:160) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:476) at com.gargoylesoftware.htmlunit.WebClient.loadDownloadedResponses(WebClient.java:2123) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.doProcessPostponedActions(JavaScriptEngine.java:893) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.processPostponedActions(JavaScriptEngine.java:983) at com.gargoylesoftware.htmlunit.html.DomElement.click(DomElement.java:790) at com.gargoylesoftware.htmlunit.html.DomElement.click(DomElement.java:733) at com.gargoylesoftware.htmlunit.html.DomElement.click(DomElement.java:680) at ReadWeb.getStockSymbol(ReadWeb.java:49) at ReadWeb.main(ReadWeb.java:20) ======= EXCEPTION END ======== ~~~~~~~~~~~~~~~~~~~~~~~ --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2020-01-04 17:10:07
|
postMessage is avaialbe - will close this. --- ** [bugs:#1717] JavaScript: Worker.postMessage() is not implemented** **Status:** open **Group:** 2.18 **Created:** Thu Sep 03, 2015 03:16 PM UTC by Tommy Zhang **Last Updated:** Thu Sep 03, 2015 05:03 PM UTC **Owner:** nobody Hi, this is a great tool even I hit this error. I am trying to access a web site: http://finance.yahoo.com/lookup and use htmlunit to change a value in the input field of the form, then click a button from that form and get the second page back. The html page snippet like below: ~~~~~~~~~~~~~~~~~~~~~~~ <div class="bd"> <form accept-charset="UTF-8" method="GET" action="/q" name="quote" id="quote" class="get-quotes has-button"> <i class='magIcon'></i> <input placeholder="Enter a ticker or company name" type="text" autocomplete="off" value="" name="s" id="txtQuotes" class="get-quotes-box"> <input type="hidden" autocomplete="off" value="1" name="ql" id="get_quote_logic_opt"> <input type="submit" class="get-quotes-button rapid-nf Bdrs" value="Go" id="btnQuotes"> </form> ... </div> ~~~~~~~~~~~~~~~~~~~~~~~ my code is like below: ~~~~~~~~~~~~~~~~~~~~~~~ try { final WebClient webClient = new WebClient(BrowserVersion.INTERNET_EXPLORER_11); final HtmlPage page1 = webClient.getPage("http://finance.yahoo.com/lookup"); // get button from the page final HtmlSubmitInput button = page1.getFirstByXPath("//input[@id='btnQuotes']"); // get text field from the page final HtmlTextInput textField = page1.getFirstByXPath("//input[@id='txtQuotes']"); // Change the value of the text field textField.setValueAttribute("google"); // Now submit the form by clicking the button and get back the second page. final HtmlPage page2 = button.click(); // it fails here page2.save(myfile); } catch (IOException e){ } ~~~~~~~~~~~~~~~~~~~~~~~ It fails at line of "final HtmlPage page2 = button.click();". It seems it is able to get to the second page URL correctly, which means button click is functionning well and text field filling is okay, but fails at later process. The second page URL is like this (see below from exception messages): http://finance.yahoo.com/q?s=GOOG I have searched your bugs Mailing Lists, someone reported a similar issue at this number: #1481 HtmlUnit can't open http:mailtrap.io (func postMessage is missing) and this ticket was fixed and closed. Not sure why I am hitting it again. I am using latest downaloaded version of htmlunit-2.18. Many thanks for your help. Tommy ~~~~~~~~~~~~~~~~~~~~~~~ Exception messages below: Exception in thread "main" ======= EXCEPTION START ======== EcmaError: lineNumber=[7] column=[0] lineSource=[<no source>] name=[TypeError] sourceName=[http://l.yimg.com/zz/combo?os/mit/td/stencil-0.1.150/stencil/stencil-min.js&os/mit/td/mjata-0.4.2/mjata-util/mjata-util-min.js&os/mit/td/stencil-0.1.150/stencil-source/stencil-source-min.js&os/mit/td/stencil-0.1.150/stencil-tooltip/stencil-tooltip-min.js&os/mit/td/stencil-0.1.150/stencil-imageloader/stencil-imageloader-min.js&ss/rapid-3.18.3.js] message=[TypeError: Cannot find function postMessage in object [object Worker]. (http://l.yimg.com/zz/combo?os/mit/td/stencil-0.1.150/stencil/stencil-min.js&os/mit/td/mjata-0.4.2/mjata-util/mjata-util-min.js&os/mit/td/stencil-0.1.150/stencil-source/stencil-source-min.js&os/mit/td/stencil-0.1.150/stencil-tooltip/stencil-tooltip-min.js&os/mit/td/stencil-0.1.150/stencil-imageloader/stencil-imageloader-min.js&ss/rapid-3.18.3.js#7)] com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find function postMessage in object [object Worker]. (http://l.yimg.com/zz/combo?os/mit/td/stencil-0.1.150/stencil/stencil-min.js&os/mit/td/mjata-0.4.2/mjata-util/mjata-util-min.js&os/mit/td/stencil-0.1.150/stencil-source/stencil-source-min.js&os/mit/td/stencil-0.1.150/stencil-tooltip/stencil-tooltip-min.js&os/mit/td/stencil-0.1.150/stencil-imageloader/stencil-imageloader-min.js&ss/rapid-3.18.3.js#7) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:865) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:628) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:513) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:747) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:722) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:945) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeInlineScriptIfNeeded(HtmlScript.java:351) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:411) at com.gargoylesoftware.htmlunit.html.HtmlScript$3.execute(HtmlScript.java:276) at com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:290) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:800) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:757) at org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1170) at org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1072) at org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:206) at org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:330) at org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:3126) at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2093) at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:920) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:1040) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:253) at com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:199) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:272) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:160) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:476) at com.gargoylesoftware.htmlunit.WebClient.loadDownloadedResponses(WebClient.java:2123) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.doProcessPostponedActions(JavaScriptEngine.java:893) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.processPostponedActions(JavaScriptEngine.java:983) at com.gargoylesoftware.htmlunit.html.DomElement.click(DomElement.java:790) at com.gargoylesoftware.htmlunit.html.DomElement.click(DomElement.java:733) at com.gargoylesoftware.htmlunit.html.DomElement.click(DomElement.java:680) at ReadWeb.getStockSymbol(ReadWeb.java:49) at ReadWeb.main(ReadWeb.java:20) Caused by: net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot find function postMessage in object [object Worker]. (http://l.yimg.com/zz/combo?os/mit/td/stencil-0.1.150/stencil/stencil-min.js&os/mit/td/mjata-0.4.2/mjata-util/mjata-util-min.js&os/mit/td/stencil-0.1.150/stencil-source/stencil-source-min.js&os/mit/td/stencil-0.1.150/stencil-tooltip/stencil-tooltip-min.js&os/mit/td/stencil-0.1.150/stencil-imageloader/stencil-imageloader-min.js&ss/rapid-3.18.3.js#7) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3935) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3919) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3944) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3960) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:4027) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2426) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2408) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1337) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:310) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3286) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:115) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$3.doRun(JavaScriptEngine.java:738) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:850) ... 36 more Enclosed exception: net.sourceforge.htmlunit.corejs.javascript.EcmaError: TypeError: Cannot find function postMessage in object [object Worker]. (http://l.yimg.com/zz/combo?os/mit/td/stencil-0.1.150/stencil/stencil-min.js&os/mit/td/mjata-0.4.2/mjata-util/mjata-util-min.js&os/mit/td/stencil-0.1.150/stencil-source/stencil-source-min.js&os/mit/td/stencil-0.1.150/stencil-tooltip/stencil-tooltip-min.js&os/mit/td/stencil-0.1.150/stencil-imageloader/stencil-imageloader-min.js&ss/rapid-3.18.3.js#7) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3935) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3919) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3944) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3960) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:4027) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2426) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2408) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1337) at script.M(http://l.yimg.com/zz/combo?os/mit/td/stencil-0.1.150/stencil/stencil-min.js&os/mit/td/mjata-0.4.2/mjata-util/mjata-util-min.js&os/mit/td/stencil-0.1.150/stencil-source/stencil-source-min.js&os/mit/td/stencil-0.1.150/stencil-tooltip/stencil-tooltip-min.js&os/mit/td/stencil-0.1.150/stencil-imageloader/stencil-imageloader-min.js&ss/rapid-3.18.3.js:7) at script.D(http://l.yimg.com/zz/combo?os/mit/td/stencil-0.1.150/stencil/stencil-min.js&os/mit/td/mjata-0.4.2/mjata-util/mjata-util-min.js&os/mit/td/stencil-0.1.150/stencil-source/stencil-source-min.js&os/mit/td/stencil-0.1.150/stencil-tooltip/stencil-tooltip-min.js&os/mit/td/stencil-0.1.150/stencil-imageloader/stencil-imageloader-min.js&ss/rapid-3.18.3.js:7) at script(http://l.yimg.com/zz/combo?os/mit/td/stencil-0.1.150/stencil/stencil-min.js&os/mit/td/mjata-0.4.2/mjata-util/mjata-util-min.js&os/mit/td/stencil-0.1.150/stencil-source/stencil-source-min.js&os/mit/td/stencil-0.1.150/stencil-tooltip/stencil-tooltip-min.js&os/mit/td/stencil-0.1.150/stencil-imageloader/stencil-imageloader-min.js&ss/rapid-3.18.3.js:7) at script.R(http://l.yimg.com/zz/combo?os/mit/td/stencil-0.1.150/stencil/stencil-min.js&os/mit/td/mjata-0.4.2/mjata-util/mjata-util-min.js&os/mit/td/stencil-0.1.150/stencil-source/stencil-source-min.js&os/mit/td/stencil-0.1.150/stencil-tooltip/stencil-tooltip-min.js&os/mit/td/stencil-0.1.150/stencil-imageloader/stencil-imageloader-min.js&ss/rapid-3.18.3.js:7) at script(http://l.yimg.com/zz/combo?os/mit/td/stencil-0.1.150/stencil/stencil-min.js&os/mit/td/mjata-0.4.2/mjata-util/mjata-util-min.js&os/mit/td/stencil-0.1.150/stencil-source/stencil-source-min.js&os/mit/td/stencil-0.1.150/stencil-tooltip/stencil-tooltip-min.js&os/mit/td/stencil-0.1.150/stencil-imageloader/stencil-imageloader-min.js&ss/rapid-3.18.3.js:28) at script(script in http://finance.yahoo.com/q?s=GOOG from (609, 42) to (632, 11):630) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411) at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.doTopCall(HtmlUnitContextFactory.java:310) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3286) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:115) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$3.doRun(JavaScriptEngine.java:738) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:850) at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:628) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:513) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:747) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:722) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptIfPossible(HtmlPage.java:945) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeInlineScriptIfNeeded(HtmlScript.java:351) at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:411) at com.gargoylesoftware.htmlunit.html.HtmlScript$3.execute(HtmlScript.java:276) at com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:290) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:800) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:757) at org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1170) at org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1072) at org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:206) at org.cyberneko.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:330) at org.cyberneko.html.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:3126) at org.cyberneko.html.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2093) at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:920) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:499) at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:452) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:1040) at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:253) at com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:199) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:272) at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:160) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:476) at com.gargoylesoftware.htmlunit.WebClient.loadDownloadedResponses(WebClient.java:2123) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.doProcessPostponedActions(JavaScriptEngine.java:893) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.processPostponedActions(JavaScriptEngine.java:983) at com.gargoylesoftware.htmlunit.html.DomElement.click(DomElement.java:790) at com.gargoylesoftware.htmlunit.html.DomElement.click(DomElement.java:733) at com.gargoylesoftware.htmlunit.html.DomElement.click(DomElement.java:680) at ReadWeb.getStockSymbol(ReadWeb.java:49) at ReadWeb.main(ReadWeb.java:20) ======= EXCEPTION END ======== ~~~~~~~~~~~~~~~~~~~~~~~ --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |
From: RBRi <rb...@us...> - 2020-01-04 17:03:00
|
- **status**: open --> closed - **assigned_to**: RBRi --- ** [bugs:#1644] label alignment is incorrect** **Status:** closed **Group:** 2.15 **Labels:** svg **Created:** Mon Sep 29, 2014 09:33 AM UTC by jerrywell **Last Updated:** Sat Jan 04, 2020 05:02 PM UTC **Owner:** RBRi when we create the web client to visit Highchart page in order to the server side rendering. after we execute javascript to get SVG DOM from Highchart, the result will lose horizontal alignment shown as the following photos. this is my JAVA file. ``` WebClient client = new WebClient(BrowserVersion.CHROME); HtmlPage currentPage = client.getPage("issue/xxxx.zul"); client.waitForBackgroundJavaScript(10000); String svg = currentPage.executeJavaScript("chart.getSVG()").getJavaScriptResult().toString(); ``` this is the SVG DOM generated in Chrome browser. ``` <svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" xmlns="http://www.w3.org/2000/svg" width="600" height="400"> <desc>Created with Highcharts 3.0.9</desc> <defs> <clipPath id="highcharts-3"> <rect fill="none" x="0" y="0" width="580" height="345"></rect> </clipPath> </defs> <g class="highcharts-series-group"> <g class="highcharts-series highcharts-tracker" visibility="visible" transform="translate(10,40) scale(1 1)" style="cursor:pointer;"> <path fill="none" d="M 465.37623875266127 157.51505478056018 C 460.37623875266127 157.51505478056018 452.47473202790013 158.766530500882 441.6101602813536 160.48730961632455 L 430.7455885348071 162.2080887317671" stroke="#000000" stroke-width="1" visibility="visible"></path> <path fill="none" d="M 198.12499771783115 333.526789465764 C 203.12499771783115 333.526789465764 207.1539833309174 326.6154021282214 212.69383854891078 317.1122445391002 L 218.23369376690414 307.609086949979" stroke="#000000" stroke-width="1" visibility="visible"></path> <path fill="none" d="M 115.97500346371763 150.05002836126488 C 120.97500346371763 150.05002836126488 128.81384388279162 151.64770820538013 139.59224945901832 153.8445179910386 L 150.37065503524502 156.04132777669707" stroke="#000000" stroke-width="1" visibility="visible"></path> <path fill="none" d="M 167.7225511873661 58 C 172.7225511873661 58 183.95384312076118 58.744433080901615 191.0450754956647 67.1536199265556 L 198.1363078705682 75.5628067722096" stroke="#000000" stroke-width="1" visibility="visible"></path> <path fill="none" d="M 198.94188010419947 35 C 203.94188010419947 35 251.09591498959713 24.66657993553642 253.69740395685812 35.35452899759781 L 256.2988929241191 46.0424780596592" stroke="#000000" stroke-width="1" visibility="visible"></path> <path fill="none" d="M 281.2068326240386 12 C 286.2068326240386 12 286.3827476327828 20.039775370116224 286.6246307698004 31.037115618923043 L 286.86651390681794 42.03445586772986" stroke="#000000" stroke-width="1" visibility="visible"></path> <path fill="#2f7ed8" d="M 289.9709765684734 42.50000295564777 A 142.5 142.5 0 0 1 334.1212508606259 320.49747312217187 L 290 185 A 0 0 0 0 0 290 185 Z" stroke="#FFFFFF" stroke-width="1" stroke-linejoin="round" transform="translate(0,0)" visibility="visible"></path> <path fill="#0d233a" d="M 333.98573134946304 320.5415266169479 A 142.5 142.5 0 0 1 150.38577839260248 213.53277282285228 L 290 185 A 0 0 0 0 0 290 185 Z" stroke="#FFFFFF" stroke-width="1" stroke-linejoin="round" transform="translate(0,0)" visibility="visible"></path> <path fill="#8bbc21" d="M 150.35731543164013 213.39314435812872 A 142.5 142.5 0 0 1 172.5837143121297 104.25555217066388 L 290 185 A 0 0 0 0 0 290 185 Z" stroke="#FFFFFF" stroke-width="1" stroke-linejoin="round" transform="translate(-10,-2)" visibility="visible"></path> <path fill="#910000" d="M 172.66451745463962 104.13817627676599 A 142.5 142.5 0 0 1 230.0279904524795 55.73435077008247 L 290 185 A 0 0 0 0 0 290 185 Z" stroke="#FFFFFF" stroke-width="1" stroke-linejoin="round" transform="translate(0,0)" visibility="visible"></path> <path fill="#1aadce" d="M 230.1572860661675 55.67444340334956 A 142.5 142.5 0 0 1 283.53429089427783 42.646761168703335 L 290 185 A 0 0 0 0 0 290 185 Z" stroke="#FFFFFF" stroke-width="1" stroke-linejoin="round" transform="translate(0,0)" visibility="visible"></path> <path fill="#492970" d="M 283.67664734223797 42.64036663728879 A 142.5 142.5 0 0 1 289.8020703588248 42.50013746021688 L 290 185 A 0 0 0 0 0 290 185 Z" stroke="#FFFFFF" stroke-width="1" stroke-linejoin="round" transform="translate(0,0)" visibility="visible"></path> </g> <g class="highcharts-markers" visibility="visible" transform="translate(10,40) scale(1 1)"></g> </g> <text x="300" y="25" style="font-family:'lucida grande', 'lucida sans unicode', verdana, arial, helvetica, sans-serif;font-size:16px;color:#274b6d;fill:#274b6d;" text-anchor="middle" class="highcharts-title"> <tspan x="300">Browser market shares at a specific website, 2010 </tspan> </text> <g class="highcharts-data-labels highcharts-tracker" visibility="visible" transform="translate(10,40) scale(1 1)" style="cursor:pointer;"> <g style="cursor:pointer;" transform="translate(470,148)" visibility="visible"> <text x="3" y="15" style="font-family:'lucida grande', 'lucida sans unicode', verdana, arial, helvetica, sans-serif;font-size:11px;color:#000000;fill:#000000;"> <tspan style="font-weight:bold" x="3">Firefox</tspan> <tspan dx="0">: 45.0 %</tspan> </text> </g> <g style="cursor:pointer;" transform="translate(138,324)" visibility="visible"> <text x="3" y="15" style="font-family:'lucida grande', 'lucida sans unicode', verdana, arial, helvetica, sans-serif;font-size:11px;color:#000000;fill:#000000;"> <tspan style="font-weight:bold" x="3">IE</tspan> <tspan dx="0">: 26.8 %</tspan> </text> </g> <g style="cursor:pointer;" transform="translate(22,140)" visibility="visible"> <text x="3" y="15" style="font-family:'lucida grande', 'lucida sans unicode', verdana, arial, helvetica, sans-serif;font-size:11px;color:#000000;fill:#000000;"> <tspan style="font-weight:bold" x="3">Chrome</tspan> <tspan dx="0">: 12.8 %</tspan> </text> </g> <g style="cursor:pointer;" transform="translate(93,48)" visibility="visible"> <text x="3" y="15" style="font-family:'lucida grande', 'lucida sans unicode', verdana, arial, helvetica, sans-serif;font-size:11px;color:#000000;fill:#000000;"> <tspan style="font-weight:bold" x="3">Safari</tspan> <tspan dx="0">: 8.5 %</tspan> </text> </g> <g style="cursor:pointer;" transform="translate(122,25)" visibility="visible"> <text x="3" y="15" style="font-family:'lucida grande', 'lucida sans unicode', verdana, arial, helvetica, sans-serif;font-size:11px;color:#000000;fill:#000000;"> <tspan style="font-weight:bold" x="3">Opera</tspan> <tspan dx="0">: 6.2 %</tspan> </text> </g> <g style="cursor:pointer;" transform="translate(201,2)" visibility="visible"> <text x="3" y="15" style="font-family:'lucida grande', 'lucida sans unicode', verdana, arial, helvetica, sans-serif;font-size:11px;color:#000000;fill:#000000;"> <tspan style="font-weight:bold" x="3">Others</tspan> <tspan dx="0">: 0.7 %</tspan> </text> </g> </g> <g class="highcharts-legend"> <rect rx="5" ry="5" fill="none" x="0.5" y="0.5" width="7" height="7" stroke="#909090" stroke-width="1" visibility="hidden"></rect> <g> <g></g> </g> </g> <g class="highcharts-tooltip" style="cursor:default;padding:0;white-space:nowrap;" transform="translate(0,-999)"> <rect rx="3" ry="3" fill="none" x="0.5" y="0.5" width="16" height="16" fill-opacity="0.85" stroke="black" stroke-opacity="0.049999999999999996" stroke-width="5" transform="translate(1, 1)"></rect> <rect rx="3" ry="3" fill="none" x="0.5" y="0.5" width="16" height="16" fill-opacity="0.85" stroke="black" stroke-opacity="0.09999999999999999" stroke-width="3" transform="translate(1, 1)"></rect> <rect rx="3" ry="3" fill="none" x="0.5" y="0.5" width="16" height="16" fill-opacity="0.85" stroke="black" stroke-opacity="0.15" stroke-width="1" transform="translate(1, 1)"></rect> <rect rx="3" ry="3" fill="rgb(255,255,255)" x="0.5" y="0.5" width="16" height="16" fill-opacity="0.85"></rect> <text x="8" y="21" style="font-family:'lucida grande', 'lucida sans unicode', verdana, arial, helvetica, sans-serif;font-size:12px;color:#333333;fill:#333333;"></text> </g> </svg> ``` this is the SVG DOM generated in HtmlUnit. ``` <svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" xmlns="http://www.w3.org/2000/svg" width="600" height="400"> <desc>Created with Highcharts 3.0.9</desc> <defs> <clipPath id="highcharts-5"> <rect fill="none" x="0" y="0" width="580" height="375"></rect> </clipPath> </defs> <g class="highcharts-series-group"> <g class="highcharts-series highcharts-tracker" visibility="visible" transform="translate(10,10) scale(1 1)" style="cursor:pointer;"> <path fill="none" d="M 482.1669405427786 170.85566887487624 C 477.1669405427786 170.85566887487624 469.2654338180175 172.10714459519806 458.400862071471 173.82792371064062 L 447.5362903249245 175.54870282608317" stroke="#000000" stroke-width="1" visibility="visible"></path> <path fill="none" d="M 189.5634032900233 364.2134875580423 C 194.5634032900233 364.2134875580423 198.59238890310942 357.30210022049965 204.1322441211028 347.79894263137845 L 209.67209933909615 338.29578504225725" stroke="#000000" stroke-width="1" visibility="visible"></path> <path fill="none" d="M 99.31746757318521 162.65495869251993 C 104.31746757318521 162.65495869251993 112.1563079922592 164.25263853663517 122.93471356848592 166.44944832229365 L 133.71311914471264 168.64625810795212" stroke="#000000" stroke-width="1" visibility="visible"></path> <path fill="none" d="M 162.8374059050713 55.63264479532426 C 167.8374059050713 55.63264479532426 172.99466581409203 61.74841704670898 180.08589818899554 70.15760389236299 L 187.17713056389906 78.56679073801699" stroke="#000000" stroke-width="1" visibility="visible"></path> <path fill="none" d="M 198.29359885221854 32 C 203.29359885221854 32 247.07543204019373 24.14884047598673 249.67692100745472 34.83678953804814 L 252.27840997471571 45.52473860010954" stroke="#000000" stroke-width="1" visibility="visible"></path> <path fill="none" d="M 280.8330132304694 11 C 285.8330132304694 11 286.0089282392102 19.0438858946874 286.2508113762278 30.041226143494224 L 286.49269451324534 41.03856639230105" stroke="#000000" stroke-width="1" visibility="visible"></path> <path fill="#2f7ed8" d="M 289.9675141240106 41.50000330825125 A 159.5 159.5 0 0 1 339.3848386825954 352.66208395078195 L 290 201 A 0 0 0 0 0 290 201 Z" stroke="#FFFFFF" stroke-width="1" stroke-linejoin="round" transform="translate(0,0)" visibility="visible"></path> <path fill="#0d233a" d="M 339.2331519315043 352.71139295019805 A 159.5 159.5 0 0 1 133.73004669207086 232.9366825631224 L 290 201 A 0 0 0 0 0 290 201 Z" stroke="#FFFFFF" stroke-width="1" stroke-linejoin="round" transform="translate(0,0)" visibility="visible"></path> <path fill="#8bbc21" d="M 133.69818814980067 232.78039666751954 A 159.5 159.5 0 0 1 158.5761574230503 110.62288120155 L 290 201 A 0 0 0 0 0 290 201 Z" stroke="#FFFFFF" stroke-width="1" stroke-linejoin="round" transform="translate(-10,-2)" visibility="visible"></path> <path fill="#910000" d="M 158.6666002387017 110.49150256943268 A 159.5 159.5 0 0 1 222.8734349275121 56.31318559879395 L 290 201 A 0 0 0 0 0 290 201 Z" stroke="#FFFFFF" stroke-width="1" stroke-linejoin="round" transform="translate(0,0)" visibility="visible"></path> <path fill="#1aadce" d="M 223.01815528107863 56.246131388310374 A 159.5 159.5 0 0 1 282.7629431413145 41.66426951865395 L 290 201 A 0 0 0 0 0 290 201 Z" stroke="#FFFFFF" stroke-width="1" stroke-linejoin="round" transform="translate(0,0)" visibility="visible"></path> <path fill="#492970" d="M 282.9222824637681 41.65711213086004 A 159.5 159.5 0 0 1 289.7784576998776 41.50015385897936 L 290 201 A 0 0 0 0 0 290 201 Z" stroke="#FFFFFF" stroke-width="1" stroke-linejoin="round" transform="translate(0,0)" visibility="visible"></path> </g> <g class="highcharts-markers" visibility="visible" transform="translate(10,10) scale(1 1)"></g> </g> <text x="300" y="25" style="font-family:'lucida grande', 'lucida sans unicode', verdana, arial, helvetica, sans-serif;font-size:16px;color:#274b6d;fill:#274b6d;" text-anchor="middle" class="highcharts-title"> <tspan x="300">Browser market shares at a specific website, 2010 </tspan> </text> <g class="highcharts-data-labels highcharts-tracker" visibility="visible" transform="translate(10,10) scale(1 1)" style="cursor:pointer;"> <g style="cursor:pointer;" transform="translate(0,161)" visibility="visible"> <text x="3" y="15" style="font-family:'lucida grande', 'lucida sans unicode', verdana, arial, helvetica, sans-serif;font-size:11px;color:#000000;fill:#000000;"> <tspan style="font-weight:bold" x="3">Firefox</tspan> <tspan dx="0">: 45.0 %</tspan> </text> </g> <g style="cursor:pointer;" transform="translate(0,354)" visibility="visible"> <text x="3" y="15" style="font-family:'lucida grande', 'lucida sans unicode', verdana, arial, helvetica, sans-serif;font-size:11px;color:#000000;fill:#000000;"> <tspan style="font-weight:bold" x="3">IE</tspan> <tspan dx="0">: 26.8 %</tspan> </text> </g> <g style="cursor:pointer;" transform="translate(0,153)" visibility="visible"> <text x="3" y="15" style="font-family:'lucida grande', 'lucida sans unicode', verdana, arial, helvetica, sans-serif;font-size:11px;color:#000000;fill:#000000;"> <tspan style="font-weight:bold" x="3">Chrome</tspan> <tspan dx="0">: 12.8 %</tspan> </text> </g> <g style="cursor:pointer;" transform="translate(0,46)" visibility="visible"> <text x="3" y="15" style="font-family:'lucida grande', 'lucida sans unicode', verdana, arial, helvetica, sans-serif;font-size:11px;color:#000000;fill:#000000;"> <tspan style="font-weight:bold" x="3">Safari</tspan> <tspan dx="0">: 8.5 %</tspan> </text> </g> <g style="cursor:pointer;" transform="translate(0,22)" visibility="visible"> <text x="3" y="15" style="font-family:'lucida grande', 'lucida sans unicode', verdana, arial, helvetica, sans-serif;font-size:11px;color:#000000;fill:#000000;"> <tspan style="font-weight:bold" x="3">Opera</tspan> <tspan dx="0">: 6.2 %</tspan> </text> </g> <g style="cursor:pointer;" transform="translate(0,1)" visibility="visible"> <text x="3" y="15" style="font-family:'lucida grande', 'lucida sans unicode', verdana, arial, helvetica, sans-serif;font-size:11px;color:#000000;fill:#000000;"> <tspan style="font-weight:bold" x="3">Others</tspan> <tspan dx="0">: 0.7 %</tspan> </text> </g> </g> <g class="highcharts-legend"> <rect rx="5" ry="5" fill="none" x="0.5" y="0.5" width="7" height="7" stroke="#909090" stroke-width="1" visibility="hidden"></rect> <g> <g></g> </g> </g> <g class="highcharts-tooltip" style="cursor:default;padding:0;white-space:nowrap;" transform="translate(0,-999)"> <rect rx="3" ry="3" fill="none" x="0.5" y="0.5" width="16" height="16" fill-opacity="0.85" stroke="black" stroke-opacity="0.049999999999999996" stroke-width="5" transform="translate(1, 1)"></rect> <rect rx="3" ry="3" fill="none" x="0.5" y="0.5" width="16" height="16" fill-opacity="0.85" stroke="black" stroke-opacity="0.09999999999999999" stroke-width="3" transform="translate(1, 1)"></rect> <rect rx="3" ry="3" fill="none" x="0.5" y="0.5" width="16" height="16" fill-opacity="0.85" stroke="black" stroke-opacity="0.15" stroke-width="1" transform="translate(1, 1)"></rect> <rect rx="3" ry="3" fill="rgb(255,255,255)" x="0.5" y="0.5" width="16" height="16" fill-opacity="0.85"></rect> <text x="8" y="21" style="font-family:'lucida grande', 'lucida sans unicode', verdana, arial, helvetica, sans-serif;font-size:12px;color:#333333;fill:#333333;"></text> </g> </svg> ``` SVG DOM result generated in chrome  SVG DOM result generated in HtmlUnit  --- Sent from sourceforge.net because htm...@li... is subscribed to https://sourceforge.net/p/htmlunit/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/htmlunit/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |