Skip to content

Commit 4cb1aea

Browse files
committed
fixup! [test] add test for Cannot screenshare from within iframe Cross domain. InvalidStateError nwjs#6212
1 parent 43e1a34 commit 4cb1aea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/nwjs_browsertest.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1224,13 +1224,13 @@ class FakeDesktopMediaPickerFactory :
12241224
DISALLOW_COPY_AND_ASSIGN(FakeDesktopMediaPickerFactory);
12251225
};
12261226

1227-
class NWDesktopCaptureApiTest : public NWAppTest {
1227+
class NWJSDesktopCaptureApiTest : public NWAppTest {
12281228
public:
1229-
NWDesktopCaptureApiTest() {
1229+
NWJSDesktopCaptureApiTest() {
12301230
extensions::DesktopCaptureChooseDesktopMediaFunction::
12311231
SetPickerFactoryForTests(&picker_factory_);
12321232
}
1233-
~NWDesktopCaptureApiTest() override {
1233+
~NWJSDesktopCaptureApiTest() override {
12341234
extensions::DesktopCaptureChooseDesktopMediaFunction::
12351235
SetPickerFactoryForTests(NULL);
12361236
}

0 commit comments

Comments
 (0)