I came across this question referring to alerts and confirm dialogs, like the one created by alert('Hello World!')
, while searching for a way to change the text in the 'ok' and 'cancel' buttons (there isn't one). That question, or rather, an answer to that question, indicated that somehow the OS is used to generate the confirm boxes, rather than the browser.
I've hear them referred to as 'native' before, but I had assumed that meant that the dialogs were native to the browser, not the OS.
My question is, what exactly determines the rendering of these dialogs? Is it the operating system, the browser, or some combination of the two? Does the browser handle these on its own, or does it ask the OS to display a dialog, and then catch the result of that?