Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: chrome/content/tests/subscriptionClasses.js

Issue 29350387: Issue 4353 - Remove deprecated __proto__ syntax (Closed)
Patch Set: Created Sept. 1, 2016, 11:44 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/content/tests/performance/filter_fromText.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/tests/subscriptionClasses.js
diff --git a/chrome/content/tests/subscriptionClasses.js b/chrome/content/tests/subscriptionClasses.js
index d5e08fd18eca25e9ee8a317c166d96b43ea77fc7..5d59f961f9f017e3e0c688860e5bcc2943038837 100644
--- a/chrome/content/tests/subscriptionClasses.js
+++ b/chrome/content/tests/subscriptionClasses.js
@@ -12,7 +12,7 @@
subscription.serialize(result);
equal(result.sort().join("\n"), expected.sort().join("\n"), url);
- let map = {__proto__: null};
+ let map = Object.create(null);
for (let line of result.slice(1))
{
if (/(.*?)=(.*)/.test(line))
« no previous file with comments | « chrome/content/tests/performance/filter_fromText.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld