File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 360
360
setTimeout ( function ( ) {
361
361
same ( document . title , "Title Tag" ) ;
362
362
start ( ) ;
363
- } , 1000 ) ;
363
+ } , 500 ) ;
364
364
} ) ;
365
365
366
366
asyncTest ( "Page title updates properly when clicking back to previous page" , function ( ) {
367
+ $ . testHelper . openPage ( "index.html" ) ;
367
368
window . history . back ( ) ;
368
369
setTimeout ( function ( ) {
369
370
same ( document . title , "jQuery Mobile Navigation Test Suite" ) ;
370
371
start ( ) ;
371
- } , 1500 ) ;
372
+ } , 500 ) ;
372
373
} ) ;
373
374
374
- asyncTest ( "Page title updates properly from title element when loading an external page" , function ( ) {
375
+ asyncTest ( "Page title updates properly from data- title attr when loading an external page" , function ( ) {
375
376
$ ( "#titletest2" ) . click ( ) ;
376
377
setTimeout ( function ( ) {
377
378
same ( document . title , "Title Tag" ) ;
378
379
start ( ) ;
379
- } , 1500 ) ;
380
+ } , 500 ) ;
380
381
} ) ;
381
382
382
383
385
386
setTimeout ( function ( ) {
386
387
same ( document . title , "Title Heading" ) ;
387
388
start ( ) ;
388
- } , 1500 ) ;
389
+ } , 500 ) ;
389
390
} ) ;
391
+
392
+
390
393
391
394
} ) ( jQuery ) ;
392
395
Original file line number Diff line number Diff line change 2
2
< html lang ="en ">
3
3
< head >
4
4
< meta charset ="utf-8 ">
5
- < title > Title Tag </ title >
5
+
6
6
</ head >
7
7
< body >
8
8
You can’t perform that action at this time.
0 commit comments