Commit graph

60 commits

Author SHA1 Message Date
John Bender
475069becd added test for prefetched dialog pages 2011-10-11 16:19:18 -07:00
Jörn Zaefferer
0ed1460279 Add swarminject.js to prepare for TestSwarm integration 2011-10-04 15:02:17 -04:00
Kin Blas
5811440641 Added a test for diretly loading Urls with a hash that contains just the dialogHashKey. This tests to make sure these issues don't happen again:
Issue #2570 - Refreshing a page with #&ui-state=dialog causes syntax error
Issue #2582 - Refreshing a page with #&ui-state=dialog causes page duplication
2011-09-30 12:40:57 -07:00
Kin Blas
7ec8999bd0 Added a navigation test for issue 1243 - Can't link to dynamically created data-role="page" 2011-09-21 15:47:14 -07:00
John Bender
9cc8daa91a test that middle click doesn't trigger a page change 2011-09-15 10:25:04 -07:00
John Resig
0b83cf8d60 Tweak some more stylesheet formatting. 2011-09-08 21:35:28 -04:00
John Bender
f679d30620 added ipv6 support to urlparse regex Fixes #2362 2011-08-30 15:59:46 -07:00
John Bender
49cf3af91a Merge branch 'replacestate-external' 2011-08-25 13:05:54 -07:00
John Bender
a671c559f4 nav tests passing for both push state and hash 2011-08-19 14:02:35 -07:00
gseguin
e39a320214 Added unit tests for issue #1405 2011-08-17 18:15:57 -07:00
scottjehl
22b0cae65c added unit tests for the data-prefetch attr 2011-07-15 15:55:27 -04:00
John Bender
af3877be43 tests updated to accomodate relative hash references 2011-07-13 16:04:24 -07:00
Kin Blas
0d65a0d1c5 - Fixed issue #1923 - url of form is miscalculated
- Added code to calculate whether to choose the documentUrl or the page Url in the case where an action is not specified on a form element.

	- Fixed bug in the navigation "submit" handler where an error was being thrown if "type" was not specified.

	- Fixed typo "diabled" id typos in tests/unit/navigation/index.html.

	- Added tests for form submissions with no action in both base and non-base specified cases.
2011-06-27 10:25:13 -07:00
Kin Blas
53d375cd0a Unit test for issue #1913 - unnecessary ajax call and duplicate DOM nodes when refreshing a page with a dialog visible. 2011-06-23 16:41:26 -07:00
John Bender
dc530ea751 page sequence helper added, nav tests in a somewhat better state. the event trigger spot, namespace, and general setup are all up for debate 2011-05-21 22:15:12 -07:00
Kin Blas
3c792c58f0 Merge branch 'master' into navigation
Fixed Conflicts:
	js/jquery.mobile.init.js
	js/jquery.mobile.navigation.js
2011-05-20 09:39:19 -07:00
scottjehl
8ba4c27300 Ya'll can scale your pages now. Fixes #1645. Note: we originally disabled user zooming to work around a bug in iOS that automatically zooms the page beyond the constraints of the viewport on orientation change. We are not working around this bug at all now, but you are free to include any meta tag you'd like, or better yet, consider this polyfill: http://www.blog.highub.com/mobile-2/a-fix-for-iphone-viewport-scale-bug/ 2011-05-17 17:28:19 -04:00
John Bender
9096763741 finished basic pathing tests sans site relative root ir / 2011-04-29 22:23:57 -07:00
John Bender
9b88587426 completed doc relative tests 2011-04-27 23:07:58 -07:00
John Bender
84c1cfbcd8 first set of tests for path handling per Kin's wiki page 2011-04-27 22:43:41 -07:00
John Bender
b83d81962e tests for dialog query param support 2011-04-14 21:49:50 -07:00
John Bender
a267a3077c added tests to verify that dialogs referencing themselves with query params don't do anything 2011-04-14 21:49:50 -07:00
scottjehl
d97a964884 been meaning to do this for a while. 2011-04-14 16:04:47 -04:00
John Bender
193762da19 tests for handling query params in makeAbsolute path helper, moved path helper tests to helper test file 2011-04-11 23:42:01 -07:00
John Bender
b1da5f0d06 added tests to make sure links that reference the pages they are defined within don't transition Fixes #1360 2011-04-04 23:47:16 -07:00
John Bender
f63b1bf911 moved page title tests to sequence to stabalize their behavior 2011-03-31 22:47:40 -07:00
John Bender
89775d233a whitespace in navigation core tests and fixtures page 2011-03-31 22:18:54 -07:00
scottjehl
d8aac11a4f merging unit test addtions for page titles 2011-03-31 12:56:30 -04:00
John Bender
6d37ad6bbb added addtional test to cover issue 1305 2011-03-30 01:08:15 -07:00
John Bender
7b4842eabc test for dialogs within dialogs 2011-03-28 00:41:33 -07:00
John Bender
7df9e245f4 test namespace additions and type fix for core 2011-03-21 23:36:32 -07:00
John Bender
63e8f6bfcb resolved merge conflicts and fixed 2 tests 2011-03-15 23:57:17 -07:00
scottjehl
0d9627d54e Added viewport meta elements to the markup of every template and removed the metaViewportContent option from code and docs. IE does not support generated viewport tags. 2011-03-14 00:20:23 -04:00
John Bender
94ade0f86e fixed failing data-url regex, bizarri difference in behaviour with Regex objects and literals 2011-03-12 00:10:40 -08:00
scottjehl
0bf5ce8a37 set unit test pages namespace to "nstest-" 2011-03-09 23:16:48 -05:00
scottjehl
3cae8f8bf0 caught a few more 2011-03-09 21:03:40 -05:00
scottjehl
9e91fa6752 updated docs with jq namespace, found some more stragglers 2011-03-09 21:03:40 -05:00
John Bender
5fd1e70218 test for data-rel back and dialog fix 2011-03-04 23:34:54 -08:00
John Bender
86eceb03fc added two helpers and tests for proper url stack history traversal 2011-02-25 23:24:03 -08:00
John Bender
421dc352c0 corrected js test includes and simplified to prevent further breakages 2011-02-20 18:07:17 -08:00
John Bender
709d12e4d6 resolved conflict for default dialog transition to pop 2011-02-16 22:52:14 -08:00
John Bender
bec975ad3a added tests for data url regexs 2011-02-15 22:59:54 -08:00
John Bender
47d4a1fb0a refactor/simplification of fix for broken regex matching data url in ajax loaded pages 2011-02-14 17:25:23 -08:00
John Bender
3ca20f8362 resolved small conflict in test fixtures 2011-02-07 22:33:49 -08:00
John Bender
cbd1eb7ac9 moved page and dialog styling to qunit css to remove repition and make sure that its consistent across pages 2011-02-05 21:22:50 -08:00
Alex Kovar
910c4d43f0 fixed small display glitch on navigation tests 2011-02-05 14:39:11 -06:00
scottjehl
4c4ccbd971 removed the position plugin script references 2011-01-31 23:48:13 -05:00
John Bender
96d941ebe9 added the ability to disable ajax forms with data-ajax=false, attribute up for debate, Fixes #519 2011-01-08 23:47:07 -08:00
Kin Blas
38f09ee66f Sweep through all files to add a trailing slash to <link> tags that include thems/default. This should fix Opera Mobile Issue 763. 2011-01-05 16:19:24 -08:00
John Bender
fa760da3bd docs updated with information about the slider keys 2010-12-22 23:53:44 -08:00