This causes the check to exit early the first time it validates a string. This error is then printed: name 'basestring' is not defined We can use the str type instead, which is valid for both Python 2 and Python 3.
Created attachment 426909 [details] Patch
Comment on attachment 426909 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=426909&action=review > Source/WebCore/css/CSSProperties.json:7233 > + }, This change seems like it should be separate and doesn't match what the bug description says.
Created attachment 426933 [details] Patch
(In reply to Jonathan Bedard from comment #2) > Comment on attachment 426909 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=426909&action=review > > > Source/WebCore/css/CSSProperties.json:7233 > > + }, > > This change seems like it should be separate and doesn't match what the bug > description says. OK, I uploaded a new patch with just the jsonchecker.py changes.
Committed r276564 (237000@main): <https://commits.webkit.org/237000@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 426933 [details].
<rdar://problem/77124938>