| OLD | NEW |
| (Empty) |
| 1 Tests script snippet model. | |
| 2 | |
| 3 | |
| 4 Running: testCreateEditRenameRemove | |
| 5 UISourceCodeAdded: Script snippet #1 | |
| 6 Snippet content: | |
| 7 Snippet content set. | |
| 8 Snippet content: <snippet content> | |
| 9 Snippet1 created. | |
| 10 UISourceCodeAdded: Script snippet #2 | |
| 11 Snippet2 created. | |
| 12 Renaming snippet to 'foo' ... | |
| 13 Snippet renamed successfully. | |
| 14 UISourceCode name is 'foo' now. | |
| 15 Number of uiSourceCodes in workspace: 2 | |
| 16 Number of snippets in the storage: 2 | |
| 17 Renaming snippet to ' ' ... | |
| 18 Snippet was not renamed. | |
| 19 UISourceCode name is 'foo' now. | |
| 20 Number of uiSourceCodes in workspace: 2 | |
| 21 Number of snippets in the storage: 2 | |
| 22 Renaming snippet to ' bar ' ... | |
| 23 Snippet renamed successfully. | |
| 24 UISourceCode name is 'bar' now. | |
| 25 Number of uiSourceCodes in workspace: 2 | |
| 26 Number of snippets in the storage: 2 | |
| 27 Renaming snippet to 'foo' ... | |
| 28 Snippet renamed successfully. | |
| 29 UISourceCode name is 'foo' now. | |
| 30 Number of uiSourceCodes in workspace: 2 | |
| 31 Number of snippets in the storage: 2 | |
| 32 Renaming snippet to 'bar' ... | |
| 33 Snippet renamed successfully. | |
| 34 UISourceCode name is 'bar' now. | |
| 35 Number of uiSourceCodes in workspace: 2 | |
| 36 Number of snippets in the storage: 2 | |
| 37 Renaming snippet to 'foo' ... | |
| 38 Snippet was not renamed. | |
| 39 UISourceCode name is 'bar' now. | |
| 40 Number of uiSourceCodes in workspace: 2 | |
| 41 Number of snippets in the storage: 2 | |
| 42 Snippet content: <snippet content> | |
| 43 UISourceCodeRemoved: foo | |
| 44 UISourceCodeRemoved: bar | |
| 45 UISourceCodeAdded: Script snippet #3 | |
| 46 Snippet3 created. | |
| 47 UISourceCodeRemoved: Script snippet #3 | |
| 48 Snippet3 deleted. | |
| 49 Number of uiSourceCodes in workspace: 0 | |
| 50 Number of snippets in the storage: 0 | |
| 51 | |
| 52 Running: testEvaluate | |
| 53 Last evaluation source url for snippet: snippets:///1_1 | |
| 54 Snippet execution result: undefined | |
| 55 Last evaluation source url for snippet: snippets:///2_2 | |
| 56 Snippet execution result: function doesNothing() { | |
| 57 var i = 2+2; | |
| 58 } | |
| 59 Last evaluation source url for snippet: snippets:///1_3 | |
| 60 Snippet execution result: undefined | |
| 61 | |
| 62 Running: testEvaluateEditReload | |
| 63 Snippet execution result: undefined | |
| 64 Page reloaded. | |
| 65 | |
| 66 Running: testEvaluateInWorker | |
| 67 Last evaluation source url for snippet: snippets:///1_1 | |
| 68 Snippet execution result: 4 | |
| 69 | |
| OLD | NEW |