From: <asa...@us...> - 2014-01-24 16:57:15
|
Revision: 9054 http://sourceforge.net/p/htmlunit/code/9054 Author: asashour Date: 2014-01-24 16:57:09 +0000 (Fri, 24 Jan 2014) Log Message: ----------- BrowserVersion: deprecate INTERNET_EXPLORER_8 and INTERNET_EXPLORER_9. Modified Paths: -------------- trunk/htmlunit/src/changes/changes.xml trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersion.java Modified: trunk/htmlunit/src/changes/changes.xml =================================================================== --- trunk/htmlunit/src/changes/changes.xml 2014-01-24 06:03:11 UTC (rev 9053) +++ trunk/htmlunit/src/changes/changes.xml 2014-01-24 16:57:09 UTC (rev 9054) @@ -8,6 +8,9 @@ <body> <release version="2.14" date="???" description="FF24, Bugfixes, initial work on IE11"> + <action type="update" dev="asashour"> + BrowserVersion: deprecate INTERNET_EXPLORER_8 and INTERNET_EXPLORER_9. + </action> <action type="fix" dev="rbri"> JavaScript: improved width and height processing for html elements when simulating FF. </action> Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersion.java =================================================================== --- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersion.java 2014-01-24 06:03:11 UTC (rev 9053) +++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/BrowserVersion.java 2014-01-24 16:57:09 UTC (rev 9054) @@ -139,12 +139,19 @@ "Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Firefox/24.0", (float) 24.0, "FF24", null); - /** Internet Explorer 8. */ + /** + * Internet Explorer 8. + * @deprecated as of 2.14 + */ + // to be removed in 2.16 if IE11 is complete public static final BrowserVersion INTERNET_EXPLORER_8 = new BrowserVersion( INTERNET_EXPLORER, "4.0 (compatible; MSIE 8.0; Windows NT 6.0)", "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0)", 8, "IE8", null); - /** Internet Explorer 9. Work In Progress!!! */ + /** + * Internet Explorer 9. Work In Progress!!! + * @deprecated as of 2.14 + */ public static final BrowserVersion INTERNET_EXPLORER_9 = new BrowserVersion( INTERNET_EXPLORER, "5.0 (compatible; MSIE 9.0; Windows NT 6.1)", "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1)", 9, "IE9", null); |