Creates a panel around a mock webview with fireable state/disposal events. Calling the dispose spy alone does not synthesize disposal; use _fireDispose when the code under test must observe the native event.
dispose
_fireDispose
Test hook: simulates the user closing the panel's tab.
Test hook: simulates the panel gaining/losing focus or visibility.
Test hook: simulates the webview content posting message back to the extension host.
message
Creates a panel around a mock webview with fireable state/disposal events. Calling the
disposespy alone does not synthesize disposal; use_fireDisposewhen the code under test must observe the native event.