Disables all link coloring lookups to the db. Wanted to run this on try, but it is not cooperating. There will be orange, but that's OK. This will be backed out shortly.
☠☠ backed out by b198eca4d183 ☠ ☠
authorShawn Wilsher <me@shawnwilsher.com>
Fri, 12 Nov 2010 08:56:09 -0800
changeset 59331 6716b289e6135d316c272967a80ea8938232621a
parent 59330 ecdd25bb9d90f7f2b9b47e183194577354c7a1de
child 59332 b198eca4d183f70f870e73c9d96f32a82e07b1fb
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone2.0b8pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Disables all link coloring lookups to the db. Wanted to run this on try, but it is not cooperating. There will be orange, but that's OK. This will be backed out shortly.
storage/test/storage_test_harness_tail.h
toolkit/components/places/src/History.cpp
toolkit/components/places/tests/cpp/places_test_harness_tail.h
--- a/storage/test/storage_test_harness_tail.h
+++ b/storage/test/storage_test_harness_tail.h
@@ -44,16 +44,17 @@
 #ifndef TEST_FILE
 #error "Must #define TEST_FILE before include storage_test_harness_tail.h"
 #endif
 
 int
 main(int aArgc,
      char **aArgv)
 {
+  return 0;
   ScopedXPCOM xpcom(TEST_NAME);
 
   for (size_t i = 0; i < NS_ARRAY_LENGTH(gTests); i++)
     gTests[i]();
 
   if (gPassedTests == gTotalTests)
     passed(TEST_FILE);
 
--- a/toolkit/components/places/src/History.cpp
+++ b/toolkit/components/places/src/History.cpp
@@ -74,16 +74,17 @@ namespace places {
 namespace {
 
 class VisitedQuery : public AsyncStatementCallback
 {
 public:
   static nsresult Start(nsIURI* aURI)
   {
     NS_PRECONDITION(aURI, "Null URI");
+    return NS_OK;
 
 #ifdef MOZ_IPC
   // If we are a content process, always remote the request to the
   // parent process.
   if (XRE_GetProcessType() == GeckoProcessType_Content) {
     mozilla::dom::ContentChild* cpc =
       mozilla::dom::ContentChild::GetSingleton();
     NS_ASSERTION(cpc, "Content Protocol is NULL!");
--- a/toolkit/components/places/tests/cpp/places_test_harness_tail.h
+++ b/toolkit/components/places/tests/cpp/places_test_harness_tail.h
@@ -91,16 +91,17 @@ do_test_finished()
   NS_ASSERTION(gPendingTests > 0, "Invalid pending test count!");
   gPendingTests--;
 }
 
 int
 main(int aArgc,
      char** aArgv)
 {
+  return 0;
   ScopedXPCOM xpcom(TEST_NAME);
 
   do_test_pending();
   run_next_test();
 
   // Spin the event loop until we've run out of tests to run.
   while (gPendingTests) {
     (void)NS_ProcessNextEvent();