Skip to content
Commit c9c2c7d1 authored by Philip Chimento's avatar Philip Chimento
Browse files

jsapi-util: Use JS_PutEscapedString()

In gjs_string_readable(), instead of doing our own escaping of strings,
we can use JS_PutEscapedString(). Since JS_GetStringCharsAndLength() is
going away in SpiderMonkey 38, we have to change this code anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=776966
parent 48a13bfa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment