platform/framework/web/chromium-efl.git
6 years agoFix for WRT installer error
uzair.jaleel [Mon, 16 Feb 2015 17:00:43 +0000 (22:30 +0530)]
Fix for WRT installer error

Native buffer manager should get called in zero copy only.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=11451
Reviewed by: Prashant Nevase, venu musham

Change-Id: Ib151bd2a3a721a8a8b5399863aa24d5073bc5f59
Signed-off-by: uzair.jaleel <uzair.jaleel@samsung.com>
6 years agoFix for Bad drawable error in zero copy
uzair.jaleel [Fri, 13 Feb 2015 09:42:33 +0000 (15:12 +0530)]
Fix for Bad drawable error in zero copy

Added XSync(..) call which basically flushes the output buffer
and then waits until all requests have been received and
processed by the X server with this bad drawable issue is fixed.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=4908
Reviewed by: DaeHyun Ko, Prashant Nevase

Change-Id:I20aa39e43c191bf62f2f12e6f2f6bd6b2b8a1cc5
Signed-off-by: uzair.jaleel <uzair.jaleel@samsung.com>
6 years ago[M40][Tizen3.0]Enabling gold linker for hawk-p TV target
Antonio Gomes [Thu, 12 Feb 2015 23:35:39 +0000 (15:35 -0800)]
[M40][Tizen3.0]Enabling gold linker for hawk-p TV target

Recently TV builds started suffering from the following
problem:

[  XXs] /home/abuild/rpmbuild/BUILD/chromium-efl-40.2214.38.51/build/prebuild/ld:
error: DIV usage mismatch between //usr/lib/libc_nonshared.a(atexit.oS) and output
[  XXs] /home/abuild/rpmbuild/BUILD/chromium-efl-40.2214.38.51/build/prebuild/ld:
error: DIV usage mismatch between /usr/lib/gcc/armv7l-tizen-linux-gnueabi/4.8.3/crtendS.o and output
[  XXs] /home/abuild/rpmbuild/BUILD/chromium-efl-40.2214.38.51/build/prebuild/ld:
error: DIV usage mismatch between /usr/lib/crtn.o and output

The above problem is explained in details here [1] and fixed in
gold linker itself, released as part of binutils-2.24 [2].

However, our current bundled linker gold binary (in build/prebuild)
built by Viatcheslav Ostapenko was based on binutils-2.23 [3].
Patch fixes the problem by rebuilding linker gold from [1]
and enabling it for TV builds.

[1] https://sourceware.org/ml/binutils/2012-12/msg00202.html
[2] http://ftp.gnu.org/gnu/binutils/binutils-2.24.tar.gz
[3] http://ftp.gnu.org/gnu/binutils/binutils-2.23.2.tar.gz

Patch also work arounds a Tizen 3.0 GBS QEMU problem that was causing
the following issue with linker gold:

[ XXs] eu-strip: while writing '<path>/<package>/<binary>': cannot write data to file

Problem is reported in various places, including [4], [5] and [6].
The solution applied to Tizen public requires to patch QEMU [7].
Until our Tizen 3.x QEMU is fixed, we use a home made x64 bit statically
linked eu-strip, so that we can link with gold.

[4] https://bugzilla.redhat.com/show_bug.cgi?id=1174267
[5] http://lists.gnu.org/archive/html/qemu-devel/2014-12/msg02702.html
[6] http://bit.ly/1E8W1Uo
[7] https://review.tizen.org/gerrit/#/c/32365/

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=10967
Reviewed by: Antonio Gomes, KC Park, Piotr Tworek

Change-Id: Ifd5cb31b1fa6d67eac633e371574c8bbd715f492
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years agoDefine for MENU_ITEM_SEARCH_IN_SPOTLIGHT option in context menu
Maciej Piotrowski [Tue, 10 Feb 2015 10:53:20 +0000 (11:53 +0100)]
Define for MENU_ITEM_SEARCH_IN_SPOTLIGHT option in context menu

MENU_ITEM_SEARCH_IN_SPOTLIGHT menu option shouldn't be present on Tizen Mobile.
Reviewed by: Antonio Gomes, Piotr Grad

Change-Id: Iaf52620470b430deaec1e52ea589ae57eafab4b1
Signed-off-by: Maciej Piotrowski <m.piotrowski@samsung.com>
6 years agoChanged the API of the capi-appfw-application in Tizen Mobile
Youngcheol Kang [Mon, 16 Feb 2015 12:47:57 +0000 (21:47 +0900)]
Changed the API of the capi-appfw-application in Tizen Mobile

According to the change of API in the capi-appfw-application,
Some API were changed in the browser applications.

- Changed the 'app_event_callback_s' to the 'ui_app_lifecycle_callback_s'
  Also below structures were removed about this changing.
  > low_memory
  > low_battery
  > device_orientation
  > language_changed
  > region_format_changed

- Changed the 'app_efl_main(&argc, &argv, NULL, NULL)'
  to the 'ui_app_main(argc, argv, NULL, NULL)'
Reviewed by: Antonio Gomes, Tomasz Weglarski, jong chul park, joonhwan kwon

Change-Id: Ib3ff835851965d6787abaf7bf3d45b424e353ff0
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
6 years agoAdd multisampling samples count to '4' for canvas.
Suchit Agrawal [Wed, 11 Feb 2015 15:16:44 +0000 (15:16 +0000)]
Add multisampling samples count to '4' for canvas.

Default multisampling count set to 4.
We can change it using command line argument :
 --canvas-msaa-sample-count=|value|
Reviewed by: Prashant Nevase, venu musham

Change-Id: I3a33cef5542946af99dd038fa1c9b28c96b767b7
Signed-off-by: Suchit Agrawal <a.suchit@samsung.com>
6 years agoRevert "Remove ffmpeg dependency"
Venugopal S M [Sat, 14 Feb 2015 16:54:08 +0000 (01:54 +0900)]
Revert "Remove ffmpeg dependency"

FFT is used for Analyzing WebAudio track. It requires FFMPEG.
This reverts commit f8d73fd6fe9b0a579d668667f3891a3bb6e8c03e.
This also fixes the renderer crash issue in some webaudio site.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=11414
Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=10516

Change-Id: I93c75a7e6ae55761ddd16ca92c32dbce64ea6623
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
6 years agoRevert "Bring up drag option in context menu"
SeungSeop Park [Sat, 14 Feb 2015 14:36:42 +0000 (23:36 +0900)]
Revert "Bring up drag option in context menu"

This reverts commit e421b5aaf5299487e933b131a98373d485807287.

6 years agoBring up drag option in context menu
Daniel Waślicki [Mon, 9 Feb 2015 07:39:27 +0000 (08:39 +0100)]
Bring up drag option in context menu

Starting Drag&Drop has to be started from context menu.
This patch brings up this option, by removing EWK_BRINGUP
check.

Together with: I1af148db205ae3bac19eb76c7756a22d0bf685df

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=10755
Change-Id: I90e2cb7266a9aab59e393b74d269b0ab8c527585
Signed-off-by: Daniel Waślicki <d.waslicki@samsung.com>
6 years agotemporary fix! - disable drag&drop
Tomasz Czekala [Sat, 14 Feb 2015 12:52:44 +0000 (13:52 +0100)]
temporary fix! - disable drag&drop

Drag&Drop is causing problems when long pressing links, so it has to
be disabled until it is fixed

Change-Id: I3a603790518ef275e7ee387d458177aec53fd168
Signed-off-by: Tomasz Czekala <t.czekala@partner.samsung.com>
6 years agofixup! [Tizen][WebRTC][M0] Enable video capture port on M0
msu.koo [Fri, 13 Feb 2015 15:03:41 +0000 (00:03 +0900)]
fixup! [Tizen][WebRTC][M0] Enable video capture port on M0

This patch fixed
 - Remove unrequired format converting before returning the captured buffer
   to VideoCaptureController.
 - Fix the issue which the device rotation is
   not reflecting to captured video frames.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=11388
Reviewed by: SeungSeop Park, Sharath Kamath

Change-Id: Ib9d6eb0f70784777c24b57d2a602b38e165d311c
Signed-off-by: msu.koo <msu.koo@samsung.com>
6 years ago[MM]Gstreamer 1.2 Upversion
Venugopal S M [Thu, 12 Feb 2015 06:45:46 +0000 (12:15 +0530)]
[MM]Gstreamer 1.2 Upversion

- Media Element with GST works with AppSink.
- Media Source Extension works with AppSink.
  PIXMAP support for video playback is not present
- WebAudio works
- WebRtc needs platform support

Merged commits:
Ib377730584f3f3ffd61776facb63d8d196f64d1f
I0cc3c9c1c43d97c2c3d518655401be40757c47c7

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=10745
Reviewed by: SeungSeop Park, Sharath Kamath, Venugopal S M

