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

Issue 29458601: Issue 5315 - Add support for Microsoft Edge (Closed)

Created:
June 7, 2017, 12:41 p.m. by Oleksandr
Modified:
July 28, 2017, 4:08 p.m.
Reviewers:
Sebastian Noack, kzar
Visibility:
Public.

Description

Graft required patches from edge bookmark into master

Patch Set 1 #

Total comments: 24

Patch Set 2 : Rebase the README.md, compress images, adress the comments #

Total comments: 7

Patch Set 3 : Handle webRequest.ResourceType (#5321) and RTCPeerConnection.generateCertificate, address comments #

Total comments: 8

Patch Set 4 : Make copyProperties more generic #

Total comments: 7

Patch Set 5 : Address the nits #

Total comments: 1

Patch Set 6 : Make checks for 'chrome' object existence consistent #

Total comments: 3

Patch Set 7 : Future proof in case Edge supports OBJECT request interception #

Patch Set 8 : Workaround CSS.excape, i18n issue and use typeof for 'undefined' detection #

Total comments: 13

Patch Set 9 : Use messaging for CSS escaping #

Total comments: 2

Patch Set 10 : Use quoteCSS. Rephrase the comment. #

Patch Set 11 : Rephrase the comment #

Patch Set 12 : Rebase to current tip #

Total comments: 4

Patch Set 13 : Cosmetic changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -22 lines) Patch
M README.md View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +22 lines, -9 lines 0 comments Download
M ext/background.js View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +7 lines, -2 lines 0 comments Download
M ext/common.js View 1 2 3 4 5 6 7 12 1 chunk +6 lines, -0 lines 0 comments Download
M ext/popup.js View 1 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -0 lines 0 comments Download
A icons/abp-150.png View 1 Binary file 0 comments Download
A icons/abp-44.png View 1 Binary file 0 comments Download
A icons/abp-50.png View 1 Binary file 0 comments Download
M inject.preload.js View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -2 lines 0 comments Download
M lib/csp.js View 1 2 3 4 1 chunk +6 lines, -4 lines 0 comments Download
M lib/filterComposer.js View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M lib/requestBlocker.js View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +10 lines, -2 lines 0 comments Download
A metadata.edge View 1 2 1 chunk +20 lines, -0 lines 0 comments Download
M options.js View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +9 lines, -3 lines 0 comments Download

Messages

