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

Issue 16067002: Added Safari Support (Closed)

Created:
Oct. 21, 2013, 8:11 p.m. by Sebastian Noack
Modified:
Jan. 20, 2014, 12:44 p.m.
Visibility:
Public.

Description

Added Safari Support

Patch Set 1 #

Total comments: 26

Patch Set 2 : Added missing copyright disclaimers and websql implementation #

Total comments: 2

Patch Set 3 : Rebased on upstream and addressed comments #

Patch Set 4 : Fixed some bug introduced by rebasing, and fix absolute URLs on extension pages in Safari with JS. #

Patch Set 5 : Removed absolute URL fix for Safari (this is done by the buildtools now), introduced browser specif… #

Total comments: 4

Patch Set 6 : Made description for Safari long again. The 100 char limit given by the extension builder doesn't a… #

Patch Set 7 : Rebased and changed icon to 16px (for Safari) and 19px again (for Chrome) #

Total comments: 24

Patch Set 8 : Converted new calls to chrome.* to ext.* and fixed issue with background page proxy about added/rem… #

Patch Set 9 : #

Total comments: 31

Patch Set 10 : Addressed comments #

Patch Set 11 : Fixed js errors in popup.html. #

Total comments: 1

Patch Set 12 : Addressed comments #

Total comments: 25

Patch Set 13 : Adressed comments #

Patch Set 14 : Bugfixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2331 lines, -522 lines) Patch
M background.js View 1 2 3 4 5 6 7 8 9 10 11 12 9 chunks +83 lines, -234 lines 0 comments Download
M block.js View 1 2 3 4 5 6 7 8 9 3 chunks +21 lines, -22 lines 0 comments Download
A chrome/background.js View 1 2 3 4 5 6 7 8 9 1 chunk +351 lines, -0 lines 0 comments Download
A chrome/common.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +88 lines, -0 lines 0 comments Download
A chrome/content.js View 1 chunk +1 line, -0 lines 0 comments Download
A iconAnimation.js View 1 2 3 4 5 6 1 chunk +134 lines, -0 lines 0 comments Download
A icons/abp-16-notification-critical.png View 1 2 3 4 5 6 Binary file 0 comments Download
A icons/abp-16-notification-information.png View 1 2 3 4 5 6 Binary file 0 comments Download
M icons/abp-19-notification-critical.png View 1 2 3 4 5 6 Binary file 0 comments Download
M icons/abp-19-notification-information.png View 1 2 3 4 5 6 Binary file 0 comments Download
R icons/abp-19-whitelisted.png View Binary file 0 comments Download
M include.postload.js View 1 2 6 chunks +17 lines, -11 lines 0 comments Download
M include.preload.js View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +25 lines, -14 lines 0 comments Download
M lib/stats.js View 1 2 3 4 5 6 7 2 chunks +7 lines, -9 lines 0 comments Download
M lib/utils.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
A lib/websql/io.js View 1 2 3 4 5 6 7 8 9 1 chunk +195 lines, -0 lines 0 comments Download
M metadata.chrome View 1 2 3 4 5 6 7 8 9 2 chunks +41 lines, -94 lines 0 comments Download
A metadata.common View 1 2 3 4 5 6 7 8 9 10 1 chunk +105 lines, -0 lines 0 comments Download
A metadata.safari View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +54 lines, -0 lines 0 comments Download
M notification.js View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M options.html View 1 chunk +6 lines, -0 lines 0 comments Download
M options.js View 1 2 4 chunks +15 lines, -4 lines 0 comments Download
M popup.html View 1 2 3 chunks +6 lines, -0 lines 0 comments Download
M popup.js View 1 2 3 4 5 6 7 8 9 10 4 chunks +12 lines, -9 lines 0 comments Download
M popupBlocker.js View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
A safari/background.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +519 lines, -0 lines 0 comments Download
A safari/common.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +229 lines, -0 lines 0 comments Download
A safari/content.js View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +301 lines, -0 lines 0 comments Download
M stats.js View 1 2 3 4 5 6 7 4 chunks +10 lines, -13 lines 0 comments Download
M utils.js View 1 chunk +2 lines, -1 line 0 comments Download
M webrequest.js View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +105 lines, -107 lines 0 comments Download

Messages

Total messages: 31
Sebastian Noack
Oct. 21, 2013, 8:12 p.m. (2013-10-21 20:12:37 UTC) #1
Felix Dahlke
Not finished with the review yet, but I guess there are a few things to ...
Oct. 24, 2013, 4:30 p.m. (2013-10-24 16:30:34 UTC) #2
Sebastian Noack
http://codereview.adblockplus.org/16067002/diff/1/background.js File background.js (right): http://codereview.adblockplus.org/16067002/diff/1/background.js#newcode116 background.js:116: if(!/^https?:/.test(tab.url)) On 2013/10/24 16:30:34, Felix H. Dahlke wrote: > ...
Oct. 25, 2013, 9:55 a.m. (2013-10-25 09:55:02 UTC) #3
Felix Dahlke
http://codereview.adblockplus.org/16067002/diff/1/background.js File background.js (right): http://codereview.adblockplus.org/16067002/diff/1/background.js#newcode370 background.js:370: ext.windows.getLastFocused(function(win) { On 2013/10/25 09:55:03, sebastian wrote: > On ...
Oct. 25, 2013, 2:43 p.m. (2013-10-25 14:43:08 UTC) #4
Sebastian Noack
Oct. 25, 2013, 4:14 p.m. (2013-10-25 16:14:06 UTC) #5
Sebastian Noack
Oct. 30, 2013, 5:24 p.m. (2013-10-30 17:24:29 UTC) #6
Sebastian Noack
Oct. 31, 2013, 10:50 a.m. (2013-10-31 10:50:34 UTC) #7
Wladimir Palant
I've only looked at the locale changes so far. http://codereview.adblockplus.org/16067002/diff/300001/_locales/en_US/messages.json File _locales/en_US/messages.json (right): http://codereview.adblockplus.org/16067002/diff/300001/_locales/en_US/messages.json#newcode32 _locales/en_US/messages.json:32: ...
Oct. 31, 2013, 2:07 p.m. (2013-10-31 14:07:06 UTC) #8
Sebastian Noack
Oct. 31, 2013, 2:12 p.m. (2013-10-31 14:12:41 UTC) #9
Sebastian Noack
http://codereview.adblockplus.org/16067002/diff/300001/_locales/en_US/messages.json File _locales/en_US/messages.json (right): http://codereview.adblockplus.org/16067002/diff/300001/_locales/en_US/messages.json#newcode39 _locales/en_US/messages.json:39: "description": "Must not be more than 100 characters wide", ...
Oct. 31, 2013, 2:40 p.m. (2013-10-31 14:40:37 UTC) #10
Wladimir Palant
LGTM on the messages.json changes, feel free to commit these along with your buildtools changes. ...
Oct. 31, 2013, 2:42 p.m. (2013-10-31 14:42:13 UTC) #11
Sebastian Noack
Nov. 2, 2013, 5:50 p.m. (2013-11-02 17:50:44 UTC) #12
Felix Dahlke
Done with the review, mostly just style issues. Note that I somewhat focused on the ...
Nov. 10, 2013, 1:07 a.m. (2013-11-10 01:07:00 UTC) #13
Sebastian Noack
http://codereview.adblockplus.org/16067002/diff/430001/chrome/background.js File chrome/background.js (right): http://codereview.adblockplus.org/16067002/diff/430001/chrome/background.js#newcode265 chrome/background.js:265: return tab._id in this._map; On 2013/11/10 01:07:00, Felix H. ...
Nov. 10, 2013, 11:59 a.m. (2013-11-10 11:59:55 UTC) #14
Felix Dahlke
http://codereview.adblockplus.org/16067002/diff/430001/chrome/background.js File chrome/background.js (right): http://codereview.adblockplus.org/16067002/diff/430001/chrome/background.js#newcode265 chrome/background.js:265: return tab._id in this._map; On 2013/11/10 11:59:55, sebastian wrote: ...
Nov. 10, 2013, 1 p.m. (2013-11-10 13:00:42 UTC) #15
Sebastian Noack
http://codereview.adblockplus.org/16067002/diff/430001/chrome/background.js File chrome/background.js (right): http://codereview.adblockplus.org/16067002/diff/430001/chrome/background.js#newcode265 chrome/background.js:265: return tab._id in this._map; On 2013/11/10 13:00:42, Felix H. ...
Nov. 10, 2013, 2:40 p.m. (2013-11-10 14:40:07 UTC) #16
Sebastian Noack
Nov. 10, 2013, 2:41 p.m. (2013-11-10 14:41:53 UTC) #17
Felix Dahlke
http://codereview.adblockplus.org/16067002/diff/430001/chrome/background.js File chrome/background.js (right): http://codereview.adblockplus.org/16067002/diff/430001/chrome/background.js#newcode265 chrome/background.js:265: return tab._id in this._map; On 2013/11/10 14:40:08, sebastian wrote: ...
Nov. 10, 2013, 2:48 p.m. (2013-11-10 14:48:32 UTC) #18
Sebastian Noack
Nov. 11, 2013, 5:01 p.m. (2013-11-11 17:01:04 UTC) #19
Felix Dahlke
Mostly done, some comments haven't been addressed. @Wladimir, please have a look at this and ...
Nov. 12, 2013, 9:50 a.m. (2013-11-12 09:50:23 UTC) #20
Sebastian Noack
Nov. 12, 2013, 10:28 a.m. (2013-11-12 10:28:41 UTC) #21
Wladimir Palant
http://codereview.adblockplus.org/16067002/diff/5685265389584384/safari/background.js File safari/background.js (right): http://codereview.adblockplus.org/16067002/diff/5685265389584384/safari/background.js#newcode408 safari/background.js:408: if (this._listeners[i](message.url, message.type, tab, 0, -1) === false) I ...
Nov. 12, 2013, 10:37 a.m. (2013-11-12 10:37:01 UTC) #22
Wladimir Palant
This is far from being a complete review. For the future: it really helps if ...
Nov. 12, 2013, 3:19 p.m. (2013-11-12 15:19:52 UTC) #23
Sebastian Noack
http://codereview.adblockplus.org/16067002/diff/6228067651420160/background.js File background.js (left): http://codereview.adblockplus.org/16067002/diff/6228067651420160/background.js#oldcode422 background.js:422: */ On 2013/11/12 15:19:52, Wladimir Palant wrote: > Why ...
Nov. 12, 2013, 4:56 p.m. (2013-11-12 16:56:14 UTC) #24
Wladimir Palant
http://codereview.adblockplus.org/16067002/diff/1/background.js File background.js (right): http://codereview.adblockplus.org/16067002/diff/1/background.js#newcode421 background.js:421: function openOptions(callback) On 2013/10/25 09:55:03, sebastian wrote: > The ...
Nov. 13, 2013, 7:16 a.m. (2013-11-13 07:16:27 UTC) #25
Sebastian Noack
http://codereview.adblockplus.org/16067002/diff/6228067651420160/background.js File background.js (right): http://codereview.adblockplus.org/16067002/diff/6228067651420160/background.js#newcode428 background.js:428: ext.windows.getLastFocused(function(win) On 2013/11/13 07:16:27, Wladimir Palant wrote: > No, ...
Nov. 13, 2013, 9:33 a.m. (2013-11-13 09:33:12 UTC) #26
Felix Dahlke
http://codereview.adblockplus.org/16067002/diff/6228067651420160/background.js File background.js (right): http://codereview.adblockplus.org/16067002/diff/6228067651420160/background.js#newcode428 background.js:428: ext.windows.getLastFocused(function(win) On 2013/11/13 09:33:12, sebastian wrote: > On 2013/11/13 ...
Nov. 13, 2013, noon (2013-11-13 12:00:16 UTC) #27
Sebastian Noack
http://codereview.adblockplus.org/16067002/diff/6228067651420160/background.js File background.js (right): http://codereview.adblockplus.org/16067002/diff/6228067651420160/background.js#newcode428 background.js:428: ext.windows.getLastFocused(function(win) On 2013/11/13 12:00:16, Felix H. Dahlke wrote: > ...
Nov. 13, 2013, 12:26 p.m. (2013-11-13 12:26:34 UTC) #28
Felix Dahlke
On 2013/11/13 12:26:34, sebastian wrote: > http://codereview.adblockplus.org/16067002/diff/6228067651420160/background.js > File background.js (right): > > http://codereview.adblockplus.org/16067002/diff/6228067651420160/background.js#newcode428 > ...
Nov. 13, 2013, 12:31 p.m. (2013-11-13 12:31:46 UTC) #29
Sebastian Noack
Nov. 13, 2013, 3:11 p.m. (2013-11-13 15:11:56 UTC) #30
Felix Dahlke
Nov. 15, 2013, 8:54 a.m. (2013-11-15 08:54:06 UTC) #31
LGTM from my side, let's merge this.

But let's keep this review open, Wladimir will still want to do a full review
later.

Powered by Google App Engine
This is Rietveld