<?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>92318</bug_id>
          
          <creation_ts>2012-07-25 16:39:05 -0700</creation_ts>
          <short_desc>[Chromium] WebViewTest.AutoResizeXXX tests are failing</short_desc>
          <delta_ts>2013-04-09 17:06:47 -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>WONTFIX</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="Andrew Wilson">atwilson</reporter>
          <assigned_to name="Dmitry Titov">dimich</assigned_to>
          <cc>aa</cc>
    
    <cc>abarth</cc>
    
    <cc>allan.jensen</cc>
    
    <cc>dimich</cc>
    
    <cc>levin</cc>
    
    <cc>pkasting</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>678602</commentid>
    <comment_count>0</comment_count>
    <who name="Andrew Wilson">atwilson</who>
    <bug_when>2012-07-25 16:39:05 -0700</bug_when>
    <thetext>I&apos;m seeing the following error output for this test in the chromium webkit_unit_tests:

WebViewTest.AutoResizeInBetweenSizes: 
/Volumes/data/b/build/slave/webkit-mac-latest-dbg/build/src/third_party/WebKit/Source/WebKit/chromium/tests/WebViewTest.cpp:213: Failure
Value of: client.testData().width()
  Actual: 90
Expected: expectedWidth
Which is: 100
/Volumes/data/b/build/slave/webkit-mac-latest-dbg/build/src/third_party/WebKit/Source/WebKit/chromium/tests/WebViewTest.cpp:214: Failure
Value of: client.testData().height()
  Actual: 95
Expected: expectedHeight
Which is: 200

It started happening somewhere between 123625 and 123634 (http://build.chromium.org/p/chromium.webkit/builders/Webkit%20Mac10.6%20%28dbg%29/builds/11645) and I&apos;m suspicious of r123626.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>679173</commentid>
    <comment_count>1</comment_count>
    <who name="Allan Sandfeld Jensen">allan.jensen</who>
    <bug_when>2012-07-26 05:03:13 -0700</bug_when>
    <thetext>I can&apos;t see how r123626 could have that effect. Have you tried running it with r123626 reverted? 

Somehow it looks like the minSize is returned now and pageWidth and pageHeight having no effect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>679597</commentid>
    <comment_count>2</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2012-07-26 11:46:37 -0700</bug_when>
    <thetext>This will likely affect places that use autoresize.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>681358</commentid>
    <comment_count>3</comment_count>
    <who name="Peter Kasting">pkasting</who>
    <bug_when>2012-07-27 23:52:40 -0700</bug_when>
    <thetext>Disabling this test did not fix the problem.  Instead the next test to get run started failing with similar output:

[ RUN      ] WebViewTest.AutoResizeOverflowSizes
/Volumes/data/b/build/slave/webkit-mac-latest-dbg/build/src/third_party/WebKit/Source/WebKit/chromium/tests/WebViewTest.cpp:213: Failure
Value of: client.testData().width()
  Actual: 90
Expected: expectedWidth
Which is: 200
/Volumes/data/b/build/slave/webkit-mac-latest-dbg/build/src/third_party/WebKit/Source/WebKit/chromium/tests/WebViewTest.cpp:214: Failure
Value of: client.testData().height()
  Actual: 95
Expected: expectedHeight
Which is: 300
/Volumes/data/b/build/slave/webkit-mac-latest-dbg/build/src/third_party/WebKit/Source/WebKit/chromium/tests/WebViewTest.cpp:215: Failure
Value of: client.testData().horizontalScrollbarState()
  Actual: 0
Expected: expectedHorizontalState
Which is: 1
/Volumes/data/b/build/slave/webkit-mac-latest-dbg/build/src/third_party/WebKit/Source/WebKit/chromium/tests/WebViewTest.cpp:216: Failure
Value of: client.testData().verticalScrollbarState()
  Actual: 0
Expected: expectedVerticalState
Which is: 1
[  FAILED  ] WebViewTest.AutoResizeOverflowSizes (277 ms)

So it may be that the issue is that the previous test (WebViewTest.AutoResizeFixedHeightAndWidthOverflow) leaves something in a bad state?

I&apos;ll try disabling this test as well and see what happens.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>681361</commentid>
    <comment_count>4</comment_count>
    <who name="Peter Kasting">pkasting</who>
    <bug_when>2012-07-27 23:57:26 -0700</bug_when>
    <thetext>Disabled in r123957.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>681431</commentid>
    <comment_count>5</comment_count>
    <who name="Peter Kasting">pkasting</who>
    <bug_when>2012-07-28 09:21:55 -0700</bug_when>
    <thetext>Sure enough, that merely made the next test start failing.

In r123963 I&apos;ve re-enabled both these and instead disabled the test before them in hopes of figuring out whether it&apos;s leaving something in a bad state.

levin, it looks like you were the last one to touch these tests in a significant way, could you perhaps investigate?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>681447</commentid>
    <comment_count>6</comment_count>
    <who name="Peter Kasting">pkasting</who>
    <bug_when>2012-07-28 11:06:39 -0700</bug_when>
    <thetext>Apparently no matter what I do, we successfully run three of the AutoResize tests, then the next one fails.  So I just disabled all the tests after the first three :(.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>681567</commentid>
    <comment_count>7</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2012-07-29 10:20:41 -0700</bug_when>
    <thetext>Sorry, I&apos;m booked with other work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>681582</commentid>
    <comment_count>8</comment_count>
    <who name="Peter Kasting">pkasting</who>
    <bug_when>2012-07-29 13:09:27 -0700</bug_when>
    <thetext>Well, don&apos;t assign to me, I&apos;m just sheriff.

I don&apos;t know who else can look at this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>681583</commentid>
    <comment_count>9</comment_count>
    <who name="Peter Kasting">pkasting</who>
    <bug_when>2012-07-29 13:10:41 -0700</bug_when>
    <thetext>dimich, this potentially affects notifications and extension popup autosizing, might you be able to find an owner?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>872465</commentid>
    <comment_count>10</comment_count>
    <who name="Stephen Chenney">schenney</who>
    <bug_when>2013-04-09 17:06:47 -0700</bug_when>
    <thetext>Marked LayoutTest bugs, bugs with Chromium IDs, and some others as WontFix. Test failure bugs still are trackable via TestExpectations or disabled unit tests.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>