document.ready and window.load firing order

document.ready and window.load firing order

Until version 2.2.4, $(document).ready fires before $(window).on("load", function),
but with version 3.0.0 $(window).on("load", function) fires first!

example:
<script>
$(document).ready(function(){
    alert("ready fired");
});
$(window).on("load",function(){
    alert("load fired");
});
</script>

Is this a bug or a new feature?