Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand the FrameElementDelegate interface #402

Closed

Conversation

seanpdoyle
Copy link
Contributor

Expand the FrameElementDelegate to extend from both
FormInterceptorDelegate and LinkInterceptorDelegate.

After that change, replace conditionals in the FrameRedirector with
calls to the FrameElement instance's delegate when one is found.

This reduces the surface area for duplicate logic and improves
guarantees of consistency across semantically similar situations.

Expand the `FrameElementDelegate` to extend from both
`FormInterceptorDelegate` and `LinkInterceptorDelegate`.

After that change, replace conditionals in the `FrameRedirector` with
calls to the `FrameElement` instance's delegate when one is found.

This reduces the surface area for duplicate logic and improves
guarantees of consistency across semantically similar situations.
@seanpdoyle
Copy link
Contributor Author

Closing this in favor of #430.

@seanpdoyle seanpdoyle closed this Nov 11, 2021
@seanpdoyle seanpdoyle deleted the frame-redirector-delegates branch November 11, 2021 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant