Changes between Version 4 and Version 5 of Writing Layout Tests to test iOS UI features
- Timestamp:
- Sep 30, 2015 3:26:15 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Writing Layout Tests to test iOS UI features
v4 v5 51 51 so we can use this in our test in some script that would run from the onload handler: 52 52 {{{ 53 <script> 53 54 function runTest() 54 55 { … … 61 62 } 62 63 } 64 </script> 65 <body onload="runTest()"></body> 63 66 }}} 64 67 65 The script passed in to runUIScript() is just a string. You can pass a string literal here, or, for longer scripts make script tag :68 The script passed in to runUIScript() is just a string. You can pass a string literal here, or, for longer scripts make script tag and get is context as text: 66 69 {{{ 67 70 <script id="ui-script" type="text/plain">