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

Unified Diff: chrome/content/tests/filterClasses.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/common.js ('k') | chrome/content/tests/performance/filter_fromText.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/tests/filterClasses.js
diff --git a/chrome/content/tests/filterClasses.js b/chrome/content/tests/filterClasses.js
index 8fc860a668b650ac06e07359d877c77a1de15ff4..d09eeb773a8236e3a491903c1393a4af5a991016 100644
--- a/chrome/content/tests/filterClasses.js
+++ b/chrome/content/tests/filterClasses.js
@@ -142,7 +142,7 @@
filter.serialize(buffer);
if (buffer.length)
{
- let map = {__proto__: null};
+ let map = Object.create(null);
for (let line of buffer.slice(1))
{
if (/(.*?)=(.*)/.test(line))
« no previous file with comments | « chrome/content/common.js ('k') | chrome/content/tests/performance/filter_fromText.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld