Skip to content

Commit

Permalink
do not use reload yet
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN committed Jan 17, 2025
1 parent aae89d4 commit 183df4e
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4370,11 +4370,12 @@ The [=remote end steps=] with <var ignore>session</var> and |command parameters|
1. If |url record| is failure, return [=error=] with [=error code=] [=invalid
argument=].

1. [=Navigate=] |navigable| to [=/URL=] |url record| using
1. Run [=navigate=] |navigable| to [=/URL=] |url| using
|navigable|'s [=active document=] as the source
{{Document}} with userInvolvement "<code>browser UI</code>".

1. Let |navigation id| be |navigable|'s [=ongoing navigation=].
{{Document}} with userInvolvement "<code>browser UI</code>"
until a [=navigation id=] |navigation id| is generated
and pause the [=Navigate=] algorithm until the [=await a navigation=]
steps are invoked.

1. Return the result of [=await a navigation=] with |navigation id| and |wait condition|.

Expand Down Expand Up @@ -4575,7 +4576,15 @@ The [=remote end steps=] with |command parameters| are:
1. Let |wait condition| be the value of the <code>wait</code> field of |command
parameters| if present, or "<code>none</code>" otherwise.

1. [=Reload=] |navigable| with userInvolvement "<code>browser UI</code>".
1. Let |url| be |navigable|'s [=active document=]'s <a spec=DOM>URL</a>.

1. Run [=navigate=] |navigable| to [=/URL=] |url| using
|navigable|'s [=active document=] as the source
{{Document}} with userInvolvement "<code>browser UI</code>"
until a [=navigation id=] |navigation id| is generated
and pause the [=Navigate=] algorithm until the [=await a navigation=]
steps are invoked.

If |ignore cache| is true, the navigation must not load resources from the HTTP cache.

Issue: property specify how the |ignore cache| flag works. This needs to
Expand All @@ -4584,7 +4593,10 @@ The [=remote end steps=] with |command parameters| are:
normal), or whether resources not directly loaded by the HTML parser
(e.g. loads initiated by scripts or stylesheets) also bypass the cache.

1. Let |navigation id| be |navigable|'s [=ongoing navigation=].
Issue: we should probably call the reload algorithm in the HTML spec
but it is missing required intergration with WebDriver BiDi.

1. Let |navigation id| be the navigation ID generated by the [=Navigate=].

1. Return the result of [=await a navigation=] with |navigation id| and
|wait condition|.
Expand Down

0 comments on commit 183df4e

Please sign in to comment.