Bug 855443 - Assertion failure in nsSHEntry.cpp, don't just append a new SHEntry to parent if we already have an SHEntry for the loading page, r=bz

--HG--
extra : rebase_source : 8f8d0df030a3205d9d9845e90c849bf94115ff1b
This commit is contained in:
Olli Pettay 2014-10-15 13:10:04 +03:00
Родитель 2ea1508c12
Коммит dd8c29571f
13 изменённых файлов: 1 добавлений и 33 удалений

Просмотреть файл

@ -22,8 +22,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=527896
SimpleTest.waitForExplicitFinish();
SimpleTest.expectAssertions(1);
var docWrittenSrcExecuted = false;
var scriptInsertedSrcExecuted = false;

Просмотреть файл

@ -21,12 +21,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=657938
<pre id="test">
<script type="application/javascript">
if (navigator.platform.startsWith("Win")) {
SimpleTest.expectAssertions(0, 1);
} else {
SimpleTest.expectAssertions(1);
}
/** Test for <meter> **/
function checkFormIDLAttribute(aElement)

Просмотреть файл

@ -17,8 +17,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=242709
<pre id="test">
<script class="testbody" type="text/javascript">
SimpleTest.expectAssertions(1);
/** Test for Bug 242709 **/
SimpleTest.waitForExplicitFinish();

Просмотреть файл

@ -17,8 +17,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=277890
<pre id="test">
<script class="testbody" type="text/javascript">
SimpleTest.expectAssertions(1);
/** Test for Bug 277890 **/
SimpleTest.waitForExplicitFinish();

Просмотреть файл

@ -20,12 +20,6 @@ method="POST" enctype="multipart/form-data">
<pre id="test">
<script class="testbody" type="text/javascript">
if (navigator.platform.startsWith("Win")) {
SimpleTest.expectAssertions(0, 1);
} else {
SimpleTest.expectAssertions(1);
}
var filesToKill = [];
singleFileInput = document.getElementById('singleFile');
multiFileInput = document.getElementById('multiFile');

Просмотреть файл

@ -14,9 +14,6 @@ Implement HTML5 sandbox attribute for IFRAMEs - inheritance tests
/** Test for Bug 341604 - Implement HTML5 sandbox attribute for IFRAMEs **/
/** Inheritance Tests **/
// Assertion failure in docshell/shistory/src/nsSHEntry.cpp (currently line 625).
// Bug 901876 raised.
SimpleTest.expectAssertions(1);
SimpleTest.waitForExplicitFinish();
// A postMessage handler that is used by sandboxed iframes without

Просмотреть файл

@ -15,7 +15,6 @@ Implement HTML5 sandbox attribute for IFRAMEs
/** Test for Bug 341604 - Implement HTML5 sandbox attribute for IFRAMEs **/
/** Navigation tests Part 1**/
SimpleTest.expectAssertions(1, 3);
SimpleTest.waitForExplicitFinish();
// a postMessage handler that is used by sandboxed iframes without
// 'allow-same-origin'/other windows to communicate pass/fail back to this main page.

Просмотреть файл

@ -20,8 +20,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=448564
<pre id="test">
<script class="testbody" type="text/javascript">
SimpleTest.expectAssertions(3);
/** Test for Bug 448564 **/
/**

Просмотреть файл

@ -17,8 +17,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=478251
<pre id="test">
<script type="application/javascript">
SimpleTest.expectAssertions(9, 10);
/** Test for Bug 478251 **/
var doc = $("t").contentDocument;
doc.open();

Просмотреть файл

@ -4195,7 +4195,7 @@ nsDocShell::AddChildSHEntry(nsISHEntry * aCloneRef, nsISHEntry * aNewEntry,
{
nsresult rv;
if (mLSHE && loadType != LOAD_PUSHSTATE) {
if (mLSHE && loadType != LOAD_PUSHSTATE && !aCloneRef) {
/* You get here if you are currently building a
* hierarchy ie.,you just visited a frameset page
*/

Просмотреть файл

@ -16,8 +16,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=580069
<script type="application/javascript">
SimpleTest.expectAssertions(1);
SimpleTest.waitForExplicitFinish();
var iframe = document.getElementById('iframe');

Просмотреть файл

@ -14,8 +14,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=393269
<pre id="test">
<script class="testbody" type="text/javascript">
SimpleTest.expectAssertions(1, 2);
(function () {
/** Test for Bug 393269 **/
var doc = $("ifr").contentDocument;

Просмотреть файл

@ -18,8 +18,6 @@ Login Manager test: notifications
<pre id="test">
<script class="testbody" type="text/javascript">
SimpleTest.expectAssertions(23);
/** Test for Login Manager: notifications. **/
// Set testpath to the directory where we live. Used to load tests from