Closed Bug 1562575 Opened 7 years ago Closed 7 years ago

[Protections Panel] Move content blocking section into protections panel and update tests

Categories

(Firefox :: Site Identity, task, P1)

task

Tracking

()

RESOLVED FIXED
Firefox 70
Tracking Status
firefox70 --- fixed

People

(Reporter: timhuang, Assigned: johannh)

References

Details

Attachments

(3 files)

No description provided.
Assignee: nobody → tihuang
Status: NEW → ASSIGNED

I was looking at our content blocking code and thinking about this today, and I'm now reconsidering whether we should do this already. I left the content blocking parts of the new panel for 70 because it made more sense not to duplicate all that stuff.

What I'm wondering specific to this bug is, it makes sense when implementing the new content blocking UI to just modify browser-contentblocking.js to use the new elements we add in. Does it make sense to remove all the content blocking code first? This might result in removal of code that's needed later.

Is there a benefit of removing it first and adding it back in, to prevent duplication? I want to say "no", but maybe there is a case for it...

I'll think about this more; let's discuss this in triage/standup and come up with a solid strategy.

Tim and I talked about this today and decided it might be a good idea to first move the content blocking section "as is" into the new panel, and then iterate on it to bring it to parity with the new spec. So I'm renaming this bug accordingly.

Priority: -- → P1
Summary: [Protections Panel] Remove content blocking section from identity panel and update tests → [Protections Panel] Move content blocking section into protections panel and update tests

Unassigned myself for now, because Nihanth might want to do this for blocking and non-blocking works.

Assignee: tihuang → nobody
Status: ASSIGNED → NEW

(In reply to Nihanth Subramanya [:nhnt11] from comment #2)

Tim and I talked about this today and decided it might be a good idea to first move the content blocking section "as is" into the new panel, and then iterate on it to bring it to parity with the new spec. So I'm renaming this bug accordingly.

I agree this sounds like the best idea.

Whiteboard: [privacy-panel][triage]
Assignee: nobody → jhofmann
Status: NEW → ASSIGNED

This lives in the protections popup now and will get a new probe.

Since I'm only removing data collection I don't think a data steward is required to sign off.

I'm removing recordClick calls in identityPanel.inc.xul in a later patch.

Depends on D37384

This is a pretty big change on paper, but most of the lines are copy-pasted, with some small
adjustments to get the content blocking code comfortable in browser-siteProtections.js.

Depends on D37555

Blocks: 1563088
Pushed by jhofmann@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/de006229ba8f Part 1 - Remove content blocking telemetry events from identity popup telemetry. r=ewright https://hg.mozilla.org/integration/autoland/rev/c9b01b908020 Part 2 - Move content blocking section into the protections panel. r=ewright https://hg.mozilla.org/integration/autoland/rev/fce18a9477b0 Part 3 - Test updates for content blocking section in browser-siteProtections.js. r=ewright
Pushed by jhofmann@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/24bfd549a6f9 Part 1 - Remove content blocking telemetry events from identity popup telemetry. r=ewright https://hg.mozilla.org/integration/autoland/rev/3eaf35e40936 Part 2 - Move content blocking section into the protections panel. r=ewright https://hg.mozilla.org/integration/autoland/rev/02f290e8b495 Part 3 - Test updates for content blocking section in browser-siteProtections.js. r=ewright
Flags: needinfo?(jhofmann)
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 70
Regressions: 1565849
Blocks: 1565879
Regressions: 1566985
Regressions: 1578265

Sorry, I don't understand the needinfo here :)

Flags: needinfo?(jhofmann)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: