Skip to content

Commit

Permalink
"DEbug"
Browse files Browse the repository at this point in the history
  • Loading branch information
o0101 committed Oct 28, 2020
1 parent 9165c6a commit c42eac6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions common.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import branchName from 'current-git-branch';
import {FRAME_CONTROL} from './public/translateVoodooCRDP.js';

export const DEBUG = {
mode: 'prod',
mode: 'dev',
goSecure: true,
noAudio: false,
legacyShots: !FRAME_CONTROL, /* until enableBeginFrameControl can be set for any target
Expand All @@ -14,8 +14,8 @@ export const DEBUG = {
commands: true,
shotDebug: false,
noShot: false,
dev: true,
val: 6,
dev: false,
val: 1,
low: 1,
med: 3,
high: 5
Expand Down
1 change: 1 addition & 0 deletions public/voodoo/src/constructor.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@
message: `Securely send files to the remote page.`,
title: `File Chooser`,
};
console.log({fileChooserModal:modal});
subviews.openModal({modal}, state);
});

Expand Down
4 changes: 4 additions & 0 deletions zombie-lord/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,8 @@ export default async function Connect({port}, {adBlock:adBlock = true, demoBlock
const {mode,backendNodeId} = message.params;
const fileChooser = {mode, sessionId};

console.log(fileChooser, message);

fileChoosers.set(sessionId, backendNodeId);

DEBUG.val > DEBUG.med && console.log(fileChooser, message);
Expand All @@ -400,6 +402,8 @@ export default async function Connect({port}, {adBlock:adBlock = true, demoBlock
}
}

console.log("Mark 2", fileChooser);

connection.meta.push({fileChooser});
} else if ( message.method == "Page.downloadProgress" ) {
const {params:downloadProgress} = message;
Expand Down

0 comments on commit c42eac6

Please sign in to comment.