This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/104946/

Ship it!

Looks good, except for a few nitpicks.

khtml/ecma/kjs_events.cpp (Diff revision 3)
const ClassInfo DOMHashChangeEvent::info = { "HashChangeEvent", &DOMEvent::info, &DOMHashChangeEventTable, 0 };
1119
  initMessageEvent     DOMHashChangeEvent::InitHashChangeEvent     DontDelete|Function 7
5, not 7

khtml/ecma/kjs_window.h (Diff revision 3)
namespace KJS {
161
           MutationEventCtor, MessageEventCtor, KeyboardEventCtor, EventExceptionCtor,
161
           MutationEventCtor, MessageEventCtor, KeyboardEventCtor, EventExceptionCtor,
Add HashChangeEventCtor as well?

- Maks


On May 15th, 2012, 12:56 p.m., Martin Tobias Holmedahl Sandsmark wrote:

Review request for kdelibs.
By Martin Tobias Holmedahl Sandsmark.

Updated May 15, 2012, 12:56 p.m.

Description

Implement a custom hashchange event, and make the khtml kpart emit it
when we are asked to navigate to another anchor, and the ref is
different.

Testing

tested extensively against http://lolcats.iskrembilen.com/

Diffs

  • khtml/ecma/kjs_events.h (3727b94)
  • khtml/ecma/kjs_events.cpp (e7c7e5b)
  • khtml/ecma/kjs_html.h (089b550)
  • khtml/ecma/kjs_html.cpp (d64e07c)
  • khtml/ecma/kjs_window.h (416b045)
  • khtml/ecma/kjs_window.cpp (e75e6e7)
  • khtml/html/html_baseimpl.cpp (baa13b5)
  • khtml/khtml_part.cpp (24589e4)
  • khtml/misc/htmlattrs.in (21a2363b)
  • khtml/misc/htmlnames.h (e3adbe7)
  • khtml/misc/htmlnames.cpp (3b22b6d)
  • khtml/xml/dom2_eventsimpl.h (5b452d2)
  • khtml/xml/dom2_eventsimpl.cpp (f01a533)

View Diff