How to build chromium as official? - rendering

I was trying to build the chromium browser as official but I am not confirmed which files i have to change. On chrome discussion someone told me to just set GYP_DEFINES=buildtype=Official u can see the discussion : https://groups.google.com/a/chromium.org/forum/#!searchin/chromium-discuss/rendering$20in$20chrome$20slow/chromium-discuss/d4INNgunYtU/9OnP-VMKC10J
I tried a lot editing many files but I haven't get any positive result. PLs help

As far as I know it's not possible to build Chrome as official build. Chrome uses Chromium, but it's a little bit different. For example Chrome has PDF Viewer when Chromium project doesn't contain it. The list of changes between Chromium and Chrome you can find at https://code.google.com/p/chromium/wiki/ChromiumBrowserVsGoogleChrome

Related

Pptxgenjs appears to not work in IE11 even with jszip#3.1.5

Having read the previous versions of this question from 2020 this issue appears to have reared it's head again. I have tried these demos with my current jszip#3.7.0 and with jszip 3.1.5 using it as my application jszip and overwriting the jszip within pptxgenjs.
When using pptxgenjs in IE11 (Windows 10) it appears to work in that no errors are reported, what does happen is the browser alerts the user that: "You'll need a new app to open this blob link". The only option that is available at this point is then to go to "Look for an app in the Microsoft Store" of which no apps are available.
What this says to me is that pptxgenjs has done its job and has passed the blob link to the browser and the browser has said I have no clue you'll need to find something to open this.
I've attempted to run the demos in the same Windows 10/IE11 setup and they seem to do worse. the live demo doesn't error or offer the ability to download an app to support opening the blob link. The react demo errors to the console: SCRIPT438: Object doesn't support property or method 'endsWith'. The Basic Demo in the complete library of demos fails like the live demo not returning an error or acknowledging anything.
Is this a known issue? Is there another step to help IE11 with the blob link? Can anyone else get the demos to work and I should be looking at something else? Any thoughts would be appreciated.
Edit:
Apologies if this wasn't clear, but the demos I was referring to were the pptxgenjs demos found here: https://gitbrent.github.io/PptxGenJS/demos/ so focusing on the initial demo named 'Live Demo' the code that is being run is here: https://gist.github.com/gitbrent/84acbcaab54be0eba83f5206ef6ddd95#file-pptxgenjs_demo-js
Running this with all other key browsers such as edge, firefox and chrome all 'download' the generated file whereas running the same demo in IE11 fails silently.

Can we customize Chrome browser launch with different options using Chrome Java API? [duplicate]

I am using the Karate framework to do the API testing. As part of CI efforts, we send an email at the end of test execution listing the summary of test results. There is a need to include the screeshot of the test execution counts from 'overview-feature.html' file.
I did so through the TestRunner.java file - launched Chrome using Chrome.start() and then using it to take screenshot. It all works well locally on Windows.
However when executing on CI server which is a Unix box, the chrome executable is not present in the default location (usr/bin/google-chrome) and hence the connection for the localhost fails.
Is there a way we can change the default location of the chrome executable?
PS: Apologies if this was too trivial to be asked.
Yes Chrome on CI is hard to get right, refer: https://stackoverflow.com/a/62325328/143475 - note that CI boxes typically are "headless" a browser may not be even installed.
I think the best thing for you is to ZIP the HTML and send it. But I really think you need to work with some CI experts, because the report generation and e-mailing business is normally done by things like Jenkins. What you are doing is certainly not normal or best-practice.
If you really want, there is a Karate Docker container that can give you a proper Chrome instance (see docs) but that is overkill for what you need.
EDIT: The Chrome Java API allows for customization of the executable path and this is in the docs: https://github.com/intuit/karate/tree/master/karate-core#chrome-java-api
It should be something like this:
Chrome.start("/opt/blah/chrome");

Google Chrome file system api: bug in sample code?

I am trying to run this example code:
https://github.com/GoogleChrome/chrome-app-samples/tree/master/filesystem-access
as well as this:
https://github.com/GoogleChrome/chrome-app-samples/tree/master/storage
I am not able to get either of them to run in my browser: Chrome 26.0.1410.65 Mac Lion 10.7.5
(to see it run, download it and click on html page included with each of the examples)
If you can confirm this is a bug in the sample code (it doesn't run in your system as well) please let me know where I should file this bug report. (https://code.google.com/p/chromium/ or https://github.com/GoogleChrome/chrome-app-samples/issues?)
many thanks in advance.
You need to use the Load unpacked extension button found on the chrome://extensions page and then launch the app in order for it to use chrome.* API's.

TracStatsPlugin there is no code stats

Sorry for my language. I have problem with TracStatsPlugin. I added in trac.ini following lines:
[components]
tracstats.* = enabled
[stats]
root = /home/tracDirectory
Now I have stats for wiki and tickets but no for code. What can be wrong ? I add that I have configured svn repository and I can browse source using trac.
A salvation can be other stats plugin to trac, but I can't find nothing good in google.
What browser are you using? If you are using Internet Explorer, try using Firefox or Chrome and see if the problem persists. I am using the TracStats plugin and I see similar problems. The problems are only seen in Internet Explorer, though. After poking around with the debugger, it looks like there's an IE-specific bug in one of the Javascript libraries that the plugin uses.
Question was aced long time ago, but google show it in first places so I put what I found here.
Once there was ticket on TracStatsPlugin Github about issue: https://github.com/mrjbq7/tracstats/issues/25 so some workarounds can be found in it comments.

How to add fireshot addons?

I'm trying to install Fireshot addon in opera version 11.62. bt it is not available on opera. Actually fireshot is the extension use for taking screenshot of the current locating site so to make report on the site. so is their any option beside that or can i install Fireshot on it?
Fireshot is a Firefox extension, I don't believe it's available as an Opera extension. You could try installing Lightshot, which sounds like it tries to do something similar (though some of the comments make it sound like it's a bit dodgy), or one of many third-party apps like Screenshot Captor.
Right now it is NOT possible for an Opera extension to do it, though we are working on exposing such functionality in the future through extensions.