Closed Bug 1250958 Opened 9 years ago Closed 9 years ago

fix browser_markPageAsFollowedLink.js and framed link coloring for e10s

Categories

(Firefox :: Bookmarks & History, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 47
Tracking Status
e10s + ---
firefox46 + fixed
firefox47 + fixed

People

(Reporter: mak, Assigned: mak)

References

(Blocks 1 open bug)

Details

(Keywords: regression)

Attachments

(1 file)

skip-if = e10s # Bug 933103 - mochitest's EventUtils.synthesizeMouse functions not e10s friendly (test does EventUtils.sendMouseEvent...) 51 [browser_sidebarpanels_click.js]
Summary: fix browser_markPageAsFollowedLink.js for e10s → fix browser_markPageAsFollowedLink.js and framed link coloring for e10s
Attachment #8724141 - Flags: review?(jaws) → review+
Comment on attachment 8724141 [details] MozReview Request: Bug 1250958 - fix browser_markPageAsFollowedLink.js for e10s (and fix framed link coloring to make it pass). r=jaws https://reviewboard.mozilla.org/r/36887/#review33825
backed out, failing on linux/mac https://hg.mozilla.org/integration/fx-team/rev/5048f088aedf investigating.
Comment on attachment 8724141 [details] MozReview Request: Bug 1250958 - fix browser_markPageAsFollowedLink.js for e10s (and fix framed link coloring to make it pass). r=jaws Review request updated; see interdiff: https://reviewboard.mozilla.org/r/36887/diff/1-2/
https://reviewboard.mozilla.org/r/36887/#review33979 Don't know how I didn't catch that in the first review.
https://reviewboard.mozilla.org/r/36887/#review33979 honestly, it's still failing on Try, there's something more fishy here.
ah I think the problem is that I misinterpreted the includeSubframes argument of browserLoaded, thinking setting it to true would have waited for subframes, but it's rather the opposite.
Comment on attachment 8724141 [details] MozReview Request: Bug 1250958 - fix browser_markPageAsFollowedLink.js for e10s (and fix framed link coloring to make it pass). r=jaws Review request updated; see interdiff: https://reviewboard.mozilla.org/r/36887/diff/2-3/
The last version seems to be stable enough. I decided to simplify the change to contentClick, by just moving the code up some rows, so markPage is always invoked before the click. Changed to BrowserTestUtils.openNewForegroundTab and added a promiseAsyncUpdates to be sure db transactions are done (looks like we may end up notifying before the transaction is complete, that means in some rare case the concurrent connection could not see the change). https://treeherder.mozilla.org/#/jobs?repo=try&revision=fa76cb4f1bd9&filter-resultStatus=success&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-resultStatus=retry&filter-resultStatus=running&filter-resultStatus=pending&filter-resultStatus=runnable&group_state=expanded In the end the changes are uninteresting and don't change the essence of the patch, so I'm not going to reflag. If something's wrong please let me know.
[Tracking Requested - why for this release]: may be worth to fix this in firefox 46, cause framed links coloring is currently broken on e10s
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 47
Comment on attachment 8724141 [details] MozReview Request: Bug 1250958 - fix browser_markPageAsFollowedLink.js for e10s (and fix framed link coloring to make it pass). r=jaws Approval Request Comment [Feature/regressing bug #]: e10s [User impact if declined]: links across frames won't get proper visited link coloring [Describe test coverage new/current, TreeHerder]: unit test [Risks and why]: low risk, simple change [String/UUID change made/needed]: none
Attachment #8724141 - Flags: approval-mozilla-aurora?
Regression from e10s, tracking for 46+.
Comment on attachment 8724141 [details] MozReview Request: Bug 1250958 - fix browser_markPageAsFollowedLink.js for e10s (and fix framed link coloring to make it pass). r=jaws Link color should work across frames, let's uplift this and verify it in beta 46.
Attachment #8724141 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
[bugday-20160323] Status: RESOLVED,FIXED -> UNVERIFIED Comments: STR: Not clear. Developer specific testing Component: Name Firefox Version 46.0b9 Build ID 20160322075646 Update Channel beta User Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0 OS Windows 7 SP1 x86_64 Expected Results: Developer specific testing Actual Results: As expected
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: