service-worker check:

- on-load, display error if service worker support is not available
- for embeds, display service worker unavailable error right away, don't attempt to load iframe
trailing slash check: redirect http://example.com -> http://example.com/
resources/page query: if no query= param is set, use url as query (when switching from replay, url is used as query)
This commit is contained in:
Ilya Kreymer
2020-07-14 21:57:54 -07:00
parent 46288c2b5b
commit f4b320dde5
7 changed files with 86 additions and 27 deletions
+2 -2
View File
@@ -309,14 +309,14 @@ class Coll extends LitElement
.active="${isPages}"
.editable="${this.editable}"
currList="${this.tabData.currList || 0}"
query="${this.tabData.query || ""}"
query="${this.tabData.query || this.tabData.url || ""}"
@coll-tab-nav="${this.onCollTabNav}" id="pages"
class="${isPages ? '' : 'is-hidden'}">
</wr-page-view>
<wr-coll-resources .collInfo="${this.collInfo}"
.active="${isResources}"
query="${this.tabData.query || ""}"
query="${this.tabData.query || this.tabData.url || ""}"
urlSearchType="${this.tabData.urlSearchType || ""}"
.currMime="${this.tabData.currMime || ""}"
@coll-tab-nav="${this.onCollTabNav}" id="resources"