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: testExcludingFolders
71 Adding exclusion pattern and excluded folder.
72 Dumping uiSourceCodes origin URLs:
73 - file:///var/www/bar.js
74 - file:///var/www/html2/foo.js
75 Excluding html2 folder:
76 Dumping uiSourceCodes origin URLs:
77 - file:///var/www/bar.js