RESOLVED FIXED202020
Web Inspector: searching in overrides doesn't work
https://bugs.webkit.org/show_bug.cgi?id=202020
Summary Web Inspector: searching in overrides doesn't work
Konrad Dzwinel
Reported 2019-09-19 19:20:24 PDT
Created attachment 379187 [details] no results for searching for 'Duck' within a document containing 'Duck' string Steps to reproduce: 1. Open Web Inspector 2. Make sure that 'sources tab' is enabled in experiments 3. Use local overrides to override any text file (e.g. html) 4. Open that file in 'Sources > Local Overrides' 5. Try searching with cmd+f for a string that exists within that text Expected result: Searched string is highlighted in text. Actual result: No search results are found.
Attachments
no results for searching for 'Duck' within a document containing 'Duck' string (417.71 KB, image/png)
2019-09-19 19:20 PDT, Konrad Dzwinel
no flags
[PATCH] Proposed Fix (1.51 KB, patch)
2019-09-19 19:38 PDT, Joseph Pecoraro
no flags
Joseph Pecoraro
Comment 1 2019-09-19 19:38:44 PDT
Created attachment 379194 [details] [PATCH] Proposed Fix
Devin Rousso
Comment 2 2019-09-19 19:43:45 PDT
Comment on attachment 379194 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=379194&action=review r=me > Source/WebInspectorUI/UserInterface/Views/SourceCodeTextEditor.js:253 > + if (this._sourceCode instanceof WI.LocalResource) This is better than `isLocalResourceOverride` right? Since it covers other local resources loaded via things like HAR as well, right?
Joseph Pecoraro
Comment 3 2019-09-19 19:51:18 PDT
(In reply to Devin Rousso from comment #2) > Comment on attachment 379194 [details] > [PATCH] Proposed Fix > > View in context: > https://bugs.webkit.org/attachment.cgi?id=379194&action=review > > r=me > > > Source/WebInspectorUI/UserInterface/Views/SourceCodeTextEditor.js:253 > > + if (this._sourceCode instanceof WI.LocalResource) > > This is better than `isLocalResourceOverride` right? Since it covers other > local resources loaded via things like HAR as well, right? Correct
WebKit Commit Bot
Comment 4 2019-09-19 20:36:22 PDT
Comment on attachment 379194 [details] [PATCH] Proposed Fix Clearing flags on attachment: 379194 Committed r250118: <https://trac.webkit.org/changeset/250118>
WebKit Commit Bot
Comment 5 2019-09-19 20:36:24 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6 2019-09-19 20:37:18 PDT
Note You need to log in before you can comment on or make changes to this bug.