I use this html to load the bing map scripts:
<html><head>
<script src="https://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0&s=1" type="application/javascript" ></script>
</head><body></body></html>
in firefox: script loads and adds another script tag to head, then the second script loads (can see in firebug Net tab):
<html><head>
<script src="https://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0&s=1" type="application/javascript" ></script>
<script type="text/javascript" src="https://ecn.dev.virtualearth.net/mapcontrol/v7.0/7.0.20140904153057.64/js/en-us/veapicore.js">
</head><body></body></html>
in phantomjs: i hook to page.onResourceRequested and print request url. result is that only the first script is requested, veapicore.js is not requested for reason unknown to me.
what is happening here?