-
Notifications
You must be signed in to change notification settings - Fork 969
don’t use sync ipc for publisher info #9472
Conversation
@NejcZdovc would you be able to check this one out? 😄 |
@@ -135,6 +135,7 @@ const messages = { | |||
// Ledger | |||
LEDGER_PAYMENTS_PRESENT: _, | |||
LEDGER_PUBLISHER: _, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think you can remove this message and its handler in app/ledger.js
seems like a bunch of payments tests are failing: https://travis-ci.org/brave/browser-laptop/jobs/243018061 i'm not really familiar with how this code works, so defer to @NejcZdovc |
57dc68a
to
b77351c
Compare
I just rebased- will watch tests and check out soon 😄 |
@diracdeltas @bsclifton ledger appears to be broken in master. With a fresh profile I can't initialize ledger, but the content script appears to be functioning correctly in this PR and master |
actually it works now, I think my node modules were out-of-date |
b77351c
to
a3df7df
Compare
there was a variable name capitalization mismatch. Ledger tests are working now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bridiver if we want to manually test, can you create an issue for this (and then edit commit to reference it?). If we don't need manual testing, let's add an automated test 😄
there are automated tests. This doesn't add any new functionality |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Manually tested, works great 😄 The advanced payment tests are failing, but that isn't related. The regular payment tests all pass 😄 👍 ++
don’t use sync ipc for publisher info
Submitter Checklist:
the diff is mostly an indenting change from wrapping in ipcRenderer.once
git rebase -i
to squash commits (if needed).Test Plan:
Reviewer Checklist:
Tests