<?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>28697</bug_id>
          
          <creation_ts>2015-05-25 14:43:00 +0000</creation_ts>
          <short_desc>BarProp.visible can be readonly</short_desc>
          <delta_ts>2015-09-01 20:28:14 +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>FIXED</resolution>
          
          
          <bug_file_loc>https://html.spec.whatwg.org/#browser-interface-elements</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>annevk</cc>
    
    <cc>bzbarsky</cc>
    
    <cc>mike</cc>
    
    <cc>philipj</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>120467</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2015-05-25 14:43:00 +0000</bug_when>
    <thetext>Specification: https://html.spec.whatwg.org/
Multipage: https://html.spec.whatwg.org/multipage/#browser-interface-elements
Complete: https://html.spec.whatwg.org/#browser-interface-elements
Referrer: 

Comment:
BarProp.visible can be readonly

Posted from: 212.116.72.179
User agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2376.0 Safari/537.36 OPR/31.0.1857.0 (Edition developer)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120468</commentid>
    <comment_count>1</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2015-05-25 14:45:45 +0000</bug_when>
    <thetext>The spec says &quot;On setting, the new value must be discarded&quot; but in Blink and WebKit, BarProp.visible is simply readonly. Since this appears to be web compatible, I propose doing the same in the spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122967</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2015-09-01 10:13:28 +0000</bug_when>
    <thetext>It seems in Gecko the setter only does something in Chrome code. So I guess Firefox could make this readonly too, unless I read http://mxr.mozilla.org/mozilla-central/source/dom/base/BarProps.cpp#68 incorrectly. Copying bz for verification.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122999</commentid>
    <comment_count>3</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2015-09-01 17:29:47 +0000</bug_when>
    <thetext>We could do that, yes.  It&apos;s a behavior change in strict mode (to throw instead of silently doing nothing), but as long as we&apos;re sure that&apos;s web compatible...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123000</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2015-09-01 17:50:38 +0000</bug_when>
    <thetext>Yeah, that seems like a small risk given that Chrome already implements it this way and this is very old.

Thank you.

https://github.com/whatwg/html/commit/78f102944f276919251d8a057052edbca4ee1e0c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123004</commentid>
    <comment_count>5</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2015-09-01 20:28:14 +0000</bug_when>
    <thetext>Actually, we&apos;ll need to figure out how to implement this in Gecko... it&apos;ll take some nontrivial binding surgery to do it right, unfortunately.  :(</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>