From 0dcec72e345db0c1d72aa4b62105dfc8dd57b552 Mon Sep 17 00:00:00 2001
From: Ms2ger <Ms2ger@igalia.com>
Date: Wed, 24 Oct 2018 16:57:21 +0200
Subject: [PATCH] Intl.ListFormat: Test the order of properties in the result
 of resolvedOptions().

---
 .../prototype/resolvedOptions/order.js        | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 test/intl402/ListFormat/prototype/resolvedOptions/order.js

diff --git a/test/intl402/ListFormat/prototype/resolvedOptions/order.js b/test/intl402/ListFormat/prototype/resolvedOptions/order.js
new file mode 100644
index 0000000000..13429cf314
--- /dev/null
+++ b/test/intl402/ListFormat/prototype/resolvedOptions/order.js
@@ -0,0 +1,19 @@
+// Copyright 2018 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-Intl.ListFormat.prototype.resolvedOptions
+description: Verifies the property order for the object returned by resolvedOptions().
+includes: [compareArray.js]
+features: [Intl.ListFormat]
+---*/
+
+const options = new Intl.ListFormat().resolvedOptions();
+
+const expected = [
+  "locale",
+  "type",
+  "style",
+];
+
+assert.compareArray(Object.getOwnPropertyNames(options), expected);
-- 
GitLab