1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
10 } = require("resource://devtools/shared/protocol.js");
12 const customHighlighterSpec = generateActorSpec({
13 typeName: "customhighlighter",
16 "highlighter-event": {
17 type: "highlighter-event",
28 node: Arg(0, "nullable:domnode"),
29 options: Arg(1, "nullable:json"),
32 value: RetVal("nullable:boolean"),
44 exports.customHighlighterSpec = customHighlighterSpec;