removed „String.prototype.startsWith“ call to be compatible with older web view versions

This commit is contained in:
Sefa Ilkimen
2016-12-06 16:05:48 +01:00
parent 6b0f23b2d1
commit b3118d5ccd
+1 -1
View File
@@ -98,7 +98,7 @@ WebStorageCookieStore.prototype._isOnPath = function(cookiePath, urlPath) {
return true;
}
if (!urlPath.startsWith(cookiePath)) {
if (urlPath.indexOf(cookiePath) !== 0) {
return false;
}