Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: pages/testcases/generic/index.html

Issue 29328600: Issue 3122 - Add sitekey frame files ready for sitekey testcases (Closed)
Left Patch Set: Deleted some erroneous whitespace Created Sept. 24, 2015, 4:58 p.m.
Right Patch Set: Attempt to make frame URL logic clearer Created Oct. 13, 2015, 11:28 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | static/abp-test-suite-filters.txt » ('j') | templates/sitekey_frame.tmpl » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 title=ABP Test Pages 1 title=ABP Test Pages
2 template=frame 2 template=frame
3 3
4 <script type="text/javascript"> 4 <script type="text/javascript">
5 function transform_url(href, hash) 5 function frame_url(parent_location)
6 { 6 {
7 var href = parent_location.href;
8 var hash = parent_location.hash;
7 return href.substr(0, href.length - hash.length). 9 return href.substr(0, href.length - hash.length).
8 replace("://testpages", "://www.testpages") + hash.substring(1); 10 replace("://testpages", "://www.testpages") + hash.substring(1);
9 } 11 }
10 </script> 12 </script>
LEFTRIGHT

Powered by Google App Engine
This is Rietveld