1 Tests file system project mappings.
4 Running: testAutomaticMapping
6 Adding network resource.
7 UISourceCode uri to url mappings:
8 filesystem:/var/www/html/foo.js ->
9 filesystem:/var/www/bar.js ->
10 Adding mapping between network and file system resources.
11 Emulate reloading inspector.
12 UISourceCode uri to url mappings:
13 filesystem:/var/www/html/foo.js -> http://localhost/html/foo.js
14 filesystem:/var/www/bar.js -> http://localhost/bar.js
15 Removing mapping between network and file system resources.
16 Emulate reloading inspector.
17 UISourceCode uri to url mappings:
18 filesystem:/var/www/html/foo.js ->
19 filesystem:/var/www/bar.js ->
21 Running: testScriptFileOnReloadWithDirtyFile
23 Adding file system mapping.
24 Dumping uiSourceCode and script content:
25 uiSourceCode: <foo content>
27 //# sourceURL=http://localhost/html/foo.js
29 - hasDivergedFromVM: false
30 - sourceFrame._muted: false
32 - hasDivergedFromVM: true
33 - sourceFrame._muted: true
34 Committing uiSourceCode with live edit failure:
35 Dumping uiSourceCode and script content:
36 uiSourceCode: <foo content edited>
38 //# sourceURL=http://localhost/html/foo.js
40 - hasDivergedFromVM: true
41 - sourceFrame._muted: true
42 Reloading with saved but diverged uiSourceCode:
44 Dumping uiSourceCode and script content:
45 uiSourceCode: <foo content edited>
47 //# sourceURL=http://localhost/html/foo.js
49 - hasDivergedFromVM: true
50 - sourceFrame._muted: true
51 Editing uiSourceCode again:
52 - hasDivergedFromVM: true
53 - sourceFrame._muted: true
54 Committing uiSourceCode again (with live edit success now):
55 Dumping uiSourceCode and script content:
56 uiSourceCode: <foo content edited again>
57 script: <foo content edited again>
58 - hasDivergedFromVM: false
59 - sourceFrame._muted: false
62 - hasDivergedFromVM: false
63 - sourceFrame._muted: false
64 Editing uiSourceCode again and reloading while it is dirty:
66 - hasDivergedFromVM: true
67 - sourceFrame._muted: true
69 Running: testLiveEditReload
71 Adding file system mapping.
74 ==Source frame contents start==
77 return "live-edited string";
80 ==Source frame contents end==
82 Running: testExcludingFolders
84 Adding exclusion pattern and excluded folder.
85 Dumping uiSourceCodes origin URLs:
86 - file:///var/www/bar.js
87 - file:///var/www/html2/foo.js
88 Excluding html2 folder:
89 Dumping uiSourceCodes origin URLs:
90 - file:///var/www/bar.js
92 Running: testRemoveProject
94 Dumping uiSourceCodes origin URLs:
95 - file:///var/www/foo.js
97 Received project removed event.
99 Running: testURLAfterRenaming
101 Adding file system mapping.
103 uiSourceCode URL change after renaming: http://localhost/html/foo.js -> http://localhost/html/newName.js
104 uiSourceCode URL change after renaming: http://localhost/bar.js -> http://localhost/newName.js
105 uiSourceCode URL change after renaming: http://localhost/foo/bar/baz.js -> http://localhost/foo/bar/newName.js