diff --git a/browser/base/content/test/browser_bug561636.js b/browser/base/content/test/browser_bug561636.js index a14169b5e1e3..d8b7f8b9608f 100644 --- a/browser/base/content/test/browser_bug561636.js +++ b/browser/base/content/test/browser_bug561636.js @@ -355,7 +355,7 @@ function test9() gBrowser.removeTab(tab, {animate: false}); // Next test - executeSoon(test10); + executeSoon(finish); }); }; @@ -372,38 +372,3 @@ function test9() tab.linkedBrowser.loadURI(uri); } - -/** - * In this test, we check that the author defined error message is shown. - */ -function test10() -{ - let uri = "data:text/html,
"; - let tab = gBrowser.addTab(); - - gInvalidFormPopup.addEventListener("popupshown", function() { - gInvalidFormPopup.removeEventListener("popupshown", arguments.callee, false); - - let doc = gBrowser.contentDocument; - is(doc.activeElement, doc.getElementById('i'), - "First invalid element should be focused"); - - checkPopupShow(); - - is(gInvalidFormPopup.firstChild.nodeValue, "foo", - "The panel should show the author defined error message"); - - // Clean-up and next test. - gBrowser.removeTab(gBrowser.selectedTab, {animate: false}); - executeSoon(finish); - }, false); - - tab.linkedBrowser.addEventListener("load", function(aEvent) { - tab.linkedBrowser.removeEventListener("load", arguments.callee, true); - - gBrowser.contentDocument.getElementById('s').click(); - }, true); - - gBrowser.selectedTab = tab; - gBrowser.selectedTab.linkedBrowser.loadURI(uri); -} diff --git a/content/base/src/nsGkAtomList.h b/content/base/src/nsGkAtomList.h index 9ba295d94bb0..1d5e650774e8 100644 --- a/content/base/src/nsGkAtomList.h +++ b/content/base/src/nsGkAtomList.h @@ -588,7 +588,6 @@ GK_ATOM(mouseover, "mouseover") GK_ATOM(mousethrough, "mousethrough") GK_ATOM(mouseup, "mouseup") GK_ATOM(moz_opaque, "moz-opaque") -GK_ATOM(x_moz_errormessage, "x-moz-errormessage") GK_ATOM(msthemecompatible, "msthemecompatible") GK_ATOM(multicol, "multicol") GK_ATOM(multiple, "multiple") diff --git a/content/html/content/src/nsIConstraintValidation.cpp b/content/html/content/src/nsIConstraintValidation.cpp index ca4d18be3b4f..c24603fc6648 100644 --- a/content/html/content/src/nsIConstraintValidation.cpp +++ b/content/html/content/src/nsIConstraintValidation.cpp @@ -78,16 +78,7 @@ nsIConstraintValidation::GetValidationMessage(nsAString& aValidationMessage) aValidationMessage.Truncate(); if (IsCandidateForConstraintValidation() && !IsValid()) { - nsCOMPtr- -- -