New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 733421 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Last visit 29 days ago
Closed: Jun 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

browser_procotol.json recommends removed getAllStyleSheets API

Reported by kevinsaw...@gmail.com, Jun 14 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36

Steps to reproduce the problem:
1. Open https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/inspector/browser_protocol.json?l=2809&rcl=18483384881ff88144393b1c8d9c48343bd844cc

What is the expected behavior?
Docs shouldn't mention getAllStyleSheets API which was removed in https://codereview.chromium.org/148523012

What went wrong?
Docs mention it:

"A client can also discover all the existing stylesheets with the <code>getAllStyleSheets()</code> method"

Did this work before? N/A 

Chrome version: 59.0.3071.86  Channel: stable
OS Version: OS X 10.12.5
Flash Version:
 
Labels: TE-NeedsTriageHelp
Owner: lushnikov@chromium.org
Status: Assigned (was: Unconfirmed)
@lushnikov - could you update the docs related to your change (was a long time ago)? Thanks.
Project Member

Comment 3 by bugdroid1@chromium.org, Jun 27 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f9423a6e9423e4196b2a4e9e652e9a0908c38436

commit f9423a6e9423e4196b2a4e9e652e9a0908c38436
Author: lushnikov <lushnikov@chromium.org>
Date: Tue Jun 27 18:47:42 2017

DevTools: fix description of CSS domain in browser_protocol.json

The description should not mention non-existing method getAllStyleSheets().

BUG= 733421 
R=dgozman

Review-Url: https://codereview.chromium.org/2956003002
Cr-Commit-Position: refs/heads/master@{#482693}

[modify] https://crrev.com/f9423a6e9423e4196b2a4e9e652e9a0908c38436/third_party/WebKit/Source/core/inspector/browser_protocol.json

Status: Fixed (was: Assigned)

Sign in to add a comment