Bug 797900 - Disable invalid-size-second-frame crashtest under AddressSanitizer. r=dbaron, a=nonlibxul

This commit is contained in:
Christian Holler 2013-01-22 00:46:40 +01:00
Родитель b8998c4f77
Коммит 3d79e5a25d
2 изменённых файлов: 8 добавлений и 1 удалений

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

@ -7,7 +7,8 @@ load 89341-1.gif
# they have image sizes of 65535x65535 which is larger than we allow
load invalid-size.gif
# this image has a valid size for the first frame, but the second frame is 65535x65535
load invalid-size-second-frame.gif
# AddressSanitizer sometimes fails with a CHECK on an allocation caused by this.
skip-if(AddressSanitizer) load invalid-size-second-frame.gif
# Animated gifs with a very large canvas, but tiny actual content.
load delaytest.html?523528-1.gif

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

@ -575,6 +575,12 @@ function BuildConditionSandbox(aURL) {
sandbox.qtWidget = xr.widgetToolkit == "qt";
sandbox.winWidget = xr.widgetToolkit == "windows";
#if MOZ_ASAN
sandbox.AddressSanitizer = true;
#else
sandbox.AddressSanitizer = false;
#endif
var hh = CC[NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX + "http"].
getService(CI.nsIHttpProtocolHandler);
sandbox.http = { __exposedProps__: {} };