| Index: LayoutTests/inspector-protocol/heap-profiler/resources/heap-snapshot-common.js
|
| diff --git a/LayoutTests/inspector-protocol/heap-profiler/resources/heap-snapshot-common.js b/LayoutTests/inspector-protocol/heap-profiler/resources/heap-snapshot-common.js
|
| index acff44521d0b7696c8c9f5a4b6b020bf0680ce94..7c66897e547040a2a6deb117b210e18efc1eb8a0 100644
|
| --- a/LayoutTests/inspector-protocol/heap-profiler/resources/heap-snapshot-common.js
|
| +++ b/LayoutTests/inspector-protocol/heap-profiler/resources/heap-snapshot-common.js
|
| @@ -7,6 +7,18 @@ if (!window.WebInspector)
|
| InspectorTest.importScript("../../../../../Source/devtools/front_end/HeapSnapshot.js");
|
| InspectorTest.importScript("../../../../../Source/devtools/front_end/JSHeapSnapshot.js");
|
|
|
| +InspectorTest.fail = function(message)
|
| +{
|
| + InspectorTest.log("FAIL: " + message);
|
| + InspectorTest.completeTest();
|
| +}
|
| +
|
| +InspectorTest.assert = function(result, message)
|
| +{
|
| + if (!result)
|
| + InspectorTest.fail(message);
|
| +}
|
| +
|
| InspectorTest.takeHeapSnapshot = function(callback)
|
| {
|
| InspectorTest.eventHandler["HeapProfiler.addProfileHeader"] = function(messageObject)
|
|
|