Index: LayoutTests/http/tests/serviceworker/clients-matchall-include-uncontrolled.html |
diff --git a/LayoutTests/http/tests/serviceworker/clients-matchall-include-uncontrolled.html b/LayoutTests/http/tests/serviceworker/clients-matchall-include-uncontrolled.html |
index cb70d209d0cc3015fdb42cfc4efb263c23684397..1398a878ff0ca24558a819e8a21aaec76587c519 100644 |
--- a/LayoutTests/http/tests/serviceworker/clients-matchall-include-uncontrolled.html |
+++ b/LayoutTests/http/tests/serviceworker/clients-matchall-include-uncontrolled.html |
@@ -42,6 +42,7 @@ function test_matchall(frame, expected, query_options) { |
return new Promise(function(resolve, reject) { |
var channel = new MessageChannel(); |
channel.port1.onmessage = function(e) { |
+ e.data.sort(function(a, b) { return a[2] > b[2] ? 1 : -1; }); |
assert_equals(e.data.length, expected.length); |
for (var i = 0; i < e.data.length; i++) |
assert_array_equals(e.data[i], expected[i]); |