New issue
Advanced search Search tips

Issue 849725 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 143626
Owner: ----
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

document.styleSheets => cssRule access

Reported by baklan...@gmail.com, Jun 5 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0

Steps to reproduce the problem:
1. open local .html file with .css
2. try to access document.styleSheets => cssRule property
3. done

What is the expected behavior?
access okay

What went wrong?
access denied

Did this work before? No 

Does this work in other browsers? Yes

Chrome version: 64.0.3282.140 (Официальная сборка) (32 бит)  Channel: n/a
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 29.0 r0

nasty bug, fix it, i work for the future
 
Labels: Needs-Milestone
Cc: viswa.karala@chromium.org
Components: Blink>CSS
Labels: Triaged-ET Needs-Feedback
@Reporter: Could you please help us by providing sample html and .css file  for ease of reproducing this issue and also confirm whether this is is regression or not.

Attaching sample html and css files we used to test this issue.
Thanks!
local_roboto.css
263 bytes View Download
css_cors_bug.html
1000 bytes View Download

Comment 3 by phistuck@gmail.com, Jun 7 2018

I believe this is a duplicate of  issue 143626 .
confirm and fix it, this is a duplicate duplicate duplicate, yes.
Project Member

Comment 5 by sheriffbot@chromium.org, Jun 7 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 6 by phistuck@gmail.com, Jun 7 2018

#4 - a duplicate of a bug marked as WontFix will probably not be fixed, since it is working as intended, due to security considerations.

Using file:// URLs is highly discouraged and have various limitations, it does not reflect the standard web environment. You better use a server (there are compact static servers that require no installation).
make an option. local dev is fastest. no need for any servers and stuff.

Comment 8 by phistuck@gmail.com, Jun 7 2018

#7 - as far as I know, most developers do use servers, even simple, static ones, so it will not be a good option for Chrome developers to spend time implementing... There are much more important issues, especially when the workaround is just as fast.
ye, most people are stupid and lazy, working for money. And ye, there is much more important thing to do - make Chrome portable. But it wont happen.

Comment 10 by e...@chromium.org, Jun 7 2018

Mergedinto: 143626
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment