mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 22:00:31 -04:00
Drop the libCSS/libdom patch as it's not needed anymore. Removes options that don't require a library installed from a package (except for EXMODE/LOCAL_CGI/NOROOT) Wire in the test suite. Add MUJS, PYTHON, and SIXEL options. PR: 281909 Approved by: submitter is maintainer
11 lines
560 B
C++
11 lines
560 B
C++
--- src/js/spidermonkey/fragment.cpp.orig 2024-12-26 11:02:09 UTC
|
|
+++ src/js/spidermonkey/fragment.cpp
|
|
@@ -2290,7 +2290,7 @@ DocumentFragment_constructor(JSContext *ctx, unsigned
|
|
}
|
|
JS::Realm *comp = js::GetContextRealm(ctx);
|
|
struct ecmascript_interpreter *interpreter = (struct ecmascript_interpreter *)JS::GetRealmPrivate(comp);
|
|
- JS::RootedObject r_doc(ctx, interpreter->document_obj);
|
|
+ JS::RootedObject r_doc(ctx, (JSObject *)interpreter->document_obj);
|
|
dom_document *doc = JS::GetMaybePtrFromReservedSlot<dom_document>(r_doc, 0);
|
|
|
|
if (!doc) {
|