Closed Bug 1545272 Opened 6 years ago Closed 6 years ago

Lessen antitracking warning spam

Categories

(Core :: Privacy: Anti-Tracking, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

Details

Attachments

(1 file)

GetTopWindowURI() can fail for expected reasons (e.g. if we have a null principal) and we'd just spam the console unnecessarily, so it's better to stop warning here:

https://searchfox.org/mozilla-central/rev/ee3905439acbf81e9c829ece0b46d09d2fa26c5c/toolkit/components/antitracking/AntiTrackingCommon.cpp#400

Bugbug thinks this bug is a task, but please change it back in case of error.

Type: defect → task
Pushed by eakhgari@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b6a7a19828ff Lessen anti-tracking warning spam; r=baku
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Assignee: nobody → ehsan
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: