debugResetLiquidNative function

  1. @visibleForTesting
void debugResetLiquidNative()

Forgets the process-wide native chrome link and window-controls source, and the remembered native dialog refusals, so the next shell asks LiquidShellPlatform.instance afresh. For tests that swap the platform instance; call it in tearDown.

Implementation

@visibleForTesting
void debugResetLiquidNative() {
  NativeChromeHost.debugReset();
  WindowControlsSource.debugReset();
  NativeDialogMemory.debugReset();
}