WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
121095
[EFL] Add parameter to MiniBrowser to disable web security
https://bugs.webkit.org/show_bug.cgi?id=121095
Summary
[EFL] Add parameter to MiniBrowser to disable web security
Andrzej Badowski
Reported
2013-09-10 06:33:58 PDT
-w (--web-security) commandline allows to disable/enable web security (enabled by default).
Attachments
proposed patch
(5.77 KB, patch)
2013-09-10 06:49 PDT
,
Andrzej Badowski
no flags
Details
Formatted Diff
Diff
proposed patch 2
(6.10 KB, patch)
2013-09-11 03:58 PDT
,
Andrzej Badowski
no flags
Details
Formatted Diff
Diff
proposed patch 3
(6.10 KB, patch)
2013-09-11 06:11 PDT
,
Andrzej Badowski
no flags
Details
Formatted Diff
Diff
proposed_patch_4
(7.96 KB, patch)
2014-05-28 08:36 PDT
,
Andrzej Badowski
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2
(633.16 KB, application/zip)
2014-05-28 14:40 PDT
,
Build Bot
no flags
Details
proposed patch 4
(7.96 KB, patch)
2014-05-29 01:52 PDT
,
Andrzej Badowski
gyuyoung.kim
: review+
gyuyoung.kim
: commit-queue-
Details
Formatted Diff
Diff
proposed patch
(7.89 KB, patch)
2014-06-09 02:26 PDT
,
Andrzej Badowski
no flags
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
Andrzej Badowski
Comment 1
2013-09-10 06:49:03 PDT
Created
attachment 211198
[details]
proposed patch
Chris Dumez
Comment 2
2013-09-10 07:03:45 PDT
Comment on
attachment 211198
[details]
proposed patch View in context:
https://bugs.webkit.org/attachment.cgi?id=211198&action=review
> Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_settings.cpp:294 > +
Please test the default value first
> Tools/ChangeLog:8 > + -w (--web-security) commandline allows to disable/enable web security (enabled by default).
Please explain why it is needed.
Andrzej Badowski
Comment 3
2013-09-11 03:58:49 PDT
Created
attachment 211296
[details]
proposed patch 2 as the first patch + supplement according to comments No.1 and No. 2
WebKit Commit Bot
Comment 4
2013-09-11 04:01:28 PDT
Attachment 211296
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/UIProcess/API/efl/ewk_settings.cpp', u'Source/WebKit2/UIProcess/API/efl/ewk_settings.h', u'Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_settings.cpp', u'Tools/ChangeLog', u'Tools/MiniBrowser/efl/main.c']" exit_code: 1 Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_settings.cpp:297: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 1 in 5 files If any of these errors are false positives, please file a bug against check-webkit-style.
Andrzej Badowski
Comment 5
2013-09-11 06:11:04 PDT
Created
attachment 211303
[details]
proposed patch 3
Andrzej Badowski
Comment 6
2013-09-11 06:41:55 PDT
Comment on
attachment 211303
[details]
proposed patch 3 style bug fixed
Andrzej Badowski
Comment 7
2014-05-26 02:32:16 PDT
The first reason for this, as I mentioned in the last ChangeLog file, is to test and debug (using, for example, MiniBrowser) scripts accessing resources from other domains (cross-domain requests) such as access map location on another server. The second reason. A colleague is currently preparing certain types of future tests that will be implemented in the local file and that will refer to the links in the website http loaded in an iframe. It will not be possible without deactivation of web security.
Andrzej Badowski
Comment 8
2014-05-28 08:36:11 PDT
Created
attachment 232196
[details]
proposed_patch_4 update patch webkit.org 121095 - adapt to subsequent changes in webkit.org that occurred after the last patch
Build Bot
Comment 9
2014-05-28 14:40:10 PDT
Comment on
attachment 232196
[details]
proposed_patch_4
Attachment 232196
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/5203471846342656
New failing tests: media/media-fragments/TC0001.html
Build Bot
Comment 10
2014-05-28 14:40:14 PDT
Created
attachment 232213
[details]
Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-12 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Andrzej Badowski
Comment 11
2014-05-29 01:52:42 PDT
Created
attachment 232239
[details]
proposed patch 4 Patch no 4 contains only the files from the efl directories.
Grzegorz Czajkowski
Comment 12
2014-06-01 23:56:40 PDT
Comment on
attachment 232239
[details]
proposed patch 4 View in context:
https://bugs.webkit.org/attachment.cgi?id=232239&action=review
Thanks for picking it up. Patch itself looks good to me.
> Source/WebKit2/UIProcess/API/efl/ewk_settings.h:481 > +EAPI Eina_Bool ewk_settings_web_security_enabled_set(Ewk_Settings* settings, Eina_Bool enable);
Before landing, please update public APIs (headers only) in compliance with EFL coding style, "*" operator should be placed next to variable.
> Source/WebKit2/UIProcess/API/efl/ewk_settings.h:491 > +EAPI Eina_Bool ewk_settings_web_security_enabled_get(const Ewk_Settings* settings);
Ditto,
Gyuyoung Kim
Comment 13
2014-06-08 23:40:38 PDT
Comment on
attachment 232239
[details]
proposed patch 4 LGTM except for Greg's comments. Please land this after fixing those.
Andrzej Badowski
Comment 14
2014-06-09 02:26:31 PDT
Created
attachment 232700
[details]
proposed patch minor style amendments after a positive review
WebKit Commit Bot
Comment 15
2014-06-09 03:30:20 PDT
Comment on
attachment 232700
[details]
proposed patch Clearing flags on attachment: 232700 Committed
r169688
: <
http://trac.webkit.org/changeset/169688
>
WebKit Commit Bot
Comment 16
2014-06-09 03:30:27 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug