[misc] Polish #635 of the NavigatorLanguage tests

The property `setAcceptLanguages` is something depending on Blink Layout Tests `window.testRunner`. We still need to figure out how to easily enable Blink Layout Tests in our test suites.