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

Side by Side Diff: pages/filters/websocket.tmpl

Issue 29874607: Issue 6769 - Avoid hardcoding the URL (Closed)
Patch Set: Rebased Created Sept. 24, 2018, 1:37 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pages/filters/webrtc.tmpl ('k') | pages/filters/xmlhttprequest.tmpl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 title = $websocket 1 title = $websocket
2 template = testcase 2 template = testcase
3 3
4 {% set testcase_moreinfo = [ 4 {% set testcase_moreinfo = [
5 ("Filter Options", "https://adblockplus.org/filters#options"), 5 ("Filter Options", "https://adblockplus.org/filters#options"),
6 ] %} 6 ] %}
7 7
8 8
9 <script> 9 <script>
10 function ws_open(evt) { 10 function ws_open(evt) {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 <section class="site-panel"> 48 <section class="site-panel">
49 <h2>Test case</h2> 49 <h2>Test case</h2>
50 <div class="testcase-container"> 50 <div class="testcase-container">
51 <div class="testcase-row"> 51 <div class="testcase-row">
52 <h3>WebSocket Request</h3> 52 <h3>WebSocket Request</h3>
53 <div id="testcase-output"></div> 53 <div id="testcase-output"></div>
54 <div id="testcase-output-expected">WebSocket error / Blocked</div> 54 <div id="testcase-output-expected">WebSocket error / Blocked</div>
55 </div> 55 </div>
56 </div> 56 </div>
57 <h3>Filters</h3> 57 <h3>Filters</h3>
58 <pre>$websocket,domain=testpages.adblockplus.org</pre> 58 <pre>$websocket,domain={{ site_url|domain }}</pre>
59 </section> 59 </section>
OLDNEW
« no previous file with comments | « pages/filters/webrtc.tmpl ('k') | pages/filters/xmlhttprequest.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld