If the browser is programmed to report a single size, then its impossible for JavaScript to determine the actual size. Because all JS would get is the same resolution. That’s the idea of the suggestion.
If the browser size is a standard size which is often tested to work with, then i don’t see it as such a big of a deal. Most sites are also resolution independent. We are no longer in 2010. Do you know any site that could break because you don’t use a specific resolution?
If the browser is programmed to report a single size, then its impossible for JavaScript to determine the actual size. Because all JS would get is the same resolution. That’s the idea of the suggestion.
…and then your websites break, because you actually need to render them correctly.
…or it needs to be your actual window size, too.
If the browser size is a standard size which is often tested to work with, then i don’t see it as such a big of a deal. Most sites are also resolution independent. We are no longer in 2010. Do you know any site that could break because you don’t use a specific resolution?