<?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>51929</bug_id>
          
          <creation_ts>2011-01-05 08:48:22 -0800</creation_ts>
          <short_desc>[Qt][V8] ScriptCachedFrameData.cpp misses V8DOMWindowShell::setContext</short_desc>
          <delta_ts>2011-01-12 11:46:28 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>
          <dependson>51930</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andras Becsi">abecsi</reporter>
          <assigned_to name="Andras Becsi">abecsi</assigned_to>
          <cc>abarth</cc>
    
    <cc>andreip</cc>
    
    <cc>antonm</cc>
    
    <cc>eric</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>329582</commentid>
    <comment_count>0</comment_count>
    <who name="Andras Becsi">abecsi</who>
    <bug_when>2011-01-05 08:48:22 -0800</bug_when>
    <thetext>After http://trac.webkit.org/changeset/74778 QtWebKit-V8 does not build because of the missing V8DOMWindowShell::setContext method, which was originally introduced in http://trac.webkit.org/changeset/56716.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>329583</commentid>
    <comment_count>1</comment_count>
    <who name="Andrei Popescu">andreip</who>
    <bug_when>2011-01-05 08:52:30 -0800</bug_when>
    <thetext>Oh, Android uses that method to enable WebKit&apos;s page cache mechanism so the method *is* used. Anton, please roll back your change :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>329586</commentid>
    <comment_count>2</comment_count>
      <attachid>78008</attachid>
    <who name="Andras Becsi">abecsi</who>
    <bug_when>2011-01-05 09:04:36 -0800</bug_when>
    <thetext>Created attachment 78008
proposed fix

I&apos;m not really sure whether this is the right way to fix the issue, maybe someone who is more familiar with V8 bindings can help.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>329587</commentid>
    <comment_count>3</comment_count>
    <who name="Andras Becsi">abecsi</who>
    <bug_when>2011-01-05 09:06:15 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; Oh, Android uses that method to enable WebKit&apos;s page cache mechanism so the method *is* used. Anton, please roll back your change :)

Ah OK. Thanks for the help.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>329589</commentid>
    <comment_count>4</comment_count>
    <who name="Andrei Popescu">andreip</who>
    <bug_when>2011-01-05 09:08:14 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; Created an attachment (id=78008) [details]
&gt; proposed fix
&gt; 
&gt; I&apos;m not really sure whether this is the right way to fix the issue, maybe someone who is more familiar with V8 bindings can help.

I don&apos;t think that&apos;s the right fix. We should simply roll back Anton&apos;s change, IMHO.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>329592</commentid>
    <comment_count>5</comment_count>
    <who name="Andras Becsi">abecsi</who>
    <bug_when>2011-01-05 09:11:44 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #2)
&gt; &gt; Created an attachment (id=78008) [details] [details]
&gt; &gt; proposed fix
&gt; &gt; 
&gt; &gt; I&apos;m not really sure whether this is the right way to fix the issue, maybe someone who is more familiar with V8 bindings can help.
&gt; 
&gt; I don&apos;t think that&apos;s the right fix. We should simply roll back Anton&apos;s change, IMHO.

OK, sheriffbot can do that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>329616</commentid>
    <comment_count>6</comment_count>
    <who name="Andras Becsi">abecsi</who>
    <bug_when>2011-01-05 09:44:24 -0800</bug_when>
    <thetext>The issue was fixed by reverting the changes in http://trac.webkit.org/changeset/75073.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>332334</commentid>
    <comment_count>7</comment_count>
    <who name="anton muhin">antonm</who>
    <bug_when>2011-01-11 07:51:41 -0800</bug_when>
    <thetext>Sorry for the trouble.

May I have a look how you use this method?

(In reply to comment #6)
&gt; The issue was fixed by reverting the changes in http://trac.webkit.org/changeset/75073.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>332350</commentid>
    <comment_count>8</comment_count>
    <who name="Andrei Popescu">andreip</who>
    <bug_when>2011-01-11 08:23:38 -0800</bug_when>
    <thetext>(In reply to comment #7)
&gt; Sorry for the trouble.
&gt; 
&gt; May I have a look how you use this method?
&gt; 
&gt; (In reply to comment #6)
&gt; &gt; The issue was fixed by reverting the changes in http://trac.webkit.org/changeset/75073.

If I remember right, it&apos;s called from here:

http://trac.webkit.org/browser/trunk/WebCore/bindings/v8/ScriptCachedFrameData.cpp?rev=56716#L58

Thanks,
Andrei</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>333201</commentid>
    <comment_count>9</comment_count>
    <who name="anton muhin">antonm</who>
    <bug_when>2011-01-12 11:46:28 -0800</bug_when>
    <thetext>Thanks a lot!

(In reply to comment #8)
&gt; (In reply to comment #7)
&gt; &gt; Sorry for the trouble.
&gt; &gt; 
&gt; &gt; May I have a look how you use this method?
&gt; &gt; 
&gt; &gt; (In reply to comment #6)
&gt; &gt; &gt; The issue was fixed by reverting the changes in http://trac.webkit.org/changeset/75073.
&gt; 
&gt; If I remember right, it&apos;s called from here:
&gt; 
&gt; http://trac.webkit.org/browser/trunk/WebCore/bindings/v8/ScriptCachedFrameData.cpp?rev=56716#L58
&gt; 
&gt; Thanks,
&gt; Andrei</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>78008</attachid>
            <date>2011-01-05 09:04:36 -0800</date>
            <delta_ts>2011-01-05 09:05:35 -0800</delta_ts>
            <desc>proposed fix</desc>
            <filename>0001-Qt-V8-ScriptCachedFrameData.cpp-misses-V8DOMWindowSh.patch</filename>
            <type>text/plain</type>
            <size>1867</size>
            <attacher name="Andras Becsi">abecsi</attacher>
            
              <data encoding="base64">RnJvbSBkNzA4MWEwNjA1YTY0ZDMxNzhkYzlmMTM3ZTg0ZDFkOWJiZmI5MWQ3IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBBbmRyYXMgQmVjc2kgPGFiZWNzaUB3ZWJraXQub3JnPgpEYXRl
OiBXZWQsIDUgSmFuIDIwMTEgMTg6MDQ6NDcgKzAxMDAKU3ViamVjdDogW1BBVENIXSBbUXRdW1Y4
XSBTY3JpcHRDYWNoZWRGcmFtZURhdGEuY3BwIG1pc3NlcyBWOERPTVdpbmRvd1NoZWxsOjpzZXRD
b250ZXh0CgotLS0KIFdlYkNvcmUvQ2hhbmdlTG9nICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICB8ICAgMTMgKysrKysrKysrKysrKwogV2ViQ29yZS9iaW5kaW5ncy92OC9TY3JpcHRDYWNoZWRG
cmFtZURhdGEuY3BwIHwgICAgNiArKysrLS0KIDIgZmlsZXMgY2hhbmdlZCwgMTcgaW5zZXJ0aW9u
cygrKSwgMiBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS9XZWJDb3JlL0NoYW5nZUxvZyBiL1dl
YkNvcmUvQ2hhbmdlTG9nCmluZGV4IDZmNTc3YmQuLjU4ZWEwNGYgMTAwNjQ0Ci0tLSBhL1dlYkNv
cmUvQ2hhbmdlTG9nCisrKyBiL1dlYkNvcmUvQ2hhbmdlTG9nCkBAIC0xLDUgKzEsMTggQEAKIDIw
MTEtMDEtMDUgIEFuZHJhcyBCZWNzaSAgPGFiZ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