From b18d9f7bb2419c947c8e0401fc7ee1b4f29e92cb Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Thu, 7 Jun 2012 10:58:10 +0000 Subject: Refactor ?debug detection (#8923) This fixes #8923 by not looking at the uri fragment at all. Also prevents e.g. ?nodebugwindow or ?mode=debug from opening the debug window. svn changeset:23898/svn branch:6.8 --- .../com/vaadin/tests/debug/DebugWindowPresent.html | 72 +++++++++++++++++++++- 1 file changed, 71 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/testbench/com/vaadin/tests/debug/DebugWindowPresent.html b/tests/testbench/com/vaadin/tests/debug/DebugWindowPresent.html index d396c1778e..11640ef6c3 100644 --- a/tests/testbench/com/vaadin/tests/debug/DebugWindowPresent.html +++ b/tests/testbench/com/vaadin/tests/debug/DebugWindowPresent.html @@ -13,7 +13,17 @@ open - /run/com.vaadin.tests.debug.DebugWindowPresent?restartApplication&debug + /run/com.vaadin.tests.debug.DebugWindowPresent?restartApplication&debug&otherparam + + + + assertElementPresent + vaadin=runcomvaadintestsdebugDebugWindowPresent::Root/VDebugConsole[0] + + + + open + /run/com.vaadin.tests.debug.DebugWindowPresent?debug&restartApplication @@ -31,6 +41,66 @@ vaadin=runcomvaadintestsdebugDebugWindowPresent::Root/VDebugConsole[0] + + open + /run/com.vaadin.tests.debug.DebugWindowPresent?restartApplication&mode=debug + + + + assertElementNotPresent + vaadin=runcomvaadintestsdebugDebugWindowPresent::Root/VDebugConsole[0] + + + + open + /run/com.vaadin.tests.debug.DebugWindowPresent?nodebug&restartApplication + + + + assertElementNotPresent + vaadin=runcomvaadintestsdebugDebugWindowPresent::Root/VDebugConsole[0] + + + + open + /run/com.vaadin.tests.debug.DebugWindowPresent?restartApplication&nodebug + + + + assertElementNotPresent + vaadin=runcomvaadintestsdebugDebugWindowPresent::Root/VDebugConsole[0] + + + + open + /run/com.vaadin.tests.debug.DebugWindowPresent?restartApplication&debug=quiet + + + + assertElementNotPresent + vaadin=runcomvaadintestsdebugDebugWindowPresent::Root/VDebugConsole[0] + + + + open + /run/com.vaadin.tests.debug.DebugWindowPresent?debug=quiet&restartApplication + + + + assertElementNotPresent + vaadin=runcomvaadintestsdebugDebugWindowPresent::Root/VDebugConsole[0] + + + + open + /run/com.vaadin.tests.debug.DebugWindowPresent?restartApplication&debug=quiet#/asdf + + + + assertElementNotPresent + vaadin=runcomvaadintestsdebugDebugWindowPresent::Root/VDebugConsole[0] + + -- cgit v1.2.3