<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>311602</bug_id>
          
          <creation_ts>2026-04-06 16:44:36 -0700</creation_ts>
          <short_desc>[Quirk] invideo.io: add a window.chrome object to bypass the code sniffing.</short_desc>
          <delta_ts>2026-04-08 17:40:44 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://invideo.io</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Karl Dubost">karlcow</reporter>
          <assigned_to name="Karl Dubost">karlcow</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2197422</commentid>
    <comment_count>0</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2026-04-06 16:44:36 -0700</bug_when>
    <thetext>There is a double block on Safari:

1. !!window.chrome (line 1798) — a property-based sniff that excludes all non-Chromium browsers
2. [&quot;safari&quot;].includes(browserName) (line 1921) — an explicit UA-based Safari exclusion via dhe(), used to prevent Safari from passing even if it supports the required Web APIs

Safari actually supports both WebGL2 and SharedArrayBuffer (with proper COOP/COEP headers). The site&apos;s playback engine likely depends on Chromium-specific behavior or simply never tested on Safari/WebKit. The block is browser-sniffing, not feature-detection — Safari is excluded by name and by the absence of window.chrome, not because it lacks the required capabilities.

There is an outreach radar too. rdar://172352516

The User-Agent override has been done on the side of the Safari code.

This part will address the window.chrome object faking in the WebKit Code.

Steps to Reproduce:
1. Go to https://invideo.io
2. Login (sign up dance if you didn’t do it.)
3. You are being redirected to a space in https://ai.invideo.io/workspace/long_id_here/v40-copilot
4. Click on Advertising Studio
5. Select Logo
6. Click on New
7. Project Name: Webcompat
8. Click on create-project.
9. Give a prompt.
10. Click on Unlimited.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2197423</commentid>
    <comment_count>1</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2026-04-06 16:45:11 -0700</bug_when>
    <thetext>rdar://171741842</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2197430</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2026-04-06 17:16:52 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/62154</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2198205</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-04-08 17:40:42 -0700</bug_when>
    <thetext>Committed 310809@main (81b942bfeab5): &lt;https://commits.webkit.org/310809@main&gt;

Reviewed commits have been landed. Closing PR #62154 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>