Skip to content

Instantly share code, notes, and snippets.

View balazs's full-sized avatar

Balazs Kelemen balazs

  • Samsung Research America
  • Boston
View GitHub Profile
INFO:root:Running file://./chrome/test/data/image_decoding/image_decoding.html?png
DEBUG:root:InspectorBackend._Connect() to ws://127.0.0.1:46533/devtools/page/955EBA60-AE92-3207-6AD7-72556BC365FF
DEBUG:root:sent [{"method": "Page.enable", "id": 0}]
DEBUG:root:got [{"result":{},"id":0}]
DEBUG:root:Server started on 127.0.0.1:40023
DEBUG:root:sent [{"params": {"returnByValue": true, "expression": "\n if (window.chrome &&\n chrome.gpuBenchmarking &&\n chrome.gpuBenchmarking.clearImageCache) {\n chrome.gpuBenchmarking.clearImageCache();\n }\n ; 0;"}, "method": "Runtime.evaluate", "id": 1}]
DEBUG:root:got [{"result":{"result":{"type":"number","value":0,"description":"0"},"wasThrown":false},"id":1}]
DEBUG:root:will send [{"method": "Tracing.hasCompleted", "id": 0}]
DEBUG:root:got [{"error":{"code":-32601,"message":"No such method"},"id":0}]
DEBUG:root:will send [{"params": {"categories": "webkit,webkit.console"}, "method": "Tracing.start", "id": 1}]
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java
index 0e20ccc..8b25f63 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewGestureHandler.java
@@ -793,8 +793,10 @@ class ContentViewGestureHandler implements LongPressDelegate {
* @return Whether the event was handled.
*/
boolean onTouchEvent(MotionEvent event) {
+ long nanos = System.nanoTime();
try {
backtrace:
#00 pc 0001e930 /system/lib/libc.so
#01 pc 0001c944 /system/lib/libc.so (abort+4)
#02 pc 0004b0a5 /data/app-lib/org.chromium.content_shell_apk-2/libbase.cr.so (base::debug::BreakDebugger()+8)
#03 pc 00063227 /data/app-lib/org.chromium.content_shell_apk-2/libbase.cr.so (logging::LogMessage::~LogMessage()+342)
#04 pc 000451a1 /data/app-lib/org.chromium.content_shell_apk-2/libbase.cr.so (base::android::CheckException(_JNIEnv*)+416)
#05 pc 0006658d /data/app-lib/org.chromium.content_shell_apk-2/libcontent_shell_content_view.cr.so
CheckException
/home/balazs/src/chromium-android/src/out/Release/../../base/android/jni_generator/jni_generator_helper.h:33
#06 pc 000676f9 /data/app-lib/org.chromium.content_shell_apk-2/libcontent_shell_content_view.cr.so
This file has been truncated, but you can view the full file.
--------- beginning of /dev/log/main
I/McDaemon( 2150): Daemon starting up...
I/McDaemon( 2150): Socket interface version is 0.2
I/McDaemon( 2150): *** SAMSUNG_Exynos5420_Release_tbase-200_V008_Patch1 ###
I/McDaemon( 2150): Build timestamp is Oct 31 2013 10:29:01
I/McDaemon( 2150): Checking version of MobiCore
I/McDaemon( 2150): Product ID is tbase-200_EXYNOS5420_V008_Patch1
I/McDaemon( 2150): (null)
I/McDaemon( 2150): (null)
I/McDaemon( 2150): (null)
Program received signal SIGSEGV, Segmentation fault.
0x00007fffeab1003d in tcmalloc::Abort () from /home/balazs/src/chromium/src/out/Debug/libppGoogleNaClPluginChrome.so
(gdb) bt 15
#0 0x00007fffeab1003d in tcmalloc::Abort () from /home/balazs/src/chromium/src/out/Debug/libppGoogleNaClPluginChrome.so
#1 0x00007fffeab22196 in tcmalloc::Log () from /home/balazs/src/chromium/src/out/Debug/libppGoogleNaClPluginChrome.so
#2 0x00007fffeab0606d in tcmalloc::FL_Pop () from /home/balazs/src/chromium/src/out/Debug/libppGoogleNaClPluginChrome.so
#3 0x00007fffeab0b183 in tcmalloc::ThreadCache::FreeList::Pop () from /home/balazs/src/chromium/src/out/Debug/libppGoogleNaClPluginChrome.so
#4 0x00007fffeab0b3c6 in tcmalloc::ThreadCache::Allocate () from /home/balazs/src/chromium/src/out/Debug/libppGoogleNaClPluginChrome.so
#5 0x00007fffeab086d7 in do_malloc () from /home/balazs/src/chromium/src/out/Debug/libppGoogleNaClPluginChrome.so
#6 0x00007fffeab0cf14 in MallocBlock::Allocate () from /home/balazs/src/chromium/src/
*.c; *.cc; *.cpp; *.cp; *.cxx; *.c++; *.h; *.hh; *.hpp; *.hxx;
diff --git a/Source/core/fetch/MemoryCache.cpp b/Source/core/fetch/MemoryCache.cpp
index bdc1df2..63ff639 100644
--- a/Source/core/fetch/MemoryCache.cpp
+++ b/Source/core/fetch/MemoryCache.cpp
@@ -295,6 +295,8 @@ void MemoryCache::evict(Resource* resource)
{
ASSERT(WTF::isMainThread());
WTF_LOG(ResourceLoading, "Evicting resource %p for '%s' from cache", resource, resource->url().string().latin1().data());
+ if (resource->type() == Resource::MainResource)
+ fprintf(stderr, "MemCache evict main resource: '%s'\n", resource->url().string().latin1().data());
diff --git a/content/browser/android/content_video_view.cc b/content/browser/android/content_video_view.cc
index 116e7b4..63c4f01 100644
--- a/content/browser/android/content_video_view.cc
+++ b/content/browser/android/content_video_view.cc
@@ -100,6 +100,7 @@ void ContentVideoView::OnPlaybackComplete() {
}
void ContentVideoView::OnExitFullscreen() {
+ LOG(ERROR) << __FUNCTION__;
DestroyContentVideoView(false);
<html>
<script>
function onTouchEnd(event) {
var input;
if (input === undefined)
input = document.getElementById("myinput");
if (event.target == input)
event.target.focus();
event.preventDefault();
<code>
Eina_Bool ewk_view_page_visibility_state_set(Evas_Object* ewkView
, Ewk_Page_Visibility_State page_visibility_state
, Eina_Bool initial_state)
</code>