@@ -141,14 +141,14 @@ describe('integration tests', function (this: ISuite) {
141
141
assert (
142
142
outerCompatMode === 'CSS1Compat' ,
143
143
outerCompatMode +
144
- ' for outer iframe.html should be CSS1Compat as it has "<!DOCTYPE html>"' ,
144
+ ' for outer iframe.html should be CSS1Compat as it has "<!DOCTYPE html>"' ,
145
145
) ;
146
146
// inner omits a doctype so gets rendered in backwards compat mode
147
147
// although this was originally accidental, we'll add a synthetic doctype to the rebuild to recreate this
148
148
assert (
149
149
innerCompatMode === 'BackCompat' ,
150
150
innerCompatMode +
151
- ' for iframe-inner.html should be BackCompat as it lacks "<!DOCTYPE html>"' ,
151
+ ' for iframe-inner.html should be BackCompat as it lacks "<!DOCTYPE html>"' ,
152
152
) ;
153
153
} else {
154
154
// loading indirectly is improtant for relative path testing
@@ -192,7 +192,7 @@ describe('integration tests', function (this: ISuite) {
192
192
assert (
193
193
compatMode === 'BackCompat' ,
194
194
compatMode +
195
- ' for compat-mode.html should be BackCompat as DOCTYPE is deliberately omitted' ,
195
+ ' for compat-mode.html should be BackCompat as DOCTYPE is deliberately omitted' ,
196
196
) ;
197
197
const renderedHeight = ( await page . evaluate (
198
198
'document.querySelector("center").clientHeight' ,
@@ -219,7 +219,7 @@ iframe.contentDocument.querySelector('center').clientHeight
219
219
assert (
220
220
rebuildCompatMode === 'BackCompat' ,
221
221
"rebuilt compatMode should match source compatMode, but doesn't: " +
222
- rebuildCompatMode ,
222
+ rebuildCompatMode ,
223
223
) ;
224
224
assert (
225
225
rebuildRenderedHeight === renderedHeight ,
@@ -266,8 +266,8 @@ iframe.contentDocument.querySelector('center').clientHeight
266
266
<html xmlns="http://www.w3.org/1999/xhtml">
267
267
<body>
268
268
<img src="${ getServerURL (
269
- server ,
270
- ) } /images/rrweb-favicon-20x20.png" alt="CORS restricted but has access-control-allow-origin: *" />
269
+ server ,
270
+ ) } /images/rrweb-favicon-20x20.png" alt="CORS restricted but has access-control-allow-origin: *" />
271
271
</body>
272
272
</html>
273
273
` ,
0 commit comments