Set an nsILoadContext for worker scripts without a parent document so SW principal is valid.