Changes between Initial Version and Version 1 of Ticket #9814, comment 24
- Timestamp:
- May 27, 2014, 9:33:04 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #9814, comment 24
initial v1 3 3 > 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. 4 4 5 Sorry to makemy last comment unclear. The two points - one about code branching and one about making decision inside `isReadOnly()` are independent.5 Sorry for making my last comment unclear. The two points - one about code branching and one about making decision inside `isReadOnly()` are independent. 6 6 7 7 BTW. 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.