diff --git a/apisample-error-worker.js b/examples/apisample-error-worker.js similarity index 56% rename from apisample-error-worker.js rename to examples/apisample-error-worker.js index c0285c37d5adfc..9bfe0a6f343d5e 100644 --- a/apisample-error-worker.js +++ b/examples/apisample-error-worker.js @@ -1,3 +1,3 @@ -importScripts("testharness.js"); +importScripts("../testharness.js"); throw new Error("This failure is expected."); diff --git a/apisample-worker.js b/examples/apisample-worker.js similarity index 95% rename from apisample-worker.js rename to examples/apisample-worker.js index 6fd1ceb5376bec..b1d086314cc981 100644 --- a/apisample-worker.js +++ b/examples/apisample-worker.js @@ -1,4 +1,4 @@ -importScripts("testharness.js"); +importScripts("../testharness.js"); test( function(test) { diff --git a/apisample.htm b/examples/apisample.htm similarity index 95% rename from apisample.htm rename to examples/apisample.htm index 6eb3279f5f6dab..504a343acdbbc8 100644 --- a/apisample.htm +++ b/examples/apisample.htm @@ -7,8 +7,8 @@

Sample HTML5 API Tests

- - + + - + + - + +

Callbacks From Tests Running In An IFRAME

diff --git a/apisample12.html b/examples/apisample12.html similarity index 95% rename from apisample12.html rename to examples/apisample12.html index e16ebcf44e8a2c..785d57b2ba5a02 100644 --- a/apisample12.html +++ b/examples/apisample12.html @@ -2,8 +2,8 @@ Example with iframe that notifies containing document via cross document messaging - - + +

Notifications From Tests Running In An IFRAME

diff --git a/apisample13.html b/examples/apisample13.html similarity index 97% rename from apisample13.html rename to examples/apisample13.html index cddd90fe508892..f6cf0eec83186e 100644 --- a/apisample13.html +++ b/examples/apisample13.html @@ -8,8 +8,8 @@

Promise Tests

This test demonstrates the use of promise_test. Assumes ECMAScript 6 Promise support. Some failures are expected.

- - + + - + +

Dedicated Web Worker Tests

diff --git a/apisample15.html b/examples/apisample15.html similarity index 89% rename from apisample15.html rename to examples/apisample15.html index 0785797d403339..631d1922bac88c 100644 --- a/apisample15.html +++ b/examples/apisample15.html @@ -2,8 +2,8 @@ Example with a shared worker - - + +

Shared Web Worker Tests

diff --git a/apisample16.html b/examples/apisample16.html similarity index 95% rename from apisample16.html rename to examples/apisample16.html index 00be84c7530f79..d859d94bf6cbc0 100644 --- a/apisample16.html +++ b/examples/apisample16.html @@ -2,8 +2,8 @@ Example with a service worker - - + +

Service Worker Tests

diff --git a/apisample2.htm b/examples/apisample2.htm similarity index 82% rename from apisample2.htm rename to examples/apisample2.htm index 49eed8d9de0bc1..4a4c16b4dfabc4 100644 --- a/apisample2.htm +++ b/examples/apisample2.htm @@ -7,8 +7,8 @@

Sample HTML5 API Tests

There should be two results

- - + + +

Sample HTML5 API Tests

diff --git a/apisample4.htm b/examples/apisample4.htm similarity index 88% rename from apisample4.htm rename to examples/apisample4.htm index 731a3cb678f4bb..c8fbbded695fd6 100644 --- a/apisample4.htm +++ b/examples/apisample4.htm @@ -3,7 +3,7 @@ Harness Handling Uncaught Exception - +

Harness Handling Uncaught Exception

diff --git a/apisample5.htm b/examples/apisample5.htm similarity index 91% rename from apisample5.htm rename to examples/apisample5.htm index 3853ccf421b689..3edf602a1e6e75 100644 --- a/apisample5.htm +++ b/examples/apisample5.htm @@ -3,7 +3,7 @@ Harness Ignoring Uncaught Exception - +

Harness Ignoring Uncaught Exception

diff --git a/apisample6.html b/examples/apisample6.html similarity index 59% rename from apisample6.html rename to examples/apisample6.html index 526e4649d282c8..7459c54d57208c 100644 --- a/apisample6.html +++ b/examples/apisample6.html @@ -1,7 +1,7 @@ Example with file_is_test - - + + - + + - + + - + + \ No newline at end of file