browser.ini |
|
1824 |
browser_339445.js |
Test for Bug 339445 * |
1255 |
browser_339445_sample.html |
Test for bug 339445 |
559 |
browser_345898.js |
Test for Bug 345898 * |
1734 |
browser_346337.js |
Test for Bug 346337 * |
5152 |
browser_346337_sample.html |
Test for bug 346337 |
1012 |
browser_350525.js |
Test for Bug 350525 * |
3267 |
browser_354894.js |
Checks that restoring the last browser window in session is actually
working:
1.1) Open a new browser window
1.2) Add some tabs
1.3) Close that window
1.4) Opening another window
--> State is restored
2.1) Open a new browser window
2.2) Add some tabs
2.4) Open some popups
2.5) Add another tab to one popup (so that it gets stored) and close it again
2.5) Close the browser window
2.6) Open another browser window
--> State of the closed browser window, but not of the popup, is restored
3.1) Open a popup
3.2) Add another tab to the popup (so that it gets stored) and close it again
3.3) Open a window
--> Nothing at all should be restored
4.1) Open two browser windows and close them again
4.2) undoCloseWindow() one
4.3) Open another browser window
--> Nothing at all should be restored
Checks the new notifications are correctly posted and processed, that is
for each successful -requested a -granted is received, but omitted if
-requested was cnceled
Said notifications are:
- browser-lastwindow-close-requested
- browser-lastwindow-close-granted
Tests are:
5) Cancel closing when first observe a -requested
--> Window is kept open
6) Count the number of notifications
--> count(-requested) == count(-granted) + 1
--> (The first -requested was canceled, so off-by-one)
7) (Mac only) Mac version of Test 5 additionally preparing Test 6
@see https://bugzilla.mozilla.org/show_bug.cgi?id=354894
@note It is implicitly tested that restoring the last window works when
non-browser windows are around. The "Run Tests" window as well as the main
browser window (wherein the test code gets executed) won't be considered
browser windows. To achiveve this said main browser window has it's windowtype
attribute modified so that it's not considered a browser window any longer.
This is crucial, because otherwise there would be two browser windows around,
said main test window and the one opened by the tests, and hence the new
logic wouldn't be executed at all.
@note Mac only tests the new notifications, as restoring the last window is
not enabled on that platform (platform shim; the application is kept running
although there are no windows left)
@note There is a difference when closing a browser window with
BrowserTryToCloseWindow() as opposed to close(). The former will make
nsSessionStore restore a window next time it gets a chance and will post
notifications. The latter won't.
|
16416 |
browser_367052.js |
Test for Bug 367052 * |
1593 |
browser_393716.js |
Test for Bug 393716 * |
2677 |
browser_394759_basic.js |
Test for Bug 394759, ported in Bug 510890 * |
3106 |
browser_394759_behavior.js |
Test for Bug 394759, ported in Bug 510890 * |
2542 |
browser_408470.js |
Test for Bug 408470 * |
2273 |
browser_408470_sample.html |
Test for bug 408470 |
958 |
browser_423132.js |
|
2920 |
browser_423132_sample.html |
|
291 |
browser_447951.js |
Test for Bug 447951 * |
2081 |
browser_447951_sample.html |
Testcase for bug 447951 |
84 |
browser_448741.js |
Test for Bug 448741 * |
2400 |
browser_454908.js |
Test for Bug 454908 * |
1943 |
browser_454908_sample.html |
Test for bug 454908 |
219 |
browser_456342.js |
Test for Bug 456342 * |
1651 |
browser_456342_sample.xhtml |
Test for bug 456342 |
898 |
browser_461634.js |
Test for Bug 461634, ported by Bug 524345 * |
3443 |
browser_463206.js |
Test for Bug 463206 * |
2509 |
browser_463206_sample.html |
Test for bug 463206 |
416 |
browser_465215.js |
Test for Bug 465215 * |
1499 |
browser_465223.js |
Test for Bug 465223 * |
2126 |
browser_466937.js |
Test for Bug 466937 * |
1639 |
browser_466937_sample.html |
Test for bug 466937 |
628 |
browser_477657.js |
Test for Bug 477657 * |
2744 |
browser_480893.js |
Test for Bug 480893 * |
2723 |
browser_483330.js |
Test for Bug 483330 * |
1197 |
browser_485482.js |
Test for Bug 485482, ported by Bug 487922 * |
1421 |
browser_485482_sample.html |
|
209 |
browser_490040.js |
Test for Bug 490040, ported by Bug 511640 * |
4346 |
browser_491168.js |
Test for Bug 491168, ported by Bug 524369 * |
2463 |
browser_491577.js |
Test for Bug 491577 * |
4247 |
browser_493467.js |
Test for Bug 493467, ported by Bug 524365 * |
1735 |
browser_500328.js |
|
4671 |
browser_514751.js |
Test for Bug 509315 (Wallpaper) * |
1704 |
browser_522545.js |
Test for Bug 522545 * |
9678 |
browser_524745.js |
Test for Bug 524745, ported by bug 558638 * |
2181 |
browser_526613.js |
Test for Bug 526613, porting done in Bug 548211 * |
2400 |
browser_528776.js |
Test for Bug 528776, ported by Bug 548228 * |
816 |
browser_581937.js |
|
1321 |
browser_586068-cascaded_restore.js |
Test for Bug 586068 - Cascade page loads when restoring * |
29720 |
browser_597315.js |
Test for Bug 597315 - Frameset history does not work properly when restoring a tab * |
2504 |
browser_597315_a.html |
|
45 |
browser_597315_b.html |
|
266 |
browser_597315_c.html |
|
45 |
browser_597315_c1.html |
|
46 |
browser_597315_c2.html |
|
46 |
browser_597315_index.html |
|
240 |
browser_607016.js |
Bug 607016 - If a tab is never restored, attributes (eg. hidden) aren't updated correctly * |
5037 |
browser_615394-SSWindowState_events.js |
Test for Bug 615394 - Session Restore should notify when it is beginning and ending a restore * |
11885 |
browser_625257.js |
|
2795 |
browser_636279.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
2778 |
browser_637020.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
2093 |
browser_637020_slow.sjs |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
502 |
browser_645428.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
564 |
browser_665702-state_session.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
789 |
browser_687710.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
1076 |
browser_687710_2.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
1766 |
browser_694378.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
870 |
browser_bug431826.js |
|
1777 |
browser_isempty.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
873 |
browser_markPageAsFollowedLink.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
|
2492 |
framedPage.html |
Framed page |
193 |
frameLeft.html |
Left frame |
175 |
frameRight.html |
Right Frame |
113 |
head.js |
|
4724 |