chromium

Ripple broken with Chrome version 50.0.2661.75 - “aw snapp” error message

孤人 提交于 2019-12-13 07:17:52
问题 Apache-Ripple was working correctly until chrome updated to version 50.0.2661.75 m. I use ripple not as a chrome-extension but as explained in this article:https://www.raymondcamden.com/2013/11/05/Ripple-is-Reborn/ If I try with an empty Cordova project, I get the "aw snap" message. In the development console I can see that "XHR and Fetch" are going wrong for "user-agent" (status code 500) and "config.xml" (status code 404). I do get those messages as well if I run same Cordova/Ripple project

@font-face font-size rendered larger in some browsers than others

微笑、不失礼 提交于 2019-12-13 07:06:52
问题 i have created a header on my website that uses custom font-faces and have applied a size with pixels (61). and for some unknown (to me) reason the font is rendered nearly twice as large in ie9 and tor than in chromium and firefox. there are no other css settings that appear to me to be relevant (e.g. no font-weight:bold or similar settings). other font-faces appear to render close to or exactly the same size between browsers. i've exhausted my ideas on what is the cause of this.. if anyone

How to use puppeteer to turn Chromium on in mobile debug mode?

梦想与她 提交于 2019-12-13 04:18:13
问题 I want to start Chrome with puppeteer, and in mobile debug mode, It means to click the 'toggle device toolbar' button in devtools. Sorry, I don't have enough prestige to upload pictures. I tried the following code but it didn't work: const browser = await puppeteer.launch({ devtools: true, ignoreHTTPSErrors: true, isMobile:true //I thought it would be fine to set isMobile: true, but not }); So what should I do? 回答1: The isMobile property is a part of the defaultViewport object, it means that

UnhandledPromiseRejectionWarning: Error: Protocol error (Runtime.callFunctionOn): Target closed. (Puppeteer)

99封情书 提交于 2019-12-13 02:53:43
问题 I am new to Puppeteer and Node and I get this error when trying to execute the following code: 'use strict'; const puppeteer = require('puppeteer'); const evalLib = require('./oaa_a11y_evaluation.js'); function evaluateRules() { var ruleset = OpenAjax.a11y.RulesetManager.getRuleset("ARIA_STRICT"); var evaluator_factory = OpenAjax.a11y.EvaluatorFactory.newInstance(); evaluator_factory.setParameter('ruleset', ruleset); evaluator_factory.setFeature('eventProcessing', 'fae-util'); evaluator

“Uncaught SyntaxError: Unexpected token (” but there is no error

限于喜欢 提交于 2019-12-13 02:12:42
问题 I'm authoring a simple userscript that will give the backspace button navigation control like in windows (specifically this is for linux users) for Chromium browser. This script was working, then I made a few alterations to it (very simple stuff, commenting, tabbing, making it pretty), and now i'm getting this error: Uncaught SyntaxError: Unexpected token ( on this line document.head.appendChild(script); The script is located here - i'm pulling out my hair trying to figure this out. The

Ubuntu中PPA源是什么

别等时光非礼了梦想. 提交于 2019-12-12 18:10:36
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> PPA是Personal Package Archives首字母简写。翻译为中文意思是:个人软件包文档 只有Ubuntu用户可以用,而所有的PPA都是寄存在 launchpad.net 网站上。 Launchpad(启动器)是Canonical公司所架设的网站,是一个提供维护、支援或连络Ubuntu开发者的平台。其中Launchpad提供了线上翻译软件的功能,你可以自由的参与Ubuntu或相关自由软件的开发或翻译工作。而你也可以利用该网站的回报机制来回报相关软件的Bug,或者进一步提供建议。 使用PPA的好处是Ubuntu系统中使用PPA源的软件可以让你在第一时间体验到最新版本的软件。 有很多PPA软件源提供多个版本,包括正式稳定版、每日创建版,开发版、测试版等等。 例如,chromium 浏览器的源: chromium daily(每日创建版) chromium dev(开发版) chromium stable(稳定版) chromium beta(测试版) 每日创建版源地址: https://launchpad.net/~chromium-daily/+archive/daily 添加该源的方法,打开终端,输入下面的命令: sudo add-apt-repository ppa:chromium-daily

Customized Stack Traces in Google Chrome Developer Tools?

╄→尐↘猪︶ㄣ 提交于 2019-12-12 16:01:06
问题 I'm looking to customize the items that show up in the strack trace panel in the Scripts tab of Google Chrome's developers tools. Specifically, I want to filter out items in the stack trace and to add more descriptive names to some of the items on the stack trace without having to rename my objects and functions. I found V8's Stack Trace API at http://code.google.com/p/v8/wiki/JavaScriptStackTraceApi but overriding Error.prepareStackTrace doesn't seem to have any effect. 回答1: The description

How to build dynamic (shared) libraries of crashpad?

橙三吉。 提交于 2019-12-12 14:56:45
问题 Crashpad is an error reporting system for c++ apps. https://chromium.googlesource.com/crashpad/crashpad/+/HEAD/doc/developing.md build instructions are $ cd ~/crashpad/crashpad $ gn gen out/Default $ ninja -C out/Default I can build predefined static libs but I have not found a way how to use gn or ninja to generate the shared libraries. 回答1: After running gn gen out\Default , you can edit the out\Default\toolchain.ninja file to add extra compiler flags to the command for the cc and cxx rules

kiosk mode or fullscreen in chromium on android

放肆的年华 提交于 2019-12-12 13:48:50
问题 I have built a chromium ContentShell for my android device as explained here: https://code.google.com/p/chromium/wiki/AndroidBuildInstructions I now want to use this ContentShell in fullscreen mode. I tried to add the flag kiosk as explained here: http://www.chromium.org/developers/how-tos/run-chromium-with-flags But it is not working. Is there a way to use kiosk mode on android with chromium or would you recommend another way to achieve what i want to have? (display of website in fullscreen

Running chrome headless on linux without xorg

只愿长相守 提交于 2019-12-12 10:42:28
问题 Is it possible to install and run chrome headless on a headless Linux box without installing the audio and xorg dependencies? If not, then is there a special headless build of chrome/chromium which doesn't pull xorg and audio libs? 回答1: This troubleshooting doc on puppeteer should be of some help (https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md), it oultlines all the package necessary for running Chrome on a linux machine (more specifically for web servers).