Changeset 247429 in webkit
- Timestamp:
- Jul 15, 2019 6:39:32 AM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r247427 r247429 1 2019-07-15 Zalan Bujtas <zalan@apple.com> 2 3 naver.com: Video stops when tapping on the video to use buttons 4 https://bugs.webkit.org/show_bug.cgi?id=199784 5 <rdar://problem/48068610> 6 7 Reviewed by Maciej Stachowiak. 8 9 Opt out of simulated mouse event sending for tv.naver.com. 10 When tv.naver.com receives the simulated mouseUp at touchEnd, it pauses the video right away and calls preventDefault() 11 which prevents us from running the hover heuristics. 12 13 * page/Quirks.cpp: 14 (WebCore::Quirks::shouldDispatchSimulatedMouseEvents const): 15 1 16 2019-07-15 Michael Catanzaro <mcatanzaro@igalia.com> 2 17 -
trunk/Source/WebCore/page/Quirks.cpp
r247213 r247429 291 291 if (equalLettersIgnoringASCIICase(host, "trailers.apple.com")) 292 292 return true; 293 if (equalLettersIgnoringASCIICase(host, "naver.com") || host.endsWithIgnoringASCIICase(".naver.com")) 294 return true; 293 if (equalLettersIgnoringASCIICase(host, "naver.com")) 294 return true; 295 // Disable the quirk for tv.naver.com subdomain to be able to simulate hover on videos. 296 if (host.endsWithIgnoringASCIICase(".naver.com")) 297 return !equalLettersIgnoringASCIICase(host, "tv.naver.com"); 295 298 return false; 296 299 }
Note: See TracChangeset
for help on using the changeset viewer.