<?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>4753</bug_id>
          
          <creation_ts>2005-08-30 04:55:28 -0700</creation_ts>
          <short_desc>Javascript window.open does not allow title change</short_desc>
          <delta_ts>2006-02-08 12:35:52 -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>JavaScriptCore</component>
          <version>312.x</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.3</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>3524</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kevin Gale">keving</reporter>
          <assigned_to name="Maciej Stachowiak">mjs</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>17912</commentid>
    <comment_count>0</comment_count>
    <who name="Kevin Gale">keving</who>
    <bug_when>2005-08-30 04:55:28 -0700</bug_when>
    <thetext>The following Javascript creates a new window and writes HTML into it to set the title:

msgWindow=window.open(&quot;&quot;,&quot;&quot;,&quot;menubar=yes,scrollbars=no,status=yes,width=300,height=300&quot;);
msgWindow.document.write(&quot;&lt;html&gt;&lt;head&gt;&lt;title&gt;Message window&lt;\/title&gt;&lt;\/head&gt;&lt;\/html&gt;&quot;);
msgWindow.document.close();

Unfortunately, under Safari the title never changes (IE / FireFox under Mac &amp; Windows works okay).

Executing the following Javascript after creating the window to try and change the window title also 
fails:

msgWindow.document.title = &quot;123&quot;;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18980</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2005-09-07 04:07:22 -0700</bug_when>
    <thetext>Confirmed with ToT WebKit.  The title of the newly created window is not set.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31873</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-02-08 12:35:52 -0800</bug_when>
    <thetext>Inability to set the title is actually a bug in Safari, not WebKit. Bug 3524 is kept open to track other closely related issues, though.

*** This bug has been marked as a duplicate of 3524 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>