Bug 89307 - Web Inspector: Make text in WebSocket Frames tab selectable
Summary: Web Inspector: Make text in WebSocket Frames tab selectable
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nikita Vasilyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-17 09:16 PDT by Nikita Vasilyev
Modified: 2012-06-19 07:08 PDT (History)
12 users (show)

See Also:


Attachments
A fix (1.74 KB, patch)
2012-06-17 09:23 PDT, Nikita Vasilyev
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Vasilyev 2012-06-17 09:16:41 PDT
Cannot copy text form WebSocket Frames tab introduced in https://bugs.webkit.org/show_bug.cgi?id=83282.
Comment 1 Nikita Vasilyev 2012-06-17 09:23:47 PDT
Created attachment 148012 [details]
A fix
Comment 2 Nikita Vasilyev 2012-06-17 09:32:04 PDT
Comment on attachment 148012 [details]
A fix

View in context: https://bugs.webkit.org/attachment.cgi?id=148012&action=review

> Source/WebCore/inspector/front-end/ResourceWebSocketFrameView.js:-26
> -    this.element.addStyleClass("html");

"html" class doesn’t seem to be used.

Should I use classList.add instead of addStyleClass? The latter is just a shortcut for the former but it has the same amount of characters. There is a bug related to it https://bugs.webkit.org/show_bug.cgi?id=72803
Comment 3 Yury Semikhatsky 2012-06-18 00:00:12 PDT
Comment on attachment 148012 [details]
A fix

View in context: https://bugs.webkit.org/attachment.cgi?id=148012&action=review

>> Source/WebCore/inspector/front-end/ResourceWebSocketFrameView.js:-26
>> -    this.element.addStyleClass("html");
> 
> "html" class doesn’t seem to be used.
> 
> Should I use classList.add instead of addStyleClass? The latter is just a shortcut for the former but it has the same amount of characters. There is a bug related to it https://bugs.webkit.org/show_bug.cgi?id=72803

It is OK to use addStyleClass here at the moment for consistency, we will switch the whole file to classList.add at once.
Comment 4 Nikita Vasilyev 2012-06-19 04:59:46 PDT
Is there any reason why the patch still not in commit-queue?
Comment 5 Pavel Feldman 2012-06-19 06:43:49 PDT
(In reply to comment #4)
> Is there any reason why the patch still not in commit-queue?

The reason is that auto-commit was not requested via commit-queue=?
Comment 6 WebKit Review Bot 2012-06-19 07:06:38 PDT
Comment on attachment 148012 [details]
A fix

Clearing flags on attachment: 148012

Committed r120710: <http://trac.webkit.org/changeset/120710>
Comment 7 WebKit Review Bot 2012-06-19 07:06:43 PDT
All reviewed patches have been landed.  Closing bug.
Comment 8 Nikita Vasilyev 2012-06-19 07:08:48 PDT
Pavel, totally forgot it. Thanks!