Change-Id: I36675af2bbfd63d7d8c7fdfb5bf34585ca57ffd1
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
6 years agoAdded implementation of Drag&Drop for EFL port
Daniel Waślicki [Thu, 5 Feb 2015 13:03:36 +0000 (14:03 +0100)]
Added implementation of Drag&Drop for EFL port

This patch adds implementation of Drag&Drop for EFL port.
D&D will be enabled after long press and allows to drag
any elements.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=10755
Reviewed by: Antonio Gomes, Piotr Tworek

Change-Id: I3fec12f5bcbd3544b08ba4bd24b23419f828d1fe
Signed-off-by: Daniel Waślicki <d.waslicki@samsung.com>
6 years agoDisable CAPI port for ME and PIXMAP for Multimedia
hyungsun.ryu [Fri, 13 Feb 2015 11:58:48 +0000 (20:58 +0900)]
Disable CAPI port for ME and PIXMAP for Multimedia

Recently, MSE and ME is unstable due to platfrom upversion.
Hence, Using capi-player and PXMAP will be diabled until platfom is stable.

- MediaElement will work using Gstreamer
- ME, MSE and WebRTC will work using appsink.
Reviewed by: Antonio Gomes, Hyungsun Ryu, Piotr Tworek, SeungSeop Park

Change-Id: If76a10f50195c3477b759f10eefed4b7ec040f5e
Signed-off-by: hyungsun.ryu <hyungsun.ryu@samsung.com>
6 years agofixup! fixup! Add library path to run layout_test
KangYong Park [Fri, 13 Feb 2015 01:35:27 +0000 (10:35 +0900)]
fixup! fixup! Add library path to run layout_test

For importing libraries, it need to get host architecture.
And then, bash operator is used, expecially "==".

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=11098
Reviewed by: Antonio Gomes, Piotr Tworek

Change-Id: I17ffc71d231aad7eeff00756a53f949caef5543f
Signed-off-by: KangYong Park <kaka.park@samsung.com>
6 years agotemporary fix - add Ewk_Context to ewk_notification_showed to make WRT compile
Tomasz Czekala [Fri, 13 Feb 2015 12:48:29 +0000 (13:48 +0100)]
temporary fix - add Ewk_Context to ewk_notification_showed to make WRT compile

Context was not used and we removed it, but WRT assumes that
ewk_notification_showed takes context as one of the parameters
and after our Notification API refactoring it doesn't compile.
WRT will update to the new API, but for now we need this temporary
fix for it to work.
Reviewed by: Piotr Tworek, joonhwan kwon

Change-Id: I6d1fad4c07c4bdfdbef3511864a4b71abb71b429
Signed-off-by: Tomasz Czekala <t.czekala@partner.samsung.com>
6 years agoRemove EWK_BRINGUP from ScopedAllowWait
Marcin Kędzierski [Thu, 12 Feb 2015 11:14:02 +0000 (12:14 +0100)]
Remove EWK_BRINGUP from ScopedAllowWait

ScopedAllowWait was disabled in impl directory by EWK_BRINGUP define,
because using ScopedAllowWait caused compilation error. The reason is
that ScopedAllowWait is private part of ThreadRestrictions. It can be
used only if it is a member of a friend class. Adding new friend class
to ThreadRestrictinos was used in m34:
http://suprem.sec.samsung.net/gerrit/#/c/1202/ . We don't want to modify
base classes so Kamil Klimek suggests to use solution taken from android
port. To create class which is already friend of ThreadRestrictions.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=7271
Reviewed by: Antonio Gomes, Piotr Tworek

Change-Id: I10ccab9ab7b1d14c1d4153c1272daa6295914afd
Signed-off-by: Marcin Kędzierski <m.kedzierski@samsung.com>
6 years agofixup! Refactor notification API
Tomasz Czekala [Fri, 13 Feb 2015 09:47:24 +0000 (10:47 +0100)]
fixup! Refactor notification API

Moved members initialization to initialization list in unittests to make
the code compatible with older C++ and compile with our mobile toolchain

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9526
Reviewed by: Filip Piechocki, Piotr Tworek, SeungSeop Park

Change-Id: I9f6955a04e172464d8225c9dbab2da2d92f10861
Signed-off-by: Tomasz Czekala <t.czekala@partner.samsung.com>
6 years agoChange position of TTS engine initialization
Dongjun Kim [Wed, 11 Feb 2015 11:24:30 +0000 (20:24 +0900)]
Change position of TTS engine initialization

TTS is always initialized whenever we are open the webpage.
Even if it does not have contents for WebSpeech, tts engine was
initialized.

So, we need to change position of TTS engine intialization
into the "OnInitializeVoiceList()".
TTS engine will begin when page load with tts contents.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=10974
Reviewed by: Jaesik Chang, Piotr Tworek

Change-Id: I48af1aba8745f9abbffcc4f4245b6d0da6e6b295
Signed-off-by: Dongjun Kim <djmix.kim@samsung.com>
6 years agoEnable exporting blink locale pak files, and use them correctly.
Bartlomiej Gajda [Wed, 11 Feb 2015 16:13:36 +0000 (17:13 +0100)]
Enable exporting blink locale pak files, and use them correctly.

[Note] This uses language settings set while browser was run,
  to fill locale strings for things like Submit button.
[Requirement] WCS TC 213

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=6508
Reviewed by: Jaesik Chang, Piotr Grad

Change-Id: Ia4f21fb0bb18f37457a0c729bf1aa2fb71e9e82e
Signed-off-by: Bartlomiej Gajda <b.gajda@samsung.com>
6 years agoElm objects were out off screen or not resized upon rotate.
Piotr Grad [Thu, 12 Feb 2015 14:00:31 +0000 (15:00 +0100)]
Elm objects were out off screen or not resized upon rotate.

As a workaround of platform issue this patch propagates window size change upon
rotation to all efl popups.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=11223
Reviewed by: DONGJUN KiM, Jaesik Chang, Piotr Grad

Change-Id: I5dd559d2c9018819742b6c172376ef40be09d0ae
Signed-off-by: Piotr Grad <p.grad@samsung.com>
6 years agoFix user agent setter unittests
Tomasz Czekala [Tue, 3 Feb 2015 07:41:55 +0000 (08:41 +0100)]
Fix user agent setter unittests

Unittests for ewk_view_user_agent_set didn't test it properly. Positive test
case didn't even invoke ewk_view_user_agent_set. This patch adds
meaningful tests and adds tests for empty and NULL string

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=10887
Reviewed by: DONGJUN KiM, Piotr Tworek

Change-Id: Ibba46e6579a8542914310c4a3fae6c2dd38a1768
Signed-off-by: Tomasz Czekala <t.czekala@partner.samsung.com>
6 years agoFix for utc_blink_ewk_view_orientation_send.TEST_0DG test.
Lukasz Krok [Mon, 9 Feb 2015 16:39:43 +0000 (17:39 +0100)]
Fix for utc_blink_ewk_view_orientation_send.TEST_0DG test.

If this test is run as first in a test suit,
the orientation will already be 0 degrees (default),
so the orientation change event won't fire
and the test will fail. Setting orientation to other
value before checking ewk_view_orientation_send()
method with 0 as argument resolves the problem.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9541
Reviewed by: DONGJUN KiM, Filip Piechocki, Kamil Klimek

Change-Id: I4e5b96c0b17ec6589aebcd8dca5ea8f3ee9e9477
Signed-off-by: Lukasz Krok <l.krok@samsung.com>
6 years agoContext popup menu is not showing.
Karol Furmaniak [Mon, 9 Feb 2015 12:22:38 +0000 (13:22 +0100)]
Context popup menu is not showing.

Removed creating new efl window for popup.
Added creating context popup menu in webview window,
there is no need to create new one.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9051
Reviewed by: Antonio Gomes, DONGJUN KiM, Piotr Grad

Change-Id: Id4583df4d4c958804baa95ad8c03c5617786d353
Signed-off-by: Karol Furmaniak <k.furmaniak@samsung.com>
6 years agoRemove dead code and warnings from RenderWidgetHostViewEfl
Piotr Tworek [Tue, 10 Feb 2015 11:36:43 +0000 (12:36 +0100)]
Remove dead code and warnings from RenderWidgetHostViewEfl

Chromium removed support for SW rendering around milestone 36.
Chromium-efl port followed upstream and currently needs OpenGL to render
web content. Still there are some code paths left behind frow SW
rendering days. Since nobody seems to be interested in resurrecting
those code paths lets just remove them.
Reviewed by: Antonio Gomes, Daniel Waślicki, SeungSeop Park, arno renevier

Change-Id: Ic3d85229272df9259bde087f95d8f1082fdf27e6
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
6 years agoFix select picker
Robert Jadczak [Tue, 10 Feb 2015 12:54:29 +0000 (13:54 +0100)]
Fix select picker

Removed creating new window for select picker and unnecessary code from radio
icon handler. Added initialization of form navigation flag. Disallowed taking
focus by radio icon.
Reviewed by: DONGJUN KiM, Karol Furmaniak, Piotr Grad

Change-Id: If9f4eba148565c4f10933e690946b63cd6af4a67
Signed-off-by: Robert Jadczak <r.jadczak@samsung.com>
6 years agoAuto context detection popup does not appear
Robert Jadczak [Mon, 9 Feb 2015 16:53:10 +0000 (17:53 +0100)]
Auto context detection popup does not appear

Added creating popup on existing webview window insted of creating new window.
Reviewed by: DONGJUN KiM, Piotr Grad

Change-Id: I1dc1d4472ae7029e22fe8c5efd6c9bfda69b5d3e
Signed-off-by: Robert Jadczak <r.jadczak@samsung.com>
6 years ago[Tizen][WebRTC] Fix audio crash fix by passing ecore Display open
vm.arjun [Wed, 11 Feb 2015 12:26:21 +0000 (17:56 +0530)]
[Tizen][WebRTC] Fix audio crash fix by passing ecore Display open

There is some problem with ecore_x_display_get() in chromium-efl.
So replacing the call with XOpenDisplay() as M34 does to fix the
browser crash during webRTC audio enabled.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=9217
Reviewed by: Prashant Nevase, SeungSeop Park

Change-Id: Ia12580fa78299e6dc64da50b89fb9c3d76002f15
Signed-off-by: vm.arjun <vm.arjun@samsung.com>
6 years agoMake buttons in javascript popups locale-aware.
Bartlomiej Gajda [Tue, 10 Feb 2015 17:47:36 +0000 (18:47 +0100)]
Make buttons in javascript popups locale-aware.

[Issue] WCS TC 214 - popups (alert(), confirm()) do not have translated buttons.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=6508
Reviewed by: DONGJUN KiM, Piotr Grad

Change-Id: Idd43446b9f0f37103c07ac19315386c0d7bcc245
Signed-off-by: Bartlomiej Gajda <b.gajda@samsung.com>
6 years ago[M34-Merge] Make sure context cleanup routines are invoked on chromium UI thread
Piotr Tworek [Tue, 16 Sep 2014 12:32:53 +0000 (14:32 +0200)]
[M34-Merge] Make sure context cleanup routines are invoked on chromium UI thread

Tha latest version of com.samsung.browser application calls EWK context
cleanup routines from a dedicated thread. Currently chromium-efl port
does not support this. Chromium creates its own threads and has
mechanisms for recognizing on which thread a piece of code is currently
being executed. Functions like MessageLoopProxy::current rely on it.
The implementation uses TLS to store required global data. As one can guess
such TLS data won't be initialized for threads created outside of chromium.

The patch adds extra checks for EWebContext cleanup routines which
com.samsung.browser tries to call from different threads. In case the code
detects it's called from non-UI thread it uses BrowserThread::PostTask to
re-schedule itself on the UI thread. This is mostly a compatibility patch.
In case of chromium implementation of EWK com.samsung.browser does not
actually gain anything by calling cleanup functions from a dedicated thread.
The actual cleanup is asynchronous anyway.

Currently known functions called from non chromium threads:
* ewk_context_cache_clear,
* ewk_context_web_indexed_database_delete_all,
* ewk_context_application_cache_delete_all,
* ewk_context_web_storage_delete_all,
* ewk_context_web_database_delete_all,
* ewk_context_form_candidate_data_delete_all,

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=5564

It seems that in M40 ClearFormCandidateDate also needs to be
launched from UI Thread. Added corresponding changes to original patch.
Reviewed by: DONGJUN KiM, Piotr Grad

Change-Id: I8fa5b4e9a142df091fe431378a9fb390e8bdf008
Signed-off-by: Michał Obrembski <m.obrembski@samsung.com>
Signed-off-by: Piotr Grad <p.grad@samsung.com>
6 years agoDo not show sugestions when Remember form data is disabled.
Karol Furmaniak [Thu, 12 Feb 2015 12:34:21 +0000 (13:34 +0100)]
Do not show sugestions when Remember form data is disabled.

[Problem]: When Remember form data is disabled, popup list with
sugestions appears.

[Solution]: Check if Remember form data is enabled before
showin popup list with sugestions.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=11271
Reviewed by: DONGJUN KiM, Piotr Grad

Change-Id: I699766a9601d651013ab7badd73fe12e371cf988
Signed-off-by: Karol Furmaniak <k.furmaniak@samsung.com>
6 years agoDo not autofill password when remember password option is off.
Karol Furmaniak [Thu, 12 Feb 2015 11:26:06 +0000 (12:26 +0100)]
Do not autofill password when remember password option is off.

[Problem]: When Remeber password option is off password
is still autofilling.

[Solution]: Set PasswordManagerFillingEnabled with
Remember password option value.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=11011
Reviewed by: DONGJUN KiM, Piotr Grad

Change-Id: I49cb4e82a31c53223ede8bed62ff61aac19a94c5
Signed-off-by: Karol Furmaniak <k.furmaniak@samsung.com>
6 years agoStored password is not filled.
Karol Furmaniak [Thu, 12 Feb 2015 10:01:40 +0000 (11:01 +0100)]
Stored password is not filled.

[Problem] On login page (fb.com for example)
stored password for login is not autofilled

[Solution] Mistake in PasswordFormManager::IgnoreResult.
There should be new_password_element instead of
password_element.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=11011
Reviewed by: DONGJUN KiM, Piotr Grad

Change-Id: I8072487fbd7b973d6592cc057a0c8be194837ad0
Signed-off-by: Karol Furmaniak <k.furmaniak@samsung.com>
6 years agoRevert "Only disable parallel gyp execution in case it doesn't work"
Piotr Tworek [Wed, 11 Feb 2015 11:27:54 +0000 (12:27 +0100)]
Revert "Only disable parallel gyp execution in case it doesn't work"

This reverts commit 6a01b928d8c8bbd0aeb0a4501cb23c2647d02d21.

Sometimes when pressing CTRL+C the GBS tries to unmount before all of
the gyp subprocesses terminate. Because python multiprocessing pool uses
/dev/shm the unmount fails. Fro what I can see this is a GBS specific
issue. GYP input.py file does catch keyboard interrupt and tells all
subprocesses to terminate. The script however is called from RPM spec
file which does not allow us to wait for it's children to terminate.
Reviewed by: Antonio Gomes, Piotr Grad, SeungSeop Park, arno renevier

Change-Id: I07c5abf90bb674952cc1caac33d7a5976ebc79a4
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
6 years agoRefactor notification API
Kamil Klimek [Fri, 2 Jan 2015 13:25:23 +0000 (14:25 +0100)]
Refactor notification API

HTML5 notification handling in chromium has changed and it made
impossible to implement some of existing EWK notification APIS. This
required us to refactor notification API. Notifications are now not
related with webview.

Deprecated:
 * notification,show smart callback
   - smart callbacks require webview Evas_Object
 * notification,cancel smart callback
   - smart callbacks require webview Evas_Object
 * ewk_notification_icon_url_get
   - icon is now stored internaly as SkBitmap
 * ewk_view_notification_closed
   - notifications are not related to webview

Introduced:
 * ewk_notification_callbacks_set
   - api to set callbacks for notification show/cancel
 * ewk_notification_callbacks_reset
   - resets notification callbacks to NULL
 * ewk_notification_icon_get
   - creates Evas_Object with notification icon
 * ewk_notification_closed
   - notify engine that notification was closed

Modified:
 * ewk_notification_clicked
   - return Eina_Bool to indicate if event was dispatched
   - removed Ewk_Context parameter as it is not required anymore
 * ewk_notification_showed
   - return Eina_Bool to indicate if event was dispatched
   - removed Ewk_Context parameter as it is not required anymore
 * ewk_notification_cached_permissions_set
   - return Eina_Bool to indicate if permissions were set
   - removed Ewk_Context parameter as it is not required anymore
 * ewk_notification_permission_reply
   - return Eina_Bool to indicate if operation was successful
 * ewk_notification_permission_request_set
   - return Eina_Bool to indicate if operation was successful
 * ewk_notification_permission_request_suspend
   - return Eina_Bool to indicate if operation was successful
 * ewk_notification_policies_removed
   - return Eina_Bool to indicate if operation was successful
   - removed Ewk_Context parameter as it is not required anymore

Additionaly all notification related unit tests were refactored to share
common base setup. Some unit tests were also improved to test not only
API calls but check also expected results like checking if proper JS
engine events were produced.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9540
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9526
Reviewed by: Antonio Gomes, Jaesik Chang, Janusz Majnert, Piotr Tworek

