[Bug 7660] The resource selection algorithm should set currentSrc in the sync section before invoking resource fetch instead of being set in the async resource fetch. Otherwise checking currentSrc in onloadstart is not reliable.