Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'activation-after-registration.https.html'
- 3,5c3,5
- < <script src="../resources/testharness.js"></script>
- < <script src="../resources/testharnessreport.js"></script>
- < <script src="resources/test-helpers.js"></script>
- ---
- > <script src="/resources/testharness.js"></script>
- > <script src="/resources/testharnessreport.js"></script>
- > <script src="resources/test-helpers.sub.js"></script>
- 1
- 'activation.https.html'
- 4,6c4,6
- < <script src="../resources/testharness.js"></script>
- < <script src="../resources/testharnessreport.js"></script>
- < <script src="resources/test-helpers.js"></script>
- ---
- > <script src="/resources/testharness.js"></script>
- > <script src="/resources/testharnessreport.js"></script>
- > <script src="resources/test-helpers.sub.js"></script>
- 8d7
- <
- 27d25
- <
- 35d32
- <
- 49d45
- <
- 56d51
- <
- 63d57
- <
- 66d59
- <
- 84d76
- <
- 87c79
- < var worker_url = 'resources/mint-new-worker.php';
- ---
- > var worker_url = 'resources/mint-new-worker.py';
- 91d82
- <
- 96d86
- <
- 105d94
- <
- 115d103
- <
- 118c106
- < var worker_url = 'resources/mint-new-worker.php';
- ---
- > var worker_url = 'resources/mint-new-worker.py';
- 122d109
- <
- 127d113
- <
- 143d128
- <
- 146c131
- < var worker_url = 'resources/mint-new-worker.php?skip-waiting';
- ---
- > var worker_url = 'resources/mint-new-worker.py?skip-waiting';
- 149d133
- <
- 153d136
- <
- 164a148,178
- >
- > // This test is not really about activation, but otherwise is very
- > // similar to the other tests here.
- > promise_test(t => {
- > var scope = 'resources/unregister';
- > var worker_url = 'resources/mint-new-worker.py';
- > var registration;
- > var iframe;
- > var new_worker;
- > return setup_activation_test(t, scope, worker_url)
- > .then(result => {
- > registration = result.registration;
- > iframe = result.iframe;
- > // Remove the iframe.
- > iframe.remove();
- > return registration.unregister();
- > })
- > .then(() => {
- > // The unregister operation should wait for the active worker to
- > // finish processing its events before clearing the registration.
- > new_worker = registration.waiting;
- > var reached_redundant = wait_for_state(t, new_worker, 'redundant');
- > registration.active.postMessage('go');
- > return reached_redundant;
- > })
- > .then(() => {
- > assert_equals(registration.installing, null);
- > assert_equals(registration.waiting, null);
- > assert_equals(registration.active, null);
- > });
- > }, 'finishing a request triggers unregister');
- 1
- 'active.https.html'
- 3,5c3,5
- < <script src="../resources/testharness.js"></script>
- < <script src="../resources/testharnessreport.js"></script>
- < <script src="resources/test-helpers.js"></script>
- ---
- > <script src="/resources/testharness.js"></script>
- > <script src="/resources/testharnessreport.js"></script>
- > <script src="resources/test-helpers.sub.js"></script>
- 1
- 'appcache-ordering-main.https.html'
- 2,4c2,4
- < <script src="../resources/testharness.js"></script>
- < <script src="../resources/testharnessreport.js"></script>
- < <script src="resources/test-helpers.js"></script>
- ---
- > <script src="/resources/testharness.js"></script>
- > <script src="/resources/testharnessreport.js"></script>
- > <script src="resources/test-helpers.sub.js"></script>
- 15a16,17
- > var frames = [];
- >
- 26a29
- > frames.push(frame);
- 28c31
- < document.body.appendChild(frame);
- ---
- > document.body.appendChild(frame);
- 49a53
- > frames.push(frame);
- 72c76
- < .then(function(r) {
- ---
- > .then(function(r) {
- 75c79
- < .then(function() {
- ---
- > .then(function() {
- 79a84
- > frames.forEach(function(f) { f.remove(); });
- 1
- 'claim-not-using-registration.https.html'
- 3,5c3,6
- < <script src="../resources/testharness.js"></script>
- < <script src="../resources/testharnessreport.js"></script>
- < <script src="resources/test-helpers.js"></script>
- ---
- > <script src="/resources/testharness.js"></script>
- > <script src="resources/testharness-helpers.js"></script>
- > <script src="/resources/testharnessreport.js"></script>
- > <script src="resources/test-helpers.sub.js"></script>
- 1
- 'claim-using-registration.https.html'
- 3,5c3,6
- < <script src="../resources/testharness.js"></script>
- < <script src="../resources/testharnessreport.js"></script>
- < <script src="resources/test-helpers.js"></script>
- ---
- > <script src="/resources/testharness.js"></script>
- > <script src="resources/testharness-helpers.js"></script>
- > <script src="/resources/testharnessreport.js"></script>
- > <script src="resources/test-helpers.sub.js"></script>
- 1
- 'fetch-event-after-navigation-within-page.https.html'
- 3,5c3,5
- < <script src="../resources/testharness.js"></script>
- < <script src="../resources/testharnessreport.js"></script>
- < <script src="resources/test-helpers.js"></script>
- ---
- > <script src="/resources/testharness.js"></script>
- > <script src="/resources/testharnessreport.js"></script>
- > <script src="resources/test-helpers.sub.js"></script>
- 1
- 'fetch-event-network-error.https.html'
- 3,5c3,6
- < <script src="../resources/testharness.js"></script>
- < <script src="../resources/testharnessreport.js"></script>
- < <script src="resources/test-helpers.js"></script>
- ---
- > <script src="/resources/testharness.js"></script>
- > <script src="resources/testharness-helpers.js"></script>
- > <script src="/resources/testharnessreport.js"></script>
- > <script src="resources/test-helpers.sub.js"></script>
- 1
- 'fetch-request-no-freshness-headers.https.html'
- 3,5c3,5
- < <script src="../resources/testharness.js"></script>
- < <script src="../resources/testharnessreport.js"></script>
- < <script src="resources/test-helpers.js"></script>
- ---
- > <script src="/resources/testharness.js"></script>
- > <script src="/resources/testharnessreport.js"></script>
- > <script src="resources/test-helpers.sub.js?pipe=sub"></script>
- 1
- 'indexeddb.https.html'
- 3,5c3,5
- < <script src="../resources/testharness.js"></script>
- < <script src="../resources/testharnessreport.js"></script>
- < <script src="resources/test-helpers.js"></script>
- ---
- > <script src="/resources/testharness.js"></script>
- > <script src="/resources/testharnessreport.js"></script>
- > <script src="resources/test-helpers.sub.js"></script>
- 18c18
- <
- ---
- >
- 1
- 'install-event-type.https.html'
- 2,4c2,5
- < <script src="../resources/testharness.js"></script>
- < <script src="../resources/testharnessreport.js"></script>
- < <script src="resources/test-helpers.js"></script>
- ---
- > <script src="/resources/testharness.js"></script>
- > <script src="resources/testharness-helpers.js"></script>
- > <script src="/resources/testharnessreport.js"></script>
- > <script src="resources/test-helpers.sub.js"></script>
- 1
- 'installing.https.html'
- 3,5c3,5
- < <script src="../resources/testharness.js"></script>
- < <script src="../resources/testharnessreport.js"></script>
- < <script src="resources/test-helpers.js"></script>
- ---
- > <script src="/resources/testharness.js"></script>
- > <script src="/resources/testharnessreport.js"></script>
- > <script src="resources/test-helpers.sub.js"></script>
- 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement