script-lab-2017 icon indicating copy to clipboard operation
script-lab-2017 copied to clipboard

With latest Mac builds, import and heartbeat-based refresh doesn't work (also iOS)

Open Zlatkovsky opened this issue 7 years ago • 1 comments

As of December, the Mac builds of Office (as well as iOS ones) make use of a version of Webkit that doesn't allow accessing localStorage within iframes.

https://bugs.webkit.org/show_bug.cgi?id=178601

Unfortunately for Script Lab, this means that currently:

  • Importing external snippets will fail. An external snippet will first show a Trust screen and then try to do a heartbeat-based reload. This will fail.
  • Heartbeat-based refresh doesn't work. That is arguably not as big of a problem (can live without...), but it means that the right-most quick-refresh button should be removed on iOS/Mac

For the first one, modifying the Trust logic to do a full reload on the Mac/iOS should solve the issue. For the second one, just remove the quick-refresh button.

@saunders77 , @dsaunders45459, @jakobpn FYI

Zlatkovsky avatar Jan 28 '18 17:01 Zlatkovsky

Might be fixed in August build.

Zlatkovsky avatar Aug 24 '18 18:08 Zlatkovsky