Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher
authorVaibhav Agarwal <vaibhavmagarwal@gmail.com>
Wed, 12 Mar 2014 11:41:08 -0400
changeset 173190 35e1bf0612840ef8ab657f0ae170ed2321272126
parent 173185 b1b1f0e5f8da0e9d7766578784bfcce4c36f925d
child 173191 b2ff3a685198fbb801f321acb9ba95972e4039ef
push id26396
push userkwierso@gmail.com
push dateThu, 13 Mar 2014 02:37:04 +0000
treeherdermozilla-central@663cc8a7d6ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher
bugs971132
milestone30.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher
content/base/test/mochitest-child-permissions.ini
content/base/test/mochitest.ini
content/media/test/mochitest.ini
content/media/webaudio/test/mochitest.ini
content/xul/content/test/mochitest.ini
dom/apps/tests/mochitest.ini
dom/browser-element/mochitest/mochitest-oop.ini
dom/browser-element/mochitest/mochitest.ini
dom/browser-element/mochitest/priority/mochitest.ini
dom/datastore/tests/mochitest.ini
dom/imptests/editing/mochitest.ini
dom/imptests/html/mochitest.ini
dom/permission/tests/mochitest.ini
dom/plugins/test/mochitest/mochitest.ini
layout/xul/test/mochitest.ini
testing/mochitest/b2g-debug.json
testing/mochitest/b2g-desktop.json
testing/mochitest/b2g.json
--- a/content/base/test/mochitest-child-permissions.ini
+++ b/content/base/test/mochitest-child-permissions.ini
@@ -1,2 +1,4 @@
 [test_messagemanager_assertpermission.html]
+skip-if = buildapp == 'b2g' #b2g(specialpowers.wrap issue, NS_ERROR_XPC_GS_RETURNED_FAILURE) b2g-debug(specialpowers.wrap issue, NS_ERROR_XPC_GS_RETURNED_FAILURE) b2g-desktop(specialpowers.wrap issue, NS_ERROR_XPC_GS_RETURNED_FAILURE)
 [test_child_process_shutdown_message.html]
+skip-if = buildapp == 'b2g' #b2g(specialpowers.wrap issue, NS_ERROR_XPC_GS_RETURNED_FAILURE) b2g-debug(specialpowers.wrap issue, NS_ERROR_XPC_GS_RETURNED_FAILURE) b2g-desktop(specialpowers.wrap issue, NS_ERROR_XPC_GS_RETURNED_FAILURE)
--- a/content/base/test/mochitest.ini
+++ b/content/base/test/mochitest.ini
@@ -539,17 +539,17 @@ skip-if = buildapp == 'b2g' || toolkit =
 [test_bug902847.html]
 [test_bug907892.html]
 [test_bug922681.html]
 [test_bug927196.html]
 [test_caretPositionFromPoint.html]
 [test_classList.html]
 # This test fails on the Mac for some reason
 [test_copyimage.html]
-skip-if = toolkit != 'gtk2' && toolkit != 'gtk3' && toolkit != 'windows'
+skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit != 'gtk2' && toolkit != 'gtk3' && toolkit != 'windows' #b2g-desktop(Bug 931116, b2g desktop specific, initial triage)
 [test_copypaste.html]
 skip-if = buildapp == 'b2g' || toolkit == 'android' #bug 904183 # b2g(clipboard undefined) b2g-debug(clipboard undefined) b2g-desktop(clipboard undefined)
 [test_copypaste.xhtml]
 skip-if = buildapp == 'b2g' || toolkit == 'android' #bug 904183 # b2g(bug 904183) b2g-debug(bug 904183) b2g-desktop(bug 904183)
 [test_createHTMLDocument.html]
 [test_declare_stylesheet_obsolete.html]
 [test_domparser_null_char.html]
 [test_domparsing.html]
--- a/content/media/test/mochitest.ini
+++ b/content/media/test/mochitest.ini
@@ -470,25 +470,25 @@ skip-if = buildapp == 'b2g'
 # about reenabling it on any platform unless you *know* that you have fixed
 # that. Then don't think about reenabling it on Windows until you know that
 # you have fixed the timeouts of bug 832768, bug 814533, bug 840742
 
 [test_play_twice.html]
 skip-if = appname == "seamonkey" # See bug 598252
 
 [test_buffered.html]
-skip-if = toolkit == 'android' || os == "win" # See bug 832768 and 864682
+skip-if = toolkit == 'android' || os == "win" || (toolkit == 'gonk' && !debug) # See bug 832768 and 864682, b2g(assertion failures)
 [test_bug465498.html]
-skip-if = os == "win" # See bug 832768 and 864682
+skip-if = os == "win" || (toolkit == 'gonk' && !debug) # See bug 832768 and 864682
 [test_bug493187.html]
