IMHO there are multiple moral boundaries, and making a dark pattern like requiring an extra click to reject cookies is unlikely a hill to die on for most devs.
They might complain to their manager, even log a formal notice that they believe this feature to be breaking the law (if they are smart), but quitting a company for this specific dark pattern seems a bit unusual.
There’s a lot of selection bias, since a great many developers who would quit when asked to brazenly disregard privacy also wouldn’t interview at Google or Facebook in he first place.
There’s a lot of a-moralistic attitude towards FAANG on Hacker News, which honestly I find strange; Google and Facebook in particular are just giant douchebags with lots of cash.
This is huge, there are a ton of us out here writing software at non-profits, edus, etc., willingly making much less because we don't want to ever be involved.
FAANG (and any VC funded company that touches ad revenue) is already selecting for developers who are willing to overlook these kinds of things. It's one of the reasons why they need to pay people so much more.
They might complain to their manager, even log a formal notice that they believe this feature to be breaking the law (if they are smart), but quitting a company for this specific dark pattern seems a bit unusual.