mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-07 19:59:18 +02:00
This patch adds two telemetry to measure the performance impact after adding multi-page login support. Telemtry PWMGR_IS_USERNAME_ONLY_FORM gives us an idea among all forms that contain a possible username input (type is email or text), the propotion of those forms that are considered as a username-only form by our heuristic. We can use this data as a hint of whether the username-only form heuristic works properly. Telemetry PWMGR_NUM_FORM_HAS_POSSIBLE_USERNAME_EVENT_PER_DOC gives us an idea how many forms contain a possible username input per page. If the data shows that there are a lot of pages that contain multiple forms with a possible username input, which triggers the new code path added in this bug, we might need to pay more attention to see whether the change introduces performance overhead for page load. Ex. A doc has 4 forms <form><input type=email autocomplete=username/></form> <!-- This is a form with a possible username input, and it is a username-only form--> <form><input type=text autocomplete=username/></form> <!-- This is a form with a possible username input, and it is a username-only form--> <form><input type=email/></form> <!-- This is a form with a possible username input, but it is NOT a username-onlyc form --> <form><input type=urk/></form> <!-- This is a form WITHOUT a possible username input --> PWMGR_IS_USERNAME_ONLY_FORM records bucket[0] = 1 // 1 form with a possible username input but not a username-only form bucket[1] = 2 // 2 forms are username-only form. PWMGR_NUM_FORM_HAS_POSSIBLE_USERNAME_EVENT_PER_DOC records bucket[0] = 0 bucket[1] = 1 // 1 doc has 1 or more than 1 form with a possible-username input bucket[2] = 1 // 1 doc has 2 or more than 2 form with a possible-username input bucket[3] = 1 // 1 doc has 3 or more than 3 form with a possible-username input bucket[4] = 0 // 0 doc has 4 or more than 4 form with a possible-username input Depends on D113802 Differential Revision: https://phabricator.services.mozilla.com/D116237
144 lines
4.8 KiB
INI
144 lines
4.8 KiB
INI
[DEFAULT]
|
|
support-files =
|
|
../formsubmit.sjs
|
|
authenticate.sjs
|
|
empty.html
|
|
form_basic.html
|
|
form_basic_iframe.html
|
|
form_basic_login.html
|
|
form_basic_no_username.html
|
|
formless_basic.html
|
|
form_multipage.html
|
|
form_same_origin_action.html
|
|
form_cross_origin_secure_action.html
|
|
form_cross_origin_insecure_action.html
|
|
form_expanded.html
|
|
insecure_test_subframe.html
|
|
head.js
|
|
multiple_forms.html
|
|
|
|
[browser_DOMFormHasPassword.js]
|
|
[browser_DOMFormHasPossibleUsername.js]
|
|
[browser_DOMInputPasswordAdded.js]
|
|
skip-if = (os == "linux") || (os == "mac") # Bug 1337606
|
|
[browser_autocomplete_footer.js]
|
|
skip-if = !debug && os == "linux" && bits == 64 && os_version == "18.04" # Bug 1591126
|
|
[browser_autocomplete_generated_password_private_window.js]
|
|
[browser_autocomplete_import.js]
|
|
skip-if =
|
|
os == "linux" # Bug 1667240
|
|
fission && os == "win" && !debug # Bug 1713910 - new Fission platform triage
|
|
[browser_autocomplete_insecure_warning.js]
|
|
[browser_autocomplete_master_password.js]
|
|
[browser_autofill_hidden_document.js]
|
|
skip-if = (os == "win" && os_version == "10.0" && debug) # bug 1530935
|
|
[browser_autofill_http.js]
|
|
skip-if = verify
|
|
[browser_autocomplete_autofocus_with_frame.js]
|
|
support-files =
|
|
form_autofocus_frame.html
|
|
[browser_autofill_track_filled_logins.js]
|
|
[browser_basicAuth_rateLimit.js]
|
|
[browser_basicAuth_switchTab.js]
|
|
skip-if = (debug && os == "mac") # Bug 1530566
|
|
[browser_context_menu.js]
|
|
skip-if =
|
|
fission && os == "mac" && !debug # Bug 1713910 - new Fission platform triage
|
|
[browser_context_menu_autocomplete_interaction.js]
|
|
skip-if =
|
|
verify
|
|
fission && os == "mac" # Bug 1713910 - new Fission platform triage
|
|
[browser_context_menu_generated_password.js]
|
|
skip-if =
|
|
fission && os == "mac" && !debug # Bug 1713910 - new Fission platform triage
|
|
[browser_context_menu_iframe.js]
|
|
skip-if =
|
|
fission && os == "mac" # Bug 1713910 - new Fission platform triage
|
|
[browser_crossOriginSubmissionUsesCorrectOrigin.js]
|
|
support-files =
|
|
form_cross_origin_secure_action.html
|
|
[browser_deleteLoginsBackup.js]
|
|
skip-if = os == "android"
|
|
[browser_doorhanger_autocomplete_values.js]
|
|
[browser_doorhanger_autofill_then_save_password.js]
|
|
[browser_doorhanger_replace_dismissed_with_visible_while_opening.js]
|
|
[browser_doorhanger_crossframe.js]
|
|
skip-if =
|
|
fission && os == "mac" && !debug # Bug 1713910 - new Fission platform triage
|
|
support-files =
|
|
form_crossframe.html
|
|
form_crossframe_inner.html
|
|
[browser_doorhanger_dismissed_for_ccnumber.js]
|
|
[browser_doorhanger_empty_password.js]
|
|
[browser_doorhanger_form_password_edit.js]
|
|
skip-if =
|
|
fission && os == "mac" && !debug # Bug 1713910 - new Fission platform triage
|
|
[browser_doorhanger_generated_password.js]
|
|
support-files =
|
|
form_basic_with_confirm_field.html
|
|
form_password_change.html
|
|
[browser_doorhanger_httpsUpgrade.js]
|
|
support-files =
|
|
subtst_notifications_1.html
|
|
subtst_notifications_8.html
|
|
[browser_doorhanger_multipage_form.js]
|
|
[browser_doorhanger_password_edits.js]
|
|
[browser_doorhanger_promptToChangePassword.js]
|
|
[browser_doorhanger_remembering.js]
|
|
skip-if = os == "linux" && debug # Bug 1334336
|
|
support-files =
|
|
subtst_notifications_1.html
|
|
subtst_notifications_2.html
|
|
subtst_notifications_2pw_0un.html
|
|
subtst_notifications_2pw_1un_1text.html
|
|
subtst_notifications_3.html
|
|
subtst_notifications_4.html
|
|
subtst_notifications_5.html
|
|
subtst_notifications_6.html
|
|
subtst_notifications_8.html
|
|
subtst_notifications_9.html
|
|
subtst_notifications_10.html
|
|
subtst_notifications_change_p.html
|
|
[browser_doorhanger_save_password.js]
|
|
[browser_doorhanger_submit_telemetry.js]
|
|
skip-if = tsan || os == "linux" && debug # Bug 1658056, tsan: bug 1661305
|
|
[browser_doorhanger_target_blank.js]
|
|
support-files =
|
|
subtst_notifications_12_target_blank.html
|
|
[browser_doorhanger_toggles.js]
|
|
[browser_doorhanger_username_edits.js]
|
|
[browser_doorhanger_window_open.js]
|
|
support-files =
|
|
subtst_notifications_11.html
|
|
subtst_notifications_11_popup.html
|
|
skip-if = os == "linux" # Bug 1312981, bug 1313136
|
|
[browser_entry_point_telemetry.js]
|
|
[browser_exceptions_dialog.js]
|
|
[browser_fileURIOrigin.js]
|
|
[browser_focus_before_first_DOMContentLoaded.js]
|
|
support-files =
|
|
file_focus_before_DOMContentLoaded.sjs
|
|
[browser_formless_submit_chrome.js]
|
|
skip-if = tsan # Bug 1683730
|
|
[browser_insecurePasswordConsoleWarning.js]
|
|
skip-if = verify
|
|
[browser_localip_frame.js]
|
|
skip-if =
|
|
os == 'mac' && webrender && bits == 64 # Bug 1683848
|
|
os == 'linux' && !debug && bits == 64 # Bug 1683848
|
|
[browser_openPasswordManager.js]
|
|
[browser_private_window.js]
|
|
support-files =
|
|
subtst_privbrowsing_1.html
|
|
form_password_change.html
|
|
[browser_test_changeContentInputValue.js]
|
|
[browser_username_only_form_telemetry.js]
|
|
[browser_username_select_dialog.js]
|
|
skip-if =
|
|
fission && os == "mac" && debug # Bug 1713910 - new Fission platform triage
|
|
support-files =
|
|
subtst_notifications_change_p.html
|
|
[browser_basicAuth_multiTab.js]
|
|
skip-if = os == "android"
|
|
[browser_proxyAuth_prompt.js]
|
|
skip-if = os == "android"
|