Where is the source code for Android's web browser? - android-source

Since Android has such pathetic documentation, I'm looking for the source code for the browser so I can see what objects it provides to JavaScript. Where should I look? Is there an online source code browser?

It's in the Git repository:
https://android.googlesource.com/platform/packages/apps/Browser
https://android.googlesource.com/platform/external/webkit/+/android-3.2.4_r1/WebCore/xml/XMLHttpRequest.h
Edit:
The applications are now mirrored on github. You can find the browser here: https://github.com/android/platform_packages_apps_browser.git

Or try GrepCode: You can even throw a stack trace at it and it shows all relevant java files in all platform versions.

you can also use the link below in case you need more options
https://android.googlesource.com/platform/packages/apps/Browser

Related

Can you run a version of vscode inside the browser without a server?

Is there any way to run a version of VS Code inside a browser without a server? (inside a React or Angular app). Something like an enhanced version of the monaco editor.
Of course that means it will have some missing functionalities.
If not, are there any other options?
Try this https://securingsincity.github.io/react-ace/
its something of the same king what you want
As far as I could find, it is possible to run VSCode in the browser (since we have vscode.dev), but there doesn't seem to be anyway to deploy it yourself yet?
This Github issue is probably what you want, but there isn't any information there (or on the repo) yet.
It does strongly suggest that https://github.com/microsoft/vscode is the version used for vscode.dev, so there might be things to be found there, until official instructions/embedding is possible.
I think it depends on how you treat vscode.
if it is just a editor software, there'll be a lot of .
For you customerization purpose, it sounds something like 'https://github.com/cdr/code-server'
Not sure if it helps, but you can try looking up gitpod.io. It opens up a visual studio code instance on your browser with options of installing extensions as well.
Use the link like gitpod.io/#https://github.com/username/repo-name
You can possibly use Gitpod self-host, https://github.com/gitpod-io/gitpod or https://github.com/gitpod-io/openvscode-server they both have documentation on how to create your own version of VSCode for the web, however, as I've never tried to create one myself, I don't know if it accomplishes your specific use case.

Use Chrome Dev Tools as a library?

Is Chrome Dev Tools available only through Chrome extensions? Or is there a way we can use it, for instance, as a library from a JS standalone file?
Update
Chrome DevTools Frontend is now an NPM package that you can take advantage of. It is based from the new DevTools sub-repo in Blink. So you can easily pull in the DevTools assets and keep then up-dated without much work.
Original post
It depends on what you want exactly. You can dig in and rip out bits of the frontend to use. Like Betwixt by Konrad pulls the network panel design out and plugs it up to an OS interceptor. So you can use the network panel you know and love to debug any app on your desktop.
Now, can you easily do this kind of stuff. Even keeping it auto-updated? No, not really. It is fairly complicated and you need to be able to handle ripping the stuff out yourself. That being said, if you want a challenge then the code is open to everyone.
I'd say that the first sentence on the About website is pretty clear:
... built into Google Chrome.
So officially, by Google, it's only for Chrome. It's part of Chrome, not a standalone library. Issues linked to DevTools are part of Chromium, where people can contribute.

How to understand the code flow in nuxeo

Recently I have downloaded the Nuxeo code, SDK and Nuxio IDE for the development purpose. I am also able to do build the project run the SDK and importing project into eclipse. But as Nuxeo guys know, it's a huge project and document doesn't contains details about the Code Flow. So, I am sucked. To develop and fix bugs I need to know the existing code structure, functionality of each projects(modules/bundles) , how to identify the code flow if user click on a button. So, please help me
It depends on the UI you want to debug. If it's the JSF UI, then the buttons are usually associated with an "action" contributed from an XML file. You can then follow the thread.
Your question is too much generic to give you more details. Do look for development guidelines and/or how-to fix some bugs? In the latter case, it depends on each kind of bug, the Nuxeo version, the original code writer (Nuxeo legacy code or customized code), the use of Nuxeo Studio or not...

ignore specific js files in chrome dev tools when debugging

Is it possible to ignore certain javascript files when debugging with breakpoints in Chrome Developer Tools? Let's say on this website http://todomvc.com/architecture-examples/angularjs/#/ I want to debug only todoCtrl.js and ignore all other ones like angular.js.
Yes, you can use JS Blackboxing to do this. The documentation for this feature will be going live soon, but for now you can read the WIP doc on how to do this here:
https://rawgit.com/jaredwilli/devtools-docs/blackboxing/docs/blackboxing.html

How to add iPhone SDK classes to autocomplete in TextMate?

How, if possible, can I have iPhone SDK's classes (UI*) to autocomplete inside TextMate?
Ok, after looking the link Kendall posted and some other places this is what I have found:
There is currently NO easy way to have autocomplete of iPhone APIs in TextMate.
The link on the post Kendall pointed is old, but I found it and one other iPhone Bundle on gitHub:
http://github.com/Caged/gtbfm-textmate-bundle
http://github.com/drnic/objective-c-iphone-tmbundle
But none of these bundles offers autocomplete, they have some templates and snippets.
The closest I have found is on the svn repository from TextMate:
http://svn.textmate.org/trunk/Review/Bundles/iPhone.tmbundle
It's not official yet, and I have reported some issues with it to the developer (Joachim MÃ¥rtensson).
You can have autocomplete with this bundle, but it is working only with classes files, not headers.
Try out the link at the bottom of this thread:
http://groups.google.com/group/google-toolbox-for-mac/browse_thread/thread/e097e998674231fa