[prev in list] [next in list] [prev in thread] [next in thread]
List: htmlunit-user
Subject: Re: [Htmlunit-user] Your opinion about Configurations
From: Rural Hunter <ruralhunter () gmail ! com>
Date: 2012-09-07 11:31:07
Message-ID: 5049DAFB.4010200 () gmail ! com
[Download RAW message or body]
[Attachment #2 (text/html)]
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">As an user of htmlunit, I have never
needed to change those configurations.<br>
<br>
于 2012/9/7 19:17, Ahmed Ashour 写道:<br>
</div>
<blockquote
cite="mid:1347016674.31558.YahooMailNeo@web140701.mail.bf1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:times
new roman, new york, times, serif;font-size:12pt">
<div><span>Hi all,</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
times new roman,new york,times,serif; background-color:
transparent; font-style: normal;"><br>
<span></span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
times new roman,new york,times,serif; background-color:
transparent; font-style: normal;"><span>We would like to have
your input for the configurations currently used by
HtmlUnit.</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
times new roman,new york,times,serif; background-color:
transparent; font-style: normal;"><br>
<span></span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
times new roman,new york,times,serif; background-color:
transparent; font-style: normal;"><span>- There is
BrowserVersionFeatures [1], which is used to control the
logic according to browser-specific features. The actual
configurations are in flat files e.g. [2]<br>
</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
times new roman,new york,times,serif; background-color:
transparent; font-style: normal;"><span>- There is
JavaScriptConfiguration.xml [3], which is used to define all
JavaScript getters/setters/functions, and their
corresponding browser configurations.</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
times new roman,new york,times,serif; background-color:
transparent; font-style: normal;"><br>
<span></span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
times new roman,new york,times,serif; background-color:
transparent; font-style: normal;"><br>
<span></span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
times new roman,new york,times,serif; background-color:
transparent; font-style: normal;"><span>There are two
directions in question:</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
times new roman,new york,times,serif; background-color:
transparent; font-style: normal;"><span> 1 - Move those
flat files to annotations:</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
times new roman,new york,times,serif; background-color:
transparent; font-style: \
normal;"><span> - Pros: for HtmlUnit \
developers it is better, as there is no need to search into different flat files to \
know the compatibility, a sample implementation in [4]<br>
</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
times new roman,new york,times,serif; background-color:
transparent; font-style: normal;"><span><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
times new roman,new york,times,serif; background-color:
transparent; font-style: \
normal;"><span> - Cons: Users will not \
easily change the browser logic, and they will need to change the java \
code.</span></div> <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
times new roman,new york,times,serif; background-color:
transparent; font-style: normal;"><br>
<span></span></div>
<div> 2 - Keeping flat files (as currently is)<br>
<br>
<br>
What do you think? Do you need to change one of those
configurations, and why?<br>
<br>
<br>
Yours,<br>
Ahmed<br>
<br>
[1]
<a class="moz-txt-link-freetext" \
href="http://htmlunit.svn.sf.net/viewvc/htmlunit/trunk/htmlunit/src/main/java/com/garg \
oylesoftware/htmlunit/BrowserVersionFeatures.java?revision=7346&view=markup">http: \
//htmlunit.svn.sf.net/viewvc/htmlunit/trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersionFeatures.java?revision=7346&view=markup</a><br>
<br>
[2]
<a class="moz-txt-link-freetext" \
href="http://htmlunit.svn.sf.net/viewvc/htmlunit/trunk/htmlunit/src/main/resources/com \
/gargoylesoftware/htmlunit/javascript/configuration/FF3.6.properties?revision=7346& \
;view=markup">http://htmlunit.svn.sf.net/viewvc/htmlunit/trunk/htmlunit/src/main/resou \
rces/com/gargoylesoftware/htmlunit/javascript/configuration/FF3.6.properties?revision=7346&view=markup</a><br>
<br>
[3]
<a class="moz-txt-link-freetext" \
href="http://htmlunit.svn.sf.net/viewvc/htmlunit/trunk/htmlunit/src/main/resources/com \
/gargoylesoftware/htmlunit/javascript/configuration/JavaScriptConfiguration.xml?revisi \
on=7346&view=markup">http://htmlunit.svn.sf.net/viewvc/htmlunit/trunk/htmlunit/src \
/main/resources/com/gargoylesoftware/htmlunit/javascript/configuration/JavaScriptConfiguration.xml?revision=7346&view=markup</a><br>
<br>
[4]
<a class="moz-txt-link-freetext" \
href="http://htmlunit.svn.sf.net/viewvc/htmlunit/trunk/htmlunit/src/main/java/com/garg \
oylesoftware/htmlunit/BrowserVersionFeatures.java?revision=7336&view=markup&pa \
threv=7336">http://htmlunit.svn.sf.net/viewvc/htmlunit/trunk/htmlunit/src/main/java/co \
m/gargoylesoftware/htmlunit/BrowserVersionFeatures.java?revision=7336&view=markup&pathrev=7336</a><br>
<br>
<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. <a class="moz-txt-link-freetext" \
href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a></pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Htmlunit-user mailing list
<a class="moz-txt-link-abbreviated" \
href="mailto:Htmlunit-user@lists.sourceforge.net">Htmlunit-user@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" \
href="https://lists.sourceforge.net/lists/listinfo/htmlunit-user">https://lists.sourceforge.net/lists/listinfo/htmlunit-user</a>
</pre>
</blockquote>
<br>
</body>
</html>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/htmlunit-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic