WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
227599
loadSimulatedRequest: should do same delegate callbacks as loadHTMLString and loadData
https://bugs.webkit.org/show_bug.cgi?id=227599
Summary
loadSimulatedRequest: should do same delegate callbacks as loadHTMLString and...
Alex Christensen
Reported
2021-07-01 15:22:55 PDT
loadSimulatedRequest: should do same delegate callbacks as loadHTMLString and loadData
Attachments
Patch
(5.61 KB, patch)
2021-07-01 15:23 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Patch
(5.60 KB, patch)
2021-07-01 15:45 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Patch
(33.43 KB, patch)
2021-07-02 21:45 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Alex Christensen
Comment 1
2021-07-01 15:23:27 PDT
Created
attachment 432731
[details]
Patch
Chris Dumez
Comment 2
2021-07-01 15:26:48 PDT
Comment on
attachment 432731
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=432731&action=review
> Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewLoadAPIs.mm:97 > + EXPECT_EQ(vector.size(), 4u);
ASSERT_EQ() as we'll crash otherwise.
Alex Christensen
Comment 3
2021-07-01 15:45:44 PDT
Created
attachment 432737
[details]
Patch
Wenson Hsieh
Comment 4
2021-07-01 16:16:30 PDT
rdar://78578639
EWS
Comment 5
2021-07-01 18:45:38 PDT
Committed
r279494
(
239346@main
): <
https://commits.webkit.org/239346@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 432737
[details]
.
Aakash Jain
Comment 6
2021-07-02 08:01:31 PDT
(In reply to EWS from
comment #5
)
> Committed
r279494
(
239346@main
): <
https://commits.webkit.org/239346@main
>
This broke TestWebKitAPI.WKWebView.LoadSimulatedRequestUpdatesBackForwardList Also indicated by EWS (
https://ews-build.webkit.org/#/builders/9/builds/50270
,
https://ews-build.webkit.org/#/builders/3/builds/51248
) History:
https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.WKWebView.LoadSimulatedRequestUpdatesBackForwardList
WebKit Commit Bot
Comment 7
2021-07-02 08:03:07 PDT
Re-opened since this is blocked by
bug 227628
Alex Christensen
Comment 8
2021-07-02 21:45:05 PDT
Created
attachment 432841
[details]
Patch
Alex Christensen
Comment 9
2021-07-02 22:26:30 PDT
Comment on
attachment 432841
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=432841&action=review
> Source/WebKit/ChangeLog:9 > +
I also wanted to add this: Before this change we set SubstituteData.failingURL, which in FrameLoader::PolicyChecker::checkNavigationPolicy makes it behave more like _loadAlternateHTMLString which doesn't call decidePolicyForNavigationAction and does add a back/forward entry. We want it to behave more like loadHTMLString, which does call decidePolicyForNavigationAction and doesn't add a back/forward entry. Except we do want it to add a back/forward entry. This patch is to accomplish that.
Alex Christensen
Comment 10
2021-07-06 10:34:15 PDT
r279595
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