Bug 1662420 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Running `./mach mochitest --enable-xorigin-tests --enable-fission dom/base/test/test_bug345339.html` yields:

```
 0:49.52 TEST_START: http://mochi.test:8888/tests/dom/base/test/test_bug345339.html
 0:50.07 GECKO(19279) [Parent 19279, Main Thread] WARNING: NS_ENSURE_TRUE(mPresShell) failed: file /home/mirko/src/firefox/gecko2/layout/generic/nsFrameSelection.cpp, line 1598
 0:51.01 GECKO(19279) [19608, Unnamed thread 7fb91668b4c0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /home/mirko/src/firefox/gecko2/xpcom/base/nsTraceRefcnt.cpp, line 202
 0:51.01 GECKO(19279) ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmph6lHrJ.mozrunner/runtests_leaks.log
 0:51.01 GECKO(19279) [19608, Unnamed thread 7fb91668b4c0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /home/mirko/src/firefox/gecko2/xpcom/base/nsTraceRefcnt.cpp, line 202
 0:51.01 GECKO(19279) [19608, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /home/mirko/src/firefox/gecko2/tools/profiler/core/platform.cpp, line 246
 0:51.02 GECKO(19279) [Child 19448, Main Thread] WARNING: NS_ENSURE_TRUE(mRequest) failed: file /home/mirko/src/firefox/gecko2/netwerk/base/nsBaseChannel.cpp, line 925
 0:53.65 GECKO(19279) [Child 19503, Main Thread] WARNING: '!topWindow', file /home/mirko/src/firefox/gecko2/dom/html/HTMLIFrameElement.cpp, line 241
 0:54.34 GECKO(19279) [Child 19503, Main Thread] WARNING: '!mBoundFrame', file /home/mirko/src/firefox/gecko2/dom/html/TextControlState.cpp, line 2343
 0:55.48 FAIL select element selected index preserved - got +0, expected 1
    SimpleTest.is@SimpleTest/SimpleTest.js:500:14
    afterReload@dom/base/test/test_bug345339.html?currentTestURL=dom%2Fbase%2Ftest%2Ftest_bug345339.html&closeWhenDone=undefined&showTestReport=true&expected=pass:56:7
    onload@dom/base/test/test_bug345339.html?currentTestURL=dom%2Fbase%2Ftest%2Ftest_bug345339.html&closeWhenDone=undefined&showTestReport=true&expected=pass:1:1
 0:55.49 FAIL radio button #1 value preserved - got true, expected false
    SimpleTest.is@SimpleTest/SimpleTest.js:500:14
    afterReload@dom/base/test/test_bug345339.html?currentTestURL=dom%2Fbase%2Ftest%2Ftest_bug345339.html&closeWhenDone=undefined&showTestReport=true&expected=pass:58:7
    onload@dom/base/test/test_bug345339.html?currentTestURL=dom%2Fbase%2Ftest%2Ftest_bug345339.html&closeWhenDone=undefined&showTestReport=true&expected=pass:1:1
 0:55.50 FAIL radio button #2 value preserved - got false, expected true
    SimpleTest.is@SimpleTest/SimpleTest.js:500:14
    afterReload@dom/base/test/test_bug345339.html?currentTestURL=dom%2Fbase%2Ftest%2Ftest_bug345339.html&closeWhenDone=undefined&showTestReport=true&expected=pass:60:7
    onload@dom/base/test/test_bug345339.html?currentTestURL=dom%2Fbase%2Ftest%2Ftest_bug345339.html&closeWhenDone=undefined&showTestReport=true&expected=pass:1:1
 0:55.50 PASS password field value forgotten
 0:55.51 FAIL hidden field value preserved - got "", expected "gecko"
    SimpleTest.is@SimpleTest/SimpleTest.js:500:14
    afterReload@dom/base/test/test_bug345339.html?currentTestURL=dom%2Fbase%2Ftest%2Ftest_bug345339.html&closeWhenDone=undefined&showTestReport=true&expected=pass:64:7
    onload@dom/base/test/test_bug345339.html?currentTestURL=dom%2Fbase%2Ftest%2Ftest_bug345339.html&closeWhenDone=undefined&showTestReport=true&expected=pass:1:1
 0:55.51 PASS former password field value not saved
 0:55.52 GECKO(19279) JavaScript error: http://mochi.test:8888/tests/dom/base/test/test_bug345339.html?currentTestURL=dom%2Fbase%2Ftest%2Ftest_bug345339.html&closeWhenDone=undefined&showTestReport=true&expected=pass, line 72: TypeError: can't access property "name", newFile is undefined
 0:55.52 FAIL uncaught exception - TypeError: can't access property "name", newFile is undefined at afterReload@http://mochi.test:8888/tests/dom/base/test/test_bug345339.html?currentTestURL=dom%2Fbase%2Ftest%2Ftest_bug345339.html&closeWhenDone=undefined&showTestReport=true&expected=pass:72:9
onload@http://mochi.test:8888/tests/dom/base/test/test_bug345339.html?currentTestURL=dom%2Fbase%2Ftest%2Ftest_bug345339.html&closeWhenDone=undefined&showTestReport=true&expected=pass:1:1

    simpletestOnerror@SimpleTest/SimpleTest.js:2063:18
```

