|
@@ -304,13 +304,6 @@ class DisableBlinkFeaturesAttribute extends WebViewAttribute {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-// Attribute specifies WebRTC IP handling policy for handling IP leaking.
|
|
|
-class WebRTCIPHandlingPolicyAttribute extends WebViewAttribute {
|
|
|
- constructor (webViewImpl) {
|
|
|
- super(webViewConstants.ATTRIBUTE_WEBRTCIPPOLICY, webViewImpl)
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
// Attribute that specifies the web preferences to be enabled.
|
|
|
class WebPreferencesAttribute extends WebViewAttribute {
|
|
|
constructor (webViewImpl) {
|
|
@@ -336,7 +329,6 @@ WebViewImpl.prototype.setupWebViewAttributes = function () {
|
|
|
this.attributes[webViewConstants.ATTRIBUTE_GUESTINSTANCE] = new GuestInstanceAttribute(this)
|
|
|
this.attributes[webViewConstants.ATTRIBUTE_DISABLEGUESTRESIZE] = new BooleanAttribute(webViewConstants.ATTRIBUTE_DISABLEGUESTRESIZE, this)
|
|
|
this.attributes[webViewConstants.ATTRIBUTE_WEBPREFERENCES] = new WebPreferencesAttribute(this)
|
|
|
- this.attributes[webViewConstants.ATTRIBUTE_WEBRTCIPPOLICY] = new WebRTCIPHandlingPolicyAttribute(this)
|
|
|
|
|
|
const autosizeAttributes = [webViewConstants.ATTRIBUTE_MAXHEIGHT, webViewConstants.ATTRIBUTE_MAXWIDTH, webViewConstants.ATTRIBUTE_MINHEIGHT, webViewConstants.ATTRIBUTE_MINWIDTH]
|
|
|
autosizeAttributes.forEach((attribute) => {
|