| OLD | NEW |
| 1 CONSOLE MESSAGE: line 12: don't panic! | 1 CONSOLE MESSAGE: line 12: don't panic! |
| 2 Tests resource-related methods of WebInspector extension API | 2 Tests resource-related methods of WebInspector extension API |
| 3 | 3 |
| 4 | 4 |
| 5 Started extension. | 5 Started extension. |
| 6 Running tests... | 6 Running tests... |
| 7 RUNNING TEST: extension_testGetAllResources | 7 RUNNING TEST: extension_testGetAllResources |
| 8 page resources: | 8 page resources: |
| 9 { | 9 { |
| 10 0 : { | 10 0 : { |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 } | 53 } |
| 54 | 54 |
| 55 " | 55 " |
| 56 1 : "" | 56 1 : "" |
| 57 } | 57 } |
| 58 RUNNING TEST: extension_testOnContentCommitted | 58 RUNNING TEST: extension_testOnContentCommitted |
| 59 log: Extension server error: Object does not support requested operation: Resour
ce is not editable | 59 log: Extension server error: Object does not support requested operation: Resour
ce is not editable |
| 60 content committed for resource .../audits-style1.css (type: stylesheet), new con
tent: div.test { width: 220px; height: 42px; } | 60 content committed for resource .../audits-style1.css (type: stylesheet), new con
tent: div.test { width: 220px; height: 42px; } |
| 61 Revision content: div.test { width: 220px; height: 42px; } | 61 Revision content: div.test { width: 220px; height: 42px; } |
| 62 RUNNING TEST: extension_testOnResourceAdded | 62 RUNNING TEST: extension_testOnResourceAdded |
| 63 Debugger was enabled. | |
| 64 resource added: | 63 resource added: |
| 65 { | 64 { |
| 66 0 : { | 65 0 : { |
| 67 getContent : <function> | 66 getContent : <function> |
| 68 setContent : <function> | 67 setContent : <function> |
| 69 type : "script" | 68 type : "script" |
| 70 url : data:application/javascript... | 69 url : data:application/javascript... |
| 71 } | 70 } |
| 72 } | 71 } |
| 73 Debugger was disabled. | |
| 74 RUNNING TEST: extension_testOpenResourceHandler | 72 RUNNING TEST: extension_testOpenResourceHandler |
| 75 handleOpenResource() invoked [this should only appear once!]: | 73 handleOpenResource() invoked [this should only appear once!]: |
| 76 { | 74 { |
| 77 0 : { | 75 0 : { |
| 78 getContent : <function> | 76 getContent : <function> |
| 79 setContent : <function> | 77 setContent : <function> |
| 80 type : "document" | 78 type : "document" |
| 81 url : .../extensions-resources.html | 79 url : .../extensions-resources.html |
| 82 } | 80 } |
| 83 1 : 12 | 81 1 : 12 |
| 84 } | 82 } |
| 85 RUNNING TEST: extension_testSetResourceContent | 83 RUNNING TEST: extension_testSetResourceContent |
| 86 div.test width after stylesheet edited (should be 126): 126 | 84 div.test width after stylesheet edited (should be 126): 126 |
| 87 All tests done. | 85 All tests done. |
| 88 | 86 |
| OLD | NEW |