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

Feature/apres 8.2.4 bugs. Fixes for bugs found after 8.2.4 was about to be released. #168

Merged
merged 3 commits into from Aug 22, 2018

Conversation

@zarembsky
Copy link
Contributor

@zarembsky zarembsky commented Aug 22, 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?
@zarembsky zarembsky requested review from IAmThePan, jsignanini, trickpattyFH20 and ghostery/ghostery as code owners Aug 22, 2018
@zarembsky zarembsky changed the base branch from master to develop Aug 22, 2018
@zarembsky
Copy link
Contributor Author

@zarembsky zarembsky commented Aug 22, 2018

Two bugs:

  1. tab.path may be undefined for tab extracted from tabInfo. May cause asserts in createBox, buildC2P->_injectClickToPlay, injectNotifications.
  2. Obsolete function name pushUserSettings in createBox.
@@ -39,6 +39,7 @@ export function log(...args) {

if (hasErrors) {
console.error(...args);
console.trace();

This comment has been minimized.

@jsignanini

jsignanini Aug 22, 2018
Member

@zarembsky do we need this?

This comment has been minimized.

@zarembsky

zarembsky Aug 22, 2018
Author Contributor

It helps to identify where the error came from. Otherwise all you get is log message in red. Note that it is debug only.

if (tab_url) {
this._updateUrl(tab_id, tab_url);
}
this._updateUrl(tab_id, tab_url);

This comment has been minimized.

@jsignanini

jsignanini Aug 22, 2018
Member

@zarembsky why did we remove the if (tab_url) { ... } check?

This comment has been minimized.

@zarembsky

zarembsky Aug 22, 2018
Author Contributor

Because we don.t want to check in all places that, say, tab.path !== undefined

path: '',
host_with_path: '',
anchor: '',
};

This comment has been minimized.

@jsignanini

jsignanini Aug 22, 2018
Member

@zarembsky why are we shimming it here?

This comment has been minimized.

@zarembsky

zarembsky Aug 22, 2018
Author Contributor

So that processUrl never returns empty object.

@jsignanini jsignanini merged commit 17969fe into develop Aug 22, 2018
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@jsignanini jsignanini deleted the feature/apres_8.2.4_bugs branch Aug 22, 2018
jsignanini added a commit that referenced this pull request Nov 19, 2018
jsignanini added a commit that referenced this pull request Nov 20, 2018
jsignanini added a commit that referenced this pull request Nov 20, 2018
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