Closed Bug 1628053 Opened 4 years ago Closed 4 years ago

[Fission] Find in page says strings are found when they are not, highlights incomplete strings

Categories

(Core :: Find Backend, defect, P3)

defect

Tracking

()

VERIFIED FIXED
mozilla78
Fission Milestone M6a
Tracking Status
firefox-esr68 --- unaffected
firefox75 --- unaffected
firefox76 --- disabled
firefox77 --- disabled
firefox78 --- verified

People

(Reporter: yoasif, Assigned: enndeakin)

References

(Regression)

Details

(Keywords: nightly-community, regression)

Attachments

(2 files)

Steps to reproduce:

  1. Visit https://old.reddit.com/r/firefox/comments/fvto5t/popups_history_deletion_file_downloads_cookie/
  2. Do Ctrl-f
  3. enable "Highlight All"
  4. Type ap
  5. type z (making the string to be found apz).

What happens:

ap on the page is highlighted. The findbar reports that there is "1 out of 5" matches.

Expected result:

apz doesn't appear on the page, so nothing on page should be highlighted. Unfound string also had a "beep" sound previously that I no longer hear.

40:43.73 INFO: No more integration revisions, bisection finished.
40:43.73 INFO: Last good revision: bb19bd67310fd0f0b309759d530ce6292b42d16e
40:43.73 INFO: First bad revision: 59baad4b26ee099e2a8f4e79d973e5d4549a95c6
40:43.73 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=bb19bd67310fd0f0b309759d530ce6292b42d16e&tochange=59baad4b26ee099e2a8f4e79d973e5d4549a95c6

Has Regression Range: --- → yes
Has STR: --- → yes
Regressed by: 1623330

tetsuharu, can you look at this? Your patch seems to have caused this regression. Thanks!

Flags: needinfo?(tetsuharu.ohzeki)

This is reproducible on

When I open findbar with Ctrl+F, SecurityError: Permission denied to access property "addEventListener" on cross-origin object 8 Finder.jsm:58 is shown in Browser Console

Flags: needinfo?(tetsuharu.ohzeki)

(In reply to Tetsuharu OHZEKI [:tetsuharu] (UTC+9) from comment #3)

When I open findbar with Ctrl+F, SecurityError: Permission denied to access property "addEventListener" on cross-origin object 8 Finder.jsm:58 is shown in Browser Console

This only happens in fission window.

(In reply to Tetsuharu OHZEKI [:tetsuharu] (UTC+9) from comment #4)

(In reply to Tetsuharu OHZEKI [:tetsuharu] (UTC+9) from comment #3)

When I open findbar with Ctrl+F, SecurityError: Permission denied to access property "addEventListener" on cross-origin object 8 Finder.jsm:58 is shown in Browser Console

This only happens in fission window.

This might not be related to this. But I confirm this bug is only reproducible with enabling fission.
On Non-Fission window, this works right.

Neil, are you working on find-in-page bugs for Fission?

Tracking for Fission Nightly (M6) milestone

Fission Milestone: --- → M6a
Flags: needinfo?(enndeakin)
Priority: -- → P3
See Also: → 1553384
Summary: Find in page says strings are found when they are not, highlights incomplete strings → [Fission] Find in page says strings are found when they are not, highlights incomplete strings
Assignee: nobody → enndeakin
Status: NEW → ASSIGNED
Flags: needinfo?(enndeakin)
Pushed by neil@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fabe539cdc5e
don't get the root window when adding the unload listener, r=mikedeboer
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
Flags: qe-verify+

Reproduced the issue using Firefox 77.0a1 (20200407214402) on Windows 10x64.
The issue is verified fixed using Firefox 78.0a1 (20200511214706) from comment 9 on Windows 10x64.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: