Closed Bug 1248484 Opened 5 years ago Closed 5 years ago

Fix browser_contextSearchTabPosition.js for e10s

Categories

(Firefox :: Search, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1094761
Tracking Status
e10s + ---
firefox47 --- affected

People

(Reporter: Felipe, Assigned: Felipe)

References

(Blocks 1 open bug)

Details

This test hits the network (because it opens a tab with a search query to the default search engine), and this generates an intentional crash because tests shouldn't be hitting the network. The theory that this doesn't happen in non-e10s is that the tab closing happens fast enough to cancel the network request, but that doesn't hold for e10s.

The right fix is to make it use a test-engine that points to a mochi.test url. I moved it to browser/components/search to easily use a helper function.

It appears this test was disabled on mac for being intermittent.. I ran it several times here and didn't see it happening, but I kept the skip-if == mac just in case to not have this bug backed out.
(ahh, wasted a nice bug number)
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1094761
You need to log in before you can comment on or make changes to this bug.