<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>29066</bug_id>
          
          <creation_ts>2015-08-19 18:12:03 +0000</creation_ts>
          <short_desc>Should &quot;If mode is local&quot; be &quot;If mode is remote&quot; ?</short_desc>
          <delta_ts>2016-02-01 02:26:01 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc>https://html.spec.whatwg.org/#loading-the-media-resource</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>mike</cc>
    
    <cc>philipj</cc>
    
    <cc>sekhar179</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>122677</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2015-08-19 18:12:03 +0000</bug_when>
    <thetext>Specification: https://html.spec.whatwg.org/
Multipage: https://html.spec.whatwg.org/multipage/#loading-the-media-resource
Complete: https://html.spec.whatwg.org/#loading-the-media-resource
Referrer: https://codereview.chromium.org/1297983002/

Comment:
Should &quot;If mode is local&quot; be &quot;If mode is remote&quot; ?

Posted from: 106.51.232.244
User agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122684</commentid>
    <comment_count>1</comment_count>
    <who name="Srirama Chandra Sekhar Mogali">sekhar179</who>
    <bug_when>2015-08-20 07:35:27 +0000</bug_when>
    <thetext>This is raised by me. Here is more info about the issue.

1. If the algorithm was invoked with a URL, then let mode be remote, otherwise let mode be local.

2. If mode is local, then let the current media resource be the resource given by the absolute URL passed to this algorithm; otherwise, let the current media resource be the resource given by the media provider object. Either way, the current media resource is now the element&apos;s media resource.

In step1 it is mentioned that mode will be remote if URL is passed.
But in step2 media resource is set using URL if the mode is local, shouldn&apos;t this be opposite?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124780</commentid>
    <comment_count>2</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2016-02-01 02:25:48 +0000</bug_when>
    <thetext>This was fixed in https://github.com/whatwg/html/issues/316, sorry for missing this bug! (New issues are now handled on GitHub, but that change was after you filed this bug.)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>