Add an ETP shim for Doubleclick
Categories
(Core :: Privacy: Anti-Tracking, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox91 | --- | fixed |
People
(Reporter: twisniewski, Assigned: twisniewski)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
text/x-phabricator-request
|
Details |
Sites often break when pubads or securepubads are blocked. Shimming them will prevent various kinds of breakage ranging from sites not properly loading to videos not appearing.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Updated•3 years ago
|
Comment 2•3 years ago
|
||
Backed out changeset 82f3980be0c0 (bug 1713693) for build bustage on Linux. CLOSED TREE
Log:
https://treeherder.mozilla.org/logviewer?job_id=344483965&repo=autoland&lineNumber=69369
Push with failures:
https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&revision=82f3980be0c0e6a408fd403457170d759a205810
Backout:
https://hg.mozilla.org/integration/autoland/rev/7e5b7b7787a922af129d9cb95fcce82cbecc8e2b
Assignee | ||
Comment 3•3 years ago
|
||
Always fun to see a duplicate filename error when that file is 0-sized :)
Comment 5•3 years ago
|
||
Backed out changeset 52a7608366bd (bug 1713693) for Build bustages. CLOSED TREE
Log:
https://treeherder.mozilla.org/logviewer?job_id=344487067&repo=autoland&lineNumber=69104
Push with failures:
https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&revision=52a7608366bdf28c9d3704fbf9b49d8638356700
Backout:
https://hg.mozilla.org/integration/autoland/rev/6b5755eaf66c6139271c0737b11e44460095f59e
Assignee | ||
Comment 6•3 years ago
|
||
Wait, what? There is no other file named empty-shim.txt in-tree that I can see. So it's not the duplicate filename which isn't allowed, but we aren't allowed to have more than one empty file in-tree? That seems oddly heavy-handed, and I think my only option will be to explicitly allow it as a dupe.
Comment 8•3 years ago
|
||
Backed out for causing build bustages.
Backout link: https://hg.mozilla.org/integration/autoland/rev/e159619172337e2f45a81b141174d137b0d86fb9
Failure log: https://treeherder.mozilla.org/logviewer?job_id=344494316&repo=autoland&lineNumber=76599
Assignee | ||
Comment 9•3 years ago
|
||
Ah, I used to wrong format for the allowlist this time. Sorry for the churn.
Comment 10•3 years ago
|
||
Comment 11•3 years ago
|
||
Backed out for causing build bustage.
Backout link: https://hg.mozilla.org/integration/autoland/rev/51665fb50c6bd7c5c07d5e49369da103631a7fce
Failure log: https://treeherder.mozilla.org/logviewer?job_id=344499924&repo=autoland&lineNumber=73816
Assignee | ||
Comment 12•3 years ago
|
||
Ok, I'm fresh out of ideas as to what's going on now from the error in the log. I'll have to ask around to find out what might be going on here.
Assignee | ||
Comment 13•3 years ago
|
||
:glandium, :egao, would either of you have any idea what's going on here? This is the part of the log with the error for the current patch version:
[task 2021-07-06T20:10:43.352Z] 20:10:43 INFO - package> WARNING: Found 48 duplicated files taking 8017589 bytes (uncompressed)
[task 2021-07-06T20:10:43.352Z] 20:10:43 INFO - package> ERROR: The following duplicated files are not allowed:
[task 2021-07-06T20:10:43.352Z] 20:10:43 INFO - package> removed-files
[task 2021-07-06T20:10:43.352Z] 20:10:43 ERROR - package> make[5]: *** [/builds/worker/checkouts/gecko/toolkit/mozapps/installer/packager.mk:26: stage-package] Error 1
[task 2021-07-06T20:10:43.352Z] 20:10:43 INFO - package> make[5]: Leaving directory '/builds/worker/workspace/obj-build/browser/installer'
[task 2021-07-06T20:10:43.353Z] 20:10:43 ERROR - package> make[4]: *** [/builds/worker/checkouts/gecko/toolkit/mozapps/installer/packager.mk:111: make-package] Error 2
[task 2021-07-06T20:10:43.353Z] 20:10:43 ERROR - package> make[3]: *** [/builds/worker/checkouts/gecko/config/rules.mk:355: default] Error 2
[task 2021-07-06T20:10:43.353Z] 20:10:43 ERROR - package> make[2]: *** [/builds/worker/checkouts/gecko/browser/build.mk:6: package] Error 2
[task 2021-07-06T20:10:43.353Z] 20:10:43 ERROR - make[1]: *** [/builds/worker/checkouts/gecko/build/moz-automation.mk:110: automation/package] Error 2
[task 2021-07-06T20:10:43.353Z] 20:10:43 INFO - make[1]: *** Waiting for unfinished jobs....
The file throwing it off is again an empty file named empty-shim.txt.
Comment 14•3 years ago
|
||
The removed-files
file is generated during the build and empty if GTK is used. Add an exception to allowed-dupes.mn.
Assignee | ||
Comment 15•3 years ago
|
||
:aryx, I did add these lines to allowed-dupes.mn in the patch:
# Bug 1713693 - empty-shim.txt, an intentionally blank file used by SmartBlock (0 bytes)
browser/features/webcompat@mozilla.org/shims/empty-shim.txt
Is that insufficient?
Comment 16•3 years ago
|
||
- It needs to be wrapped by a
#ifdef MOZ_GTK
(else there will be test failures about an unused exception). - The test log regards
removed-files
. Both files should be mention based on the other rules there.
Assignee | ||
Comment 17•3 years ago
|
||
Thanks, but I'm still not quite sure what you mean. Placing that ifdef around the code I added to allowed-dupes doesn't make the removed-files
error go away, so I must be missing something (sorry if I'm being a bit slow on the uptake here!): https://treeherder.mozilla.org/jobs?repo=try&revision=48b0b7cd2cbd66c755b11aca20ffa3eca08bcc77
Comment 18•3 years ago
|
||
Add another line in your block with literally removed-files
so it contains both files mentioned earlier in the log.
Assignee | ||
Comment 19•3 years ago
|
||
Oh, that's all you meant? Wow, maybe that week off did me more harm than good :S
Assignee | ||
Comment 20•3 years ago
|
||
Updated•3 years ago
|
Comment 21•3 years ago
|
||
Comment 22•3 years ago
|
||
bugherder |
Description
•