“DOMParser is not defined” in Web Widget

“DOMParser is not defined” in Web Widget

BY 06 May 2017 Web Application Development

Hi, i try to parse Xml string with DomParser in Widget app for Tizen wearable V2.3.2.

But when i try to make new DomParser,

var parser = new DOMParser();

i have this message in log tab:

05-05 23:49:16.881 : INFO / StarFish ( 8698 : 8698 ) : Uncaught ReferenceError: DOMParser is not defined

if i make the same code in Web app (not widget) it’s working fine.

Any idea?

Thank’s

Written by