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

remove mutation observers from brave content scripts #3773

Merged
merged 1 commit into from
Sep 7, 2016

Conversation

bridiver
Copy link
Collaborator

@bridiver bridiver commented Sep 6, 2016

Test Plan:
Check password capture on submit

  1. Go to Facebook.com
  2. Enter a username and password
  3. Brave password save dialog should appear
  4. Go to https://mint.intuit.com/login.event
  5. Enter a username and password
  6. Brave password save dialog should appear

Check password fill for both immediate and delayed load password forms

  1. Go to Facebook.com
  2. Password should autofill
  3. Go to https://mint.intuit.com/login.event
  4. Password should autofill

don't add duplicate submit and click event listeners on every password check
only check for changes while page is visible

cc @bbondy @diracdeltas

don't add duplicate submit and click event listeners on every password check
only check for changes while page is visible
@bbondy
Copy link
Member

bbondy commented Sep 7, 2016

++ and no more mutation observers for the future.

@bbondy bbondy merged commit d928dc8 into master Sep 7, 2016
@@ -3,7 +3,7 @@
* You can obtain one at http://mozilla.org/MPL/2.0/. */

if (chrome.contentSettings.passwordManager == 'allow') {

let credentials = {}
Copy link
Member

Choose a reason for hiding this comment

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

tryAutofillForm no longer needs credentials as an argument

diracdeltas added a commit that referenced this pull request Sep 7, 2016
Address #3773 comments

Auditors: @bridiver

Test Plan: covered by an automated test
@luixxiul luixxiul added this to the 0.12.1dev milestone Sep 12, 2016
@bbondy bbondy deleted the remove-mutation-observers branch September 23, 2016 00:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants