Bug 1657978 Comment 2 Edit History

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

`./mach mochitest --setpref="fission.sessionHistoryInParent=true" --enable-xorigin-tests --enable-fission dom/html/test/forms/test_save_restore_radio_groups.html` yields:

```
 0:51.07 TEST_START: http://mochi.test:8888/tests/dom/html/test/forms/test_save_restore_radio_groups.html
 0:52.16 GECKO(10010) [Child 10172, Main Thread] WARNING: NS_ENSURE_TRUE(mRequest) failed: file /home/mirko/src/firefox/gecko2/netwerk/base/nsBaseChannel.cpp, line 925
 0:54.38 GECKO(10010) [Parent 10010, Main Thread] WARNING: Not implemented in the parent process!: file /home/mirko/src/firefox/gecko2/docshell/shistory/SessionHistoryEntry.cpp, line 407
 0:55.20 GECKO(10010) [10347, Unnamed thread 7f9c0e18b4c0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /home/mirko/src/firefox/gecko2/xpcom/base/nsTraceRefcnt.cpp, line 202
 0:55.20 GECKO(10010) ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp8oo3bx.mozrunner/runtests_leaks.log
 0:55.20 GECKO(10010) [10347, Unnamed thread 7f9c0e18b4c0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /home/mirko/src/firefox/gecko2/xpcom/base/nsTraceRefcnt.cpp, line 202
 0:55.20 GECKO(10010) [10347, 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:56.09 GECKO(10010) [Child 10229, Main Thread] WARNING: '!topWindow', file /home/mirko/src/firefox/gecko2/dom/html/HTMLIFrameElement.cpp, line 241
 0:56.09 GECKO(10010) [Child 10229, Main Thread] WARNING: '!topWindow', file /home/mirko/src/firefox/gecko2/dom/html/HTMLIFrameElement.cpp, line 241
 0:57.48 GECKO(10010) [Parent 10010, Main Thread] WARNING: 'NS_FAILED(rv)', file /home/mirko/src/firefox/gecko2/netwerk/cache2/CacheFileChunk.cpp, line 403
 0:57.74 PASS Radio group should have 3elements
 0:57.77 PASS Radio checked state should be true
 0:57.78 PASS Radio checked state should be false
 0:57.78 PASS Radio checked state should be false
 0:57.78 PASS Radio group should have 3elements
 0:57.80 PASS Radio checked state should be true
 0:57.80 PASS Radio checked state should be false
 0:57.80 PASS Radio checked state should be false
 0:57.81 PASS Radio group should have 3elements
 0:57.82 PASS Radio checked state should be false
 0:57.82 PASS Radio checked state should be false
 0:57.83 PASS Radio checked state should be true
 0:57.84 GECKO(10010) 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...
```

Hence, this is a bug in Gecko, no in the test-code.
`./mach mochitest --setpref="fission.sessionHistoryInParent=true" --enable-xorigin-tests --enable-fission dom/html/test/forms/test_save_restore_radio_groups.html` yields:

```
 0:51.07 TEST_START: http://mochi.test:8888/tests/dom/html/test/forms/test_save_restore_radio_groups.html
 0:52.16 GECKO(10010) [Child 10172, Main Thread] WARNING: NS_ENSURE_TRUE(mRequest) failed: file /home/mirko/src/firefox/gecko2/netwerk/base/nsBaseChannel.cpp, line 925
 0:54.38 GECKO(10010) [Parent 10010, Main Thread] WARNING: Not implemented in the parent process!: file /home/mirko/src/firefox/gecko2/docshell/shistory/SessionHistoryEntry.cpp, line 407
 0:55.20 GECKO(10010) [10347, Unnamed thread 7f9c0e18b4c0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /home/mirko/src/firefox/gecko2/xpcom/base/nsTraceRefcnt.cpp, line 202
 0:55.20 GECKO(10010) ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp8oo3bx.mozrunner/runtests_leaks.log
 0:55.20 GECKO(10010) [10347, Unnamed thread 7f9c0e18b4c0] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /home/mirko/src/firefox/gecko2/xpcom/base/nsTraceRefcnt.cpp, line 202
 0:55.20 GECKO(10010) [10347, 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:56.09 GECKO(10010) [Child 10229, Main Thread] WARNING: '!topWindow', file /home/mirko/src/firefox/gecko2/dom/html/HTMLIFrameElement.cpp, line 241
 0:56.09 GECKO(10010) [Child 10229, Main Thread] WARNING: '!topWindow', file /home/mirko/src/firefox/gecko2/dom/html/HTMLIFrameElement.cpp, line 241
 0:57.48 GECKO(10010) [Parent 10010, Main Thread] WARNING: 'NS_FAILED(rv)', file /home/mirko/src/firefox/gecko2/netwerk/cache2/CacheFileChunk.cpp, line 403
 0:57.74 PASS Radio group should have 3elements
 0:57.77 PASS Radio checked state should be true
 0:57.78 PASS Radio checked state should be false
 0:57.78 PASS Radio checked state should be false
 0:57.78 PASS Radio group should have 3elements
 0:57.80 PASS Radio checked state should be true
 0:57.80 PASS Radio checked state should be false
 0:57.80 PASS Radio checked state should be false
 0:57.81 PASS Radio group should have 3elements
 0:57.82 PASS Radio checked state should be false
 0:57.82 PASS Radio checked state should be false
 0:57.83 PASS Radio checked state should be true
 0:57.84 GECKO(10010) 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...
```

Hence, this is a bug in Gecko, not in the test-code.

Back to Bug 1657978 Comment 2