SSIA
Created attachment 406207 [details] Patch
Comment on attachment 406207 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=406207&action=review r=me > LayoutTests/editing/spelling/markers.html:83 > + element = e; NIT: rather than declare the globals using `let`, I think you can use `window.element = null` and then just set `window.element = element` (changing `e` to `element`) here to avoid the naming collision/confusion :) > LayoutTests/editing/spelling/markers.html:92 > + misspellingData = misspelling; ditto (:83) > LayoutTests/editing/spelling/markers.html:109 > + element = e; ditto (:83) > LayoutTests/editing/spelling/markers.html:118 > + misspellingData = misspelling; ditto (:83) > LayoutTests/editing/spelling/markers.html:123 > + oppositeMarker = "spelling"; ditto (:83) > LayoutTests/editing/spelling/markers.html:125 > + oppositeMarker = "grammar"; ditto (:83)
Comment on attachment 406207 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=406207&action=review >> LayoutTests/editing/spelling/markers.html:83 >> + element = e; > > NIT: rather than declare the globals using `let`, I think you can use `window.element = null` and then just set `window.element = element` (changing `e` to `element`) here to avoid the naming collision/confusion :) Sounds good! >> LayoutTests/editing/spelling/markers.html:92 >> + misspellingData = misspelling; > > ditto (:83) 👍🏻 >> LayoutTests/editing/spelling/markers.html:109 >> + element = e; > > ditto (:83) 👍🏻 >> LayoutTests/editing/spelling/markers.html:118 >> + misspellingData = misspelling; > > ditto (:83) 👍🏻 >> LayoutTests/editing/spelling/markers.html:123 >> + oppositeMarker = "spelling"; > > ditto (:83) 👍🏻 >> LayoutTests/editing/spelling/markers.html:125 >> + oppositeMarker = "grammar"; > > ditto (:83) 👍🏻
Created attachment 406219 [details] Patch for landing
Committed r265396: <https://trac.webkit.org/changeset/265396> All reviewed patches have been landed. Closing bug and clearing flags on attachment 406219 [details].
<rdar://problem/66704754>