summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2014-06-25 14:42:30 +0300
committerVaadin Code Review <review@vaadin.com>2014-07-01 09:12:45 +0000
commitf7e7f0e4f7ec4463863910ef66308dd71762acce (patch)
tree39086eb34be438db36471824befcceb4e2097a9c /shared
parentdbcef9f23d740d2e68f294d3f131e3936686f96d (diff)
downloadvaadin-framework-f7e7f0e4f7ec4463863910ef66308dd71762acce.tar.gz
vaadin-framework-f7e7f0e4f7ec4463863910ef66308dd71762acce.zip
Ignore -1 sync id on the server (#14084)
Change-Id: Iad73c44852c207f29381d59bea25275ac8f24dbd
Diffstat (limited to 'shared')
-rw-r--r--shared/src/com/vaadin/shared/ApplicationConstants.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/shared/src/com/vaadin/shared/ApplicationConstants.java b/shared/src/com/vaadin/shared/ApplicationConstants.java
index 9f723763f8..da4ac7450d 100644
--- a/shared/src/com/vaadin/shared/ApplicationConstants.java
+++ b/shared/src/com/vaadin/shared/ApplicationConstants.java
@@ -111,7 +111,9 @@ public class ApplicationConstants implements Serializable {
public static final String CSRF_TOKEN = "csrfToken";
/**
- * The name of the parameter used to transmit the sync id
+ * The name of the parameter used to transmit the sync id. The value can be
+ * set to -1 e.g. when testing with pre-recorded requests to make the
+ * framework ignore the sync id.
*
* @see com.vaadin.ui.ConnectorTracker#getCurrentSyncId()
* @since 7.2