From 84d56ffc97d71cf16fa891abbcc3653c2d74af06 Mon Sep 17 00:00:00 2001 From: danielgranat Date: Wed, 27 Jul 2016 13:32:26 +0300 Subject: [PATCH] Add phantom callback for onResourceError --- lib/options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/options.js b/lib/options.js index b7c6ce0..47eb3a2 100644 --- a/lib/options.js +++ b/lib/options.js @@ -35,7 +35,7 @@ exports.phantomPage = ['paperSize', 'customHeaders', 'settings']; exports.phantomCallback = ['onAlert', 'onCallback', 'onClosing', 'onConfirm', 'onConsoleMessage', 'onError', 'onFilePicker', 'onInitialized', 'onLoadFinished', 'onLoadStarted', 'onNavigationRequested', 'onPageCreated', - 'onPrompt', 'onResourceRequested', 'onResourceReceived', + 'onPrompt', 'onResourceError', 'onResourceRequested', 'onResourceReceived', 'onResourceTimeout', 'onResourceError', 'onUrlChanged']; // Options that are used in the calling node script