misc fixes:

- don't attempt to resolve sourceUrl (breaks file urls)
- pass blob to loader
- add exact size progress update, if available
- google drive loader: switch to manual auth for any error
This commit is contained in:
Ilya Kreymer
2020-06-10 08:35:02 -07:00
parent 6ed0e510e2
commit b6f70975be
7 changed files with 63 additions and 38 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ class GDrive extends LitElement
onLoad() {
this.scriptLoaded = true;
this.gauth('none', (response) => {
if (response.error === "immediate_failed") {
if (response.error) {
if (this.state !== "implicitonly") {
this.state = "trymanual";
}