1 2 #ifndef EL__ECMASCRIPT_SPIDERMONKEY_LOCATION_H 3 #define EL__ECMASCRIPT_SPIDERMONKEY_LOCATION_H 4 5 #include "ecmascript/spidermonkey/util.h" 6 7 struct document_view; 8 9 extern const JSClass history_class; 10 extern const spidermonkeyFunctionSpec history_funcs[]; 11 12 extern const JSClass location_class; 13 extern const spidermonkeyFunctionSpec location_funcs[]; 14 extern const JSPropertySpec location_props[]; 15 16 void location_goto(struct document_view *doc_view, unsigned char *url); 17 18 #endif 19