Repository navigation
Drop a walk's unread list and a dead panel selector, and correct three stale references - #6492
Merged
Merged
Conversation
…e stale references - walk-declaration.js stored `list` on the current walk, but nothing reads it: `walkPosition()` never returns it, and walk-position.js takes the list from the `lf-walk` event's detail. - element-frame.js: `elementBorderFrame` is private to `elementFrame`, not for "consumers cloning its computed presentation", and read `shownBox` a second time; it now takes the box `elementFrame` already read. - `PANEL_SAYS` (dev/leaf_dev/browser.py, shared by the suite's seat reads and `leaf-dev words`) and the arrival-notice wait in tests/render_harness.py looked for `.lf-fp-context`, a line over the field nothing in browser/ draws. A notice now shows only as the empty field's placeholder or in the leaf's peek, which both already read, so the branch matched nothing. - notes/dependency-candidates.md said Leaf takes printed letters ahead of a page menu's typeahead; since #6469 a menu, tree, listbox or select-only combobox keeps them. - change-provenance.js cited ../SOUL.md, which doesn't resolve from browser/runtime/. No behavior changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR removes two pieces of dead code and corrects three stale references found in the nightly review. No behavior changes.
list:browser/runtime/walk-declaration.jsstoredliston the current walk, butwalkPosition()never returns it. Its only consumer,walk-position.js, takes the list from thelf-walkevent's detail instead.elementBorderFrame(browser/runtime/element-frame.js): its comment described it as "for consumers cloning its computed presentation", but it is private toelementFrame. It also readshownBoxa second time. It now takes the boxelementFramealready read.PANEL_SAYSindev/leaf_dev/browser.pyand the arrival-notice wait intests/render_harness.pylooked for.lf-fp-context. That is a line over the field that nothing inbrowser/draws any more.PANEL_SAYSis shared by the suite's seat reads and, since Add leaf-dev words, a survey of what the panel says in passing after each press #6439, byleaf-dev words. A notice now shows only as the empty field's placeholder (data-lf-says="notice") or in the leaf's peek. Both selectors already read those, so the dropped branch never matched.notes/dependency-candidates.mdsaid Leaf takes printed letters ahead of a page menu's typeahead. Since Leave letters to page menus, trees and comboboxes that type ahead #6469, a menu, tree, listbox or select-only combobox keeps them.browser/runtime/change-provenance.jscited../SOUL.md, which doesn't resolve frombrowser/runtime/.Verification: the browser type check and the walk, frame and provenance runtime tests pass. The pre-commit hooks pass apart from eslint, which couldn't load in this worktree, so CI runs it.