Closed Bug 1257444 Opened 8 years ago Closed 8 years ago

Mana page's Find/Replace feature no longer works in Firefox 47+

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla48
Tracking Status
firefox45 --- unaffected
firefox46 --- unaffected
firefox47 + fixed
firefox48 --- fixed

People

(Reporter: cpeterson, Assigned: khuey)

References

Details

(Keywords: regression)

Attachments

(1 file)

[Tracking Requested - why for this release]:

This is a regression in Firefox 47.

@ Kyle: could this be a regression from your nsPIDOMWindowInner/Outer changes in bug 1241764? I bisected this regression to this pushlog:

https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=584870f1cbc5d060a57e147ce249f736956e2b62&tochange=b2a3dc4b161fdfac6db78cc5bbfb1f53a383b65a

STR:
1. Load an editable Mana page, such as https://mana.mozilla.org/wiki/display/PM/Firefox+Program
2. Click the "Edit" button to edit the page.
3. Click the magnifying class icon to open Mana's Find/Replace toolbar.
4. Enter a search term in the Find field and click the "Next" button.

RESULT:
Nothing happens. No search matches are found. The following exception is logged to the web console:

NS_ERROR_ILLEGAL_VALUE: 
p.impl/m() batch.js:5939
p/<.find() batch.js:5936
.init/<() batch.js:5923
.execCommand() batch.js:2566
weaveOne/aspect() batch.js:641
.initContextToolbars/k<.click() batch.js:5971
.TextButton/this.render/<() batch.js:3422
d.event.dispatch() batch.js:413
d.event.add/i() batch.js:405
Flags: needinfo?(khuey)
Yeah, this was me.
Assignee: nobody → khuey
Flags: needinfo?(khuey)
Comment on attachment 8731895 [details] [diff] [review]
Patch

Review of attachment 8731895 [details] [diff] [review]:
-----------------------------------------------------------------

Is it possible to write a test for this?
Attachment #8731895 - Flags: review?(mrbkap) → review+
https://hg.mozilla.org/mozilla-central/rev/0bbbc90a1dc5
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Comment on attachment 8731895 [details] [diff] [review]
Patch

Approval Request Comment
[Feature/regressing bug #]: bug 1241764
[User impact if declined]: window.find doesn't work in some cases
[Describe test coverage new/current, TreeHerder]: There is no test coverage :(
[Risks and why]: This is a simple fix, reverting to our pre-bug 1241764 behavior.
[String/UUID change made/needed]: N/A
Attachment #8731895 - Flags: approval-mozilla-aurora?
Comment on attachment 8731895 [details] [diff] [review]
Patch

regression fix, Aurora47+
Attachment #8731895 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Component: DOM → DOM: Core & HTML
See Also: → 1601118
You need to log in before you can comment on or make changes to this bug.