Bug 108240 - MockWeb should be able to serve mock web content
Summary: MockWeb should be able to serve mock web content
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alan Cutter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-29 15:45 PST by Alan Cutter
Modified: 2013-01-29 16:58 PST (History)
4 users (show)

See Also:


Attachments
Patch (2.43 KB, patch)
2013-01-29 16:15 PST, Alan Cutter
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Cutter 2013-01-29 15:45:40 PST
Currently webkitpy's MockWeb only serves 404s. It would be useful for testing if it could serve testing data instead.
Comment 1 Alan Cutter 2013-01-29 16:15:08 PST
Created attachment 185331 [details]
Patch
Comment 2 Dirk Pranke 2013-01-29 16:15:48 PST
at some point I had a mock resource fetcher that I was using in webkit.common.system.urlfetcher_mock.py, but that currently looks unused, and I'm a bit wondering what I used it for and why it's unused now :).
Comment 3 Eric Seidel (no email) 2013-01-29 16:22:14 PST
Comment on attachment 185331 [details]
Patch

Thanks!
Comment 4 Alan Cutter 2013-01-29 16:23:53 PST
(In reply to comment #2)
> at some point I had a mock resource fetcher that I was using in webkit.common.system.urlfetcher_mock.py, but that currently looks unused, and I'm a bit wondering what I used it for and why it's unused now :).

I did not know about that class, poor thing is completely unused!
Thanks for the review.
Comment 5 WebKit Review Bot 2013-01-29 16:58:17 PST
Comment on attachment 185331 [details]
Patch

Clearing flags on attachment: 185331

Committed r141182: <http://trac.webkit.org/changeset/141182>
Comment 6 WebKit Review Bot 2013-01-29 16:58:21 PST
All reviewed patches have been landed.  Closing bug.