refactor: use WeakMap instead of hidden V8 properties to store WebViewImpl (#29049)
This commit is contained in:
parent
de55bf8459
commit
49ef1fe342
5 changed files with 23 additions and 21 deletions
|
@ -18,5 +18,6 @@ export const enum WEB_VIEW_CONSTANTS {
|
|||
// Error messages.
|
||||
ERROR_MSG_ALREADY_NAVIGATED = 'The object has already navigated, so its partition cannot be changed.',
|
||||
ERROR_MSG_INVALID_PARTITION_ATTRIBUTE = 'Invalid partition attribute.',
|
||||
ERROR_MSG_INVALID_PRELOAD_ATTRIBUTE = 'Only "file:" protocol is supported in "preload" attribute.'
|
||||
ERROR_MSG_INVALID_PRELOAD_ATTRIBUTE = 'Only "file:" protocol is supported in "preload" attribute.',
|
||||
ERROR_MSG_NOT_ATTACHED = 'The WebView must be attached to the DOM and the dom-ready event emitted before this method can be called.'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue