QtTestBrowser is capable of loading a local index.html by default. However, it is broken now.
Created attachment 68678 [details] fix patch
Comment on attachment 68678 [details] fix patch LGTM, r=me
(In reply to comment #2) > (From update of attachment 68678 [details]) > LGTM, r=me thanks for the quick review!
> [Qt] Fix the code to check file existence. In the future, please write more detailed ChangeLogs. Example: > [Qt] Fix loading of the default URL (~/index.html) in QtTestBrowser > > We were erroneously checking for the presence of a *directory* called index.html in the user's > home directory. Correct this by using QFile::exists() instead of QDir::exists().
Comment on attachment 68678 [details] fix patch Clearing flags on attachment: 68678 Committed r68259: <http://trac.webkit.org/changeset/68259>
All reviewed patches have been landed. Closing bug.
Hum I think this is kinda useless :-( Is anyone leaving an index.html file in the home root dir for testing?
(In reply to comment #4) > > [Qt] Fix the code to check file existence. > > In the future, please write more detailed ChangeLogs. > > Example: > > > [Qt] Fix loading of the default URL (~/index.html) in QtTestBrowser > > > > We were erroneously checking for the presence of a *directory* called index.html in the user's > > home directory. Correct this by using QFile::exists() instead of QDir::exists(). It is a very simple fix, it's trivial to understand what was wrong. I don't think if we needed so detailed changelog what you mentioned. But I agree detailed comments are always welcome. (In reply to comment #7) > Hum I think this is kinda useless :-( Is anyone leaving an index.html file in the home root dir for testing? Not at all. Previously I used this feature. :) It is good for lazy peoples. :)
> (In reply to comment #7) > > Hum I think this is kinda useless :-( Is anyone leaving an index.html file in the home root dir for testing? > Not at all. Previously I used this feature. :) > It is good for lazy peoples. :) Right. :) The test browser does not have bookmarks. And typing in the url eidtor is kind of painful, especially on the phone.