<?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>53856</bug_id>
          
          <creation_ts>2011-02-05 08:44:50 -0800</creation_ts>
          <short_desc>Regression / Crash(Chromium): Navigating to the initial page doesn&apos;t work and crashes Chromium</short_desc>
          <delta_ts>2012-09-06 06:24:51 -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>History</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows Vista</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>https://bugs.webkit.org/attachment.cgi?id=58498</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="Peter Beverloo">peter</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>creis</cc>
    
    <cc>dglazkov</cc>
    
    <cc>fishd</cc>
    
    <cc>mihaip</cc>
    
    <cc>pablo.platt</cc>
    
    <cc>priyajeet.hora</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>346149</commentid>
    <comment_count>0</comment_count>
    <who name="Peter Beverloo">peter</who>
    <bug_when>2011-02-05 08:44:50 -0800</bug_when>
    <thetext>The initial testcase from bug 40451 does not navigate back to the initial page:
https://bugs.webkit.org/attachment.cgi?id=58425&amp;action=edit

The reduced test-case (v2) doesn&apos;t either, but doesn&apos;t do so in Firefox and/or Opera either.

Reproduction steps:
  1. Open the test-case.
  2. Click on &quot;Artists&quot; in the iframe.
  3. Navigate backwards.

Behavior WebKit nightly (r77737):
It&apos;s impossible to go back to the initial content without refreshing. Opera and Firefox work fine here.

Behavior Chromium (73930):
Same as above, with one addition: when navigating forward again, it crashes on Windows Vista SP2 (64-bit) with the following call stack:

&gt;	chrome.dll!WebCore::HistoryController::recursiveSetProvisionalItem(WebCore::HistoryItem * item=0x043036e0, WebCore::HistoryItem * fromItem=0x07629320, WebCore::FrameLoadType type=FrameLoadTypeIndexedBackForward)  Line 629	C++
 	chrome.dll!WebCore::HistoryController::goToItem(WebCore::HistoryItem * targetItem=0x043036e0, WebCore::FrameLoadType type=FrameLoadTypeIndexedBackForward)  Line 250	C++
 	chrome.dll!WebKit::WebFrameImpl::loadHistoryItem(const WebKit::WebHistoryItem &amp; item={...})  Line 908	C++
 	chrome.dll!RenderView::OnNavigate(const ViewMsg_Navigate_Params &amp; params={...})  Line 1437 + 0x24 bytes	C++
 	chrome.dll!IPC::MessageWithTuple&lt;Tuple1&lt;ViewMsg_Navigate_Params&gt; &gt;::Dispatch&lt;RenderView,RenderView,void (__thiscall RenderView::*)(ViewMsg_Navigate_Params const &amp;)&gt;(const IPC::Message * msg=0x04efca90, RenderView * obj=0x04703400, RenderView * sender=0x04703400, void (const ViewMsg_Navigate_Params &amp;)* func=0x5dcb6d00)  Line 934	C++
 	chrome.dll!RenderView::OnMessageReceived(const IPC::Message &amp; message={...})  Line 987 + 0x1e bytes	C++
 	chrome.dll!MessageRouter::RouteMessage(const IPC::Message &amp; msg={...})  Line 46 + 0xa bytes	C++
 	chrome.dll!MessageRouter::OnMessageReceived(const IPC::Message &amp; msg={...})  Line 38 + 0x5 bytes	C++
 	chrome.dll!ChildThread::OnMessageReceived(const IPC::Message &amp; msg={...})  Line 168 + 0xb bytes	C++
 	chrome.dll!RunnableMethod&lt;SafeBrowsingService,void (__thiscall SafeBrowsingService::*)(SafeBrowsingService::UnsafeResource const &amp;),Tuple1&lt;SafeBrowsingService::UnsafeResource&gt; &gt;::Run()  Line 331 + 0xf bytes	C++
 	chrome.dll!MessageLoop::RunTask(Task * task=0x04efca80)  Line 363	C++
 	chrome.dll!MessageLoop::DoWork()  Line 564 + 0x8 bytes	C++
 	chrome.dll!base::MessagePumpForUI::DoRunLoop()  Line 202	C++
 	chrome.dll!base::MessagePumpWin::Run(base::MessagePump::Delegate * delegate=0x0492fabc)  Line 79 + 0x42 bytes	C++
 	chrome.dll!MessageLoop::RunInternal()  Line 337 + 0xb bytes	C++
 	chrome.dll!MessageLoop::Run()  Line 235	C++
 	chrome.dll!base::Thread::Run(MessageLoop * message_loop=0x0492fabc)  Line 129	C++
 	chrome.dll!base::Thread::ThreadMain()  Line 167	C++
 	chrome.dll!base::`anonymous namespace&apos;::ThreadFunc(void * params=0x042f1a98)  Line 38	C++

This is reproducible with the reduced test-case as well:
https://bugs.webkit.org/attachment.cgi?id=58498</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>346151</commentid>
    <comment_count>1</comment_count>
    <who name="Mihai Parparita">mihaip</who>
    <bug_when>2011-02-05 09:05:21 -0800</bug_when>
    <thetext>The crash in recursiveSetProvisionalItem looks similar to bug 52819 (the fix for which your Chromium build doesn&apos;t have).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>346820</commentid>
    <comment_count>2</comment_count>
    <who name="Darth">priyajeet.hora</who>
    <bug_when>2011-02-07 14:48:55 -0800</bug_when>
    <thetext>This might be a dupe of Bug 53708 which in turn got fixed in the same change list as bug 52819</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>346831</commentid>
    <comment_count>3</comment_count>
    <who name="Charles Reis">creis</who>
    <bug_when>2011-02-07 14:52:13 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; This might be a dupe of Bug 53708 which in turn got fixed in the same change list as bug 52819

I believe this bug (minus the crash) is valid.  Even after the patch for bug 52819, I can confirm that going back in the test case has no visual effect, making it so you can&apos;t get back to the initial page.

It might have something to do with provisional items for hash navigations.  I can take a look later this week.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>346841</commentid>
    <comment_count>4</comment_count>
    <who name="Darth">priyajeet.hora</who>
    <bug_when>2011-02-07 15:00:32 -0800</bug_when>
    <thetext>Really unsure if this bug is the same area as Bug 44228. Maybe you can take a look at that too if you have time :P It involves an iframe to maintain it&apos;s state when parent page is refreshed via browser. Because with history entries now being added properly with iframe navigation, reverting it to its original src, basically signifies that a parent page refresh == all those history entries gone.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>371998</commentid>
    <comment_count>5</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-03-23 00:28:31 -0700</bug_when>
    <thetext>@creis are you still planning to look at this issue?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>372194</commentid>
    <comment_count>6</comment_count>
    <who name="Charles Reis">creis</who>
    <bug_when>2011-03-23 09:31:32 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; @creis are you still planning to look at this issue?

Sorry, I got pulled away on a few other issues.  I probably won&apos;t be able to get to it right away if someone else wants to take a look, but I&apos;ll find time for it if not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>713235</commentid>
    <comment_count>7</comment_count>
    <who name="Peter Beverloo">peter</who>
    <bug_when>2012-09-06 06:24:51 -0700</bug_when>
    <thetext>Closing this, as I can&apos;t reproduce it anymore :-).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>