WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
29224
FrameLoadType and WebFrameLoadType conversion broken
https://bugs.webkit.org/show_bug.cgi?id=29224
Summary
FrameLoadType and WebFrameLoadType conversion broken
Aaron Golden
Reported
2009-09-12 14:29:16 PDT
FrameLoadType and WebFrameLoadType are enumerated differently, but there is at least one C-cast between the two types, -[WebFrame _loadType] is implemented as: - (WebFrameLoadType)_loadType { return (WebFrameLoadType)_private->coreFrame->loader()->loadType(); } and the types are: enum FrameLoadType { FrameLoadTypeStandard, FrameLoadTypeBack, FrameLoadTypeForward, FrameLoadTypeIndexedBackForward, // a multi-item hop in the backforward list FrameLoadTypeReload, FrameLoadTypeSame, // user loads same URL again (but not reload button) FrameLoadTypeRedirectWithLockedBackForwardList, // FIXME: Merge "lockBackForwardList", "lockHistory", "quickRedirect" and "clientRedirect" into a single concept of redirect. FrameLoadTypeReplace, FrameLoadTypeReloadFromOrigin }; typedef enum { WebFrameLoadTypeStandard, WebFrameLoadTypeBack, WebFrameLoadTypeForward, WebFrameLoadTypeIndexedBackForward, // a multi-item hop in the backforward list WebFrameLoadTypeReload, WebFrameLoadTypeReloadAllowingStaleData, WebFrameLoadTypeSame, // user loads same URL again (but not reload button) WebFrameLoadTypeInternal, // maps to WebCore::FrameLoadTypeRedirectWithLockedBackForwardList WebFrameLoadTypeReplace, WebFrameLoadTypeReloadFromOrigin, WebFrameLoadTypeBackWMLDeckNotAccessible } WebFrameLoadType;
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug