Test Child Web Views

A new web view should be created when a link with target=_blank is clicked, or when window.open() is called in response to a user's click event. When target is _self the content should be loaded in the current webview

Declarative API

1. target=_blank

Click here

The above link has a target=_blank attribute and should load a new page in a separate web view when clicked.

2. target=_self

Click here

The above link has a target=_self attribute and should load the child page in this webview

3. target=_top

Click here

The above link has a target=_top attribute and should load the child page in this webview

3. target=_parent

Click here

The above link has a target=_parent attribute and should load the child page in this webview

Programmatic API

1. window.open()

Click here

1a. The above link has a click handler which calls window.open() and should load a new page in a separate web view when clicked.

1b. After closing the window, you should see a reference to the opened window inside the following grey box:

 

Note! window.open() does not work without an actual user click due to popup blocking.

2. window.open(url, "_blank")

Click here

2a. The above link has a click handler which calls window.open() and should load a new page in a separate web view when clicked.

2b. After closing the window, you should see a reference to the opened window inside the following grey box:

 

Note! window.open() does not work without an actual user click due to popup blocking.

3. window.open(url, "_self")

Click here

3a. The above link has a click handler which calls window.open() and should load a new page in a separate web view when clicked.

3b. After closing the window, you should see a reference to the opened window inside the following grey box:

 

Note! window.open() does not work without an actual user click due to popup blocking.

4. window.open(url, "_top")

Click here

4a. The above link has a click handler which calls window.open() and should load a new page in a separate web view when clicked.

4b. After closing the window, you should see a reference to the opened window inside the following grey box:

 

Note! window.open() does not work without an actual user click due to popup blocking.

5. window.open(url, "_parent")

Click here

5a. The above link has a click handler which calls window.open() and should load a new page in a separate web view when clicked.

5b. After closing the window, you should see a reference to the opened window inside the following grey box:

 

Note! window.open() does not work without an actual user click due to popup blocking.