Closed Bug 1053937 Opened 10 years ago Closed 10 years ago

Visiting localhost prevents later tiles from being shown

Categories

(Firefox :: New Tab Page, defect)

defect
Not set
normal
Points:
2

Tracking

()

RESOLVED FIXED
Firefox 34
Iteration:
34.2
Tracking Status
firefox33 --- fixed
firefox34 --- fixed

People

(Reporter: Mardak, Assigned: Mardak)

References

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

I tested visiting localhost:8000 on a new profile and directory tiles stopped showing up.
Flags: firefox-backlog+
Points: --- → 2
Attached patch v1 (obsolete) — Splinter Review
Also fixes some subdomain of localhost that could end up triggering dns.
Assignee: nobody → edilee
Status: NEW → ASSIGNED
Attachment #8473152 - Flags: review?(adw)
Comment on attachment 8473152 [details] [diff] [review]
v1

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

::: toolkit/modules/DirectoryLinksProvider.jsm
@@ +188,5 @@
> +    try {
> +      return Services.eTLD.getBaseDomain(linkURI);
> +    }
> +    catch(ex) {
> +      return linkURI.asciiHost;

To avoid a JS engine strict warning, if those are even still a thing, please make the catch empty and return asciiHost after the catch.
Attachment #8473152 - Flags: review?(adw) → review+
Attached patch for checkinSplinter Review
(In reply to Drew Willcoxon :adw from comment #2)
> > +    catch(ex) {
> > +      return linkURI.asciiHost;
> To avoid a JS engine strict warning, if those are even still a thing, please
> make the catch empty and return asciiHost after the catch.
Done.
Attachment #8473152 - Attachment is obsolete: true
https://hg.mozilla.org/mozilla-central/rev/5768f6b78c57
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 34
Iteration: --- → 34.2
QA Whiteboard: [qa?]
QA Whiteboard: [qa?] → [qa-]
Blocks: 1057602
Uplift has been managed in bug 1057602
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: