Backed out changeset 6f8d311064d9 (bug 15396900) for bustages in bug1033946.js CLOSED TREE

This commit is contained in:
Noemi Erli
2019-04-02 05:38:56 +03:00
parent 709e33a378
commit e83906f469
25 changed files with 237 additions and 382 deletions

View File

@@ -12,7 +12,6 @@
#include "jsfriendapi.h"
#include "js/CharacterEncoding.h"
#include "js/RegExp.h"
#include "js/RegExpFlags.h"
#include "xpcprivate.h"
#include "WrapperFactory.h"
@@ -834,8 +833,7 @@ RegExpShared* WrapperOwner::regexp_toShared(JSContext* cx, HandleObject proxy) {
}
RootedObject regexp(cx);
regexp = JS::NewUCRegExpObject(cx, source.get(), source.Length(),
RegExpFlags(flags));
regexp = JS::NewUCRegExpObject(cx, source.get(), source.Length(), flags);
if (!regexp) {
return nullptr;
}