diff --git a/content/canvas/moz.build b/content/canvas/moz.build
deleted file mode 100644
index b666b2e804a3..000000000000
--- a/content/canvas/moz.build
+++ /dev/null
@@ -1,10 +0,0 @@
-# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
-# vim: set filetype=python:
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-PARALLEL_DIRS += ['public', 'src']
-TEST_DIRS += ['test']
-
-TEST_TOOL_DIRS += ['compiledtest']
diff --git a/content/canvas/public/moz.build b/content/canvas/public/moz.build
deleted file mode 100644
index 774482005ebd..000000000000
--- a/content/canvas/public/moz.build
+++ /dev/null
@@ -1,15 +0,0 @@
-# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
-# vim: set filetype=python:
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-EXPORTS += [
- 'nsICanvasRenderingContextInternal.h',
-]
-
-EXPORTS.mozilla.ipc += [
- 'DocumentRendererChild.h',
- 'DocumentRendererParent.h',
-]
-
diff --git a/content/canvas/test/android.json b/content/canvas/test/android.json
deleted file mode 100644
index f6697b7a149e..000000000000
--- a/content/canvas/test/android.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "runtests": {},
- "excludetests": {
- "content/canvas/test/webgl/test_webgl_conformance_test_suite.html": ""
- }
-}
diff --git a/content/canvas/test/image_green-redirect^headers^ b/content/canvas/test/image_green-redirect^headers^
deleted file mode 100644
index e54e486c1a55..000000000000
--- a/content/canvas/test/image_green-redirect^headers^
+++ /dev/null
@@ -1,2 +0,0 @@
-HTTP 302 Moved
-Location: http://example.com/tests/content/canvas/test/image_green-1x1.png
diff --git a/content/html/content/src/HTMLCanvasElement.cpp b/content/html/content/src/HTMLCanvasElement.cpp
index 1836bbebcaf6..012238a7a709 100644
--- a/content/html/content/src/HTMLCanvasElement.cpp
+++ b/content/html/content/src/HTMLCanvasElement.cpp
@@ -37,7 +37,7 @@
#include "ActiveLayerTracker.h"
#ifdef MOZ_WEBGL
-#include "../canvas/src/WebGL2Context.h"
+#include "WebGL2Context.h"
#endif
using namespace mozilla::layers;
diff --git a/content/html/content/src/moz.build b/content/html/content/src/moz.build
index 88948c875279..a793993d9894 100644
--- a/content/html/content/src/moz.build
+++ b/content/html/content/src/moz.build
@@ -171,11 +171,11 @@ include('/ipc/chromium/chromium-config.mozbuild')
FINAL_LIBRARY = 'xul'
LOCAL_INCLUDES += [
'/content/base/src',
- '/content/canvas/src',
'/content/html/document/src',
'/content/media/',
'/content/xul/content/src',
'/dom/base',
+ '/dom/canvas',
'/dom/xbl',
'/editor/libeditor/base',
'/editor/libeditor/text',
diff --git a/content/moz.build b/content/moz.build
index 6c174ed42c03..1dcdcad54c2c 100644
--- a/content/moz.build
+++ b/content/moz.build
@@ -6,7 +6,6 @@
PARALLEL_DIRS += [
'base',
- 'canvas',
'html',
'mathml/content/src',
'media',
diff --git a/content/test/reftest/reftest.list b/content/test/reftest/reftest.list
index 0042059d6a3e..f292a87f41f7 100644
--- a/content/test/reftest/reftest.list
+++ b/content/test/reftest/reftest.list
@@ -1,8 +1,3 @@
-# Canvas reftests
-# From: /content/test/reftest
-# To: /content/canvas/test/reftest
-skip-if(xulFennec) include ../../canvas/test/reftest/reftest.list
-
include ../../base/test/reftest/reftest.list # bug 920877
== bug453105.html bug453105-ref.html
diff --git a/dom/bindings/moz.build b/dom/bindings/moz.build
index 1162b0cedd6b..c72a987d7b8e 100644
--- a/dom/bindings/moz.build
+++ b/dom/bindings/moz.build
@@ -41,7 +41,6 @@ MSVC_ENABLE_PGO = True
LOCAL_INCLUDES += [
'/content/base/src',
- '/content/canvas/src',
'/content/html/content/src',
'/content/html/document/src',
'/content/media/webaudio',
@@ -54,6 +53,7 @@ LOCAL_INCLUDES += [
'/dom/battery',
'/dom/bluetooth',
'/dom/camera',
+ '/dom/canvas',
'/dom/file',
'/dom/indexedDB',
'/dom/src/geolocation',
diff --git a/content/canvas/src/CanvasGradient.h b/dom/canvas/CanvasGradient.h
similarity index 100%
rename from content/canvas/src/CanvasGradient.h
rename to dom/canvas/CanvasGradient.h
diff --git a/content/canvas/src/CanvasImageCache.cpp b/dom/canvas/CanvasImageCache.cpp
similarity index 100%
rename from content/canvas/src/CanvasImageCache.cpp
rename to dom/canvas/CanvasImageCache.cpp
diff --git a/content/canvas/src/CanvasImageCache.h b/dom/canvas/CanvasImageCache.h
similarity index 100%
rename from content/canvas/src/CanvasImageCache.h
rename to dom/canvas/CanvasImageCache.h
diff --git a/content/canvas/src/CanvasPattern.h b/dom/canvas/CanvasPattern.h
similarity index 100%
rename from content/canvas/src/CanvasPattern.h
rename to dom/canvas/CanvasPattern.h
diff --git a/content/canvas/src/CanvasRenderingContext2D.cpp b/dom/canvas/CanvasRenderingContext2D.cpp
similarity index 100%
rename from content/canvas/src/CanvasRenderingContext2D.cpp
rename to dom/canvas/CanvasRenderingContext2D.cpp
diff --git a/content/canvas/src/CanvasRenderingContext2D.h b/dom/canvas/CanvasRenderingContext2D.h
similarity index 100%
rename from content/canvas/src/CanvasRenderingContext2D.h
rename to dom/canvas/CanvasRenderingContext2D.h
diff --git a/content/canvas/src/CanvasUtils.cpp b/dom/canvas/CanvasUtils.cpp
similarity index 100%
rename from content/canvas/src/CanvasUtils.cpp
rename to dom/canvas/CanvasUtils.cpp
diff --git a/content/canvas/src/CanvasUtils.h b/dom/canvas/CanvasUtils.h
similarity index 100%
rename from content/canvas/src/CanvasUtils.h
rename to dom/canvas/CanvasUtils.h
diff --git a/content/canvas/src/DocumentRendererChild.cpp b/dom/canvas/DocumentRendererChild.cpp
similarity index 100%
rename from content/canvas/src/DocumentRendererChild.cpp
rename to dom/canvas/DocumentRendererChild.cpp
diff --git a/content/canvas/public/DocumentRendererChild.h b/dom/canvas/DocumentRendererChild.h
similarity index 100%
rename from content/canvas/public/DocumentRendererChild.h
rename to dom/canvas/DocumentRendererChild.h
diff --git a/content/canvas/src/DocumentRendererParent.cpp b/dom/canvas/DocumentRendererParent.cpp
similarity index 100%
rename from content/canvas/src/DocumentRendererParent.cpp
rename to dom/canvas/DocumentRendererParent.cpp
diff --git a/content/canvas/public/DocumentRendererParent.h b/dom/canvas/DocumentRendererParent.h
similarity index 100%
rename from content/canvas/public/DocumentRendererParent.h
rename to dom/canvas/DocumentRendererParent.h
diff --git a/content/canvas/src/ImageData.cpp b/dom/canvas/ImageData.cpp
similarity index 100%
rename from content/canvas/src/ImageData.cpp
rename to dom/canvas/ImageData.cpp
diff --git a/content/canvas/src/ImageData.h b/dom/canvas/ImageData.h
similarity index 100%
rename from content/canvas/src/ImageData.h
rename to dom/canvas/ImageData.h
diff --git a/content/canvas/src/ImageEncoder.cpp b/dom/canvas/ImageEncoder.cpp
similarity index 100%
rename from content/canvas/src/ImageEncoder.cpp
rename to dom/canvas/ImageEncoder.cpp
diff --git a/content/canvas/src/ImageEncoder.h b/dom/canvas/ImageEncoder.h
similarity index 100%
rename from content/canvas/src/ImageEncoder.h
rename to dom/canvas/ImageEncoder.h
diff --git a/content/canvas/src/Makefile.in b/dom/canvas/Makefile.in
similarity index 100%
rename from content/canvas/src/Makefile.in
rename to dom/canvas/Makefile.in
diff --git a/content/canvas/src/MurmurHash3.cpp b/dom/canvas/MurmurHash3.cpp
similarity index 100%
rename from content/canvas/src/MurmurHash3.cpp
rename to dom/canvas/MurmurHash3.cpp
diff --git a/content/canvas/src/MurmurHash3.h b/dom/canvas/MurmurHash3.h
similarity index 100%
rename from content/canvas/src/MurmurHash3.h
rename to dom/canvas/MurmurHash3.h
diff --git a/content/canvas/src/TextMetrics.h b/dom/canvas/TextMetrics.h
similarity index 100%
rename from content/canvas/src/TextMetrics.h
rename to dom/canvas/TextMetrics.h
diff --git a/content/canvas/src/WebGL1Context.cpp b/dom/canvas/WebGL1Context.cpp
similarity index 100%
rename from content/canvas/src/WebGL1Context.cpp
rename to dom/canvas/WebGL1Context.cpp
diff --git a/content/canvas/src/WebGL1Context.h b/dom/canvas/WebGL1Context.h
similarity index 100%
rename from content/canvas/src/WebGL1Context.h
rename to dom/canvas/WebGL1Context.h
diff --git a/content/canvas/src/WebGL2Context.cpp b/dom/canvas/WebGL2Context.cpp
similarity index 100%
rename from content/canvas/src/WebGL2Context.cpp
rename to dom/canvas/WebGL2Context.cpp
diff --git a/content/canvas/src/WebGL2Context.h b/dom/canvas/WebGL2Context.h
similarity index 100%
rename from content/canvas/src/WebGL2Context.h
rename to dom/canvas/WebGL2Context.h
diff --git a/content/canvas/src/WebGLActiveInfo.cpp b/dom/canvas/WebGLActiveInfo.cpp
similarity index 100%
rename from content/canvas/src/WebGLActiveInfo.cpp
rename to dom/canvas/WebGLActiveInfo.cpp
diff --git a/content/canvas/src/WebGLActiveInfo.h b/dom/canvas/WebGLActiveInfo.h
similarity index 100%
rename from content/canvas/src/WebGLActiveInfo.h
rename to dom/canvas/WebGLActiveInfo.h
diff --git a/content/canvas/src/WebGLBuffer.cpp b/dom/canvas/WebGLBuffer.cpp
similarity index 100%
rename from content/canvas/src/WebGLBuffer.cpp
rename to dom/canvas/WebGLBuffer.cpp
diff --git a/content/canvas/src/WebGLBuffer.h b/dom/canvas/WebGLBuffer.h
similarity index 100%
rename from content/canvas/src/WebGLBuffer.h
rename to dom/canvas/WebGLBuffer.h
diff --git a/content/canvas/src/WebGLContext.cpp b/dom/canvas/WebGLContext.cpp
similarity index 100%
rename from content/canvas/src/WebGLContext.cpp
rename to dom/canvas/WebGLContext.cpp
diff --git a/content/canvas/src/WebGLContext.h b/dom/canvas/WebGLContext.h
similarity index 100%
rename from content/canvas/src/WebGLContext.h
rename to dom/canvas/WebGLContext.h
diff --git a/content/canvas/src/WebGLContextAsyncQueries.cpp b/dom/canvas/WebGLContextAsyncQueries.cpp
similarity index 100%
rename from content/canvas/src/WebGLContextAsyncQueries.cpp
rename to dom/canvas/WebGLContextAsyncQueries.cpp
diff --git a/content/canvas/src/WebGLContextBuffers.cpp b/dom/canvas/WebGLContextBuffers.cpp
similarity index 100%
rename from content/canvas/src/WebGLContextBuffers.cpp
rename to dom/canvas/WebGLContextBuffers.cpp
diff --git a/content/canvas/src/WebGLContextDraw.cpp b/dom/canvas/WebGLContextDraw.cpp
similarity index 100%
rename from content/canvas/src/WebGLContextDraw.cpp
rename to dom/canvas/WebGLContextDraw.cpp
diff --git a/content/canvas/src/WebGLContextExtensions.cpp b/dom/canvas/WebGLContextExtensions.cpp
similarity index 100%
rename from content/canvas/src/WebGLContextExtensions.cpp
rename to dom/canvas/WebGLContextExtensions.cpp
diff --git a/content/canvas/src/WebGLContextFramebufferOperations.cpp b/dom/canvas/WebGLContextFramebufferOperations.cpp
similarity index 100%
rename from content/canvas/src/WebGLContextFramebufferOperations.cpp
rename to dom/canvas/WebGLContextFramebufferOperations.cpp
diff --git a/content/canvas/src/WebGLContextGL.cpp b/dom/canvas/WebGLContextGL.cpp
similarity index 100%
rename from content/canvas/src/WebGLContextGL.cpp
rename to dom/canvas/WebGLContextGL.cpp
diff --git a/content/canvas/src/WebGLContextLossTimer.cpp b/dom/canvas/WebGLContextLossTimer.cpp
similarity index 100%
rename from content/canvas/src/WebGLContextLossTimer.cpp
rename to dom/canvas/WebGLContextLossTimer.cpp
diff --git a/content/canvas/src/WebGLContextNotSupported.cpp b/dom/canvas/WebGLContextNotSupported.cpp
similarity index 100%
rename from content/canvas/src/WebGLContextNotSupported.cpp
rename to dom/canvas/WebGLContextNotSupported.cpp
diff --git a/content/canvas/src/WebGLContextReporter.cpp b/dom/canvas/WebGLContextReporter.cpp
similarity index 100%
rename from content/canvas/src/WebGLContextReporter.cpp
rename to dom/canvas/WebGLContextReporter.cpp
diff --git a/content/canvas/src/WebGLContextState.cpp b/dom/canvas/WebGLContextState.cpp
similarity index 100%
rename from content/canvas/src/WebGLContextState.cpp
rename to dom/canvas/WebGLContextState.cpp
diff --git a/content/canvas/src/WebGLContextUtils.cpp b/dom/canvas/WebGLContextUtils.cpp
similarity index 100%
rename from content/canvas/src/WebGLContextUtils.cpp
rename to dom/canvas/WebGLContextUtils.cpp
diff --git a/content/canvas/src/WebGLContextUtils.h b/dom/canvas/WebGLContextUtils.h
similarity index 100%
rename from content/canvas/src/WebGLContextUtils.h
rename to dom/canvas/WebGLContextUtils.h
diff --git a/content/canvas/src/WebGLContextValidate.cpp b/dom/canvas/WebGLContextValidate.cpp
similarity index 100%
rename from content/canvas/src/WebGLContextValidate.cpp
rename to dom/canvas/WebGLContextValidate.cpp
diff --git a/content/canvas/src/WebGLContextVertexArray.cpp b/dom/canvas/WebGLContextVertexArray.cpp
similarity index 100%
rename from content/canvas/src/WebGLContextVertexArray.cpp
rename to dom/canvas/WebGLContextVertexArray.cpp
diff --git a/content/canvas/src/WebGLContextVertices.cpp b/dom/canvas/WebGLContextVertices.cpp
similarity index 100%
rename from content/canvas/src/WebGLContextVertices.cpp
rename to dom/canvas/WebGLContextVertices.cpp
diff --git a/content/canvas/src/WebGLElementArrayCache.cpp b/dom/canvas/WebGLElementArrayCache.cpp
similarity index 100%
rename from content/canvas/src/WebGLElementArrayCache.cpp
rename to dom/canvas/WebGLElementArrayCache.cpp
diff --git a/content/canvas/src/WebGLElementArrayCache.h b/dom/canvas/WebGLElementArrayCache.h
similarity index 100%
rename from content/canvas/src/WebGLElementArrayCache.h
rename to dom/canvas/WebGLElementArrayCache.h
diff --git a/content/canvas/src/WebGLExtensionBase.cpp b/dom/canvas/WebGLExtensionBase.cpp
similarity index 100%
rename from content/canvas/src/WebGLExtensionBase.cpp
rename to dom/canvas/WebGLExtensionBase.cpp
diff --git a/content/canvas/src/WebGLExtensionBlendMinMax.cpp b/dom/canvas/WebGLExtensionBlendMinMax.cpp
similarity index 100%
rename from content/canvas/src/WebGLExtensionBlendMinMax.cpp
rename to dom/canvas/WebGLExtensionBlendMinMax.cpp
diff --git a/content/canvas/src/WebGLExtensionColorBufferFloat.cpp b/dom/canvas/WebGLExtensionColorBufferFloat.cpp
similarity index 100%
rename from content/canvas/src/WebGLExtensionColorBufferFloat.cpp
rename to dom/canvas/WebGLExtensionColorBufferFloat.cpp
diff --git a/content/canvas/src/WebGLExtensionColorBufferHalfFloat.cpp b/dom/canvas/WebGLExtensionColorBufferHalfFloat.cpp
similarity index 100%
rename from content/canvas/src/WebGLExtensionColorBufferHalfFloat.cpp
rename to dom/canvas/WebGLExtensionColorBufferHalfFloat.cpp
diff --git a/content/canvas/src/WebGLExtensionCompressedTextureATC.cpp b/dom/canvas/WebGLExtensionCompressedTextureATC.cpp
similarity index 100%
rename from content/canvas/src/WebGLExtensionCompressedTextureATC.cpp
rename to dom/canvas/WebGLExtensionCompressedTextureATC.cpp
diff --git a/content/canvas/src/WebGLExtensionCompressedTextureETC1.cpp b/dom/canvas/WebGLExtensionCompressedTextureETC1.cpp
similarity index 100%
rename from content/canvas/src/WebGLExtensionCompressedTextureETC1.cpp
rename to dom/canvas/WebGLExtensionCompressedTextureETC1.cpp
diff --git a/content/canvas/src/WebGLExtensionCompressedTexturePVRTC.cpp b/dom/canvas/WebGLExtensionCompressedTexturePVRTC.cpp
similarity index 100%
rename from content/canvas/src/WebGLExtensionCompressedTexturePVRTC.cpp
rename to dom/canvas/WebGLExtensionCompressedTexturePVRTC.cpp
diff --git a/content/canvas/src/WebGLExtensionCompressedTextureS3TC.cpp b/dom/canvas/WebGLExtensionCompressedTextureS3TC.cpp
similarity index 100%
rename from content/canvas/src/WebGLExtensionCompressedTextureS3TC.cpp
rename to dom/canvas/WebGLExtensionCompressedTextureS3TC.cpp
diff --git a/content/canvas/src/WebGLExtensionDebugRendererInfo.cpp b/dom/canvas/WebGLExtensionDebugRendererInfo.cpp
similarity index 100%
rename from content/canvas/src/WebGLExtensionDebugRendererInfo.cpp
rename to dom/canvas/WebGLExtensionDebugRendererInfo.cpp
diff --git a/content/canvas/src/WebGLExtensionDebugShaders.cpp b/dom/canvas/WebGLExtensionDebugShaders.cpp
similarity index 100%
rename from content/canvas/src/WebGLExtensionDebugShaders.cpp
rename to dom/canvas/WebGLExtensionDebugShaders.cpp
diff --git a/content/canvas/src/WebGLExtensionDepthTexture.cpp b/dom/canvas/WebGLExtensionDepthTexture.cpp
similarity index 100%
rename from content/canvas/src/WebGLExtensionDepthTexture.cpp
rename to dom/canvas/WebGLExtensionDepthTexture.cpp
diff --git a/content/canvas/src/WebGLExtensionDrawBuffers.cpp b/dom/canvas/WebGLExtensionDrawBuffers.cpp
similarity index 100%
rename from content/canvas/src/WebGLExtensionDrawBuffers.cpp
rename to dom/canvas/WebGLExtensionDrawBuffers.cpp
diff --git a/content/canvas/src/WebGLExtensionElementIndexUint.cpp b/dom/canvas/WebGLExtensionElementIndexUint.cpp
similarity index 100%
rename from content/canvas/src/WebGLExtensionElementIndexUint.cpp
rename to dom/canvas/WebGLExtensionElementIndexUint.cpp
diff --git a/content/canvas/src/WebGLExtensionFragDepth.cpp b/dom/canvas/WebGLExtensionFragDepth.cpp
similarity index 100%
rename from content/canvas/src/WebGLExtensionFragDepth.cpp
rename to dom/canvas/WebGLExtensionFragDepth.cpp
diff --git a/content/canvas/src/WebGLExtensionInstancedArrays.cpp b/dom/canvas/WebGLExtensionInstancedArrays.cpp
similarity index 100%
rename from content/canvas/src/WebGLExtensionInstancedArrays.cpp
rename to dom/canvas/WebGLExtensionInstancedArrays.cpp
diff --git a/content/canvas/src/WebGLExtensionLoseContext.cpp b/dom/canvas/WebGLExtensionLoseContext.cpp
similarity index 100%
rename from content/canvas/src/WebGLExtensionLoseContext.cpp
rename to dom/canvas/WebGLExtensionLoseContext.cpp
diff --git a/content/canvas/src/WebGLExtensionSRGB.cpp b/dom/canvas/WebGLExtensionSRGB.cpp
similarity index 100%
rename from content/canvas/src/WebGLExtensionSRGB.cpp
rename to dom/canvas/WebGLExtensionSRGB.cpp
diff --git a/content/canvas/src/WebGLExtensionStandardDerivatives.cpp b/dom/canvas/WebGLExtensionStandardDerivatives.cpp
similarity index 100%
rename from content/canvas/src/WebGLExtensionStandardDerivatives.cpp
rename to dom/canvas/WebGLExtensionStandardDerivatives.cpp
diff --git a/content/canvas/src/WebGLExtensionTextureFilterAnisotropic.cpp b/dom/canvas/WebGLExtensionTextureFilterAnisotropic.cpp
similarity index 100%
rename from content/canvas/src/WebGLExtensionTextureFilterAnisotropic.cpp
rename to dom/canvas/WebGLExtensionTextureFilterAnisotropic.cpp
diff --git a/content/canvas/src/WebGLExtensionTextureFloat.cpp b/dom/canvas/WebGLExtensionTextureFloat.cpp
similarity index 100%
rename from content/canvas/src/WebGLExtensionTextureFloat.cpp
rename to dom/canvas/WebGLExtensionTextureFloat.cpp
diff --git a/content/canvas/src/WebGLExtensionTextureFloatLinear.cpp b/dom/canvas/WebGLExtensionTextureFloatLinear.cpp
similarity index 100%
rename from content/canvas/src/WebGLExtensionTextureFloatLinear.cpp
rename to dom/canvas/WebGLExtensionTextureFloatLinear.cpp
diff --git a/content/canvas/src/WebGLExtensionTextureHalfFloat.cpp b/dom/canvas/WebGLExtensionTextureHalfFloat.cpp
similarity index 100%
rename from content/canvas/src/WebGLExtensionTextureHalfFloat.cpp
rename to dom/canvas/WebGLExtensionTextureHalfFloat.cpp
diff --git a/content/canvas/src/WebGLExtensionTextureHalfFloatLinear.cpp b/dom/canvas/WebGLExtensionTextureHalfFloatLinear.cpp
similarity index 100%
rename from content/canvas/src/WebGLExtensionTextureHalfFloatLinear.cpp
rename to dom/canvas/WebGLExtensionTextureHalfFloatLinear.cpp
diff --git a/content/canvas/src/WebGLExtensionVertexArray.cpp b/dom/canvas/WebGLExtensionVertexArray.cpp
similarity index 100%
rename from content/canvas/src/WebGLExtensionVertexArray.cpp
rename to dom/canvas/WebGLExtensionVertexArray.cpp
diff --git a/content/canvas/src/WebGLExtensions.h b/dom/canvas/WebGLExtensions.h
similarity index 100%
rename from content/canvas/src/WebGLExtensions.h
rename to dom/canvas/WebGLExtensions.h
diff --git a/content/canvas/src/WebGLFramebuffer.cpp b/dom/canvas/WebGLFramebuffer.cpp
similarity index 100%
rename from content/canvas/src/WebGLFramebuffer.cpp
rename to dom/canvas/WebGLFramebuffer.cpp
diff --git a/content/canvas/src/WebGLFramebuffer.h b/dom/canvas/WebGLFramebuffer.h
similarity index 100%
rename from content/canvas/src/WebGLFramebuffer.h
rename to dom/canvas/WebGLFramebuffer.h
diff --git a/content/canvas/src/WebGLFramebufferAttachable.cpp b/dom/canvas/WebGLFramebufferAttachable.cpp
similarity index 100%
rename from content/canvas/src/WebGLFramebufferAttachable.cpp
rename to dom/canvas/WebGLFramebufferAttachable.cpp
diff --git a/content/canvas/src/WebGLFramebufferAttachable.h b/dom/canvas/WebGLFramebufferAttachable.h
similarity index 100%
rename from content/canvas/src/WebGLFramebufferAttachable.h
rename to dom/canvas/WebGLFramebufferAttachable.h
diff --git a/content/canvas/src/WebGLMemoryTracker.h b/dom/canvas/WebGLMemoryTracker.h
similarity index 100%
rename from content/canvas/src/WebGLMemoryTracker.h
rename to dom/canvas/WebGLMemoryTracker.h
diff --git a/content/canvas/src/WebGLObjectModel.cpp b/dom/canvas/WebGLObjectModel.cpp
similarity index 100%
rename from content/canvas/src/WebGLObjectModel.cpp
rename to dom/canvas/WebGLObjectModel.cpp
diff --git a/content/canvas/src/WebGLObjectModel.h b/dom/canvas/WebGLObjectModel.h
similarity index 100%
rename from content/canvas/src/WebGLObjectModel.h
rename to dom/canvas/WebGLObjectModel.h
diff --git a/content/canvas/src/WebGLProgram.cpp b/dom/canvas/WebGLProgram.cpp
similarity index 100%
rename from content/canvas/src/WebGLProgram.cpp
rename to dom/canvas/WebGLProgram.cpp
diff --git a/content/canvas/src/WebGLProgram.h b/dom/canvas/WebGLProgram.h
similarity index 100%
rename from content/canvas/src/WebGLProgram.h
rename to dom/canvas/WebGLProgram.h
diff --git a/content/canvas/src/WebGLQuery.cpp b/dom/canvas/WebGLQuery.cpp
similarity index 100%
rename from content/canvas/src/WebGLQuery.cpp
rename to dom/canvas/WebGLQuery.cpp
diff --git a/content/canvas/src/WebGLQuery.h b/dom/canvas/WebGLQuery.h
similarity index 100%
rename from content/canvas/src/WebGLQuery.h
rename to dom/canvas/WebGLQuery.h
diff --git a/content/canvas/src/WebGLRenderbuffer.cpp b/dom/canvas/WebGLRenderbuffer.cpp
similarity index 100%
rename from content/canvas/src/WebGLRenderbuffer.cpp
rename to dom/canvas/WebGLRenderbuffer.cpp
diff --git a/content/canvas/src/WebGLRenderbuffer.h b/dom/canvas/WebGLRenderbuffer.h
similarity index 100%
rename from content/canvas/src/WebGLRenderbuffer.h
rename to dom/canvas/WebGLRenderbuffer.h
diff --git a/content/canvas/src/WebGLShader.cpp b/dom/canvas/WebGLShader.cpp
similarity index 100%
rename from content/canvas/src/WebGLShader.cpp
rename to dom/canvas/WebGLShader.cpp
diff --git a/content/canvas/src/WebGLShader.h b/dom/canvas/WebGLShader.h
similarity index 100%
rename from content/canvas/src/WebGLShader.h
rename to dom/canvas/WebGLShader.h
diff --git a/content/canvas/src/WebGLShaderPrecisionFormat.cpp b/dom/canvas/WebGLShaderPrecisionFormat.cpp
similarity index 100%
rename from content/canvas/src/WebGLShaderPrecisionFormat.cpp
rename to dom/canvas/WebGLShaderPrecisionFormat.cpp
diff --git a/content/canvas/src/WebGLShaderPrecisionFormat.h b/dom/canvas/WebGLShaderPrecisionFormat.h
similarity index 100%
rename from content/canvas/src/WebGLShaderPrecisionFormat.h
rename to dom/canvas/WebGLShaderPrecisionFormat.h
diff --git a/content/canvas/src/WebGLTexelConversions.cpp b/dom/canvas/WebGLTexelConversions.cpp
similarity index 100%
rename from content/canvas/src/WebGLTexelConversions.cpp
rename to dom/canvas/WebGLTexelConversions.cpp
diff --git a/content/canvas/src/WebGLTexelConversions.h b/dom/canvas/WebGLTexelConversions.h
similarity index 100%
rename from content/canvas/src/WebGLTexelConversions.h
rename to dom/canvas/WebGLTexelConversions.h
diff --git a/content/canvas/src/WebGLTexture.cpp b/dom/canvas/WebGLTexture.cpp
similarity index 100%
rename from content/canvas/src/WebGLTexture.cpp
rename to dom/canvas/WebGLTexture.cpp
diff --git a/content/canvas/src/WebGLTexture.h b/dom/canvas/WebGLTexture.h
similarity index 100%
rename from content/canvas/src/WebGLTexture.h
rename to dom/canvas/WebGLTexture.h
diff --git a/content/canvas/src/WebGLTypes.h b/dom/canvas/WebGLTypes.h
similarity index 100%
rename from content/canvas/src/WebGLTypes.h
rename to dom/canvas/WebGLTypes.h
diff --git a/content/canvas/src/WebGLUniformInfo.h b/dom/canvas/WebGLUniformInfo.h
similarity index 100%
rename from content/canvas/src/WebGLUniformInfo.h
rename to dom/canvas/WebGLUniformInfo.h
diff --git a/content/canvas/src/WebGLUniformLocation.cpp b/dom/canvas/WebGLUniformLocation.cpp
similarity index 100%
rename from content/canvas/src/WebGLUniformLocation.cpp
rename to dom/canvas/WebGLUniformLocation.cpp
diff --git a/content/canvas/src/WebGLUniformLocation.h b/dom/canvas/WebGLUniformLocation.h
similarity index 100%
rename from content/canvas/src/WebGLUniformLocation.h
rename to dom/canvas/WebGLUniformLocation.h
diff --git a/content/canvas/src/WebGLValidateStrings.h b/dom/canvas/WebGLValidateStrings.h
similarity index 100%
rename from content/canvas/src/WebGLValidateStrings.h
rename to dom/canvas/WebGLValidateStrings.h
diff --git a/content/canvas/src/WebGLVertexArray.cpp b/dom/canvas/WebGLVertexArray.cpp
similarity index 100%
rename from content/canvas/src/WebGLVertexArray.cpp
rename to dom/canvas/WebGLVertexArray.cpp
diff --git a/content/canvas/src/WebGLVertexArray.h b/dom/canvas/WebGLVertexArray.h
similarity index 100%
rename from content/canvas/src/WebGLVertexArray.h
rename to dom/canvas/WebGLVertexArray.h
diff --git a/content/canvas/src/WebGLVertexArrayFake.cpp b/dom/canvas/WebGLVertexArrayFake.cpp
similarity index 100%
rename from content/canvas/src/WebGLVertexArrayFake.cpp
rename to dom/canvas/WebGLVertexArrayFake.cpp
diff --git a/content/canvas/src/WebGLVertexArrayFake.h b/dom/canvas/WebGLVertexArrayFake.h
similarity index 100%
rename from content/canvas/src/WebGLVertexArrayFake.h
rename to dom/canvas/WebGLVertexArrayFake.h
diff --git a/content/canvas/src/WebGLVertexArrayGL.cpp b/dom/canvas/WebGLVertexArrayGL.cpp
similarity index 100%
rename from content/canvas/src/WebGLVertexArrayGL.cpp
rename to dom/canvas/WebGLVertexArrayGL.cpp
diff --git a/content/canvas/src/WebGLVertexArrayGL.h b/dom/canvas/WebGLVertexArrayGL.h
similarity index 100%
rename from content/canvas/src/WebGLVertexArrayGL.h
rename to dom/canvas/WebGLVertexArrayGL.h
diff --git a/content/canvas/src/WebGLVertexAttribData.h b/dom/canvas/WebGLVertexAttribData.h
similarity index 100%
rename from content/canvas/src/WebGLVertexAttribData.h
rename to dom/canvas/WebGLVertexAttribData.h
diff --git a/content/canvas/compiledtest/TestWebGLElementArrayCache.cpp b/dom/canvas/compiledtest/TestWebGLElementArrayCache.cpp
similarity index 100%
rename from content/canvas/compiledtest/TestWebGLElementArrayCache.cpp
rename to dom/canvas/compiledtest/TestWebGLElementArrayCache.cpp
diff --git a/content/canvas/compiledtest/moz.build b/dom/canvas/compiledtest/moz.build
similarity index 97%
rename from content/canvas/compiledtest/moz.build
rename to dom/canvas/compiledtest/moz.build
index 41bf30506e36..0de02180e44f 100644
--- a/content/canvas/compiledtest/moz.build
+++ b/dom/canvas/compiledtest/moz.build
@@ -13,7 +13,7 @@ SOURCES += sorted('%s.cpp' % t for t in CPP_UNIT_TESTS)
FAIL_ON_WARNINGS = True
LOCAL_INCLUDES += [
- '../src',
+ '../',
]
USE_LIBS += [
diff --git a/content/canvas/crashtests/0px-size-font-667225.html b/dom/canvas/crashtests/0px-size-font-667225.html
similarity index 100%
rename from content/canvas/crashtests/0px-size-font-667225.html
rename to dom/canvas/crashtests/0px-size-font-667225.html
diff --git a/content/canvas/crashtests/0px-size-font-shadow.html b/dom/canvas/crashtests/0px-size-font-shadow.html
similarity index 100%
rename from content/canvas/crashtests/0px-size-font-shadow.html
rename to dom/canvas/crashtests/0px-size-font-shadow.html
diff --git a/content/canvas/crashtests/360293-1.html b/dom/canvas/crashtests/360293-1.html
similarity index 100%
rename from content/canvas/crashtests/360293-1.html
rename to dom/canvas/crashtests/360293-1.html
diff --git a/content/canvas/crashtests/421715-1.html b/dom/canvas/crashtests/421715-1.html
similarity index 100%
rename from content/canvas/crashtests/421715-1.html
rename to dom/canvas/crashtests/421715-1.html
diff --git a/content/canvas/crashtests/553938-1.html b/dom/canvas/crashtests/553938-1.html
similarity index 100%
rename from content/canvas/crashtests/553938-1.html
rename to dom/canvas/crashtests/553938-1.html
diff --git a/content/canvas/crashtests/647480.html b/dom/canvas/crashtests/647480.html
similarity index 100%
rename from content/canvas/crashtests/647480.html
rename to dom/canvas/crashtests/647480.html
diff --git a/content/canvas/crashtests/727547.html b/dom/canvas/crashtests/727547.html
similarity index 100%
rename from content/canvas/crashtests/727547.html
rename to dom/canvas/crashtests/727547.html
diff --git a/content/canvas/crashtests/729116.html b/dom/canvas/crashtests/729116.html
similarity index 100%
rename from content/canvas/crashtests/729116.html
rename to dom/canvas/crashtests/729116.html
diff --git a/content/canvas/crashtests/743499-negative-size.html b/dom/canvas/crashtests/743499-negative-size.html
similarity index 100%
rename from content/canvas/crashtests/743499-negative-size.html
rename to dom/canvas/crashtests/743499-negative-size.html
diff --git a/content/canvas/crashtests/745699-1.html b/dom/canvas/crashtests/745699-1.html
similarity index 100%
rename from content/canvas/crashtests/745699-1.html
rename to dom/canvas/crashtests/745699-1.html
diff --git a/content/canvas/crashtests/745818-large-source.html b/dom/canvas/crashtests/745818-large-source.html
similarity index 100%
rename from content/canvas/crashtests/745818-large-source.html
rename to dom/canvas/crashtests/745818-large-source.html
diff --git a/content/canvas/crashtests/746813-1.html b/dom/canvas/crashtests/746813-1.html
similarity index 100%
rename from content/canvas/crashtests/746813-1.html
rename to dom/canvas/crashtests/746813-1.html
diff --git a/content/canvas/crashtests/767337-1.html b/dom/canvas/crashtests/767337-1.html
similarity index 100%
rename from content/canvas/crashtests/767337-1.html
rename to dom/canvas/crashtests/767337-1.html
diff --git a/content/canvas/crashtests/780392-1.html b/dom/canvas/crashtests/780392-1.html
similarity index 100%
rename from content/canvas/crashtests/780392-1.html
rename to dom/canvas/crashtests/780392-1.html
diff --git a/content/canvas/crashtests/789933-1.html b/dom/canvas/crashtests/789933-1.html
similarity index 100%
rename from content/canvas/crashtests/789933-1.html
rename to dom/canvas/crashtests/789933-1.html
diff --git a/content/canvas/crashtests/794463-1.html b/dom/canvas/crashtests/794463-1.html
similarity index 100%
rename from content/canvas/crashtests/794463-1.html
rename to dom/canvas/crashtests/794463-1.html
diff --git a/content/canvas/crashtests/802926-1.html b/dom/canvas/crashtests/802926-1.html
similarity index 100%
rename from content/canvas/crashtests/802926-1.html
rename to dom/canvas/crashtests/802926-1.html
diff --git a/content/canvas/crashtests/896047-1.html b/dom/canvas/crashtests/896047-1.html
similarity index 100%
rename from content/canvas/crashtests/896047-1.html
rename to dom/canvas/crashtests/896047-1.html
diff --git a/content/canvas/crashtests/896047-2.html b/dom/canvas/crashtests/896047-2.html
similarity index 100%
rename from content/canvas/crashtests/896047-2.html
rename to dom/canvas/crashtests/896047-2.html
diff --git a/content/canvas/crashtests/916128-1.html b/dom/canvas/crashtests/916128-1.html
similarity index 100%
rename from content/canvas/crashtests/916128-1.html
rename to dom/canvas/crashtests/916128-1.html
diff --git a/content/canvas/crashtests/934939-1.html b/dom/canvas/crashtests/934939-1.html
similarity index 100%
rename from content/canvas/crashtests/934939-1.html
rename to dom/canvas/crashtests/934939-1.html
diff --git a/content/canvas/crashtests/crashtests.list b/dom/canvas/crashtests/crashtests.list
similarity index 100%
rename from content/canvas/crashtests/crashtests.list
rename to dom/canvas/crashtests/crashtests.list
diff --git a/content/canvas/crashtests/texImage2D.html b/dom/canvas/crashtests/texImage2D.html
similarity index 100%
rename from content/canvas/crashtests/texImage2D.html
rename to dom/canvas/crashtests/texImage2D.html
diff --git a/content/canvas/src/moz.build b/dom/canvas/moz.build
similarity index 94%
rename from content/canvas/src/moz.build
rename to dom/canvas/moz.build
index f19d13d525ea..c2528cde2b3a 100644
--- a/content/canvas/src/moz.build
+++ b/dom/canvas/moz.build
@@ -4,6 +4,18 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+TEST_DIRS += ['test']
+TEST_TOOL_DIRS += ['compiledtest']
+
+EXPORTS += [
+ 'nsICanvasRenderingContextInternal.h',
+]
+
+EXPORTS.mozilla.ipc += [
+ 'DocumentRendererChild.h',
+ 'DocumentRendererParent.h',
+]
+
EXPORTS.mozilla.dom += [
'CanvasGradient.h',
'CanvasPattern.h',
diff --git a/content/canvas/public/nsICanvasRenderingContextInternal.h b/dom/canvas/nsICanvasRenderingContextInternal.h
similarity index 100%
rename from content/canvas/public/nsICanvasRenderingContextInternal.h
rename to dom/canvas/nsICanvasRenderingContextInternal.h
diff --git a/dom/canvas/test/android.json b/dom/canvas/test/android.json
new file mode 100644
index 000000000000..6170e32fb5f1
--- /dev/null
+++ b/dom/canvas/test/android.json
@@ -0,0 +1,6 @@
+{
+ "runtests": {},
+ "excludetests": {
+ "dom/canvas/test/webgl/test_webgl_conformance_test_suite.html": ""
+ }
+}
diff --git a/content/canvas/test/chrome/chrome.ini b/dom/canvas/test/chrome/chrome.ini
similarity index 100%
rename from content/canvas/test/chrome/chrome.ini
rename to dom/canvas/test/chrome/chrome.ini
diff --git a/content/canvas/test/chrome/nonchrome_webgl_debug_renderer_info.html b/dom/canvas/test/chrome/nonchrome_webgl_debug_renderer_info.html
similarity index 100%
rename from content/canvas/test/chrome/nonchrome_webgl_debug_renderer_info.html
rename to dom/canvas/test/chrome/nonchrome_webgl_debug_renderer_info.html
diff --git a/content/canvas/test/chrome/test_drawWindow_widget_layers.html b/dom/canvas/test/chrome/test_drawWindow_widget_layers.html
similarity index 100%
rename from content/canvas/test/chrome/test_drawWindow_widget_layers.html
rename to dom/canvas/test/chrome/test_drawWindow_widget_layers.html
diff --git a/content/canvas/test/chrome/test_webgl_debug_renderer_info.html b/dom/canvas/test/chrome/test_webgl_debug_renderer_info.html
similarity index 96%
rename from content/canvas/test/chrome/test_webgl_debug_renderer_info.html
rename to dom/canvas/test/chrome/test_webgl_debug_renderer_info.html
index abd9a4b714e9..46fabe54f741 100644
--- a/content/canvas/test/chrome/test_webgl_debug_renderer_info.html
+++ b/dom/canvas/test/chrome/test_webgl_debug_renderer_info.html
@@ -67,7 +67,7 @@
// Now run the non-chrome code to verify the security of this WebGL chrome-only extension.
var iframe = document.createElement("iframe");
- iframe.src = "http://mochi.test:8888/chrome/content/canvas/test/chrome/nonchrome_webgl_debug_renderer_info.html";
+ iframe.src = "http://mochi.test:8888/chrome/dom/canvas/test/chrome/nonchrome_webgl_debug_renderer_info.html";
iframe.onload = function () {
diff --git a/content/canvas/test/crossorigin/image-allow-credentials.png b/dom/canvas/test/crossorigin/image-allow-credentials.png
similarity index 100%
rename from content/canvas/test/crossorigin/image-allow-credentials.png
rename to dom/canvas/test/crossorigin/image-allow-credentials.png
diff --git a/content/canvas/test/crossorigin/image-allow-credentials.png^headers^ b/dom/canvas/test/crossorigin/image-allow-credentials.png^headers^
similarity index 100%
rename from content/canvas/test/crossorigin/image-allow-credentials.png^headers^
rename to dom/canvas/test/crossorigin/image-allow-credentials.png^headers^
diff --git a/content/canvas/test/crossorigin/image-allow-star.png b/dom/canvas/test/crossorigin/image-allow-star.png
similarity index 100%
rename from content/canvas/test/crossorigin/image-allow-star.png
rename to dom/canvas/test/crossorigin/image-allow-star.png
diff --git a/content/canvas/test/crossorigin/image-allow-star.png^headers^ b/dom/canvas/test/crossorigin/image-allow-star.png^headers^
similarity index 100%
rename from content/canvas/test/crossorigin/image-allow-star.png^headers^
rename to dom/canvas/test/crossorigin/image-allow-star.png^headers^
diff --git a/content/canvas/test/crossorigin/image.png b/dom/canvas/test/crossorigin/image.png
similarity index 100%
rename from content/canvas/test/crossorigin/image.png
rename to dom/canvas/test/crossorigin/image.png
diff --git a/content/canvas/test/crossorigin/mochitest.ini b/dom/canvas/test/crossorigin/mochitest.ini
similarity index 100%
rename from content/canvas/test/crossorigin/mochitest.ini
rename to dom/canvas/test/crossorigin/mochitest.ini
diff --git a/content/canvas/test/crossorigin/test_canvas2d_crossorigin.html b/dom/canvas/test/crossorigin/test_canvas2d_crossorigin.html
similarity index 98%
rename from content/canvas/test/crossorigin/test_canvas2d_crossorigin.html
rename to dom/canvas/test/crossorigin/test_canvas2d_crossorigin.html
index 81a11176de7d..6571542be9fd 100644
--- a/content/canvas/test/crossorigin/test_canvas2d_crossorigin.html
+++ b/dom/canvas/test/crossorigin/test_canvas2d_crossorigin.html
@@ -106,7 +106,7 @@
}
// Now kick off the tests.
-const testPath = "/tests/content/canvas/test/crossorigin/"
+const testPath = "/tests/dom/canvas/test/crossorigin/"
// First column is image file, second column is what CORS headers the server sends
const imageFiles = [
diff --git a/content/canvas/test/crossorigin/test_video_crossorigin.html b/dom/canvas/test/crossorigin/test_video_crossorigin.html
similarity index 98%
rename from content/canvas/test/crossorigin/test_video_crossorigin.html
rename to dom/canvas/test/crossorigin/test_video_crossorigin.html
index 5ae2313d4a38..ffd4bcb51109 100644
--- a/content/canvas/test/crossorigin/test_video_crossorigin.html
+++ b/dom/canvas/test/crossorigin/test_video_crossorigin.html
@@ -158,7 +158,7 @@
var manager = new MediaTestManager;
var corsTests = [];
-const host = "http://example.com/tests/content/canvas/test/crossorigin/video.sjs";
+const host = "http://example.com/tests/dom/canvas/test/crossorigin/video.sjs";
const serverAttrValues = [
[ "&cors=none", "none" ],
[ "&cors=anonymous", "anonymous" ],
diff --git a/content/canvas/test/crossorigin/test_webgl_crossorigin_textures.html b/dom/canvas/test/crossorigin/test_webgl_crossorigin_textures.html
similarity index 65%
rename from content/canvas/test/crossorigin/test_webgl_crossorigin_textures.html
rename to dom/canvas/test/crossorigin/test_webgl_crossorigin_textures.html
index 2eaa38e133f2..545048a340d9 100644
--- a/content/canvas/test/crossorigin/test_webgl_crossorigin_textures.html
+++ b/dom/canvas/test/crossorigin/test_webgl_crossorigin_textures.html
@@ -73,68 +73,68 @@
}
- testTexture("http://mochi.test:8888/tests/content/canvas/test/crossorigin/image.png",
+ testTexture("http://mochi.test:8888/tests/dom/canvas/test/crossorigin/image.png",
"missing-value-default",
OK);
- testTexture("http://mochi.test:8888/tests/content/canvas/test/crossorigin/image.png",
+ testTexture("http://mochi.test:8888/tests/dom/canvas/test/crossorigin/image.png",
"",
OK);
- testTexture("http://mochi.test:8888/tests/content/canvas/test/crossorigin/image.png",
+ testTexture("http://mochi.test:8888/tests/dom/canvas/test/crossorigin/image.png",
"just-crossOrigin-without-value",
OK);
- testTexture("http://example.com/tests/content/canvas/test/crossorigin/image.png",
+ testTexture("http://example.com/tests/dom/canvas/test/crossorigin/image.png",
"missing-value-default",
"SecurityError");
- testTexture("http://example.com/tests/content/canvas/test/crossorigin/image.png",
+ testTexture("http://example.com/tests/dom/canvas/test/crossorigin/image.png",
"",
"SecurityError");
- testTexture("http://example.com/tests/content/canvas/test/crossorigin/image.png",
+ testTexture("http://example.com/tests/dom/canvas/test/crossorigin/image.png",
"just-crossOrigin-without-value",
"SecurityError");
- testTexture("http://example.com/tests/content/canvas/test/crossorigin/image-allow-star.png",
+ testTexture("http://example.com/tests/dom/canvas/test/crossorigin/image-allow-star.png",
"missing-value-default",
"SecurityError");
- testTexture("http://example.com/tests/content/canvas/test/crossorigin/image-allow-star.png",
+ testTexture("http://example.com/tests/dom/canvas/test/crossorigin/image-allow-star.png",
"",
OK);
- testTexture("http://example.com/tests/content/canvas/test/crossorigin/image-allow-star.png",
+ testTexture("http://example.com/tests/dom/canvas/test/crossorigin/image-allow-star.png",
"just-crossOrigin-without-value",
OK);
- testTexture("http://example.com/tests/content/canvas/test/crossorigin/image-allow-star.png",
+ testTexture("http://example.com/tests/dom/canvas/test/crossorigin/image-allow-star.png",
"anonymous",
OK);
- testTexture("http://example.com/tests/content/canvas/test/crossorigin/image-allow-star.png",
+ testTexture("http://example.com/tests/dom/canvas/test/crossorigin/image-allow-star.png",
"use-credentials",
"SecurityError");
- testTexture("http://example.com/tests/content/canvas/test/crossorigin/image-allow-credentials.png",
+ testTexture("http://example.com/tests/dom/canvas/test/crossorigin/image-allow-credentials.png",
"missing-value-default",
"SecurityError");
- testTexture("http://example.com/tests/content/canvas/test/crossorigin/image-allow-credentials.png",
+ testTexture("http://example.com/tests/dom/canvas/test/crossorigin/image-allow-credentials.png",
"",
OK);
- testTexture("http://example.com/tests/content/canvas/test/crossorigin/image-allow-credentials.png",
+ testTexture("http://example.com/tests/dom/canvas/test/crossorigin/image-allow-credentials.png",
"just-crossOrigin-without-value",
OK);
- testTexture("http://example.com/tests/content/canvas/test/crossorigin/image-allow-credentials.png",
+ testTexture("http://example.com/tests/dom/canvas/test/crossorigin/image-allow-credentials.png",
"anonymous",
OK);
- testTexture("http://example.com/tests/content/canvas/test/crossorigin/image-allow-credentials.png",
+ testTexture("http://example.com/tests/dom/canvas/test/crossorigin/image-allow-credentials.png",
"use-credentials",
OK);
// Test that bad values for crossorigin="..." are interpreted as invalid-value-default which is "anonymous".
- testTexture("http://mochi.test:8888/tests/content/canvas/test/crossorigin/image.png",
+ testTexture("http://mochi.test:8888/tests/dom/canvas/test/crossorigin/image.png",
"foobar",
OK);
- testTexture("http://example.com/tests/content/canvas/test/crossorigin/image.png",
+ testTexture("http://example.com/tests/dom/canvas/test/crossorigin/image.png",
"foobar",
"SecurityError");
- testTexture("http://example.com/tests/content/canvas/test/crossorigin/image-allow-star.png",
+ testTexture("http://example.com/tests/dom/canvas/test/crossorigin/image-allow-star.png",
"foobar",
OK);
- testTexture("http://example.com/tests/content/canvas/test/crossorigin/image-allow-credentials.png",
+ testTexture("http://example.com/tests/dom/canvas/test/crossorigin/image-allow-credentials.png",
"foobar",
OK);
diff --git a/content/canvas/test/crossorigin/video.sjs b/dom/canvas/test/crossorigin/video.sjs
similarity index 100%
rename from content/canvas/test/crossorigin/video.sjs
rename to dom/canvas/test/crossorigin/video.sjs
diff --git a/content/canvas/test/file_drawImage_document_domain.html b/dom/canvas/test/file_drawImage_document_domain.html
similarity index 100%
rename from content/canvas/test/file_drawImage_document_domain.html
rename to dom/canvas/test/file_drawImage_document_domain.html
diff --git a/content/canvas/test/file_drawWindow_common.js b/dom/canvas/test/file_drawWindow_common.js
similarity index 100%
rename from content/canvas/test/file_drawWindow_common.js
rename to dom/canvas/test/file_drawWindow_common.js
diff --git a/content/canvas/test/file_drawWindow_source.html b/dom/canvas/test/file_drawWindow_source.html
similarity index 100%
rename from content/canvas/test/file_drawWindow_source.html
rename to dom/canvas/test/file_drawWindow_source.html
diff --git a/content/canvas/test/image_anim-gr.gif b/dom/canvas/test/image_anim-gr.gif
similarity index 100%
rename from content/canvas/test/image_anim-gr.gif
rename to dom/canvas/test/image_anim-gr.gif
diff --git a/content/canvas/test/image_anim-gr.png b/dom/canvas/test/image_anim-gr.png
similarity index 100%
rename from content/canvas/test/image_anim-gr.png
rename to dom/canvas/test/image_anim-gr.png
diff --git a/content/canvas/test/image_anim-poster-gr.png b/dom/canvas/test/image_anim-poster-gr.png
similarity index 100%
rename from content/canvas/test/image_anim-poster-gr.png
rename to dom/canvas/test/image_anim-poster-gr.png
diff --git a/content/canvas/test/image_broken.png b/dom/canvas/test/image_broken.png
similarity index 100%
rename from content/canvas/test/image_broken.png
rename to dom/canvas/test/image_broken.png
diff --git a/content/canvas/test/image_ggrr-256x256.png b/dom/canvas/test/image_ggrr-256x256.png
similarity index 100%
rename from content/canvas/test/image_ggrr-256x256.png
rename to dom/canvas/test/image_ggrr-256x256.png
diff --git a/content/canvas/test/image_green-16x16.png b/dom/canvas/test/image_green-16x16.png
similarity index 100%
rename from content/canvas/test/image_green-16x16.png
rename to dom/canvas/test/image_green-16x16.png
diff --git a/content/canvas/test/image_green-1x1.png b/dom/canvas/test/image_green-1x1.png
similarity index 100%
rename from content/canvas/test/image_green-1x1.png
rename to dom/canvas/test/image_green-1x1.png
diff --git a/content/canvas/test/image_green-redirect b/dom/canvas/test/image_green-redirect
similarity index 100%
rename from content/canvas/test/image_green-redirect
rename to dom/canvas/test/image_green-redirect
diff --git a/dom/canvas/test/image_green-redirect^headers^ b/dom/canvas/test/image_green-redirect^headers^
new file mode 100644
index 000000000000..a5b6cb7446ed
--- /dev/null
+++ b/dom/canvas/test/image_green-redirect^headers^
@@ -0,0 +1,2 @@
+HTTP 302 Moved
+Location: http://example.com/tests/dom/canvas/test/image_green-1x1.png
diff --git a/content/canvas/test/image_green.png b/dom/canvas/test/image_green.png
similarity index 100%
rename from content/canvas/test/image_green.png
rename to dom/canvas/test/image_green.png
diff --git a/content/canvas/test/image_red-16x16.png b/dom/canvas/test/image_red-16x16.png
similarity index 100%
rename from content/canvas/test/image_red-16x16.png
rename to dom/canvas/test/image_red-16x16.png
diff --git a/content/canvas/test/image_red.png b/dom/canvas/test/image_red.png
similarity index 100%
rename from content/canvas/test/image_red.png
rename to dom/canvas/test/image_red.png
diff --git a/content/canvas/test/image_redtransparent.png b/dom/canvas/test/image_redtransparent.png
similarity index 100%
rename from content/canvas/test/image_redtransparent.png
rename to dom/canvas/test/image_redtransparent.png
diff --git a/content/canvas/test/image_rgrg-256x256.png b/dom/canvas/test/image_rgrg-256x256.png
similarity index 100%
rename from content/canvas/test/image_rgrg-256x256.png
rename to dom/canvas/test/image_rgrg-256x256.png
diff --git a/content/canvas/test/image_rrgg-256x256.png b/dom/canvas/test/image_rrgg-256x256.png
similarity index 100%
rename from content/canvas/test/image_rrgg-256x256.png
rename to dom/canvas/test/image_rrgg-256x256.png
diff --git a/content/canvas/test/image_transparent.png b/dom/canvas/test/image_transparent.png
similarity index 100%
rename from content/canvas/test/image_transparent.png
rename to dom/canvas/test/image_transparent.png
diff --git a/content/canvas/test/image_transparent50.png b/dom/canvas/test/image_transparent50.png
similarity index 100%
rename from content/canvas/test/image_transparent50.png
rename to dom/canvas/test/image_transparent50.png
diff --git a/content/canvas/test/image_yellow.png b/dom/canvas/test/image_yellow.png
similarity index 100%
rename from content/canvas/test/image_yellow.png
rename to dom/canvas/test/image_yellow.png
diff --git a/content/canvas/test/image_yellow75.png b/dom/canvas/test/image_yellow75.png
similarity index 100%
rename from content/canvas/test/image_yellow75.png
rename to dom/canvas/test/image_yellow75.png
diff --git a/content/canvas/test/mochitest.ini b/dom/canvas/test/mochitest.ini
similarity index 100%
rename from content/canvas/test/mochitest.ini
rename to dom/canvas/test/mochitest.ini
diff --git a/content/canvas/test/moz.build b/dom/canvas/test/moz.build
similarity index 100%
rename from content/canvas/test/moz.build
rename to dom/canvas/test/moz.build
diff --git a/content/canvas/test/reftest/black.html b/dom/canvas/test/reftest/black.html
similarity index 100%
rename from content/canvas/test/reftest/black.html
rename to dom/canvas/test/reftest/black.html
diff --git a/content/canvas/test/reftest/clip-multiple-paths-badref.html b/dom/canvas/test/reftest/clip-multiple-paths-badref.html
similarity index 100%
rename from content/canvas/test/reftest/clip-multiple-paths-badref.html
rename to dom/canvas/test/reftest/clip-multiple-paths-badref.html
diff --git a/content/canvas/test/reftest/clip-multiple-paths.html b/dom/canvas/test/reftest/clip-multiple-paths.html
similarity index 100%
rename from content/canvas/test/reftest/clip-multiple-paths.html
rename to dom/canvas/test/reftest/clip-multiple-paths.html
diff --git a/content/canvas/test/reftest/colors-half-alpha.png b/dom/canvas/test/reftest/colors-half-alpha.png
similarity index 100%
rename from content/canvas/test/reftest/colors-half-alpha.png
rename to dom/canvas/test/reftest/colors-half-alpha.png
diff --git a/content/canvas/test/reftest/colors.png b/dom/canvas/test/reftest/colors.png
similarity index 100%
rename from content/canvas/test/reftest/colors.png
rename to dom/canvas/test/reftest/colors.png
diff --git a/content/canvas/test/reftest/drawCustomFocusRing-ref.html b/dom/canvas/test/reftest/drawCustomFocusRing-ref.html
similarity index 100%
rename from content/canvas/test/reftest/drawCustomFocusRing-ref.html
rename to dom/canvas/test/reftest/drawCustomFocusRing-ref.html
diff --git a/content/canvas/test/reftest/drawCustomFocusRing.html b/dom/canvas/test/reftest/drawCustomFocusRing.html
similarity index 100%
rename from content/canvas/test/reftest/drawCustomFocusRing.html
rename to dom/canvas/test/reftest/drawCustomFocusRing.html
diff --git a/content/canvas/test/reftest/drawFocusIfNeeded-ref.html b/dom/canvas/test/reftest/drawFocusIfNeeded-ref.html
similarity index 100%
rename from content/canvas/test/reftest/drawFocusIfNeeded-ref.html
rename to dom/canvas/test/reftest/drawFocusIfNeeded-ref.html
diff --git a/content/canvas/test/reftest/drawFocusIfNeeded.html b/dom/canvas/test/reftest/drawFocusIfNeeded.html
similarity index 100%
rename from content/canvas/test/reftest/drawFocusIfNeeded.html
rename to dom/canvas/test/reftest/drawFocusIfNeeded.html
diff --git a/content/canvas/test/reftest/green.png b/dom/canvas/test/reftest/green.png
similarity index 100%
rename from content/canvas/test/reftest/green.png
rename to dom/canvas/test/reftest/green.png
diff --git a/content/canvas/test/reftest/half-colors-half-alpha.png b/dom/canvas/test/reftest/half-colors-half-alpha.png
similarity index 100%
rename from content/canvas/test/reftest/half-colors-half-alpha.png
rename to dom/canvas/test/reftest/half-colors-half-alpha.png
diff --git a/content/canvas/test/reftest/half-colors.png b/dom/canvas/test/reftest/half-colors.png
similarity index 100%
rename from content/canvas/test/reftest/half-colors.png
rename to dom/canvas/test/reftest/half-colors.png
diff --git a/content/canvas/test/reftest/reftest.list b/dom/canvas/test/reftest/reftest.list
similarity index 100%
rename from content/canvas/test/reftest/reftest.list
rename to dom/canvas/test/reftest/reftest.list
diff --git a/content/canvas/test/reftest/stroketext-shadow-ref.html b/dom/canvas/test/reftest/stroketext-shadow-ref.html
similarity index 100%
rename from content/canvas/test/reftest/stroketext-shadow-ref.html
rename to dom/canvas/test/reftest/stroketext-shadow-ref.html
diff --git a/content/canvas/test/reftest/stroketext-shadow.html b/dom/canvas/test/reftest/stroketext-shadow.html
similarity index 100%
rename from content/canvas/test/reftest/stroketext-shadow.html
rename to dom/canvas/test/reftest/stroketext-shadow.html
diff --git a/content/canvas/test/reftest/webgl-clear-test.html b/dom/canvas/test/reftest/webgl-clear-test.html
similarity index 100%
rename from content/canvas/test/reftest/webgl-clear-test.html
rename to dom/canvas/test/reftest/webgl-clear-test.html
diff --git a/content/canvas/test/reftest/webgl-color-alpha-test.html b/dom/canvas/test/reftest/webgl-color-alpha-test.html
similarity index 100%
rename from content/canvas/test/reftest/webgl-color-alpha-test.html
rename to dom/canvas/test/reftest/webgl-color-alpha-test.html
diff --git a/content/canvas/test/reftest/webgl-color-test.html b/dom/canvas/test/reftest/webgl-color-test.html
similarity index 100%
rename from content/canvas/test/reftest/webgl-color-test.html
rename to dom/canvas/test/reftest/webgl-color-test.html
diff --git a/content/canvas/test/reftest/webgl-disable-test.html b/dom/canvas/test/reftest/webgl-disable-test.html
similarity index 100%
rename from content/canvas/test/reftest/webgl-disable-test.html
rename to dom/canvas/test/reftest/webgl-disable-test.html
diff --git a/content/canvas/test/reftest/webgl-hanging-fb-test.html b/dom/canvas/test/reftest/webgl-hanging-fb-test.html
similarity index 100%
rename from content/canvas/test/reftest/webgl-hanging-fb-test.html
rename to dom/canvas/test/reftest/webgl-hanging-fb-test.html
diff --git a/content/canvas/test/reftest/webgl-hanging-scissor-test.html b/dom/canvas/test/reftest/webgl-hanging-scissor-test.html
similarity index 100%
rename from content/canvas/test/reftest/webgl-hanging-scissor-test.html
rename to dom/canvas/test/reftest/webgl-hanging-scissor-test.html
diff --git a/content/canvas/test/reftest/webgl-orientation-test.html b/dom/canvas/test/reftest/webgl-orientation-test.html
similarity index 100%
rename from content/canvas/test/reftest/webgl-orientation-test.html
rename to dom/canvas/test/reftest/webgl-orientation-test.html
diff --git a/content/canvas/test/reftest/webgl-resize-test.html b/dom/canvas/test/reftest/webgl-resize-test.html
similarity index 100%
rename from content/canvas/test/reftest/webgl-resize-test.html
rename to dom/canvas/test/reftest/webgl-resize-test.html
diff --git a/content/canvas/test/reftest/webgl-utils.js b/dom/canvas/test/reftest/webgl-utils.js
similarity index 100%
rename from content/canvas/test/reftest/webgl-utils.js
rename to dom/canvas/test/reftest/webgl-utils.js
diff --git a/content/canvas/test/reftest/white-top-left.png b/dom/canvas/test/reftest/white-top-left.png
similarity index 100%
rename from content/canvas/test/reftest/white-top-left.png
rename to dom/canvas/test/reftest/white-top-left.png
diff --git a/content/canvas/test/reftest/white.png b/dom/canvas/test/reftest/white.png
similarity index 100%
rename from content/canvas/test/reftest/white.png
rename to dom/canvas/test/reftest/white.png
diff --git a/content/canvas/test/reftest/wrapper.html b/dom/canvas/test/reftest/wrapper.html
similarity index 100%
rename from content/canvas/test/reftest/wrapper.html
rename to dom/canvas/test/reftest/wrapper.html
diff --git a/content/canvas/test/test_2d.clearRect.image.offscreen.html b/dom/canvas/test/test_2d.clearRect.image.offscreen.html
similarity index 100%
rename from content/canvas/test/test_2d.clearRect.image.offscreen.html
rename to dom/canvas/test/test_2d.clearRect.image.offscreen.html
diff --git a/content/canvas/test/test_2d.clip.winding.html b/dom/canvas/test/test_2d.clip.winding.html
similarity index 100%
rename from content/canvas/test/test_2d.clip.winding.html
rename to dom/canvas/test/test_2d.clip.winding.html
diff --git a/content/canvas/test/test_2d.composite.canvas.color-burn.html b/dom/canvas/test/test_2d.composite.canvas.color-burn.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.canvas.color-burn.html
rename to dom/canvas/test/test_2d.composite.canvas.color-burn.html
diff --git a/content/canvas/test/test_2d.composite.canvas.color-dodge.html b/dom/canvas/test/test_2d.composite.canvas.color-dodge.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.canvas.color-dodge.html
rename to dom/canvas/test/test_2d.composite.canvas.color-dodge.html
diff --git a/content/canvas/test/test_2d.composite.canvas.color.html b/dom/canvas/test/test_2d.composite.canvas.color.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.canvas.color.html
rename to dom/canvas/test/test_2d.composite.canvas.color.html
diff --git a/content/canvas/test/test_2d.composite.canvas.darken.html b/dom/canvas/test/test_2d.composite.canvas.darken.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.canvas.darken.html
rename to dom/canvas/test/test_2d.composite.canvas.darken.html
diff --git a/content/canvas/test/test_2d.composite.canvas.destination-atop.html b/dom/canvas/test/test_2d.composite.canvas.destination-atop.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.canvas.destination-atop.html
rename to dom/canvas/test/test_2d.composite.canvas.destination-atop.html
diff --git a/content/canvas/test/test_2d.composite.canvas.destination-in.html b/dom/canvas/test/test_2d.composite.canvas.destination-in.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.canvas.destination-in.html
rename to dom/canvas/test/test_2d.composite.canvas.destination-in.html
diff --git a/content/canvas/test/test_2d.composite.canvas.difference.html b/dom/canvas/test/test_2d.composite.canvas.difference.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.canvas.difference.html
rename to dom/canvas/test/test_2d.composite.canvas.difference.html
diff --git a/content/canvas/test/test_2d.composite.canvas.exclusion.html b/dom/canvas/test/test_2d.composite.canvas.exclusion.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.canvas.exclusion.html
rename to dom/canvas/test/test_2d.composite.canvas.exclusion.html
diff --git a/content/canvas/test/test_2d.composite.canvas.hard-light.html b/dom/canvas/test/test_2d.composite.canvas.hard-light.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.canvas.hard-light.html
rename to dom/canvas/test/test_2d.composite.canvas.hard-light.html
diff --git a/content/canvas/test/test_2d.composite.canvas.hue.html b/dom/canvas/test/test_2d.composite.canvas.hue.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.canvas.hue.html
rename to dom/canvas/test/test_2d.composite.canvas.hue.html
diff --git a/content/canvas/test/test_2d.composite.canvas.lighten.html b/dom/canvas/test/test_2d.composite.canvas.lighten.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.canvas.lighten.html
rename to dom/canvas/test/test_2d.composite.canvas.lighten.html
diff --git a/content/canvas/test/test_2d.composite.canvas.lighter.html b/dom/canvas/test/test_2d.composite.canvas.lighter.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.canvas.lighter.html
rename to dom/canvas/test/test_2d.composite.canvas.lighter.html
diff --git a/content/canvas/test/test_2d.composite.canvas.luminosity.html b/dom/canvas/test/test_2d.composite.canvas.luminosity.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.canvas.luminosity.html
rename to dom/canvas/test/test_2d.composite.canvas.luminosity.html
diff --git a/content/canvas/test/test_2d.composite.canvas.multiply.html b/dom/canvas/test/test_2d.composite.canvas.multiply.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.canvas.multiply.html
rename to dom/canvas/test/test_2d.composite.canvas.multiply.html
diff --git a/content/canvas/test/test_2d.composite.canvas.overlay.html b/dom/canvas/test/test_2d.composite.canvas.overlay.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.canvas.overlay.html
rename to dom/canvas/test/test_2d.composite.canvas.overlay.html
diff --git a/content/canvas/test/test_2d.composite.canvas.saturation.html b/dom/canvas/test/test_2d.composite.canvas.saturation.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.canvas.saturation.html
rename to dom/canvas/test/test_2d.composite.canvas.saturation.html
diff --git a/content/canvas/test/test_2d.composite.canvas.screen.html b/dom/canvas/test/test_2d.composite.canvas.screen.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.canvas.screen.html
rename to dom/canvas/test/test_2d.composite.canvas.screen.html
diff --git a/content/canvas/test/test_2d.composite.canvas.soft-light.html b/dom/canvas/test/test_2d.composite.canvas.soft-light.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.canvas.soft-light.html
rename to dom/canvas/test/test_2d.composite.canvas.soft-light.html
diff --git a/content/canvas/test/test_2d.composite.canvas.source-in.html b/dom/canvas/test/test_2d.composite.canvas.source-in.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.canvas.source-in.html
rename to dom/canvas/test/test_2d.composite.canvas.source-in.html
diff --git a/content/canvas/test/test_2d.composite.canvas.source-out.html b/dom/canvas/test/test_2d.composite.canvas.source-out.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.canvas.source-out.html
rename to dom/canvas/test/test_2d.composite.canvas.source-out.html
diff --git a/content/canvas/test/test_2d.composite.canvas.xor.html b/dom/canvas/test/test_2d.composite.canvas.xor.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.canvas.xor.html
rename to dom/canvas/test/test_2d.composite.canvas.xor.html
diff --git a/content/canvas/test/test_2d.composite.clip.lighter.html b/dom/canvas/test/test_2d.composite.clip.lighter.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.clip.lighter.html
rename to dom/canvas/test/test_2d.composite.clip.lighter.html
diff --git a/content/canvas/test/test_2d.composite.clip.xor.html b/dom/canvas/test/test_2d.composite.clip.xor.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.clip.xor.html
rename to dom/canvas/test/test_2d.composite.clip.xor.html
diff --git a/content/canvas/test/test_2d.composite.image.destination-atop.html b/dom/canvas/test/test_2d.composite.image.destination-atop.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.image.destination-atop.html
rename to dom/canvas/test/test_2d.composite.image.destination-atop.html
diff --git a/content/canvas/test/test_2d.composite.image.destination-in.html b/dom/canvas/test/test_2d.composite.image.destination-in.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.image.destination-in.html
rename to dom/canvas/test/test_2d.composite.image.destination-in.html
diff --git a/content/canvas/test/test_2d.composite.image.lighter.html b/dom/canvas/test/test_2d.composite.image.lighter.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.image.lighter.html
rename to dom/canvas/test/test_2d.composite.image.lighter.html
diff --git a/content/canvas/test/test_2d.composite.image.source-in.html b/dom/canvas/test/test_2d.composite.image.source-in.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.image.source-in.html
rename to dom/canvas/test/test_2d.composite.image.source-in.html
diff --git a/content/canvas/test/test_2d.composite.image.source-out.html b/dom/canvas/test/test_2d.composite.image.source-out.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.image.source-out.html
rename to dom/canvas/test/test_2d.composite.image.source-out.html
diff --git a/content/canvas/test/test_2d.composite.image.xor.html b/dom/canvas/test/test_2d.composite.image.xor.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.image.xor.html
rename to dom/canvas/test/test_2d.composite.image.xor.html
diff --git a/content/canvas/test/test_2d.composite.solid.color-burn.html b/dom/canvas/test/test_2d.composite.solid.color-burn.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.solid.color-burn.html
rename to dom/canvas/test/test_2d.composite.solid.color-burn.html
diff --git a/content/canvas/test/test_2d.composite.solid.color-dodge.html b/dom/canvas/test/test_2d.composite.solid.color-dodge.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.solid.color-dodge.html
rename to dom/canvas/test/test_2d.composite.solid.color-dodge.html
diff --git a/content/canvas/test/test_2d.composite.solid.color.html b/dom/canvas/test/test_2d.composite.solid.color.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.solid.color.html
rename to dom/canvas/test/test_2d.composite.solid.color.html
diff --git a/content/canvas/test/test_2d.composite.solid.darken.html b/dom/canvas/test/test_2d.composite.solid.darken.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.solid.darken.html
rename to dom/canvas/test/test_2d.composite.solid.darken.html
diff --git a/content/canvas/test/test_2d.composite.solid.difference.html b/dom/canvas/test/test_2d.composite.solid.difference.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.solid.difference.html
rename to dom/canvas/test/test_2d.composite.solid.difference.html
diff --git a/content/canvas/test/test_2d.composite.solid.exclusion.html b/dom/canvas/test/test_2d.composite.solid.exclusion.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.solid.exclusion.html
rename to dom/canvas/test/test_2d.composite.solid.exclusion.html
diff --git a/content/canvas/test/test_2d.composite.solid.hard-light.html b/dom/canvas/test/test_2d.composite.solid.hard-light.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.solid.hard-light.html
rename to dom/canvas/test/test_2d.composite.solid.hard-light.html
diff --git a/content/canvas/test/test_2d.composite.solid.hue.html b/dom/canvas/test/test_2d.composite.solid.hue.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.solid.hue.html
rename to dom/canvas/test/test_2d.composite.solid.hue.html
diff --git a/content/canvas/test/test_2d.composite.solid.lighten.html b/dom/canvas/test/test_2d.composite.solid.lighten.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.solid.lighten.html
rename to dom/canvas/test/test_2d.composite.solid.lighten.html
diff --git a/content/canvas/test/test_2d.composite.solid.lighter.html b/dom/canvas/test/test_2d.composite.solid.lighter.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.solid.lighter.html
rename to dom/canvas/test/test_2d.composite.solid.lighter.html
diff --git a/content/canvas/test/test_2d.composite.solid.luminosity.html b/dom/canvas/test/test_2d.composite.solid.luminosity.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.solid.luminosity.html
rename to dom/canvas/test/test_2d.composite.solid.luminosity.html
diff --git a/content/canvas/test/test_2d.composite.solid.multiply.html b/dom/canvas/test/test_2d.composite.solid.multiply.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.solid.multiply.html
rename to dom/canvas/test/test_2d.composite.solid.multiply.html
diff --git a/content/canvas/test/test_2d.composite.solid.overlay.html b/dom/canvas/test/test_2d.composite.solid.overlay.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.solid.overlay.html
rename to dom/canvas/test/test_2d.composite.solid.overlay.html
diff --git a/content/canvas/test/test_2d.composite.solid.saturation.html b/dom/canvas/test/test_2d.composite.solid.saturation.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.solid.saturation.html
rename to dom/canvas/test/test_2d.composite.solid.saturation.html
diff --git a/content/canvas/test/test_2d.composite.solid.screen.html b/dom/canvas/test/test_2d.composite.solid.screen.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.solid.screen.html
rename to dom/canvas/test/test_2d.composite.solid.screen.html
diff --git a/content/canvas/test/test_2d.composite.solid.soft-light.html b/dom/canvas/test/test_2d.composite.solid.soft-light.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.solid.soft-light.html
rename to dom/canvas/test/test_2d.composite.solid.soft-light.html
diff --git a/content/canvas/test/test_2d.composite.solid.xor.html b/dom/canvas/test/test_2d.composite.solid.xor.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.solid.xor.html
rename to dom/canvas/test/test_2d.composite.solid.xor.html
diff --git a/content/canvas/test/test_2d.composite.transparent.lighter.html b/dom/canvas/test/test_2d.composite.transparent.lighter.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.transparent.lighter.html
rename to dom/canvas/test/test_2d.composite.transparent.lighter.html
diff --git a/content/canvas/test/test_2d.composite.transparent.xor.html b/dom/canvas/test/test_2d.composite.transparent.xor.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.transparent.xor.html
rename to dom/canvas/test/test_2d.composite.transparent.xor.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.fill.color-burn.html b/dom/canvas/test/test_2d.composite.uncovered.fill.color-burn.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.fill.color-burn.html
rename to dom/canvas/test/test_2d.composite.uncovered.fill.color-burn.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.fill.color-dodge.html b/dom/canvas/test/test_2d.composite.uncovered.fill.color-dodge.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.fill.color-dodge.html
rename to dom/canvas/test/test_2d.composite.uncovered.fill.color-dodge.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.fill.color.html b/dom/canvas/test/test_2d.composite.uncovered.fill.color.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.fill.color.html
rename to dom/canvas/test/test_2d.composite.uncovered.fill.color.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.fill.darken.html b/dom/canvas/test/test_2d.composite.uncovered.fill.darken.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.fill.darken.html
rename to dom/canvas/test/test_2d.composite.uncovered.fill.darken.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.fill.destination-atop.html b/dom/canvas/test/test_2d.composite.uncovered.fill.destination-atop.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.fill.destination-atop.html
rename to dom/canvas/test/test_2d.composite.uncovered.fill.destination-atop.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.fill.destination-in.html b/dom/canvas/test/test_2d.composite.uncovered.fill.destination-in.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.fill.destination-in.html
rename to dom/canvas/test/test_2d.composite.uncovered.fill.destination-in.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.fill.difference.html b/dom/canvas/test/test_2d.composite.uncovered.fill.difference.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.fill.difference.html
rename to dom/canvas/test/test_2d.composite.uncovered.fill.difference.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.fill.exclusion.html b/dom/canvas/test/test_2d.composite.uncovered.fill.exclusion.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.fill.exclusion.html
rename to dom/canvas/test/test_2d.composite.uncovered.fill.exclusion.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.fill.hard-light.html b/dom/canvas/test/test_2d.composite.uncovered.fill.hard-light.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.fill.hard-light.html
rename to dom/canvas/test/test_2d.composite.uncovered.fill.hard-light.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.fill.hue.html b/dom/canvas/test/test_2d.composite.uncovered.fill.hue.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.fill.hue.html
rename to dom/canvas/test/test_2d.composite.uncovered.fill.hue.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.fill.lighten.html b/dom/canvas/test/test_2d.composite.uncovered.fill.lighten.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.fill.lighten.html
rename to dom/canvas/test/test_2d.composite.uncovered.fill.lighten.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.fill.luminosity.html b/dom/canvas/test/test_2d.composite.uncovered.fill.luminosity.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.fill.luminosity.html
rename to dom/canvas/test/test_2d.composite.uncovered.fill.luminosity.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.fill.multiply.html b/dom/canvas/test/test_2d.composite.uncovered.fill.multiply.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.fill.multiply.html
rename to dom/canvas/test/test_2d.composite.uncovered.fill.multiply.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.fill.overlay.html b/dom/canvas/test/test_2d.composite.uncovered.fill.overlay.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.fill.overlay.html
rename to dom/canvas/test/test_2d.composite.uncovered.fill.overlay.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.fill.saturation.html b/dom/canvas/test/test_2d.composite.uncovered.fill.saturation.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.fill.saturation.html
rename to dom/canvas/test/test_2d.composite.uncovered.fill.saturation.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.fill.screen.html b/dom/canvas/test/test_2d.composite.uncovered.fill.screen.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.fill.screen.html
rename to dom/canvas/test/test_2d.composite.uncovered.fill.screen.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.fill.soft-light.html b/dom/canvas/test/test_2d.composite.uncovered.fill.soft-light.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.fill.soft-light.html
rename to dom/canvas/test/test_2d.composite.uncovered.fill.soft-light.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.fill.source-in.html b/dom/canvas/test/test_2d.composite.uncovered.fill.source-in.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.fill.source-in.html
rename to dom/canvas/test/test_2d.composite.uncovered.fill.source-in.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.fill.source-out.html b/dom/canvas/test/test_2d.composite.uncovered.fill.source-out.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.fill.source-out.html
rename to dom/canvas/test/test_2d.composite.uncovered.fill.source-out.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.image.destination-atop.html b/dom/canvas/test/test_2d.composite.uncovered.image.destination-atop.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.image.destination-atop.html
rename to dom/canvas/test/test_2d.composite.uncovered.image.destination-atop.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.image.destination-in.html b/dom/canvas/test/test_2d.composite.uncovered.image.destination-in.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.image.destination-in.html
rename to dom/canvas/test/test_2d.composite.uncovered.image.destination-in.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.image.source-in.html b/dom/canvas/test/test_2d.composite.uncovered.image.source-in.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.image.source-in.html
rename to dom/canvas/test/test_2d.composite.uncovered.image.source-in.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.image.source-out.html b/dom/canvas/test/test_2d.composite.uncovered.image.source-out.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.image.source-out.html
rename to dom/canvas/test/test_2d.composite.uncovered.image.source-out.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.pattern.destination-atop.html b/dom/canvas/test/test_2d.composite.uncovered.pattern.destination-atop.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.pattern.destination-atop.html
rename to dom/canvas/test/test_2d.composite.uncovered.pattern.destination-atop.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.pattern.destination-in.html b/dom/canvas/test/test_2d.composite.uncovered.pattern.destination-in.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.pattern.destination-in.html
rename to dom/canvas/test/test_2d.composite.uncovered.pattern.destination-in.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.pattern.source-in.html b/dom/canvas/test/test_2d.composite.uncovered.pattern.source-in.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.pattern.source-in.html
rename to dom/canvas/test/test_2d.composite.uncovered.pattern.source-in.html
diff --git a/content/canvas/test/test_2d.composite.uncovered.pattern.source-out.html b/dom/canvas/test/test_2d.composite.uncovered.pattern.source-out.html
similarity index 100%
rename from content/canvas/test/test_2d.composite.uncovered.pattern.source-out.html
rename to dom/canvas/test/test_2d.composite.uncovered.pattern.source-out.html
diff --git a/content/canvas/test/test_2d.drawImage.zerocanvas.html b/dom/canvas/test/test_2d.drawImage.zerocanvas.html
similarity index 100%
rename from content/canvas/test/test_2d.drawImage.zerocanvas.html
rename to dom/canvas/test/test_2d.drawImage.zerocanvas.html
diff --git a/content/canvas/test/test_2d.fill.winding.html b/dom/canvas/test/test_2d.fill.winding.html
similarity index 100%
rename from content/canvas/test/test_2d.fill.winding.html
rename to dom/canvas/test/test_2d.fill.winding.html
diff --git a/content/canvas/test/test_2d.fillText.gradient.html b/dom/canvas/test/test_2d.fillText.gradient.html
similarity index 100%
rename from content/canvas/test/test_2d.fillText.gradient.html
rename to dom/canvas/test/test_2d.fillText.gradient.html
diff --git a/content/canvas/test/test_2d.gradient.radial.cone.behind.html b/dom/canvas/test/test_2d.gradient.radial.cone.behind.html
similarity index 100%
rename from content/canvas/test/test_2d.gradient.radial.cone.behind.html
rename to dom/canvas/test/test_2d.gradient.radial.cone.behind.html
diff --git a/content/canvas/test/test_2d.gradient.radial.cone.beside.html b/dom/canvas/test/test_2d.gradient.radial.cone.beside.html
similarity index 100%
rename from content/canvas/test/test_2d.gradient.radial.cone.beside.html
rename to dom/canvas/test/test_2d.gradient.radial.cone.beside.html
diff --git a/content/canvas/test/test_2d.gradient.radial.cone.front.html b/dom/canvas/test/test_2d.gradient.radial.cone.front.html
similarity index 100%
rename from content/canvas/test/test_2d.gradient.radial.cone.front.html
rename to dom/canvas/test/test_2d.gradient.radial.cone.front.html
diff --git a/content/canvas/test/test_2d.gradient.radial.cone.shape2.html b/dom/canvas/test/test_2d.gradient.radial.cone.shape2.html
similarity index 100%
rename from content/canvas/test/test_2d.gradient.radial.cone.shape2.html
rename to dom/canvas/test/test_2d.gradient.radial.cone.shape2.html
diff --git a/content/canvas/test/test_2d.gradient.radial.cone.top.html b/dom/canvas/test/test_2d.gradient.radial.cone.top.html
similarity index 100%
rename from content/canvas/test/test_2d.gradient.radial.cone.top.html
rename to dom/canvas/test/test_2d.gradient.radial.cone.top.html
diff --git a/content/canvas/test/test_2d.gradient.radial.equal.html b/dom/canvas/test/test_2d.gradient.radial.equal.html
similarity index 100%
rename from content/canvas/test/test_2d.gradient.radial.equal.html
rename to dom/canvas/test/test_2d.gradient.radial.equal.html
diff --git a/content/canvas/test/test_2d.gradient.radial.inside2.html b/dom/canvas/test/test_2d.gradient.radial.inside2.html
similarity index 100%
rename from content/canvas/test/test_2d.gradient.radial.inside2.html
rename to dom/canvas/test/test_2d.gradient.radial.inside2.html
diff --git a/content/canvas/test/test_2d.gradient.radial.inside3.html b/dom/canvas/test/test_2d.gradient.radial.inside3.html
similarity index 100%
rename from content/canvas/test/test_2d.gradient.radial.inside3.html
rename to dom/canvas/test/test_2d.gradient.radial.inside3.html
diff --git a/content/canvas/test/test_2d.gradient.radial.outside1.html b/dom/canvas/test/test_2d.gradient.radial.outside1.html
similarity index 100%
rename from content/canvas/test/test_2d.gradient.radial.outside1.html
rename to dom/canvas/test/test_2d.gradient.radial.outside1.html
diff --git a/content/canvas/test/test_2d.gradient.radial.outside2.html b/dom/canvas/test/test_2d.gradient.radial.outside2.html
similarity index 100%
rename from content/canvas/test/test_2d.gradient.radial.outside2.html
rename to dom/canvas/test/test_2d.gradient.radial.outside2.html
diff --git a/content/canvas/test/test_2d.gradient.radial.outside3.html b/dom/canvas/test/test_2d.gradient.radial.outside3.html
similarity index 100%
rename from content/canvas/test/test_2d.gradient.radial.outside3.html
rename to dom/canvas/test/test_2d.gradient.radial.outside3.html
diff --git a/content/canvas/test/test_2d.gradient.radial.touch1.html b/dom/canvas/test/test_2d.gradient.radial.touch1.html
similarity index 100%
rename from content/canvas/test/test_2d.gradient.radial.touch1.html
rename to dom/canvas/test/test_2d.gradient.radial.touch1.html
diff --git a/content/canvas/test/test_2d.gradient.radial.touch2.html b/dom/canvas/test/test_2d.gradient.radial.touch2.html
similarity index 100%
rename from content/canvas/test/test_2d.gradient.radial.touch2.html
rename to dom/canvas/test/test_2d.gradient.radial.touch2.html
diff --git a/content/canvas/test/test_2d.gradient.radial.touch3.html b/dom/canvas/test/test_2d.gradient.radial.touch3.html
similarity index 100%
rename from content/canvas/test/test_2d.gradient.radial.touch3.html
rename to dom/canvas/test/test_2d.gradient.radial.touch3.html
diff --git a/content/canvas/test/test_2d.isPointInPath.winding.html b/dom/canvas/test/test_2d.isPointInPath.winding.html
similarity index 100%
rename from content/canvas/test/test_2d.isPointInPath.winding.html
rename to dom/canvas/test/test_2d.isPointInPath.winding.html
diff --git a/content/canvas/test/test_2d.line.cap.closed.html b/dom/canvas/test/test_2d.line.cap.closed.html
similarity index 100%
rename from content/canvas/test/test_2d.line.cap.closed.html
rename to dom/canvas/test/test_2d.line.cap.closed.html
diff --git a/content/canvas/test/test_2d.line.join.parallel.html b/dom/canvas/test/test_2d.line.join.parallel.html
similarity index 100%
rename from content/canvas/test/test_2d.line.join.parallel.html
rename to dom/canvas/test/test_2d.line.join.parallel.html
diff --git a/content/canvas/test/test_2d.path.arc.shape.3.html b/dom/canvas/test/test_2d.path.arc.shape.3.html
similarity index 100%
rename from content/canvas/test/test_2d.path.arc.shape.3.html
rename to dom/canvas/test/test_2d.path.arc.shape.3.html
diff --git a/content/canvas/test/test_2d.path.rect.selfintersect.html b/dom/canvas/test/test_2d.path.rect.selfintersect.html
similarity index 100%
rename from content/canvas/test/test_2d.path.rect.selfintersect.html
rename to dom/canvas/test/test_2d.path.rect.selfintersect.html
diff --git a/content/canvas/test/test_2d.path.rect.zero.6.html b/dom/canvas/test/test_2d.path.rect.zero.6.html
similarity index 100%
rename from content/canvas/test/test_2d.path.rect.zero.6.html
rename to dom/canvas/test/test_2d.path.rect.zero.6.html
diff --git a/content/canvas/test/test_2d.strokeRect.zero.5.html b/dom/canvas/test/test_2d.strokeRect.zero.5.html
similarity index 100%
rename from content/canvas/test/test_2d.strokeRect.zero.5.html
rename to dom/canvas/test/test_2d.strokeRect.zero.5.html
diff --git a/content/canvas/test/test_2d_composite_canvaspattern_setTransform.html b/dom/canvas/test/test_2d_composite_canvaspattern_setTransform.html
similarity index 100%
rename from content/canvas/test/test_2d_composite_canvaspattern_setTransform.html
rename to dom/canvas/test/test_2d_composite_canvaspattern_setTransform.html
diff --git a/content/canvas/test/test_ImageData_ctor.html b/dom/canvas/test/test_ImageData_ctor.html
similarity index 100%
rename from content/canvas/test/test_ImageData_ctor.html
rename to dom/canvas/test/test_ImageData_ctor.html
diff --git a/content/canvas/test/test_bug613794.html b/dom/canvas/test/test_bug613794.html
similarity index 100%
rename from content/canvas/test/test_bug613794.html
rename to dom/canvas/test/test_bug613794.html
diff --git a/content/canvas/test/test_bug753758.html b/dom/canvas/test/test_bug753758.html
similarity index 100%
rename from content/canvas/test/test_bug753758.html
rename to dom/canvas/test/test_bug753758.html
diff --git a/content/canvas/test/test_bug764125.html b/dom/canvas/test/test_bug764125.html
similarity index 100%
rename from content/canvas/test/test_bug764125.html
rename to dom/canvas/test/test_bug764125.html
diff --git a/content/canvas/test/test_bug856472.html b/dom/canvas/test/test_bug856472.html
similarity index 100%
rename from content/canvas/test/test_bug856472.html
rename to dom/canvas/test/test_bug856472.html
diff --git a/content/canvas/test/test_bug866575.html b/dom/canvas/test/test_bug866575.html
similarity index 100%
rename from content/canvas/test/test_bug866575.html
rename to dom/canvas/test/test_bug866575.html
diff --git a/content/canvas/test/test_bug902651.html b/dom/canvas/test/test_bug902651.html
similarity index 100%
rename from content/canvas/test/test_bug902651.html
rename to dom/canvas/test/test_bug902651.html
diff --git a/content/canvas/test/test_canvas.html b/dom/canvas/test/test_canvas.html
similarity index 99%
rename from content/canvas/test/test_canvas.html
rename to dom/canvas/test/test_canvas.html
index 4609b8832542..6a241fcf756e 100644
--- a/content/canvas/test/test_canvas.html
+++ b/dom/canvas/test/test_canvas.html
@@ -81,7 +81,7 @@
}
-
+
@@ -19594,7 +19594,7 @@
-
+
diff --git a/content/canvas/test/test_canvas_focusring.html b/dom/canvas/test/test_canvas_focusring.html
similarity index 100%
rename from content/canvas/test/test_canvas_focusring.html
rename to dom/canvas/test/test_canvas_focusring.html
diff --git a/content/canvas/test/test_canvas_font_setter.html b/dom/canvas/test/test_canvas_font_setter.html
similarity index 100%
rename from content/canvas/test/test_canvas_font_setter.html
rename to dom/canvas/test/test_canvas_font_setter.html
diff --git a/content/canvas/test/test_canvas_path.html b/dom/canvas/test/test_canvas_path.html
similarity index 100%
rename from content/canvas/test/test_canvas_path.html
rename to dom/canvas/test/test_canvas_path.html
diff --git a/content/canvas/test/test_canvas_strokeStyle_getter.html b/dom/canvas/test/test_canvas_strokeStyle_getter.html
similarity index 100%
rename from content/canvas/test/test_canvas_strokeStyle_getter.html
rename to dom/canvas/test/test_canvas_strokeStyle_getter.html
diff --git a/content/canvas/test/test_createPattern_broken.html b/dom/canvas/test/test_createPattern_broken.html
similarity index 100%
rename from content/canvas/test/test_createPattern_broken.html
rename to dom/canvas/test/test_createPattern_broken.html
diff --git a/content/canvas/test/test_drawImageIncomplete.html b/dom/canvas/test/test_drawImageIncomplete.html
similarity index 100%
rename from content/canvas/test/test_drawImageIncomplete.html
rename to dom/canvas/test/test_drawImageIncomplete.html
diff --git a/content/canvas/test/test_drawImage_document_domain.html b/dom/canvas/test/test_drawImage_document_domain.html
similarity index 100%
rename from content/canvas/test/test_drawImage_document_domain.html
rename to dom/canvas/test/test_drawImage_document_domain.html
diff --git a/content/canvas/test/test_drawImage_edge_cases.html b/dom/canvas/test/test_drawImage_edge_cases.html
similarity index 100%
rename from content/canvas/test/test_drawImage_edge_cases.html
rename to dom/canvas/test/test_drawImage_edge_cases.html
diff --git a/content/canvas/test/test_drawWindow.html b/dom/canvas/test/test_drawWindow.html
similarity index 100%
rename from content/canvas/test/test_drawWindow.html
rename to dom/canvas/test/test_drawWindow.html
diff --git a/content/canvas/test/test_hitregion_canvas.html b/dom/canvas/test/test_hitregion_canvas.html
similarity index 100%
rename from content/canvas/test/test_hitregion_canvas.html
rename to dom/canvas/test/test_hitregion_canvas.html
diff --git a/content/canvas/test/test_hitregion_event.html b/dom/canvas/test/test_hitregion_event.html
similarity index 100%
rename from content/canvas/test/test_hitregion_event.html
rename to dom/canvas/test/test_hitregion_event.html
diff --git a/content/canvas/test/test_isPointInStroke.html b/dom/canvas/test/test_isPointInStroke.html
similarity index 100%
rename from content/canvas/test/test_isPointInStroke.html
rename to dom/canvas/test/test_isPointInStroke.html
diff --git a/content/canvas/test/test_mozDashOffset.html b/dom/canvas/test/test_mozDashOffset.html
similarity index 100%
rename from content/canvas/test/test_mozDashOffset.html
rename to dom/canvas/test/test_mozDashOffset.html
diff --git a/content/canvas/test/test_mozGetAsFile.html b/dom/canvas/test/test_mozGetAsFile.html
similarity index 100%
rename from content/canvas/test/test_mozGetAsFile.html
rename to dom/canvas/test/test_mozGetAsFile.html
diff --git a/content/canvas/test/test_setlinedash.html b/dom/canvas/test/test_setlinedash.html
similarity index 100%
rename from content/canvas/test/test_setlinedash.html
rename to dom/canvas/test/test_setlinedash.html
diff --git a/content/canvas/test/test_strokeText_throw.html b/dom/canvas/test/test_strokeText_throw.html
similarity index 100%
rename from content/canvas/test/test_strokeText_throw.html
rename to dom/canvas/test/test_strokeText_throw.html
diff --git a/content/canvas/test/test_toBlob.html b/dom/canvas/test/test_toBlob.html
similarity index 100%
rename from content/canvas/test/test_toBlob.html
rename to dom/canvas/test/test_toBlob.html
diff --git a/content/canvas/test/test_toDataURL_alpha.html b/dom/canvas/test/test_toDataURL_alpha.html
similarity index 100%
rename from content/canvas/test/test_toDataURL_alpha.html
rename to dom/canvas/test/test_toDataURL_alpha.html
diff --git a/content/canvas/test/test_toDataURL_lowercase_ascii.html b/dom/canvas/test/test_toDataURL_lowercase_ascii.html
similarity index 100%
rename from content/canvas/test/test_toDataURL_lowercase_ascii.html
rename to dom/canvas/test/test_toDataURL_lowercase_ascii.html
diff --git a/content/canvas/test/test_toDataURL_parameters.html b/dom/canvas/test/test_toDataURL_parameters.html
similarity index 100%
rename from content/canvas/test/test_toDataURL_parameters.html
rename to dom/canvas/test/test_toDataURL_parameters.html
diff --git a/content/canvas/test/test_windingRuleUndefined.html b/dom/canvas/test/test_windingRuleUndefined.html
similarity index 100%
rename from content/canvas/test/test_windingRuleUndefined.html
rename to dom/canvas/test/test_windingRuleUndefined.html
diff --git a/content/canvas/test/webgl-conformance/00_test_list.txt b/dom/canvas/test/webgl-conformance/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/README.mozilla b/dom/canvas/test/webgl-conformance/README.mozilla
similarity index 100%
rename from content/canvas/test/webgl-conformance/README.mozilla
rename to dom/canvas/test/webgl-conformance/README.mozilla
diff --git a/content/canvas/test/webgl-conformance/README.txt b/dom/canvas/test/webgl-conformance/README.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/README.txt
rename to dom/canvas/test/webgl-conformance/README.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/00_readme.txt b/dom/canvas/test/webgl-conformance/conformance/00_readme.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/00_readme.txt
rename to dom/canvas/test/webgl-conformance/conformance/00_readme.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/00_test_list.txt b/dom/canvas/test/webgl-conformance/conformance/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/conformance/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/LICENSE_CHROMIUM b/dom/canvas/test/webgl-conformance/conformance/LICENSE_CHROMIUM
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/LICENSE_CHROMIUM
rename to dom/canvas/test/webgl-conformance/conformance/LICENSE_CHROMIUM
diff --git a/content/canvas/test/webgl-conformance/conformance/attribs/00_test_list.txt b/dom/canvas/test/webgl-conformance/conformance/attribs/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/attribs/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/conformance/attribs/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/attribs/gl-enable-vertex-attrib.html b/dom/canvas/test/webgl-conformance/conformance/attribs/gl-enable-vertex-attrib.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/attribs/gl-enable-vertex-attrib.html
rename to dom/canvas/test/webgl-conformance/conformance/attribs/gl-enable-vertex-attrib.html
diff --git a/content/canvas/test/webgl-conformance/conformance/attribs/gl-vertex-attrib-zero-issues.html b/dom/canvas/test/webgl-conformance/conformance/attribs/gl-vertex-attrib-zero-issues.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/attribs/gl-vertex-attrib-zero-issues.html
rename to dom/canvas/test/webgl-conformance/conformance/attribs/gl-vertex-attrib-zero-issues.html
diff --git a/content/canvas/test/webgl-conformance/conformance/attribs/gl-vertex-attrib.html b/dom/canvas/test/webgl-conformance/conformance/attribs/gl-vertex-attrib.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/attribs/gl-vertex-attrib.html
rename to dom/canvas/test/webgl-conformance/conformance/attribs/gl-vertex-attrib.html
diff --git a/content/canvas/test/webgl-conformance/conformance/attribs/gl-vertexattribpointer-offsets.html b/dom/canvas/test/webgl-conformance/conformance/attribs/gl-vertexattribpointer-offsets.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/attribs/gl-vertexattribpointer-offsets.html
rename to dom/canvas/test/webgl-conformance/conformance/attribs/gl-vertexattribpointer-offsets.html
diff --git a/content/canvas/test/webgl-conformance/conformance/attribs/gl-vertexattribpointer.html b/dom/canvas/test/webgl-conformance/conformance/attribs/gl-vertexattribpointer.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/attribs/gl-vertexattribpointer.html
rename to dom/canvas/test/webgl-conformance/conformance/attribs/gl-vertexattribpointer.html
diff --git a/content/canvas/test/webgl-conformance/conformance/buffers/00_test_list.txt b/dom/canvas/test/webgl-conformance/conformance/buffers/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/buffers/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/conformance/buffers/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/buffers/buffer-bind-test.html b/dom/canvas/test/webgl-conformance/conformance/buffers/buffer-bind-test.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/buffers/buffer-bind-test.html
rename to dom/canvas/test/webgl-conformance/conformance/buffers/buffer-bind-test.html
diff --git a/content/canvas/test/webgl-conformance/conformance/buffers/buffer-data-array-buffer.html b/dom/canvas/test/webgl-conformance/conformance/buffers/buffer-data-array-buffer.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/buffers/buffer-data-array-buffer.html
rename to dom/canvas/test/webgl-conformance/conformance/buffers/buffer-data-array-buffer.html
diff --git a/content/canvas/test/webgl-conformance/conformance/buffers/index-validation-copies-indices.html b/dom/canvas/test/webgl-conformance/conformance/buffers/index-validation-copies-indices.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/buffers/index-validation-copies-indices.html
rename to dom/canvas/test/webgl-conformance/conformance/buffers/index-validation-copies-indices.html
diff --git a/content/canvas/test/webgl-conformance/conformance/buffers/index-validation-crash-with-buffer-sub-data.html b/dom/canvas/test/webgl-conformance/conformance/buffers/index-validation-crash-with-buffer-sub-data.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/buffers/index-validation-crash-with-buffer-sub-data.html
rename to dom/canvas/test/webgl-conformance/conformance/buffers/index-validation-crash-with-buffer-sub-data.html
diff --git a/content/canvas/test/webgl-conformance/conformance/buffers/index-validation-verifies-too-many-indices.html b/dom/canvas/test/webgl-conformance/conformance/buffers/index-validation-verifies-too-many-indices.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/buffers/index-validation-verifies-too-many-indices.html
rename to dom/canvas/test/webgl-conformance/conformance/buffers/index-validation-verifies-too-many-indices.html
diff --git a/content/canvas/test/webgl-conformance/conformance/buffers/index-validation-with-resized-buffer.html b/dom/canvas/test/webgl-conformance/conformance/buffers/index-validation-with-resized-buffer.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/buffers/index-validation-with-resized-buffer.html
rename to dom/canvas/test/webgl-conformance/conformance/buffers/index-validation-with-resized-buffer.html
diff --git a/content/canvas/test/webgl-conformance/conformance/buffers/index-validation.html b/dom/canvas/test/webgl-conformance/conformance/buffers/index-validation.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/buffers/index-validation.html
rename to dom/canvas/test/webgl-conformance/conformance/buffers/index-validation.html
diff --git a/content/canvas/test/webgl-conformance/conformance/canvas/00_test_list.txt b/dom/canvas/test/webgl-conformance/conformance/canvas/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/canvas/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/conformance/canvas/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/canvas/buffer-offscreen-test.html b/dom/canvas/test/webgl-conformance/conformance/canvas/buffer-offscreen-test.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/canvas/buffer-offscreen-test.html
rename to dom/canvas/test/webgl-conformance/conformance/canvas/buffer-offscreen-test.html
diff --git a/content/canvas/test/webgl-conformance/conformance/canvas/buffer-preserve-test.html b/dom/canvas/test/webgl-conformance/conformance/canvas/buffer-preserve-test.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/canvas/buffer-preserve-test.html
rename to dom/canvas/test/webgl-conformance/conformance/canvas/buffer-preserve-test.html
diff --git a/content/canvas/test/webgl-conformance/conformance/canvas/canvas-test.html b/dom/canvas/test/webgl-conformance/conformance/canvas/canvas-test.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/canvas/canvas-test.html
rename to dom/canvas/test/webgl-conformance/conformance/canvas/canvas-test.html
diff --git a/content/canvas/test/webgl-conformance/conformance/canvas/canvas-zero-size.html b/dom/canvas/test/webgl-conformance/conformance/canvas/canvas-zero-size.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/canvas/canvas-zero-size.html
rename to dom/canvas/test/webgl-conformance/conformance/canvas/canvas-zero-size.html
diff --git a/content/canvas/test/webgl-conformance/conformance/canvas/drawingbuffer-static-canvas-test.html b/dom/canvas/test/webgl-conformance/conformance/canvas/drawingbuffer-static-canvas-test.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/canvas/drawingbuffer-static-canvas-test.html
rename to dom/canvas/test/webgl-conformance/conformance/canvas/drawingbuffer-static-canvas-test.html
diff --git a/content/canvas/test/webgl-conformance/conformance/canvas/drawingbuffer-test.html b/dom/canvas/test/webgl-conformance/conformance/canvas/drawingbuffer-test.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/canvas/drawingbuffer-test.html
rename to dom/canvas/test/webgl-conformance/conformance/canvas/drawingbuffer-test.html
diff --git a/content/canvas/test/webgl-conformance/conformance/canvas/viewport-unchanged-upon-resize.html b/dom/canvas/test/webgl-conformance/conformance/canvas/viewport-unchanged-upon-resize.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/canvas/viewport-unchanged-upon-resize.html
rename to dom/canvas/test/webgl-conformance/conformance/canvas/viewport-unchanged-upon-resize.html
diff --git a/content/canvas/test/webgl-conformance/conformance/context/00_test_list.txt b/dom/canvas/test/webgl-conformance/conformance/context/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/context/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/conformance/context/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/context/constants.html b/dom/canvas/test/webgl-conformance/conformance/context/constants.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/context/constants.html
rename to dom/canvas/test/webgl-conformance/conformance/context/constants.html
diff --git a/content/canvas/test/webgl-conformance/conformance/context/context-attribute-preserve-drawing-buffer.html b/dom/canvas/test/webgl-conformance/conformance/context/context-attribute-preserve-drawing-buffer.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/context/context-attribute-preserve-drawing-buffer.html
rename to dom/canvas/test/webgl-conformance/conformance/context/context-attribute-preserve-drawing-buffer.html
diff --git a/content/canvas/test/webgl-conformance/conformance/context/context-attributes-alpha-depth-stencil-antialias.html b/dom/canvas/test/webgl-conformance/conformance/context/context-attributes-alpha-depth-stencil-antialias.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/context/context-attributes-alpha-depth-stencil-antialias.html
rename to dom/canvas/test/webgl-conformance/conformance/context/context-attributes-alpha-depth-stencil-antialias.html
diff --git a/content/canvas/test/webgl-conformance/conformance/context/context-lost-restored.html b/dom/canvas/test/webgl-conformance/conformance/context/context-lost-restored.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/context/context-lost-restored.html
rename to dom/canvas/test/webgl-conformance/conformance/context/context-lost-restored.html
diff --git a/content/canvas/test/webgl-conformance/conformance/context/context-lost.html b/dom/canvas/test/webgl-conformance/conformance/context/context-lost.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/context/context-lost.html
rename to dom/canvas/test/webgl-conformance/conformance/context/context-lost.html
diff --git a/content/canvas/test/webgl-conformance/conformance/context/context-type-test.html b/dom/canvas/test/webgl-conformance/conformance/context/context-type-test.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/context/context-type-test.html
rename to dom/canvas/test/webgl-conformance/conformance/context/context-type-test.html
diff --git a/content/canvas/test/webgl-conformance/conformance/context/incorrect-context-object-behaviour.html b/dom/canvas/test/webgl-conformance/conformance/context/incorrect-context-object-behaviour.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/context/incorrect-context-object-behaviour.html
rename to dom/canvas/test/webgl-conformance/conformance/context/incorrect-context-object-behaviour.html
diff --git a/content/canvas/test/webgl-conformance/conformance/context/methods.html b/dom/canvas/test/webgl-conformance/conformance/context/methods.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/context/methods.html
rename to dom/canvas/test/webgl-conformance/conformance/context/methods.html
diff --git a/content/canvas/test/webgl-conformance/conformance/context/premultiplyalpha-test.html b/dom/canvas/test/webgl-conformance/conformance/context/premultiplyalpha-test.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/context/premultiplyalpha-test.html
rename to dom/canvas/test/webgl-conformance/conformance/context/premultiplyalpha-test.html
diff --git a/content/canvas/test/webgl-conformance/conformance/context/resource-sharing-test.html b/dom/canvas/test/webgl-conformance/conformance/context/resource-sharing-test.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/context/resource-sharing-test.html
rename to dom/canvas/test/webgl-conformance/conformance/context/resource-sharing-test.html
diff --git a/content/canvas/test/webgl-conformance/conformance/extensions/00_test_list.txt b/dom/canvas/test/webgl-conformance/conformance/extensions/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/extensions/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/conformance/extensions/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/extensions/ext-sRGB.html b/dom/canvas/test/webgl-conformance/conformance/extensions/ext-sRGB.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/extensions/ext-sRGB.html
rename to dom/canvas/test/webgl-conformance/conformance/extensions/ext-sRGB.html
diff --git a/content/canvas/test/webgl-conformance/conformance/extensions/ext-texture-filter-anisotropic.html b/dom/canvas/test/webgl-conformance/conformance/extensions/ext-texture-filter-anisotropic.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/extensions/ext-texture-filter-anisotropic.html
rename to dom/canvas/test/webgl-conformance/conformance/extensions/ext-texture-filter-anisotropic.html
diff --git a/content/canvas/test/webgl-conformance/conformance/extensions/oes-standard-derivatives.html b/dom/canvas/test/webgl-conformance/conformance/extensions/oes-standard-derivatives.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/extensions/oes-standard-derivatives.html
rename to dom/canvas/test/webgl-conformance/conformance/extensions/oes-standard-derivatives.html
diff --git a/content/canvas/test/webgl-conformance/conformance/extensions/oes-texture-float.html b/dom/canvas/test/webgl-conformance/conformance/extensions/oes-texture-float.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/extensions/oes-texture-float.html
rename to dom/canvas/test/webgl-conformance/conformance/extensions/oes-texture-float.html
diff --git a/content/canvas/test/webgl-conformance/conformance/extensions/oes-vertex-array-object.html b/dom/canvas/test/webgl-conformance/conformance/extensions/oes-vertex-array-object.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/extensions/oes-vertex-array-object.html
rename to dom/canvas/test/webgl-conformance/conformance/extensions/oes-vertex-array-object.html
diff --git a/content/canvas/test/webgl-conformance/conformance/extensions/webgl-compressed-texture-etc1.html b/dom/canvas/test/webgl-conformance/conformance/extensions/webgl-compressed-texture-etc1.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/extensions/webgl-compressed-texture-etc1.html
rename to dom/canvas/test/webgl-conformance/conformance/extensions/webgl-compressed-texture-etc1.html
diff --git a/content/canvas/test/webgl-conformance/conformance/extensions/webgl-compressed-texture-s3tc.html b/dom/canvas/test/webgl-conformance/conformance/extensions/webgl-compressed-texture-s3tc.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/extensions/webgl-compressed-texture-s3tc.html
rename to dom/canvas/test/webgl-conformance/conformance/extensions/webgl-compressed-texture-s3tc.html
diff --git a/content/canvas/test/webgl-conformance/conformance/extensions/webgl-debug-renderer-info.html b/dom/canvas/test/webgl-conformance/conformance/extensions/webgl-debug-renderer-info.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/extensions/webgl-debug-renderer-info.html
rename to dom/canvas/test/webgl-conformance/conformance/extensions/webgl-debug-renderer-info.html
diff --git a/content/canvas/test/webgl-conformance/conformance/extensions/webgl-debug-shaders.html b/dom/canvas/test/webgl-conformance/conformance/extensions/webgl-debug-shaders.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/extensions/webgl-debug-shaders.html
rename to dom/canvas/test/webgl-conformance/conformance/extensions/webgl-debug-shaders.html
diff --git a/content/canvas/test/webgl-conformance/conformance/extensions/webgl-depth-texture.html b/dom/canvas/test/webgl-conformance/conformance/extensions/webgl-depth-texture.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/extensions/webgl-depth-texture.html
rename to dom/canvas/test/webgl-conformance/conformance/extensions/webgl-depth-texture.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/00_test_list.txt b/dom/canvas/test/webgl-conformance/conformance/glsl/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/conformance/glsl/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/00_test_list.txt b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-abs.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-abs.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-abs.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-abs.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-acos.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-acos.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-acos.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-acos.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-asin.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-asin.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-asin.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-asin.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-atan-xy.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-atan-xy.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-atan-xy.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-atan-xy.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-atan.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-atan.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-atan.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-atan.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-ceil.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-ceil.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-ceil.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-ceil.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-clamp-float.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-clamp-float.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-clamp-float.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-clamp-float.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-clamp-gentype.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-clamp-gentype.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-clamp-gentype.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-clamp-gentype.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-cos.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-cos.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-cos.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-cos.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-cross.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-cross.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-cross.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-cross.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-distance.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-distance.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-distance.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-distance.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-dot.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-dot.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-dot.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-dot.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-faceforward.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-faceforward.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-faceforward.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-faceforward.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-floor.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-floor.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-floor.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-floor.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-fract.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-fract.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-fract.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-fract.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-length.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-length.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-length.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-length.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-lessThan.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-lessThan.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-lessThan.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-lessThan.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-max-float.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-max-float.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-max-float.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-max-float.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-max-gentype.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-max-gentype.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-max-gentype.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-max-gentype.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-min-float.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-min-float.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-min-float.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-min-float.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-min-gentype.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-min-gentype.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-min-gentype.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-min-gentype.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-mix-float.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-mix-float.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-mix-float.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-mix-float.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-mix-gentype.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-mix-gentype.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-mix-gentype.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-mix-gentype.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-mod-float.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-mod-float.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-mod-float.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-mod-float.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-mod-gentype.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-mod-gentype.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-mod-gentype.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-mod-gentype.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-normalize.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-normalize.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-normalize.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-normalize.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-reflect.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-reflect.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-reflect.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-reflect.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-refract.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-refract.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-refract.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-refract.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-sign.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-sign.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-sign.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-sign.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-sin.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-sin.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-sin.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-sin.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-smoothstep-float.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-smoothstep-float.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-smoothstep-float.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-smoothstep-float.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-smoothstep-gentype.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-smoothstep-gentype.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-smoothstep-gentype.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-smoothstep-gentype.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-step-float.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-step-float.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-step-float.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-step-float.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-step-gentype.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-step-gentype.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-step-gentype.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function-step-gentype.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function.html b/dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/functions/glsl-function.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/00_test_list.txt b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_float.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_float.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_float.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_float.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_mat2.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_mat2.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_mat2.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_mat2.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_mat3.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_mat3.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_mat3.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_mat3.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_mat4.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_mat4.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_mat4.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_mat4.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_vec2.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_vec2.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_vec2.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_vec2.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_vec3.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_vec3.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_vec3.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_vec3.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_vec4.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_vec4.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_vec4.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/add_int_vec4.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/add_ivec2_vec2.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/add_ivec2_vec2.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/add_ivec2_vec2.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/add_ivec2_vec2.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/add_ivec3_vec3.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/add_ivec3_vec3.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/add_ivec3_vec3.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/add_ivec3_vec3.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/add_ivec4_vec4.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/add_ivec4_vec4.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/add_ivec4_vec4.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/add_ivec4_vec4.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/assign_int_to_float.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/assign_int_to_float.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/assign_int_to_float.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/assign_int_to_float.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/assign_ivec2_to_vec2.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/assign_ivec2_to_vec2.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/assign_ivec2_to_vec2.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/assign_ivec2_to_vec2.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/assign_ivec3_to_vec3.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/assign_ivec3_to_vec3.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/assign_ivec3_to_vec3.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/assign_ivec3_to_vec3.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/assign_ivec4_to_vec4.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/assign_ivec4_to_vec4.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/assign_ivec4_to_vec4.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/assign_ivec4_to_vec4.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/construct_struct.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/construct_struct.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/construct_struct.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/construct_struct.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_float.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_float.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_float.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_float.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_mat2.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_mat2.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_mat2.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_mat2.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_mat3.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_mat3.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_mat3.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_mat3.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_mat4.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_mat4.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_mat4.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_mat4.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_vec2.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_vec2.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_vec2.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_vec2.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_vec3.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_vec3.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_vec3.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_vec3.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_vec4.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_vec4.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_vec4.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_int_vec4.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_ivec2_vec2.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_ivec2_vec2.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_ivec2_vec2.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_ivec2_vec2.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_ivec3_vec3.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_ivec3_vec3.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_ivec3_vec3.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_ivec3_vec3.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_ivec4_vec4.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_ivec4_vec4.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_ivec4_vec4.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/divide_ivec4_vec4.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/equal_int_float.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/equal_int_float.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/equal_int_float.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/equal_int_float.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/equal_ivec2_vec2.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/equal_ivec2_vec2.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/equal_ivec2_vec2.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/equal_ivec2_vec2.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/equal_ivec3_vec3.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/equal_ivec3_vec3.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/equal_ivec3_vec3.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/equal_ivec3_vec3.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/equal_ivec4_vec4.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/equal_ivec4_vec4.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/equal_ivec4_vec4.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/equal_ivec4_vec4.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/function_int_float.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/function_int_float.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/function_int_float.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/function_int_float.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/function_ivec2_vec2.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/function_ivec2_vec2.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/function_ivec2_vec2.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/function_ivec2_vec2.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/function_ivec3_vec3.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/function_ivec3_vec3.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/function_ivec3_vec3.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/function_ivec3_vec3.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/function_ivec4_vec4.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/function_ivec4_vec4.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/function_ivec4_vec4.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/function_ivec4_vec4.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/greater_than.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/greater_than.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/greater_than.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/greater_than.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/greater_than_equal.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/greater_than_equal.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/greater_than_equal.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/greater_than_equal.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/less_than.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/less_than.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/less_than.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/less_than.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/less_than_equal.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/less_than_equal.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/less_than_equal.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/less_than_equal.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_float.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_float.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_float.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_float.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_mat2.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_mat2.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_mat2.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_mat2.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_mat3.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_mat3.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_mat3.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_mat3.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_mat4.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_mat4.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_mat4.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_mat4.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_vec2.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_vec2.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_vec2.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_vec2.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_vec3.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_vec3.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_vec3.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_vec3.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_vec4.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_vec4.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_vec4.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_int_vec4.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_ivec2_vec2.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_ivec2_vec2.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_ivec2_vec2.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_ivec2_vec2.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_ivec3_vec3.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_ivec3_vec3.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_ivec3_vec3.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_ivec3_vec3.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_ivec4_vec4.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_ivec4_vec4.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_ivec4_vec4.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/multiply_ivec4_vec4.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/not_equal_int_float.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/not_equal_int_float.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/not_equal_int_float.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/not_equal_int_float.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/not_equal_ivec2_vec2.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/not_equal_ivec2_vec2.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/not_equal_ivec2_vec2.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/not_equal_ivec2_vec2.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/not_equal_ivec3_vec3.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/not_equal_ivec3_vec3.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/not_equal_ivec3_vec3.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/not_equal_ivec3_vec3.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/not_equal_ivec4_vec4.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/not_equal_ivec4_vec4.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/not_equal_ivec4_vec4.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/not_equal_ivec4_vec4.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_float.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_float.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_float.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_float.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_mat2.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_mat2.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_mat2.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_mat2.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_mat3.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_mat3.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_mat3.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_mat3.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_mat4.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_mat4.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_mat4.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_mat4.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_vec2.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_vec2.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_vec2.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_vec2.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_vec3.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_vec3.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_vec3.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_vec3.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_vec4.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_vec4.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_vec4.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_int_vec4.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_ivec2_vec2.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_ivec2_vec2.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_ivec2_vec2.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_ivec2_vec2.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_ivec3_vec3.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_ivec3_vec3.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_ivec3_vec3.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_ivec3_vec3.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_ivec4_vec4.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_ivec4_vec4.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_ivec4_vec4.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/subtract_ivec4_vec4.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/ternary_int_float.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/ternary_int_float.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/ternary_int_float.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/ternary_int_float.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/ternary_ivec2_vec2.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/ternary_ivec2_vec2.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/ternary_ivec2_vec2.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/ternary_ivec2_vec2.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/ternary_ivec3_vec3.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/ternary_ivec3_vec3.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/ternary_ivec3_vec3.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/ternary_ivec3_vec3.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/implicit/ternary_ivec4_vec4.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/implicit/ternary_ivec4_vec4.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/implicit/ternary_ivec4_vec4.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/implicit/ternary_ivec4_vec4.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/matrices/00_test_list.txt b/dom/canvas/test/webgl-conformance/conformance/glsl/matrices/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/matrices/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/conformance/glsl/matrices/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/matrices/glsl-mat4-to-mat3.html b/dom/canvas/test/webgl-conformance/conformance/glsl/matrices/glsl-mat4-to-mat3.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/matrices/glsl-mat4-to-mat3.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/matrices/glsl-mat4-to-mat3.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/00_test_list.txt b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/attrib-location-length-limits.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/attrib-location-length-limits.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/attrib-location-length-limits.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/attrib-location-length-limits.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/embedded-struct-definitions-forbidden.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/embedded-struct-definitions-forbidden.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/embedded-struct-definitions-forbidden.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/embedded-struct-definitions-forbidden.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/glsl-2types-of-textures-on-same-unit.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/glsl-2types-of-textures-on-same-unit.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/glsl-2types-of-textures-on-same-unit.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/glsl-2types-of-textures-on-same-unit.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/glsl-function-nodes.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/glsl-function-nodes.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/glsl-function-nodes.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/glsl-function-nodes.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/glsl-long-variable-names.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/glsl-long-variable-names.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/glsl-long-variable-names.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/glsl-long-variable-names.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/glsl-vertex-branch.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/glsl-vertex-branch.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/glsl-vertex-branch.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/glsl-vertex-branch.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/include.vs b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/include.vs
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/include.vs
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/include.vs
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/non-ascii-comments.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/non-ascii-comments.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/non-ascii-comments.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/non-ascii-comments.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/non-ascii.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/non-ascii.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/non-ascii.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/non-ascii.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/re-compile-re-link.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/re-compile-re-link.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/re-compile-re-link.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/re-compile-re-link.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-256-character-identifier.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-256-character-identifier.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-256-character-identifier.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-256-character-identifier.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-257-character-identifier.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-257-character-identifier.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-257-character-identifier.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-257-character-identifier.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-_webgl-identifier.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-_webgl-identifier.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-_webgl-identifier.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-_webgl-identifier.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-arbitrary-indexing.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-arbitrary-indexing.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-arbitrary-indexing.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-arbitrary-indexing.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-arbitrary-indexing.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-arbitrary-indexing.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-arbitrary-indexing.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-arbitrary-indexing.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-attrib-array.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-attrib-array.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-attrib-array.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-attrib-array.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-attrib-struct.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-attrib-struct.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-attrib-struct.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-attrib-struct.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-clipvertex.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-clipvertex.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-clipvertex.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-clipvertex.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-comma-assignment.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-comma-assignment.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-comma-assignment.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-comma-assignment.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-comma-conditional-assignment.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-comma-conditional-assignment.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-comma-conditional-assignment.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-comma-conditional-assignment.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-conditional-scoping.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-conditional-scoping.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-conditional-scoping.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-conditional-scoping.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-default-precision.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-default-precision.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-default-precision.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-default-precision.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-default-precision.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-default-precision.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-default-precision.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-default-precision.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-define-line-continuation.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-define-line-continuation.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-define-line-continuation.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-define-line-continuation.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-dfdx-no-ext.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-dfdx-no-ext.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-dfdx-no-ext.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-dfdx-no-ext.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-dfdx.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-dfdx.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-dfdx.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-dfdx.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-do-scoping.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-do-scoping.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-do-scoping.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-do-scoping.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-error-directive.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-error-directive.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-error-directive.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-error-directive.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-explicit-int-cast.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-explicit-int-cast.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-explicit-int-cast.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-explicit-int-cast.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-float-return-value.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-float-return-value.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-float-return-value.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-float-return-value.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-for-loop.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-for-loop.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-for-loop.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-for-loop.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-for-scoping.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-for-scoping.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-for-scoping.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-for-scoping.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-frag-depth.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-frag-depth.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-frag-depth.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-frag-depth.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-function-recursion.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-function-recursion.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-function-recursion.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-function-recursion.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-function-scoped-struct.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-function-scoped-struct.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-function-scoped-struct.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-function-scoped-struct.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-functional-scoping.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-functional-scoping.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-functional-scoping.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-functional-scoping.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-glcolor.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-glcolor.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-glcolor.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-glcolor.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-gles-1.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-gles-1.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-gles-1.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-gles-1.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-gles-symbol.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-gles-symbol.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-gles-symbol.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-gles-symbol.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-glprojectionmatrix.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-glprojectionmatrix.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-glprojectionmatrix.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-glprojectionmatrix.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-hex-int-constant-macro.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-hex-int-constant-macro.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-hex-int-constant-macro.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-hex-int-constant-macro.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-implicit-vec3-to-vec4-cast.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-implicit-vec3-to-vec4-cast.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-implicit-vec3-to-vec4-cast.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-implicit-vec3-to-vec4-cast.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-include.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-include.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-include.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-include.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-int-return-value.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-int-return-value.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-int-return-value.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-int-return-value.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-invalid-identifier.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-invalid-identifier.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-invalid-identifier.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-invalid-identifier.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-ivec2-return-value.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-ivec2-return-value.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-ivec2-return-value.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-ivec2-return-value.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-ivec3-return-value.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-ivec3-return-value.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-ivec3-return-value.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-ivec3-return-value.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-ivec4-return-value.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-ivec4-return-value.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-ivec4-return-value.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-ivec4-return-value.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-limited-indexing.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-limited-indexing.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-limited-indexing.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-limited-indexing.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-line-directive.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-line-directive.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-line-directive.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-line-directive.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-long-line.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-long-line.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-long-line.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-long-line.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-non-ascii-error.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-non-ascii-error.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-non-ascii-error.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-non-ascii-error.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-precision.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-precision.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-precision.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-precision.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-quoted-error.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-quoted-error.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-quoted-error.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-quoted-error.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-undefined-preprocessor-symbol.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-undefined-preprocessor-symbol.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-undefined-preprocessor-symbol.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-undefined-preprocessor-symbol.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-uniform-in-loop-condition.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-uniform-in-loop-condition.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-uniform-in-loop-condition.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-uniform-in-loop-condition.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-vec2-return-value.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-vec2-return-value.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-vec2-return-value.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-vec2-return-value.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-vec3-return-value.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-vec3-return-value.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-vec3-return-value.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-vec3-return-value.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-vec4-return-value.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-vec4-return-value.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-vec4-return-value.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-vec4-return-value.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-vec4-vec3-vec4-conditional.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-vec4-vec3-vec4-conditional.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-vec4-vec3-vec4-conditional.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-vec4-vec3-vec4-conditional.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-version-100.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-version-100.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-version-100.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-version-100.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-version-100.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-version-100.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-version-100.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-version-100.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-version-120.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-version-120.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-version-120.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-version-120.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-version-130.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-version-130.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-version-130.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-version-130.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-webgl-identifier.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-webgl-identifier.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-webgl-identifier.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-with-webgl-identifier.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-without-precision.frag.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-without-precision.frag.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shader-without-precision.frag.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shader-without-precision.frag.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/shared.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/shared.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/shared.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/shared.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/struct-nesting-exceeds-maximum.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/struct-nesting-exceeds-maximum.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/struct-nesting-exceeds-maximum.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/struct-nesting-exceeds-maximum.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/struct-nesting-under-maximum.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/struct-nesting-under-maximum.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/struct-nesting-under-maximum.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/struct-nesting-under-maximum.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/misc/uniform-location-length-limits.html b/dom/canvas/test/webgl-conformance/conformance/glsl/misc/uniform-location-length-limits.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/misc/uniform-location-length-limits.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/misc/uniform-location-length-limits.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/reserved/00_test_list.txt b/dom/canvas/test/webgl-conformance/conformance/glsl/reserved/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/reserved/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/conformance/glsl/reserved/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/reserved/_webgl_field.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/reserved/_webgl_field.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/reserved/_webgl_field.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/reserved/_webgl_field.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/reserved/_webgl_function.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/reserved/_webgl_function.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/reserved/_webgl_function.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/reserved/_webgl_function.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/reserved/_webgl_struct.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/reserved/_webgl_struct.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/reserved/_webgl_struct.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/reserved/_webgl_struct.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/reserved/_webgl_variable.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/reserved/_webgl_variable.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/reserved/_webgl_variable.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/reserved/_webgl_variable.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/reserved/webgl_field.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/reserved/webgl_field.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/reserved/webgl_field.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/reserved/webgl_field.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/reserved/webgl_function.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/reserved/webgl_function.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/reserved/webgl_function.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/reserved/webgl_function.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/reserved/webgl_struct.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/reserved/webgl_struct.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/reserved/webgl_struct.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/reserved/webgl_struct.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/reserved/webgl_variable.vert.html b/dom/canvas/test/webgl-conformance/conformance/glsl/reserved/webgl_variable.vert.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/reserved/webgl_variable.vert.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/reserved/webgl_variable.vert.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/samplers/00_test_list.txt b/dom/canvas/test/webgl-conformance/conformance/glsl/samplers/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/samplers/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/conformance/glsl/samplers/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/samplers/glsl-function-texture2d-bias.html b/dom/canvas/test/webgl-conformance/conformance/glsl/samplers/glsl-function-texture2d-bias.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/samplers/glsl-function-texture2d-bias.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/samplers/glsl-function-texture2d-bias.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/samplers/glsl-function-texture2dlod.html b/dom/canvas/test/webgl-conformance/conformance/glsl/samplers/glsl-function-texture2dlod.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/samplers/glsl-function-texture2dlod.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/samplers/glsl-function-texture2dlod.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/samplers/glsl-function-texture2dproj.html b/dom/canvas/test/webgl-conformance/conformance/glsl/samplers/glsl-function-texture2dproj.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/samplers/glsl-function-texture2dproj.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/samplers/glsl-function-texture2dproj.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/variables/00_test_list.txt b/dom/canvas/test/webgl-conformance/conformance/glsl/variables/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/variables/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/conformance/glsl/variables/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/variables/gl-fragcoord.html b/dom/canvas/test/webgl-conformance/conformance/glsl/variables/gl-fragcoord.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/variables/gl-fragcoord.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/variables/gl-fragcoord.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/variables/gl-frontfacing.html b/dom/canvas/test/webgl-conformance/conformance/glsl/variables/gl-frontfacing.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/variables/gl-frontfacing.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/variables/gl-frontfacing.html
diff --git a/content/canvas/test/webgl-conformance/conformance/glsl/variables/gl-pointcoord.html b/dom/canvas/test/webgl-conformance/conformance/glsl/variables/gl-pointcoord.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/glsl/variables/gl-pointcoord.html
rename to dom/canvas/test/webgl-conformance/conformance/glsl/variables/gl-pointcoord.html
diff --git a/content/canvas/test/webgl-conformance/conformance/limits/00_test_list.txt b/dom/canvas/test/webgl-conformance/conformance/limits/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/limits/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/conformance/limits/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/limits/gl-max-texture-dimensions.html b/dom/canvas/test/webgl-conformance/conformance/limits/gl-max-texture-dimensions.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/limits/gl-max-texture-dimensions.html
rename to dom/canvas/test/webgl-conformance/conformance/limits/gl-max-texture-dimensions.html
diff --git a/content/canvas/test/webgl-conformance/conformance/limits/gl-min-attribs.html b/dom/canvas/test/webgl-conformance/conformance/limits/gl-min-attribs.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/limits/gl-min-attribs.html
rename to dom/canvas/test/webgl-conformance/conformance/limits/gl-min-attribs.html
diff --git a/content/canvas/test/webgl-conformance/conformance/limits/gl-min-textures.html b/dom/canvas/test/webgl-conformance/conformance/limits/gl-min-textures.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/limits/gl-min-textures.html
rename to dom/canvas/test/webgl-conformance/conformance/limits/gl-min-textures.html
diff --git a/content/canvas/test/webgl-conformance/conformance/limits/gl-min-uniforms.html b/dom/canvas/test/webgl-conformance/conformance/limits/gl-min-uniforms.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/limits/gl-min-uniforms.html
rename to dom/canvas/test/webgl-conformance/conformance/limits/gl-min-uniforms.html
diff --git a/content/canvas/test/webgl-conformance/conformance/misc/00_test_list.txt b/dom/canvas/test/webgl-conformance/conformance/misc/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/misc/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/conformance/misc/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/misc/bad-arguments-test.html b/dom/canvas/test/webgl-conformance/conformance/misc/bad-arguments-test.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/misc/bad-arguments-test.html
rename to dom/canvas/test/webgl-conformance/conformance/misc/bad-arguments-test.html
diff --git a/content/canvas/test/webgl-conformance/conformance/misc/delayed-drawing.html b/dom/canvas/test/webgl-conformance/conformance/misc/delayed-drawing.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/misc/delayed-drawing.html
rename to dom/canvas/test/webgl-conformance/conformance/misc/delayed-drawing.html
diff --git a/content/canvas/test/webgl-conformance/conformance/misc/error-reporting.html b/dom/canvas/test/webgl-conformance/conformance/misc/error-reporting.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/misc/error-reporting.html
rename to dom/canvas/test/webgl-conformance/conformance/misc/error-reporting.html
diff --git a/content/canvas/test/webgl-conformance/conformance/misc/functions-returning-strings.html b/dom/canvas/test/webgl-conformance/conformance/misc/functions-returning-strings.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/misc/functions-returning-strings.html
rename to dom/canvas/test/webgl-conformance/conformance/misc/functions-returning-strings.html
diff --git a/content/canvas/test/webgl-conformance/conformance/misc/instanceof-test.html b/dom/canvas/test/webgl-conformance/conformance/misc/instanceof-test.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/misc/instanceof-test.html
rename to dom/canvas/test/webgl-conformance/conformance/misc/instanceof-test.html
diff --git a/content/canvas/test/webgl-conformance/conformance/misc/invalid-passed-params.html b/dom/canvas/test/webgl-conformance/conformance/misc/invalid-passed-params.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/misc/invalid-passed-params.html
rename to dom/canvas/test/webgl-conformance/conformance/misc/invalid-passed-params.html
diff --git a/content/canvas/test/webgl-conformance/conformance/misc/is-object.html b/dom/canvas/test/webgl-conformance/conformance/misc/is-object.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/misc/is-object.html
rename to dom/canvas/test/webgl-conformance/conformance/misc/is-object.html
diff --git a/content/canvas/test/webgl-conformance/conformance/misc/null-object-behaviour.html b/dom/canvas/test/webgl-conformance/conformance/misc/null-object-behaviour.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/misc/null-object-behaviour.html
rename to dom/canvas/test/webgl-conformance/conformance/misc/null-object-behaviour.html
diff --git a/content/canvas/test/webgl-conformance/conformance/misc/object-deletion-behaviour.html b/dom/canvas/test/webgl-conformance/conformance/misc/object-deletion-behaviour.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/misc/object-deletion-behaviour.html
rename to dom/canvas/test/webgl-conformance/conformance/misc/object-deletion-behaviour.html
diff --git a/content/canvas/test/webgl-conformance/conformance/misc/shader-precision-format.html b/dom/canvas/test/webgl-conformance/conformance/misc/shader-precision-format.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/misc/shader-precision-format.html
rename to dom/canvas/test/webgl-conformance/conformance/misc/shader-precision-format.html
diff --git a/content/canvas/test/webgl-conformance/conformance/misc/type-conversion-test.html b/dom/canvas/test/webgl-conformance/conformance/misc/type-conversion-test.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/misc/type-conversion-test.html
rename to dom/canvas/test/webgl-conformance/conformance/misc/type-conversion-test.html
diff --git a/content/canvas/test/webgl-conformance/conformance/misc/uninitialized-test.html b/dom/canvas/test/webgl-conformance/conformance/misc/uninitialized-test.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/misc/uninitialized-test.html
rename to dom/canvas/test/webgl-conformance/conformance/misc/uninitialized-test.html
diff --git a/content/canvas/test/webgl-conformance/conformance/misc/webgl-specific.html b/dom/canvas/test/webgl-conformance/conformance/misc/webgl-specific.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/misc/webgl-specific.html
rename to dom/canvas/test/webgl-conformance/conformance/misc/webgl-specific.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/00_test_list.txt b/dom/canvas/test/webgl-conformance/conformance/more/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/conformance/more/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/more/README.md b/dom/canvas/test/webgl-conformance/conformance/more/README.md
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/README.md
rename to dom/canvas/test/webgl-conformance/conformance/more/README.md
diff --git a/content/canvas/test/webgl-conformance/conformance/more/all_tests.html b/dom/canvas/test/webgl-conformance/conformance/more/all_tests.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/all_tests.html
rename to dom/canvas/test/webgl-conformance/conformance/more/all_tests.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/all_tests_linkonly.html b/dom/canvas/test/webgl-conformance/conformance/more/all_tests_linkonly.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/all_tests_linkonly.html
rename to dom/canvas/test/webgl-conformance/conformance/more/all_tests_linkonly.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/all_tests_sequential.html b/dom/canvas/test/webgl-conformance/conformance/more/all_tests_sequential.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/all_tests_sequential.html
rename to dom/canvas/test/webgl-conformance/conformance/more/all_tests_sequential.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-A.js b/dom/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-A.js
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-A.js
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-A.js
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-B1.js b/dom/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-B1.js
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-B1.js
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-B1.js
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-B2.js b/dom/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-B2.js
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-B2.js
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-B2.js
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-B3.js b/dom/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-B3.js
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-B3.js
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-B3.js
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-B4.js b/dom/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-B4.js
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-B4.js
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-B4.js
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-C.js b/dom/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-C.js
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-C.js
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-C.js
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-D_G.js b/dom/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-D_G.js
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-D_G.js
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-D_G.js
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-G_I.js b/dom/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-G_I.js
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-G_I.js
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-G_I.js
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-L_S.js b/dom/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-L_S.js
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-L_S.js
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-L_S.js
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-S_V.js b/dom/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-S_V.js
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-S_V.js
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/argGenerators-S_V.js
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/badArgsArityLessThanArgc.html b/dom/canvas/test/webgl-conformance/conformance/more/conformance/badArgsArityLessThanArgc.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/badArgsArityLessThanArgc.html
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/badArgsArityLessThanArgc.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/constants.html b/dom/canvas/test/webgl-conformance/conformance/more/conformance/constants.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/constants.html
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/constants.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/fuzzTheAPI.html b/dom/canvas/test/webgl-conformance/conformance/more/conformance/fuzzTheAPI.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/fuzzTheAPI.html
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/fuzzTheAPI.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/getContext.html b/dom/canvas/test/webgl-conformance/conformance/more/conformance/getContext.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/getContext.html
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/getContext.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/methods.html b/dom/canvas/test/webgl-conformance/conformance/more/conformance/methods.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/methods.html
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/methods.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-A.html b/dom/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-A.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-A.html
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-A.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-B1.html b/dom/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-B1.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-B1.html
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-B1.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-B2.html b/dom/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-B2.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-B2.html
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-B2.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-B3.html b/dom/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-B3.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-B3.html
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-B3.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-B4.html b/dom/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-B4.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-B4.html
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-B4.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-C.html b/dom/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-C.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-C.html
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-C.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-D_G.html b/dom/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-D_G.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-D_G.html
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-D_G.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-G_I.html b/dom/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-G_I.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-G_I.html
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-G_I.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-L_S.html b/dom/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-L_S.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-L_S.html
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-L_S.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-S_V.html b/dom/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-S_V.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-S_V.html
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI-S_V.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI.js b/dom/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI.js
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI.js
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPI.js
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPIBadArgs.html b/dom/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPIBadArgs.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPIBadArgs.html
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/quickCheckAPIBadArgs.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/conformance/webGLArrays.html b/dom/canvas/test/webgl-conformance/conformance/more/conformance/webGLArrays.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/conformance/webGLArrays.html
rename to dom/canvas/test/webgl-conformance/conformance/more/conformance/webGLArrays.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/demos/opengl_web.html b/dom/canvas/test/webgl-conformance/conformance/more/demos/opengl_web.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/demos/opengl_web.html
rename to dom/canvas/test/webgl-conformance/conformance/more/demos/opengl_web.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/demos/video.html b/dom/canvas/test/webgl-conformance/conformance/more/demos/video.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/demos/video.html
rename to dom/canvas/test/webgl-conformance/conformance/more/demos/video.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/bindBuffer.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/bindBuffer.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/bindBuffer.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/bindBuffer.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/bindBufferBadArgs.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/bindBufferBadArgs.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/bindBufferBadArgs.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/bindBufferBadArgs.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/bindFramebufferLeaveNonZero.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/bindFramebufferLeaveNonZero.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/bindFramebufferLeaveNonZero.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/bindFramebufferLeaveNonZero.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/bufferData.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/bufferData.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/bufferData.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/bufferData.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/bufferDataBadArgs.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/bufferDataBadArgs.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/bufferDataBadArgs.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/bufferDataBadArgs.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/bufferSubData.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/bufferSubData.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/bufferSubData.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/bufferSubData.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/bufferSubDataBadArgs.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/bufferSubDataBadArgs.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/bufferSubDataBadArgs.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/bufferSubDataBadArgs.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/copyTexImage2D.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/copyTexImage2D.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/copyTexImage2D.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/copyTexImage2D.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/copyTexImage2DBadArgs.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/copyTexImage2DBadArgs.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/copyTexImage2DBadArgs.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/copyTexImage2DBadArgs.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/copyTexSubImage2D.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/copyTexSubImage2D.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/copyTexSubImage2D.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/copyTexSubImage2D.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/copyTexSubImage2DBadArgs.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/copyTexSubImage2DBadArgs.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/copyTexSubImage2DBadArgs.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/copyTexSubImage2DBadArgs.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/deleteBufferBadArgs.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/deleteBufferBadArgs.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/deleteBufferBadArgs.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/deleteBufferBadArgs.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/drawArrays.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/drawArrays.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/drawArrays.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/drawArrays.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/drawArraysOutOfBounds.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/drawArraysOutOfBounds.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/drawArraysOutOfBounds.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/drawArraysOutOfBounds.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/drawElements.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/drawElements.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/drawElements.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/drawElements.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/drawElementsBadArgs.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/drawElementsBadArgs.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/drawElementsBadArgs.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/drawElementsBadArgs.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/isTests.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/isTests.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/isTests.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/isTests.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/readPixels.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/readPixels.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/readPixels.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/readPixels.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/readPixelsBadArgs.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/readPixelsBadArgs.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/readPixelsBadArgs.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/readPixelsBadArgs.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/texImage2D.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/texImage2D.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/texImage2D.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/texImage2D.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/texImage2DBadArgs.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/texImage2DBadArgs.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/texImage2DBadArgs.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/texImage2DBadArgs.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/texImage2DHTML.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/texImage2DHTML.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/texImage2DHTML.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/texImage2DHTML.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/texImage2DHTMLBadArgs.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/texImage2DHTMLBadArgs.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/texImage2DHTMLBadArgs.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/texImage2DHTMLBadArgs.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/texSubImage2D.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/texSubImage2D.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/texSubImage2D.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/texSubImage2D.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/texSubImage2DBadArgs.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/texSubImage2DBadArgs.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/texSubImage2DBadArgs.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/texSubImage2DBadArgs.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/texSubImage2DHTML.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/texSubImage2DHTML.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/texSubImage2DHTML.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/texSubImage2DHTML.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/texSubImage2DHTMLBadArgs.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/texSubImage2DHTMLBadArgs.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/texSubImage2DHTMLBadArgs.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/texSubImage2DHTMLBadArgs.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/uniformMatrix.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/uniformMatrix.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/uniformMatrix.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/uniformMatrix.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/uniformMatrixBadArgs.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/uniformMatrixBadArgs.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/uniformMatrixBadArgs.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/uniformMatrixBadArgs.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/uniformf.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/uniformf.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/uniformf.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/uniformf.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/uniformfArrayLen1.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/uniformfArrayLen1.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/uniformfArrayLen1.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/uniformfArrayLen1.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/uniformfBadArgs.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/uniformfBadArgs.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/uniformfBadArgs.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/uniformfBadArgs.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/uniformi.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/uniformi.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/uniformi.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/uniformi.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/uniformiBadArgs.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/uniformiBadArgs.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/uniformiBadArgs.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/uniformiBadArgs.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/vertexAttrib.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/vertexAttrib.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/vertexAttrib.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/vertexAttrib.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/vertexAttribBadArgs.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/vertexAttribBadArgs.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/vertexAttribBadArgs.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/vertexAttribBadArgs.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/vertexAttribPointer.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/vertexAttribPointer.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/vertexAttribPointer.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/vertexAttribPointer.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/functions/vertexAttribPointerBadArgs.html b/dom/canvas/test/webgl-conformance/conformance/more/functions/vertexAttribPointerBadArgs.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/functions/vertexAttribPointerBadArgs.html
rename to dom/canvas/test/webgl-conformance/conformance/more/functions/vertexAttribPointerBadArgs.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/glsl/arrayOutOfBounds.html b/dom/canvas/test/webgl-conformance/conformance/more/glsl/arrayOutOfBounds.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/glsl/arrayOutOfBounds.html
rename to dom/canvas/test/webgl-conformance/conformance/more/glsl/arrayOutOfBounds.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/glsl/longLoops.html b/dom/canvas/test/webgl-conformance/conformance/more/glsl/longLoops.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/glsl/longLoops.html
rename to dom/canvas/test/webgl-conformance/conformance/more/glsl/longLoops.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/glsl/uniformOutOfBounds.html b/dom/canvas/test/webgl-conformance/conformance/more/glsl/uniformOutOfBounds.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/glsl/uniformOutOfBounds.html
rename to dom/canvas/test/webgl-conformance/conformance/more/glsl/uniformOutOfBounds.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/glsl/unusedAttribsUniforms.html b/dom/canvas/test/webgl-conformance/conformance/more/glsl/unusedAttribsUniforms.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/glsl/unusedAttribsUniforms.html
rename to dom/canvas/test/webgl-conformance/conformance/more/glsl/unusedAttribsUniforms.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/index.html b/dom/canvas/test/webgl-conformance/conformance/more/index.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/index.html
rename to dom/canvas/test/webgl-conformance/conformance/more/index.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/performance/CPUvsGPU.html b/dom/canvas/test/webgl-conformance/conformance/more/performance/CPUvsGPU.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/performance/CPUvsGPU.html
rename to dom/canvas/test/webgl-conformance/conformance/more/performance/CPUvsGPU.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/performance/bandwidth.html b/dom/canvas/test/webgl-conformance/conformance/more/performance/bandwidth.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/performance/bandwidth.html
rename to dom/canvas/test/webgl-conformance/conformance/more/performance/bandwidth.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/performance/jsGCPause.html b/dom/canvas/test/webgl-conformance/conformance/more/performance/jsGCPause.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/performance/jsGCPause.html
rename to dom/canvas/test/webgl-conformance/conformance/more/performance/jsGCPause.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/performance/jsMatrixMult.html b/dom/canvas/test/webgl-conformance/conformance/more/performance/jsMatrixMult.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/performance/jsMatrixMult.html
rename to dom/canvas/test/webgl-conformance/conformance/more/performance/jsMatrixMult.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/performance/jsToGLOverhead.html b/dom/canvas/test/webgl-conformance/conformance/more/performance/jsToGLOverhead.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/performance/jsToGLOverhead.html
rename to dom/canvas/test/webgl-conformance/conformance/more/performance/jsToGLOverhead.html
diff --git a/content/canvas/test/webgl-conformance/conformance/more/unit.css b/dom/canvas/test/webgl-conformance/conformance/more/unit.css
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/unit.css
rename to dom/canvas/test/webgl-conformance/conformance/more/unit.css
diff --git a/content/canvas/test/webgl-conformance/conformance/more/unit.js b/dom/canvas/test/webgl-conformance/conformance/more/unit.js
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/unit.js
rename to dom/canvas/test/webgl-conformance/conformance/more/unit.js
diff --git a/content/canvas/test/webgl-conformance/conformance/more/util.js b/dom/canvas/test/webgl-conformance/conformance/more/util.js
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/more/util.js
rename to dom/canvas/test/webgl-conformance/conformance/more/util.js
diff --git a/content/canvas/test/webgl-conformance/conformance/programs/00_test_list.txt b/dom/canvas/test/webgl-conformance/conformance/programs/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/programs/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/conformance/programs/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/programs/get-active-test.html b/dom/canvas/test/webgl-conformance/conformance/programs/get-active-test.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/programs/get-active-test.html
rename to dom/canvas/test/webgl-conformance/conformance/programs/get-active-test.html
diff --git a/content/canvas/test/webgl-conformance/conformance/programs/gl-bind-attrib-location-test.html b/dom/canvas/test/webgl-conformance/conformance/programs/gl-bind-attrib-location-test.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/programs/gl-bind-attrib-location-test.html
rename to dom/canvas/test/webgl-conformance/conformance/programs/gl-bind-attrib-location-test.html
diff --git a/content/canvas/test/webgl-conformance/conformance/programs/gl-get-active-attribute.html b/dom/canvas/test/webgl-conformance/conformance/programs/gl-get-active-attribute.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/programs/gl-get-active-attribute.html
rename to dom/canvas/test/webgl-conformance/conformance/programs/gl-get-active-attribute.html
diff --git a/content/canvas/test/webgl-conformance/conformance/programs/gl-get-active-uniform.html b/dom/canvas/test/webgl-conformance/conformance/programs/gl-get-active-uniform.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/programs/gl-get-active-uniform.html
rename to dom/canvas/test/webgl-conformance/conformance/programs/gl-get-active-uniform.html
diff --git a/content/canvas/test/webgl-conformance/conformance/programs/gl-getshadersource.html b/dom/canvas/test/webgl-conformance/conformance/programs/gl-getshadersource.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/programs/gl-getshadersource.html
rename to dom/canvas/test/webgl-conformance/conformance/programs/gl-getshadersource.html
diff --git a/content/canvas/test/webgl-conformance/conformance/programs/gl-shader-test.html b/dom/canvas/test/webgl-conformance/conformance/programs/gl-shader-test.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/programs/gl-shader-test.html
rename to dom/canvas/test/webgl-conformance/conformance/programs/gl-shader-test.html
diff --git a/content/canvas/test/webgl-conformance/conformance/programs/invalid-UTF-16.html b/dom/canvas/test/webgl-conformance/conformance/programs/invalid-UTF-16.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/programs/invalid-UTF-16.html
rename to dom/canvas/test/webgl-conformance/conformance/programs/invalid-UTF-16.html
diff --git a/content/canvas/test/webgl-conformance/conformance/programs/program-test.html b/dom/canvas/test/webgl-conformance/conformance/programs/program-test.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/programs/program-test.html
rename to dom/canvas/test/webgl-conformance/conformance/programs/program-test.html
diff --git a/content/canvas/test/webgl-conformance/conformance/reading/00_test_list.txt b/dom/canvas/test/webgl-conformance/conformance/reading/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/reading/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/conformance/reading/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/reading/read-pixels-pack-alignment.html b/dom/canvas/test/webgl-conformance/conformance/reading/read-pixels-pack-alignment.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/reading/read-pixels-pack-alignment.html
rename to dom/canvas/test/webgl-conformance/conformance/reading/read-pixels-pack-alignment.html
diff --git a/content/canvas/test/webgl-conformance/conformance/reading/read-pixels-test.html b/dom/canvas/test/webgl-conformance/conformance/reading/read-pixels-test.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/reading/read-pixels-test.html
rename to dom/canvas/test/webgl-conformance/conformance/reading/read-pixels-test.html
diff --git a/content/canvas/test/webgl-conformance/conformance/renderbuffers/00_test_list.txt b/dom/canvas/test/webgl-conformance/conformance/renderbuffers/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/renderbuffers/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/conformance/renderbuffers/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/renderbuffers/framebuffer-object-attachment.html b/dom/canvas/test/webgl-conformance/conformance/renderbuffers/framebuffer-object-attachment.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/renderbuffers/framebuffer-object-attachment.html
rename to dom/canvas/test/webgl-conformance/conformance/renderbuffers/framebuffer-object-attachment.html
diff --git a/content/canvas/test/webgl-conformance/conformance/renderbuffers/framebuffer-test.html b/dom/canvas/test/webgl-conformance/conformance/renderbuffers/framebuffer-test.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/renderbuffers/framebuffer-test.html
rename to dom/canvas/test/webgl-conformance/conformance/renderbuffers/framebuffer-test.html
diff --git a/content/canvas/test/webgl-conformance/conformance/renderbuffers/renderbuffer-initialization.html b/dom/canvas/test/webgl-conformance/conformance/renderbuffers/renderbuffer-initialization.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/renderbuffers/renderbuffer-initialization.html
rename to dom/canvas/test/webgl-conformance/conformance/renderbuffers/renderbuffer-initialization.html
diff --git a/content/canvas/test/webgl-conformance/conformance/rendering/00_test_list.txt b/dom/canvas/test/webgl-conformance/conformance/rendering/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/rendering/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/conformance/rendering/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/rendering/draw-arrays-out-of-bounds.html b/dom/canvas/test/webgl-conformance/conformance/rendering/draw-arrays-out-of-bounds.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/rendering/draw-arrays-out-of-bounds.html
rename to dom/canvas/test/webgl-conformance/conformance/rendering/draw-arrays-out-of-bounds.html
diff --git a/content/canvas/test/webgl-conformance/conformance/rendering/draw-elements-out-of-bounds.html b/dom/canvas/test/webgl-conformance/conformance/rendering/draw-elements-out-of-bounds.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/rendering/draw-elements-out-of-bounds.html
rename to dom/canvas/test/webgl-conformance/conformance/rendering/draw-elements-out-of-bounds.html
diff --git a/content/canvas/test/webgl-conformance/conformance/rendering/gl-clear.html b/dom/canvas/test/webgl-conformance/conformance/rendering/gl-clear.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/rendering/gl-clear.html
rename to dom/canvas/test/webgl-conformance/conformance/rendering/gl-clear.html
diff --git a/content/canvas/test/webgl-conformance/conformance/rendering/gl-drawelements.html b/dom/canvas/test/webgl-conformance/conformance/rendering/gl-drawelements.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/rendering/gl-drawelements.html
rename to dom/canvas/test/webgl-conformance/conformance/rendering/gl-drawelements.html
diff --git a/content/canvas/test/webgl-conformance/conformance/rendering/gl-scissor-test.html b/dom/canvas/test/webgl-conformance/conformance/rendering/gl-scissor-test.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/rendering/gl-scissor-test.html
rename to dom/canvas/test/webgl-conformance/conformance/rendering/gl-scissor-test.html
diff --git a/content/canvas/test/webgl-conformance/conformance/rendering/line-loop-tri-fan.html b/dom/canvas/test/webgl-conformance/conformance/rendering/line-loop-tri-fan.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/rendering/line-loop-tri-fan.html
rename to dom/canvas/test/webgl-conformance/conformance/rendering/line-loop-tri-fan.html
diff --git a/content/canvas/test/webgl-conformance/conformance/rendering/more-than-65536-indices.html b/dom/canvas/test/webgl-conformance/conformance/rendering/more-than-65536-indices.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/rendering/more-than-65536-indices.html
rename to dom/canvas/test/webgl-conformance/conformance/rendering/more-than-65536-indices.html
diff --git a/content/canvas/test/webgl-conformance/conformance/rendering/point-size.html b/dom/canvas/test/webgl-conformance/conformance/rendering/point-size.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/rendering/point-size.html
rename to dom/canvas/test/webgl-conformance/conformance/rendering/point-size.html
diff --git a/content/canvas/test/webgl-conformance/conformance/rendering/triangle.html b/dom/canvas/test/webgl-conformance/conformance/rendering/triangle.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/rendering/triangle.html
rename to dom/canvas/test/webgl-conformance/conformance/rendering/triangle.html
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/3x3.png b/dom/canvas/test/webgl-conformance/conformance/resources/3x3.png
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/3x3.png
rename to dom/canvas/test/webgl-conformance/conformance/resources/3x3.png
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/blue-1x1.jpg b/dom/canvas/test/webgl-conformance/conformance/resources/blue-1x1.jpg
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/blue-1x1.jpg
rename to dom/canvas/test/webgl-conformance/conformance/resources/blue-1x1.jpg
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/boolUniformShader.vert b/dom/canvas/test/webgl-conformance/conformance/resources/boolUniformShader.vert
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/boolUniformShader.vert
rename to dom/canvas/test/webgl-conformance/conformance/resources/boolUniformShader.vert
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/bug-32888-texture.png b/dom/canvas/test/webgl-conformance/conformance/resources/bug-32888-texture.png
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/bug-32888-texture.png
rename to dom/canvas/test/webgl-conformance/conformance/resources/bug-32888-texture.png
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/floatUniformShader.vert b/dom/canvas/test/webgl-conformance/conformance/resources/floatUniformShader.vert
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/floatUniformShader.vert
rename to dom/canvas/test/webgl-conformance/conformance/resources/floatUniformShader.vert
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/fragmentShader.frag b/dom/canvas/test/webgl-conformance/conformance/resources/fragmentShader.frag
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/fragmentShader.frag
rename to dom/canvas/test/webgl-conformance/conformance/resources/fragmentShader.frag
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/glsl-conformance-test.js b/dom/canvas/test/webgl-conformance/conformance/resources/glsl-conformance-test.js
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/glsl-conformance-test.js
rename to dom/canvas/test/webgl-conformance/conformance/resources/glsl-conformance-test.js
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/glsl-feature-tests.css b/dom/canvas/test/webgl-conformance/conformance/resources/glsl-feature-tests.css
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/glsl-feature-tests.css
rename to dom/canvas/test/webgl-conformance/conformance/resources/glsl-feature-tests.css
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/glsl-generator.js b/dom/canvas/test/webgl-conformance/conformance/resources/glsl-generator.js
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/glsl-generator.js
rename to dom/canvas/test/webgl-conformance/conformance/resources/glsl-generator.js
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/gray-ramp-256-with-128-alpha.png b/dom/canvas/test/webgl-conformance/conformance/resources/gray-ramp-256-with-128-alpha.png
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/gray-ramp-256-with-128-alpha.png
rename to dom/canvas/test/webgl-conformance/conformance/resources/gray-ramp-256-with-128-alpha.png
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/gray-ramp-256.png b/dom/canvas/test/webgl-conformance/conformance/resources/gray-ramp-256.png
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/gray-ramp-256.png
rename to dom/canvas/test/webgl-conformance/conformance/resources/gray-ramp-256.png
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/gray-ramp-default-gamma.png b/dom/canvas/test/webgl-conformance/conformance/resources/gray-ramp-default-gamma.png
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/gray-ramp-default-gamma.png
rename to dom/canvas/test/webgl-conformance/conformance/resources/gray-ramp-default-gamma.png
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/gray-ramp-gamma0.1.png b/dom/canvas/test/webgl-conformance/conformance/resources/gray-ramp-gamma0.1.png
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/gray-ramp-gamma0.1.png
rename to dom/canvas/test/webgl-conformance/conformance/resources/gray-ramp-gamma0.1.png
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/gray-ramp-gamma1.0.png b/dom/canvas/test/webgl-conformance/conformance/resources/gray-ramp-gamma1.0.png
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/gray-ramp-gamma1.0.png
rename to dom/canvas/test/webgl-conformance/conformance/resources/gray-ramp-gamma1.0.png
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/gray-ramp-gamma2.0.png b/dom/canvas/test/webgl-conformance/conformance/resources/gray-ramp-gamma2.0.png
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/gray-ramp-gamma2.0.png
rename to dom/canvas/test/webgl-conformance/conformance/resources/gray-ramp-gamma2.0.png
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/gray-ramp-gamma4.0.png b/dom/canvas/test/webgl-conformance/conformance/resources/gray-ramp-gamma4.0.png
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/gray-ramp-gamma4.0.png
rename to dom/canvas/test/webgl-conformance/conformance/resources/gray-ramp-gamma4.0.png
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/gray-ramp-gamma9.0.png b/dom/canvas/test/webgl-conformance/conformance/resources/gray-ramp-gamma9.0.png
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/gray-ramp-gamma9.0.png
rename to dom/canvas/test/webgl-conformance/conformance/resources/gray-ramp-gamma9.0.png
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/gray-ramp.png b/dom/canvas/test/webgl-conformance/conformance/resources/gray-ramp.png
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/gray-ramp.png
rename to dom/canvas/test/webgl-conformance/conformance/resources/gray-ramp.png
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/green-2x2-16bit.png b/dom/canvas/test/webgl-conformance/conformance/resources/green-2x2-16bit.png
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/green-2x2-16bit.png
rename to dom/canvas/test/webgl-conformance/conformance/resources/green-2x2-16bit.png
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/intArrayUniformShader.vert b/dom/canvas/test/webgl-conformance/conformance/resources/intArrayUniformShader.vert
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/intArrayUniformShader.vert
rename to dom/canvas/test/webgl-conformance/conformance/resources/intArrayUniformShader.vert
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/intUniformShader.vert b/dom/canvas/test/webgl-conformance/conformance/resources/intUniformShader.vert
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/intUniformShader.vert
rename to dom/canvas/test/webgl-conformance/conformance/resources/intUniformShader.vert
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/matUniformShader.vert b/dom/canvas/test/webgl-conformance/conformance/resources/matUniformShader.vert
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/matUniformShader.vert
rename to dom/canvas/test/webgl-conformance/conformance/resources/matUniformShader.vert
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/noopUniformShader.frag b/dom/canvas/test/webgl-conformance/conformance/resources/noopUniformShader.frag
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/noopUniformShader.frag
rename to dom/canvas/test/webgl-conformance/conformance/resources/noopUniformShader.frag
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/noopUniformShader.vert b/dom/canvas/test/webgl-conformance/conformance/resources/noopUniformShader.vert
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/noopUniformShader.vert
rename to dom/canvas/test/webgl-conformance/conformance/resources/noopUniformShader.vert
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/npot-video.mp4 b/dom/canvas/test/webgl-conformance/conformance/resources/npot-video.mp4
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/npot-video.mp4
rename to dom/canvas/test/webgl-conformance/conformance/resources/npot-video.mp4
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/npot-video.theora.ogv b/dom/canvas/test/webgl-conformance/conformance/resources/npot-video.theora.ogv
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/npot-video.theora.ogv
rename to dom/canvas/test/webgl-conformance/conformance/resources/npot-video.theora.ogv
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/npot-video.webmvp8.webm b/dom/canvas/test/webgl-conformance/conformance/resources/npot-video.webmvp8.webm
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/npot-video.webmvp8.webm
rename to dom/canvas/test/webgl-conformance/conformance/resources/npot-video.webmvp8.webm
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/pnglib.js b/dom/canvas/test/webgl-conformance/conformance/resources/pnglib.js
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/pnglib.js
rename to dom/canvas/test/webgl-conformance/conformance/resources/pnglib.js
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/red-green.mp4 b/dom/canvas/test/webgl-conformance/conformance/resources/red-green.mp4
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/red-green.mp4
rename to dom/canvas/test/webgl-conformance/conformance/resources/red-green.mp4
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/red-green.png b/dom/canvas/test/webgl-conformance/conformance/resources/red-green.png
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/red-green.png
rename to dom/canvas/test/webgl-conformance/conformance/resources/red-green.png
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/red-green.theora.ogv b/dom/canvas/test/webgl-conformance/conformance/resources/red-green.theora.ogv
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/red-green.theora.ogv
rename to dom/canvas/test/webgl-conformance/conformance/resources/red-green.theora.ogv
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/red-green.webmvp8.webm b/dom/canvas/test/webgl-conformance/conformance/resources/red-green.webmvp8.webm
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/red-green.webmvp8.webm
rename to dom/canvas/test/webgl-conformance/conformance/resources/red-green.webmvp8.webm
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/red-indexed.png b/dom/canvas/test/webgl-conformance/conformance/resources/red-indexed.png
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/red-indexed.png
rename to dom/canvas/test/webgl-conformance/conformance/resources/red-indexed.png
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/samplerUniformShader.frag b/dom/canvas/test/webgl-conformance/conformance/resources/samplerUniformShader.frag
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/samplerUniformShader.frag
rename to dom/canvas/test/webgl-conformance/conformance/resources/samplerUniformShader.frag
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/small-square-with-cie-rgb-profile.png b/dom/canvas/test/webgl-conformance/conformance/resources/small-square-with-cie-rgb-profile.png
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/small-square-with-cie-rgb-profile.png
rename to dom/canvas/test/webgl-conformance/conformance/resources/small-square-with-cie-rgb-profile.png
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/small-square-with-colormatch-profile.png b/dom/canvas/test/webgl-conformance/conformance/resources/small-square-with-colormatch-profile.png
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/small-square-with-colormatch-profile.png
rename to dom/canvas/test/webgl-conformance/conformance/resources/small-square-with-colormatch-profile.png
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/small-square-with-colorspin-profile.jpg b/dom/canvas/test/webgl-conformance/conformance/resources/small-square-with-colorspin-profile.jpg
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/small-square-with-colorspin-profile.jpg
rename to dom/canvas/test/webgl-conformance/conformance/resources/small-square-with-colorspin-profile.jpg
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/small-square-with-colorspin-profile.png b/dom/canvas/test/webgl-conformance/conformance/resources/small-square-with-colorspin-profile.png
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/small-square-with-colorspin-profile.png
rename to dom/canvas/test/webgl-conformance/conformance/resources/small-square-with-colorspin-profile.png
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/small-square-with-e-srgb-profile.png b/dom/canvas/test/webgl-conformance/conformance/resources/small-square-with-e-srgb-profile.png
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/small-square-with-e-srgb-profile.png
rename to dom/canvas/test/webgl-conformance/conformance/resources/small-square-with-e-srgb-profile.png
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/small-square-with-smpte-c-profile.png b/dom/canvas/test/webgl-conformance/conformance/resources/small-square-with-smpte-c-profile.png
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/small-square-with-smpte-c-profile.png
rename to dom/canvas/test/webgl-conformance/conformance/resources/small-square-with-smpte-c-profile.png
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/small-square-with-srgb-iec61966-2.1-profile.png b/dom/canvas/test/webgl-conformance/conformance/resources/small-square-with-srgb-iec61966-2.1-profile.png
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/small-square-with-srgb-iec61966-2.1-profile.png
rename to dom/canvas/test/webgl-conformance/conformance/resources/small-square-with-srgb-iec61966-2.1-profile.png
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/structUniformShader.vert b/dom/canvas/test/webgl-conformance/conformance/resources/structUniformShader.vert
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/structUniformShader.vert
rename to dom/canvas/test/webgl-conformance/conformance/resources/structUniformShader.vert
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/vertexShader.vert b/dom/canvas/test/webgl-conformance/conformance/resources/vertexShader.vert
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/vertexShader.vert
rename to dom/canvas/test/webgl-conformance/conformance/resources/vertexShader.vert
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/webgl-test-utils.js b/dom/canvas/test/webgl-conformance/conformance/resources/webgl-test-utils.js
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/webgl-test-utils.js
rename to dom/canvas/test/webgl-conformance/conformance/resources/webgl-test-utils.js
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/webgl-test.js b/dom/canvas/test/webgl-conformance/conformance/resources/webgl-test.js
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/webgl-test.js
rename to dom/canvas/test/webgl-conformance/conformance/resources/webgl-test.js
diff --git a/content/canvas/test/webgl-conformance/conformance/resources/zero-alpha.png b/dom/canvas/test/webgl-conformance/conformance/resources/zero-alpha.png
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/resources/zero-alpha.png
rename to dom/canvas/test/webgl-conformance/conformance/resources/zero-alpha.png
diff --git a/content/canvas/test/webgl-conformance/conformance/state/00_test_list.txt b/dom/canvas/test/webgl-conformance/conformance/state/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/state/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/conformance/state/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/state/gl-enable-enum-test.html b/dom/canvas/test/webgl-conformance/conformance/state/gl-enable-enum-test.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/state/gl-enable-enum-test.html
rename to dom/canvas/test/webgl-conformance/conformance/state/gl-enable-enum-test.html
diff --git a/content/canvas/test/webgl-conformance/conformance/state/gl-enum-tests.html b/dom/canvas/test/webgl-conformance/conformance/state/gl-enum-tests.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/state/gl-enum-tests.html
rename to dom/canvas/test/webgl-conformance/conformance/state/gl-enum-tests.html
diff --git a/content/canvas/test/webgl-conformance/conformance/state/gl-get-calls.html b/dom/canvas/test/webgl-conformance/conformance/state/gl-get-calls.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/state/gl-get-calls.html
rename to dom/canvas/test/webgl-conformance/conformance/state/gl-get-calls.html
diff --git a/content/canvas/test/webgl-conformance/conformance/state/gl-geterror.html b/dom/canvas/test/webgl-conformance/conformance/state/gl-geterror.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/state/gl-geterror.html
rename to dom/canvas/test/webgl-conformance/conformance/state/gl-geterror.html
diff --git a/content/canvas/test/webgl-conformance/conformance/state/gl-getstring.html b/dom/canvas/test/webgl-conformance/conformance/state/gl-getstring.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/state/gl-getstring.html
rename to dom/canvas/test/webgl-conformance/conformance/state/gl-getstring.html
diff --git a/content/canvas/test/webgl-conformance/conformance/state/gl-object-get-calls.html b/dom/canvas/test/webgl-conformance/conformance/state/gl-object-get-calls.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/state/gl-object-get-calls.html
rename to dom/canvas/test/webgl-conformance/conformance/state/gl-object-get-calls.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/00_test_list.txt b/dom/canvas/test/webgl-conformance/conformance/textures/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/conformance/textures/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/compressed-tex-image.html b/dom/canvas/test/webgl-conformance/conformance/textures/compressed-tex-image.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/compressed-tex-image.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/compressed-tex-image.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/copy-tex-image-and-sub-image-2d.html b/dom/canvas/test/webgl-conformance/conformance/textures/copy-tex-image-and-sub-image-2d.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/copy-tex-image-and-sub-image-2d.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/copy-tex-image-and-sub-image-2d.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/gl-pixelstorei.html b/dom/canvas/test/webgl-conformance/conformance/textures/gl-pixelstorei.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/gl-pixelstorei.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/gl-pixelstorei.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/gl-teximage.html b/dom/canvas/test/webgl-conformance/conformance/textures/gl-teximage.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/gl-teximage.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/gl-teximage.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/origin-clean-conformance.html b/dom/canvas/test/webgl-conformance/conformance/textures/origin-clean-conformance.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/origin-clean-conformance.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/origin-clean-conformance.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/tex-image-and-sub-image-2d-with-array-buffer-view.html b/dom/canvas/test/webgl-conformance/conformance/textures/tex-image-and-sub-image-2d-with-array-buffer-view.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/tex-image-and-sub-image-2d-with-array-buffer-view.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/tex-image-and-sub-image-2d-with-array-buffer-view.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/tex-image-and-sub-image-2d-with-canvas.html b/dom/canvas/test/webgl-conformance/conformance/textures/tex-image-and-sub-image-2d-with-canvas.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/tex-image-and-sub-image-2d-with-canvas.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/tex-image-and-sub-image-2d-with-canvas.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/tex-image-and-sub-image-2d-with-image-data.html b/dom/canvas/test/webgl-conformance/conformance/textures/tex-image-and-sub-image-2d-with-image-data.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/tex-image-and-sub-image-2d-with-image-data.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/tex-image-and-sub-image-2d-with-image-data.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/tex-image-and-sub-image-2d-with-image.html b/dom/canvas/test/webgl-conformance/conformance/textures/tex-image-and-sub-image-2d-with-image.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/tex-image-and-sub-image-2d-with-image.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/tex-image-and-sub-image-2d-with-image.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/tex-image-and-sub-image-2d-with-video.html b/dom/canvas/test/webgl-conformance/conformance/textures/tex-image-and-sub-image-2d-with-video.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/tex-image-and-sub-image-2d-with-video.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/tex-image-and-sub-image-2d-with-video.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/tex-image-and-uniform-binding-bugs.html b/dom/canvas/test/webgl-conformance/conformance/textures/tex-image-and-uniform-binding-bugs.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/tex-image-and-uniform-binding-bugs.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/tex-image-and-uniform-binding-bugs.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/tex-image-with-format-and-type.html b/dom/canvas/test/webgl-conformance/conformance/textures/tex-image-with-format-and-type.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/tex-image-with-format-and-type.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/tex-image-with-format-and-type.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/tex-image-with-invalid-data.html b/dom/canvas/test/webgl-conformance/conformance/textures/tex-image-with-invalid-data.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/tex-image-with-invalid-data.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/tex-image-with-invalid-data.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/tex-input-validation.html b/dom/canvas/test/webgl-conformance/conformance/textures/tex-input-validation.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/tex-input-validation.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/tex-input-validation.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/tex-sub-image-2d-bad-args.html b/dom/canvas/test/webgl-conformance/conformance/textures/tex-sub-image-2d-bad-args.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/tex-sub-image-2d-bad-args.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/tex-sub-image-2d-bad-args.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/tex-sub-image-2d.html b/dom/canvas/test/webgl-conformance/conformance/textures/tex-sub-image-2d.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/tex-sub-image-2d.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/tex-sub-image-2d.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/texparameter-test.html b/dom/canvas/test/webgl-conformance/conformance/textures/texparameter-test.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/texparameter-test.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/texparameter-test.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/texture-active-bind-2.html b/dom/canvas/test/webgl-conformance/conformance/textures/texture-active-bind-2.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/texture-active-bind-2.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/texture-active-bind-2.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/texture-active-bind.html b/dom/canvas/test/webgl-conformance/conformance/textures/texture-active-bind.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/texture-active-bind.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/texture-active-bind.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/texture-clear.html b/dom/canvas/test/webgl-conformance/conformance/textures/texture-clear.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/texture-clear.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/texture-clear.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/texture-complete.html b/dom/canvas/test/webgl-conformance/conformance/textures/texture-complete.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/texture-complete.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/texture-complete.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/texture-formats-test.html b/dom/canvas/test/webgl-conformance/conformance/textures/texture-formats-test.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/texture-formats-test.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/texture-formats-test.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/texture-mips.html b/dom/canvas/test/webgl-conformance/conformance/textures/texture-mips.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/texture-mips.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/texture-mips.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/texture-npot-video.html b/dom/canvas/test/webgl-conformance/conformance/textures/texture-npot-video.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/texture-npot-video.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/texture-npot-video.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/texture-npot.html b/dom/canvas/test/webgl-conformance/conformance/textures/texture-npot.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/texture-npot.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/texture-npot.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/texture-size-cube-maps.html b/dom/canvas/test/webgl-conformance/conformance/textures/texture-size-cube-maps.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/texture-size-cube-maps.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/texture-size-cube-maps.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/texture-size.html b/dom/canvas/test/webgl-conformance/conformance/textures/texture-size.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/texture-size.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/texture-size.html
diff --git a/content/canvas/test/webgl-conformance/conformance/textures/texture-transparent-pixels-initialized.html b/dom/canvas/test/webgl-conformance/conformance/textures/texture-transparent-pixels-initialized.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/textures/texture-transparent-pixels-initialized.html
rename to dom/canvas/test/webgl-conformance/conformance/textures/texture-transparent-pixels-initialized.html
diff --git a/content/canvas/test/webgl-conformance/conformance/typedarrays/00_test_list.txt b/dom/canvas/test/webgl-conformance/conformance/typedarrays/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/typedarrays/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/conformance/typedarrays/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/typedarrays/array-buffer-crash.html b/dom/canvas/test/webgl-conformance/conformance/typedarrays/array-buffer-crash.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/typedarrays/array-buffer-crash.html
rename to dom/canvas/test/webgl-conformance/conformance/typedarrays/array-buffer-crash.html
diff --git a/content/canvas/test/webgl-conformance/conformance/typedarrays/array-buffer-view-crash.html b/dom/canvas/test/webgl-conformance/conformance/typedarrays/array-buffer-view-crash.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/typedarrays/array-buffer-view-crash.html
rename to dom/canvas/test/webgl-conformance/conformance/typedarrays/array-buffer-view-crash.html
diff --git a/content/canvas/test/webgl-conformance/conformance/typedarrays/array-unit-tests.html b/dom/canvas/test/webgl-conformance/conformance/typedarrays/array-unit-tests.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/typedarrays/array-unit-tests.html
rename to dom/canvas/test/webgl-conformance/conformance/typedarrays/array-unit-tests.html
diff --git a/content/canvas/test/webgl-conformance/conformance/uniforms/00_test_list.txt b/dom/canvas/test/webgl-conformance/conformance/uniforms/00_test_list.txt
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/uniforms/00_test_list.txt
rename to dom/canvas/test/webgl-conformance/conformance/uniforms/00_test_list.txt
diff --git a/content/canvas/test/webgl-conformance/conformance/uniforms/gl-uniform-arrays.html b/dom/canvas/test/webgl-conformance/conformance/uniforms/gl-uniform-arrays.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/uniforms/gl-uniform-arrays.html
rename to dom/canvas/test/webgl-conformance/conformance/uniforms/gl-uniform-arrays.html
diff --git a/content/canvas/test/webgl-conformance/conformance/uniforms/gl-uniform-bool.html b/dom/canvas/test/webgl-conformance/conformance/uniforms/gl-uniform-bool.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/uniforms/gl-uniform-bool.html
rename to dom/canvas/test/webgl-conformance/conformance/uniforms/gl-uniform-bool.html
diff --git a/content/canvas/test/webgl-conformance/conformance/uniforms/gl-uniformmatrix4fv.html b/dom/canvas/test/webgl-conformance/conformance/uniforms/gl-uniformmatrix4fv.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/uniforms/gl-uniformmatrix4fv.html
rename to dom/canvas/test/webgl-conformance/conformance/uniforms/gl-uniformmatrix4fv.html
diff --git a/content/canvas/test/webgl-conformance/conformance/uniforms/gl-unknown-uniform.html b/dom/canvas/test/webgl-conformance/conformance/uniforms/gl-unknown-uniform.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/uniforms/gl-unknown-uniform.html
rename to dom/canvas/test/webgl-conformance/conformance/uniforms/gl-unknown-uniform.html
diff --git a/content/canvas/test/webgl-conformance/conformance/uniforms/null-uniform-location.html b/dom/canvas/test/webgl-conformance/conformance/uniforms/null-uniform-location.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/uniforms/null-uniform-location.html
rename to dom/canvas/test/webgl-conformance/conformance/uniforms/null-uniform-location.html
diff --git a/content/canvas/test/webgl-conformance/conformance/uniforms/uniform-location.html b/dom/canvas/test/webgl-conformance/conformance/uniforms/uniform-location.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/uniforms/uniform-location.html
rename to dom/canvas/test/webgl-conformance/conformance/uniforms/uniform-location.html
diff --git a/content/canvas/test/webgl-conformance/conformance/uniforms/uniform-samplers-test.html b/dom/canvas/test/webgl-conformance/conformance/uniforms/uniform-samplers-test.html
similarity index 100%
rename from content/canvas/test/webgl-conformance/conformance/uniforms/uniform-samplers-test.html
rename to dom/canvas/test/webgl-conformance/conformance/uniforms/uniform-samplers-test.html
diff --git a/content/canvas/test/webgl-conformance/dont-load-image-from-internet.patch b/dom/canvas/test/webgl-conformance/dont-load-image-from-internet.patch
similarity index 98%
rename from content/canvas/test/webgl-conformance/dont-load-image-from-internet.patch
rename to dom/canvas/test/webgl-conformance/dont-load-image-from-internet.patch
index 648057cf3a16..d31aa63f9428 100644
--- a/content/canvas/test/webgl-conformance/dont-load-image-from-internet.patch
+++ b/dom/canvas/test/webgl-conformance/dont-load-image-from-internet.patch
@@ -1,9 +1,9 @@
# HG changeset patch
# Parent 7840bd30b599390361d5afb91d40b4635b3a6f34
-diff --git a/content/canvas/test/webgl/conformance/more/functions/readPixelsBadArgs.html b/content/canvas/test/webgl/conformance/more/functions/readPixelsBadArgs.html
---- a/content/canvas/test/webgl/conformance/more/functions/readPixelsBadArgs.html
-+++ b/content/canvas/test/webgl/conformance/more/functions/readPixelsBadArgs.html
+diff --git a/dom/canvas/test/webgl/conformance/more/functions/readPixelsBadArgs.html b/dom/canvas/test/webgl/conformance/more/functions/readPixelsBadArgs.html
+--- a/dom/canvas/test/webgl/conformance/more/functions/readPixelsBadArgs.html
++++ b/dom/canvas/test/webgl/conformance/more/functions/readPixelsBadArgs.html
@@ -110,10 +110,10 @@ Tests.testReadPixelsSOPCanvas = function
Tests.endUnit = function(gl) {
@@ -14,11 +14,11 @@ diff --git a/content/canvas/test/webgl/conformance/more/functions/readPixelsBadA
-

-+

++