Exemple #1
0
        private void OnConsole(RuntimeConsoleFirefoxEvent e)
        {
            var context = ContextIdToContext[e.ExecutionContextId];

            var type     = e.GetConsoleType();
            var location = e.ToConsoleMessageLocation();

            Page.AddConsoleMessage(type, Array.ConvertAll(e.Args, arg => context.CreateHandle(arg)), location);
        }