⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 287862 in webkit


Ignore:
Timestamp:
Jan 10, 2022, 3:42:34 PM (5 years ago)
Author:
eric.carlson@apple.com
Message:

hasBrokenEncryptedMediaAPISupportQuirk and needsPreloadAutoQuirk have overly permissive domain allow lists
https://bugs.webkit.org/show_bug.cgi?id=222130
<rdar://problem/74758560>

Unreviewed, fix typo introduced in r287855.

  • page/Quirks.cpp:

(WebCore::Quirks::needsPreloadAutoQuirk const): "vimeo" should be "vimeo.com".

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r287860 r287862  
     12022-01-10  Eric Carlson  <eric.carlson@apple.com>
     2
     3        hasBrokenEncryptedMediaAPISupportQuirk and needsPreloadAutoQuirk have overly permissive domain allow lists
     4        https://bugs.webkit.org/show_bug.cgi?id=222130
     5        <rdar://problem/74758560>
     6
     7        Unreviewed, fix typo introduced in r287855.
     8
     9        * page/Quirks.cpp:
     10        (WebCore::Quirks::needsPreloadAutoQuirk const): "vimeo" should be "vimeo.com".
     11
    1122022-01-10  Wenson Hsieh  <wenson_hsieh@apple.com>
    213
  • trunk/Source/WebCore/page/Quirks.cpp

    r287855 r287862  
    818818
    819819    auto domain = RegistrableDomain(m_document->url()).string();
    820     m_needsPreloadAutoQuirk = domain == "vimeo"_s;
     820    m_needsPreloadAutoQuirk = domain == "vimeo.com"_s;
    821821
    822822    return m_needsPreloadAutoQuirk.value();
Note: See TracChangeset for help on using the changeset viewer.