aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ephy-web-view-test.c
Commit message (Collapse)AuthorAgeFilesLines
* ephy-web-view-test: disconnect signals after test is overXan Lopez2013-03-221-0/+1
| | | | Otherwise it will carry over to the next tests.
* Fix provisional_load_failure_updates_back_forward_list test in WK2Manuel Rego Casasnovas2013-03-131-8/+53
| | | | | | | | | The EphyWebView test provisional_load_failure_updates_back_forward_list was failing in WK2 for a similar issue than other tests. We were not waiting for the "changed" signal in WebKitBackForwardList, so the list was not ready when checking it. https://bugzilla.gnome.org/show_bug.cgi?id=695649
* ephy-web-view-test: skip another failing testXan Lopez2013-03-121-0/+5
| | | | See https://bugzilla.gnome.org/show_bug.cgi?id=695649
* ephy-shell: remove the ephy_shell globalDiego Escalante Urrelo2012-12-111-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=683614
* e-embed-shell: remove the embed_shell globalDiego Escalante Urrelo2012-12-111-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=683614
* Fix a ton of 'warning: function declaration isn’t a prototype'Xan Lopez2012-11-051-5/+5
| | | | | | | | | New warning flags have been added to gnome-common recently, and we were getting this a lot. Turns out in C 'foo ()' is not the same than 'foo (void)'; the first just means that no information is given about the number of arguments, the second means the function has exactly zero arguments, so add the 'void' thing all over the place when needed.
* Run all tests in test modeXan Lopez2012-10-081-1/+1
| | | | That's what it's for!
* ephy-web-view: ignore paths when deciding whether a URI has a TLDXan Lopez2012-08-151-0/+1
| | | | | | SoupTLD is not happy if we give it something like ".com/blah/blah". Add a unit test for this case too.
* ephy-web-view: do not store error pages in historyXan Lopez2012-08-141-0/+49
| | | | | | | | | Otherwise we end up with dummy URIs in the history, overwritten titles ("Oops, could not load..."), etc. Add a unit test to make sure we do not regress. https://bugzilla.gnome.org/show_bug.cgi?id=655619
* Use webkit_web_frame_load_alternate_string to load error pagesMartin Robinson2012-08-141-0/+73
| | | | | | | webkit_web_view_load_string, which was used previously, does not add the error page to the back forward list. This means that when you go back from an error page (n) you will skip directly to an older page (n-2) or not be able to go back if the error page was the first loaded.
* tests: a couple more 'normalize or autosearch' testsXan Lopez2012-08-081-1/+3
|
* ephy-web-view: fix URI normalizationXan Lopez2012-08-071-1/+2
| | | | | | | | | | Give SoupTLD nothing but the TLD when trying to figure out whether a URI actually has a TLD, otherwise it won't be happy. In particular: '.gnome.org' -> Not OK '.org' -> OK Add a test for this case.
* ephy-web-view: do autosearch foo.bar strings where bar is not a TLDXan Lopez2012-08-071-7/+17
| | | | | | | | | Using the new SoupTLD methods. Had to split the non-search regexp in two so that we can reuse its 'is this a domain?' bits. Ugly as hell, but not worse than before... At least we have unit tests to catch regressions. https://bugzilla.gnome.org/show_bug.cgi?id=681022
* ephy-web-view: export the 'normalize or autosearch' methodXan Lopez2012-08-071-0/+41
| | | | | We are going to modify it a bit, and we really want to test it. Add some initial tests for the existing functionality.
* Port web view loading progress and feedback to WebKit2Carlos Garcia Campos2012-06-241-2/+22
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678532
* Initial WebKit2 portCarlos Garcia Campos2012-06-211-0/+8
| | | | It builds and basic functionality works.
* Include libsoup header explicitly when requiredCarlos Garcia Campos2012-06-211-0/+1
| | | | Instead of relying on webkit header to include it.
* Ensure private profile dirs actually do exist.Xan Lopez2012-05-081-1/+3
| | | | | Perhaps PRIVATE_PROFILE should implicitly add ENSURE_EXISTS, seems logical. Do this for new.
* Allow for more fine-grained file helpers initXan Lopez2012-05-081-1/+1
| | | | | | | | | | Since we are about to migrate our profile dir, allow file helpers init to not ensure the profile dir exists (it was hardcoded until now). For this we get rid of the ugly boolean parameters and add a flags parameter, which preserves the old behaviors and allows for this new option. We update all the callers in the tree.
* Move a few EphyShell methods to ephy-private.hXan Lopez2012-04-141-0/+1
| | | | These are clearly not meant to be used outside of Epiphany.
* tests: use EPHY_EMBED_SHELL_MODE_PRIVATE not FALSEDiego Escalante Urrelo2012-04-111-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673684
* Automatically prefix existing absolute paths with file://Gustavo Noronha Silva2012-03-141-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671792
* tests: add ephy-web-view testDiego Escalante Urrelo2012-03-111-0/+270
Testing ephy_web_view_load_url and the internal GRegex of EphyWebView. https://bugzilla.gnome.org/show_bug.cgi?id=669548