Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Follow up of https://github.com/brave/muon/pull/170 #7777

Merged
merged 1 commit into from
Mar 21, 2017

Conversation

darkdh
Copy link
Member

@darkdh darkdh commented Mar 18, 2017

requires brave/muon#170

fix #7763
fix #7768

Auditors: @bridiver, @bbondy, @bsclifton

Test Plan: Covered by automatic test

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Added/updated tests for this change (for new code or code which already has tests).
  • Ran git rebase -i to squash commits (if needed).

Test Plan:

@darkdh darkdh self-assigned this Mar 18, 2017
requires brave/muon#170

fix #7763
fix #7768

Auditors: @bridiver, @bbondy, @bsclifton

Test Plan: Covered by automatic test
@darkdh
Copy link
Member Author

darkdh commented Mar 19, 2017

Automated test failed due to new muon requirement

Copy link
Member

@bsclifton bsclifton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

++ looks good 😄

@bsclifton bsclifton added this to the 0.14.0 milestone Mar 21, 2017
@bsclifton
Copy link
Member

merging...

@bsclifton bsclifton merged commit 2aa57f5 into master Mar 21, 2017
@bsclifton bsclifton deleted the hide-autofill-popup branch March 21, 2017 18:51
@@ -732,8 +732,7 @@ class Frame extends ImmutableComponent {
contextMenus.onShowAutofillMenu(e.suggestions, e.rect, this.frame)
})
this.webview.addEventListener('hide-autofill-popup', (e) => {
if (this.props.contextMenuDetail && this.props.contextMenuDetail.get('type') === 'autofill' &&
(this.props.contextMenuDetail.get('tabId') !== this.props.tabId || this.webview.isFocused())) {
if (this.props.contextMenuDetail && this.props.contextMenuDetail.get('type') === 'autofill') {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comments on brave/muon#170
we call autofillPopupHidden with a tabId, but we don't bother to check that tabId before clearing the context menu detail

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fixed autofill suggestion autofill session/private tab tests are failing
3 participants