For `cc-number`, we autofill when it is in the same-origin frame with the frame that triggers the autofill. For other fields, we autofill when 1. The field is in the same-origin frame with the frame that triggers that autofill 2. The field in in the top-level or the field is in a first-party-origin iframe Differential Revision: https://phabricator.services.mozilla.com/D215754