Closed Bug 771621 Opened 12 years ago Closed 12 years ago

Check sameDocument on location change

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(firefox15 fixed)

RESOLVED FIXED
Firefox 16
Tracking Status
firefox15 --- fixed

People

(Reporter: bnicholson, Assigned: bnicholson)

References

Details

(Keywords: regression)

Attachments

(1 file)

Attached patch patchSplinter Review
We used to return early if sameDocument was true, but it looks like we lost this in bug 753102.
Attachment #639760 - Flags: review?(mark.finkle)
Keywords: regression
Comment on attachment 639760 [details] [diff] [review]
patch

Looks like this was removed because we moved setTitle(...) runnable:
http://hg.mozilla.org/mozilla-central/rev/9af545c94146#l6.262

To here:
http://hg.mozilla.org/mozilla-central/rev/9af545c94146#l3.70

Note the "//if (sameDocument)"

Yes, we need to keep this check in handleLocationChange. Can you nuke the "//if (sameDocument)" comment too?
Attachment #639760 - Flags: review?(mark.finkle) → review+
We need to uplift this too
Comment on attachment 639760 [details] [diff] [review]
patch

[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 753102
User impact if declined: unexpected behavior when opening anchor from page (e.g., favicon disappears)
Testing completed (on m-c, etc.): just landed on inbound
Risk to taking this patch (and alternatives if risky): very low risk
String or UUID changes made by this patch: none
Attachment #639760 - Flags: approval-mozilla-aurora?
https://hg.mozilla.org/mozilla-central/rev/480c74c5e36d
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 16
Attachment #639760 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: