Advertisement
Guest User

Untitled

a guest
Feb 15th, 2017
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 7.07 KB | None | 0 0
  1. 'activation-after-registration.https.html'
  2. 3,5c3,5
  3. < <script src="../resources/testharness.js"></script>
  4. < <script src="../resources/testharnessreport.js"></script>
  5. < <script src="resources/test-helpers.js"></script>
  6. ---
  7. > <script src="/resources/testharness.js"></script>
  8. > <script src="/resources/testharnessreport.js"></script>
  9. > <script src="resources/test-helpers.sub.js"></script>
  10. 1
  11. 'activation.https.html'
  12. 4,6c4,6
  13. < <script src="../resources/testharness.js"></script>
  14. < <script src="../resources/testharnessreport.js"></script>
  15. < <script src="resources/test-helpers.js"></script>
  16. ---
  17. > <script src="/resources/testharness.js"></script>
  18. > <script src="/resources/testharnessreport.js"></script>
  19. > <script src="resources/test-helpers.sub.js"></script>
  20. 8d7
  21. <
  22. 27d25
  23. <
  24. 35d32
  25. <
  26. 49d45
  27. <
  28. 56d51
  29. <
  30. 63d57
  31. <
  32. 66d59
  33. <
  34. 84d76
  35. <
  36. 87c79
  37. <     var worker_url = 'resources/mint-new-worker.php';
  38. ---
  39. >     var worker_url = 'resources/mint-new-worker.py';
  40. 91d82
  41. <
  42. 96d86
  43. <
  44. 105d94
  45. <
  46. 115d103
  47. <
  48. 118c106
  49. <     var worker_url = 'resources/mint-new-worker.php';
  50. ---
  51. >     var worker_url = 'resources/mint-new-worker.py';
  52. 122d109
  53. <
  54. 127d113
  55. <
  56. 143d128
  57. <
  58. 146c131
  59. <     var worker_url = 'resources/mint-new-worker.php?skip-waiting';
  60. ---
  61. >     var worker_url = 'resources/mint-new-worker.py?skip-waiting';
  62. 149d133
  63. <
  64. 153d136
  65. <
  66. 164a148,178
  67. >
  68. > // This test is not really about activation, but otherwise is very
  69. > // similar to the other tests here.
  70. > promise_test(t => {
  71. >     var scope = 'resources/unregister';
  72. >     var worker_url = 'resources/mint-new-worker.py';
  73. >     var registration;
  74. >     var iframe;
  75. >     var new_worker;
  76. >     return setup_activation_test(t, scope, worker_url)
  77. >       .then(result => {
  78. >           registration = result.registration;
  79. >           iframe = result.iframe;
  80. >           // Remove the iframe.
  81. >           iframe.remove();
  82. >           return registration.unregister();
  83. >         })
  84. >       .then(() => {
  85. >           // The unregister operation should wait for the active worker to
  86. >           // finish processing its events before clearing the registration.
  87. >           new_worker = registration.waiting;
  88. >           var reached_redundant = wait_for_state(t, new_worker, 'redundant');
  89. >           registration.active.postMessage('go');
  90. >           return reached_redundant;
  91. >         })
  92. >       .then(() => {
  93. >           assert_equals(registration.installing, null);
  94. >           assert_equals(registration.waiting, null);
  95. >           assert_equals(registration.active, null);
  96. >         });
  97. >   }, 'finishing a request triggers unregister');
  98. 1
  99. 'active.https.html'
  100. 3,5c3,5
  101. < <script src="../resources/testharness.js"></script>
  102. < <script src="../resources/testharnessreport.js"></script>
  103. < <script src="resources/test-helpers.js"></script>
  104. ---
  105. > <script src="/resources/testharness.js"></script>
  106. > <script src="/resources/testharnessreport.js"></script>
  107. > <script src="resources/test-helpers.sub.js"></script>
  108. 1
  109. 'appcache-ordering-main.https.html'
  110. 2,4c2,4
  111. < <script src="../resources/testharness.js"></script>
  112. < <script src="../resources/testharnessreport.js"></script>
  113. < <script src="resources/test-helpers.js"></script>
  114. ---
  115. > <script src="/resources/testharness.js"></script>
  116. > <script src="/resources/testharnessreport.js"></script>
  117. > <script src="resources/test-helpers.sub.js"></script>
  118. 15a16,17
  119. > var frames = [];
  120. >
  121. 26a29
  122. >       frames.push(frame);
  123. 28c31
  124. <       document.body.appendChild(frame);
  125. ---
  126. >       document.body.appendChild(frame);
  127. 49a53
  128. >       frames.push(frame);
  129. 72c76
  130. <       .then(function(r) {
  131. ---
  132. >       .then(function(r) {
  133. 75c79
  134. <       .then(function() {
  135. ---
  136. >       .then(function() {
  137. 79a84
  138. >           frames.forEach(function(f) { f.remove(); });
  139. 1
  140. 'claim-not-using-registration.https.html'
  141. 3,5c3,6
  142. < <script src="../resources/testharness.js"></script>
  143. < <script src="../resources/testharnessreport.js"></script>
  144. < <script src="resources/test-helpers.js"></script>
  145. ---
  146. > <script src="/resources/testharness.js"></script>
  147. > <script src="resources/testharness-helpers.js"></script>
  148. > <script src="/resources/testharnessreport.js"></script>
  149. > <script src="resources/test-helpers.sub.js"></script>
  150. 1
  151. 'claim-using-registration.https.html'
  152. 3,5c3,6
  153. < <script src="../resources/testharness.js"></script>
  154. < <script src="../resources/testharnessreport.js"></script>
  155. < <script src="resources/test-helpers.js"></script>
  156. ---
  157. > <script src="/resources/testharness.js"></script>
  158. > <script src="resources/testharness-helpers.js"></script>
  159. > <script src="/resources/testharnessreport.js"></script>
  160. > <script src="resources/test-helpers.sub.js"></script>
  161. 1
  162. 'fetch-event-after-navigation-within-page.https.html'
  163. 3,5c3,5
  164. < <script src="../resources/testharness.js"></script>
  165. < <script src="../resources/testharnessreport.js"></script>
  166. < <script src="resources/test-helpers.js"></script>
  167. ---
  168. > <script src="/resources/testharness.js"></script>
  169. > <script src="/resources/testharnessreport.js"></script>
  170. > <script src="resources/test-helpers.sub.js"></script>
  171. 1
  172. 'fetch-event-network-error.https.html'
  173. 3,5c3,6
  174. < <script src="../resources/testharness.js"></script>
  175. < <script src="../resources/testharnessreport.js"></script>
  176. < <script src="resources/test-helpers.js"></script>
  177. ---
  178. > <script src="/resources/testharness.js"></script>
  179. > <script src="resources/testharness-helpers.js"></script>
  180. > <script src="/resources/testharnessreport.js"></script>
  181. > <script src="resources/test-helpers.sub.js"></script>
  182. 1
  183. 'fetch-request-no-freshness-headers.https.html'
  184. 3,5c3,5
  185. < <script src="../resources/testharness.js"></script>
  186. < <script src="../resources/testharnessreport.js"></script>
  187. < <script src="resources/test-helpers.js"></script>
  188. ---
  189. > <script src="/resources/testharness.js"></script>
  190. > <script src="/resources/testharnessreport.js"></script>
  191. > <script src="resources/test-helpers.sub.js?pipe=sub"></script>
  192. 1
  193. 'indexeddb.https.html'
  194. 3,5c3,5
  195. < <script src="../resources/testharness.js"></script>
  196. < <script src="../resources/testharnessreport.js"></script>
  197. < <script src="resources/test-helpers.js"></script>
  198. ---
  199. > <script src="/resources/testharness.js"></script>
  200. > <script src="/resources/testharnessreport.js"></script>
  201. > <script src="resources/test-helpers.sub.js"></script>
  202. 18c18
  203. <
  204. ---
  205. >
  206. 1
  207. 'install-event-type.https.html'
  208. 2,4c2,5
  209. < <script src="../resources/testharness.js"></script>
  210. < <script src="../resources/testharnessreport.js"></script>
  211. < <script src="resources/test-helpers.js"></script>
  212. ---
  213. > <script src="/resources/testharness.js"></script>
  214. > <script src="resources/testharness-helpers.js"></script>
  215. > <script src="/resources/testharnessreport.js"></script>
  216. > <script src="resources/test-helpers.sub.js"></script>
  217. 1
  218. 'installing.https.html'
  219. 3,5c3,5
  220. < <script src="../resources/testharness.js"></script>
  221. < <script src="../resources/testharnessreport.js"></script>
  222. < <script src="resources/test-helpers.js"></script>
  223. ---
  224. > <script src="/resources/testharness.js"></script>
  225. > <script src="/resources/testharnessreport.js"></script>
  226. > <script src="resources/test-helpers.sub.js"></script>
  227. 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement