Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1316)

Delta Between Two Patch Sets: tests/com/google/caja/plugin/es53-test-inline-script.html

Issue 6827077: Mitigate top-level vars and typeof differences between ES5 and ES5/3 with rewriting (Closed) Base URL: http://google-caja.googlecode.com/svn/trunk/
Left Patch Set: Created 11 years, 4 months ago
Right Patch Set: Mitigate top-level vars and typeof differences between ES5 and ES5/3 with rewriting Created 11 years, 2 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
LEFTRIGHT
(no file at all)
1 <!-- 1 <!--
2 - Copyright (C) 2011 Google Inc. 2 - Copyright (C) 2011 Google Inc.
3 - 3 -
4 - Licensed under the Apache License, Version 2.0 (the "License"); 4 - Licensed under the Apache License, Version 2.0 (the "License");
5 - you may not use this file except in compliance with the License. 5 - you may not use this file except in compliance with the License.
6 - You may obtain a copy of the License at 6 - You may obtain a copy of the License at
7 - 7 -
8 - http://www.apache.org/licenses/LICENSE-2.0 8 - http://www.apache.org/licenses/LICENSE-2.0
9 - 9 -
10 - Unless required by applicable law or agreed to in writing, software 10 - Unless required by applicable law or agreed to in writing, software
(...skipping 22 matching lines...) Expand all
33 assertEquals('Number of B elements', 1, bElements.length); 33 assertEquals('Number of B elements', 1, bElements.length);
34 34
35 assertEquals('B element content', 'Hello,', bElements[0].innerText); 35 assertEquals('B element content', 'Hello,', bElements[0].innerText);
36 36
37 pass('testDocumentWriteRecursive'); 37 pass('testDocumentWriteRecursive');
38 }); 38 });
39 </script> 39 </script>
40 40
41 <div class="testcontainer" id="testTrailingLineComment"> 41 <div class="testcontainer" id="testTrailingLineComment">
42 <script> 42 <script>
43 window.result = 'trailing line comment';// delibrate comment</script> 43 window.result = 'trailing line comment';// deliberate comment</script>
44 </div> 44 </div>
45 <script> 45 <script>
46 jsunitRegister('testTrailingLineComment', 46 jsunitRegister('testTrailingLineComment',
47 function testTrailingLineComment() { 47 function testTrailingLineComment() {
48 assertEquals('Full text', 'trailing line comment', window.result); 48 assertEquals('Full text', 'trailing line comment', window.result);
49 pass('testTrailingLineComment'); 49 pass('testTrailingLineComment');
50 }); 50 });
51 51
52 // jsunit complains if there are zero tests 52 // jsunit complains if there are zero tests
53 jsunitRegister('testNop', function testNop() { pass('testNop'); }); 53 jsunitRegister('testNop', function testNop() { pass('testNop'); });
54 </script> 54 </script>
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b