Hi there,
sorry to disturb you, we are facing an issue with port from PyV8 to v8py and thought you could help.
We are setting some attributes for the object of type Window here.
https://github.com/kira0204/thug/blob/c30dd33222ba9424fb306eb40f69d45fcbf67993/thug/DOM/Window.py#L796-L804
Logging self.document seems fine and works perfectly but when using this code to analyze a JS script such as this https://github.com/kira0204/thug/blob/c30dd33222ba9424fb306eb40f69d45fcbf67993/samples/misc/test1.html#L3-L7, we are returned None in both the cases. Somehow the setting of attributes is not reflected in the JS.
Relevant code: https://github.com/kira0204/thug/blob/c30dd33222ba9424fb306eb40f69d45fcbf67993/thug/DOM/JSClass.py#L30-L35
Would like to hear your opinion on this, thanks.
cc @buffer
Hi there,
sorry to disturb you, we are facing an issue with port from PyV8 to v8py and thought you could help.
We are setting some attributes for the object of type
Windowhere.https://github.com/kira0204/thug/blob/c30dd33222ba9424fb306eb40f69d45fcbf67993/thug/DOM/Window.py#L796-L804
Logging
self.documentseems fine and works perfectly but when using this code to analyze a JS script such as this https://github.com/kira0204/thug/blob/c30dd33222ba9424fb306eb40f69d45fcbf67993/samples/misc/test1.html#L3-L7, we are returnedNonein both the cases. Somehow the setting of attributes is not reflected in the JS.Relevant code: https://github.com/kira0204/thug/blob/c30dd33222ba9424fb306eb40f69d45fcbf67993/thug/DOM/JSClass.py#L30-L35
Would like to hear your opinion on this, thanks.
cc @buffer