<?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>61045</bug_id>
          
          <creation_ts>2011-05-18 05:15:03 -0700</creation_ts>
          <short_desc>[Qt] Fix tst_QWebPage::testOptionalJSObjects() autotest</short_desc>
          <delta_ts>2012-11-14 06:10:39 -0800</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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>38654</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ademar</cc>
    
    <cc>cmarcelo</cc>
    
    <cc>ossy</cc>
    
    <cc>rafael.lobo</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>405659</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-05-18 05:15:03 -0700</bug_when>
    <thetext>FAIL!  : tst_QWebPage::testOptionalJSObjects() Compared values are not the same
   Actual (testFlag(webPage2, QWebSettings::LocalStorageEnabled, &quot;localStorage&quot;, true)): 0
   Expected (true): 1
   Loc: [/ramdisk/qt-linux-release/build/Source/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp(2295)]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>407043</commentid>
    <comment_count>1</comment_count>
      <attachid>94210</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-05-20 06:35:44 -0700</bug_when>
    <thetext>Created attachment 94210
mark failing test cases as expected fail</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>407044</commentid>
    <comment_count>2</comment_count>
      <attachid>94210</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-05-20 06:36:15 -0700</bug_when>
    <thetext>Comment on attachment 94210
mark failing test cases as expected fail

wrong patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>407048</commentid>
    <comment_count>3</comment_count>
      <attachid>94211</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-05-20 06:37:08 -0700</bug_when>
    <thetext>Created attachment 94211
mark failing test cases as expected fail</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>407052</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-05-20 06:39:52 -0700</bug_when>
    <thetext>Attachment 94211 did not pass style-queue:

Failed to run &quot;[&apos;Tools/Scripts/check-webkit-style&apos;, &apos;--diff-files&apos;, u&apos;Source/WebKit/qt/ChangeLog&apos;, u&apos;Source/WebK...&quot; exit_code: 1

Source/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp:2342:  Missing space after ,  [whitespace/comma] [3]
Source/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp:2345:  Missing space after ,  [whitespace/comma] [3]
Total errors found: 2 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>407053</commentid>
    <comment_count>5</comment_count>
      <attachid>94211</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-05-20 06:46:51 -0700</bug_when>
    <thetext>Comment on attachment 94211
mark failing test cases as expected fail

cq-, I&apos;ll fix the style issue before landing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>407080</commentid>
    <comment_count>6</comment_count>
      <attachid>94211</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-05-20 07:26:49 -0700</bug_when>
    <thetext>Comment on attachment 94211
mark failing test cases as expected fail

Landed in http://trac.webkit.org/changeset/86951</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>407171</commentid>
    <comment_count>7</comment_count>
    <who name="Rafael Brandao">rafael.lobo</who>
    <bug_when>2011-05-20 10:15:43 -0700</bug_when>
    <thetext>I&apos;ve tried to solve this here: https://bugs.webkit.org/show_bug.cgi?id=58847. There&apos;s a patch waiting for review there by the way.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>413581</commentid>
    <comment_count>8</comment_count>
    <who name="Ademar Reis">ademar</who>
    <bug_when>2011-06-01 12:32:35 -0700</bug_when>
    <thetext>Revision r86951 cherry-picked into qtwebkit-2.2 with commit e34811a &lt;http://gitorious.org/webkit/qtwebkit/commit/e34811a&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>417348</commentid>
    <comment_count>9</comment_count>
    <who name="Ademar Reis">ademar</who>
    <bug_when>2011-06-08 11:03:29 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; I&apos;ve tried to solve this here: https://bugs.webkit.org/show_bug.cgi?id=58847. There&apos;s a patch waiting for review there by the way.

Even with your patch, the two failures are still there, but they&apos;re different than the one originally reported on this bug. The ones currently failing are:

FAIL!  : tst_QWebPage::testOptionalJSObjects() Compared values are not the same
   Actual (testFlag(webPage1, QWebSettings::OfflineWebApplicationCacheEnabled, &quot;applicationCache&quot;, false)): 1
   Expected (false): 0
   Loc: [/opt/projects/webkit/qtwebkit-2.2/Source/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp(2335)]

and if we continue (via XFAIL):

FAIL!  : tst_QWebPage::testOptionalJSObjects() Compared values are not the same
   Actual (testFlag(webPage1, QWebSettings::OfflineWebApplicationCacheEnabled, &quot;applicationCache&quot;, false)): 1
   Expected (false): 0
   Loc: [/opt/projects/webkit/qtwebkit-2.2/Source/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp(2338)]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>420127</commentid>
    <comment_count>10</comment_count>
    <who name="Rafael Brandao">rafael.lobo</who>
    <bug_when>2011-06-13 18:09:22 -0700</bug_when>
    <thetext>They were failing before: https://bugs.webkit.org/show_bug.cgi?id=29867
Perhaps we should reopen that bug, and close this one as it is a duplicate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>766811</commentid>
    <comment_count>11</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-11-14 06:10:39 -0800</bug_when>
    <thetext>Tests aren&apos;t marked as failures now, so they work fine.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>94210</attachid>
            <date>2011-05-20 06:35:44 -0700</date>
            <delta_ts>2011-05-20 06:36:15 -0700</delta_ts>
            <desc>mark failing test cases as expected fail</desc>
            <filename>1.patch</filename>
            <type>text/plain</type>
            <size>476</size>
            <attacher name="Csaba Osztrogonác">ossy</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQvcXQvQ2hhbmdlTG9nIGIvU291cmNlL1dlYktpdC9x
dC9DaGFuZ2VMb2cKaW5kZXggOGI4YzgyYi4uNTkwMDZkZiAxMDA2NDQKLS0tIGEvU291cmNlL1dl
YktpdC9xdC9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dlYktpdC9xdC9DaGFuZ2VMb2cKQEAgLTYs
NyArNiw3IEBACiAgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9p
ZD02MTA0NQogCiAgICAgICAgICogdGVzdHMvcXdlYnBhZ2UvdHN0X3F3ZWJwYWdlLmNwcDoKLSAg
ICAgICAgKHRzdF9RV2ViUGFnZTo6dGVzdE9wdGlvbmFsSlNPYmplY3RzKToKKyAgICAgICAgKHRz
dF9RV2ViUGFnZTo6dGVzdE9wdGlvbmFsSlNPYmplY3RzKTogTWFyayBmYWlsaW5nIHRlc3QgY2Fz
ZXMgYXMgZXhwZWN0ZWQgZmFpbHMuCiAKIDIwMTEtMDUtMjAgIENzYWJhIE9zenRyb2dvbsOhYyAg
PG9zc3lAd2Via2l0Lm9yZz4KIAo=
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>94211</attachid>
            <date>2011-05-20 06:37:08 -0700</date>
            <delta_ts>2011-05-20 07:26:49 -0700</delta_ts>
            <desc>mark failing test cases as expected fail</desc>
            <filename>1.patch</filename>
            <type>text/plain</type>
            <size>1702</size>
            <attacher name="Csaba Osztrogonác">ossy</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQvcXQvQ2hhbmdlTG9nIGIvU291cmNlL1dlYktpdC9x
dC9DaGFuZ2VMb2cKaW5kZXggYzdjZTg1Yi4uNTkwMDZkZiAxMDA2NDQKLS0tIGEvU291cmNlL1dl
YktpdC9xdC9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dlYktpdC9xdC9DaGFuZ2VMb2cKQEAgLTEs
NSArMSwxNSBAQAogMjAxMS0wNS0yMCAgQ3NhYmEgT3N6dHJvZ29uw6FjICA8b3NzeUB3ZWJraXQu
b3JnPgogCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFtR
dF0gRml4IHRzdF9RV2ViUGFnZTo6dGVzdE9wdGlvbmFsSlNPYmplY3RzKCkgYXV0b3Rlc3QKKyAg
ICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTYxMDQ1CisKKyAg
ICAgICAgKiB0ZXN0cy9xd2VicGFnZS90c3RfcXdlYnBhZ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