Closed Bug 1906124 Opened 1 year ago Closed 1 year ago

Find in page doesn't work on some github pages

Categories

(Toolkit :: Find Toolbar, defect)

Firefox 127
defect

Tracking

()

RESOLVED DUPLICATE of bug 1869813

People

(Reporter: onlynone, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:127.0) Gecko/20100101 Firefox/127.0

Steps to reproduce:

  1. Go to https://github.com/johanhaleby/kubetail/blame/57fd7ef364b4190deab0caf0226316e0f0fb1ca2/kubetail#L189
  2. Select Edit -> Find in Page... (don't use ⌘-F / Ctrl-F to avoid github's capture of that sequence)
  3. Type 'follow'
  4. Hit ⌘-G several times to cycle through the matches

Actual results:

The first time through, it won't match against the appearance of 'follow' on lines 34:

default_follow="${KUBETAIL_FOLLOW:-true}"`

and 45:

follow="${default_follow}"

and 78:

-f, --follow            Specify if the logs should be streamed. (true|false) Defaults to ${default_follow}.

After hitting the last match on the page, it'll cycle back to the match on line 306.

If you change where in the document you click prior to the Find in Page, it changes which matches it knows about. If you scroll to the top of the page and click somewhere in the document on line 1 and then do Find in Page, it'll find those earlier matches, but not the later ones.

Expected results:

It should find all matches of 'follow'

The Bugbug bot thinks this bug should belong to the 'Toolkit::Find Toolbar' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Find Toolbar
Product: Firefox → Toolkit
Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1869813
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.