<?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>97748</bug_id>
          
          <creation_ts>2012-09-26 18:31:12 -0700</creation_ts>
          <short_desc>testRunner.setFrameFlatteningEnabled only affects the main frame, not nested frames</short_desc>
          <delta_ts>2012-09-27 19:15:17 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>kenneth</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>729124</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-09-26 18:31:12 -0700</bug_when>
    <thetext>I was trying to figure out why a frame flattening test didn&apos;t behave as I expected. It turns out that testRunner.setFrameFlatteningEnabled(true); only affects the main frame, not nested frames. This makes it impossible to use to compare with mobile devices which set that everywhere.

Maybe testRunner.settings should always &quot;go deep&quot;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>729187</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-09-26 21:25:12 -0700</bug_when>
    <thetext>testRunner.settings should change WebCore::Settings, which is per-page.  I haven&apos;t looked into setFrameFlatteningEnabled, so I don&apos;t know what that does.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>729294</commentid>
    <comment_count>2</comment_count>
    <who name="Kenneth Rohde Christiansen">kenneth</who>
    <bug_when>2012-09-27 00:55:22 -0700</bug_when>
    <thetext>frame flattening kind of only makes sense if it is applied everywhere, thus also for nested frames, so it makes sense that that setting goes deep.

Is it already inherited by new frames after the setting has been set?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>729574</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-09-27 09:01:03 -0700</bug_when>
    <thetext>I may have made a hasty assumption here. Will debug more this afternoon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>729605</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-09-27 09:28:40 -0700</bug_when>
    <thetext>Renaming to match bug description for now. I agree with Adam, original title does not seem accurate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>729780</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-09-27 12:45:51 -0700</bug_when>
    <thetext>I&apos;m debugging a test that navigates. m_frameFlatteningEnabled is false on the Page&apos;s Settings, but I&apos;m not sure how it gets that way.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>730120</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-09-27 19:15:17 -0700</bug_when>
    <thetext>I was confused. See bug 97841 for what I was investigating.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>