Open Bug 2025212 Opened 2 months ago Updated 12 days ago

Try to add telemetry for Akamai WAF blocks

Categories

(Core :: Networking, enhancement, P2)

enhancement

Tracking

()

People

(Reporter: emilio, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: webcompat:platform-bug, Whiteboard: [necko-triaged])

User Story

user-impact-score:2770

It seems the WAF blocks should be somewhat easily detectable. The general pattern would be something matching a 403 error and checking if the response data contains https://errors.edgesuite.net/18 or so?

The idea would be to detect that information, and set a use counter when that happens. From main-thread loads I think we can get to the relevant document / global and end up calling Document::SetUseCounter. I'm a bit less sure of what the deal is from things like workers / how can we get our hands in the relevant WorkerPrivate. Probably just calling SetUseCounter on the relevant worker thread would be enough.

User Story: (updated)

This sounds a bit similar to the work we did on tracking the number of Captcha pages in bug 1913421.

Severity: -- → N/A
Priority: -- → P2
Whiteboard: [necko-triaged]
User Story: (updated)
User Story: (updated)
User Story: (updated)
User Story: (updated)
You need to log in before you can comment on or make changes to this bug.