| Testcase |
Steps |
Expected Result |
| Tabs with same domain name share a process ID |
- Launch Google Chrome with a new session.
- Enter any URL in the address bar (eg. www.google.com).
- Navigate to any other sub-domain through the main page by Ctrl+Clicking or 'context menu clicking' on the link, which opens the sub-domain in a new tab.
- Press Shift+Esc to launch the Chrome Task Manager.
|
The two tabs share the process ID as seen in Chrome Task Manager |
| New tabs with the same URL share a process ID
|
- Launch Google Chrome with a new session.
- Enter any URL in the address bar (eg. www.google.com).
- Create a new tab using shortcut Ctrl+T.
- Type in the same URL as in Step 2.
- Press Shift+Esc to launch the Chrome Task Manager.
|
Chrome's Task Manager shows two processes (tabs) sharing the process ID
|
| A different process is created when navigating to a new domain within the same tab |
- Launch Google Chrome with a new session.
- Enter any URL in the address bar (eg. www.google.com).
- Press Shift+Esc to launch the Chrome Task Manager.
- Check if a new process has been created for the the above domain.
- In the same tab, enter a new domain name in the address bar (eg. www.yahoo.com).
|
Chrome's Task Manager shows that the process ID for the domain in step 2 is ended and a new process ID is created
for the domain created in step 5 |
| Constrained window process shares the same process ID of its parent process
|
- Launch Google Chrome with a new session.
- Launch http://html.tests.googlepages.com/popup_test.html
- Click the button on that page. A constrained window opens.
- Press Shift+Esc to launch the Chrome Task Manager.
|
Parent process and the constrained window process share the process ID.
|
Downloading a file doesn't create a new process ID; no change in originating process ID
|
- Launch Google Chrome with a new session.
- Enter the URL of any page with a download link in the address bar (eg. http://www.apple.com/itunes/download/).
- Press Shift+Esc to launch the Chrome Task Manager.
- Click the download link (eg. Download iTunes Free). The file will start to download.
|
Download will progress without modifying the process ID for the domain created in step 2
|
JavaScript alert is prompted with no change
in originating process ID
|
- Launch Google Chrome with a new session.
- Enter any URL in the address bar (eg. www.google.com).
- Once the page completes loading, type 'javascript:alert("foo");' into the address bar of the same tab
- Press Shift+Esc to launch the Chrome Task Manager.
|
An alert message "foo" displays without changing the process ID for the domain created in step 2 |
Closing a tab ends the associated process
|
- Launch Google Chrome with a new session.
- Enter any URL in the address bar (eg. www.google.com).
- Press Shift+Esc to launch the Chrome Task Manager.
- A process is listed in the Task Manager for the domain above.
- Close the tab.
|
Process for the domain entered in step 2 is not seen in Chrome's Task Manager
|
| Process can be killed from Chrome's Task Manager
|
- Launch Google Chrome with a new session.
- Enter any URL in the address bar (eg. www.google.com).
- Press Shift+Esc to launch the Chrome Task Manager.
- Select the process running for www.google.com
- Click End process.
|
Process is not seen anymore in the Task Manager and a sad face is displayed for the associated process tab
|
| Closing a tab that shares a process with other tabs doesn't end the other processes
|
- Launch Google Chrome with a new session.
- Enter any URL in the address bar (eg. www.google.com)
- Navigate to any other sub-domain through the main page by Ctrl+Clicking the link, which opens the sub-domain in a new tab.
- Press Shift+Esc to launch the Chrome Task Manager. There are two processes sharing a process ID in the Chrome Task Manager.
- Close the first tab.
|
Process ID that was being shared is now assigned to remaining process
|
| Processes associated with a single process ID are all killed by ending that process
|
- Launch Google Chrome with a new session.
- Enter any URL in the address bar (eg. www.google.com)
- Navigate to any other sub-domain through the main page by Ctrl+Clicking the link, which opens the sub-domain in a new tab.
- Press Shift+Esc to launch the Chrome Task Manager. There are two processes sharing a process ID in the Chrome Task Manager.
- Select the process ID that is shared.
- Click End process.
|
All the processes associated with that single process ID are not seen in
Chrome's Task Manager and a sad face is displayed in all the tabs associated with that process ID
|