Closed Bug 1824389 Opened 2 years ago Closed 2 years ago

Remove _initCookieBannerHandlingLearnMore() function from privacy.js

Categories

(Toolkit :: UI Widgets, task, P3)

task

Tracking

()

RESOLVED FIXED
113 Branch
Tracking Status
firefox113 --- fixed

People

(Reporter: tgiles, Assigned: kisavi, Mentored)

References

Details

(Keywords: good-first-bug, Whiteboard: [lang=js])

Attachments

(1 file)

Since Bug 1814426 added a moz-support-link for the cookieBannerHandlingLearnMore element, we no longer need the _initCookieBannerHandlingLearnMore function. We should remove this and the call to it at L1952.

To help Mozilla out with this bug, here's the steps:

  1. Comment here on the bug that you want to volunteer to help.
    This will tell others that you're working on the next steps.
  2. Download and build the Firefox source code
    • If you have any problems, please ask on Element/Matrix in the #introduction channel. They're there to help you get started.
  3. Start working on this bug.
  4. Build your change with mach build and verify your change with mach run and ensuring the Cookie Banner Reduction link still points to https://support.mozilla.org/en-US/kb/cookie-banner-reduction?as=u&utm_source=inproduct. Also check your changes for adherence to our style guidelines by using mach lint.
  5. Submit the patch (including an automated test, if applicable) for review. Mark me as a reviewer so I'll get an email to come look at your code.
  6. After a series of reviews and changes to your patch, I'll push it to autoland.

Hello @tgiles. Can I be assigned this bug so that I can work on it? Thank you.

I have currently started looking into the bug.

Sure, I've assigned it to you. Please reach out via needinfo or over on Matrix if you need additional help.

Assignee: nobody → deniskisavi
Status: NEW → ASSIGNED

Great, thank you for assigning it to me. I'll definitely reach out if I need any additional help.

Hello Tim. I have attempted to execute the commands hg pull and hg update central, and they have completed successfully. However, upon reviewing the HTML section of the privacy.inc.xhtml , I have observed that the Bug 1814426 fix has not been updated or applied. As a result, this is impacting the functionality of my Bug 1824389 fix since the link is not being set on the element as intended. Thank you.

Flags: needinfo?(tgiles)

Hello Tim. Someone guided me on how to apply the fix. I was advised to run hg update autoland after the hg pull since the patch had been merged to the autoland repository for automated testing and not the central yet. This not only solved the issue I was having but also gave me a picture of how the merge process for this project works considering I am new to this. Thank you.

Flags: needinfo?(tgiles)
Pushed by tgiles@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/551a62ee0bdc Remove _initCookieBannerHandlingLearnMore() function from privacy.js. r=tgiles.
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: