<?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>197486</bug_id>
          
          <creation_ts>2019-05-01 18:37:29 -0700</creation_ts>
          <short_desc>Responsive Design Mode doesn&apos;t simulate screen size</short_desc>
          <delta_ts>2023-04-11 17:14:46 -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>Web Inspector</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>CanvaBug, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Xidorn Quan">xidorn-webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>inspector-bugzilla-changes</cc>
    
    <cc>karlcow</cc>
    
    <cc>pangle</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1532176</commentid>
    <comment_count>0</comment_count>
    <who name="Xidorn Quan">xidorn-webkit</who>
    <bug_when>2019-05-01 18:37:29 -0700</bug_when>
    <thetext>Some apps choose to use screen size (as opposed to viewport size) as a factor for their responsive design.

Safari doesn&apos;t seem to simulate screen size (obtained via `window.screen`) when in Responsive Design Mode, which makes it hard to debug those web apps.

Steps to reproduce:
1. open a website
2. click Develop / Enter Responsive Design Mode
3. click Develop / Show JavaScript Console
4. enter &quot;screen&quot; and enter

Expected result:
It should have a screen object with width and height for the device.

Actual result:
The screen object has the width and height of the current desktop screen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1885582</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-07-20 22:53:07 -0700</bug_when>
    <thetext>&lt;rdar://problem/97361332&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1900438</commentid>
    <comment_count>2</comment_count>
    <who name="Patrick Angle">pangle</who>
    <bug_when>2022-09-22 13:22:56 -0700</bug_when>
    <thetext>&lt;rdar://44222660&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1948080</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2023-04-11 17:14:46 -0700</bug_when>
    <thetext>The cause of this issue is in code outside of WebKit, so resolving as MOVED.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>