Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.975 | FunctionDeclaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 56 | Closure/closure/goog/editor/seamlessfield_test.js |
2 | 4 | 63 | Closure/closure/goog/editor/seamlessfield_test.js |
| ||||
// the following tests check for blended iframe positioning. They really // only make sense on browsers without contentEditable. function testBlankField( ){ if (!goog.editor.BrowserFeature.HAS_CONTENT_EDITABLE) { assertAttachSeamlessIframeSizesCorrectly( initSeamlessField(' ', {} ),createSeamlessIframe( )); } } |
| ||||
function testFieldWithContent( ){ if (!goog.editor.BrowserFeature.HAS_CONTENT_EDITABLE) { assertAttachSeamlessIframeSizesCorrectly( initSeamlessField('Hi!', {} ),createSeamlessIframe( )); } } |
| |||
// the following tests check for blended iframe positioning. They really // only make sense on browsers without contentEditable. function [[#variable1edeb280]]( ) { if (!goog.editor.BrowserFeature.HAS_CONTENT_EDITABLE) { assertAttachSeamlessIframeSizesCorrectly(initSeamlessField( [[#variable1edebb00]], {} ),createSeamlessIframe( )); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1edeb280]] | testFieldWithContent |
1 | 2 | [[#1edeb280]] | testBlankField |
2 | 1 | [[#1edebb00]] | 'Hi!' |
2 | 2 | [[#1edebb00]] | ' ' |