summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/application/RefreshStatePreserve.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/application/RefreshStatePreserve.java')
-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()));
}