This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
823 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>Another page</title> | ||
</head> | ||
<body> | ||
|
||
<div data-nstest-role="page" id="anotherPage"></div> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
</head> | ||
<body> | ||
<div id="basicDialog" data-nstest-role="dialog"> | ||
<div data-nstest-role="header"> | ||
<h1>Dialog</h1> | ||
</div> | ||
<div data-nstest-role="content"> | ||
<div data-nstest-role="popup" id="popupFromBasicDialog"> | ||
<a href="another-page.html" id="fromDialogPopupToAnotherPage">Go</a> | ||
</div> | ||
<a href="#popupFromBasicDialog" id="fromDialogToPopup" data-nstest-rel="popup">Go</a> | ||
<a href="another-page.html" id="fromDialogToAnotherPage">Go</a> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
</head> | ||
<body> | ||
<div id="anotherDialog" data-nstest-role="dialog"> | ||
<div data-nstest-role="header"> | ||
<h1>Dialog</h1> | ||
</div> | ||
<div data-nstest-role="content"> | ||
<a href="another-page.html" id="fromAnotherDialogToAnotherPage">Go</a> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
15 changes: 15 additions & 0 deletions
15
tests/unit/navigation/sequence-tests/sequence-dialog-hash-key-tests.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<script src="../../../../js/jquery.js"></script> | ||
<script src="../../../../js/"></script> | ||
<script> | ||
(function($) { | ||
var l = $.mobile.path.parseLocation(); | ||
|
||
// Redirect to sequence-tests.html in the same directory as this file | ||
location.href = l.protocol + "//" + l.host + l.directory + "sequence-tests.html" + l.search + "#&ui-state=dialog"; | ||
})( jQuery ); | ||
</script> | ||
</head> | ||
</html> |
15 changes: 15 additions & 0 deletions
15
tests/unit/navigation/sequence-tests/sequence-path1-path1-dialog-hash-key-tests.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<script src="../../../../js/jquery.js"></script> | ||
<script src="../../../../js/"></script> | ||
<script> | ||
(function($) { | ||
var l = $.mobile.path.parseLocation(); | ||
|
||
// Redirect to sequence-tests.html in the same directory as this file | ||
location.href = l.protocol + "//" + l.host + l.directory + "sequence-tests.html" + l.search + "#" + l.directory + "sequence-tests.html" + "&ui-state=dialog"; | ||
})( jQuery ); | ||
</script> | ||
</head> | ||
</html> |
15 changes: 15 additions & 0 deletions
15
tests/unit/navigation/sequence-tests/sequence-path1-path2-dialog-hash-key-tests.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<script src="../../../../js/jquery.js"></script> | ||
<script src="../../../../js/"></script> | ||
<script> | ||
(function($) { | ||
var l = $.mobile.path.parseLocation(); | ||
|
||
// Redirect to sequence-tests.html in the same directory as this file | ||
location.href = l.protocol + "//" + l.host + l.directory + "sequence-redirect.html" + l.search + "#" + l.directory + "sequence-tests.html" + "&ui-state=dialog"; | ||
})( jQuery ); | ||
</script> | ||
</head> | ||
</html> |
15 changes: 15 additions & 0 deletions
15
tests/unit/navigation/sequence-tests/sequence-push-state-disabled-dialog-hash-key-tests.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<!-- forces the base-tests into a push state disabled run and allows for | ||
the test suite runner to pick it up as a seperate test set. See test/unit/ls.php, | ||
test/unit/runner.js, base-tests.html, and tests/jquery.testHelper.js for more. --> | ||
<script src="../../../../js/jquery.js"></script> | ||
<script src="../../../jquery.testHelper.js"></script> | ||
<script type="text/javascript"> | ||
$.testHelper.pushStateRedirect( "./sequence-dialog-hash-key-tests.html" ); | ||
</script> | ||
</head> | ||
<body> | ||
</body> | ||
</html> |
15 changes: 15 additions & 0 deletions
15
...gation/sequence-tests/sequence-push-state-disabled-path1-path2-dialog-hash-key-tests.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<!-- forces the base-tests into a push state disabled run and allows for | ||
the test suite runner to pick it up as a seperate test set. See test/unit/ls.php, | ||
test/unit/runner.js, base-tests.html, and tests/jquery.testHelper.js for more. --> | ||
<script src="../../../../js/jquery.js"></script> | ||
<script src="../../../jquery.testHelper.js"></script> | ||
<script type="text/javascript"> | ||
$.testHelper.pushStateRedirect( "./sequence-path1-path2-dialog-hash-key-tests.html" ); | ||
</script> | ||
</head> | ||
<body> | ||
</body> | ||
</html> |
15 changes: 15 additions & 0 deletions
15
tests/unit/navigation/sequence-tests/sequence-push-state-disabled-tests.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<!-- forces the base-tests into a push state disabled run and allows for | ||
the test suite runner to pick it up as a seperate test set. See test/unit/ls.php, | ||
test/unit/runner.js, base-tests.html, and tests/jquery.testHelper.js for more. --> | ||
<script src="../../../../js/jquery.js"></script> | ||
<script src="../../../jquery.testHelper.js"></script> | ||
<script type="text/javascript"> | ||
$.testHelper.pushStateRedirect( "./sequence-tests.html" ); | ||
</script> | ||
</head> | ||
<body> | ||
</body> | ||
</html> |
Oops, something went wrong.