Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bfa68abc authored by Guang Zhu's avatar Guang Zhu
Browse files

layout test rebase, bug fix

* rebase layout test based on newly enabled http tests
* fix a bug in initializing parameters (should happen before super.onCreate)
parent 902051df
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
/sdcard/android/layout_tests/http/tests/xmlhttprequest/basic-auth.html
/sdcard/android/layout_tests/http/tests/xmlhttprequest/failed-auth.html
/sdcard/android/layout_tests/http/tests/xmlhttprequest/cross-origin-authorization.html
/sdcard/android/layout_tests/http/tests/xmlhttprequest/cross-origin-no-authorization.html
+374 −16

File changed.

Preview size limit exceeded, changes collapsed.

+28 −0
Original line number Diff line number Diff line
@@ -3233,6 +3233,34 @@
/sdcard/android/layout_tests/fonts/fantasy.html
/sdcard/android/layout_tests/fonts/serif.html
/sdcard/android/layout_tests/fonts/sans-serif.html
/sdcard/android/layout_tests/http/tests/webarchive/test-css-url-encoding-shift-jis.html
/sdcard/android/layout_tests/http/tests/webarchive/test-css-url-encoding.html
/sdcard/android/layout_tests/http/tests/webarchive/test-css-url-encoding-utf-8.html
/sdcard/android/layout_tests/http/tests/webarchive/test-preload-resources.html
/sdcard/android/layout_tests/http/tests/multipart/invalid-image-data.html
/sdcard/android/layout_tests/http/tests/multipart/invalid-image-data-standalone.html
/sdcard/android/layout_tests/http/tests/local/file-url-sent-as-referer.html
/sdcard/android/layout_tests/http/tests/misc/location-replace-crossdomain.html
/sdcard/android/layout_tests/http/tests/misc/acid2.html
/sdcard/android/layout_tests/http/tests/misc/acid2-pixel.html
/sdcard/android/layout_tests/http/tests/misc/favicon-as-image.html
/sdcard/android/layout_tests/http/tests/misc/generated-content-inside-table.html
/sdcard/android/layout_tests/http/tests/misc/willCacheResponse-delegate-callback.html
/sdcard/android/layout_tests/http/tests/misc/iframe404.html
/sdcard/android/layout_tests/http/tests/misc/frame-access-during-load.html
/sdcard/android/layout_tests/http/tests/navigation/postredirect-goback1.html
/sdcard/android/layout_tests/http/tests/navigation/error404-subframeload.html
/sdcard/android/layout_tests/http/tests/navigation/error404-basic.html
/sdcard/android/layout_tests/http/tests/navigation/anchor-frames.html
/sdcard/android/layout_tests/http/tests/navigation/postredirect-basic.html
/sdcard/android/layout_tests/http/tests/navigation/post-goback1.html
/sdcard/android/layout_tests/http/tests/navigation/post-basic.html
/sdcard/android/layout_tests/http/tests/navigation/post-frames.html
/sdcard/android/layout_tests/http/tests/navigation/error404-goback.html
/sdcard/android/layout_tests/http/tests/navigation/javascriptlink-frames.html
/sdcard/android/layout_tests/http/tests/navigation/postredirect-frames.html
/sdcard/android/layout_tests/http/tests/navigation/error404-frames.html
/sdcard/android/layout_tests/http/tests/loading/simple-subframe.html
/sdcard/android/layout_tests/media/video-display-toggle.html
/sdcard/android/layout_tests/media/video-transformed.html
/sdcard/android/layout_tests/media/video-empty-source.html
+311 −14

File changed.

Preview size limit exceeded, changes collapsed.

+4 −3
Original line number Diff line number Diff line
@@ -68,11 +68,12 @@ public class LayoutTestsAutoRunner extends InstrumentationTestRunner {

        String r = (String)icicle.get("rebaseline");
        this.mRebaseline = (r != null && r.toLowerCase().equals("true"));
        super.onCreate(icicle);

        String logtime = (String) icicle.get("logtime");
        this.mLogtime = (logtime != null
                && logtime.toLowerCase().equals("true"));

        super.onCreate(icicle);
    }
    
    public String mTestPath = null;