The test itself embeds another `<iframe>`, which it modifies and reloads. IIUC, this shouldn't be affected by xorigin iframes and Fission, so the test itself seems valid. Hence, there seems to be a problem in Gecko which requires further analysis.
Running `./mach mochitest --enable-xorigin-tests --enable-fission dom/base/test/test_bug345339.html` yields:

```
 0:49.52 TEST_START: http://mochi.test:8888/tests/dom/base/test/test_bug345339.html
 0:50.07 GECKO(19279) [Parent 19279, Main Thread] WARNING: NS_ENSURE_TRUE(mPresShell) failed: file /home/mirko/src/firefox/gecko2/layout/generic/nsFrameSelection.cpp, line 1598
 0:51.01 GECKO(19279) [19608, Unnamed thread 7fb91668b4c0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /home/mirko/src/firefox/gecko2/xpcom/base/nsTraceRefcnt.cpp, line 202
 0:51.01 GECKO(19279) ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmph6lHrJ.mozrunner/runtests_leaks.log
 0:51.01 GECKO(19279) [19608, Unnamed thread 7fb91668b4c0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /home/mirko/src/firefox/gecko2/xpcom/base/nsTraceRefcnt.cpp, line 202
 0:51.01 GECKO(19279) [19608, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /home/mirko/src/firefox/gecko2/tools/profiler/core/platform.cpp, line 246
 0:51.02 GECKO(19279) [Child 19448, Main Thread] WARNING: NS_ENSURE_TRUE(mRequest) failed: file /home/mirko/src/firefox/gecko2/netwerk/base/nsBaseChannel.cpp, line 925
 0:53.65 GECKO(19279) [Child 19503, Main Thread] WARNING: '!topWindow', file /home/mirko/src/firefox/gecko2/dom/html/HTMLIFrameElement.cpp, line 241
 0:54.34 GECKO(19279) [Child 19503, Main Thread] WARNING: '!mBoundFrame', file /home/mirko/src/firefox/gecko2/dom/html/TextControlState.cpp, line 2343
 0:55.48 FAIL select element selected index preserved - got +0, expected 1
    SimpleTest.is@SimpleTest/SimpleTest.js:500:14
    afterReload@dom/base/test/test_bug345339.html?currentTestURL=dom%2Fbase%2Ftest%2Ftest_bug345339.html&closeWhenDone=undefined&showTestReport=true&expected=pass:56:7
    onload@dom/base/test/test_bug345339.html?currentTestURL=dom%2Fbase%2Ftest%2Ftest_bug345339.html&closeWhenDone=undefined&showTestReport=true&expected=pass:1:1
 0:55.49 FAIL radio button #1 value preserved - got true, expected false
    SimpleTest.is@SimpleTest/SimpleTest.js:500:14
    afterReload@dom/base/test/test_bug345339.html?currentTestURL=dom%2Fbase%2Ftest%2Ftest_bug345339.html&closeWhenDone=undefined&showTestReport=true&expected=pass:58:7
    onload@dom/base/test/test_bug345339.html?currentTestURL=dom%2Fbase%2Ftest%2Ftest_bug345339.html&closeWhenDone=undefined&showTestReport=true&expected=pass:1:1
 0:55.50 FAIL radio button #2 value preserved - got false, expected true
    SimpleTest.is@SimpleTest/SimpleTest.js:500:14
    afterReload@dom/base/test/test_bug345339.html?currentTestURL=dom%2Fbase%2Ftest%2Ftest_bug345339.html&closeWhenDone=undefined&showTestReport=true&expected=pass:60:7
    onload@dom/base/test/test_bug345339.html?currentTestURL=dom%2Fbase%2Ftest%2Ftest_bug345339.html&closeWhenDone=undefined&showTestReport=true&expected=pass:1:1
 0:55.50 PASS password field value forgotten
 0:55.51 FAIL hidden field value preserved - got "", expected "gecko"
    SimpleTest.is@SimpleTest/SimpleTest.js:500:14
    afterReload@dom/base/test/test_bug345339.html?currentTestURL=dom%2Fbase%2Ftest%2Ftest_bug345339.html&closeWhenDone=undefined&showTestReport=true&expected=pass:64:7
    onload@dom/base/test/test_bug345339.html?currentTestURL=dom%2Fbase%2Ftest%2Ftest_bug345339.html&closeWhenDone=undefined&showTestReport=true&expected=pass:1:1
 0:55.51 PASS former password field value not saved
 0:55.52 GECKO(19279) JavaScript error: http://mochi.test:8888/tests/dom/base/test/test_bug345339.html?currentTestURL=dom%2Fbase%2Ftest%2Ftest_bug345339.html&closeWhenDone=undefined&showTestReport=true&expected=pass, line 72: TypeError: can't access property "name", newFile is undefined
 0:55.52 FAIL uncaught exception - TypeError: can't access property "name", newFile is undefined at afterReload@http://mochi.test:8888/tests/dom/base/test/test_bug345339.html?currentTestURL=dom%2Fbase%2Ftest%2Ftest_bug345339.html&closeWhenDone=undefined&showTestReport=true&expected=pass:72:9
onload@http://mochi.test:8888/tests/dom/base/test/test_bug345339.html?currentTestURL=dom%2Fbase%2Ftest%2Ftest_bug345339.html&closeWhenDone=undefined&showTestReport=true&expected=pass:1:1

    simpletestOnerror@SimpleTest/SimpleTest.js:2063:18
```