Change-Id: I0d5788b2a4e00a1af2d5dc6479244cc6150627df
Signed-off-by: Kamil Klimek <k.klimek@partner.samsung.com>
6 years agoRevert "Set RenderWidgetHostImpl visibility depending on presence application on...
Dongjun Kim [Thu, 12 Feb 2015 08:42:42 +0000 (17:42 +0900)]
Revert "Set RenderWidgetHostImpl visibility depending on presence application on screen"

After this patch, elm_win_alpha_set() does not work on selectpicker and js popup
This reverts commit e67c2af21f5598235bd78e4e274d738873cb8078.
Reviewed by: Jaesik Chang, Piotr Grad, Piotr Tworek

Change-Id: Iafc60a3409729cd8ba9afb06ba7b51df4fc39a6a
Signed-off-by: Dongjun Kim <djmix.kim@samsung.com>
6 years ago[HOTFIX][GCC 4.9] build/prebuild/ld: -plugin: unknown option
Antonio Gomes [Wed, 11 Feb 2015 13:16:31 +0000 (05:16 -0800)]
[HOTFIX][GCC 4.9] build/prebuild/ld: -plugin: unknown option

In GCC 4.9, the linker (either bfd or gold) is called with the -plugin argument
which our current bundled gold linker (in build/prebuild) does not accept.

[ XXs] /(..)/chromium-efl-40.2214.38.06/build/prebuild/ld: -plugin: unknown option

Since our gold a x64 64bit statically linked binary, even if we rebuild it
with plugin support enabled, the plugin being loaded would be a 32bit ARM binary.
and load would fail.

[  XXs] (..)/build/prebuild/ld: error: /usr/lib/gcc/armv7l-tizen-linux-gnueabi/<gcc version>/liblto_plugin.so:
could not load plugin library: /usr/lib/gcc/armv7l-tizen-linux-gnueabi/<gcc version>/liblto_plugin.so:
wrong ELF class: ELFCLASS32

So, as a work around to the problem, patch disables the linker's plugins
with '-fno-use-linker-plugin', as per https://gcc.gnu.org/wiki/LinkTimeOptimizationFAQ .

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=11089#c5
Reviewed by: Piotr Tworek, joonhwan kwon

Change-Id: Ibf408bdc0fb7cd464b59eef53a26215b67fc3c34
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
6 years ago[TV] Disabling unsupported sensor feature on TV target
Youngsoo Choi [Wed, 11 Feb 2015 08:46:37 +0000 (17:46 +0900)]
[TV] Disabling unsupported sensor feature on TV target

The TV target does not support sensor feature
such as orientation, accelerometer, gyroscope, and etc.

Thus, it needs to be disabled.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=11280
Reviewed by: Antonio Gomes, KC Park

Change-Id: I92a96438a25bedaf6657c9881e8c90b2d56afe8f
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
6 years agoFixed autofill enabled option
Michał Obrembski [Wed, 11 Feb 2015 12:36:54 +0000 (13:36 +0100)]
Fixed autofill enabled option

Autofill popup was shown even if Autofill was turned off
in browser settings. This fixes that behavior.
Reviewed by: Jaesik Chang, Piotr Grad

Change-Id: I6c0763005be3a349c1be31b6709228bdb2c0a2e0
Signed-off-by: Michał Obrembski <m.obrembski@samsung.com>
6 years agofixup! Implement support for autofill feature.
Tomasz Czekala [Wed, 11 Feb 2015 09:31:18 +0000 (10:31 +0100)]
fixup! Implement support for autofill feature.

Fixes for the patch http://165.213.202.130:8080/#/c/73496/

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9520
Reviewed by: Jaesik Chang, Kamil Klimek

Change-Id: Ia87fe79fe159b6e7b023db39fd39999aaed743fd
Signed-off-by: Tomasz Czekala <t.czekala@partner.samsung.com>
6 years agoFix missing translation for menu option
Maciej Piotrowski [Tue, 10 Feb 2015 07:55:11 +0000 (08:55 +0100)]
Fix missing translation for menu option

There was missing title for Search in web option
in context menu of selected text.
Reviewed by: Hyunhak Kim, Piotr Grad

Change-Id: Ib49b6420c03dfba38ae9d511799f5a3ecdb11eea
Signed-off-by: Maciej Piotrowski <m.piotrowski@samsung.com>
6 years agoewk_error_cancellation_get API added
Lukasz Krok [Tue, 10 Feb 2015 11:59:41 +0000 (12:59 +0100)]
ewk_error_cancellation_get API added

The API job is to check if an error was caused by a cancellation.
In current chromium implementation such situtation is not possible,
after I8f4e828bfcc63377678e475f44131dbc749b9c7f change.
Thus, the API will always return EINA_FALSE.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=11077
Reviewed by: Jaesik Chang, Piotr Tworek

Change-Id: Iedcf80af17747ac3330be5ea3f6f4c1e457afeca
Signed-off-by: Lukasz Krok <l.krok@samsung.com>
6 years agoEnable chromedriver build for selenium testing.
Kamil Nowac [Mon, 2 Feb 2015 16:59:39 +0000 (17:59 +0100)]
Enable chromedriver build for selenium testing.

To get chromedriver build add --define "build_chromedriver 1" to
build_mobile.sh command line. There will be chromedriver rpm file in GBS root
folder.

Install on the device.
run chrome driver with script: start-chrome-driver.sh
Reviewed by: Antonio Gomes, Janusz Majnert, Kamil Klimek

Change-Id: I5c00bf71813f91f5b3a5f18c389d2bdeb8f916d3
Signed-off-by: Kamil Nowac <k.nowac@samsung.com>
6 years agoBreak pointer cycle between CookieManager and content::URLRequestContextGetterEfl.
Wojciech Wiśniewski [Tue, 20 Jan 2015 17:29:10 +0000 (18:29 +0100)]
Break pointer cycle between CookieManager and content::URLRequestContextGetterEfl.

These classes hold reference-counted pointers to each other. This was causing memory
leak.
Reviewed by: Daniel Waślicki, Janusz Majnert, Piotr Tworek, arno renevier

Change-Id: I2ea821715aac813c9e6e5f9d8c3122cf46d8ac75
Signed-off-by: Wojciech Wiśniewski <w.wisniewski@samsung.com>
6 years agoFix crash when navigating with JavaScriptDialogManager
Tomasz Czekala [Wed, 11 Feb 2015 11:00:02 +0000 (12:00 +0100)]
Fix crash when navigating with JavaScriptDialogManager

When JavaScriptDialog was present, going back to a previous page caused
crash, because in ~WebContentsImpl we check if dialog_manager_ is not NULL,
then we invoke WebContentsDestroyed on it. But dialog_manager_ is
not set to NULL when we release the manager in ~WebContentsDelegateEfl,
so web contents must be released before web contents delegate

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=11031
Reviewed by: Kamil Klimek, Piotr Tworek, SeungSeop Park

Change-Id: I6a6f8f9d92c99e92e4c2fab2711083cf15dc3b3d
Signed-off-by: Tomasz Czekala <t.czekala@partner.samsung.com>
6 years agofixup! Set RenderWidgetHostImpl visibility depending on presence application on screen
Piotr Tworek [Mon, 9 Feb 2015 14:34:16 +0000 (15:34 +0100)]
fixup! Set RenderWidgetHostImpl visibility depending on presence application on screen

The code makes sense on Mobile/TV where the application always occupies
the whole screen. In case of desktop where mutiple windows can be seen
at the same time, not so much. After the patch whenever the window is
unfocused its content disappears.
Reviewed by: Antonio Gomes, Kamil Klimek, SeungSeop Park, arno renevier

Change-Id: I021b09543d5143e8ed91c9a362d7ce4e16727a61
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
6 years agoUpdate TestExpectations for layout_test in desktop (chromium-efl)
KangYong Park [Tue, 10 Feb 2015 08:17:22 +0000 (17:17 +0900)]
Update TestExpectations for layout_test in desktop (chromium-efl)

When running layout tests, a number of 4000 errors occur.
Those failures slow down a full layout test run.
Skip them temporarily, so we can manage new failures.

It is related to below patch.
- http://165.213.202.130:8080/#/c/74587/
Reviewed by: Antonio Gomes, Gyuyoung Kim, SeungSeop Park

Change-Id: I156155e0568dda12ef87333457b54fab727d2851
Signed-off-by: KangYong Park <kaka.park@samsung.com>
6 years agofixup! Add support for focus UI in InputPicker
Piotr Tworek [Mon, 9 Feb 2015 13:55:56 +0000 (14:55 +0100)]
fixup! Add support for focus UI in InputPicker

Don't use internal _Eo_Opaque type. When Evas.h is included Evas_Object
typedef should take care of that. Code using evas should use always use
Evas_Object directly.
Reviewed by: Kamil Klimek, Piotr Grad, SeungSeop Park

Change-Id: Iad2ed39f9280dc50719a15be298142bb990167f0
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
6 years agoReturn focus to ewk_view after closing input picker
Robert Jadczak [Mon, 9 Feb 2015 16:40:22 +0000 (17:40 +0100)]
Return focus to ewk_view after closing input picker

Focus was not returned to ewk_view until user touched the screen.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8105
Reviewed by: Jaesik Chang, Piotr Grad

Change-Id: If1326a6adf61f583b95e48cfd8e4ea15572ae4e6
Signed-off-by: Robert Jadczak <r.jadczak@samsung.com>
6 years agoOnly disable parallel gyp execution in case it doesn't work
Piotr Tworek [Mon, 9 Feb 2015 13:45:05 +0000 (14:45 +0100)]
Only disable parallel gyp execution in case it doesn't work

Currently we always disable parallel gyp execution when running gyp
inside of GBS. This done because on some targets (TV 2.2.1) parallel
excution does not work due to broken python multiprocessing support.
The problem is, parallel execution works fine on Mobile or TV 3.0 and
disabling it meks gyp runs longer than necessary.

This patch uses an alternative solution. Only disable parallel gyp mode
in case gyp run in parallel such mode. I've tested it on both Mobile 2.4
and TV 2.2.1 targets and both work fine with such solution. The
difference is, Mobile 2.4 gyp run is now faster than previously.
Reviewed by: Antonio Gomes, Kamil Klimek, Piotr Grad, SeungSeop Park

Change-Id: Iff360c20b30435dd96255b393057ea3acfa9fa95
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
6 years agoAutoscroll issue after showing IME
Dongjun Kim [Wed, 11 Feb 2015 04:22:01 +0000 (13:22 +0900)]
Autoscroll issue after showing IME

Page is not resized if select picker menu hides item on page.
So we need to add function for auto-scroll after
"OnInputPanelStateChanged" and "HandleResize".

BUG: http://107.108.218.239/bugzilla/show_bug.cgi?id=10843
Reviewed by: Hyunhak Kim, Piotr Grad

Change-Id: I2ad0a1e4830c8ead519feac10213baf9aa3a7d81
Signed-off-by: Dongjun Kim <djmix.kim@samsung.com>
6 years agouBrowser: Fix support for enabling/disbling back and forward buttons.
Piotr Tworek [Mon, 9 Feb 2015 15:07:36 +0000 (16:07 +0100)]
uBrowser: Fix support for enabling/disbling back and forward buttons.

The idea is simple back and forward buttons should only be active when
there is actual history entry to navigate to. The feature is there, but
broken due two small bugs, fix them.
Reviewed by: Antonio Gomes, Kamil Klimek, arno renevier

Change-Id: I9f1529e23932e53af254d1b3181bc6bb2e2fb096
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
6 years agoAdd beta version of locale files for PL, and ko_KR.
Bartlomiej Gajda [Tue, 10 Feb 2015 11:47:27 +0000 (12:47 +0100)]
Add beta version of locale files for PL, and ko_KR.

[Note] Those are only for testing. Accuracy of translation
  can not be guaranteed.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=10689
Reviewed by: Jaesik Chang, Piotr Grad

Change-Id: I2f51109e8a5a4f199d9a4b8f66e6f0a4c48dadaf
Signed-off-by: Bartlomiej Gajda <b.gajda@samsung.com>
6 years agoAdded Tizen Trace package for debugging
Jongsoo Yoon [Tue, 10 Feb 2015 06:14:14 +0000 (15:14 +0900)]
Added Tizen Trace package for debugging

SQE usually use Tizen Trace for debugging.
So, it is needed to add "ttrace" package into chromium-efl

Bug : http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=11213
Reviewed by: Piotr Tworek, joonhwan kwon

Change-Id: I1691caa149527b9b3e167d8e5cdd78a5514ada7e
Signed-off-by: Jongsoo Yoon <join.yoon@samsung.com>
6 years agoTizen 2.4 support the aliasing/msaa on Mali-400
Anthony Liot [Sat, 7 Feb 2015 01:02:28 +0000 (17:02 -0800)]
Tizen 2.4 support the aliasing/msaa on Mali-400

The driver bug on Mali-400 was solved with the last driver
OpenGLES for Tizen 2.4

M0 device support both flags :
--gpu-rasterization-msaa-sample-count=4
--canvas-msaa-sample-count=4

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=11081
Reviewed by: Antonio Gomes, Prashant Nevase, venu musham

Change-Id: I94cd50d05456bc345b56530f2187bf598c269f76
Signed-off-by: Anthony Liot <anthony.liot@samsung.com>
6 years agofixup! Fix SkBitmap::config() removal in chrome.
Tomasz Weglarski [Tue, 10 Feb 2015 09:23:43 +0000 (10:23 +0100)]
fixup! Fix SkBitmap::config() removal in chrome.

[Requirement] WCS-TC-130

This patch fixes Command::deserialize method.
Reviewed by: Hyunhak Kim, Kamil Klimek, Marcin Kolibabka, Piotr Grad, Piotr Tworek

Change-Id: I3410c70da4942f1f5513959ad0f42ef617cb80f9
Signed-off-by: Tomasz Weglarski <t.weglarski@samsung.com>
6 years agouBrowser: Use touch events by default when running in mobile mode.
Piotr Tworek [Mon, 9 Feb 2015 15:10:32 +0000 (16:10 +0100)]
uBrowser: Use touch events by default when running in mobile mode.

The --mobile command line flag is useful to quickly test desktop build
of ubrowser in mobile-like configuration. Since tizen mobile uses touch
events by default also use them when ubrowser is started on desktop with
--mobile flag.
Reviewed by: Antonio Gomes, Kamil Klimek, arno renevier

Change-Id: I70ba80b76ba2f800cbcdd7cdd1cdc4f0aa6b7276
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
6 years agoSet initial value for auto contents detection flag
Robert Jadczak [Mon, 9 Feb 2015 13:26:18 +0000 (14:26 +0100)]
Set initial value for auto contents detection flag

m_detectContentsAutomatically member of Ewk_Settings was not initialized.
Reviewed by: Antonio Gomes, Cho Andy, Piotr Grad

Change-Id: Ie6e97dea411ab927a40944a75377603061617ec5
Signed-off-by: Robert Jadczak <r.jadczak@samsung.com>
6 years agoRemove dead comments and unnecesary warnings from command_line_efl
Piotr Tworek [Mon, 9 Feb 2015 14:08:20 +0000 (15:08 +0100)]
Remove dead comments and unnecesary warnings from command_line_efl

The code was commented out during M37 migration attempt. The warnings
were added to keep in mind the removed switches need to be investigated.
It's been good couple of months since that time and there is no
indication the swtiches are needed for M40. Remove the code and the
warnings as there is no good reason to keep them around any longer.
Reviewed by: Antonio Gomes, Piotr Grad

Change-Id: I1162bd5a3fe379a9a2ba125c39ff1694d635ac2c
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
6 years agoImplementation for date/time picker
Piotr Grad [Mon, 9 Feb 2015 11:01:16 +0000 (12:01 +0100)]
Implementation for date/time picker

[Requirement] WCS-TC-164
Current implementation was showing only date picker when date/time picker was
requested. Also proper translation for headers were added.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8765
Reviewed by: Hyunhak Kim, Karol Furmaniak, Piotr Grad

Change-Id: Ibf5ff2e1a3053e45daab92fd5f69f3d805902c59
Signed-off-by: Piotr Grad <p.grad@samsung.com>
6 years agoAllow layout_test to run on desktop with mesa software backends
KangYong Park [Mon, 9 Feb 2015 06:47:58 +0000 (15:47 +0900)]
Allow layout_test to run on desktop with mesa software backends

Some people like to test content_shell and layout_test over ssh.
Unfortunately hardware accelerated OpenGL does not work over ssh.
The only working backend for such configuration is mesa llfmpipe/softpipe.
Those backends however are considered as unsupported and are blacklisted
by EFL. Fortunately EFL allows us to ignore it's blacklist through
EVAS_GL_NO_BLACKLIST environment variable.
Reviewed by: Antonio Gomes, Kamil Klimek, Piotr Tworek

Change-Id: Ie35a5c3ece69780e52ac07e5e5617b7e3cf09435
Signed-off-by: KangYong Park <kaka.park@samsung.com>
6 years agoAdded translation of Javascript BeforeUnload Dialog.
Michał Obrembski [Mon, 9 Feb 2015 10:56:16 +0000 (11:56 +0100)]
Added translation of Javascript BeforeUnload Dialog.

[Requirement] WCS-TC-161
JavaScriptDialogManagerEfl has hardcoded message string,
which was used in Javascript BeforeUnloadDialog.
This hardcoded string was replaced with dgettext and
corresponding translations.
Reviewed by: Hyunhak Kim, Piotr Grad

Change-Id: If1a2e6d81c8780352d8454898107d23c3e5154e8
Signed-off-by: Michał Obrembski <m.obrembski@samsung.com>
6 years ago[M34-Merge] Not showing IME in URL Box when second tap to url box
Grzegorz Spryszynski [Mon, 9 Feb 2015 12:25:56 +0000 (13:25 +0100)]
[M34-Merge] Not showing IME in URL Box when second tap to url box

[Problem] IME is not shown after changing focus from
edit field on page to browser url bar. After that tapping
on any edit field cause no IME displaying.
[Solution] Removing internal flag (holding information whether
keyboard is visible or not) from im_context_efl and replace it
with ecore_imf_context_input_panel_state_get call.

Original commit: 165.213.202.130:8080/#/c/71929

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=11168
Reviewed by: Hyunhak Kim, Piotr Grad

Change-Id: Ia19b84824cd7d509dd0056b9166b8058462e3d66
Signed-off-by: Grzegorz Spryszynski <g.spryszynsk@samsung.com>
6 years agoSelect picker controls were to big
Piotr Grad [Mon, 9 Feb 2015 11:39:56 +0000 (12:39 +0100)]
Select picker controls were to big

[Requirement] WCS-TC- 178
Modified edc file to fit latest efl version.
Reviewed by: Hyunhak Kim, Karol Furmaniak

Change-Id: I5392d2dc71773cdec75fd743b3a7eebf99ca1162
Signed-off-by: Piotr Grad <p.grad@samsung.com>
6 years agofixup! "Save link" option implementation.
Marcin Strakowski [Fri, 6 Feb 2015 14:22:03 +0000 (15:22 +0100)]
fixup! "Save link" option implementation.

Fix! Browser crash after choose "Save link" option with
context menu when Internet is not available.

I added protection against an empty pointer
and display of message about not success.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=10651
Reviewed by: DONGJUN KiM, Piotr Grad

Change-Id: I3c59fa98c035ea0317eefad1d487341e5636edf6
Signed-off-by: Marcin Strakowski <m.strakowski@samsung.com>
6 years agoAdd an implementation of "auto contents detection"
Robert Jadczak [Thu, 5 Feb 2015 11:05:06 +0000 (12:05 +0100)]
Add an implementation of "auto contents detection"

Patch implements auto contents detection - Phone number and e-mail detection
with displaying corresponding options popup.

Together_with: Icb6e136c153cbb78056d0d0f95adc366777781b3
Together_with: Ia54a4f3b59a66f1a4227312855b51c17ad002c20

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=10638
Reviewed by: Hyunhak Kim, Piotr Grad

Change-Id: If36fa83390f7652f556e9633a8aca3eb4cd758b0
Signed-off-by: Robert Jadczak <r.jadczak@samsung.com>
6 years agoAdd support for focus UI in InputPicker
Piotr Grad [Sat, 7 Feb 2015 10:22:44 +0000 (11:22 +0100)]
Add support for focus UI in InputPicker

This commit is refactored merge from m34 branch.
Class InputPicker uses now ColorSelector widget from elm for select color.
H/W keyboard can now change values in Color Picker.

Original commit: http://165.213.202.130:8080/#/c/70449/

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9615
Reviewed by: Hyunhak Kim, Piotr Grad, Tomasz Węglarski

Change-Id: I84360792349677cd91a32618fa9a90746d369979
Signed-off-by: Piotr Grad <p.grad@samsung.com>
6 years agoHide Selection Handle when not in visible rect.
Karol Furmaniak [Tue, 3 Feb 2015 11:13:00 +0000 (12:13 +0100)]
Hide Selection Handle when not in visible rect.

[Requirement] WCS TC 26
[Problem]: When text in input field overflows, selection
handle is still visible.
[Solution] Do not show selection handle when it is not in
visible rect.

Together_with: I7e9825e423d2cb90145273e36d5419abb854e565

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=10692
Reviewed by: Jaesik Chang, Piotr Grad

Change-Id: I74d29bd92a9bb0359fb0da20de6df120316a9675
Signed-off-by: Karol Furmaniak <k.furmaniak@samsung.com>
6 years agoChange locale to be handled at start of each process.
Bartlomiej Gajda [Fri, 6 Feb 2015 14:55:31 +0000 (15:55 +0100)]
Change locale to be handled at start of each process.

[Note] This is better place to handle both process locale files,
  and it doesn't use hardcoded paths.
Reviewed by: Jaesik Chang, Piotr Grad

Change-Id: I8fa12fa3411f3dd48bda5997d6c49ab36301b530
Signed-off-by: Bartlomiej Gajda <b.gajda@samsung.com>
6 years agoRevert "Get rid off "Webkit" locale text domain"
Bartlomiej Gajda [Fri, 6 Feb 2015 11:24:02 +0000 (12:24 +0100)]
Revert "Get rid off "Webkit" locale text domain"

This reverts commit da0ae7b9d88c28c09fa9f7c3a597ac92d0ba7a7b.
Reviewed by: Jaesik Chang, Piotr Grad

Change-Id: Idc8777bcb8f44f540e82f10ed2fd4071615e2fa0
Signed-off-by: Bartlomiej Gajda <b.gajda@samsung.com>
6 years agoSet RenderWidgetHostImpl visibility depending on presence application on screen
s.prutskov [Thu, 5 Feb 2015 14:01:41 +0000 (15:01 +0100)]
Set RenderWidgetHostImpl visibility depending on presence application on screen

The key press handlers for "XF86Phone" and "XF86PowerOff" are removed.
Instead callbacks for EVAS_CALLBACK_CANVAS_FOCUS_IN (app canvas became visible)
and EVAS_CALLBACK_CANVAS_FOCUS_OUT (app canvas became invisible) are added.
Such approach presumes, that actions on application presence/absence on
screen shouldn't depend on key by which it was removed or brought to screen.
Now it depends on fact that application is shown or hidden. It resolves the
problem when screen became motionless after making screenshot (by pressing
"XF86Phone" + "XF86PowerOff")

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=10327
Reviewed by: Piotr Tworek, SeungSeop Park

Change-Id: I28d2d206e9fa5464f5d8cf9bc376ae745d7aa61f
Signed-off-by: s.prutskov <s.prutskov@samsung.com>
6 years agofixup! uBrowser: Reference EWK browser application
Arnaud Renevier [Fri, 6 Feb 2015 19:35:39 +0000 (11:35 -0800)]
fixup! uBrowser: Reference EWK browser application

