diff --git a/engine/src/flutter/BUILD.gn b/engine/src/flutter/BUILD.gn
new file mode 100644
index 0000000000..c496af3d9d
--- /dev/null
+++ b/engine/src/flutter/BUILD.gn
@@ -0,0 +1,21 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//tools/grit/grit_rule.gni")
+
+group("sky") {
+ testonly = true
+
+ deps = [
+ "//mojo",
+ "//sky/engine/platform:platform_unittests",
+ "//sky/engine/web:sky_unittests",
+ "//sky/engine/wtf:unittests",
+ "//sky/framework/inspector/server",
+ "//sky/tools/debugger",
+ "//sky/tools/tester",
+ "//sky/viewer",
+ "//third_party/mesa:osmesa",
+ ]
+}
diff --git a/engine/src/flutter/HACKING.md b/engine/src/flutter/HACKING.md
new file mode 100644
index 0000000000..51b99d98a3
--- /dev/null
+++ b/engine/src/flutter/HACKING.md
@@ -0,0 +1,39 @@
+Hacking on Sky
+==============
+
+Running applications
+--------------------
+
+* ``./sky/tools/skydb --debug``
+ * You should see a ``(skydb)`` prompt
+ * Type ``help`` to see the list of available commands
+ * The most common command is to load a URL, which youc an do simply by typing
+ the URL. To reload the current page, type enter.
+
+* ``./sky/tools/test_sky --debug``
+ * This should run the tests
+
+Running tests manually
+----------------------------
+
+ * ``sky/tools/run_sky_httpd``
+ * ``out/Debug/mojo_shell --args-for="mojo://native_viewport_service/ --use-headless-config" --content-handlers=text/html,mojo://sky_viewer/ --url-mappings=mojo:window_manager=mojo:sky_tester mojo:window_manager``
+ * The ``sky_tester`` should print ``#READY`` when ready
+ * Type the URL you wish to run, for example ``http://127.0.0.1:8000/lowlevel/text.html``, and press the enter key
+ * The harness should print the results of the test. You can then type another URL.
+
+Writing tests
+-------------
+
+* Import ``tests/http/tests/resources/mocha.html``
+* Write tests in [mocha format](http://visionmedia.github.io/mocha/#getting-started) and use [chai asserts](http://chaijs.com/api/assert/):
+```
+describe('My pretty test of my subject', function() {
+ var subject = new MySubject();
+
+ it('should be pretty', function() {
+ assert.ok(subject.isPretty);
+ });
+
+});
+```
diff --git a/engine/src/flutter/LICENSE b/engine/src/flutter/LICENSE
new file mode 100644
index 0000000000..70bcb8ad11
--- /dev/null
+++ b/engine/src/flutter/LICENSE
@@ -0,0 +1,30 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+//
+// The Chromium Authors can be found at
+// http://src.chromium.org/svn/trunk/src/AUTHORS
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/engine/src/flutter/examples/README.md b/engine/src/flutter/examples/README.md
new file mode 100644
index 0000000000..b027ed52f4
--- /dev/null
+++ b/engine/src/flutter/examples/README.md
@@ -0,0 +1,2 @@
+These are work-in-progress examples of how the language might look.
+They won't currently work.
diff --git a/engine/src/flutter/examples/radio.sky b/engine/src/flutter/examples/radio.sky
new file mode 100644
index 0000000000..0cd15d04ff
--- /dev/null
+++ b/engine/src/flutter/examples/radio.sky
@@ -0,0 +1,78 @@
+SKY MODULE - radio button and radio button group
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/engine/src/flutter/tests/TestExpectations b/engine/src/flutter/tests/TestExpectations
new file mode 100644
index 0000000000..fdd431e6c5
--- /dev/null
+++ b/engine/src/flutter/tests/TestExpectations
@@ -0,0 +1,9 @@
+
+# These tests rely upon eventSender, which isn't implemented yet.
+crbug.com/1 editing/ [ Skip ]
+
+# These tests require gc() to be exposed.
+crbug.com/1 mutation-observer/observer-wrapper-dropoff-transient.html [ Skip ]
+crbug.com/1 mutation-observer/observer-wrapper-dropoff.html [ Skip ]
+crbug.com/1 mutation-observer/transient-gc-crash.html [ Skip ]
+crbug.com/1 mutation-observer/weak-callback-gc-crash.html [ Skip ]
diff --git a/engine/src/flutter/tests/custom-elements/constructor-calls-created-synchronously-expected.txt b/engine/src/flutter/tests/custom-elements/constructor-calls-created-synchronously-expected.txt
new file mode 100644
index 0000000000..affd6723ed
--- /dev/null
+++ b/engine/src/flutter/tests/custom-elements/constructor-calls-created-synchronously-expected.txt
@@ -0,0 +1,5 @@
+Running 1 tests
+ok 1 Custom element constructors should run the createdCallback synchronously
+1 tests
+1 pass
+0 fail
diff --git a/engine/src/flutter/tests/custom-elements/constructor-calls-created-synchronously.html b/engine/src/flutter/tests/custom-elements/constructor-calls-created-synchronously.html
new file mode 100644
index 0000000000..067ada4143
--- /dev/null
+++ b/engine/src/flutter/tests/custom-elements/constructor-calls-created-synchronously.html
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
diff --git a/engine/src/flutter/tests/custom-elements/document-register-basic-expected.txt b/engine/src/flutter/tests/custom-elements/document-register-basic-expected.txt
new file mode 100644
index 0000000000..2b979afdc8
--- /dev/null
+++ b/engine/src/flutter/tests/custom-elements/document-register-basic-expected.txt
@@ -0,0 +1,5 @@
+Running 1 tests
+ok 1 document.registerElement() should have basic behaviors
+1 tests
+1 pass
+0 fail
diff --git a/engine/src/flutter/tests/custom-elements/document-register-basic.html b/engine/src/flutter/tests/custom-elements/document-register-basic.html
new file mode 100644
index 0000000000..faeb7af5c5
--- /dev/null
+++ b/engine/src/flutter/tests/custom-elements/document-register-basic.html
@@ -0,0 +1,101 @@
+
+
+
+
+
+
+
+
diff --git a/engine/src/flutter/tests/custom-elements/document-register-reentrant-null-constructor-expected.txt b/engine/src/flutter/tests/custom-elements/document-register-reentrant-null-constructor-expected.txt
new file mode 100644
index 0000000000..d583723293
--- /dev/null
+++ b/engine/src/flutter/tests/custom-elements/document-register-reentrant-null-constructor-expected.txt
@@ -0,0 +1,2 @@
+CONSOLE: LOG: Constructor object isn't created.
+Fuzzing document.registerElement() through getters. PASS unless crash.
diff --git a/engine/src/flutter/tests/custom-elements/document-register-reentrant-null-constructor.html b/engine/src/flutter/tests/custom-elements/document-register-reentrant-null-constructor.html
new file mode 100644
index 0000000000..822ebe74de
--- /dev/null
+++ b/engine/src/flutter/tests/custom-elements/document-register-reentrant-null-constructor.html
@@ -0,0 +1,18 @@
+
+
+
+
+
+Fuzzing document.registerElement() through getters. PASS unless crash.
+
+
+
diff --git a/engine/src/flutter/tests/custom-elements/document-register-reentrant-returning-fake-expected.txt b/engine/src/flutter/tests/custom-elements/document-register-reentrant-returning-fake-expected.txt
new file mode 100644
index 0000000000..6a159f7199
--- /dev/null
+++ b/engine/src/flutter/tests/custom-elements/document-register-reentrant-returning-fake-expected.txt
@@ -0,0 +1 @@
+Fuzzing document.registerElement() through getters. PASS uless crash.
diff --git a/engine/src/flutter/tests/custom-elements/document-register-reentrant-returning-fake.html b/engine/src/flutter/tests/custom-elements/document-register-reentrant-returning-fake.html
new file mode 100644
index 0000000000..0447914912
--- /dev/null
+++ b/engine/src/flutter/tests/custom-elements/document-register-reentrant-returning-fake.html
@@ -0,0 +1,21 @@
+
+
+
+
+
+Fuzzing document.registerElement() through getters. PASS uless crash.
+
+
+
diff --git a/engine/src/flutter/tests/custom-elements/document-register-reentrant-throwing-constructor-expected.txt b/engine/src/flutter/tests/custom-elements/document-register-reentrant-throwing-constructor-expected.txt
new file mode 100644
index 0000000000..d583723293
--- /dev/null
+++ b/engine/src/flutter/tests/custom-elements/document-register-reentrant-throwing-constructor-expected.txt
@@ -0,0 +1,2 @@
+CONSOLE: LOG: Constructor object isn't created.
+Fuzzing document.registerElement() through getters. PASS unless crash.
diff --git a/engine/src/flutter/tests/custom-elements/document-register-reentrant-throwing-constructor.html b/engine/src/flutter/tests/custom-elements/document-register-reentrant-throwing-constructor.html
new file mode 100644
index 0000000000..513020e858
--- /dev/null
+++ b/engine/src/flutter/tests/custom-elements/document-register-reentrant-throwing-constructor.html
@@ -0,0 +1,18 @@
+
+
+
+
+
+Fuzzing document.registerElement() through getters. PASS unless crash.
+
+
+
diff --git a/engine/src/flutter/tests/custom-elements/element-upgrade-no-register-and-leak-expected.txt b/engine/src/flutter/tests/custom-elements/element-upgrade-no-register-and-leak-expected.txt
new file mode 100644
index 0000000000..32ca4b58ed
--- /dev/null
+++ b/engine/src/flutter/tests/custom-elements/element-upgrade-no-register-and-leak-expected.txt
@@ -0,0 +1,2 @@
+Tests unresolved element not leaking if never resolved.
+
diff --git a/engine/src/flutter/tests/custom-elements/element-upgrade-no-register-and-leak.html b/engine/src/flutter/tests/custom-elements/element-upgrade-no-register-and-leak.html
new file mode 100644
index 0000000000..afb7fd0ec6
--- /dev/null
+++ b/engine/src/flutter/tests/custom-elements/element-upgrade-no-register-and-leak.html
@@ -0,0 +1,13 @@
+
+
+
+Tests unresolved element not leaking if never resolved.
+
+
+
+
diff --git a/engine/src/flutter/tests/custom-elements/html-element-type-extension-assert-expected.txt b/engine/src/flutter/tests/custom-elements/html-element-type-extension-assert-expected.txt
new file mode 100644
index 0000000000..5712a16936
--- /dev/null
+++ b/engine/src/flutter/tests/custom-elements/html-element-type-extension-assert-expected.txt
@@ -0,0 +1 @@
+Tests that type extension of a element whose DOM interface is HTMLElement does not assert
diff --git a/engine/src/flutter/tests/custom-elements/html-element-type-extension-assert.html b/engine/src/flutter/tests/custom-elements/html-element-type-extension-assert.html
new file mode 100644
index 0000000000..1e7feb7d5f
--- /dev/null
+++ b/engine/src/flutter/tests/custom-elements/html-element-type-extension-assert.html
@@ -0,0 +1,11 @@
+
+
+
+
+Tests that type extension of a element whose DOM interface is HTMLElement does not assert
+
+
+
diff --git a/engine/src/flutter/tests/custom-elements/lifecycle-created-createElement-recursion-expected.txt b/engine/src/flutter/tests/custom-elements/lifecycle-created-createElement-recursion-expected.txt
new file mode 100644
index 0000000000..1a143ed11e
--- /dev/null
+++ b/engine/src/flutter/tests/custom-elements/lifecycle-created-createElement-recursion-expected.txt
@@ -0,0 +1,2 @@
+CONSOLE: LOG: PASS unless crash
+
diff --git a/engine/src/flutter/tests/custom-elements/lifecycle-created-createElement-recursion.html b/engine/src/flutter/tests/custom-elements/lifecycle-created-createElement-recursion.html
new file mode 100644
index 0000000000..2e0caa06a9
--- /dev/null
+++ b/engine/src/flutter/tests/custom-elements/lifecycle-created-createElement-recursion.html
@@ -0,0 +1,10 @@
+
+
+
+
+
+
diff --git a/engine/src/flutter/tests/custom-elements/lifecycle-created-createElement-reentrancy-expected.txt b/engine/src/flutter/tests/custom-elements/lifecycle-created-createElement-reentrancy-expected.txt
new file mode 100644
index 0000000000..f0e1695908
--- /dev/null
+++ b/engine/src/flutter/tests/custom-elements/lifecycle-created-createElement-reentrancy-expected.txt
@@ -0,0 +1 @@
+This test ensures that is visible in following script block.
diff --git a/engine/src/flutter/tests/custom-elements/lifecycle-created-createElement-reentrancy.html b/engine/src/flutter/tests/custom-elements/lifecycle-created-createElement-reentrancy.html
new file mode 100644
index 0000000000..12fcab126a
--- /dev/null
+++ b/engine/src/flutter/tests/custom-elements/lifecycle-created-createElement-reentrancy.html
@@ -0,0 +1,29 @@
+
+
+
+
+This test ensures that is visible in following script block.
+
+
+
+
diff --git a/engine/src/flutter/tests/custom-elements/lifecycle-created-parser-script-expected.txt b/engine/src/flutter/tests/custom-elements/lifecycle-created-parser-script-expected.txt
new file mode 100644
index 0000000000..4e962ea021
--- /dev/null
+++ b/engine/src/flutter/tests/custom-elements/lifecycle-created-parser-script-expected.txt
@@ -0,0 +1,2 @@
+This test ensures that the lifecycle callback of a parser-made element is visible in following script block.
+
diff --git a/engine/src/flutter/tests/custom-elements/lifecycle-created-parser-script.html b/engine/src/flutter/tests/custom-elements/lifecycle-created-parser-script.html
new file mode 100644
index 0000000000..76f04d3ab8
--- /dev/null
+++ b/engine/src/flutter/tests/custom-elements/lifecycle-created-parser-script.html
@@ -0,0 +1,15 @@
+
+
+
+
+This test ensures that the lifecycle callback of a parser-made element is visible in following script block.
+
+
+
+
+
diff --git a/engine/src/flutter/tests/custom-elements/resources/document-register-fuzz.html b/engine/src/flutter/tests/custom-elements/resources/document-register-fuzz.html
new file mode 100644
index 0000000000..bf6c66a689
--- /dev/null
+++ b/engine/src/flutter/tests/custom-elements/resources/document-register-fuzz.html
@@ -0,0 +1,60 @@
+
diff --git a/engine/src/flutter/tests/editing/backspace-expected.txt b/engine/src/flutter/tests/editing/backspace-expected.txt
new file mode 100644
index 0000000000..7898192261
--- /dev/null
+++ b/engine/src/flutter/tests/editing/backspace-expected.txt
@@ -0,0 +1 @@
+a
diff --git a/engine/src/flutter/tests/editing/backspace.html b/engine/src/flutter/tests/editing/backspace.html
new file mode 100644
index 0000000000..3a894ca26c
--- /dev/null
+++ b/engine/src/flutter/tests/editing/backspace.html
@@ -0,0 +1,20 @@
+
+
+
+
+
diff --git a/engine/src/flutter/tests/editing/replace-expected.txt b/engine/src/flutter/tests/editing/replace-expected.txt
new file mode 100644
index 0000000000..2bc457f6ca
--- /dev/null
+++ b/engine/src/flutter/tests/editing/replace-expected.txt
@@ -0,0 +1 @@
+abx
diff --git a/engine/src/flutter/tests/editing/replace.html b/engine/src/flutter/tests/editing/replace.html
new file mode 100644
index 0000000000..767c9a7b2c
--- /dev/null
+++ b/engine/src/flutter/tests/editing/replace.html
@@ -0,0 +1,26 @@
+
+
+
+
+
diff --git a/engine/src/flutter/tests/editing/selection-expected.txt b/engine/src/flutter/tests/editing/selection-expected.txt
new file mode 100644
index 0000000000..81bf396956
--- /dev/null
+++ b/engine/src/flutter/tests/editing/selection-expected.txt
@@ -0,0 +1 @@
+ab
diff --git a/engine/src/flutter/tests/editing/selection.html b/engine/src/flutter/tests/editing/selection.html
new file mode 100644
index 0000000000..7a67326e0b
--- /dev/null
+++ b/engine/src/flutter/tests/editing/selection.html
@@ -0,0 +1,26 @@
+
+
+
+
+
diff --git a/engine/src/flutter/tests/editing/typing-expected.txt b/engine/src/flutter/tests/editing/typing-expected.txt
new file mode 100644
index 0000000000..81bf396956
--- /dev/null
+++ b/engine/src/flutter/tests/editing/typing-expected.txt
@@ -0,0 +1 @@
+ab
diff --git a/engine/src/flutter/tests/editing/typing.html b/engine/src/flutter/tests/editing/typing.html
new file mode 100644
index 0000000000..1b3e169d77
--- /dev/null
+++ b/engine/src/flutter/tests/editing/typing.html
@@ -0,0 +1,19 @@
+
+
+
+
+
diff --git a/engine/src/flutter/tests/http/conf/debian-httpd-2.2.conf b/engine/src/flutter/tests/http/conf/debian-httpd-2.2.conf
new file mode 100644
index 0000000000..fa4209bb6c
--- /dev/null
+++ b/engine/src/flutter/tests/http/conf/debian-httpd-2.2.conf
@@ -0,0 +1,163 @@
+ServerRoot "/usr"
+
+LockFile "/tmp/WebKit/httpd.lock"
+PidFile "/tmp/WebKit/httpd.pid"
+ScoreBoardFile "/tmp/WebKit/httpd.scoreboard"
+
+Timeout 300
+KeepAlive On
+MaxKeepAliveRequests 100
+KeepAliveTimeout 15
+
+MinSpareServers 1
+MaxSpareServers 5
+StartServers 1
+MaxClients 150
+MaxRequestsPerChild 100000
+
+LoadModule mime_module /usr/lib/apache2/modules/mod_mime.so
+LoadModule negotiation_module /usr/lib/apache2/modules/mod_negotiation.so
+LoadModule include_module /usr/lib/apache2/modules/mod_include.so
+LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so
+LoadModule asis_module /usr/lib/apache2/modules/mod_asis.so
+LoadModule imagemap_module /usr/lib/apache2/modules/mod_imagemap.so
+LoadModule actions_module /usr/lib/apache2/modules/mod_actions.so
+LoadModule alias_module /usr/lib/apache2/modules/mod_alias.so
+LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
+LoadModule authz_host_module /usr/lib/apache2/modules/mod_authz_host.so
+LoadModule headers_module /usr/lib/apache2/modules/mod_headers.so
+LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so
+LoadModule php5_module /usr/lib/apache2/modules/libphp5.so
+LoadModule autoindex_module /usr/lib/apache2/modules/mod_autoindex.so
+
+ServerName 127.0.0.1
+
+
+ Options Indexes FollowSymLinks MultiViews ExecCGI Includes
+ AllowOverride All
+ Order allow,deny
+ Allow from all
+
+
+AccessFileName .htaccess
+
+
+ Order allow,deny
+ Deny from all
+ Satisfy All
+
+
+UseCanonicalName On
+DefaultType text/plain
+HostnameLookups Off
+
+LogLevel warn
+LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
+LogFormat "%h %l %u %t \"%r\" %>s %b" common
+LogFormat "%{Referer}i -> %U" referer
+LogFormat "%{User-agent}i" agent
+
+ServerSignature On
+
+
+
+
+
+ Header unset ETag
+ Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
+ Header set Pragma "no-cache"
+ Header set Expires "Wed, 13 Jul 1972 03:00:00 GMT"
+
+
+
+ AddLanguage da .dk
+ AddLanguage nl .nl
+ AddLanguage en .en
+ AddLanguage et .ee
+ AddLanguage fr .fr
+ AddLanguage de .de
+ AddLanguage el .el
+ AddLanguage he .he
+ AddCharset ISO-8859-8 .iso8859-8
+ AddLanguage it .it
+ AddLanguage ja .ja
+ AddCharset ISO-2022-JP .jis
+ AddLanguage kr .kr
+ AddCharset ISO-2022-KR .iso-kr
+ AddLanguage nn .nn
+ AddLanguage no .no
+ AddLanguage pl .po
+ AddCharset ISO-8859-2 .iso-pl
+ AddLanguage pt .pt
+ AddLanguage pt-br .pt-br
+ AddLanguage ltz .lu
+ AddLanguage ca .ca
+ AddLanguage es .es
+ AddLanguage sv .sv
+ AddLanguage cs .cz .cs
+ AddLanguage ru .ru
+ AddLanguage zh-TW .zh-tw
+ AddCharset Big5 .Big5 .big5
+ AddCharset WINDOWS-1251 .cp-1251
+ AddCharset CP866 .cp866
+ AddCharset ISO-8859-5 .iso-ru
+ AddCharset KOI8-R .koi8-r
+ AddCharset UCS-2 .ucs2
+ AddCharset UCS-4 .ucs4
+ AddCharset UTF-8 .utf8
+
+
+ LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw
+
+
+ AddType application/x-tar .tgz
+
+ AddEncoding x-compress .Z
+ AddEncoding x-gzip .gz .tgz
+
+ AddHandler cgi-script .cgi .pl
+
+ AddType text/html .shtml
+ AddHandler server-parsed .shtml
+
+ AddHandler send-as-is asis
+
+
+
+ AddType application/x-httpd-php .php
+ AddType application/x-httpd-php .bat
+ AddType application/x-httpd-php-source .phps
+
+
+ DirectoryIndex index.html index.php
+
+
+ php_flag log_errors on
+ php_flag short_open_tag on
+
+
+
+ RewriteEngine On
+ RewriteCond %{REQUEST_METHOD} ^TRACE
+ RewriteRule .* - [F]
+
+
+
+ ServerName 127.0.0.1
+ SSLEngine On
+
+
+#
+# Apple-specific filesystem protection.
+#
+
+ Order allow,deny
+ Deny from all
+ Satisfy All
+
+
+
+ Order allow,deny
+ Deny from all
+ Satisfy All
+
diff --git a/engine/src/flutter/tests/http/conf/debian-httpd-2.4.conf b/engine/src/flutter/tests/http/conf/debian-httpd-2.4.conf
new file mode 100644
index 0000000000..22a9b46505
--- /dev/null
+++ b/engine/src/flutter/tests/http/conf/debian-httpd-2.4.conf
@@ -0,0 +1,148 @@
+ServerTokens OS
+ServerRoot "/usr/lib/apache2"
+
+PidFile "/tmp/WebKit/httpd.pid"
+ScoreBoardFile "/tmp/WebKit/httpd.scoreboard"
+
+Timeout 300
+KeepAlive On
+MaxKeepAliveRequests 100
+KeepAliveTimeout 15
+
+MinSpareServers 1
+MaxSpareServers 5
+StartServers 1
+MaxClients 150
+MaxRequestsPerChild 100000
+
+LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
+LoadModule authz_core_module modules/mod_authz_core.so
+LoadModule authz_host_module modules/mod_authz_host.so
+LoadModule include_module modules/mod_include.so
+LoadModule headers_module modules/mod_headers.so
+LoadModule mime_module modules/mod_mime.so
+LoadModule negotiation_module modules/mod_negotiation.so
+LoadModule actions_module modules/mod_actions.so
+LoadModule alias_module modules/mod_alias.so
+LoadModule rewrite_module modules/mod_rewrite.so
+LoadModule cgi_module modules/mod_cgi.so
+LoadModule ssl_module modules/mod_ssl.so
+LoadModule php5_module modules/libphp5.so
+LoadModule asis_module modules/mod_asis.so
+
+ServerName 127.0.0.1
+
+
+ Options Indexes FollowSymLinks MultiViews ExecCGI Includes
+ AllowOverride All
+ Require all granted
+
+
+AccessFileName .htaccess
+
+
+ Require all denied
+
+
+UseCanonicalName On
+HostnameLookups Off
+
+TypesConfig /etc/mime.types
+
+LogLevel warn
+LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
+LogFormat "%h %l %u %t \"%r\" %>s %b" common
+LogFormat "%{Referer}i -> %U" referer
+LogFormat "%{User-agent}i" agent
+ErrorLog /tmp/WebKit/error_log
+
+ServerSignature On
+
+AddLanguage ca .ca
+AddLanguage cs .cz .cs
+AddLanguage da .dk
+AddLanguage de .de
+AddLanguage el .el
+AddLanguage en .en
+AddLanguage eo .eo
+AddLanguage es .es
+AddLanguage et .et
+AddLanguage fr .fr
+AddLanguage he .he
+AddLanguage hr .hr
+AddLanguage it .it
+AddLanguage ja .ja
+AddLanguage ko .ko
+AddLanguage ltz .ltz
+AddLanguage nl .nl
+AddLanguage nn .nn
+AddLanguage no .no
+AddLanguage pl .po
+AddLanguage pt .pt
+AddLanguage pt-BR .pt-br
+AddLanguage ru .ru
+AddLanguage sv .sv
+AddLanguage zh-CN .zh-cn
+AddLanguage zh-TW .zh-tw
+AddCharset Big5 .Big5 .big5
+AddCharset WINDOWS-1251 .cp-1251
+AddCharset CP866 .cp866
+AddCharset ISO-8859-5 .iso-ru
+AddCharset KOI8-R .koi8-r
+AddCharset UCS-2 .ucs2
+AddCharset UCS-4 .ucs4
+AddCharset UTF-8 .utf8
+
+
+ LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
+
+
+AddType application/x-tar .tgz
+
+AddEncoding x-compress .Z
+AddEncoding x-gzip .gz .tgz
+
+AddType application/x-x509-ca-cert .crt
+AddType application/x-pkcs7-crl .crl
+
+AddHandler cgi-script .cgi .pl
+
+AddType text/html .shtml
+AddOutputFilter INCLUDES .shtml
+
+AddHandler send-as-is asis
+
+
+ AddType application/x-httpd-php .php
+ AddType application/x-httpd-php .bat
+ AddType application/x-httpd-php-source .phps
+
+
+ DirectoryIndex index.html index.php
+
+
+ php_flag log_errors on
+ php_flag short_open_tag on
+
+
+
+ RewriteEngine On
+ RewriteCond %{REQUEST_METHOD} ^TRACE
+ RewriteRule .* - [F]
+
+
+
+ ServerName 127.0.0.1
+ SSLEngine On
+
+
+#
+# Apple-specific filesystem protection.
+#
+
+ Require all denied
+
+
+
+ Require all denied
+
diff --git a/engine/src/flutter/tests/http/conf/mime.types b/engine/src/flutter/tests/http/conf/mime.types
new file mode 100644
index 0000000000..0489350e18
--- /dev/null
+++ b/engine/src/flutter/tests/http/conf/mime.types
@@ -0,0 +1,601 @@
+# This is a comment. I love comments.
+
+# This file controls what Internet media types are sent to the client for
+# given file extension(s). Sending the correct media type to the client
+# is important so they know how to handle the content of the file.
+# Extra types can either be added here or by using an AddType directive
+# in your config files. For more information about Internet media types,
+# please read RFC 2045, 2046, 2047, 2048, and 2077. The Internet media type
+# registry is at .
+
+# MIME type Extensions
+application/activemessage
+application/andrew-inset ez
+application/applefile
+application/atom+xml atom
+application/atomicmail
+application/batch-smtp
+application/beep+xml
+application/cals-1840
+application/cnrp+xml
+application/commonground
+application/cpl+xml
+application/cybercash
+application/dca-rft
+application/dec-dx
+application/dvcs
+application/edi-consent
+application/edifact
+application/edi-x12
+application/eshop
+application/font-tdpfr
+application/http
+application/hyperstudio
+application/iges
+application/index
+application/index.cmd
+application/index.obj
+application/index.response
+application/index.vnd
+application/iotp
+application/ipp
+application/isup
+application/mac-binhex40 hqx
+application/mac-compactpro cpt
+application/macwriteii
+application/marc
+application/mathematica
+application/mathml+xml mathml
+application/msword doc
+application/news-message-id
+application/news-transmission
+application/ocsp-request
+application/ocsp-response
+application/octet-stream bin dms lha lzh exe class so dll dmg
+application/oda oda
+application/ogg ogg
+application/parityfec
+application/pdf pdf
+application/pgp-encrypted
+application/pgp-keys
+application/pgp-signature
+application/pkcs10
+application/pkcs7-mime
+application/pkcs7-signature
+application/pkix-cert
+application/pkix-crl
+application/pkixcmp
+application/postscript ai eps ps
+application/prs.alvestrand.titrax-sheet
+application/prs.cww
+application/prs.nprend
+application/prs.plucker
+application/qsig
+application/rdf+xml rdf
+application/reginfo+xml
+application/remote-printing
+application/riscos
+application/rtf
+application/sdp
+application/set-payment
+application/set-payment-initiation
+application/set-registration
+application/set-registration-initiation
+application/sgml
+application/sgml-open-catalog
+application/sieve
+application/slate
+application/smil smi smil
+application/srgs gram
+application/srgs+xml grxml
+application/timestamp-query
+application/timestamp-reply
+application/tve-trigger
+application/vemmi
+application/vnd.3gpp.pic-bw-large
+application/vnd.3gpp.pic-bw-small
+application/vnd.3gpp.pic-bw-var
+application/vnd.3gpp.sms
+application/vnd.3m.post-it-notes
+application/vnd.accpac.simply.aso
+application/vnd.accpac.simply.imp
+application/vnd.acucobol
+application/vnd.acucorp
+application/vnd.adobe.xfdf
+application/vnd.aether.imp
+application/vnd.amiga.ami
+application/vnd.anser-web-certificate-issue-initiation
+application/vnd.anser-web-funds-transfer-initiation
+application/vnd.audiograph
+application/vnd.blueice.multipass
+application/vnd.bmi
+application/vnd.businessobjects
+application/vnd.canon-cpdl
+application/vnd.canon-lips
+application/vnd.cinderella
+application/vnd.claymore
+application/vnd.commerce-battelle
+application/vnd.commonspace
+application/vnd.contact.cmsg
+application/vnd.cosmocaller
+application/vnd.criticaltools.wbs+xml
+application/vnd.ctc-posml
+application/vnd.cups-postscript
+application/vnd.cups-raster
+application/vnd.cups-raw
+application/vnd.curl
+application/vnd.cybank
+application/vnd.data-vision.rdz
+application/vnd.dna
+application/vnd.dpgraph
+application/vnd.dreamfactory
+application/vnd.dxr
+application/vnd.ecdis-update
+application/vnd.ecowin.chart
+application/vnd.ecowin.filerequest
+application/vnd.ecowin.fileupdate
+application/vnd.ecowin.series
+application/vnd.ecowin.seriesrequest
+application/vnd.ecowin.seriesupdate
+application/vnd.enliven
+application/vnd.epson.esf
+application/vnd.epson.msf
+application/vnd.epson.quickanime
+application/vnd.epson.salt
+application/vnd.epson.ssf
+application/vnd.ericsson.quickcall
+application/vnd.eudora.data
+application/vnd.fdf
+application/vnd.ffsns
+application/vnd.fints
+application/vnd.flographit
+application/vnd.framemaker
+application/vnd.fsc.weblaunch
+application/vnd.fujitsu.oasys
+application/vnd.fujitsu.oasys2
+application/vnd.fujitsu.oasys3
+application/vnd.fujitsu.oasysgp
+application/vnd.fujitsu.oasysprs
+application/vnd.fujixerox.ddd
+application/vnd.fujixerox.docuworks
+application/vnd.fujixerox.docuworks.binder
+application/vnd.fut-misnet
+application/vnd.grafeq
+application/vnd.groove-account
+application/vnd.groove-help
+application/vnd.groove-identity-message
+application/vnd.groove-injector
+application/vnd.groove-tool-message
+application/vnd.groove-tool-template
+application/vnd.groove-vcard
+application/vnd.hbci
+application/vnd.hhe.lesson-player
+application/vnd.hp-hpgl
+application/vnd.hp-hpid
+application/vnd.hp-hps
+application/vnd.hp-pcl
+application/vnd.hp-pclxl
+application/vnd.httphone
+application/vnd.hzn-3d-crossword
+application/vnd.ibm.afplinedata
+application/vnd.ibm.electronic-media
+application/vnd.ibm.minipay
+application/vnd.ibm.modcap
+application/vnd.ibm.rights-management
+application/vnd.ibm.secure-container
+application/vnd.informix-visionary
+application/vnd.intercon.formnet
+application/vnd.intertrust.digibox
+application/vnd.intertrust.nncp
+application/vnd.intu.qbo
+application/vnd.intu.qfx
+application/vnd.irepository.package+xml
+application/vnd.is-xpr
+application/vnd.japannet-directory-service
+application/vnd.japannet-jpnstore-wakeup
+application/vnd.japannet-payment-wakeup
+application/vnd.japannet-registration
+application/vnd.japannet-registration-wakeup
+application/vnd.japannet-setstore-wakeup
+application/vnd.japannet-verification
+application/vnd.japannet-verification-wakeup
+application/vnd.jisp
+application/vnd.kde.karbon
+application/vnd.kde.kchart
+application/vnd.kde.kformula
+application/vnd.kde.kivio
+application/vnd.kde.kontour
+application/vnd.kde.kpresenter
+application/vnd.kde.kspread
+application/vnd.kde.kword
+application/vnd.kenameaapp
+application/vnd.koan
+application/vnd.liberty-request+xml
+application/vnd.llamagraphics.life-balance.desktop
+application/vnd.llamagraphics.life-balance.exchange+xml
+application/vnd.lotus-1-2-3
+application/vnd.lotus-approach
+application/vnd.lotus-freelance
+application/vnd.lotus-notes
+application/vnd.lotus-organizer
+application/vnd.lotus-screencam
+application/vnd.lotus-wordpro
+application/vnd.mcd
+application/vnd.mediastation.cdkey
+application/vnd.meridian-slingshot
+application/vnd.micrografx.flo
+application/vnd.micrografx.igx
+application/vnd.mif mif
+application/vnd.minisoft-hp3000-save
+application/vnd.mitsubishi.misty-guard.trustweb
+application/vnd.mobius.daf
+application/vnd.mobius.dis
+application/vnd.mobius.mbk
+application/vnd.mobius.mqy
+application/vnd.mobius.msl
+application/vnd.mobius.plc
+application/vnd.mobius.txf
+application/vnd.mophun.application
+application/vnd.mophun.certificate
+application/vnd.motorola.flexsuite
+application/vnd.motorola.flexsuite.adsi
+application/vnd.motorola.flexsuite.fis
+application/vnd.motorola.flexsuite.gotap
+application/vnd.motorola.flexsuite.kmr
+application/vnd.motorola.flexsuite.ttc
+application/vnd.motorola.flexsuite.wem
+application/vnd.mozilla.xul+xml xul
+application/vnd.ms-artgalry
+application/vnd.ms-asf
+application/vnd.ms-excel xls
+application/vnd.ms-lrm
+application/vnd.ms-powerpoint ppt
+application/vnd.ms-project
+application/vnd.ms-tnef
+application/vnd.ms-works
+application/vnd.ms-wpl
+application/vnd.mseq
+application/vnd.msign
+application/vnd.music-niff
+application/vnd.musician
+application/vnd.netfpx
+application/vnd.noblenet-directory
+application/vnd.noblenet-sealer
+application/vnd.noblenet-web
+application/vnd.novadigm.edm
+application/vnd.novadigm.edx
+application/vnd.novadigm.ext
+application/vnd.obn
+application/vnd.osa.netdeploy
+application/vnd.palm
+application/vnd.pg.format
+application/vnd.pg.osasli
+application/vnd.powerbuilder6
+application/vnd.powerbuilder6-s
+application/vnd.powerbuilder7
+application/vnd.powerbuilder7-s
+application/vnd.powerbuilder75
+application/vnd.powerbuilder75-s
+application/vnd.previewsystems.box
+application/vnd.publishare-delta-tree
+application/vnd.pvi.ptid1
+application/vnd.pwg-multiplexed
+application/vnd.pwg-xhtml-print+xml
+application/vnd.quark.quarkxpress
+application/vnd.rapid
+application/vnd.rn-realmedia rm
+application/vnd.s3sms
+application/vnd.sealed.net
+application/vnd.seemail
+application/vnd.shana.informed.formdata
+application/vnd.shana.informed.formtemplate
+application/vnd.shana.informed.interchange
+application/vnd.shana.informed.package
+application/vnd.smaf
+application/vnd.sss-cod
+application/vnd.sss-dtf
+application/vnd.sss-ntf
+application/vnd.street-stream
+application/vnd.svd
+application/vnd.swiftview-ics
+application/vnd.triscape.mxs
+application/vnd.trueapp
+application/vnd.truedoc
+application/vnd.ufdl
+application/vnd.uplanet.alert
+application/vnd.uplanet.alert-wbxml
+application/vnd.uplanet.bearer-choice
+application/vnd.uplanet.bearer-choice-wbxml
+application/vnd.uplanet.cacheop
+application/vnd.uplanet.cacheop-wbxml
+application/vnd.uplanet.channel
+application/vnd.uplanet.channel-wbxml
+application/vnd.uplanet.list
+application/vnd.uplanet.list-wbxml
+application/vnd.uplanet.listcmd
+application/vnd.uplanet.listcmd-wbxml
+application/vnd.uplanet.signal
+application/vnd.vcx
+application/vnd.vectorworks
+application/vnd.vidsoft.vidconference
+application/vnd.visio
+application/vnd.visionary
+application/vnd.vividence.scriptfile
+application/vnd.vsf
+application/vnd.wap.sic
+application/vnd.wap.slc
+application/vnd.wap.xhtml+xml xhtmlmp
+application/vnd.wap.wbxml wbxml
+application/vnd.wap.wmlc wmlc
+application/vnd.wap.wmlscriptc wmlsc
+application/vnd.webturbo
+application/vnd.wrq-hp3000-labelled
+application/vnd.wt.stf
+application/vnd.wv.csp+wbxml
+application/vnd.xara
+application/vnd.xfdl
+application/vnd.yamaha.hv-dic
+application/vnd.yamaha.hv-script
+application/vnd.yamaha.hv-voice
+application/vnd.yellowriver-custom-menu
+application/voicexml+xml vxml
+application/watcherinfo+xml
+application/whoispp-query
+application/whoispp-response
+application/wita
+application/wordperfect5.1
+application/x-bcpio bcpio
+application/x-cdlink vcd
+application/x-chess-pgn pgn
+application/x-compress
+application/x-cpio cpio
+application/x-csh csh
+application/x-director dcr dir dxr
+application/x-dvi dvi
+application/x-futuresplash spl
+application/x-gtar gtar
+application/x-gzip
+application/x-hdf hdf
+application/x-javascript js
+application/x-java-jnlp-file jnlp
+application/x-koan skp skd skt skm
+application/x-latex latex
+application/x-netcdf nc cdf
+application/x-sh sh
+application/x-shar shar
+application/x-shockwave-flash swf
+application/x-stuffit sit
+application/x-sv4cpio sv4cpio
+application/x-sv4crc sv4crc
+application/x-tar tar
+application/x-tcl tcl
+application/x-tex tex
+application/x-texinfo texinfo texi
+application/x-troff t tr roff
+application/x-troff-man man
+application/x-troff-me me
+application/x-troff-ms ms
+application/x-ustar ustar
+application/x-wais-source src
+application/x400-bp
+application/xhtml+xml xhtml xht
+application/xslt+xml xslt
+application/xml xml xsl
+application/xml-dtd dtd
+application/xml-external-parsed-entity
+application/zip zip
+audio/32kadpcm
+audio/amr
+audio/amr-wb
+audio/basic au snd
+audio/cn
+audio/dat12
+audio/dsr-es201108
+audio/dvi4
+audio/evrc
+audio/evrc0
+audio/g722
+audio/g.722.1
+audio/g723
+audio/g726-16
+audio/g726-24
+audio/g726-32
+audio/g726-40
+audio/g728
+audio/g729
+audio/g729D
+audio/g729E
+audio/gsm
+audio/gsm-efr
+audio/l8
+audio/l16
+audio/l20
+audio/l24
+audio/lpc
+audio/midi mid midi kar
+audio/mpa
+audio/mpa-robust
+audio/mp4a-latm m4a m4p
+audio/mpeg mpga mp2 mp3
+audio/parityfec
+audio/pcma
+audio/pcmu
+audio/prs.sid
+audio/qcelp
+audio/red
+audio/smv
+audio/smv0
+audio/telephone-event
+audio/tone
+audio/vdvi
+audio/vnd.3gpp.iufp
+audio/vnd.cisco.nse
+audio/vnd.cns.anp1
+audio/vnd.cns.inf1
+audio/vnd.digital-winds
+audio/vnd.everad.plj
+audio/vnd.lucent.voice
+audio/vnd.nortel.vbk
+audio/vnd.nuera.ecelp4800
+audio/vnd.nuera.ecelp7470
+audio/vnd.nuera.ecelp9600
+audio/vnd.octel.sbc
+audio/vnd.qcelp
+audio/vnd.rhetorex.32kadpcm
+audio/vnd.vmx.cvsd
+audio/x-aiff aif aiff aifc
+audio/x-alaw-basic
+audio/x-mpegurl m3u
+audio/x-pn-realaudio ram ra
+audio/x-pn-realaudio-plugin
+audio/x-wav wav
+chemical/x-pdb pdb
+chemical/x-xyz xyz
+image/bmp bmp
+image/cgm cgm
+image/g3fax
+image/gif gif
+image/ief ief
+image/jpeg jpeg jpg jpe
+image/jp2 jp2
+image/naplps
+image/pict pict pic pct
+image/png png
+image/prs.btif
+image/prs.pti
+image/svg+xml svg
+image/t38
+image/tiff tiff tif
+image/tiff-fx
+image/vnd.cns.inf2
+image/vnd.djvu djvu djv
+image/vnd.dwg
+image/vnd.dxf
+image/vnd.fastbidsheet
+image/vnd.fpx
+image/vnd.fst
+image/vnd.fujixerox.edmics-mmr
+image/vnd.fujixerox.edmics-rlc
+image/vnd.globalgraphics.pgb
+image/vnd.mix
+image/vnd.ms-modi
+image/vnd.net-fpx
+image/vnd.svf
+image/vnd.wap.wbmp wbmp
+image/vnd.xiff
+image/x-cmu-raster ras
+image/x-macpaint pntg pnt mac
+image/x-icon ico
+image/x-portable-anymap pnm
+image/x-portable-bitmap pbm
+image/x-portable-graymap pgm
+image/x-portable-pixmap ppm
+image/x-quicktime qtif qti
+image/x-rgb rgb
+image/x-xbitmap xbm
+image/x-xpixmap xpm
+image/x-xwindowdump xwd
+message/delivery-status
+message/disposition-notification
+message/external-body
+message/http
+message/news
+message/partial
+message/rfc822
+message/s-http
+message/sip
+message/sipfrag
+model/iges igs iges
+model/mesh msh mesh silo
+model/vnd.dwf
+model/vnd.flatland.3dml
+model/vnd.gdl
+model/vnd.gs-gdl
+model/vnd.gtw
+model/vnd.mts
+model/vnd.parasolid.transmit.binary
+model/vnd.parasolid.transmit.text
+model/vnd.vtu
+model/vrml wrl vrml
+multipart/alternative
+multipart/appledouble
+multipart/byteranges
+multipart/digest
+multipart/encrypted
+multipart/form-data
+multipart/header-set
+multipart/mixed
+multipart/parallel
+multipart/related
+multipart/report
+multipart/signed
+multipart/voice-message
+text/cache-manifest manifest
+text/calendar ics ifb
+text/css css
+text/directory
+text/enriched
+text/html html htm
+text/parityfec
+text/plain asc txt
+text/prs.lines.tag
+text/rfc822-headers
+text/richtext rtx
+text/rtf rtf
+text/sgml sgml sgm
+text/t140
+text/tab-separated-values tsv
+text/uri-list
+text/vnd.abc
+text/vnd.curl
+text/vnd.dmclientscript
+text/vnd.fly
+text/vnd.fmi.flexstor
+text/vnd.in3d.3dml
+text/vnd.in3d.spot
+text/vnd.iptc.nitf
+text/vnd.iptc.newsml
+text/vnd.latex-z
+text/vnd.motorola.reflex
+text/vnd.ms-mediapackage
+text/vnd.net2phone.commcenter.command
+text/vnd.sun.j2me.app-descriptor
+text/vnd.wap.si
+text/vnd.wap.sl
+text/vnd.wap.wml wml
+text/vnd.wap.wmlscript wmls
+text/x-setext etx
+text/xml
+text/xml-external-parsed-entity
+video/bmpeg
+video/bt656
+video/celb
+video/dv
+video/h261
+video/h263
+video/h263-1998
+video/h263-2000
+video/jpeg
+video/mp1s
+video/mp2p
+video/mp2t
+video/mp4 mp4
+video/mp4v-es
+video/mpv
+video/mpeg mpeg mpg mpe
+video/nv
+video/parityfec
+video/pointer
+video/quicktime qt mov
+video/smpte292m
+video/vnd.fvt
+video/vnd.motorola.video
+video/vnd.motorola.videop
+video/vnd.mpegurl mxu m4u
+video/vnd.nokia.interleaved-multimedia
+video/vnd.objectvideo
+video/vnd.vivo
+video/x-dv dv dif
+video/x-msvideo avi
+video/x-sgi-movie movie
+x-conference/x-cooltalk ice
diff --git a/engine/src/flutter/tests/http/conf/webkit-httpd.pem b/engine/src/flutter/tests/http/conf/webkit-httpd.pem
new file mode 100644
index 0000000000..37893b84fc
--- /dev/null
+++ b/engine/src/flutter/tests/http/conf/webkit-httpd.pem
@@ -0,0 +1,28 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIICXQIBAAKBgQCmcXbusrr8zQr8snIb0OVQibVfgv7zPjh/5xdcrKOejJzp3epA
+AF4TITeFR9vzWIwkmkcRoY+IbQNhh7kefGUYD47bvVamJMtq5cGYVs0HngT+KTMa
+NGH/G44KkFIOaz/b5d/JNKONrlqwxqXS+m6IY4l/E1Ff25ZjND5TaEvI1wIDAQAB
+AoGBAIcDv4A9h6UOBv2ZGyspNvsv2erSblGOhXJrWO4aNNemJJspIp4sLiPCbDE3
+a1po17XRWBkbPz1hgL6axDXQnoeo++ebfrvRSed+Fys4+6SvuSrPOv6PmWTBT/Wa
+GpO+tv48JUNxC/Dy8ROixBXOViuIBEFq3NfVH4HU3+RG20NhAkEA1L3RAhdfPkLI
+82luSOYE3Eq44lICb/yZi+JEihwSeZTJKdZHwYD8KVCjOtjGrOmyEyvThrcIACQz
+JLEreVh33wJBAMhJm9pzJJNkIyBgiXA66FAwbhdDzSTPx0OBjoVWoj6u7jzGvIFT
+Cn1aiTBYzzsiMCaCx+W3e6pK/DcvHSwKrgkCQHZMcxwBmSHLC2lnmD8LQWqqVnLr
+fZV+VnfVw501DQT0uoP8NvygWBg1Uf9YKepfLXnBpidEQjup5ZKivnUEv+sCQA8N
+6VcMHI2vkyxV1T7ITrnoSf4ZrIu9yl56mHnRPzSy9VlAHt8hnMI7UeB+bGUndrMO
+VXQgzHzKUhbbxbePvfECQQDTtkOuhJyKDfHCxLDcwNpi+T6OWTEfCw/cq9ZWDbA7
+yCX81pQxfZkfMIS1YFIOGHovK0rMMTraCe+iDNYtVz/L
+-----END RSA PRIVATE KEY-----
+-----BEGIN CERTIFICATE-----
+MIIB9zCCAWACCQDjWWTeC6BQvTANBgkqhkiG9w0BAQQFADBAMQswCQYDVQQGEwJB
+VTETMBEGA1UECBMKU29tZS1TdGF0ZTEcMBoGA1UEChMTV2ViS2l0IExheW91dCBU
+ZXN0czAeFw0wNzA3MTMxMjUxMzJaFw03MTA1MTMwNjIzMTZaMEAxCzAJBgNVBAYT
+AkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMRwwGgYDVQQKExNXZWJLaXQgTGF5b3V0
+IFRlc3RzMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCmcXbusrr8zQr8snIb
+0OVQibVfgv7zPjh/5xdcrKOejJzp3epAAF4TITeFR9vzWIwkmkcRoY+IbQNhh7ke
+fGUYD47bvVamJMtq5cGYVs0HngT+KTMaNGH/G44KkFIOaz/b5d/JNKONrlqwxqXS
++m6IY4l/E1Ff25ZjND5TaEvI1wIDAQABMA0GCSqGSIb3DQEBBAUAA4GBAAfbUbgD
+01O8DoZA02c1MUMbMHRPSb/qdok2pyWoCPa/BSaOIaNPePc8auPRbrS2XsVWSMft
+CTXiXmrK2Xx1+fJuZLAp0CUng4De4cDH5c8nvlocYmXo+1x53S9DfD0KPryjBRI7
+9LnJq2ysHAUawiqFXlwBag6mXawD8YjzcYat
+-----END CERTIFICATE-----
diff --git a/engine/src/flutter/tests/inspector/dom-mutation-expected.txt b/engine/src/flutter/tests/inspector/dom-mutation-expected.txt
new file mode 100644
index 0000000000..76f5a5a5aa
--- /dev/null
+++ b/engine/src/flutter/tests/inspector/dom-mutation-expected.txt
@@ -0,0 +1 @@
+Done!
diff --git a/engine/src/flutter/tests/inspector/dom-mutation-modify-text-node-and-append-expected.txt b/engine/src/flutter/tests/inspector/dom-mutation-modify-text-node-and-append-expected.txt
new file mode 100644
index 0000000000..52eaf21c30
--- /dev/null
+++ b/engine/src/flutter/tests/inspector/dom-mutation-modify-text-node-and-append-expected.txt
@@ -0,0 +1,6 @@
+CONSOLE: LOG: DOM.childNodeInserted
+CONSOLE: LOG: 2
+CONSOLE: LOG: 3
+CONSOLE: LOG: DOM.childNodeInserted
+CONSOLE: LOG: 3
+adding
diff --git a/engine/src/flutter/tests/inspector/dom-mutation-modify-text-node-and-append.html b/engine/src/flutter/tests/inspector/dom-mutation-modify-text-node-and-append.html
new file mode 100644
index 0000000000..a2f0d76ce7
--- /dev/null
+++ b/engine/src/flutter/tests/inspector/dom-mutation-modify-text-node-and-append.html
@@ -0,0 +1,34 @@
+
+
+
+
+
diff --git a/engine/src/flutter/tests/inspector/dom-mutation.html b/engine/src/flutter/tests/inspector/dom-mutation.html
new file mode 100644
index 0000000000..94350fbd50
--- /dev/null
+++ b/engine/src/flutter/tests/inspector/dom-mutation.html
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
diff --git a/engine/src/flutter/tests/lowlevel/abarth-expected.txt b/engine/src/flutter/tests/lowlevel/abarth-expected.txt
new file mode 100644
index 0000000000..861da9caf1
--- /dev/null
+++ b/engine/src/flutter/tests/lowlevel/abarth-expected.txt
@@ -0,0 +1,45 @@
+layer at (0,0) size 800x600
+ RenderView {#document} at (0,0) size 800x600
+layer at (0,0) size 800x600
+ RenderBlock {html} at (0,0) size 800x600
+ RenderBlock {head} at (0,0) size 800x0
+ RenderBlock {body} at (0,0) size 800x600 [bgcolor=#FFFFFF]
+ RenderBlock {div} at (0,0) size 800x265
+ RenderBlock {div} at (0,0) size 800x115
+ RenderBlock {div} at (15,15) size 770x49
+ RenderInline {a} at (0,0) size 242x48 [color=#333333]
+ RenderText {#text} at (528,0) size 242x48
+ text run at (528,0) width 242: "Adam Barth"
+ RenderBlock {div} at (15,64) size 770x36
+ RenderBlock {div} at (0,0) size 770x18
+ RenderText {#text} at (574,0) size 196x17
+ text run at (574,0) width 196: "Ph.D., M.S., Stanford, 2008"
+ RenderBlock {div} at (0,18) size 770x18
+ RenderText {#text} at (635,0) size 135x17
+ text run at (635,0) width 135: "B.A., Cornell, 2003"
+ RenderBlock {div} at (0,115) size 800x150
+ RenderBlock {div} at (0,19) size 800x28
+ RenderInline {a} at (0,0) size 93x17 [color=#333333]
+ RenderText {#text} at (692,5) size 93x17
+ text run at (692,5) width 93: "@adambarth"
+ RenderBlock {div} at (0,47) size 800x28
+ RenderInline {a} at (0,0) size 35x17 [color=#333333]
+ RenderText {#text} at (750,5) size 35x17
+ text run at (750,5) width 35: "Blink"
+ RenderBlock {div} at (0,75) size 800x28
+ RenderInline {a} at (0,0) size 74x17 [color=#333333]
+ RenderText {#text} at (711,5) size 74x17
+ text run at (711,5) width 74: "Chromium"
+ RenderBlock {div} at (0,103) size 800x28
+ RenderInline {a} at (0,0) size 87x17 [color=#333333]
+ RenderText {#text} at (698,5) size 87x17
+ text run at (698,5) width 87: "Publications"
+layer at (686,582) size 114x18
+ RenderBlock (positioned) {div} at (686.19,582) size 113.81x18 [color=#333333]
+ RenderText {#text} at (3,3) size 73x12
+ text run at (3,3) width 73: "Photograph by "
+ RenderInline {a} at (0,0) size 36x12
+ RenderText {#text} at (75,3) size 36x12
+ text run at (75,3) width 36: "J\x{E9}r\x{F4}me"
+ RenderText {#text} at (0,0) size 0x0
+
diff --git a/engine/src/flutter/tests/lowlevel/abarth.html b/engine/src/flutter/tests/lowlevel/abarth.html
new file mode 100644
index 0000000000..a6aff7c7fd
--- /dev/null
+++ b/engine/src/flutter/tests/lowlevel/abarth.html
@@ -0,0 +1,79 @@
+
+
+
+
+Adam Barth
+
+
+
+
+
+
diff --git a/engine/src/flutter/tests/lowlevel/attribute-collection-expected.txt b/engine/src/flutter/tests/lowlevel/attribute-collection-expected.txt
new file mode 100644
index 0000000000..7ddea59e80
--- /dev/null
+++ b/engine/src/flutter/tests/lowlevel/attribute-collection-expected.txt
@@ -0,0 +1,9 @@
+Running 5 tests
+ok 1 Attribute collection should get by index
+ok 2 Attribute collection should get by name
+ok 3 Attribute collection should set by name
+ok 4 Attribute collection should be case sensitive
+ok 5 Attribute collection should live update
+5 tests
+5 pass
+0 fail
diff --git a/engine/src/flutter/tests/lowlevel/attribute-collection.html b/engine/src/flutter/tests/lowlevel/attribute-collection.html
new file mode 100644
index 0000000000..40d940b7f8
--- /dev/null
+++ b/engine/src/flutter/tests/lowlevel/attribute-collection.html
@@ -0,0 +1,56 @@
+
+
+
+
+
diff --git a/engine/src/flutter/tests/lowlevel/camel-case-expected.txt b/engine/src/flutter/tests/lowlevel/camel-case-expected.txt
new file mode 100644
index 0000000000..e946e5eef6
--- /dev/null
+++ b/engine/src/flutter/tests/lowlevel/camel-case-expected.txt
@@ -0,0 +1,5 @@
+Running 1 tests
+ok 1 Element tag names should have various casing
+1 tests
+1 pass
+0 fail
diff --git a/engine/src/flutter/tests/lowlevel/camel-case.html b/engine/src/flutter/tests/lowlevel/camel-case.html
new file mode 100644
index 0000000000..9b414851c4
--- /dev/null
+++ b/engine/src/flutter/tests/lowlevel/camel-case.html
@@ -0,0 +1,14 @@
+
+
+
+
+
diff --git a/engine/src/flutter/tests/lowlevel/createElement-expected.txt b/engine/src/flutter/tests/lowlevel/createElement-expected.txt
new file mode 100644
index 0000000000..ca2b119a20
--- /dev/null
+++ b/engine/src/flutter/tests/lowlevel/createElement-expected.txt
@@ -0,0 +1,5 @@
+Running 1 tests
+ok 1 createElementNS tests from mozilla, attached to webkit bug 16833 should behave like mozilla
+1 tests
+1 pass
+0 fail
diff --git a/engine/src/flutter/tests/lowlevel/createElement.html b/engine/src/flutter/tests/lowlevel/createElement.html
new file mode 100644
index 0000000000..9cd83e0044
--- /dev/null
+++ b/engine/src/flutter/tests/lowlevel/createElement.html
@@ -0,0 +1,112 @@
+
+
+
+
+
diff --git a/engine/src/flutter/tests/lowlevel/dom-implementation-create-document-expected.txt b/engine/src/flutter/tests/lowlevel/dom-implementation-create-document-expected.txt
new file mode 100644
index 0000000000..7f855a124a
--- /dev/null
+++ b/engine/src/flutter/tests/lowlevel/dom-implementation-create-document-expected.txt
@@ -0,0 +1,5 @@
+Running 1 tests
+ok 1 DOMImplementation should let you create a document
+1 tests
+1 pass
+0 fail
diff --git a/engine/src/flutter/tests/lowlevel/dom-implementation-create-document.html b/engine/src/flutter/tests/lowlevel/dom-implementation-create-document.html
new file mode 100644
index 0000000000..6e3a46feeb
--- /dev/null
+++ b/engine/src/flutter/tests/lowlevel/dom-implementation-create-document.html
@@ -0,0 +1,15 @@
+
+
+
+
+
diff --git a/engine/src/flutter/tests/lowlevel/hello-world-expected.txt b/engine/src/flutter/tests/lowlevel/hello-world-expected.txt
new file mode 100644
index 0000000000..99b828639c
--- /dev/null
+++ b/engine/src/flutter/tests/lowlevel/hello-world-expected.txt
@@ -0,0 +1,7 @@
+layer at (0,0) size 800x600
+ RenderView {#document} at (0,0) size 800x600
+layer at (0,0) size 800x19
+ RenderBlock {foo} at (0,0) size 800x19
+ RenderText {#text} at (0,0) size 99x19
+ text run at (0,0) width 99: "Hello World!"
+
diff --git a/engine/src/flutter/tests/lowlevel/hello-world.html b/engine/src/flutter/tests/lowlevel/hello-world.html
new file mode 100644
index 0000000000..a3fa084588
--- /dev/null
+++ b/engine/src/flutter/tests/lowlevel/hello-world.html
@@ -0,0 +1,4 @@
+
+
+Hello World!
+
diff --git a/engine/src/flutter/tests/lowlevel/query-selector-expected.txt b/engine/src/flutter/tests/lowlevel/query-selector-expected.txt
new file mode 100644
index 0000000000..7acef635a0
--- /dev/null
+++ b/engine/src/flutter/tests/lowlevel/query-selector-expected.txt
@@ -0,0 +1,9 @@
+Running 5 tests
+ok 1 querySelector should find elements by class name
+ok 2 querySelector should find elements by id
+ok 3 querySelector should find elements by tag name
+ok 4 querySelector should find an element by compound selector
+ok 5 querySelector should find all elements by compound selector
+5 tests
+5 pass
+0 fail
diff --git a/engine/src/flutter/tests/lowlevel/query-selector.html b/engine/src/flutter/tests/lowlevel/query-selector.html
new file mode 100644
index 0000000000..a216a8cf49
--- /dev/null
+++ b/engine/src/flutter/tests/lowlevel/query-selector.html
@@ -0,0 +1,62 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/engine/src/flutter/tests/lowlevel/scrollbar-expected.txt b/engine/src/flutter/tests/lowlevel/scrollbar-expected.txt
new file mode 100644
index 0000000000..2d082379c4
--- /dev/null
+++ b/engine/src/flutter/tests/lowlevel/scrollbar-expected.txt
@@ -0,0 +1,50 @@
+layer at (0,0) size 800x1500
+ RenderView {#document} at (0,0) size 800x600
+layer at (0,0) size 800x1500
+ RenderBlock {html} at (0,0) size 800x1500 [bgcolor=#FFC0CB]
+ RenderBlock {div} at (0,0) size 800x100
+ RenderText {#text} at (0,0) size 10x19
+ text run at (0,0) width 10: "a"
+ RenderBlock {div} at (0,100) size 800x100
+ RenderText {#text} at (0,0) size 11x19
+ text run at (0,0) width 11: "b"
+ RenderBlock {div} at (0,200) size 800x100
+ RenderText {#text} at (0,0) size 9x19
+ text run at (0,0) width 9: "c"
+ RenderBlock {div} at (0,300) size 800x100
+ RenderText {#text} at (0,0) size 11x19
+ text run at (0,0) width 11: "d"
+ RenderBlock {div} at (0,400) size 800x100
+ RenderText {#text} at (0,0) size 10x19
+ text run at (0,0) width 10: "e"
+ RenderBlock {div} at (0,500) size 800x100
+ RenderText {#text} at (0,0) size 6x19
+ text run at (0,0) width 6: "f"
+ RenderBlock {div} at (0,600) size 800x100
+ RenderText {#text} at (0,0) size 11x19
+ text run at (0,0) width 11: "g"
+ RenderBlock {div} at (0,700) size 800x100
+ RenderText {#text} at (0,0) size 11x19
+ text run at (0,0) width 11: "h"
+ RenderBlock {div} at (0,800) size 800x100
+ RenderText {#text} at (0,0) size 5x19
+ text run at (0,0) width 5: "i"
+ RenderBlock {div} at (0,900) size 800x100
+ RenderText {#text} at (0,0) size 5x19
+ text run at (0,0) width 5: "j"
+ RenderBlock {div} at (0,1000) size 800x100
+ RenderText {#text} at (0,0) size 10x19
+ text run at (0,0) width 10: "k"
+ RenderBlock {div} at (0,1100) size 800x100
+ RenderText {#text} at (0,0) size 5x19
+ text run at (0,0) width 5: "l"
+ RenderBlock {div} at (0,1200) size 800x100
+ RenderText {#text} at (0,0) size 16x19
+ text run at (0,0) width 16: "m"
+ RenderBlock {div} at (0,1300) size 800x100
+ RenderText {#text} at (0,0) size 11x19
+ text run at (0,0) width 11: "n"
+ RenderBlock {div} at (0,1400) size 800x100
+ RenderText {#text} at (0,0) size 10x19
+ text run at (0,0) width 10: "o"
+
diff --git a/engine/src/flutter/tests/lowlevel/scrollbar.html b/engine/src/flutter/tests/lowlevel/scrollbar.html
new file mode 100644
index 0000000000..3e230d41e7
--- /dev/null
+++ b/engine/src/flutter/tests/lowlevel/scrollbar.html
@@ -0,0 +1,21 @@
+
+
+
+
a
+
b
+
c
+
d
+
e
+
f
+
g
+
h
+
i
+
j
+
k
+
l
+
m
+
n
+
o
+
diff --git a/engine/src/flutter/tests/lowlevel/style-basic-expected.txt b/engine/src/flutter/tests/lowlevel/style-basic-expected.txt
new file mode 100644
index 0000000000..ad806cfe0c
--- /dev/null
+++ b/engine/src/flutter/tests/lowlevel/style-basic-expected.txt
@@ -0,0 +1,6 @@
+PASS:
order was 1
+PASS:
order was 2
+PASS: order was 3
+PASS:
order was 4
+PASS:
order was 5
+PASS: order was 6
diff --git a/engine/src/flutter/tests/lowlevel/style-basic.html b/engine/src/flutter/tests/lowlevel/style-basic.html
new file mode 100644
index 0000000000..5b9d2d162c
--- /dev/null
+++ b/engine/src/flutter/tests/lowlevel/style-basic.html
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
+
+
diff --git a/engine/src/flutter/tests/lowlevel/text-expected.txt b/engine/src/flutter/tests/lowlevel/text-expected.txt
new file mode 100644
index 0000000000..fcde0b743f
--- /dev/null
+++ b/engine/src/flutter/tests/lowlevel/text-expected.txt
@@ -0,0 +1 @@
+This is a dump-as-text test.
diff --git a/engine/src/flutter/tests/lowlevel/text.html b/engine/src/flutter/tests/lowlevel/text.html
new file mode 100644
index 0000000000..f1a75bf65d
--- /dev/null
+++ b/engine/src/flutter/tests/lowlevel/text.html
@@ -0,0 +1,6 @@
+
+
+
+This is a dump-as-text test.
+
+
diff --git a/engine/src/flutter/tests/mocha/describe-only-expected.txt b/engine/src/flutter/tests/mocha/describe-only-expected.txt
new file mode 100644
index 0000000000..44a7b54fe1
--- /dev/null
+++ b/engine/src/flutter/tests/mocha/describe-only-expected.txt
@@ -0,0 +1,5 @@
+Running 1 tests
+ok 1 This suite should run this test
+1 tests
+1 pass
+0 fail
diff --git a/engine/src/flutter/tests/mocha/describe-only.html b/engine/src/flutter/tests/mocha/describe-only.html
new file mode 100644
index 0000000000..68f686fdf7
--- /dev/null
+++ b/engine/src/flutter/tests/mocha/describe-only.html
@@ -0,0 +1,20 @@
+
+
+
+
+
diff --git a/engine/src/flutter/tests/mocha/it-only-expected.txt b/engine/src/flutter/tests/mocha/it-only-expected.txt
new file mode 100644
index 0000000000..ff235c1562
--- /dev/null
+++ b/engine/src/flutter/tests/mocha/it-only-expected.txt
@@ -0,0 +1,5 @@
+Running 1 tests
+ok 1 This suite should only run this test
+1 tests
+1 pass
+0 fail
diff --git a/engine/src/flutter/tests/mocha/it-only.html b/engine/src/flutter/tests/mocha/it-only.html
new file mode 100644
index 0000000000..692eb171be
--- /dev/null
+++ b/engine/src/flutter/tests/mocha/it-only.html
@@ -0,0 +1,18 @@
+
+
+
+
+
diff --git a/engine/src/flutter/tests/modules/basic-expected.txt b/engine/src/flutter/tests/modules/basic-expected.txt
new file mode 100644
index 0000000000..0bc5c8cc16
--- /dev/null
+++ b/engine/src/flutter/tests/modules/basic-expected.txt
@@ -0,0 +1 @@
+PASS: pass.html succesfully exported this string.
diff --git a/engine/src/flutter/tests/modules/basic.html b/engine/src/flutter/tests/modules/basic.html
new file mode 100644
index 0000000000..b76fc0dfb5
--- /dev/null
+++ b/engine/src/flutter/tests/modules/basic.html
@@ -0,0 +1,8 @@
+
+
+
+
FAIL
+
+
diff --git a/engine/src/flutter/tests/modules/imports-can-import-expected.txt b/engine/src/flutter/tests/modules/imports-can-import-expected.txt
new file mode 100644
index 0000000000..6bb0ab560e
--- /dev/null
+++ b/engine/src/flutter/tests/modules/imports-can-import-expected.txt
@@ -0,0 +1 @@
+{"message":"PASS: pass.html succesfully exported this string."}
diff --git a/engine/src/flutter/tests/modules/imports-can-import.html b/engine/src/flutter/tests/modules/imports-can-import.html
new file mode 100644
index 0000000000..7983f78e0d
--- /dev/null
+++ b/engine/src/flutter/tests/modules/imports-can-import.html
@@ -0,0 +1,7 @@
+
+
+
FAIL
+
+
diff --git a/engine/src/flutter/tests/modules/resources/intermediate.html b/engine/src/flutter/tests/modules/resources/intermediate.html
new file mode 100644
index 0000000000..55420b8f5a
--- /dev/null
+++ b/engine/src/flutter/tests/modules/resources/intermediate.html
@@ -0,0 +1,7 @@
+
+
+
diff --git a/engine/src/flutter/tests/modules/resources/pass.html b/engine/src/flutter/tests/modules/resources/pass.html
new file mode 100644
index 0000000000..75631167c9
--- /dev/null
+++ b/engine/src/flutter/tests/modules/resources/pass.html
@@ -0,0 +1,3 @@
+
diff --git a/engine/src/flutter/tests/mutation-observer/callback-arguments-expected.txt b/engine/src/flutter/tests/mutation-observer/callback-arguments-expected.txt
new file mode 100644
index 0000000000..b68fab40b7
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/callback-arguments-expected.txt
@@ -0,0 +1,5 @@
+Running 1 tests
+ok 1 MutationObserver should pass the callback and observer arguments
+1 tests
+1 pass
+0 fail
diff --git a/engine/src/flutter/tests/mutation-observer/callback-arguments.html b/engine/src/flutter/tests/mutation-observer/callback-arguments.html
new file mode 100644
index 0000000000..fefda766d1
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/callback-arguments.html
@@ -0,0 +1,18 @@
+
+
+
+
+
diff --git a/engine/src/flutter/tests/mutation-observer/clear-transient-without-delivery-expected.txt b/engine/src/flutter/tests/mutation-observer/clear-transient-without-delivery-expected.txt
new file mode 100644
index 0000000000..606493102d
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/clear-transient-without-delivery-expected.txt
@@ -0,0 +1,5 @@
+Running 1 tests
+ok 1 Transient registrations should be cleared even without delivery
+1 tests
+1 pass
+0 fail
diff --git a/engine/src/flutter/tests/mutation-observer/clear-transient-without-delivery.html b/engine/src/flutter/tests/mutation-observer/clear-transient-without-delivery.html
new file mode 100644
index 0000000000..ebe30d934a
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/clear-transient-without-delivery.html
@@ -0,0 +1,28 @@
+
+
+
+
+
diff --git a/engine/src/flutter/tests/mutation-observer/create-during-delivery-expected.txt b/engine/src/flutter/tests/mutation-observer/create-during-delivery-expected.txt
new file mode 100644
index 0000000000..8850360a1e
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/create-during-delivery-expected.txt
@@ -0,0 +1,5 @@
+Running 1 tests
+ok 1 MutationObservers must wait for the next loop when created during delivery
+1 tests
+1 pass
+0 fail
diff --git a/engine/src/flutter/tests/mutation-observer/create-during-delivery.html b/engine/src/flutter/tests/mutation-observer/create-during-delivery.html
new file mode 100644
index 0000000000..549ae4e877
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/create-during-delivery.html
@@ -0,0 +1,37 @@
+
+
+
+
+
diff --git a/engine/src/flutter/tests/mutation-observer/cross-document-expected.txt b/engine/src/flutter/tests/mutation-observer/cross-document-expected.txt
new file mode 100644
index 0000000000..f9addc732a
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/cross-document-expected.txt
@@ -0,0 +1,6 @@
+Running 2 tests
+ok 1 MutationObserver cross document moves should handle basic observation
+ok 2 MutationObserver cross document moves should handle subtree observation
+2 tests
+2 pass
+0 fail
diff --git a/engine/src/flutter/tests/mutation-observer/cross-document.html b/engine/src/flutter/tests/mutation-observer/cross-document.html
new file mode 100644
index 0000000000..56ec130d2d
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/cross-document.html
@@ -0,0 +1,49 @@
+
+
+
+
+
diff --git a/engine/src/flutter/tests/mutation-observer/delivery-order-expected.txt b/engine/src/flutter/tests/mutation-observer/delivery-order-expected.txt
new file mode 100644
index 0000000000..53bcfce41f
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/delivery-order-expected.txt
@@ -0,0 +1,5 @@
+Running 1 tests
+ok 1 MutationObserver should deliver in order of creation
+1 tests
+1 pass
+0 fail
diff --git a/engine/src/flutter/tests/mutation-observer/delivery-order.html b/engine/src/flutter/tests/mutation-observer/delivery-order.html
new file mode 100644
index 0000000000..11be804e0d
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/delivery-order.html
@@ -0,0 +1,40 @@
+
+
+
+
+
diff --git a/engine/src/flutter/tests/mutation-observer/disconnect-cancel-pending-expected.txt b/engine/src/flutter/tests/mutation-observer/disconnect-cancel-pending-expected.txt
new file mode 100644
index 0000000000..f87992fda2
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/disconnect-cancel-pending-expected.txt
@@ -0,0 +1,5 @@
+Running 1 tests
+ok 1 MutationObserver.disconnect should cancel pending delivery
+1 tests
+1 pass
+0 fail
diff --git a/engine/src/flutter/tests/mutation-observer/disconnect-cancel-pending.html b/engine/src/flutter/tests/mutation-observer/disconnect-cancel-pending.html
new file mode 100644
index 0000000000..f35101f48f
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/disconnect-cancel-pending.html
@@ -0,0 +1,44 @@
+
+
+
+
+
diff --git a/engine/src/flutter/tests/mutation-observer/document-fragment-insertion-expected.txt b/engine/src/flutter/tests/mutation-observer/document-fragment-insertion-expected.txt
new file mode 100644
index 0000000000..dd23333a41
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/document-fragment-insertion-expected.txt
@@ -0,0 +1,7 @@
+Running 3 tests
+ok 1 DocumentFragments should remove all children of the fragment before moving children, using appendChild
+ok 2 DocumentFragments should remove all children of the fragment before moving children, using insertBefore
+ok 3 DocumentFragments should remove all children of the fragment before moving children, using replaceChild
+3 tests
+3 pass
+0 fail
diff --git a/engine/src/flutter/tests/mutation-observer/document-fragment-insertion.html b/engine/src/flutter/tests/mutation-observer/document-fragment-insertion.html
new file mode 100644
index 0000000000..d446c0083b
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/document-fragment-insertion.html
@@ -0,0 +1,69 @@
+
+
+
+
+
diff --git a/engine/src/flutter/tests/mutation-observer/mutate-during-delivery-expected.txt b/engine/src/flutter/tests/mutation-observer/mutate-during-delivery-expected.txt
new file mode 100644
index 0000000000..2cd9842328
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/mutate-during-delivery-expected.txt
@@ -0,0 +1,5 @@
+Running 1 tests
+ok 1 MutationObserver should not interrupt delivery order on getting mutations during delivery
+1 tests
+1 pass
+0 fail
diff --git a/engine/src/flutter/tests/mutation-observer/mutate-during-delivery.html b/engine/src/flutter/tests/mutation-observer/mutate-during-delivery.html
new file mode 100644
index 0000000000..b605daa38a
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/mutate-during-delivery.html
@@ -0,0 +1,34 @@
+
+
+
+
+
diff --git a/engine/src/flutter/tests/mutation-observer/mutation-callback-non-element-crash-expected.txt b/engine/src/flutter/tests/mutation-observer/mutation-callback-non-element-crash-expected.txt
new file mode 100644
index 0000000000..bc057cbdff
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/mutation-callback-non-element-crash-expected.txt
@@ -0,0 +1 @@
+PASS. We didn't crash
diff --git a/engine/src/flutter/tests/mutation-observer/mutation-callback-non-element-crash.html b/engine/src/flutter/tests/mutation-observer/mutation-callback-non-element-crash.html
new file mode 100644
index 0000000000..205921c863
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/mutation-callback-non-element-crash.html
@@ -0,0 +1,15 @@
+
+
+
+
+
+
diff --git a/engine/src/flutter/tests/mutation-observer/mutation-observer-constructor-expected.txt b/engine/src/flutter/tests/mutation-observer/mutation-observer-constructor-expected.txt
new file mode 100644
index 0000000000..3a84b311af
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/mutation-observer-constructor-expected.txt
@@ -0,0 +1,6 @@
+Running 2 tests
+ok 1 MutationObserver should have methods
+ok 2 MutationObserver should throw with incorrect constructor args
+2 tests
+2 pass
+0 fail
diff --git a/engine/src/flutter/tests/mutation-observer/mutation-observer-constructor.html b/engine/src/flutter/tests/mutation-observer/mutation-observer-constructor.html
new file mode 100644
index 0000000000..df07463c87
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/mutation-observer-constructor.html
@@ -0,0 +1,28 @@
+
+
+
+
+
diff --git a/engine/src/flutter/tests/mutation-observer/mutation-record-constructor-expected.txt b/engine/src/flutter/tests/mutation-observer/mutation-record-constructor-expected.txt
new file mode 100644
index 0000000000..5676f7c77c
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/mutation-record-constructor-expected.txt
@@ -0,0 +1,5 @@
+Running 1 tests
+ok 1 MutationRecord should be exposed on window but not constructable
+1 tests
+1 pass
+0 fail
diff --git a/engine/src/flutter/tests/mutation-observer/mutation-record-constructor.html b/engine/src/flutter/tests/mutation-observer/mutation-record-constructor.html
new file mode 100644
index 0000000000..7fd7d7ed8a
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/mutation-record-constructor.html
@@ -0,0 +1,22 @@
+
+
+
+
+
diff --git a/engine/src/flutter/tests/mutation-observer/mutation-record-nullity-expected.txt b/engine/src/flutter/tests/mutation-observer/mutation-record-nullity-expected.txt
new file mode 100644
index 0000000000..a972d009b2
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/mutation-record-nullity-expected.txt
@@ -0,0 +1,7 @@
+Running 3 tests
+ok 1 Non-relevant properties on mutation records should be null, except for NodeLists, which should be empty on characterData records
+ok 2 Non-relevant properties on mutation records should be null, except for NodeLists, which should be empty on childList records
+ok 3 Non-relevant properties on mutation records should be null, except for NodeLists, which should be empty on attribute records
+3 tests
+3 pass
+0 fail
diff --git a/engine/src/flutter/tests/mutation-observer/mutation-record-nullity.html b/engine/src/flutter/tests/mutation-observer/mutation-record-nullity.html
new file mode 100644
index 0000000000..a32e945954
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/mutation-record-nullity.html
@@ -0,0 +1,42 @@
+
+
+
+
+
diff --git a/engine/src/flutter/tests/mutation-observer/observe-attributes-expected.txt b/engine/src/flutter/tests/mutation-observer/observe-attributes-expected.txt
new file mode 100644
index 0000000000..1afd06f8e3
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/observe-attributes-expected.txt
@@ -0,0 +1,19 @@
+Running 15 tests
+ok 1 MutationObserver.observe on attributes should handle basic aspects of attribute observation
+ok 2 MutationObserver.observe on attributes should not notify of attribute changes without asking
+ok 3 MutationObserver.observe on attributes re-observing the same node with the same observer has the effect of resetting the options
+ok 4 MutationObserver.observe on attributes multiple observers can be registered to a given node and both receive mutations
+ok 5 MutationObserver.observe on attributes should deliver mutations on modifications to node properties which delegate to attribute storage
+ok 6 MutationObserver.observe on attributes should handle basic oldValue delivery
+ok 7 MutationObserver.observe on attributes should deliver oldValue when needed
+ok 8 MutationObserver.observe on attributes should give attributeOldValue if any entries request it with multiple observers
+ok 9 MutationObserver.observe on attributes should handle setting an attribute via reflected IDL attribute
+ok 10 MutationObserver.observe on attributes should respect attributeFilter on HTML elements
+ok 11 MutationObserver.observe on attributes should respect different attributeFilters when observing multiple subtree nodes
+ok 12 MutationObserver.observe on attributes should create records for the style property
+ok 13 MutationObserver.observe on attributes should have oldValue for style property mutations
+ok 14 MutationObserver.observe on attributes should not create records for noop style property mutation
+ok 15 MutationObserver.observe on attributes should create records when mutating through the attribute collection
+15 tests
+15 pass
+0 fail
diff --git a/engine/src/flutter/tests/mutation-observer/observe-attributes.html b/engine/src/flutter/tests/mutation-observer/observe-attributes.html
new file mode 100644
index 0000000000..6261cf6ab7
--- /dev/null
+++ b/engine/src/flutter/tests/mutation-observer/observe-attributes.html
@@ -0,0 +1,601 @@
+
+
+
+
+
+