Console messages get their source position through some inference, first checking if there is an active V8 stack, then looking for an active HTML parser.
It looks like this inference can go wrong, which manifests itself as flakiness in the source location, which becomes flakiness in layout tests that print console messages. It appears that in these flaky cases, there are source line numbers with no associated source name.
Comment 1 by leszeks@chromium.org
, Oct 17