Skip to content

Core - LoadUrlAsync require url and remove SyncContext param #3842

@amaitland

Description

@amaitland

Currently it's possible to call await browser.LoadUrlAsync() without passing in a Url.

If you do this and the browser isn't loading then the method will just wait forever.

To provide a predictable behaviour the string url = null will be changed to string url and an ArgumentNullException thrown when string.IsNullOrEmpty(url).

  • Remove default null value for url param.
  • Remove SyncronisationContext param
    upon remove it doesn't make sense
  • Add WaitForInitialLoadAsync method

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions