Changeset 244320 in webkit
- Timestamp:
- Apr 15, 2019 6:55:50 PM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r244315 r244320 1 2019-04-15 Eike Rathke <erack@redhat.com> 2 3 Fix logic flow for error log 4 https://bugs.webkit.org/show_bug.cgi?id=196933 5 6 Reviewed by Alexey Proskuryakov. 7 8 Missing block braces logged an error always, not just 9 if (actionIfInvalid == Complain). 10 11 * html/HTMLMediaElement.cpp: 12 (WebCore::HTMLMediaElement::isSafeToLoadURL): 13 1 14 2019-04-15 Myles C. Maxfield <mmaxfield@apple.com> 2 15 -
trunk/Source/WebCore/html/HTMLMediaElement.cpp
r243319 r244320 2099 2099 RefPtr<Frame> frame = document().frame(); 2100 2100 if (!frame || !document().securityOrigin().canDisplay(url)) { 2101 if (actionIfInvalid == Complain) 2101 if (actionIfInvalid == Complain) { 2102 2102 FrameLoader::reportLocalLoadFailed(frame.get(), url.stringCenterEllipsizedToLength()); 2103 2103 ERROR_LOG(LOGIDENTIFIER, url , " was rejected by SecurityOrigin"); 2104 } 2104 2105 return false; 2105 2106 }
Note: See TracChangeset
for help on using the changeset viewer.