Skip to content

Remove unnecessary Iterator loop in history.get - #517

Merged
gkatsev merged 1 commit into
masterfrom
fix-history-get
May 19, 2016
Merged

Remove unnecessary Iterator loop in history.get#517
gkatsev merged 1 commit into
masterfrom
fix-history-get

Conversation

@gkatsev

@gkatsev gkatsev commented May 18, 2016

Copy link
Copy Markdown
Member

This seems to be not necessary and it is causing issues particularly in
firefox 47, there query is a "XPCWrappedNative_NoHelper" and we can't
modify it which is what this loop tries to do.
Wrapping it in a try/catch does fix the issue as well but removing it
altogether seems to also fix it and seems that there are no adverse
effects.

Can someone give this a shot on various some versions of firefox?

This seems to be not necessary and it is causing issues particularly in
firefox 47, there query is a "XPCWrappedNative_NoHelper" and we can't
modify it which is what this loop tries to do.
Wrapping it in a try/catch does fix the issue as well but removing it
altogether seems to also fix it and seems that there are no adverse
effects.
@timss

timss commented May 18, 2016

Copy link
Copy Markdown
Member

👍 for FF 45.1.1 (:history, commands, hotkeys, ..).
If it works for you on FF 47 I wouldn't expect other current releases to be radically different.

I just reinstalled my desktop so I don't have my VMs to test different versions, unfortunately.

@gkatsev

gkatsev commented May 19, 2016

Copy link
Copy Markdown
Member Author

Going to merge this. We can always make another patch.

@gkatsev
gkatsev merged commit afe333b into master May 19, 2016
@gkatsev
gkatsev deleted the fix-history-get branch May 19, 2016 00:02
@timss

timss commented May 19, 2016

Copy link
Copy Markdown
Member

Sounds good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants