New issue
Advanced search Search tips

Issue 839909 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Sep 24
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Swarming: web ui doesn't work in firefox

Project Member Reported by mar...@chromium.org, May 4 2018

Issue description

Forked 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
 
Status: Started (was: Assigned)
 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.
Status: Fixed (was: Started)
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