[prev in list] [next in list] [prev in thread] [next in thread]
List: htmlunit-develop
Subject: [HtmlUnit] SVN: [10396] trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/
From: asashour () users ! sourceforge ! net
Date: 2015-04-28 0:45:02
Message-ID: E1Ymte5-0001xQ-NX () sfs-ml-3 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Revision: 10396
http://sourceforge.net/p/htmlunit/code/10396
Author: asashour
Date: 2015-04-28 00:45:02 +0000 (Tue, 28 Apr 2015)
Log Message:
-----------
JavaScript: empty implementation of history.pushState() and replaceState()
Modified Paths:
--------------
trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/History.java
Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/History.java
===================================================================
--- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/History.java 2015-04-26 \
11:28:41 UTC (rev 10395)
+++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/History.java 2015-04-28 \
00:45:02 UTC (rev 10396) @@ -191,4 +191,23 @@
throw Context.reportRuntimeError("Permission denied to call method \
History.item"); }
+ /**
+ * Replaces a state.
+ * @param object the state object
+ * @param title the title
+ * @param url an optional URL
+ */
+ @JsxFunction({ @WebBrowser(CHROME), @WebBrowser(FF), @WebBrowser(value = IE, \
minVersion = 11) }) + public void replaceState(final Object object, final String \
title, final String url) { + }
+
+ /**
+ * Pushes a state.
+ * @param object the state object
+ * @param title the title
+ * @param url an optional URL
+ */
+ @JsxFunction({ @WebBrowser(CHROME), @WebBrowser(FF), @WebBrowser(value = IE, \
minVersion = 11) }) + public void pushState(final Object object, final String \
title, final String url) { + }
}
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
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