Bug 26885 - [WML] WMLPageState doesn't reset history length correctly
Summary: [WML] WMLPageState doesn't reset history length correctly
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nikolas Zimmermann
URL:
Keywords:
Depends on: 26884
Blocks: 20393
  Show dependency treegraph
 
Reported: 2009-07-01 08:19 PDT by Nikolas Zimmermann
Modified: 2009-07-01 12:06 PDT (History)
3 users (show)

See Also:


Attachments
Initial patch (10.90 KB, patch)
2009-07-01 08:34 PDT, Nikolas Zimmermann
staikos: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolas Zimmermann 2009-07-01 08:19:24 PDT
WMLPageState::reset() doesn't reset history length correctly, thus partly breaking onenterforward/onenterbackward support. We don't have any tests for them at the moment, but I'm about to fix that.
Comment 1 Nikolas Zimmermann 2009-07-01 08:34:37 PDT
Created attachment 32124 [details]
Initial patch
Comment 2 Nikolas Zimmermann 2009-07-01 12:02:20 PDT
Sende          LayoutTests/ChangeLog
Hinzufügen     LayoutTests/wml/onenterforward-event-expected.txt
Hinzufügen     LayoutTests/wml/onenterforward-event.html
Hinzufügen     LayoutTests/wml/onenterforward-inline-event-expected.txt
Hinzufügen     LayoutTests/wml/onenterforward-inline-event.html
Hinzufügen     LayoutTests/wml/ontimer-event-expected.txt
Hinzufügen     LayoutTests/wml/ontimer-event.html
Hinzufügen     LayoutTests/wml/resources/onenterforward-event.js
Hinzufügen     LayoutTests/wml/resources/onenterforward-event.wml
Hinzufügen     LayoutTests/wml/resources/onenterforward-inline-event.js
Hinzufügen     LayoutTests/wml/resources/onenterforward-inline-event.wml
Hinzufügen     LayoutTests/wml/resources/ontimer-event.js
Hinzufügen     LayoutTests/wml/resources/ontimer-event.wml
Sende          LayoutTests/wml/resources/ontimer-inline-event.js
Sende          WebCore/ChangeLog
Sende          WebCore/wml/WMLPageState.cpp
Übertrage Daten ................
Revision 45444 übertragen.
Comment 3 Nikolas Zimmermann 2009-07-01 12:03:26 PDT
(In reply to comment #2)
> Sende          LayoutTests/ChangeLog
> Hinzufügen     LayoutTests/wml/onenterforward-event-expected.txt
> Hinzufügen     LayoutTests/wml/onenterforward-event.html
> Hinzufügen     LayoutTests/wml/onenterforward-inline-event-expected.txt
> Hinzufügen     LayoutTests/wml/onenterforward-inline-event.html
> Hinzufügen     LayoutTests/wml/ontimer-event-expected.txt
> Hinzufügen     LayoutTests/wml/ontimer-event.html
> Hinzufügen     LayoutTests/wml/resources/onenterforward-event.js
> Hinzufügen     LayoutTests/wml/resources/onenterforward-event.wml
> Hinzufügen     LayoutTests/wml/resources/onenterforward-inline-event.js
> Hinzufügen     LayoutTests/wml/resources/onenterforward-inline-event.wml
> Hinzufügen     LayoutTests/wml/resources/ontimer-event.js
> Hinzufügen     LayoutTests/wml/resources/ontimer-event.wml
> Sende          LayoutTests/wml/resources/ontimer-inline-event.js
> Sende          WebCore/ChangeLog
> Sende          WebCore/wml/WMLPageState.cpp
> Übertrage Daten ................
> Revision 45444 übertragen.

cc'ing Eric: Ouch, it seems to me we need a LC_ALL="en_EN" hardcoded in bugzilla-tool. What do you think

Comment 4 Eric Seidel (no email) 2009-07-01 12:06:53 PDT
Well, cearly at least bugzilla and bugzilla-tool are disagreeing on encodings. :)

Bug yes, probably we need to set the local as part of bugzilla-tool.  patches welcome.