src/devtools/panel.js
/**
         * Receive a message from our eventPage file
         *
         * @param message
         */
Receive a message from our eventPage file
@param message
Receive a message from our eventPage file @param message
receive_message(message) {
            message.event = message.event || "";
            switch (message.event) {
                case "webRequest":
                    addRequest(message);
                    break;
                case "webNavigation":
                    addNavigation(message);
                    break;
                case "settings":
                    loadSettings(message.data, true);
                    break;
                default:
                    this.send_message("Unknown message type", message);
                    break;
            }
        }
receive_message ( message ) { message . event = message . event || "" ; switch ( message . event ) { case "webRequest" : addRequest ( message ) ; break ; case "webNavigation" : addNavigation ( message ) ; break ; case "settings" : loadSettings ( message . data , true ) ; break ; default : this . send_message ( "Unknown message type" , message ) ; break ; } }
Receive a message from our eventPage file
 @param message
Receive a message from our eventPage file @param message