From eb17feadeaae37dcd496f0402ad69af690b18f01 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 20 Dec 2025 17:51:40 -0600 Subject: [PATCH] Remove unused goBack / goForward verbs --- services/iframe-fetch-client/MESSAGING_PROTOCOL.md | 10 ---------- .../iframe-fetch-client/_iframe-client/main.js | 14 -------------- 2 files changed, 24 deletions(-) diff --git a/services/iframe-fetch-client/MESSAGING_PROTOCOL.md b/services/iframe-fetch-client/MESSAGING_PROTOCOL.md index 91cd5cfe..d79fe460 100644 --- a/services/iframe-fetch-client/MESSAGING_PROTOCOL.md +++ b/services/iframe-fetch-client/MESSAGING_PROTOCOL.md @@ -160,16 +160,6 @@ consistent handling of both text and binary data across the messaging protocol. **Parameters:** None **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` **Purpose:** Update parent about iframe's current navigation state **Parameters:** diff --git a/services/iframe-fetch-client/_iframe-client/main.js b/services/iframe-fetch-client/_iframe-client/main.js index ee42e970..fa9ba4bb 100644 --- a/services/iframe-fetch-client/_iframe-client/main.js +++ b/services/iframe-fetch-client/_iframe-client/main.js @@ -193,12 +193,6 @@ class NavigationHandler { case "refresh": this.handleRefresh(); break; - case "goBack": - this.handleGoBack(); - break; - case "goForward": - this.handleGoForward(); - break; } } }); @@ -286,14 +280,6 @@ class NavigationHandler { window.location.reload(); } - handleGoBack() { - window.history.back(); - } - - handleGoForward() { - window.history.forward(); - } - updateNavigationState() { // Use tracked semantic path, fallback to current location if needed const semanticPath = this.currentSemanticPath || this.extractSemanticPath(window.location);