Swarming: web ui doesn't work in firefox |
||
Issue descriptionForked off issue 839850 . Repro: - Visit https://chromium-swarm.appspot.com with Firefox Expected: - Works. Actual: - White page. Content Security Policy: Directive ‘child-src’ has been deprecated. Please use directive ‘worker-src’ to control workers, or directive ‘frame-src’ to control frames respectively. and repeated: Content Security Policy: The page’s settings blocked the loading of a resource at data:text/javascript;charset=utf-8,!func... (“script-src”). AI: - Update https://cs.chromium.org/chromium/infra/luci/appengine/swarming/handlers_frontend.py?l=156
,
May 9 2018
I spent some time investigating this today and I don't believe the core problem is the child-src issue. I have Firefox ESR 52.8 and fixed the csp issues (https://chromium-review.googlesource.com/c/infra/luci/luci-py/+/1052848), but still saw a blank screen. More curiously, I saw a blank screen when running it locally with "make run". It seems that HTML imports isn't working or being polyfilled correctly. As proof, I renamed task-page.html and then loaded task-page-demo.html and did not see any 404 errors that I would have expected. I'm not sure if there's an easy fix for this or not.
,
May 15 2018
The following revision refers to this bug: https://chromium.googlesource.com/infra/luci/luci-py.git/+/31db59922808893b283e05b9592893a88bb54621 commit 31db59922808893b283e05b9592893a88bb54621 Author: Kevin Lubick <kjlubick@google.com> Date: Tue May 15 12:06:18 2018 Fix CSP errors on Firefox child-src -> frame-src Bug: 839909 Change-Id: Ib9d0b7741f254c4b4e15cf3282800e49d90e987f Reviewed-on: https://chromium-review.googlesource.com/1052848 Commit-Queue: Kevin Lubick <kjlubick@chromium.org> Reviewed-by: Marc-Antoine Ruel <maruel@chromium.org> [modify] https://crrev.com/31db59922808893b283e05b9592893a88bb54621/appengine/components/components/auth/handler.py [modify] https://crrev.com/31db59922808893b283e05b9592893a88bb54621/appengine/isolate/handlers_frontend.py [modify] https://crrev.com/31db59922808893b283e05b9592893a88bb54621/appengine/swarming/handlers_frontend.py [modify] https://crrev.com/31db59922808893b283e05b9592893a88bb54621/appengine/swarming/proto/config.proto
,
Sep 24
Polymer version works on the newest version of Firefox. WebComponents version of Swarming UI will be tested against Firefox to make sure regressions like this won't happen. |
||
►
Sign in to add a comment |
||
Comment 1 by kjlubick@chromium.org
, May 9 2018