fix: TypeError "onHeadersReceived is not a function"

close #3433
This commit is contained in:
Tienson Qin
2021-12-13 11:29:22 +08:00
parent 0f6c68711c
commit 1feb695241

View File

@@ -118,6 +118,8 @@ dummy.convertToViewportRectangle = function() {};
dummy.init = function() {};
dummy.commit = function() {};
dummy.raw = function() {};
dummy.onHeadersReceived = function() {};
dummy.responseHeaders = function() {};
/**
* @typedef {{