Skip to content

Commit da4f0da

Browse files
committed
The JS_Utf8BufferIsCompilableUnit issue got fixed within 24 hours after reporting it in the firefox Matrix chat, updating SpiderMonkey to mozilla-central tip
See https://bugzilla.mozilla.org/show_bug.cgi?id=1904747
1 parent 48bda0a commit da4f0da

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

mozcentral.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
74b39df74a4a38e44f4b3783a5c4e4e8980ccf6f
1+
d25c9bdacb64ae50779dc91f5919ca0189ad6c36

src/modules/pythonmonkey/pythonmonkey.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,6 @@ static PyObject *isCompilableUnit(PyObject *self, PyObject *args) {
488488
if (JS_Utf8BufferIsCompilableUnit(GLOBAL_CX, *global, bufferUtf8, strlen(bufferUtf8))) {
489489
Py_RETURN_TRUE;
490490
} else {
491-
JS_ClearPendingException(GLOBAL_CX); // JS_Utf8BufferIsCompilableUnit would still generate exception for invalid inputs
492491
Py_RETURN_FALSE;
493492
}
494493
}

0 commit comments

Comments
 (0)