summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/application
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-10-08 17:07:25 +0300
committerLeif Åstrand <leif@vaadin.com>2012-10-08 17:07:25 +0300
commit38bfea7cfa409dfe0864a5f42fb528007499999d (patch)
treeee6fba1e14fc828d54d8b1db55698741b9a661a0 /uitest/src/com/vaadin/tests/application
parent48c19777e566dd8cd5e496ea364de8aea447abbf (diff)
downloadvaadin-framework-38bfea7cfa409dfe0864a5f42fb528007499999d.tar.gz
vaadin-framework-38bfea7cfa409dfe0864a5f42fb528007499999d.zip
Remove CombinedRequest and BrowserDetails (#8165)
* Primary use case for CombinedRequest (special path and parameters) already elimiated by other changes * BrowserDetails.getLocation is now available through Page * BrowserDetails.getWindowName only used internally in one location * VaadinServletRequest.cast and similar for portlets removed now that a normal cast can always be used as there's no CombinedRequest to consider Change-Id: I44f28722a12f86015b3c30e83768e4611b87479c
Diffstat (limited to 'uitest/src/com/vaadin/tests/application')
-rw-r--r--uitest/src/com/vaadin/tests/application/RefreshStatePreserve.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/application/RefreshStatePreserve.java b/uitest/src/com/vaadin/tests/application/RefreshStatePreserve.java
index 5e406a5c98..c99e384f81 100644
--- a/uitest/src/com/vaadin/tests/application/RefreshStatePreserve.java
+++ b/uitest/src/com/vaadin/tests/application/RefreshStatePreserve.java
@@ -10,8 +10,8 @@ public class RefreshStatePreserve extends AbstractTestUI {
@Override
protected void setup(VaadinRequest request) {
- addComponent(new Label("window.name: "
- + request.getBrowserDetails().getWindowName()));
+ // Internal parameter sent by vaadinBootstrap.js,
+ addComponent(new Label("window.name: " + request.getParameter("wn")));
addComponent(new Label("UI id: " + getUIId()));
}