This repository was archived by the owner on Mar 19, 2021. It is now read-only.
File tree 3 files changed +3
-3
lines changed
mediacapture-image/resources
shape-detection/resources
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 10
10
// --enable-blink-features=MojoJS,MojoJSTest
11
11
12
12
let loadChromiumResources = Promise . resolve ( ) . then ( ( ) => {
13
- if ( ! MojoInterfaceInterceptor ) {
13
+ if ( ! ( ' MojoInterfaceInterceptor' in self ) ) {
14
14
// Do nothing on non-Chromium-based browsers or when the Mojo bindings are
15
15
// not present in the global namespace.
16
16
return ;
Original file line number Diff line number Diff line change 10
10
// --enable-blink-features=MojoJS,MojoJSTest
11
11
12
12
let loadChromiumResources = Promise . resolve ( ) . then ( ( ) => {
13
- if ( ! MojoInterfaceInterceptor ) {
13
+ if ( ! ( ' MojoInterfaceInterceptor' in self ) ) {
14
14
// Do nothing on non-Chromium-based browsers or when the Mojo bindings are
15
15
// not present in the global namespace.
16
16
return ;
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ function forEachWebxrObject(callback) {
116
116
117
117
// Code for loading test api in chromium.
118
118
let loadChromiumResources = Promise . resolve ( ) . then ( ( ) => {
119
- if ( ! MojoInterfaceInterceptor ) {
119
+ if ( ! ( ' MojoInterfaceInterceptor' in self ) ) {
120
120
// Do nothing on non-Chromium-based browsers or when the Mojo bindings are
121
121
// not present in the global namespace.
122
122
return ;
You can’t perform that action at this time.
0 commit comments