<?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>43690</bug_id>
          
          <creation_ts>2010-08-08 10:01:53 -0700</creation_ts>
          <short_desc>[GTK] DRT on GTK reports different frame names from other platforms</short_desc>
          <delta_ts>2013-03-15 03:30:22 -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>PC</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Gtk</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mihai Parparita">mihaip</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mrobinson</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>261894</commentid>
    <comment_count>0</comment_count>
    <who name="Mihai Parparita">mihaip</who>
    <bug_when>2010-08-08 10:01:53 -0700</bug_when>
    <thetext>This layout test:

http://trac.webkit.org/browser/trunk/LayoutTests/fast/events/script-tests/onunload-back-to-page-cache.js?rev=64939

Sets window.name to &apos;navigated&apos; before navigating to a page with an onunload handler. Mac (and other platform) DRT prints this message:

main frame &quot;navigated&quot; - has 1 onunload handler(s)

While GTK DRT prints this message:

main frame - has 1 onunload handler(s)

Presumably getFrameNameSuitableForTestResult in WebKitTools/DumpRenderTree/gtk/DumpRenderTree.cpp should be brought closer to _drt_descriptionSuitableForTestResult in WebKitTools/DumpRenderTree/mac/FrameLoadDelegate.mm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>262178</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2010-08-09 09:24:08 -0700</bug_when>
    <thetext>I don&apos;t see this problem locally. When I revert the change you made in r64953, I get a failure, because &quot;navigated&quot; is listed in the output. Can you recall if this was failing on all bots or just some of them? Perhaps it&apos;s another timing issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>262194</commentid>
    <comment_count>2</comment_count>
    <who name="Mihai Parparita">mihaip</who>
    <bug_when>2010-08-09 09:56:03 -0700</bug_when>
    <thetext>I only happened to check the GTK Linux 64-bit Debug bot, but it seemed to be failing consistently. If you revert r64953 (for both the test and the expected output) and get a failure, doesn&apos;t that mean that you can reproduce this? &quot;navigated&quot; should be in the output in that case (and did appear to show up in all the other bots).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>855858</commentid>
    <comment_count>3</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2013-03-15 03:30:22 -0700</bug_when>
    <thetext>This test doesn&apos;t fail anymore on any platform, it seems though all the ports are now outputting the onunload handler report without the frame name.
http://trac.webkit.org/browser/trunk/LayoutTests/fast/events/onunload-back-to-page-cache-expected.txt</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>