Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for GH-872, "Not Scanned" case. #15

Merged
merged 5 commits into from Apr 3, 2018
Merged

Conversation

@zarembsky
Copy link
Contributor

@zarembsky zarembsky commented Mar 28, 2018

  • [x ] Have you followed the guidelines in CONTRIBUTING.md?
  • [ x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • [ x] Have you added an explanation of what your changes do?
  • [x ] Does your submission pass tests?
  • [x ] Did you lint your code prior to submission?
Serge Zarembsky added 2 commits Mar 26, 2018
@zarembsky zarembsky requested a review from ghostery/ghostery as a code owner Mar 28, 2018
@@ -348,7 +348,7 @@ class PanelData {
.set('pageHost', pageHost)
.set('performanceData', tab && tabInfo.getTabInfo(tab_id, 'pageTiming'))
.set('sitePolicy', tab && policy.getSitePolicy(tab_url) || false)
.set('siteNotScanned', tab && !foundBugs.getApps(tab_id) || false)
.set('siteNotScanned', tab && !trackerList.length || false)
.set('tab_id', tab_id)

This comment has been minimized.

@jsignanini

jsignanini Mar 30, 2018
Member

@zarembsky foundBugs.getApps() returns 3 states, false for page not scanned, [] for page scanned but found no trackers, and [tracker, tracker, ...] for page scanned and trackers were found. So we should leave this as it was.

@@ -733,6 +733,9 @@ const NotificationsContentScript = (function (win, doc) {
];
const { name } = request;
const reqMsg = request.message;
if (!reqMsg) {
return false;
}

This comment has been minimized.

@jsignanini

jsignanini Mar 30, 2018
Member

@zarembsky let's investigate why request.message is coming in as undefined here.

Copy link
Member

@jsignanini jsignanini left a comment

@zarembsky please address the comment I originally posted about finding out why request.message is coming in as undefined when it should not.

@jsignanini jsignanini merged commit 2c66dfc into ghostery:develop Apr 3, 2018
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants