| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 2 | 3 | 0.973 | StatementList[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 699 | Closure/closure/goog/dom/dom_test.js |
| 2 | 6 | 705 | Closure/closure/goog/dom/dom_test.js |
| ||||
assertFalse('isFocusableTabIndex() must be false after disabling tab '+
'index that was programmatically added',
goog.dom.isFocusableTabIndex(goog.dom.getElement('noTabIndex')));
// Test disabling focusable tab index that was specified in markup.
goog.dom.setFocusableTabIndex(goog.dom.getElement('tabIndex0'), false);
|
| ||||
assertFalse('isFocusableTabIndex() must be false after disabling tab '+
'index that was specified in markup',
goog.dom.isFocusableTabIndex(goog.dom.getElement('tabIndex0')));
// Test re-enabling focusable tab index.
goog.dom.setFocusableTabIndex(goog.dom.getElement('tabIndex0'), true);
|
| |||
assertFalse('isFocusableTabIndex() must be false after disabling tab '+ [[#variable61bae8a0]],goog.dom.isFocusableTabIndex(goog.dom.getElement( [[#variable61bae760]])));
// Test re-enabling focusable tab index.
// Test disabling focusable tab index that was specified in markup.
goog.dom.setFocusableTabIndex(goog.dom.getElement('tabIndex0'), [[#variable61bae780]]);
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#61bae8a0]] | 'index that was specified in markup' |
| 1 | 2 | [[#61bae8a0]] | 'index that was programmatically added' |
| 2 | 1 | [[#61bae760]] | 'tabIndex0' |
| 2 | 2 | [[#61bae760]] | 'noTabIndex' |
| 3 | 1 | [[#61bae780]] | true |
| 3 | 2 | [[#61bae780]] | false |