-skip-if = os == "win" || (buildapp=='b2g'&&debug) # See bug 707777, #b2g-emulator-debug - process crash
+skip-if = os == "win" || (buildapp=='b2g'&&debug) || (toolkit == 'gonk' && !debug) # See bug 707777, #b2g-emulator-debug - process crash
 [test_media_selection.html]
-skip-if = os == "win" # See bug 897843
+skip-if = os == "win" || (toolkit == 'gonk' && !debug) # See bug 897843, b2g(timed out)
 [test_seek.html]
-skip-if = toolkit == 'android' || os == "win" # See bug 832678, 795271, and 857424 # android(bug 845162) androidx86(bug 845162)
+skip-if = toolkit == 'android' || os == "win" || (toolkit == 'gonk' && !debug) # See bug 832678, 795271, and 857424 # android(bug 845162) androidx86(bug 845162)
 
 # The tests below contain backend-specific tests. Write backend independent
 # tests rather than adding to this list.
 
 [test_can_play_type_webm.html]
 run-if = webm
 [test_can_play_type_no_webm.html]
 skip-if = webm
--- a/content/media/webaudio/test/mochitest.ini
+++ b/content/media/webaudio/test/mochitest.ini
@@ -1,9 +1,10 @@
 [DEFAULT]
+skip-if = (buildapp == 'b2g' && (toolkit != 'gonk' || debug)) #b2g-debug(bug 916135) b2g-desktop(bug 916135)
 support-files =
   audio-expected.wav
   audio-mono-expected-2.wav
   audio-mono-expected.wav
   audio-quad.wav
   audio.ogv
   audioBufferSourceNodeNeutered_worker.js
   invalid.txt
--- a/content/xul/content/test/mochitest.ini
+++ b/content/xul/content/test/mochitest.ini
@@ -1,5 +1,6 @@
 [DEFAULT]
+skip-if = buildapp == 'b2g' #tests that use xul
 
 [test_bug486990.xul]
 skip-if = toolkit == 'android' #TIMED_OUT
 [test_bug749367.xul]
--- a/dom/apps/tests/mochitest.ini
+++ b/dom/apps/tests/mochitest.ini
@@ -1,9 +1,10 @@
 [DEFAULT]
+skip-if = toolkit=='gonk' #b2g(bug 972927, nearly perma-fail) b2g-debug(bug 972927, nearly perma-fail)
 support-files =
   file_app.sjs
   file_app.template.html
   file_cached_app.template.appcache
   file_cached_app.template.webapp
   file_hosted_app.template.webapp
   file_packaged_app.sjs
   file_packaged_app.template.html
--- a/dom/browser-element/mochitest/mochitest-oop.ini
+++ b/dom/browser-element/mochitest/mochitest-oop.ini
@@ -1,68 +1,81 @@
 [DEFAULT]
 # Both the "inproc" and "oop" versions of OpenMixedProcess open remote frames,
 # so we don't run that test on platforms which don't support OOP tests.
 # OOP tests don't work on native-fennec (bug 774939).
 # Bug 960345 - Disabled on OSX debug for frequent crashes.
-skip-if = os == "android" || (toolkit == "cocoa" && debug)
+skip-if = os == "android" || (toolkit == "cocoa" && debug) || (buildapp == 'b2g' && (toolkit != 'gonk' || debug))
 support-files =
   browserElement_OpenMixedProcess.js
   file_browserElement_OpenMixedProcess.html
 
 [test_browserElement_inproc_ErrorSecurity.html]
 skip-if = toolkit=='gonk'
 [test_browserElement_inproc_OpenMixedProcess.html]
-skip-if = toolkit=='gonk'
+skip-if = toolkit=='gonk' || (toolkit == 'gonk' && !debug)
 [test_browserElement_oop_Alert.html]
 [test_browserElement_oop_AlertInFrame.html]
 [test_browserElement_oop_AppFramePermission.html]
+skip-if = (toolkit == 'gonk' && !debug)
 [test_browserElement_oop_AppWindowNamespace.html]
+skip-if = (toolkit == 'gonk' && !debug)
 [test_browserElement_oop_Auth.html]
+skip-if = (toolkit == 'gonk' && !debug)
 [test_browserElement_oop_BackForward.html]
 [test_browserElement_oop_BadScreenshot.html]
 [test_browserElement_oop_BrowserWindowNamespace.html]
+skip-if = (toolkit == 'gonk' && !debug)
 [test_browserElement_oop_BrowserWindowResize.html]
 [test_browserElement_oop_Close.html]
 [test_browserElement_oop_CookiesNotThirdParty.html]
 [test_browserElement_oop_DOMRequestError.html]
 [test_browserElement_oop_DataURI.html]
 [test_browserElement_oop_DocumentFirstPaint.html]
 [test_browserElement_oop_ErrorSecurity.html]
