<?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>110807</bug_id>
          
          <creation_ts>2013-02-25 14:41:40 -0800</creation_ts>
          <short_desc>Page::m_isInWindow is uninitialized</short_desc>
          <delta_ts>2013-02-25 15:37:23 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Horton">thorton</reporter>
          <assigned_to name="Tim Horton">thorton</assigned_to>
          <cc>andersca</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>841300</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-02-25 14:41:40 -0800</bug_when>
    <thetext>Should be false by default, we&apos;ll get put into a window later.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>841303</commentid>
    <comment_count>1</comment_count>
      <attachid>190132</attachid>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-02-25 14:43:09 -0800</bug_when>
    <thetext>Created attachment 190132
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>841306</commentid>
    <comment_count>2</comment_count>
      <attachid>190132</attachid>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-02-25 14:45:27 -0800</bug_when>
    <thetext>Comment on attachment 190132
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=190132&amp;action=review

&gt; Source/WebCore/page/Page.cpp:164
&gt;      , m_isOnscreen(true)

Hmm, that&apos;s odd.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>841308</commentid>
    <comment_count>3</comment_count>
      <attachid>190132</attachid>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2013-02-25 14:46:31 -0800</bug_when>
    <thetext>Comment on attachment 190132
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=190132&amp;action=review

&gt;&gt; Source/WebCore/page/Page.cpp:164
&gt;&gt;      , m_isOnscreen(true)
&gt; 
&gt; Hmm, that&apos;s odd.

Should we change this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>841320</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-02-25 15:02:59 -0800</bug_when>
    <thetext>I think we should. A Page shouldn&apos;t be onscreen (or in-window) by default - until it&apos;s added to a platform view/window/etc. Any ports that see fallout from such a change should probably make sure that they&apos;re calling setIsInWindow/willMoveOffscreen/didMoveOnscreen at the appropriate times...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>841347</commentid>
    <comment_count>5</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-02-25 15:25:23 -0800</bug_when>
    <thetext>Ugh, none of the other ports bother to update onscreen or in-window state. Instead of implementing this for all the ports, I&apos;m going to (unfortunately) match m_isOnscreen and default to true. WK2 sets it to the correct value very quickly anyway, so this isn&apos;t a big deal.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>841349</commentid>
    <comment_count>6</comment_count>
      <attachid>190141</attachid>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-02-25 15:25:46 -0800</bug_when>
    <thetext>Created attachment 190141
sad patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>841351</commentid>
    <comment_count>7</comment_count>
      <attachid>190141</attachid>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2013-02-25 15:28:09 -0800</bug_when>
    <thetext>Comment on attachment 190141
sad patch

r=me but please justify your odd choice more in the Changelog.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>841357</commentid>
    <comment_count>8</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-02-25 15:37:23 -0800</bug_when>
    <thetext>http://trac.webkit.org/changeset/143979</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>190132</attachid>
            <date>2013-02-25 14:43:09 -0800</date>
            <delta_ts>2013-02-25 15:25:46 -0800</delta_ts>
            <desc>patch</desc>
            <filename>init.diff</filename>
            <type>text/plain</type>
            <size>1121</size>
            <attacher name="Tim Horton">thorton</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJDb3JlL0No
YW5nZUxvZwppbmRleCBmZTM2YTcwLi41OTY0NDgxIDEwMDY0NAotLS0gYS9Tb3VyY2UvV2ViQ29y
ZS9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTMg
QEAKKzIwMTMtMDItMjUgIFRpbSBIb3J0b24gIDx0aW1vdGh5X2hvcnRvbkBhcHBsZS5jb20+CisK
KyAgICAgICAgUGFnZTo6bV9pc0luV2luZG93IGlzIHVuaW5pdGlhbGl6ZWQKKyAgICAgICAgaHR0
cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTExMDgwNworCisgICAgICAgIFJl
dmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgICogcGFnZS9QYWdlLmNwcDoKKyAg
ICAgICAgKFdlYkNvcmU6OlBhZ2U6OlBhZ2UpOiBJbml0aWFsaXplIG1faXNJbldpbmRvdyB0byBm
YWxzZS4KKwogMjAxMy0wMi0yMiAgQWFyb24gQ29sd2VsbCAgPGFjb2x3ZWxsQGNocm9taXVtLm9y
Zz4KIAogICAgICAgICBGYWN0b3IgTWVkaWFTb3VyY2UgbWV0aG9kcyBvdXQgb2YgTWVkaWFQbGF5
ZXIgJiBNZWRpYVBsYXllclByaXZhdGUgYW5kIGludG8gYSBuZXcgTWVkaWFTb3VyY2VQcml2YXRl
IGludGVyZmFjZS4KZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJDb3JlL3BhZ2UvUGFnZS5jcHAgYi9T
b3VyY2UvV2ViQ29yZS9wYWdlL1BhZ2UuY3BwCmluZGV4IDUxMzM1NjcuLmI0MzBmNDQgMTAwNjQ0
Ci0tLSBhL1NvdXJjZS9XZWJDb3JlL3BhZ2UvUGFnZS5jcHAKKysrIGIvU291cmNlL1dlYkNvcmUv
cGFnZS9QYWdlLmNwcApAQCAtMTYyLDYgKzE2Miw3IEBAIFBhZ2U6OlBhZ2UoUGFnZUNsaWVudHMm
IHBhZ2VDbGllbnRzKQogICAgICwgbV90aW1lckFsaWdubWVudEludGVydmFsKFNldHRpbmdzOjpk
ZWZhdWx0RE9NVGltZXJBbGlnbm1lbnRJbnRlcnZhbCgpKQogICAgICwgbV9pc0VkaXRhYmxlKGZh
bHNlKQogICAgICwgbV9pc09uc2NyZWVuKHRydWUpCisgICAgLCBtX2lzSW5XaW5kb3coZmFsc2Up
CiAjaWYgRU5BQkxFKFBBR0VfVklTSUJJTElUWV9BUEkpCiAgICAgLCBtX3Zpc2liaWxpdHlTdGF0
ZShQYWdlVmlzaWJpbGl0eVN0YXRlVmlzaWJsZSkKICNlbmRpZgo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>190141</attachid>
            <date>2013-02-25 15:25:46 -0800</date>
            <delta_ts>2013-02-25 15:28:09 -0800</delta_ts>
            <desc>sad patch</desc>
            <filename>init.diff</filename>
            <type>text/plain</type>
            <size>1119</size>
            <attacher name="Tim Horton">thorton</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJDb3JlL0No
