OLD | NEW |
| (Empty) |
1 Tests file system project mappings. | |
2 | |
3 | |
4 Running: testAutomaticMapping | |
5 Adding file system. | |
6 Workspace event: Symbol(UISourceCodeAdded): file:///var/www/html/foo.js. | |
7 Workspace event: Symbol(UISourceCodeAdded): file:///var/www/bar.js. | |
8 Adding network resource. | |
9 Workspace event: Symbol(UISourceCodeAdded): http://localhost/html/foo.js. | |
10 Workspace event: Symbol(UISourceCodeAdded): http://localhost/bar.js. | |
11 UISourceCode uri to url mappings: | |
12 file:///var/www/html/foo.js -> | |
13 file:///var/www/bar.js -> | |
14 Adding mapping between network and file system resources. | |
15 Emulate reloading inspector. | |
16 Workspace event: Symbol(UISourceCodeAdded): file:///var/www/html/foo.js. | |
17 Workspace event: Symbol(UISourceCodeAdded): file:///var/www/bar.js. | |
18 UISourceCode uri to url mappings: | |
19 file:///var/www/html/foo.js -> http://localhost/html/foo.js | |
20 file:///var/www/bar.js -> http://localhost/bar.js | |
21 Removing mapping between network and file system resources. | |
22 Emulate reloading inspector. | |
23 Workspace event: Symbol(UISourceCodeAdded): file:///var/www/html/foo.js. | |
24 Workspace event: Symbol(UISourceCodeAdded): file:///var/www/bar.js. | |
25 Workspace event: Symbol(UISourceCodeAdded): http://localhost/html/foo.js. | |
26 Workspace event: Symbol(UISourceCodeAdded): http://localhost/bar.js. | |
27 UISourceCode uri to url mappings: | |
28 file:///var/www/html/foo.js -> | |
29 file:///var/www/bar.js -> | |
30 | |
31 Running: testScriptFileOnReloadWithDirtyFile | |
32 Adding file system. | |
33 Adding file system mapping. | |
34 Workspace event: Symbol(UISourceCodeAdded): file:///var/www/html/foo.js. | |
35 Workspace event: Symbol(UISourceCodeAdded): file:///var/www/bar.js. | |
36 Workspace event: Symbol(UISourceCodeAdded): debugger:///VM1 foo.js. | |
37 Dumping uiSourceCode and script content: | |
38 uiSourceCode: <foo content> | |
39 script: <foo content> | |
40 //# sourceURL=http://localhost/html/foo.js | |
41 | |
42 - hasDivergedFromVM: false | |
43 - sourceFrame._muted: false | |
44 Editing uiSourceCode: | |
45 - hasDivergedFromVM: true | |
46 - sourceFrame._muted: true | |
47 Committing uiSourceCode with live edit failure: | |
48 Dumping uiSourceCode and script content: | |
49 uiSourceCode: <foo content edited> | |
50 script: <foo content> | |
51 //# sourceURL=http://localhost/html/foo.js | |
52 | |
53 - hasDivergedFromVM: true | |
54 - sourceFrame._muted: true | |
55 Reloading with saved but diverged uiSourceCode: | |
56 UISourceCode should not have script file after unloading scripts: true | |
57 Saved but diverged source frame should not be muted: true | |
58 Loading script. | |
59 Workspace event: Symbol(UISourceCodeAdded): debugger:///VM2 foo.js. | |
60 Dumping uiSourceCode and script content: | |
61 uiSourceCode: <foo content edited> | |
62 script: <foo content> | |
63 //# sourceURL=http://localhost/html/foo.js | |
64 | |
65 - hasDivergedFromVM: true | |
66 - sourceFrame._muted: true | |
67 Editing uiSourceCode again: | |
68 - hasDivergedFromVM: true | |
69 - sourceFrame._muted: true | |
70 Committing uiSourceCode again (with live edit success now): | |
71 Dumping uiSourceCode and script content: | |
72 uiSourceCode: <foo content edited again> | |
73 script: <foo content edited again> | |
74 - hasDivergedFromVM: false | |
75 - sourceFrame._muted: false | |
76 Reloading page: | |
77 UISourceCode should not have script file after unloading scripts: true | |
78 Saved and merged source frame should not be muted: true | |
79 Loading script. | |
80 Workspace event: Symbol(UISourceCodeAdded): debugger:///VM3 foo.js. | |
81 - hasDivergedFromVM: false | |
82 - sourceFrame._muted: false | |
83 Editing uiSourceCode again and reloading while it is dirty: | |
84 UISourceCode should not have script file after unloading scripts: true | |
85 Dirty source frame should be muted: true | |
86 Loading script. | |
87 Workspace event: Symbol(UISourceCodeAdded): debugger:///VM4 foo.js. | |
88 - hasDivergedFromVM: true | |
89 - sourceFrame._muted: true | |
90 | |
91 Running: testRemoveProject | |
92 Adding file system. | |
93 Workspace event: Symbol(UISourceCodeAdded): file:///var/www/foo.js. | |
94 Dumping uiSourceCodes origin URLs: | |
95 - file:///var/www/foo.js | |
96 Removing project: | |
97 Received project removed event. | |
98 | |
99 Running: testURLAfterRenaming | |
100 Adding file system. | |
101 Adding file system mapping. | |
102 Workspace event: Symbol(UISourceCodeAdded): file:///var/www/html/foo.js. | |
103 Workspace event: Symbol(UISourceCodeAdded): file:///var/www/bar.js. | |
104 Workspace event: Symbol(UISourceCodeAdded): file:///var/www/foo/bar/baz.js. | |
105 Renaming files: | |
106 uiSourceCode URL change after renaming: http://localhost/html/foo.js -> http
://localhost/html/newName.js | |
107 uiSourceCode URL change after renaming: http://localhost/bar.js -> http://lo
calhost/newName.js | |
108 uiSourceCode URL change after renaming: http://localhost/foo/bar/baz.js -> h
ttp://localhost/foo/bar/newName.js | |
109 | |
110 Running: testProjectBasedMapping | |
111 Adding file system. | |
112 Workspace event: Symbol(UISourceCodeAdded): file:///var/www/html/foo.js. | |
113 Workspace event: Symbol(UISourceCodeAdded): file:///var/www/html2/bar.js. | |
114 (suspend state changed: true) | |
115 (suspend state changed: false) | |
116 UISourceCode uri to url mappings: | |
117 file:///var/www/html/foo.js -> http://localhost/h1/foo.js | |
118 file:///var/www/html2/bar.js -> http://localhost/h2/bar.js | |
119 (suspend state changed: true) | |
120 (suspend state changed: false) | |
121 | |
122 Running: testNodeJSWrapper | |
123 Adding file system. | |
124 Workspace event: Symbol(UISourceCodeAdded): file:///var/www/html/foo.js. | |
125 Workspace event: Symbol(UISourceCodeAdded): file:///var/www/html/bar.js. | |
126 Workspace event: Symbol(UISourceCodeAdded): debugger:///VM5 foo.js. | |
127 Is diverged: false | |
128 Workspace event: Symbol(UISourceCodeAdded): debugger:///VM6 bar.js. | |
129 Is diverged: false | |
130 | |
OLD | NEW |