+skip-if = (toolkit == 'gonk' && !debug)
 [test_browserElement_oop_FirstPaint.html]
 [test_browserElement_oop_ForwardName.html]
 [test_browserElement_oop_FrameWrongURI.html]
+skip-if = (toolkit == 'gonk' && !debug)
 [test_browserElement_oop_GetScreenshot.html]
 [test_browserElement_oop_GetScreenshotDppx.html]
 [test_browserElement_oop_Iconchange.html]
 [test_browserElement_oop_LoadEvents.html]
 [test_browserElement_oop_Metachange.html]
 [test_browserElement_oop_OpenMixedProcess.html]
+skip-if = (toolkit == 'gonk' && !debug)
 [test_browserElement_oop_OpenNamed.html]
+skip-if = (toolkit == 'gonk' && !debug)
 [test_browserElement_oop_OpenWindow.html]
+skip-if = (toolkit == 'gonk' && !debug)
 [test_browserElement_oop_OpenWindowDifferentOrigin.html]
+skip-if = (toolkit == 'gonk' && !debug)
 [test_browserElement_oop_OpenWindowInFrame.html]
+skip-if = (toolkit == 'gonk' && !debug)
 [test_browserElement_oop_OpenWindowRejected.html]
+skip-if = (toolkit == 'gonk' && !debug)
 [test_browserElement_oop_Opensearch.html]
 [test_browserElement_oop_PromptCheck.html]
 [test_browserElement_oop_PromptConfirm.html]
 [test_browserElement_oop_PurgeHistory.html]
 [test_browserElement_oop_Reload.html]
 [test_browserElement_oop_ReloadPostRequest.html]
 [test_browserElement_oop_RemoveBrowserElement.html]
 [test_browserElement_oop_ScrollEvent.html]
 [test_browserElement_oop_SecurityChange.html]
-skip-if = toolkit == 'android' #TIMED_OUT, bug 766586
+skip-if = toolkit == 'android' || (toolkit == 'gonk' && !debug) #TIMED_OUT, bug 766586
 [test_browserElement_oop_SendEvent.html]
 [test_browserElement_oop_SetInputMethodActive.html]
 [test_browserElement_oop_SetVisible.html]
 [test_browserElement_oop_SetVisibleFrames.html]
 [test_browserElement_oop_SetVisibleFrames2.html]
 [test_browserElement_oop_Stop.html]
 [test_browserElement_oop_TargetBlank.html]
+skip-if = (toolkit == 'gonk' && !debug)
 [test_browserElement_oop_TargetTop.html]
 [test_browserElement_oop_Titlechange.html]
 [test_browserElement_oop_TopBarrier.html]
 [test_browserElement_oop_VisibilityChange.html]
 [test_browserElement_oop_XFrameOptions.html]
 [test_browserElement_oop_XFrameOptionsAllowFrom.html]
 [test_browserElement_oop_XFrameOptionsDeny.html]
 [test_browserElement_oop_XFrameOptionsSameOrigin.html]
--- a/dom/browser-element/mochitest/mochitest.ini
+++ b/dom/browser-element/mochitest/mochitest.ini
@@ -1,9 +1,10 @@
 [DEFAULT]
+skip-if = (buildapp == 'b2g' && (toolkit != 'gonk' || debug))
 support-files =
   ../../../browser/base/content/test/general/audio.ogg
   ../../../content/media/test/short-video.ogv
   browserElementTestHelpers.js
   browserElement_Alert.js
   browserElement_AlertInFrame.js
   browserElement_AppFramePermission.js
   browserElement_AppWindowNamespace.js
--- a/dom/browser-element/mochitest/priority/mochitest.ini
+++ b/dom/browser-element/mochitest/priority/mochitest.ini
@@ -1,11 +1,11 @@
 [DEFAULT]
 # Good luck running these tests on anything but desktop Linux.
-skip-if = toolkit != "gtk2"
+skip-if = toolkit != "gtk2" || (buildapp == 'b2g' && (toolkit != 'gonk' || debug))
 
 # Note: ../browserElementTestHelpers.js makes all tests in this directory OOP,
 # because testing the process-priority manager without OOP frames does not make
 # much sense.
 
 [test_Simple.html]
 [test_Visibility.html]
 [test_HighPriority.html]
--- a/dom/datastore/tests/mochitest.ini
+++ b/dom/datastore/tests/mochitest.ini
@@ -1,9 +1,10 @@
 [DEFAULT]
+skip-if = toolkit=='gonk' #b2g(bug 974270, frequent failures) b2g-debug(bug 974270, frequent failures)
 support-files =
   file_app_install.html
   file_readonly.html
   file_basic.html
   file_changes.html
   file_changes2.html
   file_app.sjs
   file_app.template.webapp
--- a/dom/imptests/editing/mochitest.ini
+++ b/dom/imptests/editing/mochitest.ini
@@ -5,22 +5,24 @@ support-files =
   css/reset.css
   implementation.js
   selecttest/common.js
   selecttest/test-iframe.html
   tests.js
 
 [conformancetest/test_event.html]
 [conformancetest/test_runtest.html]
-skip-if = toolkit == 'android'
+skip-if = (toolkit == 'android') || (buildapp == 'b2g') #b2g(takes too long) b2g-debug(takes too long) b2g-desktop(takes too long) 
 [selecttest/test_Document-open.html]
 [selecttest/test_addRange.html]
-skip-if = toolkit == 'android' #bug 775227
+skip-if = (toolkit == 'android') || (buildapp == 'b2g') #android(bug 775227) b2g(oom?, bug 775227) b2g-debug(oom?, bug 775227) b2g-desktop(oom?, bug 775227)
 [selecttest/test_collapse.html]
 [selecttest/test_collapseToStartEnd.html]
 [selecttest/test_deleteFromDocument.html]
 [selecttest/test_extend.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure; time out)
 [selecttest/test_getRangeAt.html]
 [selecttest/test_getSelection.html]
 [selecttest/test_interfaces.html]
 [selecttest/test_isCollapsed.html]
 [selecttest/test_removeAllRanges.html]
 [selecttest/test_selectAllChildren.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
--- a/dom/imptests/html/mochitest.ini
+++ b/dom/imptests/html/mochitest.ini
@@ -52,233 +52,436 @@ support-files =
   dom/nodes/encoding.php
   dom/nodes/productions.js
   dom/ranges/Range-test-iframe.html
   dom/traversal/unfinished/TODO
   js/builtins/Math.maxmin.js
   webgl/common.js
 
 [dom/collections/test_HTMLCollection-empty-name.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/errors/test_DOMException-constants.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/errors/test_exceptions.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/events/test_Event-constants.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/events/test_Event-constructors.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/events/test_Event-defaultPrevented.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/events/test_Event-initEvent.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/events/test_Event-propagation.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/events/test_Event-type.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/events/test_EventTarget-addEventListener.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/events/test_EventTarget-dispatchEvent.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/events/test_EventTarget-removeEventListener.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/events/test_ProgressEvent.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/lists/test_DOMTokenList-stringifier.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_CharacterData-appendData.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_CharacterData-deleteData.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_CharacterData-insertData.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_CharacterData-remove.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_CharacterData-replaceData.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Comment-constructor.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_DOMImplementation-createDocument.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_DOMImplementation-createDocumentType.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_DOMImplementation-createHTMLDocument.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_DOMImplementation-hasFeature.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Document-adoptNode.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Document-createComment.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Document-createElement-namespace.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Document-createElement.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Document-createElementNS.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Document-createEvent.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Document-createProcessingInstruction-literal-1.xhtml]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Document-createProcessingInstruction-literal-2.xhtml]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Document-createProcessingInstruction.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Document-createProcessingInstruction.xhtml]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Document-createTreeWalker.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Document-getElementById.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Document-getElementsByTagName.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Document-getElementsByTagNameNS.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Document-importNode.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_DocumentType-remove.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Element-children.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Element-getElementsByClassName.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Element-remove.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Element-removeAttributeNS.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Element-tagName.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Node-appendChild.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Node-cloneNode.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Node-compareDocumentPosition.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Node-constants.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Node-contains.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Node-contains.xml]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Node-insertBefore.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Node-isEqualNode.xhtml]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Node-lookupPrefix.xhtml]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Node-nodeName.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Node-nodeName.xhtml]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Node-normalize.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Node-parentElement.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Node-parentNode.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Node-properties.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Node-removeChild.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_Node-replaceChild.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_attributes.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_case.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_getElementsByClassName-01.htm]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_getElementsByClassName-02.htm]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_getElementsByClassName-03.htm]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_getElementsByClassName-04.htm]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_getElementsByClassName-05.htm]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_getElementsByClassName-06.htm]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_getElementsByClassName-07.htm]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_getElementsByClassName-08.htm]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_getElementsByClassName-09.htm]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_getElementsByClassName-10.xml]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_getElementsByClassName-11.xml]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_getElementsByClassName-12.htm]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_getElementsByClassName-13.htm]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_getElementsByClassName-14.htm]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_getElementsByClassName-15.htm]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_getElementsByClassName-16.htm]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_getElementsByClassName-17.htm]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/nodes/test_getElementsByClassName-18.htm]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/ranges/test_Range-attributes.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/ranges/test_Range-cloneContents.html]
