mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-06 11:24:00 +00:00
Answer the Nepal event's Facebook embeds with inert stubs in its strict scenario, as its YouTube ones
This commit is contained in:
1 parent
909be62ae7
commit
0ee92eb864
1 file changed
+16
@@ -36,6 +36,22 @@ const strict = createStrict({
|
|||||||
body: '<!doctype html><title>QA player</title><body style="background:#111"></body>',
|
body: '<!doctype html><title>QA player</title><body style="background:#111"></body>',
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
|
// A Facebook post the playback reaches in a slower run: its SDK and
|
||||||
|
// post page, inert as well.
|
||||||
|
{
|
||||||
|
pattern: 'https://connect.facebook.net/*',
|
||||||
|
respond: () => ({
|
||||||
|
contentType: 'text/javascript',
|
||||||
|
body: '/* QA: Facebook SDK withheld */',
|
||||||
|
}),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
pattern: 'https://www.facebook.com/*',
|
||||||
|
respond: () => ({
|
||||||
|
contentType: 'text/html',
|
||||||
|
body: '<!doctype html><title>QA post</title><body style="background:#111"></body>',
|
||||||
|
}),
|
||||||
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
await strict.run({ args: ['--use-angle=metal', '--enable-gpu'] }, async (b) => {
|
await strict.run({ args: ['--use-angle=metal', '--enable-gpu'] }, async (b) => {
|
||||||
|
|||||||
Reference in new issue
Block a user