W3C home > Mailing lists > Public > public-secondscreen@w3.org > February 2017

[presentation-api] [ReSpec] Performance regression when loading spec over file:///

From: Mark Foltz via GitHub <sysbot+gh@w3.org>
Date: Fri, 24 Feb 2017 18:48:42 +0000
To: public-secondscreen@w3.org
Message-ID: <issues.opened-210127553-1487962120-sysbot+gh@w3.org>
mfoltzgoogle has just created a new issue for 
https://github.com/w3c/presentation-api:

== [ReSpec] Performance regression when loading spec over file:/// ==
In Chrome 57.0.2987.54, when loading the spec from local disk, the 
sidebar controls load, then the page is blank for 30 seconds, then the
 spec is rendered.  This does not  happen when loading from 
https://w3c.github.io.

- From the devtools profiler, script is not doing anything.
- No request is hitting the network - all subresources are cached.
- The following are printed in the console:
```
 respec-w3c-common:13 Uncaught (in promise) DOMException: The user 
denied permission to access the database.
r @ respec-w3c-common:13
(anonymous) @ respec-w3c-common:13
respec-w3c-common:2 Plugin core/biblio took too long. Object {name: 
"core/biblio", done: Promise, resolveRef: function, run: function, 
stringifyReference: function…}
(anonymous) @ respec-w3c-common:2
respec-w3c-common:2 Error: Plugin core/biblio took too long.
    at respec-w3c-common:2
(anonymous) @ respec-w3c-common:2
n @ respec-w3c-common:1
(anonymous) @ respec-w3c-common:1
e.(anonymous function) @ respec-w3c-common:1
r @ respec-w3c-common:2
(anonymous) @ respec-w3c-common:2
respec-w3c-common:2 Plugin  took too long. Object {run: function}
(anonymous) @ respec-w3c-common:2
respec-w3c-common:2 Error: Plugin  took too long.
    at respec-w3c-common:2
(anonymous) @ respec-w3c-common:2
n @ respec-w3c-common:1
(anonymous) @ respec-w3c-common:1
e.(anonymous function) @ respec-w3c-common:1
r @ respec-w3c-common:2
(anonymous) @ respec-w3c-common:2
````

So maybe this is a permissions problem with accessing IndexedDB in the
 `core/biblio` plugin?  Does anyone know who maintains it?



Please view or discuss this issue at 
https://github.com/w3c/presentation-api/issues/412 using your GitHub 
account
Received on Friday, 24 February 2017 18:48:49 UTC

This archive was generated by hypermail 2.3.1 : Friday, 24 February 2017 18:48:49 UTC