The test itself embeds another `<iframe>`, which it modifies and reloads. IIUC, this shouldn't be affected by xorigin iframes and Fission, so the test itself seems valid. Hence, there seems to be a problem in Gecko which requires further analysis.

Test "test_bug398243.html" does the same, just for different types of elements.
Running `./mach mochitest --enable-xorigin-tests --enable-fission dom/base/test/test_bug345339.html` yields:
```
 0:49.63 TEST_START: http://mochi.test:8888/tests/dom/base/test/test_bug345339.html
 0:52.68 GECKO(22338) [22669, Unnamed thread 7f727828b4c0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /home/mirko/src/firefox/gecko2/xpcom/base/nsTraceRefcnt.cpp, line 202
 0:52.68 GECKO(22338) ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpea0_NH.mozrunner/runtests_leaks.log
 0:52.68 GECKO(22338) [22669, Unnamed thread 7f727828b4c0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /home/mirko/src/firefox/gecko2/xpcom/base/nsTraceRefcnt.cpp, line 202
 0:52.68 GECKO(22338) [22669, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /home/mirko/src/firefox/gecko2/tools/profiler/core/platform.cpp, line 246
 0:52.95 GECKO(22338) [Child 22509, Main Thread] WARNING: NS_ENSURE_TRUE(mRequest) failed: file /home/mirko/src/firefox/gecko2/netwerk/base/nsBaseChannel.cpp, line 925
 0:54.40 GECKO(22338) [Child 22562, Main Thread] WARNING: '!topWindow', file /home/mirko/src/firefox/gecko2/dom/html/HTMLIFrameElement.cpp, line 241
 0:54.84 GECKO(22338) [Parent 22338, Main Thread] WARNING: Not implemented in the parent process!: file /home/mirko/src/firefox/gecko2/docshell/shistory/SessionHistoryEntry.cpp, line 407
 0:55.34 GECKO(22338) Assertion failure: mHistory, at /home/mirko/src/firefox/gecko2/docshell/shistory/ChildSHistory.cpp:180
Initializing stack-fixing for the first stack frame, this may take a while...
```

The test itself embeds another `<iframe>`, which it modifies and reloads. IIUC, this shouldn't be affected by xorigin iframes and Fission, so the test itself seems valid. Hence, there seems to be a problem in Gecko which requires further analysis.

Test "test_bug398243.html" does the same (and violates the same assertion), just for different types of elements.
Running `./mach mochitest --setpref="fission.sessionHistoryInParent=true" --enable-xorigin-tests --enable-fission dom/base/test/test_bug345339.html` yields:
```
 0:49.63 TEST_START: http://mochi.test:8888/tests/dom/base/test/test_bug345339.html
 0:52.68 GECKO(22338) [22669, Unnamed thread 7f727828b4c0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /home/mirko/src/firefox/gecko2/xpcom/base/nsTraceRefcnt.cpp, line 202
 0:52.68 GECKO(22338) ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpea0_NH.mozrunner/runtests_leaks.log
 0:52.68 GECKO(22338) [22669, Unnamed thread 7f727828b4c0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /home/mirko/src/firefox/gecko2/xpcom/base/nsTraceRefcnt.cpp, line 202
 0:52.68 GECKO(22338) [22669, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /home/mirko/src/firefox/gecko2/tools/profiler/core/platform.cpp, line 246
 0:52.95 GECKO(22338) [Child 22509, Main Thread] WARNING: NS_ENSURE_TRUE(mRequest) failed: file /home/mirko/src/firefox/gecko2/netwerk/base/nsBaseChannel.cpp, line 925
 0:54.40 GECKO(22338) [Child 22562, Main Thread] WARNING: '!topWindow', file /home/mirko/src/firefox/gecko2/dom/html/HTMLIFrameElement.cpp, line 241
 0:54.84 GECKO(22338) [Parent 22338, Main Thread] WARNING: Not implemented in the parent process!: file /home/mirko/src/firefox/gecko2/docshell/shistory/SessionHistoryEntry.cpp, line 407
 0:55.34 GECKO(22338) Assertion failure: mHistory, at /home/mirko/src/firefox/gecko2/docshell/shistory/ChildSHistory.cpp:180
Initializing stack-fixing for the first stack frame, this may take a while...
```

The test itself embeds another `<iframe>`, which it modifies and reloads. IIUC, this shouldn't be affected by xorigin iframes and Fission, so the test itself seems valid. Hence, there seems to be a problem in Gecko which requires further analysis.

Test "test_bug398243.html" does the same (and violates the same assertion), just for different types of elements.

Back to Bug 1662420 Comment 0