When /bin/sh is not bash (for example, when it's dash), trying to launch
ubrowser.sh will result in errors "pushd: not found", "popd: not found"
and such.

This is because ubrowser.sh sources build/common.sh which contains
bashisms.

This patch launches ubrowser.sh with bash, and therefore prevents those
problems.
Reviewed by: Antonio Gomes, Piotr Tworek

Change-Id: I0b51bc9695b35d11cec08fe40ef73d1941012844
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
6 years agofixup! H/W keyboard connection between browser and webview.
Piotr Grad [Sat, 7 Feb 2015 13:50:24 +0000 (14:50 +0100)]
fixup! H/W keyboard connection between browser and webview.

We have to hardcode value for key 'down' and 'up' as they are mismatched
with VK_.
Reviewed by: Hyunhak Kim, Piotr Grad, Tomasz Węglarski

Change-Id: I4d496617973fd872bddf8c12d73041d66e3048de
Signed-off-by: Piotr Grad <p.grad@samsung.com>
6 years agoFix build warnings regarding wrong order of initialization.
Bartlomiej Gajda [Fri, 6 Feb 2015 12:36:07 +0000 (13:36 +0100)]
Fix build warnings regarding wrong order of initialization.

[Note] We should not have any warnings, as they might confuse developers, or be hidden errors.
Reviewed by: Hyunhak Kim, Piotr Grad, Piotr Tworek

Change-Id: Ica05788847bdd38e61335a900600d7f2f04d1ac2
Signed-off-by: Bartlomiej Gajda <b.gajda@samsung.com>
6 years agofixup! Implement "certificate,pem,set" callback.
Karol Furmaniak [Fri, 6 Feb 2015 11:00:09 +0000 (12:00 +0100)]
fixup! Implement "certificate,pem,set" callback.

[Problem]: Crash when certificate is not valid.
[Solution]: Release scoped_ptr when policy decision is supended.
Reviewed by: Gyuyoung Kim, Jaesik Chang, Piotr Grad

Change-Id: I36d2c6026987df7452c8c704d6e077854c8754fa
Signed-off-by: Karol Furmaniak <k.furmaniak@samsung.com>
Signed-off-by: Piotr Grad <p.grad@samsung.com>
6 years agofixup! Fix ewk shutdown procedure
Kamil Klimek [Sat, 7 Feb 2015 08:41:41 +0000 (17:41 +0900)]
fixup! Fix ewk shutdown procedure

Releasing default context if present.
EWK UT does not release default context anymore.
Reviewed by: Jaesik Chang, Piotr Tworek

Change-Id: I724cc1809fe09f61dccd44012272e4c30342a403
Signed-off-by: Kamil Klimek <k.klimek@partner.samsung.com>
6 years agoH/W keyboard connection between browser and webview.
Marcin Krakowiak [Fri, 6 Feb 2015 15:50:30 +0000 (16:50 +0100)]
H/W keyboard connection between browser and webview.

[Requirement] WCS-TC-126
This patch adds implementation for passing focus to app in case when key down
event with UP or DOWN key was not handled on chromium side.
Reviewed by: Hyunhak Kim, Piotr Grad

Change-Id: I5a7c623416df31e2581107fe345ccaecfa80f405
Signed-off-by: Marcin Krakowiak <m.krakowiak@samsung.com>
Signed-off-by: Piotr Grad <p.grad@samsung.com>
6 years agoFix crash in HandlePolicyResponseOnUIThread when WebContents is NULL
Tomasz Czekala [Fri, 6 Feb 2015 12:25:13 +0000 (13:25 +0100)]
Fix crash in HandlePolicyResponseOnUIThread when WebContents is NULL

In some situtations it was possible that HandlePolicyResponseOnUIThread
was called after related WebContents was already gone or when there was
no WebContents assigned to the Response

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9527
Reviewed by: Jaesik Chang, Janusz Majnert, Kamil Klimek, Piotr Grad, Piotr Tworek

Change-Id: Idb65a2684373a6a21543591f857a53d544090ac7
Signed-off-by: Tomasz Czekala <t.czekala@partner.samsung.com>
6 years agoImproper display of datepicker
Piotr Grad [Fri, 6 Feb 2015 12:04:47 +0000 (13:04 +0100)]
Improper display of datepicker

[Requirement] WCS-TC-164
Modified control.edc file for date picker to fit latest platform image.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=8765
Reviewed by: Hyunhak Kim, Karol Furmaniak, Marcin Krakowiak, Piotr Grad

Change-Id: Ia28c9174e5526274c1f87c49a5c3b1c50aef37c0
Signed-off-by: Piotr Grad <p.grad@samsung.com>
6 years agofixup! Implement "certificate,pem,set" callback.
Piotr Tworek [Fri, 6 Feb 2015 10:59:51 +0000 (11:59 +0100)]
fixup! Implement "certificate,pem,set" callback.

ContentBrowserClient::SetCertificatePem is called by chromium on IO
thread. We can't invoke EWK certificate,pem,set callback from non UI
threads. EWK is not a thread safe API. Also the code was triggering
asserts in chromium on every single https site I could find.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=11023
Reviewed by: Antonio Gomes, Kamil Klimek, SeungSeop Park

Change-Id: I121cbda6f9aca3e3a0749bb0b62981cb5dfc5952
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
6 years agoMake sure ELM_ACCEL is also set when running ubrowser on mobile
Piotr Tworek [Fri, 6 Feb 2015 11:29:12 +0000 (12:29 +0100)]
Make sure ELM_ACCEL is also set when running ubrowser on mobile

Since the EFL was upgraded to 1.12 on Tizen 2.4 the ELM_ACCEL needs to
be also when running the app on the target. Without it elementary tries
to use software rendering backend and creating Evas_GL fails in
RWHV_EFL.
Reviewed by: Kamil Klimek, SeungSeop Park

Change-Id: I936df969bedb14d9027dd305ee982a7be84468f0
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
6 years agoAdd support for "webprocess,crashed" EWK callback
Piotr Tworek [Fri, 6 Feb 2015 12:30:18 +0000 (13:30 +0100)]
Add support for "webprocess,crashed" EWK callback

It seems a little bit of code was lost while migrating some patches from
M34 to M40. According to EWK WebKit2 implementation the engine should
invoke "webprocess,crashed" callback whenever the webprocess crashes.
In case the callback is not handled by the EWK API user the engine should
show a simple page informing the user about the problematic situation.
Reviewed by: Janusz Majnert, Kamil Klimek, arno renevier

Change-Id: I39b9a7e4ee16606503f06b95c226dd4559b27b2a
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
6 years agoFix autozoom after autofocus
Konrad Zdunczyk [Wed, 4 Feb 2015 10:34:10 +0000 (11:34 +0100)]
Fix autozoom after autofocus

Webview was zoomed on text field after receiving autofocus by textfield (eg. google.com)
Autozoom should be done only after tap on textfield.
Autofocus is detected after fix and zoom isn't done.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=10608
Reviewed by: Antonio Gomes, Daniel Waślicki, Piotr Tworek

Change-Id: Ie29bd6ef6b905b03bef2d95135eb4812bf34ea30
Signed-off-by: Konrad Zdunczyk <k.zdunczyk@samsung.com>
6 years agoLarge handle is not appear after single tap on edit field.
Karol Furmaniak [Wed, 28 Jan 2015 12:28:31 +0000 (13:28 +0100)]
Large handle is not appear after single tap on edit field.

[Requirement] WCS TC30
[Problem]: After single tap on edit field large
handler is not appear.

[Solution]: Added showing large handle (without context menu)
after tap on edit field.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=10693
Reviewed by: Antonio Gomes, Jaesik Chang, Piotr Grad

Change-Id: Ideaa17f92329338a0a2be9166a5c56c3766dd0f0
Signed-off-by: Karol Furmaniak <k.furmaniak@samsung.com>
6 years agoRemove 'gclient sync' step in sync_repo.sh unless specified to do it
SeungSeop Park [Thu, 5 Feb 2015 14:56:27 +0000 (23:56 +0900)]
Remove 'gclient sync' step in sync_repo.sh unless specified to do it

Patch changes sync_repos.sh to sync only s-* repos because
it's time consuming to run gclient sync (and runhook) step.
You can run the gclient step as usual by 'sync_repo.sh --reset'.
Reviewed by: Antonio Gomes, Piotr Tworek

Change-Id: I7d1ce54e5bb933210bc6c689f561f0a91d483479
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
6 years agoCreate chromium-efl data path
JeongYeon Lee [Thu, 5 Feb 2015 02:38:05 +0000 (11:38 +0900)]
Create chromium-efl data path

Currently on Tizen chromium-efl wants to store temporary data
like application data, cache, databases etc. in /opt/usr/apps/chromium-efl.
It is path returned by Tizen's app_get_data_path function. The problem
is that Tizen does not create this path automatically during installation.
/opt/usr/apps requires root privileges in order to write. When we launch
any browser application from home screen, it runs as app user, which
has limited privileges. Of course when it tries to create some files
it fails, because of lack of required privilages. This patch creates
mentioned path after installation, which is done with root privileges
and allows us to create specific directory and change it's rights.
There is no possibility to replace hardcoded directory path with some
variable which keeps data directory, because it's not stored anywhere
in the environment.

Reviewed by: Antonio Gomes, Gyuyoung Kim, Kamil Klimek, Piotr Tworek, SeungSeop Park, Taeeun Kim
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=10606
Change-Id: I068024323375d2f00c88f1862da3874721a75cb9
Signed-off-by: JeongYeon Lee <jywings.lee@samsung.com>
6 years agofixup! Changed policy decision mechanism to use content resource throttle API
Piotr Tworek [Thu, 5 Feb 2015 16:30:52 +0000 (17:30 +0100)]
fixup! Changed policy decision mechanism to use content resource throttle API

Remove incorrect DCHECK. There won't be any response headers for a
request in case it was loaded thorugh protocols like file://. An easy
way to trigger the DCHECK is to simply run:

./out.x64/Debug/ubrowser <path to some html file>
Reviewed by: Piotr Grad, SeungSeop Park

Change-Id: Icb7cd589d759ab47df06d706156f3763e93089d3
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
6 years ago"Save link" option implementation.
Marcin Strakowski [Fri, 30 Jan 2015 13:25:06 +0000 (14:25 +0100)]
"Save link" option implementation.

[Requirement] WCS TC 56
Until now Save link/image was working only when it was implemented on
browser side. Currently we have to handle this due to lack of such impl.
in reference browser. This commit adds proper implementation together
with notification alert upon save.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=10651
Reviewed by: Hyunhak Kim, Jaesik Chang, Piotr Grad

Change-Id: Ic5d2e7cc41be87e73247cd0f97c159906443a9f7
Signed-off-by: Marcin Strakowski <m.strakowski@samsung.com>
6 years agoRemove gbs supplement repo for Tizen 2.4 mobile
Youngcheol Kang [Thu, 5 Feb 2015 00:26:01 +0000 (09:26 +0900)]
Remove gbs supplement repo for Tizen 2.4 mobile

We have to remove the supplement repo to make SPIN and BETA
build environment identically.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=11058
Reviewed by: Piotr Grad, Piotr Tworek, joonhwan kwon

Change-Id: I4393f33bcf30a7e75aee8bb96c03cd46941133b1
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
6 years agofixup! Implement support for autofill feature.
Kamil Klimek [Sat, 31 Jan 2015 11:18:31 +0000 (12:18 +0100)]
fixup! Implement support for autofill feature.

Implementation of autofill support was causing crashes at exit. It was
caused by direct dependency of autofill::PersonalDataManager on Prefs
that belong to BrowserContext - BrowserContext had shorter lifespan than
autofill::PersonalDataManager.

Another wrong aproach was making autofill::PersonalDataManager a
singleton. Because of dependency on BrowserContext it could not be
singleton. I've changed it to be created per BrowserContext and properly
respect IsOffTheRecord property. autofill::PersonalDataManager is
destroyed before related BrowserContext.
Reviewed by: Janusz Majnert, Piotr Grad, SeungSeop Park

Change-Id: I70a0209c55f19c1e20c223d5c077ff14a08f6b0c
Signed-off-by: Kamil Klimek <k.klimek@partner.samsung.com>
6 years agoNavigate forward button is disabled.
Karol Furmaniak [Tue, 3 Feb 2015 13:56:38 +0000 (14:56 +0100)]
Navigate forward button is disabled.

[Problem]: After navigate with "back" button forward button
is still disabled.

[Solution]: Invoking BackForwardListChangedCallback depends on
back/forward list count difference.
Unnecessary condition was removed.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=10900
Reviewed by: Jaesik Chang, Piotr Grad, arno renevier

Change-Id: I080925a6ee8b42345fd5bd8df8d39d45ec1a489f
Signed-off-by: Karol Furmaniak <k.furmaniak@samsung.com>
6 years agoFix exception 'std::out_of_range' in 'basic_string::replace'
Tomasz Czekala [Thu, 5 Feb 2015 10:44:40 +0000 (11:44 +0100)]
Fix exception 'std::out_of_range' in 'basic_string::replace'

In EWebView::GetPlatformLocale we didn't check if string returned by
setlocale(LC_CTYPE, 0) has character '_', we assumed it has, and it seems
this assumption was wrong

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=11070
Reviewed by: Daniel Waślicki, Filip Piechocki, Jaesik Chang, Piotr Tworek

Change-Id: I8baddfad7a66a9356ad44e3bc2c3b3c6f312e8f7
Signed-off-by: Tomasz Czekala <t.czekala@partner.samsung.com>
6 years ago[MSE]Changing audio elememt for playback on mobile.
Venugopal S M [Thu, 5 Feb 2015 10:57:56 +0000 (16:27 +0530)]
[MSE]Changing audio elememt for playback on mobile.

M0 device for Tizen 2.4 is having audio elements ffdec_aac and
ffdec_mp3. Using the same for Audio playback.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=10781
Reviewed by: Hyungsun Ryu, SeungSeop Park, Sharath Kamath

Change-Id: I96ae080b33fe34370c25171c1fd911901ecfc414
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
6 years agoChange default gbs repo to SPIN's latest for mobile
Youngcheol Kang [Thu, 5 Feb 2015 00:17:20 +0000 (09:17 +0900)]
Change default gbs repo to SPIN's latest for mobile

We decided again to use the latest SPIN repo for mobile build
(arm & i586) not snapshot repo of specific date.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=11057
Reviewed by: Piotr Grad, joonhwan kwon

Change-Id: Ic255a7ef03d57c5711ced1e5c4f7eaf85f2b3619
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
6 years agoIntroduce "content,size,changed" callback
Michał Pakuła vel Rutka [Tue, 27 Jan 2015 14:20:12 +0000 (15:20 +0100)]
Introduce "content,size,changed" callback

EwkHostMsg_DidChangeContentSize was sent by a function which is fired by
a timer registered in RenderViewObserver::DidUpdateLayout. The presence of
the timer sometimes caused the situation when DidChangeContentsSize message
was sent after DidFinishLoad.
This behaviour causes utc_ewk_view_contents_size_get_p test to fail, as it
asumes that contents size value is up to date when "load,finished" callback is
fired.
To avoid this situation "contents,size,changed" callback is added (previously
implemented in WebKit-EFL), which informs an application about the change.
Reviewed by: DONGJUN KiM, Piotr Tworek

Change-Id: Ib7b51f9f7bd158b5c71279895b2f340c36e827d2
Signed-off-by: Michał Pakuła vel Rutka <m.pakula@samsung.com>
6 years ago[Tizen][WebRTC][M0] Enable video capture port on M0
msu.koo [Wed, 21 Jan 2015 06:38:45 +0000 (15:38 +0900)]
[Tizen][WebRTC][M0] Enable video capture port on M0

On M0 target, camera supports I420 output.

This patch make Tizen video camera port independent
from platform camera output format.
Reviewed by: Min-Soo Koo, SeungSeop Park, Sharath Kamath

Change-Id: Ibcfb1c0ca72b5d0ece02c2adeb23622fb112a255
Signed-off-by: msu.koo <msu.koo@samsung.com>
6 years agouBrowser: Reference EWK browser application
Piotr Tworek [Mon, 8 Dec 2014 14:34:07 +0000 (15:34 +0100)]
uBrowser: Reference EWK browser application

This is basically my attempt at implementing more usable test
application for for chromium-ewk. Currently efl_webview_app is rather
limited and it's codebase is messy. It's main adventage is it works on
both Tizen and desktop. Mini browser has a few more features but it
only runs on tizen. Personally, I consider it's code to be of similar
quality as efl_webview_app.

uBrowser on the other hand works on both tizen and desktop, has simiar
feature set on both platforms and tries to split the code into smaller
chunks that are hopefully easier to understand and maintain. Compared to
mini_browser it's currently missing 2 features:
1. It does not support vibration. (I could not get it work on
   mini_browser, but the code is there)
2. It does not have any find in page funcionality. (Mini browser has one
   button that allows users search for hardcoded word 'google')

What is more important however, uBrowser does support multi window mode.
It's possible to open/close/switch between windows. I consider this
feature important because I've started the whole project when I had to
debug some multi-window related problems and none of the existing apps
made it easy. After that I just kept adding new features whenever I needed
them and they were either not available or did not work well enough in
other apps.

The app is far from finished and it probably has a few bugs. Still, I
decided there is no point in keeping it for myself any longer. It's nicely
separated from other EWK components and does not take a long time to
build. Hopefully other people will add even more features to it. At some
point it may even replace old reference EWK apps.
Reviewed by: Antonio Gomes, Kamil Klimek, arno renevier

Change-Id: I5f9cbdc9cb9e6bd801d3d02feff1ad02e97569b5
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
6 years agoMake sure chromiuma-ewk targets provides efl_webprocess
Piotr Tworek [Wed, 4 Feb 2015 11:41:49 +0000 (12:41 +0100)]
Make sure chromiuma-ewk targets provides efl_webprocess

The fact that we have a seperate binary for a renderer process is an
implementation detail of chromium-efl. Higher lever layers like EWK
should not expose such detail to the apps. Applications should depend on
chromium-ewk, but shouldn't need to depend on chromium-ewk dependencies.
Reviewed by: Antonio Gomes, Daniel Waślicki, Kamil Klimek

Change-Id: I9dc5c61e4f19b9cde1a67ed19e6a14c9b4720e13
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
6 years agoAllow efl_webview_app to run on desktop with mesa software backends
Piotr Tworek [Wed, 4 Feb 2015 13:01:32 +0000 (14:01 +0100)]
Allow efl_webview_app to run on desktop with mesa software backends

Some people like to test efl_webview_app over ssh. Unfortunately
hardware accelerated OpenGL does not work over ssh. The only working
backend for such configuration is mesa llfmpipe/softpipe. Those backends
however are considered as unsupported and are blacklisted by EFL.
Fortunately EFL allows us to ignore it's blacklist through
EVAS_GL_NO_BLACKLIST environment variable.

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=10918
Reviewed by: Antonio Gomes, Kamil Klimek

Change-Id: I6bc14e5303e94b9c911afa107435608ea423060c
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
6 years agoRevert "Not display mini_browser icon."
Jongsoo Yoon [Wed, 4 Feb 2015 10:26:55 +0000 (19:26 +0900)]
Revert "Not display mini_browser icon."

This reverts commit 6624b0b9d451fc85cc84e30c061d90094f327e93.

[Temporary Patch]
 Currently, Behavior of Reference browser is abnormal.
 So, set mini_browser as default browser for some time.

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=10744
Reviewed by: Antonio Gomes, Piotr Grad, Piotr Tworek

Change-Id: Ib32bf7632a2f0c15a8311e3b07aa69c442b6cb3f
Signed-off-by: Jongsoo Yoon <join.yoon@samsung.com>