Total messages: 39
Oleksandr
This is meant to be pushed into master of adblockpluschrome.
June 7, 2017, 12:42 p.m. (2017-06-07 12:42:58 UTC) #1
Sebastian Noack
If this is all what it takes meanwhile to support Microsoft Edge, I agree to ...
June 7, 2017, 2:42 p.m. (2017-06-07 14:42:15 UTC) #2
kzar
> If this is all what it takes meanwhile to support Microsoft > Edge, I ...
June 8, 2017, 10:50 a.m. (2017-06-08 10:50:27 UTC) #3
Sebastian Noack
https://codereview.adblockplus.org/29458601/diff/29458602/lib/prefs.js File lib/prefs.js (right): https://codereview.adblockplus.org/29458601/diff/29458602/lib/prefs.js#newcode277 lib/prefs.js:277: if (typeof chrome == "object" && "managed" in chrome.storage) ...
June 8, 2017, 10:59 a.m. (2017-06-08 10:59:19 UTC) #4
kzar
https://codereview.adblockplus.org/29458601/diff/29458602/lib/prefs.js File lib/prefs.js (right): https://codereview.adblockplus.org/29458601/diff/29458602/lib/prefs.js#newcode277 lib/prefs.js:277: if (typeof chrome == "object" && "managed" in chrome.storage) ...
June 8, 2017, 11:37 a.m. (2017-06-08 11:37:44 UTC) #5
Oleksandr
https://codereview.adblockplus.org/29458601/diff/29458602/README.md File README.md (right): https://codereview.adblockplus.org/29458601/diff/29458602/README.md#newcode1 README.md:1: Adblock Plus for Chrome, Opera and Edge On 2017/06/07 ...
June 14, 2017, 3:41 a.m. (2017-06-14 03:41:02 UTC) #6
Sebastian Noack
Didn't you mention, that usage of webRequest.ResourceType has to be adapted as well? https://codereview.adblockplus.org/29458601/diff/29458602/ext/popup.js File ...
June 14, 2017, 5:13 a.m. (2017-06-14 05:13:39 UTC) #7
Oleksandr
https://codereview.adblockplus.org/29458601/diff/29464713/ext/common.js File ext/common.js (right): https://codereview.adblockplus.org/29458601/diff/29464713/ext/common.js#newcode29 ext/common.js:29: if (typeof chrome.app == "undefined") On 2017/06/14 05:13:39, Sebastian ...
June 15, 2017, 11:21 a.m. (2017-06-15 11:21:32 UTC) #8
Sebastian Noack
https://codereview.adblockplus.org/29458601/diff/29466594/ext/common.js File ext/common.js (right): https://codereview.adblockplus.org/29458601/diff/29466594/ext/common.js#newcode25 ext/common.js:25: if ((typeof chrome == "undefined") || Nit: The inner ...
June 19, 2017, 11:07 a.m. (2017-06-19 11:07:03 UTC) #9
kzar
https://codereview.adblockplus.org/29458601/diff/29466594/inject.preload.js File inject.preload.js (right): https://codereview.adblockplus.org/29458601/diff/29466594/inject.preload.js#newcode378 inject.preload.js:378: // NOTE: Edge does not support generateCertificate On 2017/06/19 ...
June 19, 2017, 2:13 p.m. (2017-06-19 14:13:38 UTC) #10
Oleksandr
https://codereview.adblockplus.org/29458601/diff/29466594/ext/common.js File ext/common.js (right): https://codereview.adblockplus.org/29458601/diff/29466594/ext/common.js#newcode25 ext/common.js:25: if ((typeof chrome == "undefined") || On 2017/06/19 11:07:02, ...
June 21, 2017, 11:38 p.m. (2017-06-21 23:38:36 UTC) #11
kzar
https://codereview.adblockplus.org/29458601/diff/29470697/README.md File README.md (right): https://codereview.adblockplus.org/29458601/diff/29470697/README.md#newcode60 README.md:60: after enabling extension development features in _about:flags_. Nit: I ...
June 22, 2017, 11:23 a.m. (2017-06-22 11:23:38 UTC) #12
Oleksandr
https://codereview.adblockplus.org/29458601/diff/29470697/ext/background.js File ext/background.js (right): https://codereview.adblockplus.org/29458601/diff/29470697/ext/background.js#newcode704 ext/background.js:704: // NOTE: we expect this else branch to run ...
June 22, 2017, 1:35 p.m. (2017-06-22 13:35:00 UTC) #13
kzar
https://codereview.adblockplus.org/29458601/diff/29471558/ext/popup.js File ext/popup.js (right): https://codereview.adblockplus.org/29458601/diff/29471558/ext/popup.js#newcode5 ext/popup.js:5: if ((typeof chrome == "undefined") || Nit: This seems ...
June 22, 2017, 1:45 p.m. (2017-06-22 13:45:01 UTC) #14
Oleksandr
June 22, 2017, 2:39 p.m. (2017-06-22 14:39:10 UTC) #15
kzar
LGTM
June 22, 2017, 2:41 p.m. (2017-06-22 14:41:56 UTC) #16
Sebastian Noack
https://codereview.adblockplus.org/29458601/diff/29471570/lib/requestBlocker.js File lib/requestBlocker.js (right): https://codereview.adblockplus.org/29458601/diff/29471570/lib/requestBlocker.js#newcode33 lib/requestBlocker.js:33: if (chrome.webRequest.ResourceType && Assuming that Microsoft Edge does not ...
June 23, 2017, 4:02 p.m. (2017-06-23 16:02:02 UTC) #17
Oleksandr
https://codereview.adblockplus.org/29458601/diff/29471570/lib/requestBlocker.js File lib/requestBlocker.js (right): https://codereview.adblockplus.org/29458601/diff/29471570/lib/requestBlocker.js#newcode33 lib/requestBlocker.js:33: if (chrome.webRequest.ResourceType && On 2017/06/23 16:02:01, Sebastian Noack wrote: ...
June 26, 2017, 7:28 a.m. (2017-06-26 07:28:09 UTC) #18
Sebastian Noack
https://codereview.adblockplus.org/29458601/diff/29471570/lib/requestBlocker.js File lib/requestBlocker.js (right): https://codereview.adblockplus.org/29458601/diff/29471570/lib/requestBlocker.js#newcode33 lib/requestBlocker.js:33: if (chrome.webRequest.ResourceType && On 2017/06/26 07:28:08, Oleksandr wrote: > ...
June 28, 2017, 1:51 p.m. (2017-06-28 13:51:39 UTC) #19
Oleksandr
June 28, 2017, 4:31 p.m. (2017-06-28 16:31:13 UTC) #20
Sebastian Noack
LGTM, but please DO NOT PUSH anything to master before Adblock Plus 1.12.3 for Chrome ...
July 5, 2017, 11:14 a.m. (2017-07-05 11:14:14 UTC) #21
kzar
LGTM
July 5, 2017, 1:50 p.m. (2017-07-05 13:50:42 UTC) #22
Oleksandr
https://codereview.adblockplus.org/29458601/diff/29490647/ext/common.js File ext/common.js (right): https://codereview.adblockplus.org/29458601/diff/29490647/ext/common.js#newcode25 ext/common.js:25: if (typeof chrome == "undefined" || typeof chrome.extension == ...
July 17, 2017, 12:52 p.m. (2017-07-17 12:52:41 UTC) #23
kzar
https://codereview.adblockplus.org/29458601/diff/29490647/ext/common.js File ext/common.js (right): https://codereview.adblockplus.org/29458601/diff/29490647/ext/common.js#newcode25 ext/common.js:25: if (typeof chrome == "undefined" || typeof chrome.extension == ...
July 17, 2017, 2:08 p.m. (2017-07-17 14:08:20 UTC) #24
Sebastian Noack
https://codereview.adblockplus.org/29458601/diff/29490647/options.js File options.js (right): https://codereview.adblockplus.org/29458601/diff/29490647/options.js#newcode540 options.js:540: for (let i = 0; i < list.length; i++) ...
July 17, 2017, 2:17 p.m. (2017-07-17 14:17:21 UTC) #25
kzar
https://codereview.adblockplus.org/29458601/diff/29490647/options.js File options.js (right): https://codereview.adblockplus.org/29458601/diff/29490647/options.js#newcode540 options.js:540: for (let i = 0; i < list.length; i++) ...
July 17, 2017, 2:27 p.m. (2017-07-17 14:27:03 UTC) #26
Sebastian Noack
https://codereview.adblockplus.org/29458601/diff/29490647/options.js File options.js (right): https://codereview.adblockplus.org/29458601/diff/29490647/options.js#newcode540 options.js:540: for (let i = 0; i < list.length; i++) ...
July 17, 2017, 2:31 p.m. (2017-07-17 14:31:26 UTC) #27
kzar
https://codereview.adblockplus.org/29458601/diff/29490647/options.js File options.js (right): https://codereview.adblockplus.org/29458601/diff/29490647/options.js#newcode540 options.js:540: for (let i = 0; i < list.length; i++) ...
July 17, 2017, 2:41 p.m. (2017-07-17 14:41:38 UTC) #28
Sebastian Noack
https://codereview.adblockplus.org/29458601/diff/29490647/options.js File options.js (right): https://codereview.adblockplus.org/29458601/diff/29490647/options.js#newcode540 options.js:540: for (let i = 0; i < list.length; i++) ...
July 17, 2017, 3:49 p.m. (2017-07-17 15:49:57 UTC) #29
kzar
On 2017/07/17 15:49:57, Sebastian Noack wrote: > https://codereview.adblockplus.org/29458601/diff/29490647/options.js > File options.js (right): > > https://codereview.adblockplus.org/29458601/diff/29490647/options.js#newcode540 ...
July 17, 2017, 4:26 p.m. (2017-07-17 16:26:53 UTC) #30
Oleksandr
https://codereview.adblockplus.org/29458601/diff/29490647/ext/popup.js File ext/popup.js (right): https://codereview.adblockplus.org/29458601/diff/29490647/ext/popup.js#newcode15 ext/popup.js:15: // Edge needs the i18n to be local, otherwise ...
July 17, 2017, 11:52 p.m. (2017-07-17 23:52:10 UTC) #31
kzar
https://codereview.adblockplus.org/29458601/diff/29490647/ext/popup.js File ext/popup.js (right): https://codereview.adblockplus.org/29458601/diff/29490647/ext/popup.js#newcode15 ext/popup.js:15: // Edge needs the i18n to be local, otherwise ...
July 18, 2017, 9:30 a.m. (2017-07-18 09:30:51 UTC) #32
Oleksandr
July 18, 2017, 10:29 a.m. (2017-07-18 10:29:58 UTC) #33
kzar
Otherwise LGTM, assuming that you've tested the latest option page changes. https://codereview.adblockplus.org/29458601/diff/29490647/ext/popup.js File ext/popup.js (right): ...
July 18, 2017, 10:36 a.m. (2017-07-18 10:36:24 UTC) #34
Oleksandr
July 27, 2017, 10:08 a.m. (2017-07-27 10:08:52 UTC) #35
Oleksandr
Rebased and ready for push. To test this I have applied https://codereview.adblockplus.org/29367148/ to buildtools to ...
July 27, 2017, 9:51 p.m. (2017-07-27 21:51:02 UTC) #36
kzar
Just a few more nits, otherwise looking good. https://codereview.adblockplus.org/29458601/diff/29499752/README.md File README.md (right): https://codereview.adblockplus.org/29458601/diff/29499752/README.md#newcode35 README.md:35: _adblockpluschrome-1.2.3.nnnn.crx_, ...
July 28, 2017, 10:38 a.m. (2017-07-28 10:38:59 UTC) #37
Oleksandr
All done.
July 28, 2017, 11:03 a.m. (2017-07-28 11:03:53 UTC) #38
kzar
July 28, 2017, 11:05 a.m. (2017-07-28 11:05:28 UTC) #39
LGTM! Go ahead and push when you're ready.

Powered by Google App Engine
This is Rietveld