Bug 205201 - Web Inspector: Elements: restrict showing paint flashing and compositing borders to the Web Inspector session
Summary: Web Inspector: Elements: restrict showing paint flashing and compositing bord...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Local Build
Hardware: All All
: P2 Normal
Assignee: Devin Rousso
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-12-12 22:14 PST by Devin Rousso
Modified: 2019-12-18 23:36 PST (History)
12 users (show)

See Also:


Attachments
Patch (31.38 KB, patch)
2019-12-12 22:44 PST, Devin Rousso
no flags Details | Formatted Diff | Diff
Patch (30.87 KB, patch)
2019-12-18 22:46 PST, Devin Rousso
no flags Details | Formatted Diff | Diff
Patch (32.23 KB, patch)
2019-12-18 22:49 PST, Devin Rousso
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2019-12-12 22:14:55 PST
We often get bugs from users who turn on paint flashing or compositing borders, close Web Inspector, reopen Web Inspector, and are then surprised when the page flashes red or these borders exist all over the page.  Given that the dark mode and print styles toggles are limited to the Web Inspector session, we should make these have the same behavior.
Comment 1 Devin Rousso 2019-12-12 22:44:49 PST
Created attachment 385581 [details]
Patch
Comment 2 EWS Watchlist 2019-12-12 22:45:28 PST
This patch modifies the inspector protocol. Please ensure that any frontend changes appropriately use feature checks for new protocol features.
Comment 3 Timothy Hatcher 2019-12-18 10:38:20 PST
Comment on attachment 385581 [details]
Patch

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

> Source/WebCore/page/Settings.yaml:147
> +  inspectorOverride: true

Slick, I didn't know about this.
Comment 4 WebKit Commit Bot 2019-12-18 12:07:06 PST Comment hidden (obsolete)
Comment 5 Devin Rousso 2019-12-18 22:46:57 PST
Created attachment 386067 [details]
Patch
Comment 6 Devin Rousso 2019-12-18 22:49:09 PST
Created attachment 386068 [details]
Patch

Oops, bad rebase
Comment 7 WebKit Commit Bot 2019-12-18 23:35:36 PST
Comment on attachment 386068 [details]
Patch

Clearing flags on attachment: 386068

Committed r253739: <https://trac.webkit.org/changeset/253739>
Comment 8 WebKit Commit Bot 2019-12-18 23:35:38 PST
All reviewed patches have been landed.  Closing bug.
Comment 9 Radar WebKit Bug Importer 2019-12-18 23:36:17 PST
<rdar://problem/58070760>