Depends on to whom we lie. The OS usually[1] should not lie to the browser and the browser has to know the truth to do its duty and for example render the page.
The browser lying to the server is a different story. Not a simple story, but in principle there is no reason the server needs to learn rendering details from the client.
[1] Location faking apps are one example where OS lying works with little downsides.