+skip-if = buildapp == 'b2g'
 [dom/ranges/test_Range-cloneRange.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/ranges/test_Range-collapse.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/ranges/test_Range-commonAncestorContainer-2.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/ranges/test_Range-commonAncestorContainer.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/ranges/test_Range-compareBoundaryPoints.html]
+skip-if = buildapp == 'b2g' #b2g(times out, bug 862196) b2g-debug(times out, bug 862196) b2g-desktop(times out, bug 862196)
 [dom/ranges/test_Range-comparePoint-2.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/ranges/test_Range-comparePoint.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/ranges/test_Range-deleteContents.html]
+skip-if = buildapp == 'b2g'
 [dom/ranges/test_Range-detach.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/ranges/test_Range-extractContents.html]
+skip-if = buildapp == 'b2g'
 [dom/ranges/test_Range-insertNode.html]
+skip-if = buildapp == 'b2g' #b2g(oom?, bug 775227) b2g-debug(oom?, bug 775227) b2g-desktop(oom?, bug 775227)
 [dom/ranges/test_Range-intersectsNode-binding.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/ranges/test_Range-intersectsNode.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/ranges/test_Range-isPointInRange.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/ranges/test_Range-mutations.html]
+skip-if = buildapp == 'b2g' #Test timed out.
 [dom/ranges/test_Range-selectNode.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/ranges/test_Range-set.html]
+skip-if = buildapp == 'b2g'
 [dom/ranges/test_Range-surroundContents.html]
+skip-if = buildapp == 'b2g'
 [dom/test_historical.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/test_interface-objects.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/test_interfaces.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [dom/traversal/test_NodeFilter-constants.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [domxpath/test_evaluator-constructor.html]
 [html/browsers/browsing-the-web/read-media/test_pageload-image.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/browsers/browsing-the-web/read-media/test_pageload-video.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/browsers/the-window-object/named-access-on-the-window-object/test_window-null-names.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/browsers/the-window-object/test_window-indexed-properties-strict.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/browsers/the-window-object/test_window-indexed-properties.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/browsers/the-window-object/test_window-named-properties.html]
-skip-if = true # bug 859075
+skip-if = true || (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure) bug 859075
 [html/browsers/the-window-object/test_window-properties.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/browsers/the-window-object/test_window-prototype-chain.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/doc.gEBN/test_document.getElementsByName-case.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/doc.gEBN/test_document.getElementsByName-case.xhtml]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/doc.gEBN/test_document.getElementsByName-id.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/doc.gEBN/test_document.getElementsByName-id.xhtml]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/doc.gEBN/test_document.getElementsByName-namespace.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/doc.gEBN/test_document.getElementsByName-namespace.xhtml]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/doc.gEBN/test_document.getElementsByName-newelements.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/doc.gEBN/test_document.getElementsByName-newelements.xhtml]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/doc.gEBN/test_document.getElementsByName-null-undef.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/doc.gEBN/test_document.getElementsByName-null-undef.xhtml]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/doc.gEBN/test_document.getElementsByName-param.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/doc.gEBN/test_document.getElementsByName-param.xhtml]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/doc.gEBN/test_document.getElementsByName-same.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/test_Document.getElementsByClassName-null-undef.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/test_Element.getElementsByClassName-null-undef.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/test_document.body-getter.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/test_document.body-setter-01.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/test_document.embeds-document.plugins-01.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/test_document.getElementsByClassName-same.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/test_document.head-01.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/test_document.head-02.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/test_document.images.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/test_document.title-01.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/test_document.title-02.xhtml]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/test_document.title-03.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/test_document.title-04.xhtml]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/test_document.title-05.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/test_document.title-06.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/test_document.title-07.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/test_nameditem-01.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/test_nameditem-02.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/test_nameditem-03.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/test_nameditem-04.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/test_nameditem-05.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/documents/dta/test_nameditem-06.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/elements/global-attributes/test_classlist-nonstring.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/elements/global-attributes/test_dataset-delete.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/elements/global-attributes/test_dataset-enumeration.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/elements/global-attributes/test_dataset-get.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/elements/global-attributes/test_dataset-prototype.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/elements/global-attributes/test_dataset-set.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/elements/global-attributes/test_dataset.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/elements/global-attributes/test_document-dir.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/elements/global-attributes/test_id-attribute.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/dom/elements/global-attributes/test_id-name.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/obsolete/implreq/oeaaa/test_document-color-01.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/obsolete/implreq/oeaaa/test_document-color-02.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/obsolete/implreq/oeaaa/test_document-color-03.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/obsolete/implreq/oeaaa/test_document-color-04.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/obsolete/implreq/oeaaa/test_heading-obsolete-attributes-01.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/obsolete/implreq/oeaaa/test_script-IDL-event-htmlfor.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/document-metadata/the-title-element/test_title.text-01.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/document-metadata/the-title-element/test_title.text-02.xhtml]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/document-metadata/the-title-element/test_title.text-03.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/document-metadata/the-title-element/test_title.text-04.xhtml]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/forms/the-form-element/test_form-elements-interfaces-01.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/forms/the-form-element/test_form-elements-matches.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/forms/the-form-element/test_form-elements-nameditem-01.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/forms/the-form-element/test_form-elements-nameditem-02.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/forms/the-form-element/test_form-nameditem.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/forms/the-option-element/test_option-text-backslash.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/forms/the-option-element/test_option-text-recurse.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/forms/the-option-element/test_option-text-spaces.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/forms/the-select-element/test_select-named-getter.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/forms/the-select-element/test_select-remove.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/scripting-1/the-script-element/test_script-for-event.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/scripting-1/the-script-element/test_script-for-event.xhtml]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/scripting-1/the-script-element/test_script-for-onload.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/scripting-1/the-script-element/test_script-language-type.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/scripting-1/the-script-element/test_script-languages-01.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/scripting-1/the-script-element/test_script-languages-02.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/scripting-1/the-script-element/test_script-noembed-noframes-iframe.xhtml]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/scripting-1/the-script-element/test_script-onload-string.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/scripting-1/the-script-element/test_script-text.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/scripting-1/the-script-element/test_script-text.xhtml]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/tabular-data/the-table-element/test_createTBody.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/tabular-data/the-table-element/test_insertRow-method-01.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/tabular-data/the-table-element/test_insertRow-method-02.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/tabular-data/the-table-element/test_tBodies.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/tabular-data/the-table-element/test_table-insertRow.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/tabular-data/the-table-element/test_table-rows.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/semantics/text-level-semantics/the-time-element/test_001.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/webappapis/atob/test_base64.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/webappapis/scripting/events/test_body-onload.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/webappapis/scripting/events/test_event-handler-javascript.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/webappapis/scripting/events/test_event-handler-spec-example.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/webappapis/scripting/processing-model-2/test_window-onerror-parse-error.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/webappapis/scripting/processing-model-2/test_window-onerror-runtime-error-throw.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/webappapis/scripting/processing-model-2/test_window-onerror-runtime-error.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [html/webappapis/timers/test_evil-spec-example.html]
+skip-if = (toolkit == 'gonk' && debug) #b2g-debug(debug-only failure)
 [js/builtins/test_Array.DefineOwnProperty.html]
 [js/builtins/test_Array.prototype.join-order.html]
 [js/builtins/test_Math.max.html]
 [js/builtins/test_Math.min.html]
 [js/builtins/test_Object.prototype.hasOwnProperty-order.html]
 [js/builtins/test_WeakMap.prototype-properties.html]
 [microdata/microdata-dom-api/test_001.html]
 [typedarrays/test_constructors.html]
 [webgl/test_bufferSubData.html]
-skip-if = toolkit == 'android' #WebGL
+skip-if = (toolkit == 'android') || (buildapp == 'b2g') #android(WebGL)
 [webgl/test_compressedTexImage2D.html]
-skip-if = toolkit == 'android' #WebGL
+skip-if = (toolkit == 'android') || (buildapp == 'b2g') #android(WebGL)
 [webgl/test_compressedTexSubImage2D.html]
-skip-if = toolkit == 'android' #WebGL
+skip-if = (toolkit == 'android') || (buildapp == 'b2g') #android(WebGL)
 [webgl/test_texImage2D.html]
-skip-if = toolkit == 'android' #WebGL
+skip-if = (toolkit == 'android') || (buildapp == 'b2g') #android(WebGL)
 [webgl/test_texSubImage2D.html]
-skip-if = toolkit == 'android' #WebGL
+skip-if = (toolkit == 'android') || (buildapp == 'b2g') #android(WebGL)
 [webgl/test_uniformMatrixNfv.html]
-skip-if = toolkit == 'android' #WebGL
+skip-if = (toolkit == 'android') || (buildapp == 'b2g') #android(WebGL)
--- a/dom/permission/tests/mochitest.ini
+++ b/dom/permission/tests/mochitest.ini
@@ -16,9 +16,9 @@ skip-if = buildapp == 'b2g' || toolkit =
 [test_systemXHR.html]
 [test_tcp-socket.html]
 [test_webapps-manage.html]
 [test_camera.html]
 disabled = disabled until bug 859593 is fixed
 [test_keyboard.html]
 skip-if = buildapp != 'b2g'
 [test_wifi-manage.html]
-skip-if = buildapp != 'b2g'
+skip-if = (buildapp != 'b2g') || (buildapp == 'b2g' && toolkit != 'gonk') #b2g-desktop(Bug 931116, b2g desktop specific, initial triage)
--- a/dom/plugins/test/mochitest/mochitest.ini
+++ b/dom/plugins/test/mochitest/mochitest.ini
@@ -1,9 +1,10 @@
 [DEFAULT]
+skip-if = (buildapp == 'b2g' && toolkit != 'gonk') #b2g-desktop(tests that use plugins)
 support-files =
   307-xo-redirect.sjs
   crashing_subpage.html
   file_bug738396.html
   file_bug771202.html
   file_bug863792.html
   large-pic.jpg
   loremipsum.txt
--- a/layout/xul/test/mochitest.ini
+++ b/layout/xul/test/mochitest.ini
@@ -1,9 +1,10 @@
 [DEFAULT]
+skip-if = buildapp == 'b2g'
 
 [test_bug386386.html]
 [test_bug394800.xhtml]
 [test_bug511075.html]
 skip-if = toolkit == 'android' #bug 798806
 [test_bug563416.html]
 [test_resizer_incontent.xul]
 [test_splitter.xul]
--- a/testing/mochitest/b2g-debug.json
+++ b/testing/mochitest/b2g-debug.json
@@ -4,34 +4,10 @@
     "caps": "",
     "content": "",
     "docshell": "",
     "dom": "",
     "layout": "",
     "toolkit/devtools/apps": ""
   },
 "excludetests": {
-    "dom/imptests/html/webgl": "",
-    "dom/imptests/editing/selecttest/test_addRange.html": "oom?, bug 775227",
-    "dom/imptests/html/html/": "debug-only failure",
-    "dom/imptests/html/dom/": "debug-only failure",
-    "content/media/webaudio": "bug 916135",
-    "dom/imptests/html/dom/ranges/test_Range-deleteContents.html": "",
-    "dom/imptests/editing/selecttest/test_selectAllChildren.html": "debug-only failure",
-    "content/base/test/test_copypaste.xul": "bug 904183",
-    "dom/imptests/html/dom/ranges/test_Range-extractContents.html": "",
-    "content/xul": "tests that use xul",
-    "layout/xul": "",
-    "dom/imptests/html/dom/ranges/test_Range-mutations.html": "Test timed out.",
-    "dom/apps": "bug 972927, nearly perma-fail",
-    "dom/datastore": "bug 974270, frequent failures",
-    "dom/imptests/editing/conformancetest/test_runtest.html": "takes too long",
-    "content/base/test/test_messagemanager_assertpermission.html": "specialpowers.wrap issue, NS_ERROR_XPC_GS_RETURNED_FAILURE",
-    "dom/imptests/html/dom/ranges/test_Range-set.html": "",
-    "dom/imptests/editing/selecttest/test_extend.html": "debug-only failure; time out",
-    "dom/imptests/html/dom/ranges/test_Range-cloneContents.html": "",
-    "dom/imptests/html/dom/ranges/test_Range-compareBoundaryPoints.html": "times out, bug 862196",
-    "dom/imptests/html/dom/ranges/test_Range-insertNode.html": "oom?, bug 775227",
-    "dom/browser-element/": "",
-    "content/base/test/test_child_process_shutdown_message.html": "specialpowers.wrap issue, NS_ERROR_XPC_GS_RETURNED_FAILURE",
-    "dom/imptests/html/dom/ranges/test_Range-surroundContents.html": ""
   }
 }
--- a/testing/mochitest/b2g-desktop.json
+++ b/testing/mochitest/b2g-desktop.json
@@ -4,31 +4,10 @@
     "caps": "",
     "content": "",
     "docshell": "",
     "dom": "",
     "layout": "",
     "toolkit/devtools/apps": ""
   },
 "excludetests": {
-    "dom/imptests/html/webgl": "",
-    "dom/imptests/editing/selecttest/test_addRange.html": "oom?, bug 775227",
-    "content/base/test/test_copyimage.html": "Bug 931116, b2g desktop specific, initial triage",
-    "dom/imptests/html/dom/ranges/test_Range-deleteContents.html": "",
-    "content/base/test/test_copypaste.xul": "bug 904183",
-    "dom/imptests/html/dom/ranges/test_Range-extractContents.html": "",
-    "content/xul": "tests that use xul",
-    "layout/xul": "",
-    "dom/imptests/html/dom/ranges/test_Range-mutations.html": "Test timed out.",
-    "dom/permission/tests/test_wifi-manage.html": "Bug 931116, b2g desktop specific, initial triage",
-    "content/media/webaudio": "bug 916135",
-    "dom/imptests/editing/conformancetest/test_runtest.html": "takes too long",
-    "content/base/test/test_messagemanager_assertpermission.html": "specialpowers.wrap issue, NS_ERROR_XPC_GS_RETURNED_FAILURE",
-    "dom/imptests/html/dom/ranges/test_Range-set.html": "",
-    "dom/imptests/html/dom/ranges/test_Range-cloneContents.html": "",
-    "dom/imptests/html/dom/ranges/test_Range-compareBoundaryPoints.html": "times out, bug 862196",
-    "dom/imptests/html/dom/ranges/test_Range-insertNode.html": "oom?, bug 775227",
-    "dom/plugins": "tests that use plugins",
-    "dom/browser-element/": "",
-    "content/base/test/test_child_process_shutdown_message.html": "specialpowers.wrap issue, NS_ERROR_XPC_GS_RETURNED_FAILURE",
-    "dom/imptests/html/dom/ranges/test_Range-surroundContents.html": ""
   }
 }
--- a/testing/mochitest/b2g.json
+++ b/testing/mochitest/b2g.json
@@ -4,48 +4,10 @@
     "caps": "",
     "content": "",
     "docshell": "",
     "dom": "",
     "layout": "",
     "toolkit/devtools/apps": ""
   },
 "excludetests": {
-    "dom/browser-element/mochitest/test_browserElement_oop_FrameWrongURI.html": "",
-    "dom/imptests/html/webgl": "",
-    "dom/browser-element/mochitest/test_browserElement_oop_TargetBlank.html": "",
-    "dom/imptests/editing/selecttest/test_addRange.html": "oom?, bug 775227",
-    "content/media/test/test_media_selection.html": "timed out",
-    "dom/browser-element/mochitest/test_browserElement_oop_OpenWindowRejected.html": "",
-    "dom/browser-element/mochitest/test_browserElement_oop_OpenWindowDifferentOrigin.html": "",
-    "dom/imptests/html/dom/ranges/test_Range-deleteContents.html": "",
-    "dom/browser-element/mochitest/test_browserElement_oop_SecurityChange.html": "",
-    "dom/browser-element/mochitest/test_browserElement_oop_OpenMixedProcess.html": "",
-    "content/base/test/test_copypaste.xul": "bug 904183",
-    "dom/imptests/html/dom/ranges/test_Range-extractContents.html": "",
-    "content/xul": "tests that use xul",
-    "dom/browser-element/mochitest/test_browserElement_inproc_OpenMixedProcess.html": "",
-    "layout/xul": "",
-    "dom/imptests/html/dom/ranges/test_Range-mutations.html": "Test timed out.",
-    "content/media/test/test_seek.html": "",
-    "dom/browser-element/mochitest/test_browserElement_oop_BrowserWindowNamespace.html": "",
-    "dom/browser-element/mochitest/test_browserElement_oop_OpenWindow.html": "",
-    "dom/apps": "bug 972927, nearly perma-fail",
-    "dom/datastore": "bug 974270, frequent failures",
-    "dom/imptests/editing/conformancetest/test_runtest.html": "takes too long",
-    "content/media/test/test_buffered.html": "assertion failures",
-    "content/media/test/test_bug493187.html": "",
-    "content/base/test/test_messagemanager_assertpermission.html": "specialpowers.wrap issue, NS_ERROR_XPC_GS_RETURNED_FAILURE",
-    "content/media/test/test_bug465498.html": "",
-    "dom/imptests/html/dom/ranges/test_Range-set.html": "",
-    "dom/browser-element/mochitest/test_browserElement_oop_AppWindowNamespace.html": "",
-    "dom/browser-element/mochitest/test_browserElement_oop_AppFramePermission.html": "",
-    "dom/browser-element/mochitest/test_browserElement_oop_ErrorSecurity.html": "",
-    "dom/imptests/html/dom/ranges/test_Range-cloneContents.html": "",
-    "dom/imptests/html/dom/ranges/test_Range-compareBoundaryPoints.html": "times out, bug 862196",
-    "dom/imptests/html/dom/ranges/test_Range-insertNode.html": "oom?, bug 775227",
-    "dom/browser-element/mochitest/test_browserElement_oop_OpenWindowInFrame.html": "",
-    "dom/browser-element/mochitest/test_browserElement_oop_OpenNamed.html": "",
-    "dom/browser-element/mochitest/test_browserElement_oop_Auth.html": "",
-    "content/base/test/test_child_process_shutdown_message.html": "specialpowers.wrap issue, NS_ERROR_XPC_GS_RETURNED_FAILURE",
-    "dom/imptests/html/dom/ranges/test_Range-surroundContents.html": ""
   }
 }