[Webkit-unassigned] [Bug 11042] navigationController is borked

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 16 15:29:08 PDT 2023


Ahmad Saleem <ahmad.saleem792 at gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |ahmad.saleem792 at gmail.com,
                   |                            |ap at webkit.org

--- Comment #4 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
I think Comment 03 is referring to following code snippet:

Link - https://github.com/WebKit/WebKit/blob/c58d1fdfb592147cbe5dc6cc04add73c405be63c/Tools/DumpRenderTree/mac/NavigationController.m#L67

- (void)evaluateWebScript:(NSString *)script afterBackForwardNavigation:(NSString *)navigation
    // Allow both arguments to be optional
    if (![script isKindOfClass:[NSString class]])
        script = @"";
    if (![navigation isKindOfClass:[NSString class]])
        navigation = @"about:blank";

    [self setPendingScript:script];
    [self setPendingRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:navigation]]];
    pendingAction = Load;


I haven't tried this test locally but don't know whether it is available in our tree or not but just wanted to share latest stuff to see whether we need to do anything or not.

CCing - @Alexey - since I don't know who would be right person to look into it to fix or close it.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230916/53a7a164/attachment.htm>

More information about the webkit-unassigned mailing list