<rdar://problem/52976965>
Created attachment 375061 [details] Patch
Created attachment 375062 [details] Patch
Comment on attachment 375062 [details] Patch Is there a way to make a test case for this fix?
(In reply to Maciej Stachowiak from comment #3) > Comment on attachment 375062 [details] > Patch > > Is there a way to make a test case for this fix? It should be doable but…tricky, since the bug as-is relies on code in Safari. I’ll need to find a way to mock this either from layout tests, or API tests.
Created attachment 375074 [details] Much simpler approach
Wenson is working on a test for a follow-up.
Comment on attachment 375074 [details] Much simpler approach Thanks for the review! I’m working on a test right now, which I’ll land in a separate patch.
Comment on attachment 375074 [details] Much simpler approach Clearing flags on attachment: 375074 Committed r247914: <https://trac.webkit.org/changeset/247914>
All reviewed patches have been landed. Closing bug.
(In reply to Wenson Hsieh from comment #7) > Comment on attachment 375074 [details] > Much simpler approach > > Thanks for the review! > > I’m working on a test right now, which I’ll land in a separate patch. => webkit.org/b/200245