Closed Bug 1096724 Opened 5 years ago Closed 4 years ago

Intermittent test_base-uri.html | Disallowed setting the base-uri in test 2! - got base-uri http://example.com, expected base-uri 'none'

Categories

(Core :: DOM: Security, defect)

36 Branch
All
Linux
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla43
Tracking Status
firefox40 --- wontfix
firefox41 --- fixed
firefox42 --- fixed
firefox43 --- fixed
firefox-esr38 --- fixed

People

(Reporter: KWierso, Assigned: ckerschb)

Details

(Keywords: intermittent-failure)

Attachments

(1 file, 1 obsolete file)

13:01:41 INFO - 189 INFO TEST-START | /tests/dom/base/test/csp/test_base-uri.html
13:01:42 INFO - ++DOMWINDOW == 170 (0xa6da97d0) [pid = 1841] [serial = 1328] [outer = 0xae184090]
13:01:42 INFO - ++DOCSHELL 0xa39f4400 == 118 [pid = 1841] [id = 408]
13:01:42 INFO - ++DOMWINDOW == 171 (0xa71ebf90) [pid = 1841] [serial = 1329] [outer = (nil)]
13:01:42 INFO - [Child 1841] WARNING: NS_ENSURE_TRUE(nsContentUtils::GetCurrentJSContext()) failed: file /builds/slave/m-in-lx-d-00000000000000000000/build/docshell/base/nsDocShell.cpp, line 9109
13:01:42 INFO - [Child 1841] WARNING: Subdocument container has no frame: file /builds/slave/m-in-lx-d-00000000000000000000/build/layout/base/nsDocumentViewer.cpp, line 2502
13:01:42 INFO - ++DOMWINDOW == 172 (0xae1853f0) [pid = 1841] [serial = 1330] [outer = 0xa71ebf90]
13:01:42 INFO - ++DOMWINDOW == 173 (0xae1855e0) [pid = 1841] [serial = 1331] [outer = 0xa71ebf90]
13:01:42 INFO - ++DOMWINDOW == 174 (0xae1857d0) [pid = 1841] [serial = 1332] [outer = 0xa71ebf90]
13:01:43 INFO - --DOMWINDOW == 173 (0xa71ed4e0) [pid = 1841] [serial = 1219] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_CSP_bug888172.sjs?csp=default-src%20%27self%27%20%27unsafe-inline%27%20%27unsafe-eval%27]
13:01:43 INFO - --DOMWINDOW == 172 (0xa58264e0) [pid = 1841] [serial = 1162] [outer = (nil)] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html]
13:01:43 INFO - --DOMWINDOW == 171 (0xa71ecf10) [pid = 1841] [serial = 1216] [outer = (nil)] [url = about:blank]
13:01:43 INFO - --DOMWINDOW == 170 (0xa5825f10) [pid = 1841] [serial = 1196] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_CSP_bug663567_allows.xml]
13:01:43 INFO - --DOMWINDOW == 169 (0xa5821f20) [pid = 1841] [serial = 1190] [outer = (nil)] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html]
13:01:43 INFO - --DOMWINDOW == 168 (0xa6daa940) [pid = 1841] [serial = 1172] [outer = (nil)] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html]
13:01:43 INFO - --DOMWINDOW == 167 (0xa6dabab0) [pid = 1841] [serial = 1177] [outer = (nil)] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html]
13:01:43 INFO - --DOMWINDOW == 166 (0xa5825940) [pid = 1841] [serial = 1159] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/asmjscache/test/test_slow.html]
13:01:43 INFO - --DOMWINDOW == 165 (0xa6daca30) [pid = 1841] [serial = 1181] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_redirect_content.sjs?307]
13:01:43 INFO - --DOMWINDOW == 164 (0xa6dab4e0) [pid = 1841] [serial = 1176] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_redirect_content.sjs?303]
13:01:43 INFO - --DOMWINDOW == 163 (0xa6da9f90) [pid = 1841] [serial = 1171] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_redirect_content.sjs?302]
13:01:43 INFO - --DOMWINDOW == 162 (0xa6da8a40) [pid = 1841] [serial = 1167] [outer = (nil)] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html]
13:01:43 INFO - --DOMWINDOW == 161 (0xa71e8950) [pid = 1841] [serial = 1207] [outer = (nil)] [url = about:blank]
13:01:43 INFO - --DOMWINDOW == 160 (0xa71ed8c0) [pid = 1841] [serial = 1221] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_CSP_bug888172.sjs?csp=default-src%20%27self%27%20%27unsafe-inline%27%20%27unsafe-eval%27%3B%20style-src%20%27self%27]
13:01:43 INFO - --DOMWINDOW == 159 (0xa71eae20) [pid = 1841] [serial = 1211] [outer = (nil)] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html]
13:01:43 INFO - --DOMWINDOW == 158 (0xa71e8380) [pid = 1841] [serial = 1185] [outer = (nil)] [url = about:blank]
13:01:43 INFO - --DOMWINDOW == 157 (0xa6da6f20) [pid = 1841] [serial = 1166] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_redirect_content.sjs?301]
13:01:43 INFO - --DOMWINDOW == 156 (0xa5824da0) [pid = 1841] [serial = 1195] [outer = (nil)] [url = about:blank]
13:01:43 INFO - --DOMWINDOW == 155 (0xa71ed2f0) [pid = 1841] [serial = 1218] [outer = (nil)] [url = about:blank]
13:01:43 INFO - --DOMWINDOW == 154 (0xa6da93f0) [pid = 1841] [serial = 1170] [outer = (nil)] [url = about:blank]
13:01:43 INFO - --DOMWINDOW == 153 (0xa6da7ea0) [pid = 1841] [serial = 1203] [outer = (nil)] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html]
13:01:43 INFO - --DOMWINDOW == 152 (0xa71e9ac0) [pid = 1841] [serial = 1209] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_CSP_bug885433_allows.html]
13:01:43 INFO - --DOMWINDOW == 151 (0xa5827270) [pid = 1841] [serial = 1198] [outer = (nil)] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html]
13:01:43 INFO - --DOMWINDOW == 150 (0xa5826ca0) [pid = 1841] [serial = 1197] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_CSP_bug663567_blocks.xml]
13:01:43 INFO - --DOMWINDOW == 149 (0xa5824200) [pid = 1841] [serial = 1194] [outer = (nil)] [url = about:blank]
13:01:43 INFO - --DOMWINDOW == 148 (0xa5822cb0) [pid = 1841] [serial = 1028] [outer = (nil)] [url = http://mochi.test:8888/tests/docshell/test/test_bug668513.html]
13:01:43 INFO - --DOMWINDOW == 147 (0xa6dac840) [pid = 1841] [serial = 1180] [outer = (nil)] [url = about:blank]
13:01:43 INFO - --DOMWINDOW == 146 (0xa6dab2f0) [pid = 1841] [serial = 1175] [outer = (nil)] [url = about:blank]
13:01:43 INFO - --DOMWINDOW == 145 (0xa6da7300) [pid = 1841] [serial = 1202] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_CSP_bug802872.html]
13:01:43 INFO - --DOMWINDOW == 144 (0xa71ea850) [pid = 1841] [serial = 1189] [outer = (nil)] [url = about:blank]
13:01:43 INFO - --DOMWINDOW == 143 (0xa58266d0) [pid = 1841] [serial = 1163] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/test_301_redirect.html]
13:01:43 INFO - --DOMWINDOW == 142 (0xa71ed6d0) [pid = 1841] [serial = 1220] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_CSP_bug888172.sjs?csp=default-src%20%27self%27%20%27unsafe-inline%27%20%27unsafe-eval%27%3B%20script-src%20%27self%27]
13:01:43 INFO - --DOMWINDOW == 141 (0xa6daad20) [pid = 1841] [serial = 1173] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/test_303_redirect.html]
13:01:43 INFO - --DOMWINDOW == 140 (0xa71eac30) [pid = 1841] [serial = 1210] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_CSP_bug885433_blocks.html]
13:01:43 INFO - --DOMWINDOW == 139 (0xa71e96e0) [pid = 1841] [serial = 1208] [outer = (nil)] [url = about:blank]
13:01:43 INFO - --DOMWINDOW == 138 (0xa71ed100) [pid = 1841] [serial = 1217] [outer = (nil)] [url = about:blank]
13:01:43 INFO - --DOMWINDOW == 137 (0xa6dac460) [pid = 1841] [serial = 1178] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/test_307_redirect.html]
13:01:43 INFO - --DOMWINDOW == 136 (0xa5825b30) [pid = 1841] [serial = 1161] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/asmjscache/test/test_workers.html]
13:01:43 INFO - --DOMWINDOW == 135 (0xa6dacc20) [pid = 1841] [serial = 1182] [outer = (nil)] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html]
13:01:43 INFO - --DOMWINDOW == 134 (0xa6da8c30) [pid = 1841] [serial = 1168] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/test_302_redirect.html]
13:01:43 INFO - --DOMWINDOW == 133 (0xa71edab0) [pid = 1841] [serial = 1222] [outer = (nil)] [url = http://mochi.test:8888/tests/SimpleTest/iframe-between-tests.html]
13:01:43 INFO - --DOMWINDOW == 132 (0xa5827c20) [pid = 1841] [serial = 1165] [outer = (nil)] [url = about:blank]
13:01:43 INFO - --DOMWINDOW == 131 (0xa6da7110) [pid = 1841] [serial = 1201] [outer = (nil)] [url = about:blank]
13:01:43 INFO - --DOCSHELL 0xa71b3400 == 117 [pid = 1841] [id = 375]
13:01:43 INFO - --DOCSHELL 0xa7ad4800 == 116 [pid = 1841] [id = 377]
13:01:43 INFO - --DOCSHELL 0xa7ad3400 == 115 [pid = 1841] [id = 376]
13:01:43 INFO - --DOCSHELL 0xa7585000 == 114 [pid = 1841] [id = 374]
13:01:43 INFO - --DOCSHELL 0xa750dc00 == 113 [pid = 1841] [id = 373]
13:01:43 INFO - --DOCSHELL 0xa42f3400 == 112 [pid = 1841] [id = 364]
13:01:43 INFO - --DOCSHELL 0xa4c3d400 == 111 [pid = 1841] [id = 366]
13:01:43 INFO - --DOCSHELL 0xa42ec800 == 110 [pid = 1841] [id = 365]
13:01:43 INFO - --DOCSHELL 0xa42f3800 == 109 [pid = 1841] [id = 363]
13:01:43 INFO - --DOCSHELL 0xa4601800 == 108 [pid = 1841] [id = 371]
13:01:43 INFO - --DOCSHELL 0xa42fa800 == 107 [pid = 1841] [id = 370]
13:01:43 INFO - --DOCSHELL 0xa6c77800 == 106 [pid = 1841] [id = 369]
13:01:43 INFO - --DOCSHELL 0xa4c92800 == 105 [pid = 1841] [id = 372]
13:01:47 INFO - 190 INFO TEST-PASS | /tests/dom/base/test/csp/test_base-uri.html | Disallowed setting the base-uri in test 0!
13:01:47 INFO - 191 INFO TEST-PASS | /tests/dom/base/test/csp/test_base-uri.html | Disallowed setting the base-uri in test 1!
13:01:47 INFO - 192 INFO TEST-UNEXPECTED-FAIL | /tests/dom/base/test/csp/test_base-uri.html | Disallowed setting the base-uri in test 2! - got base-uri http://example.com, expected base-uri 'none'
13:01:47 INFO - [Child 1841] WARNING: NS_ENSURE_SUCCESS(EnsureScriptEnvironment(), nullptr) failed with result 0x80040111: file /builds/slave/m-in-lx-d-00000000000000000000/build/docshell/base/nsDocShell.cpp, line 4451
13:01:47 INFO - [Child 1841] WARNING: NS_ENSURE_SUCCESS(EnsureScriptEnvironment(), nullptr) failed with result 0x80040111: file /builds/slave/m-in-lx-d-00000000000000000000/build/docshell/base/nsDocShell.cpp, line 4451
13:01:47 INFO - [Child 1841] WARNING: NS_ENSURE_SUCCESS(EnsureScriptEnvironment(), nullptr) failed with result 0x80040111: file /builds/slave/m-in-lx-d-00000000000000000000/build/docshell/base/nsDocShell.cpp, line 4451
13:01:47 INFO - [Child 1841] WARNING: NS_ENSURE_SUCCESS(EnsureScriptEnvironment(), nullptr) failed with result 0x80040111: file /builds/slave/m-in-lx-d-00000000000000000000/build/docshell/base/nsDocShell.cpp, line 4451
13:01:47 INFO - [Child 1841] WARNING: NS_ENSURE_SUCCESS(EnsureScriptEnvironment(), nullptr) failed with result 0x80040111: file /builds/slave/m-in-lx-d-00000000000000000000/build/docshell/base/nsDocShell.cpp, line 4451
13:01:47 INFO - [Child 1841] WARNING: NS_ENSURE_SUCCESS(EnsureScriptEnvironment(), nullptr) failed with result 0x80040111: file /builds/slave/m-in-lx-d-00000000000000000000/build/docshell/base/nsDocShell.cpp, line 4451
13:01:47 INFO - [Child 1841] WARNING: NS_ENSURE_SUCCESS(EnsureScriptEnvironment(), nullptr) failed with result 0x80040111: file /builds/slave/m-in-lx-d-00000000000000000000/build/docshell/base/nsDocShell.cpp, line 4451
13:01:47 INFO - --DOMWINDOW == 130 (0xa5827a30) [pid = 1841] [serial = 1256] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_CSP_frameancestors.sjs?testid=aa_allow&internalframe=aa_a&csp=default-src%20%27none%27%3B%20frame-ancestors%20http%3A//mochi.test%3A8888%3B%20script-src%20%27self%27]
13:01:47 INFO - --DOMWINDOW == 129 (0xa71e98d0) [pid = 1841] [serial = 1292] [outer = (nil)] [url = http://example.com/tests/dom/base/test/csp/file_CSP_frameancestors.sjs?testid=abb_allow&double=1&internalframe=abb_a&csp=default-src%20%27none%27;%20frame-ancestors%20http://mochi.test:8888%20http://example.com:80;%20script-src%20%27self%27]
13:01:47 INFO - --DOMWINDOW == 128 (0xa71edca0) [pid = 1841] [serial = 1309] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_CSP_inlinescript_main.html]
13:01:47 INFO - --DOMWINDOW == 127 (0xa6da6b40) [pid = 1841] [serial = 1262] [outer = (nil)] [url = http://example.com/tests/dom/base/test/csp/file_CSP_frameancestors.sjs?externalframe=%3Ciframe%20src%3D%22http%3A//mochi.test%3A8888/tests/dom/base/test/csp/file_CSP_frameancestors.sjs%3Ftestid%3Daba_allow%26double%3D1%26internalframe%3Daba2_b%26csp%3Ddefault-src%2520%2527none%2527%253B%2520frame-ancestors%2520http%253A//example.com%253A80%253B%2520script-src%2520%2527self%2527%22%3E%3C/iframe%3E]
13:01:47 INFO - --DOMWINDOW == 126 (0xa6da6380) [pid = 1841] [serial = 1258] [outer = (nil)] [url = http://example.com/tests/dom/base/test/csp/file_CSP_frameancestors.sjs?testid=ab_allow&internalframe=ab_a&csp=default-src%20%27none%27%3B%20frame-ancestors%20http%3A//mochi.test%3A8888%3B%20script-src%20%27self%27]
13:01:47 INFO - --DOMWINDOW == 125 (0xa71ede90) [pid = 1841] [serial = 1310] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_CSP_inlinescript_main_allowed.html]
13:01:47 INFO - --DOMWINDOW == 124 (0xa6da76e0) [pid = 1841] [serial = 1265] [outer = (nil)] [url = http://example.com/tests/dom/base/test/csp/file_CSP_frameancestors.sjs?externalframe=%3Ciframe%20src%3D%22http%3A//example.com/tests/dom/base/test/csp/file_CSP_frameancestors.sjs%3Ftestid%3Dabb_allow%26double%3D1%26internalframe%3Dabb2_b%26csp%3Ddefault-src%2520%2527none%2527%253B%2520frame-ancestors%2520http%253A//example.com%253A80%253B%2520script-src%2520%2527self%2527%22%3E%3C/iframe%3E]
13:01:47 INFO - --DOMWINDOW == 123 (0xa6da74f0) [pid = 1841] [serial = 1264] [outer = (nil)] [url = http://example.com/tests/dom/base/test/csp/file_CSP_frameancestors.sjs?externalframe=%3Ciframe%20src%3D%22http%3A//example.com/tests/dom/base/test/csp/file_CSP_frameancestors.sjs%3Ftestid%3Dabb_allow%26double%3D1%26internalframe%3Dabb_b%26csp%3Ddefault-src%2520%2527none%2527%253B%2520frame-ancestors%2520http%253A//mochi.test%253A8888%253B%2520script-src%2520%2527self%2527%22%3E%3C/iframe%3E]
13:01:47 INFO - --DOMWINDOW == 122 (0xa5823470) [pid = 1841] [serial = 1232] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_CSP_bug910139.sjs]
13:01:47 INFO - --DOMWINDOW == 121 (0xa5821380) [pid = 1841] [serial = 1225] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_CSP_bug909029_none.html]
13:01:47 INFO - --DOMWINDOW == 120 (0xae184660) [pid = 1841] [serial = 1321] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_CSP_inlinestyle_main.html]
13:01:47 INFO - --DOMWINDOW == 119 (0xa5825750) [pid = 1841] [serial = 1245] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_CSP_evalscript_main.html]
13:01:47 INFO - --DOMWINDOW == 118 (0xa6dac080) [pid = 1841] [serial = 1288] [outer = (nil)] [url = about:neterror?e=cspFrameAncestorBlocked&u=http%3A//mochi.test%3A8888/tests/dom/base/test/csp/file_CSP_frameancestors.sjs%3Ftestid%3Daba_allow%26double%3D1%26internalframe%3Daba_b%26csp%3Ddefault-src%2520%2527none%2527%3B%2520frame-ancestors%2520http%3A//mochi.test%3A8888%3B%2520script-src%2520%2527self%2527&s=neterror&c=windows-1252&f=regular&d=This%20page%20has%20a%20content%20security%20policy%20that%20prevents%20it%20from%20being%20embedded%20in%20this%20way.]
13:01:47 INFO - --DOMWINDOW == 117 (0xa5823a40) [pid = 1841] [serial = 1233] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_CSP_bug910139.sjs]
13:01:47 INFO - --DOMWINDOW == 116 (0xa71ea280) [pid = 1841] [serial = 1296] [outer = (nil)] [url = about:neterror?e=cspFrameAncestorBlocked&u=http%3A//example.com/tests/dom/base/test/csp/file_CSP_frameancestors.sjs%3Ftestid%3Dabb_allow%26double%3D1%26internalframe%3Dabb2_b%26csp%3Ddefault-src%2520%2527none%2527%3B%2520frame-ancestors%2520http%3A//example.com%3A80%3B%2520script-src%2520%2527self%2527&s=neterror&c=windows-1252&f=regular&d=This%20page%20has%20a%20content%20security%20policy%20that%20prevents%20it%20from%20being%20embedded%20in%20this%20way.]
13:01:47 INFO - --DOMWINDOW == 115 (0xa6dac650) [pid = 1841] [serial = 1290] [outer = (nil)] [url = about:neterror?e=cspFrameAncestorBlocked&u=http%3A//mochi.test%3A8888/tests/dom/base/test/csp/file_CSP_frameancestors.sjs%3Ftestid%3Daba_allow%26double%3D1%26internalframe%3Daba2_b%26csp%3Ddefault-src%2520%2527none%2527%3B%2520frame-ancestors%2520http%3A//example.com%3A80%3B%2520script-src%2520%2527self%2527&s=neterror&c=windows-1252&f=regular&d=This%20page%20has%20a%20content%20security%20policy%20that%20prevents%20it%20from%20being%20embedded%20in%20this%20way.]
13:01:47 INFO - --DOMWINDOW == 114 (0xa6da6d30) [pid = 1841] [serial = 1263] [outer = (nil)] [url = http://example.com/tests/dom/base/test/csp/file_CSP_frameancestors.sjs?externalframe=%3Ciframe%20src%3D%22http%3A//example.com/tests/dom/base/test/csp/file_CSP_frameancestors.sjs%3Ftestid%3Dabb_allow%26double%3D1%26internalframe%3Dabb_a%26csp%3Ddefault-src%2520%2527none%2527%253B%2520frame-ancestors%2520http%253A//mochi.test%253A8888%2520http%253A//example.com%253A80%253B%2520script-src%2520%2527self%2527%22%3E%3C/iframe%3E]
13:01:47 INFO - --DOMWINDOW == 113 (0xa6da6760) [pid = 1841] [serial = 1260] [outer = (nil)] [url = http://example.com/tests/dom/base/test/csp/file_CSP_frameancestors.sjs?externalframe=%3Ciframe%20src%3D%22http%3A//mochi.test%3A8888/tests/dom/base/test/csp/file_CSP_frameancestors.sjs%3Ftestid%3Daba_allow%26double%3D1%26internalframe%3Daba_a%26csp%3Ddefault-src%2520%2527none%2527%253B%2520frame-ancestors%2520http%253A//mochi.test%253A8888%2520http%253A//example.com%253A80%253B%2520script-src%2520%2527self%2527%22%3E%3C/iframe%3E]
13:01:47 INFO - --DOMWINDOW == 112 (0xa6dab8c0) [pid = 1841] [serial = 1286] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_CSP_frameancestors.sjs?testid=aba_allow&double=1&internalframe=aba_a&csp=default-src%20%27none%27;%20frame-ancestors%20http://mochi.test:8888%20http://example.com:80;%20script-src%20%27self%27]
13:01:47 INFO - --DOMWINDOW == 111 (0xa5827460) [pid = 1841] [serial = 1253] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_CSP_frameancestors_main.html]
13:01:47 INFO - --DOMWINDOW == 110 (0xa5825d20) [pid = 1841] [serial = 1246] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_CSP_evalscript_main_allowed.html]
13:01:47 INFO - --DOMWINDOW == 109 (0xa6da6570) [pid = 1841] [serial = 1259] [outer = (nil)] [url = about:neterror?e=cspFrameAncestorBlocked&u=http%3A//example.com/tests/dom/base/test/csp/file_CSP_frameancestors.sjs%3Ftestid%3Dab_block%26internalframe%3Dab_b%26csp%3Ddefault-src%2520%2527none%2527%253B%2520frame-ancestors%2520%2527none%2527%253B%2520script-src%2520%2527self%2527&s=neterror&c=UTF-8&f=regular&d=This%20page%20has%20a%20content%20security%20policy%20that%20prevents%20it%20from%20being%20embedded%20in%20this%20way.]
13:01:47 INFO - --DOMWINDOW == 108 (0xa5827e10) [pid = 1841] [serial = 1257] [outer = (nil)] [url = about:neterror?e=cspFrameAncestorBlocked&u=http%3A//mochi.test%3A8888/tests/dom/base/test/csp/file_CSP_frameancestors.sjs%3Ftestid%3Daa_block%26internalframe%3Daa_b%26csp%3Ddefault-src%2520%2527none%2527%253B%2520frame-ancestors%2520%2527none%2527%253B%2520script-src%2520%2527self%2527&s=neterror&c=UTF-8&f=regular&d=This%20page%20has%20a%20content%20security%20policy%20that%20prevents%20it%20from%20being%20embedded%20in%20this%20way.]
13:01:47 INFO - --DOMWINDOW == 107 (0xa5821190) [pid = 1841] [serial = 1224] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_CSP_bug909029_star.html]
13:01:47 INFO - --DOMWINDOW == 106 (0xae184850) [pid = 1841] [serial = 1322] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_CSP_inlinestyle_main_allowed.html]
13:01:47 INFO - --DOMWINDOW == 105 (0xa6da9200) [pid = 1841] [serial = 1064] [outer = (nil)] [url = http://mochi.test:8888/tests/docshell/test/file_bug680257.html]
13:01:47 INFO - --DOMWINDOW == 104 (0xa5824f90) [pid = 1841] [serial = 1240] [outer = (nil)] [url = http://mochi.test:8888/tests/dom/base/test/csp/file_CSP_bug941404.html]
13:01:47 INFO - --DOMWINDOW == 103 (0xa71eee10) [pid = 1841] [serial = 1317] [outer = (nil)] [url = about:blank]
13:01:47 INFO - --DOMWINDOW == 102 (0xa71eea30) [pid = 1841] [serial = 1315] [outer = (nil)] [url = about:blank]
13:01:47 INFO - --DOMWINDOW == 101 (0xa6da6950) [pid = 1841] [serial = 1261] [outer = (nil)] [url = http://example.com/tests/dom/base/test/csp/file_CSP_frameancestors.sjs?externalframe=%3Ciframe%20src%3D%22http%3A//mochi.test%3A8888/tests/dom/base/test/csp/file_CSP_frameancestors.sjs%3Ftestid%3Daba_allow%26double%3D1%26internalframe%3Daba_b%26csp%3Ddefault-src%2520%2527none%2527%253B%2520frame-ancestors%2520http%253A//mochi.test%253A8888%253B%2520script-src%2520%2527self%2527%22%3E%3C/iframe%3E]
13:01:47 INFO - --DOMWINDOW == 100 (0xa71e9ea0) [pid = 1841] [serial = 1294] [outer = (nil)] [url = about:neterror?e=cspFrameAncestorBlocked&u=http%3A//example.com/tests/dom/base/test/csp/file_CSP_frameancestors.sjs%3Ftestid%3Dabb_allow%26double%3D1%26internalframe%3Dabb_b%26csp%3Ddefault-src%2520%2527none%2527%3B%2520frame-ancestors%2520http%3A//mochi.test%3A8888%3B%2520script-src%2520%2527self%2527&s=neterror&c=windows-1252&f=regular&d=This%20page%20has%20a%20content%20security%20policy%20that%20prevents%20it%20from%20being%20embedded%20in%20this%20way.]
13:01:48 INFO - --DOMWINDOW == 95 (0xa3b12760) [pid = 1805] [serial = 390] [outer = (nil)] [url = about:blank]
13:01:48 INFO - --DOMWINDOW == 94 (0xa3b18840) [pid = 1805] [serial = 363] [outer = (nil)] [url = about:blank]
13:01:48 INFO - --DOMWINDOW == 93 (0xa3b14c30) [pid = 1805] [serial = 381] [outer = (nil)] [url = about:blank]
13:01:48 INFO - --DOMWINDOW == 92 (0xa3b13ea0) [pid = 1805] [serial = 372] [outer = (nil)] [url = about:blank]
13:01:48 INFO - [Parent 1805] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /builds/slave/m-in-lx-d-00000000000000000000/build/toolkit/components/mediasniffer/nsMediaSniffer.cpp, line 128
13:01:48 INFO - 193 INFO TEST-OK | /tests/dom/base/test/csp/test_base-uri.html | took 6984ms
13:01:48 INFO - ++DOMWINDOW == 101 (0xa5821190) [pid = 1841] [serial = 1333] [outer = 0xae184090]
13:01:48 INFO - 194 INFO TEST-START | /tests/dom/base/test/csp/test_bug836922_npolicies.html
Inactive; closing (see bug 1180138).
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
Any ideas about the recent spike here, Christoph? :)
Status: RESOLVED → REOPENED
Flags: needinfo?(mozilla)
Resolution: WORKSFORME → ---
We have had similar issues where we called SimpleTest.finish() but then continued running tests. Might be the same problem here, so I added an explicit 'return' statement to make sure that doesn't happen. Why that would become a problem right now and not earlier, I don't know.

We could land that patch and investigate; if that doesn't fix it, I can take a closer look.
Attachment #8640731 - Flags: review?(ryanvm)
Flags: needinfo?(mozilla)
Comment on attachment 8640731 [details] [diff] [review]
bug_1096724_intermittent_base_uri.patch

Review of attachment 8640731 [details] [diff] [review]:
-----------------------------------------------------------------

Worth a shot!
Attachment #8640731 - Flags: review?(ryanvm) → review+
(In reply to Ryan VanderMeulen [:RyanVM UTC-4] from comment #25)
> Comment on attachment 8640731 [details] [diff] [review]
> bug_1096724_intermittent_base_uri.patch
> 
> Review of attachment 8640731 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> Worth a shot!

Just having a potential fix makes the intermittent disappear :-)
Ryan, I leave it up to you whether we wanna land that patch or not!
Flags: needinfo?(ryanvm)
Keywords: checkin-needed
Sure, why not. For future reference, please try to use commit messages that say what the patch is actually doing vs. restating the problem being fixed.
https://developer.mozilla.org/en-US/docs/Mercurial/Using_Mercurial#Commit_Message_Conventions
Assignee: nobody → mozilla
Flags: needinfo?(ryanvm)
https://hg.mozilla.org/mozilla-central/rev/203279f9588f
Status: REOPENED → RESOLVED
Closed: 5 years ago4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
Status: RESOLVED → REOPENED
Flags: needinfo?(mozilla)
Resolution: FIXED → ---
Target Milestone: mozilla42 → ---
(In reply to Treeherder Robot from comment #40)
> log:
> https://treeherder.mozilla.org/logviewer.html#?repo=mozilla-
> central&job_id=2030404
> repository: mozilla-central
> start_time: 2015-08-17T07:57:12
> who: rvandermeulen[at]mozilla[dot]com
> machine: tst-linux64-spot-1314
> buildname: b2g_emulator_vm mozilla-central debug test mochitest-debug-17
> revision: a6eeb28458fd
> 
> 6 INFO TEST-UNEXPECTED-FAIL | dom/security/test/csp/test_base-uri.html |
> Disallowed setting the base-uri in test 2! - got "base-uri
> http://example.com", expected "base-uri 'none'"
> Return code: 1

Apparently listening to those observers is not very reliable, let me rewrite that test tonight. Should be an easy fix.
Flags: needinfo?(mozilla)
Dan, I rewrote test_base-uri not to rely on the 'csp-on-violate-policy' observers but rather use a postMessage handler. The good thing is, that I was able to extend the test coverage to not only handle 'denied' cases but also add an 'allowed' case.
Attachment #8640731 - Attachment is obsolete: true
Attachment #8649430 - Flags: review?(dveditz)
(In reply to Christoph Kerschbaumer [:ckerschb] from comment #47)
> https://treeherder.mozilla.org/#/jobs?repo=try&revision=789dc28b8644

Ryan, I am not sure on which platforms this test is failing intermittently (is it only B2G Emulator?); can you please retriger the tests on all the platforms that are important? Thanks!
Flags: needinfo?(ryanvm)
Yeah, B2G debug is where this is happening. I've retriggered M17.
Flags: needinfo?(ryanvm)
(In reply to Ryan VanderMeulen [:RyanVM UTC-4] from comment #52)
> Yeah, B2G debug is where this is happening. I've retriggered M17.

Looks pretty green to me :-)
Comment on attachment 8649430 [details] [diff] [review]
bug_1096724_update_test_base_uri.patch

Review of attachment 8649430 [details] [diff] [review]:
-----------------------------------------------------------------

r=dveditz
Attachment #8649430 - Flags: review?(dveditz) → review+
(In reply to Daniel Veditz [:dveditz] from comment #54)
> Comment on attachment 8649430 [details] [diff] [review]
> bug_1096724_update_test_base_uri.patch
> 
> Review of attachment 8649430 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> r=dveditz

Thanks Dan!
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/329e51e19460
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
You need to log in before you can comment on or make changes to this bug.