Remove unused goBack / goForward verbs

This commit is contained in:
Alex Gleason committed 2025-12-20 17:51:40 -06:00
1 parent 7a252e0037
commit eb17feadea
2 files changed
-24

No files matched your search

@@ -160,16 +160,6 @@ consistent handling of both text and binary data across the messaging protocol.
**Parameters:** None **Parameters:** None
**Result:** None (notification only) **Result:** None (notification only)
#### `goBack`
**Purpose:** Navigate back in the iframe's history
**Parameters:** None
**Result:** None (notification only)
#### `goForward`
**Purpose:** Navigate forward in the iframe's history
**Parameters:** None
**Result:** None (notification only)
#### `updateNavigationState` #### `updateNavigationState`
**Purpose:** Update parent about iframe's current navigation state **Purpose:** Update parent about iframe's current navigation state
**Parameters:** **Parameters:**
@@ -193,12 +193,6 @@ class NavigationHandler {
case "refresh": case "refresh":
this.handleRefresh(); this.handleRefresh();
break; break;
case "goBack":
this.handleGoBack();
break;
case "goForward":
this.handleGoForward();
break;
} }
} }
}); });
@@ -286,14 +280,6 @@ class NavigationHandler {
window.location.reload(); window.location.reload();
} }
handleGoBack() {
window.history.back();
}
handleGoForward() {
window.history.forward();
}
updateNavigationState() { updateNavigationState() {
// Use tracked semantic path, fallback to current location if needed // Use tracked semantic path, fallback to current location if needed
const semanticPath = this.currentSemanticPath || this.extractSemanticPath(window.location); const semanticPath = this.currentSemanticPath || this.extractSemanticPath(window.location);