Bug 853128 - Turn off injecting test of NtFlushBuffersFile on x64. r=ehsan
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Thu, 25 Apr 2013 19:04:40 +0900
changeset 140796 9c11cfae5a695788d309d9b650aa5264ccc6b009
parent 140795 96c350f2c64a03a58907ef13ddaa88fad16aee9f
child 140797 ed39a9db0fb190df0f0d9130f9e970cd0fdecb3f
push id2579
push userakeybl@mozilla.com
push dateMon, 24 Jun 2013 18:52:47 +0000
treeherdermozilla-beta@b69b7de8a05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs853128
milestone23.0a1
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
Bug 853128 - Turn off injecting test of NtFlushBuffersFile on x64. r=ehsan
toolkit/xre/test/win/TestDllInterceptor.cpp
--- a/toolkit/xre/test/win/TestDllInterceptor.cpp
+++ b/toolkit/xre/test/win/TestDllInterceptor.cpp
@@ -111,17 +111,20 @@ int main()
 #ifdef _WIN64
       TestHook("user32.dll", "SetWindowLongPtrA") &&
       TestHook("user32.dll", "SetWindowLongPtrW") &&
 #else
       TestHook("user32.dll", "SetWindowLongA") &&
       TestHook("user32.dll", "SetWindowLongW") &&
 #endif
       TestHook("user32.dll", "TrackPopupMenu") &&
+#ifdef _M_IX86
+      // We keep this test to hook complex code on x86. (Bug 850957)
       TestHook("ntdll.dll", "NtFlushBuffersFile") &&
+#endif
       TestHook("ntdll.dll", "NtWriteFile") &&
       TestHook("ntdll.dll", "NtWriteFileGather") &&
       // Bug 733892: toolkit/crashreporter/nsExceptionHandler.cpp
       TestHook("kernel32.dll", "SetUnhandledExceptionFilter") &&
 #ifdef _M_IX86
       // Bug 670967: xpcom/base/AvailableMemoryTracker.cpp
       TestHook("kernel32.dll", "VirtualAlloc") &&
       TestHook("kernel32.dll", "MapViewOfFile") &&