Changes between Initial Version and Version 1 of Ticket #9814, comment 24


Ignore:
Timestamp:
May 27, 2014, 9:33:04 AM (5 years ago)
Author:
Piotrek Koszuliński
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9814, comment 24

    initial v1  
    33> We should avoid per browser code branching if the situation does not force us to do so. And AFAIR the useDeopt was overriden inside isReadOnly(), taking the free will away from developer using that method.
    44
    5 Sorry to make my last comment unclear. The two points - one about code branching and one about making decision inside `isReadOnly()` are independent.
     5Sorry for making my last comment unclear. The two points - one about code branching and one about making decision inside `isReadOnly()` are independent.
    66
    77BTW. More related reason for avoiding code branching - what if FF or IE will change their behaviour to conform to Webkit/Blink's? The Webkit/Blink one makes sense, so this is not impossible. Sometimes it's impossible, but this time we can handle what may come in advance.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy