Index: chrome/content/tests/subscriptionClasses.js |
=================================================================== |
--- a/chrome/content/tests/subscriptionClasses.js |
+++ b/chrome/content/tests/subscriptionClasses.js |
@@ -8,17 +8,17 @@ |
let subscription = Subscription.fromURL(url); |
if (postInit) |
postInit(subscription) |
let result = []; |
subscription.serialize(result); |
equal(result.sort().join("\n"), expected.sort().join("\n"), url); |
let map = {__proto__: null}; |
- for each (let line in result.slice(1)) |
+ for (let line of result.slice(1)) |
{ |
if (/(.*?)=(.*)/.test(line)) |
map[RegExp.$1] = RegExp.$2; |
} |
let subscription2 = Subscription.fromObject(map); |
equal(subscription.toString(), subscription2.toString(), url + " deserialization"); |
} |