YW5nZUxvZwppbmRleCBmZTM2YTcwLi41OTY0NDgxIDEwMDY0NAotLS0gYS9Tb3VyY2UvV2ViQ29y
ZS9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTMg
QEAKKzIwMTMtMDItMjUgIFRpbSBIb3J0b24gIDx0aW1vdGh5X2hvcnRvbkBhcHBsZS5jb20+CisK
KyAgICAgICAgUGFnZTo6bV9pc0luV2luZG93IGlzIHVuaW5pdGlhbGl6ZWQKKyAgICAgICAgaHR0
cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTExMDgwNworCisgICAgICAgIFJl
dmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgICogcGFnZS9QYWdlLmNwcDoKKyAg
ICAgICAgKFdlYkNvcmU6OlBhZ2U6OlBhZ2UpOiBJbml0aWFsaXplIG1faXNJbldpbmRvdyB0byB0
cnVlLgorCiAyMDEzLTAyLTIyICBBYXJvbiBDb2x3ZWxsICA8YWNvbHdlbGxAY2hyb21pdW0ub3Jn
PgogCiAgICAgICAgIEZhY3RvciBNZWRpYVNvdXJjZSBtZXRob2RzIG91dCBvZiBNZWRpYVBsYXll
ciAmIE1lZGlhUGxheWVyUHJpdmF0ZSBhbmQgaW50byBhIG5ldyBNZWRpYVNvdXJjZVByaXZhdGUg
aW50ZXJmYWNlLgpkaWZmIC0tZ2l0IGEvU291cmNlL1dlYkNvcmUvcGFnZS9QYWdlLmNwcCBiL1Nv
dXJjZS9XZWJDb3JlL3BhZ2UvUGFnZS5jcHAKaW5kZXggNTEzMzU2Ny4uYmZmOGRjZCAxMDA2NDQK
LS0tIGEvU291cmNlL1dlYkNvcmUvcGFnZS9QYWdlLmNwcAorKysgYi9Tb3VyY2UvV2ViQ29yZS9w
YWdlL1BhZ2UuY3BwCkBAIC0xNjIsNiArMTYyLDcgQEAgUGFnZTo6UGFnZShQYWdlQ2xpZW50cyYg
cGFnZUNsaWVudHMpCiAgICAgLCBtX3RpbWVyQWxpZ25tZW50SW50ZXJ2YWwoU2V0dGluZ3M6OmRl
ZmF1bHRET01UaW1lckFsaWdubWVudEludGVydmFsKCkpCiAgICAgLCBtX2lzRWRpdGFibGUoZmFs
c2UpCiAgICAgLCBtX2lzT25zY3JlZW4odHJ1ZSkKKyAgICAsIG1faXNJbldpbmRvdyh0cnVlKQog
I2lmIEVOQUJMRShQQUdFX1ZJU0lCSUxJVFlfQVBJKQogICAgICwgbV92aXNpYmlsaXR5U3RhdGUo
UGFnZVZpc2liaWxpdHlTdGF0ZVZpc2libGUpCiAjZW5kaWYK
</data>
<flag name="review"
          id="210758"
          type_id="1"
          status="+"
          setter="simon.fraser"
    />
          </attachment>
      

    </bug>

</bugzilla>