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

Side by Side Diff: polyfill.js

Issue 29583568: Issue 5880 - Basic issue reporter implementation (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome
Patch Set: Do not offer issue reporter for local pages Created Oct. 19, 2017, 2:06 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-present eyeo GmbH 3 * Copyright (C) 2006-present eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 14 matching lines...) Expand all
25 "notifications.create", 25 "notifications.create",
26 "runtime.openOptionsPage", 26 "runtime.openOptionsPage",
27 "runtime.sendMessage", 27 "runtime.sendMessage",
28 "runtime.setUninstallURL", 28 "runtime.setUninstallURL",
29 "storage.local.get", 29 "storage.local.get",
30 "storage.local.remove", 30 "storage.local.remove",
31 "storage.local.set", 31 "storage.local.set",
32 "storage.managed.get", 32 "storage.managed.get",
33 "tabs.create", 33 "tabs.create",
34 "tabs.get", 34 "tabs.get",
35 "tabs.getCurrent",
35 "tabs.insertCSS", 36 "tabs.insertCSS",
36 "tabs.query", 37 "tabs.query",
37 "tabs.reload", 38 "tabs.reload",
38 "tabs.sendMessage", 39 "tabs.sendMessage",
39 "tabs.update", 40 "tabs.update",
40 "webNavigation.getAllFrames", 41 "webNavigation.getAllFrames",
41 "webRequest.handlerBehaviorChanged", 42 "webRequest.handlerBehaviorChanged",
42 "windows.create", 43 "windows.create",
43 "windows.update" 44 "windows.update"
44 ]; 45 ];
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 113
113 // Workaround since HTMLCollection, NodeList, StyleSheetList, and CSSRuleList 114 // Workaround since HTMLCollection, NodeList, StyleSheetList, and CSSRuleList
114 // didn't have iterator support before Chrome 51. 115 // didn't have iterator support before Chrome 51.
115 // https://bugs.chromium.org/p/chromium/issues/detail?id=401699 116 // https://bugs.chromium.org/p/chromium/issues/detail?id=401699
116 for (let object of [HTMLCollection, NodeList, StyleSheetList, CSSRuleList]) 117 for (let object of [HTMLCollection, NodeList, StyleSheetList, CSSRuleList])
117 { 118 {
118 if (!(Symbol.iterator in object.prototype)) 119 if (!(Symbol.iterator in object.prototype))
119 object.prototype[Symbol.iterator] = Array.prototype[Symbol.iterator]; 120 object.prototype[Symbol.iterator] = Array.prototype[Symbol.iterator];
120 } 121 }
121 } 122 }
OLDNEW
« issue-reporter.js ('K') | « issue-reporter.js ('k') | popup.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld