WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
192216
Web Inspector: replace all unicode characters with the escaped character code
https://bugs.webkit.org/show_bug.cgi?id=192216
Summary
Web Inspector: replace all unicode characters with the escaped character code
Devin Rousso
Reported
2018-11-29 21:43:50 PST
This avoids the "confusion" around left/right quotes.
Attachments
Patch
(57.58 KB, patch)
2018-11-29 21:46 PST
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews107 for mac-sierra-wk2
(3.25 MB, application/zip)
2018-11-29 22:36 PST
,
EWS Watchlist
no flags
Details
Archive of layout-test-results from ews100 for mac-sierra
(2.67 MB, application/zip)
2018-11-29 22:41 PST
,
EWS Watchlist
no flags
Details
Archive of layout-test-results from ews116 for mac-sierra
(2.15 MB, application/zip)
2018-11-29 23:33 PST
,
EWS Watchlist
no flags
Details
Patch
(63.87 KB, patch)
2018-11-30 01:08 PST
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Patch
(64.09 KB, patch)
2018-11-30 10:11 PST
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
Devin Rousso
Comment 1
2018-11-29 21:44:13 PST
<
rdar://problem/46275637
>
Devin Rousso
Comment 2
2018-11-29 21:46:45 PST
Created
attachment 356131
[details]
Patch
Devin Rousso
Comment 3
2018-11-29 21:48:43 PST
There are still some unicode characters in: - UserInterface/External/CodeMirror/codemirror.js - UserInterface/External/Esprima/esprima.js - UserInterface/External/three.js/LICENSE - UserInterface/External/three.js/three.js - UserInterface/Images/*.svg
EWS Watchlist
Comment 4
2018-11-29 22:36:16 PST
Comment hidden (obsolete)
Comment on
attachment 356131
[details]
Patch
Attachment 356131
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
https://webkit-queues.webkit.org/results/10210121
New failing tests: inspector/audit/data-domNodes.html inspector/audit/data-domAttributes.html inspector/audit/data-errors.html
EWS Watchlist
Comment 5
2018-11-29 22:36:17 PST
Comment hidden (obsolete)
Created
attachment 356141
[details]
Archive of layout-test-results from ews107 for mac-sierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-sierra-wk2 Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 6
2018-11-29 22:41:33 PST
Comment hidden (obsolete)
Comment on
attachment 356131
[details]
Patch
Attachment 356131
[details]
did not pass mac-ews (mac): Output:
https://webkit-queues.webkit.org/results/10210269
New failing tests: inspector/audit/data-domNodes.html inspector/audit/data-domAttributes.html inspector/audit/data-errors.html
EWS Watchlist
Comment 7
2018-11-29 22:41:35 PST
Comment hidden (obsolete)
Created
attachment 356143
[details]
Archive of layout-test-results from ews100 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews100 Port: mac-sierra Platform: Mac OS X 10.12.6
EWS Watchlist
Comment 8
2018-11-29 23:33:18 PST
Comment hidden (obsolete)
Comment on
attachment 356131
[details]
Patch
Attachment 356131
[details]
did not pass mac-debug-ews (mac): Output:
https://webkit-queues.webkit.org/results/10210432
New failing tests: inspector/audit/data-domNodes.html inspector/audit/data-domAttributes.html inspector/audit/data-errors.html
EWS Watchlist
Comment 9
2018-11-29 23:33:19 PST
Comment hidden (obsolete)
Created
attachment 356150
[details]
Archive of layout-test-results from ews116 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews116 Port: mac-sierra Platform: Mac OS X 10.12.6
Devin Rousso
Comment 10
2018-11-30 01:08:17 PST
Created
attachment 356161
[details]
Patch
Blaze Burg
Comment 11
2018-11-30 09:21:03 PST
Comment on
attachment 356161
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=356161&action=review
r=me This will cause a lot of churn for localizers, but it's probably better that the current state of things considering that our code review tools don't render unicode correctly.
> Source/WebInspectorUI/UserInterface/Views/DebuggerDashboardView.css:178 > + content: "\00A0\2014\00A0";
Please keep the comment.
> Source/WebInspectorUI/UserInterface/Views/ErrorObjectView.js:58 > + span.textContent = ` ${emDash} `;
Nice.
> Source/WebInspectorUI/UserInterface/Views/ScriptDetailsTimelineView.css:52 > }
I'm not sure what these codepoints do. I would like a comment when its something fairly unique.
> Source/WebInspectorUI/UserInterface/Views/TextEditor.css:78 > + content: "\2022\2022\2022";
Ditto
> Source/WebInspectorUI/UserInterface/Views/TreeOutline.css:256 > }
Ditto
Devin Rousso
Comment 12
2018-11-30 10:11:40 PST
Created
attachment 356191
[details]
Patch
Nikita Vasilyev
Comment 13
2018-11-30 10:48:59 PST
I’m really not a fan of this change. I can’t read strings in the code anymore. (In reply to Devin Rousso from
comment #0
)
> This avoids the "confusion" around left/right quotes.
Can we only do this for quotes?
WebKit Commit Bot
Comment 14
2018-11-30 10:55:48 PST
Comment on
attachment 356191
[details]
Patch Clearing flags on attachment: 356191 Committed
r238743
: <
https://trac.webkit.org/changeset/238743
>
WebKit Commit Bot
Comment 15
2018-11-30 10:55:49 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug