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

Issue 30009560: Noissue - Rename lib/domain.js to lib/url.js (Closed)

Created:
Feb. 16, 2019, 12:42 p.m. by Manish Jethani
Modified:
Feb. 19, 2019, 6:09 p.m.
Reviewers:
hub
Base URL:
https://hg.adblockplus.org/adblockpluscore/
Visibility:
Public.

Description

This patch renames lib/domain.js to lib/url.js and the functions getDomain() and suffixes() to getBaseDomain() and domainSuffixes() respectively. The reason for this change is that I intend to add more URL-related functions in this file. Domains are ultimately parts of URLs; therefore we could have all of it in one lib/url.js file.

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rename testGetDomain #

Patch Set 4 : Add tests for domainSuffixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -37 lines) Patch
M lib/elemHide.js View 1 2 chunks +2 lines, -2 lines 0 comments Download
M lib/filterClasses.js View 2 chunks +2 lines, -2 lines 0 comments Download
M lib/matcher.js View 1 2 chunks +4 lines, -3 lines 0 comments Download
M lib/url.js View 4 chunks +6 lines, -6 lines 0 comments Download
M test/url.js View 1 2 3 5 chunks +74 lines, -24 lines 0 comments Download

Messages

Total messages: 6
Manish Jethani
Feb. 16, 2019, 12:42 p.m. (2019-02-16 12:42:52 UTC) #1
Manish Jethani
Patch Set 1
Feb. 16, 2019, 12:50 p.m. (2019-02-16 12:50:45 UTC) #2
hub
LGTM
Feb. 18, 2019, 1:48 p.m. (2019-02-18 13:48:05 UTC) #3
Manish Jethani
Patch Sets 2-3 Rebased and one trivial change.
Feb. 19, 2019, 1:59 a.m. (2019-02-19 01:59:44 UTC) #4
Manish Jethani
Patch Set 4: Add tests for domainSuffixes
Feb. 19, 2019, 2:37 a.m. (2019-02-19 02:37:43 UTC) #5
hub
Feb. 19, 2019, 3:30 p.m. (2019-02-19 15:30:29 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld