Refractoring Stage 6.18 Scoped pgp-mail-ui.js behind its existing window.epMailFeatures.pgp API and replaced its leftover global esc dependency with the mail API’s escapeHtml. Bumped to 0.4.30 (Android version code 430) and updated REFACTOR_PLAN.md.
This commit is contained in:
@@ -72,6 +72,9 @@ test('account and snooze UI consume the explicit mail API instead of selected le
|
||||
assert.match(snoozeUi, /window\.epMailFeatures\.mail/);
|
||||
assert.match(attachmentUi, /window\.epMailFeatures\.mail/);
|
||||
assert.match(pgpMailUi, /window\.epMailFeatures\.mail/);
|
||||
assert.match(pgpMailUi, /^\(\(\) => \{/);
|
||||
assert.match(pgpMailUi, /window\.epMailFeatures\.pgp = Object\.freeze/);
|
||||
assert.doesNotMatch(pgpMailUi, /(?<!\.)\besc\s*\(/);
|
||||
assert.match(pgpUi, /window\.epMailFeatures\.mail\.connectedAccount/);
|
||||
assert.match(pgpUi, /^\(\(\) => \{/);
|
||||
assert.match(accountUi, /const accountDavUi = window\.epMailFeatures\.dav/);
|
||||
|
||||
Reference in New Issue
Block a user