diff --git a/engine/src/flutter/lib/web_ui/lib/src/engine/dom.dart b/engine/src/flutter/lib/web_ui/lib/src/engine/dom.dart index 8f336de619..cd2c9a9b9a 100644 --- a/engine/src/flutter/lib/web_ui/lib/src/engine/dom.dart +++ b/engine/src/flutter/lib/web_ui/lib/src/engine/dom.dart @@ -3041,8 +3041,7 @@ extension DomScreenOrientationExtension on DomScreenOrientation { // A helper class for managing a subscription. On construction it will add an // event listener of the requested type to the target. Calling [cancel] will -// remove the listener. Caller is still responsible for calling [allowInterop] -// on the listener before creating the subscription. +// remove the listener. class DomSubscription { DomSubscription( this.target, String typeString, DartDomEventListener dartListener) @@ -3268,9 +3267,6 @@ abstract class DomTrustedTypePolicyOptions { /// /// `createScriptURL` is a callback function that contains code to run when /// creating a TrustedScriptURL object. - /// - /// The following properties need to be manually wrapped in [allowInterop] - /// before being passed to this constructor: [createScriptURL]. external factory DomTrustedTypePolicyOptions({ JSFunction? createScriptURL, }); diff --git a/engine/src/flutter/lib/web_ui/lib/src/engine/safe_browser_api.dart b/engine/src/flutter/lib/web_ui/lib/src/engine/safe_browser_api.dart index f2674d93e4..242eaa2ae8 100644 --- a/engine/src/flutter/lib/web_ui/lib/src/engine/safe_browser_api.dart +++ b/engine/src/flutter/lib/web_ui/lib/src/engine/safe_browser_api.dart @@ -24,9 +24,6 @@ import 'display.dart'; import 'dom.dart'; import 'vector_math.dart'; -export 'package:js/js_util.dart' show allowInterop; - - /// Returns true if [object] has property [name], false otherwise. /// /// This is equivalent to writing `name in object` in plain JavaScript.