зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1484250 - Fix redirection for CGSShutdownServerConnections on 10.10, r=alex_gaynor.
This commit is contained in:
Родитель
d8ffeabdb4
Коммит
03ff04f770
|
@ -1644,11 +1644,8 @@ StartMacOSContentSandbox()
|
|||
// Close all current connections to the WindowServer. This ensures that the
|
||||
// Activity Monitor will not label the content process as "Not responding"
|
||||
// because it's not running a native event loop. See bug 1384336.
|
||||
if (!recordreplay::IsRecordingOrReplaying()) {
|
||||
// Because of the WebReplay system for proxying system API calls, for the
|
||||
// time being we skip this when running under WebReplay (bug 1482668).
|
||||
CGSShutdownServerConnections();
|
||||
}
|
||||
CGSShutdownServerConnections();
|
||||
|
||||
// Actual security benefits are only acheived when we additionally deny
|
||||
// future connections, however this currently breaks WebGL so it's not done
|
||||
// by default.
|
||||
|
|
|
@ -321,6 +321,7 @@ namespace recordreplay {
|
|||
MACRO(CGPathGetCurrentPoint) \
|
||||
MACRO(CGPathIsEmpty) \
|
||||
MACRO(CGSSetDebugOptions) \
|
||||
MACRO(CGSShutdownServerConnections) \
|
||||
MACRO(CTFontCopyFamilyName) \
|
||||
MACRO(CTFontCopyFontDescriptor) \
|
||||
MACRO(CTFontCopyGraphicsFont) \
|
||||
|
@ -2349,6 +2350,7 @@ RR_CTFontGetBoundingRectsForGlyphs(CTFontRef aFont, CTFontOrientation aOrientati
|
|||
RRFunctionTypes1(CGPathGetCurrentPoint, CGPoint, CGPathRef)
|
||||
RRFunction1(CGPathIsEmpty)
|
||||
RRFunction1(CGSSetDebugOptions)
|
||||
RRFunctionVoid0(CGSShutdownServerConnections)
|
||||
RRFunction1(CTFontCopyFamilyName)
|
||||
RRFunction1(CTFontCopyFontDescriptor)
|
||||
RRFunction2(CTFontCopyGraphicsFont)
|
||||
|
|
Загрузка…
Ссылка в новой задаче