<?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>87543</bug_id>
          
          <creation_ts>2012-05-25 15:55:56 -0700</creation_ts>
          <short_desc>[Win] ~1/2 of all the iframe seamless tests fail</short_desc>
          <delta_ts>2012-05-29 12:24:00 -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>Frames</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>Windows 7</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://build.webkit.org/results/Windows%207%20Release%20(WebKit2%20Tests)/r118550%20(18596)/results.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, LayoutTestFailure</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>45950</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Jessie Berlin">jberlin</reporter>
          <assigned_to name="Eric Seidel (no email)">eric</assigned_to>
          <cc>abarth</cc>
    
    <cc>jberlin</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>634379</commentid>
    <comment_count>0</comment_count>
    <who name="Jessie Berlin">jberlin</who>
    <bug_when>2012-05-25 15:55:56 -0700</bug_when>
    <thetext>First noticed on r118555

fast/frames/seamless/seamless-basic.html

--- /home/buildbot/slave/win-release-tests-wk2/build/layout-test-results/fast/frames/seamless/seamless-basic-expected.txt	2012-05-25 03:11:10.442730500 -0700
+++ /home/buildbot/slave/win-release-tests-wk2/build/layout-test-results/fast/frames/seamless/seamless-basic-actual.txt	2012-05-25 03:11:10.441730400 -0700
@@ -3,6 +3,6 @@
 PASS window.getComputedStyle(iframe).display is &quot;block&quot;
 PASS window.getComputedStyle(iframe).width is &quot;200px&quot;
 PASS window.getComputedStyle(iframe).height is &quot;100px&quot;
-PASS window.getComputedStyle(iframe).height is &quot;200px&quot;
+FAIL window.getComputedStyle(iframe).height should be 200px. Was 100px.
 PASS window.getComputedStyle(iframe).width is &quot;100px&quot;
 


fast/frames/seamless/seamless-css-cascade.html
fast/frames/seamless/seamless-form-get-named.html
fast/frames/seamless/seamless-form-get.html
fast/frames/seamless/seamless-form-post-named.html
fast/frames/seamless/seamless-form-post.html
fast/frames/seamless/seamless-hyperlink-named.html
fast/frames/seamless/seamless-hyperlink.html
fast/frames/seamless/seamless-inherited-document-style.html
fast/frames/seamless/seamless-window-location-href.html
fast/frames/seamless/seamless-window-location-sandbox.html
fast/frames/seamless/seamless-window-location.html
fast/frames/seamless/seamless-window-open.html

I will check in the failing expected results for now</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>634381</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2012-05-25 15:56:22 -0700</bug_when>
    <thetext>&lt;rdar://problem/11538352&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>634450</commentid>
    <comment_count>2</comment_count>
    <who name="Jessie Berlin">jberlin</who>
    <bug_when>2012-05-25 17:00:23 -0700</bug_when>
    <thetext>Added expected failing results in http://trac.webkit.org/changeset/118588</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>634519</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2012-05-25 18:53:51 -0700</bug_when>
    <thetext>This is very strange.

fast/frames/seamless/seamless-basic.html
- This is the dynamic update test failing:
http://trac.webkit.org/browser/trunk/LayoutTests/fast/frames/seamless/seamless-basic.html#L26
- Which suggests that somehow the layout() isn&apos;t occurring properly after the change.
http://trac.webkit.org/browser/trunk/Source/WebCore/rendering/RenderIFrame.cpp#L163

fast/frames/seamless/seamless-css-cascade.html
http://trac.webkit.org/browser/trunk/LayoutTests/fast/frames/seamless/seamless-css-cascade.html
http://build.webkit.org/results/Windows%207%20Release%20(Tests)/r118566%20(24163)/fast/frames/seamless/seamless-css-cascade-pretty-diff.html
- This is possibly related to bug 86182.  In this case it looks like the inner document has never inherited the styles from the outer.  Possibly because the inner document is attached before the styles are resolved on the outer document?  And then the inner document&apos;s style is not recalculated when the outer ones is?  It&apos;s possible that I&apos;m missing some style invalidation inside HTMLIFrameElement, but I would have expected this line of code to do the trick:
http://trac.webkit.org/browser/trunk/Source/WebCore/html/HTMLIFrameElement.cpp#L128
It&apos;s possible I&apos;m mssing a call to the superclass in that function?

fast/frames/seamless/seamless-form-get-named.html
fast/frames/seamless/seamless-form-get.html
fast/frames/seamless/seamless-form-post-named.html
fast/frames/seamless/seamless-form-post.html
fast/frames/seamless/seamless-hyperlink-named.html
fast/frames/seamless/seamless-hyperlink.html
fast/frames/seamless/seamless-inherited-document-style.html
fast/frames/seamless/seamless-window-location-href.html
fast/frames/seamless/seamless-window-location-sandbox.html
fast/frames/seamless/seamless-window-location.html
fast/frames/seamless/seamless-window-open.html

Those all look like seamless navigation is just failing (possibly due to Win-only loader differences?) Dr. Barth may know more.

http://build.webkit.org/results/Windows%207%20Release%20(Tests)/r118566%20(24163)/results.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>634534</commentid>
    <comment_count>4</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-05-25 19:21:04 -0700</bug_when>
    <thetext>I&apos;d have to look at the tests more closely to see if there&apos;s a pattern about which ones fail.  It&apos;s surprising that they would work differently on Windows though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>634535</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2012-05-25 19:24:03 -0700</bug_when>
    <thetext>Perhaps there is a more generic trouble of some sort of race around computing the &quot;can we be seamless&quot; bit.  Donno.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>634540</commentid>
    <comment_count>6</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-05-25 19:36:17 -0700</bug_when>
    <thetext>That would be consistent with the results of those navigation tests, which (on the surface) show navigation occurring as if seamless wasn&apos;t active.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>635083</commentid>
    <comment_count>7</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2012-05-28 03:18:42 -0700</bug_when>
    <thetext>After further investigation, these tests are failing because ENABLE_IFRAME_SEAMLESS is somehow off on Windows.  I guess I set it wrong in FeatureDefines.vsprops?
http://trac.webkit.org/browser/trunk/WebKitLibraries/win/tools/vsprops/FeatureDefines.vsprops#L134

The reason why more tests didn&apos;t fail is because ENABLE_IFRAME_SEAMLESS was not properly disabling seamless all the way.  I&apos;ve fixed that in bug 87646.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>635095</commentid>
    <comment_count>8</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2012-05-28 03:26:20 -0700</bug_when>
    <thetext>It could also be the the Win builders just didn&apos;t properly rebuild when the vsprops file was changed?  Do we know if visual studio will correctly notice those dependency changes?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>636293</commentid>
    <comment_count>9</comment_count>
    <who name="Jessie Berlin">jberlin</who>
    <bug_when>2012-05-29 12:00:43 -0700</bug_when>
    <thetext>(In reply to comment #8)
&gt; It could also be the the Win builders just didn&apos;t properly rebuild when the vsprops file was changed?  Do we know if visual studio will correctly notice those dependency changes?

Looks like it wasn&apos;t enabled properly in FeatureDefines.vsprops. I have a fix for that, I am just waiting to see if this entirely fixes the tests or if there are still issues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>636322</commentid>
    <comment_count>10</comment_count>
    <who name="Jessie Berlin">jberlin</who>
    <bug_when>2012-05-29 12:24:00 -0700</bug_when>
    <thetext>Fixed in http://trac.webkit.org/changeset/118817</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>