refactor: store <webview> attributes as typed Map (#26307)
This commit is contained in:
parent
42aa6b8ea5
commit
d25fa7b075
4 changed files with 31 additions and 35 deletions
|
@ -16,9 +16,6 @@ export const enum WEB_VIEW_CONSTANTS {
|
|||
ATTRIBUTE_DISABLEBLINKFEATURES = 'disableblinkfeatures',
|
||||
ATTRIBUTE_WEBPREFERENCES = 'webpreferences',
|
||||
|
||||
// Internal attribute.
|
||||
ATTRIBUTE_INTERNALINSTANCEID = 'internalinstanceid',
|
||||
|
||||
// Error messages.
|
||||
ERROR_MSG_ALREADY_NAVIGATED = 'The object has already navigated, so its partition cannot be changed.',
|
||||
ERROR_MSG_CANNOT_INJECT_SCRIPT = '<webview> = ' + 'Script cannot be injected into content until the page has loaded.',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue