Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Unified Diff: LayoutTests/http/tests/serviceworker/resources/clients-matchall-worker.js

Issue 1286123004: Ensure that Service Worker clients are always returned in MRU order (2) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Restructure tests for readability. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/http/tests/serviceworker/clients-matchall-include-uncontrolled.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/serviceworker/resources/clients-matchall-worker.js
diff --git a/LayoutTests/http/tests/serviceworker/resources/clients-matchall-worker.js b/LayoutTests/http/tests/serviceworker/resources/clients-matchall-worker.js
index be69c4b23e3eb37716046ea8f58e581d5b0dc981..f36be81d23eaad6f62ecb613e5eb1ea5f576ec0f 100644
--- a/LayoutTests/http/tests/serviceworker/resources/clients-matchall-worker.js
+++ b/LayoutTests/http/tests/serviceworker/resources/clients-matchall-worker.js
@@ -10,8 +10,6 @@ self.onmessage = function(e) {
client.url,
client.frameType]);
});
- // Sort by url
- message.sort(function(a, b) { return a[2] > b[2] ? 1 : -1; });
port.postMessage(message);
});
};
« no previous file with comments | « LayoutTests/http/tests/serviceworker/clients-matchall-include-uncontrolled.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698