no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / docshell / test / browser / file_multiple_pushState.html
blob6592f3f53f19c4de56fbadc6de6b117e017a934e
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>Test multiple calls to history.pushState</title>
6 </head>
7 <body>
8 <h1>Ohai</h1>
9 </body>
10 <script type="text/javascript">
11 window.history.pushState({}, "", "/bar/ABC?key=baz");
12 let data = new Array(100000).join("a");
13 window.history.pushState({ data }, "", "/bar/ABC/DEF?key=baz");
14 // Test also Gecko specific state object size limit.
15 try {
16 let largeData = new Array(20000000).join("a");
17 window.history.pushState({ largeData }, "", "/bar/ABC/DEF/GHI?key=baz");
18 } catch (ex) {}
19 </script>
20 </html>