Source code

Revision control

Copy as Markdown

Other Tools

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
"use strict";
/*
* THIS FILE IS AUTOGENERATED. DO NOT MODIFY BY HAND. RUN browser_reps_stubs.js with STUBS_UPDATE=true env TO UPDATE.
*/
const stubs = new Map();
stubs.set(`testRendering`, {
"_grip": {
"type": "object",
"actor": "server0.conn0.windowGlobal2147483651/obj40",
"class": "Text",
"ownPropertyLength": 0,
"extensible": true,
"frozen": false,
"sealed": false,
"isError": false,
"preview": {
"kind": "DOMNode",
"nodeType": 3,
"nodeName": "#text",
"isConnected": true,
"textContent": "hello world"
},
"contentDomReference": {
"browsingContextId": 51,
"id": 0.5296372099388534
}
},
"actorID": "server0.conn0.windowGlobal2147483651/obj40"
});
stubs.set(`testRenderingDisconnected`, {
"_grip": {
"type": "object",
"actor": "server0.conn0.windowGlobal2147483651/obj42",
"class": "Text",
"ownPropertyLength": 0,
"extensible": true,
"frozen": false,
"sealed": false,
"isError": false,
"preview": {
"kind": "DOMNode",
"nodeType": 3,
"nodeName": "#text",
"isConnected": false,
"textContent": "hello world"
},
"contentDomReference": {
"browsingContextId": 51,
"id": 0.6969799823627325
}
},
"actorID": "server0.conn0.windowGlobal2147483651/obj42"
});
stubs.set(`testRenderingWithEOL`, {
"_grip": {
"type": "object",
"actor": "server0.conn0.windowGlobal2147483651/obj44",
"class": "Text",
"ownPropertyLength": 0,
"extensible": true,
"frozen": false,
"sealed": false,
"isError": false,
"preview": {
"kind": "DOMNode",
"nodeType": 3,
"nodeName": "#text",
"isConnected": false,
"textContent": "hello\nworld"
},
"contentDomReference": {
"browsingContextId": 51,
"id": 0.7640922670176581
}
},
"actorID": "server0.conn0.windowGlobal2147483651/obj44"
});
stubs.set(`testRenderingWithDoubleQuote`, {
"_grip": {
"type": "object",
"actor": "server0.conn0.windowGlobal2147483651/obj46",
"class": "Text",
"ownPropertyLength": 0,
"extensible": true,
"frozen": false,
"sealed": false,
"isError": false,
"preview": {
"kind": "DOMNode",
"nodeType": 3,
"nodeName": "#text",
"isConnected": false,
"textContent": "hello\"world"
},
"contentDomReference": {
"browsingContextId": 51,
"id": 0.113013948491126
}
},
"actorID": "server0.conn0.windowGlobal2147483651/obj46"
});
stubs.set(`testRenderingWithLongString`, {
"_grip": {
"type": "object",
"actor": "server0.conn0.windowGlobal2147483651/obj48",
"class": "Text",
"ownPropertyLength": 0,
"extensible": true,
"frozen": false,
"sealed": false,
"isError": false,
"preview": {
"kind": "DOMNode",
"nodeType": 3,
"nodeName": "#text",
"isConnected": false,
"textContent": {
"type": "longString",
"actor": "server0.conn0.windowGlobal2147483651/longstractor49",
"length": 20002,
"initial": "a\naaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa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