Bug 66777 - [EFL] Add API to allow scripts to close windows automatically via JavaScript.
Summary: [EFL] Add API to allow scripts to close windows automatically via JavaScript.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Raphael Kubo da Costa (:rakuco)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-23 07:53 PDT by Raphael Kubo da Costa (:rakuco)
Modified: 2011-08-25 16:08 PDT (History)
3 users (show)

See Also:


Attachments
Patch (4.57 KB, patch)
2011-08-23 07:55 PDT, Raphael Kubo da Costa (:rakuco)
no flags Details | Formatted Diff | Diff
Patch (4.63 KB, patch)
2011-08-23 08:48 PDT, Raphael Kubo da Costa (:rakuco)
no flags Details | Formatted Diff | Diff
Patch (4.57 KB, patch)
2011-08-25 06:21 PDT, Raphael Kubo da Costa (:rakuco)
no flags Details | Formatted Diff | Diff
Hardcode tonikitoo as the reviewer (4.57 KB, patch)
2011-08-25 10:50 PDT, Raphael Kubo da Costa (:rakuco)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Raphael Kubo da Costa (:rakuco) 2011-08-23 07:53:43 PDT
[EFL] Add API to allow scripts to close windows automatically via JavaScript.
Comment 1 Raphael Kubo da Costa (:rakuco) 2011-08-23 07:55:07 PDT
Created attachment 104845 [details]
Patch
Comment 2 Kenneth Rohde Christiansen 2011-08-23 08:23:44 PDT
Comment on attachment 104845 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=104845&action=review

> Source/WebKit/efl/ewk/ewk_view.h:1404
> +EAPI Eina_Bool    ewk_view_setting_scripts_window_close_get(const Evas_Object *o);

then I would definitely add _can_ to the method name... The name is pretty bad
Comment 3 Raphael Kubo da Costa (:rakuco) 2011-08-23 08:48:37 PDT
Created attachment 104851 [details]
Patch
Comment 4 Raphael Kubo da Costa (:rakuco) 2011-08-23 08:49:36 PDT
Indeed, the name looks ugly, I was matching its 'open' counterpart (ewk_view_setting_scripts_window_open_get), but I guess it makes more sense to change it to a better name later :)
Comment 5 Raphael Kubo da Costa (:rakuco) 2011-08-24 12:17:31 PDT
Speaking of that, do you think it'd make sense to change ewk_view_setting_scripts_window_open_{get,set} to more reasonable names in this patch too or is it better to do that in a separate bug report?
Comment 6 WebKit Review Bot 2011-08-24 13:37:17 PDT
Comment on attachment 104851 [details]
Patch

Rejecting attachment 104851 [details] from commit-queue.

Failed to run "['./Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '--bot-id=ec2-cq-03', '--port..." exit_code: 2

Last 500 characters of output:
1 succeeded at 1 with fuzz 3.
patching file Source/WebKit/efl/ewk/ewk_view.cpp
Hunk #1 succeeded at 135 (offset 5 lines).
Hunk #2 FAILED at 630.
Hunk #3 succeeded at 1947 (offset 5 lines).
1 out of 3 hunks FAILED -- saving rejects to file Source/WebKit/efl/ewk/ewk_view.cpp.rej
patching file Source/WebKit/efl/ewk/ewk_view.h
Hunk #1 succeeded at 1397 (offset 2 lines).

Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--reviewer', u'Antonio Gomes', u'--fo..." exit_code: 1

Full output: http://queues.webkit.org/results/9493099
Comment 7 Raphael Kubo da Costa (:rakuco) 2011-08-25 06:21:28 PDT
Created attachment 105168 [details]
Patch
Comment 8 Raphael Kubo da Costa (:rakuco) 2011-08-25 06:21:57 PDT
Patch rebased on top of trunk. tonikitoo, do I need your r+ again?
Comment 9 WebKit Review Bot 2011-08-25 06:22:57 PDT
Comment on attachment 105168 [details]
Patch

Rejecting attachment 105168 [details] from commit-queue.

kubo@profusion.mobi does not have committer permissions according to http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/committers.py.

- If you do not have committer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags.

- If you have committer rights please correct the error in Tools/Scripts/webkitpy/common/config/committers.py by adding yourself to the file (no review needed).  The commit-queue restarts itself every 2 hours.  After restart the commit-queue will correctly respect your committer rights.
Comment 10 Raphael Kubo da Costa (:rakuco) 2011-08-25 10:50:14 PDT
Created attachment 105218 [details]
Hardcode tonikitoo as the reviewer
Comment 11 WebKit Review Bot 2011-08-25 16:08:49 PDT
Comment on attachment 105218 [details]
Hardcode tonikitoo as the reviewer

Clearing flags on attachment: 105218

Committed r93833: <http://trac.webkit.org/changeset/93833>
Comment 12 WebKit Review Bot 2011-08-25 16:08:54 PDT
All reviewed patches have been landed.  Closing bug.