aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin
diff options
context:
space:
mode:
authorArtur <artur@vaadin.com>2017-04-25 15:21:30 +0300
committerHenri Sara <henri.sara@gmail.com>2017-04-25 15:21:30 +0300
commit7bf4f7ade8a022119b4c00c8d92e3474a3b2652b (patch)
treec29d5f57fd0936790fb464e5a8669ccd8a4d16f5 /server/src/main/java/com/vaadin
parent54e36557c3062d1d5b5fabef561e34847ecde9be (diff)
downloadvaadin-framework-7bf4f7ade8a022119b4c00c8d92e3474a3b2652b.tar.gz
vaadin-framework-7bf4f7ade8a022119b4c00c8d92e3474a3b2652b.zip
Detect Chrome on iOS as Chrome + Webkit (#9138)
Diffstat (limited to 'server/src/main/java/com/vaadin')
-rw-r--r--server/src/main/java/com/vaadin/server/WebBrowser.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/src/main/java/com/vaadin/server/WebBrowser.java b/server/src/main/java/com/vaadin/server/WebBrowser.java
index 5c387d0c14..badc27c323 100644
--- a/server/src/main/java/com/vaadin/server/WebBrowser.java
+++ b/server/src/main/java/com/vaadin/server/WebBrowser.java
@@ -141,7 +141,9 @@ public class WebBrowser implements Serializable {
}
/**
- * Tests whether the user is using Safari.
+ * Tests whether the user is using Safari. Note that Chrome on iOS is not
+ * detected as Safari but as Chrome although the underlying browser engine
+ * is the same.
*
* @return true if the user is using Safari, false if the user is not using
* Safari or if no information on the browser is present