Refractoring Stage 6.16 Scoped mail-ui.js behind its existing window.epMailFeatures.mail API, removing its implementation functions and state from the shared global scope. Bumped the version to 0.4.28 (Android version code 428) and updated REFACTOR_PLAN.md.
This commit is contained in:
@@ -81,6 +81,8 @@ test('account and snooze UI consume the explicit mail API instead of selected le
|
||||
assert.match(appShell, /window\.epMailShell = Object\.freeze/);
|
||||
assert.match(mailUi, /appShell\.wrapOpenMessage/);
|
||||
assert.match(mailUi, /appShell\.wrapShowCompose/);
|
||||
assert.match(mailUi, /^\(\(\) => \{/);
|
||||
assert.match(mailUi, /window\.epMailFeatures\.mail = mailUiApi/);
|
||||
assert.doesNotMatch(mailUi, /(?<!\.)\bopenPreferences\s*\(|(?<!\.)\bquery\s*=/);
|
||||
assert.match(shortcutsUi, /window\.epMailFeatures\.mail/);
|
||||
assert.match(shortcutsUi, /window\.epMailFeatures\.productivity/);
|
||||
|
||||
Reference in New Issue
Block a user