From 42e48167713abfa3c1f11274179b489bb6369b57 Mon Sep 17 00:00:00 2001 From: athenian200 Date: Thu, 16 Jan 2020 14:07:04 -0600 Subject: Issue #1356 - Remove -moz-user-input disabled to improve event handling. --- devtools/client/themes/webconsole.css | 1 - devtools/shared/css/generated/properties-db.js | 2 -- 2 files changed, 3 deletions(-) (limited to 'devtools') diff --git a/devtools/client/themes/webconsole.css b/devtools/client/themes/webconsole.css index 89bb38628..85c73264c 100644 --- a/devtools/client/themes/webconsole.css +++ b/devtools/client/themes/webconsole.css @@ -14,7 +14,6 @@ a { -moz-user-focus: normal; - -moz-user-input: enabled; cursor: pointer; text-decoration: underline; } diff --git a/devtools/shared/css/generated/properties-db.js b/devtools/shared/css/generated/properties-db.js index 25d9e2d33..eda2c7148 100644 --- a/devtools/shared/css/generated/properties-db.js +++ b/devtools/shared/css/generated/properties-db.js @@ -1440,8 +1440,6 @@ exports.CSS_PROPERTIES = { "supports": [], "values": [ "auto", - "disabled", - "enabled", "inherit", "initial", "none", -- cgit v1.2.3 From 4e2e9be6abed3225406b466099e397acc0f914d2 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sat, 22 Feb 2020 17:32:39 -0500 Subject: Reclassify heapsnapshot and nsJSInspector as not part of devtools This resolves Issue #316 --- devtools/moz.build | 16 +- devtools/shared/heapsnapshot/.gitattributes | 1 - devtools/shared/heapsnapshot/AutoMemMap.cpp | 64 - devtools/shared/heapsnapshot/AutoMemMap.h | 75 - devtools/shared/heapsnapshot/CensusUtils.js | 489 ---- devtools/shared/heapsnapshot/CoreDump.pb.cc | 2542 -------------------- devtools/shared/heapsnapshot/CoreDump.pb.h | 1893 --------------- devtools/shared/heapsnapshot/CoreDump.proto | 143 -- devtools/shared/heapsnapshot/DeserializedNode.cpp | 150 -- devtools/shared/heapsnapshot/DeserializedNode.h | 317 --- devtools/shared/heapsnapshot/DominatorTree.cpp | 140 -- devtools/shared/heapsnapshot/DominatorTree.h | 67 - devtools/shared/heapsnapshot/DominatorTreeNode.js | 336 --- .../heapsnapshot/FileDescriptorOutputStream.cpp | 86 - .../heapsnapshot/FileDescriptorOutputStream.h | 41 - devtools/shared/heapsnapshot/HeapAnalysesClient.js | 277 --- devtools/shared/heapsnapshot/HeapAnalysesWorker.js | 303 --- devtools/shared/heapsnapshot/HeapSnapshot.cpp | 1619 ------------- devtools/shared/heapsnapshot/HeapSnapshot.h | 224 -- .../shared/heapsnapshot/HeapSnapshotFileUtils.js | 95 - .../heapsnapshot/HeapSnapshotTempFileHelperChild.h | 32 - .../HeapSnapshotTempFileHelperParent.cpp | 53 - .../HeapSnapshotTempFileHelperParent.h | 35 - .../heapsnapshot/PHeapSnapshotTempFileHelper.ipdl | 35 - .../heapsnapshot/ZeroCopyNSIOutputStream.cpp | 100 - .../shared/heapsnapshot/ZeroCopyNSIOutputStream.h | 70 - devtools/shared/heapsnapshot/census-tree-node.js | 748 ------ .../heapsnapshot/generate-core-dump-sources.sh | 26 - devtools/shared/heapsnapshot/moz.build | 63 - devtools/shared/heapsnapshot/shortest-paths.js | 91 - .../tests/gtest/DeserializedNodeUbiNodes.cpp | 100 - .../gtest/DeserializedStackFrameUbiStackFrames.cpp | 91 - .../shared/heapsnapshot/tests/gtest/DevTools.h | 276 --- .../tests/gtest/DoesCrossCompartmentBoundaries.cpp | 73 - .../gtest/DoesntCrossCompartmentBoundaries.cpp | 64 - .../tests/gtest/SerializesEdgeNames.cpp | 53 - .../gtest/SerializesEverythingInHeapGraphOnce.cpp | 37 - .../tests/gtest/SerializesTypeNames.cpp | 30 - devtools/shared/heapsnapshot/tests/gtest/moz.build | 31 - .../shared/heapsnapshot/tests/mochitest/chrome.ini | 8 - .../heapsnapshot/tests/mochitest/mochitest.ini | 6 - .../tests/mochitest/test_DominatorTree_01.html | 37 - .../tests/mochitest/test_SaveHeapSnapshot.html | 25 - .../mochitest/test_saveHeapSnapshot_e10s_01.html | 82 - .../shared/heapsnapshot/tests/unit/.eslintrc.js | 6 - devtools/shared/heapsnapshot/tests/unit/Census.jsm | 165 -- devtools/shared/heapsnapshot/tests/unit/Match.jsm | 190 -- .../tests/unit/dominator-tree-worker.js | 47 - .../heapsnapshot/tests/unit/head_heapsnapshot.js | 448 ---- .../tests/unit/heap-snapshot-worker.js | 46 - ...est_DominatorTreeNode_LabelAndShallowSize_01.js | 46 - ...est_DominatorTreeNode_LabelAndShallowSize_02.js | 45 - ...est_DominatorTreeNode_LabelAndShallowSize_03.js | 47 - ...est_DominatorTreeNode_LabelAndShallowSize_04.js | 53 - ...est_DominatorTreeNode_attachShortestPaths_01.js | 132 - ...st_DominatorTreeNode_getNodeByIdAlongPath_01.js | 44 - .../tests/unit/test_DominatorTreeNode_insert_01.js | 112 - .../tests/unit/test_DominatorTreeNode_insert_02.js | 30 - .../tests/unit/test_DominatorTreeNode_insert_03.js | 117 - .../test_DominatorTreeNode_partialTraversal_01.js | 164 -- .../tests/unit/test_DominatorTree_01.js | 23 - .../tests/unit/test_DominatorTree_02.js | 40 - .../tests/unit/test_DominatorTree_03.js | 13 - .../tests/unit/test_DominatorTree_04.js | 22 - .../tests/unit/test_DominatorTree_05.js | 75 - .../tests/unit/test_DominatorTree_06.js | 56 - .../test_HeapAnalyses_computeDominatorTree_01.js | 22 - .../test_HeapAnalyses_computeDominatorTree_02.js | 23 - .../test_HeapAnalyses_deleteHeapSnapshot_01.js | 59 - .../test_HeapAnalyses_deleteHeapSnapshot_02.js | 22 - .../test_HeapAnalyses_deleteHeapSnapshot_03.js | 62 - .../test_HeapAnalyses_getCensusIndividuals_01.js | 89 - .../unit/test_HeapAnalyses_getCreationTime_01.js | 58 - .../unit/test_HeapAnalyses_getDominatorTree_01.js | 69 - .../unit/test_HeapAnalyses_getDominatorTree_02.js | 31 - ...test_HeapAnalyses_getImmediatelyDominated_01.js | 81 - .../unit/test_HeapAnalyses_readHeapSnapshot_01.js | 18 - .../unit/test_HeapAnalyses_takeCensusDiff_01.js | 54 - .../unit/test_HeapAnalyses_takeCensusDiff_02.js | 59 - .../tests/unit/test_HeapAnalyses_takeCensus_01.js | 27 - .../tests/unit/test_HeapAnalyses_takeCensus_02.js | 29 - .../tests/unit/test_HeapAnalyses_takeCensus_03.js | 48 - .../tests/unit/test_HeapAnalyses_takeCensus_04.js | 118 - .../tests/unit/test_HeapAnalyses_takeCensus_05.js | 44 - .../tests/unit/test_HeapAnalyses_takeCensus_06.js | 109 - .../tests/unit/test_HeapAnalyses_takeCensus_07.js | 52 - .../test_HeapSnapshot_computeShortestPaths_01.js | 69 - .../test_HeapSnapshot_computeShortestPaths_02.js | 47 - .../unit/test_HeapSnapshot_creationTime_01.js | 30 - .../tests/unit/test_HeapSnapshot_deepStack_01.js | 70 - .../unit/test_HeapSnapshot_describeNode_01.js | 42 - .../tests/unit/test_HeapSnapshot_takeCensus_01.js | 31 - .../tests/unit/test_HeapSnapshot_takeCensus_02.js | 57 - .../tests/unit/test_HeapSnapshot_takeCensus_03.js | 34 - .../tests/unit/test_HeapSnapshot_takeCensus_04.js | 36 - .../tests/unit/test_HeapSnapshot_takeCensus_05.js | 24 - .../tests/unit/test_HeapSnapshot_takeCensus_06.js | 125 - .../tests/unit/test_HeapSnapshot_takeCensus_07.js | 82 - .../tests/unit/test_HeapSnapshot_takeCensus_08.js | 82 - .../tests/unit/test_HeapSnapshot_takeCensus_09.js | 92 - .../tests/unit/test_HeapSnapshot_takeCensus_10.js | 68 - .../tests/unit/test_HeapSnapshot_takeCensus_11.js | 116 - .../tests/unit/test_HeapSnapshot_takeCensus_12.js | 50 - .../tests/unit/test_ReadHeapSnapshot.js | 20 - .../unit/test_ReadHeapSnapshot_with_allocations.js | 36 - .../tests/unit/test_ReadHeapSnapshot_worker.js | 40 - .../tests/unit/test_SaveHeapSnapshot.js | 82 - .../tests/unit/test_census-tree-node-01.js | 76 - .../tests/unit/test_census-tree-node-02.js | 136 -- .../tests/unit/test_census-tree-node-03.js | 96 - .../tests/unit/test_census-tree-node-04.js | 159 -- .../tests/unit/test_census-tree-node-05.js | 145 -- .../tests/unit/test_census-tree-node-06.js | 200 -- .../tests/unit/test_census-tree-node-07.js | 200 -- .../tests/unit/test_census-tree-node-08.js | 142 -- .../tests/unit/test_census-tree-node-09.js | 44 - .../tests/unit/test_census-tree-node-10.js | 43 - .../heapsnapshot/tests/unit/test_census_diff_01.js | 74 - .../heapsnapshot/tests/unit/test_census_diff_02.js | 25 - .../heapsnapshot/tests/unit/test_census_diff_03.js | 73 - .../heapsnapshot/tests/unit/test_census_diff_04.js | 63 - .../heapsnapshot/tests/unit/test_census_diff_05.js | 34 - .../heapsnapshot/tests/unit/test_census_diff_06.js | 137 -- .../tests/unit/test_census_filtering_01.js | 105 - .../tests/unit/test_census_filtering_02.js | 124 - .../tests/unit/test_census_filtering_03.js | 59 - .../tests/unit/test_census_filtering_04.js | 102 - .../tests/unit/test_census_filtering_05.js | 71 - .../tests/unit/test_countToBucketBreakdown_01.js | 37 - .../tests/unit/test_deduplicatePaths_01.js | 113 - .../tests/unit/test_getCensusIndividuals_01.js | 60 - .../tests/unit/test_getReportLeaves_01.js | 114 - .../tests/unit/test_saveHeapSnapshot_e10s_01.js | 8 - .../shared/heapsnapshot/tests/unit/xpcshell.ini | 98 - devtools/shared/jsinspector/moz.build | 17 - devtools/shared/jsinspector/nsIJSInspector.idl | 75 - devtools/shared/jsinspector/nsJSInspector.cpp | 146 -- devtools/shared/jsinspector/nsJSInspector.h | 39 - devtools/shared/moz.build | 2 - 139 files changed, 5 insertions(+), 18084 deletions(-) delete mode 100644 devtools/shared/heapsnapshot/.gitattributes delete mode 100644 devtools/shared/heapsnapshot/AutoMemMap.cpp delete mode 100644 devtools/shared/heapsnapshot/AutoMemMap.h delete mode 100644 devtools/shared/heapsnapshot/CensusUtils.js delete mode 100644 devtools/shared/heapsnapshot/CoreDump.pb.cc delete mode 100644 devtools/shared/heapsnapshot/CoreDump.pb.h delete mode 100644 devtools/shared/heapsnapshot/CoreDump.proto delete mode 100644 devtools/shared/heapsnapshot/DeserializedNode.cpp delete mode 100644 devtools/shared/heapsnapshot/DeserializedNode.h delete mode 100644 devtools/shared/heapsnapshot/DominatorTree.cpp delete mode 100644 devtools/shared/heapsnapshot/DominatorTree.h delete mode 100644 devtools/shared/heapsnapshot/DominatorTreeNode.js delete mode 100644 devtools/shared/heapsnapshot/FileDescriptorOutputStream.cpp delete mode 100644 devtools/shared/heapsnapshot/FileDescriptorOutputStream.h delete mode 100644 devtools/shared/heapsnapshot/HeapAnalysesClient.js delete mode 100644 devtools/shared/heapsnapshot/HeapAnalysesWorker.js delete mode 100644 devtools/shared/heapsnapshot/HeapSnapshot.cpp delete mode 100644 devtools/shared/heapsnapshot/HeapSnapshot.h delete mode 100644 devtools/shared/heapsnapshot/HeapSnapshotFileUtils.js delete mode 100644 devtools/shared/heapsnapshot/HeapSnapshotTempFileHelperChild.h delete mode 100644 devtools/shared/heapsnapshot/HeapSnapshotTempFileHelperParent.cpp delete mode 100644 devtools/shared/heapsnapshot/HeapSnapshotTempFileHelperParent.h delete mode 100644 devtools/shared/heapsnapshot/PHeapSnapshotTempFileHelper.ipdl delete mode 100644 devtools/shared/heapsnapshot/ZeroCopyNSIOutputStream.cpp delete mode 100644 devtools/shared/heapsnapshot/ZeroCopyNSIOutputStream.h delete mode 100644 devtools/shared/heapsnapshot/census-tree-node.js delete mode 100755 devtools/shared/heapsnapshot/generate-core-dump-sources.sh delete mode 100644 devtools/shared/heapsnapshot/moz.build delete mode 100644 devtools/shared/heapsnapshot/shortest-paths.js delete mode 100644 devtools/shared/heapsnapshot/tests/gtest/DeserializedNodeUbiNodes.cpp delete mode 100644 devtools/shared/heapsnapshot/tests/gtest/DeserializedStackFrameUbiStackFrames.cpp delete mode 100644 devtools/shared/heapsnapshot/tests/gtest/DevTools.h delete mode 100644 devtools/shared/heapsnapshot/tests/gtest/DoesCrossCompartmentBoundaries.cpp delete mode 100644 devtools/shared/heapsnapshot/tests/gtest/DoesntCrossCompartmentBoundaries.cpp delete mode 100644 devtools/shared/heapsnapshot/tests/gtest/SerializesEdgeNames.cpp delete mode 100644 devtools/shared/heapsnapshot/tests/gtest/SerializesEverythingInHeapGraphOnce.cpp delete mode 100644 devtools/shared/heapsnapshot/tests/gtest/SerializesTypeNames.cpp delete mode 100644 devtools/shared/heapsnapshot/tests/gtest/moz.build delete mode 100644 devtools/shared/heapsnapshot/tests/mochitest/chrome.ini delete mode 100644 devtools/shared/heapsnapshot/tests/mochitest/mochitest.ini delete mode 100644 devtools/shared/heapsnapshot/tests/mochitest/test_DominatorTree_01.html delete mode 100644 devtools/shared/heapsnapshot/tests/mochitest/test_SaveHeapSnapshot.html delete mode 100644 devtools/shared/heapsnapshot/tests/mochitest/test_saveHeapSnapshot_e10s_01.html delete mode 100644 devtools/shared/heapsnapshot/tests/unit/.eslintrc.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/Census.jsm delete mode 100644 devtools/shared/heapsnapshot/tests/unit/Match.jsm delete mode 100644 devtools/shared/heapsnapshot/tests/unit/dominator-tree-worker.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/head_heapsnapshot.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/heap-snapshot-worker.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_LabelAndShallowSize_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_LabelAndShallowSize_02.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_LabelAndShallowSize_03.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_LabelAndShallowSize_04.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_attachShortestPaths_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_getNodeByIdAlongPath_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_insert_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_insert_02.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_insert_03.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_partialTraversal_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_DominatorTree_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_DominatorTree_02.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_DominatorTree_03.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_DominatorTree_04.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_DominatorTree_05.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_DominatorTree_06.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_computeDominatorTree_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_computeDominatorTree_02.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_deleteHeapSnapshot_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_deleteHeapSnapshot_02.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_deleteHeapSnapshot_03.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_getCensusIndividuals_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_getCreationTime_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_getDominatorTree_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_getDominatorTree_02.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_getImmediatelyDominated_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_readHeapSnapshot_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensusDiff_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensusDiff_02.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_02.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_03.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_04.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_05.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_06.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_07.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_computeShortestPaths_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_computeShortestPaths_02.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_creationTime_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_deepStack_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_describeNode_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_02.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_03.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_04.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_05.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_06.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_07.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_08.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_09.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_10.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_11.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_12.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_ReadHeapSnapshot.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_ReadHeapSnapshot_with_allocations.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_ReadHeapSnapshot_worker.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_SaveHeapSnapshot.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-02.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-03.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-04.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-05.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-06.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-07.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-08.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-09.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-10.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_census_diff_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_census_diff_02.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_census_diff_03.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_census_diff_04.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_census_diff_05.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_census_diff_06.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_census_filtering_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_census_filtering_02.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_census_filtering_03.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_census_filtering_04.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_census_filtering_05.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_countToBucketBreakdown_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_deduplicatePaths_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_getCensusIndividuals_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_getReportLeaves_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/test_saveHeapSnapshot_e10s_01.js delete mode 100644 devtools/shared/heapsnapshot/tests/unit/xpcshell.ini delete mode 100644 devtools/shared/jsinspector/moz.build delete mode 100644 devtools/shared/jsinspector/nsIJSInspector.idl delete mode 100644 devtools/shared/jsinspector/nsJSInspector.cpp delete mode 100644 devtools/shared/jsinspector/nsJSInspector.h (limited to 'devtools') diff --git a/devtools/moz.build b/devtools/moz.build index e6bcdd00d..e6cb86c37 100644 --- a/devtools/moz.build +++ b/devtools/moz.build @@ -4,20 +4,14 @@ # 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/. +DIRS += [ + 'server', + 'shared', +] + if CONFIG['MOZ_DEVTOOLS']: DIRS += ['client'] -if CONFIG['MOZ_DEVTOOLS_SERVER']: - DIRS += [ - 'server', - 'shared', - ] -else: - DIRS += [ - 'shared/heapsnapshot', - 'shared/jsinspector', - ] - # /browser uses DIST_SUBDIR. We opt-in to this treatment when building # DevTools for the browser to keep the root omni.ja slim for use by external XUL # apps. Mulet also uses this since it includes /browser. diff --git a/devtools/shared/heapsnapshot/.gitattributes b/devtools/shared/heapsnapshot/.gitattributes deleted file mode 100644 index 44e248a8d..000000000 --- a/devtools/shared/heapsnapshot/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -CoreDump.pb.* binary diff --git a/devtools/shared/heapsnapshot/AutoMemMap.cpp b/devtools/shared/heapsnapshot/AutoMemMap.cpp deleted file mode 100644 index e725a99c6..000000000 --- a/devtools/shared/heapsnapshot/AutoMemMap.cpp +++ /dev/null @@ -1,64 +0,0 @@ -/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* vim: set ts=8 sts=2 et sw=2 tw=80: */ -/* 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/. */ - -#include "mozilla/devtools/AutoMemMap.h" - -#include "mozilla/Unused.h" -#include "nsDebug.h" - -namespace mozilla { -namespace devtools { - -AutoMemMap::~AutoMemMap() -{ - if (addr) { - Unused << NS_WARN_IF(PR_MemUnmap(addr, size()) != PR_SUCCESS); - addr = nullptr; - } - - if (fileMap) { - Unused << NS_WARN_IF(PR_CloseFileMap(fileMap) != PR_SUCCESS); - fileMap = nullptr; - } - - if (fd) { - Unused << NS_WARN_IF(PR_Close(fd) != PR_SUCCESS); - fd = nullptr; - } -} - -nsresult -AutoMemMap::init(const char* filePath, int flags, int mode, PRFileMapProtect prot) -{ - MOZ_ASSERT(!fd); - MOZ_ASSERT(!fileMap); - MOZ_ASSERT(!addr); - - if (PR_GetFileInfo64(filePath, &fileInfo) != PR_SUCCESS) - return NS_ERROR_FILE_NOT_FOUND; - - // Check if the file is too big to memmap. - if (fileInfo.size > int64_t(UINT32_MAX)) - return NS_ERROR_INVALID_ARG; - auto length = uint32_t(fileInfo.size); - - fd = PR_Open(filePath, flags, flags); - if (!fd) - return NS_ERROR_UNEXPECTED; - - fileMap = PR_CreateFileMap(fd, fileInfo.size, prot); - if (!fileMap) - return NS_ERROR_UNEXPECTED; - - addr = PR_MemMap(fileMap, 0, length); - if (!addr) - return NS_ERROR_UNEXPECTED; - - return NS_OK; -} - -} // namespace devtools -} // namespace mozilla diff --git a/devtools/shared/heapsnapshot/AutoMemMap.h b/devtools/shared/heapsnapshot/AutoMemMap.h deleted file mode 100644 index 537d68004..000000000 --- a/devtools/shared/heapsnapshot/AutoMemMap.h +++ /dev/null @@ -1,75 +0,0 @@ -/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* vim: set ts=8 sts=2 et sw=2 tw=80: */ -/* 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/. */ - -#ifndef mozilla_devtools_AutoMemMap_h -#define mozilla_devtools_AutoMemMap_h - -#include -#include "mozilla/GuardObjects.h" - -namespace mozilla { -namespace devtools { - -// # AutoMemMap -// -// AutoMemMap is an RAII class to manage mapping a file to memory. It is a -// wrapper aorund managing opening and closing a file and calling PR_MemMap and -// PR_MemUnmap. -// -// Example usage: -// -// { -// AutoMemMap mm; -// if (NS_FAILED(mm.init("/path/to/desired/file"))) { -// // Handle the error however you see fit. -// return false; -// } -// -// doStuffWithMappedMemory(mm.address()); -// } -// // The memory is automatically unmapped when the AutoMemMap leaves scope. -class MOZ_RAII AutoMemMap -{ - MOZ_DECL_USE_GUARD_OBJECT_NOTIFIER; - - PRFileInfo64 fileInfo; - PRFileDesc* fd; - PRFileMap* fileMap; - void* addr; - - AutoMemMap(const AutoMemMap& aOther) = delete; - void operator=(const AutoMemMap& aOther) = delete; - -public: - explicit AutoMemMap(MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM) - : fd(nullptr) - , fileMap(nullptr) - , addr(nullptr) - { - MOZ_GUARD_OBJECT_NOTIFIER_INIT; - }; - ~AutoMemMap(); - - // Initialize this AutoMemMap. - nsresult init(const char* filePath, int flags = PR_RDONLY, int mode = 0, - PRFileMapProtect prot = PR_PROT_READONLY); - - // Get the size of the memory mapped file. - uint32_t size() const { - MOZ_ASSERT(fileInfo.size <= UINT32_MAX, - "Should only call size() if init() succeeded."); - return uint32_t(fileInfo.size); - } - - // Get the mapped memory. - void* address() { MOZ_ASSERT(addr); return addr; } - const void* address() const { MOZ_ASSERT(addr); return addr; } -}; - -} // namespace devtools -} // namespace mozilla - -#endif // mozilla_devtools_AutoMemMap_h diff --git a/devtools/shared/heapsnapshot/CensusUtils.js b/devtools/shared/heapsnapshot/CensusUtils.js deleted file mode 100644 index 36bdd2d82..000000000 --- a/devtools/shared/heapsnapshot/CensusUtils.js +++ /dev/null @@ -1,489 +0,0 @@ -/* 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/. */ -"use strict"; - -const { flatten } = require("resource://devtools/shared/ThreadSafeDevToolsUtils.js"); - -/** * Visitor ****************************************************************/ - -/** - * A Visitor visits each node and edge of a census report tree as the census - * report is being traversed by `walk`. - */ -function Visitor() { } -exports.Visitor = Visitor; - -/** - * The `enter` method is called when a new sub-report is entered in traversal. - * - * @param {Object} breakdown - * The breakdown for the sub-report that is being entered by traversal. - * - * @param {Object} report - * The report generated by the given breakdown. - * - * @param {any} edge - * The edge leading to this sub-report. The edge is null if (but not iff! - * eg, null allocation stack edges) we are entering the root report. - */ -Visitor.prototype.enter = function (breakdown, report, edge) { }; - -/** - * The `exit` method is called when traversal of a sub-report has finished. - * - * @param {Object} breakdown - * The breakdown for the sub-report whose traversal has finished. - * - * @param {Object} report - * The report generated by the given breakdown. - * - * @param {any} edge - * The edge leading to this sub-report. The edge is null if (but not iff! - * eg, null allocation stack edges) we are entering the root report. - */ -Visitor.prototype.exit = function (breakdown, report, edge) { }; - -/** - * The `count` method is called when leaf nodes (reports whose breakdown is - * by: "count") in the report tree are encountered. - * - * @param {Object} breakdown - * The count breakdown for this report. - * - * @param {Object} report - * The report generated by a breakdown by "count". - * - * @param {any|null} edge - * The edge leading to this count report. The edge is null if we are - * entering the root report. - */ -Visitor.prototype.count = function (breakdown, report, edge) { }; - -/** * getReportEdges *********************************************************/ - -const EDGES = Object.create(null); - -EDGES.count = function (breakdown, report) { - return []; -}; - -EDGES.bucket = function (breakdown, report) { - return []; -}; - -EDGES.internalType = function (breakdown, report) { - return Object.keys(report).map(key => ({ - edge: key, - referent: report[key], - breakdown: breakdown.then - })); -}; - -EDGES.objectClass = function (breakdown, report) { - return Object.keys(report).map(key => ({ - edge: key, - referent: report[key], - breakdown: key === "other" ? breakdown.other : breakdown.then - })); -}; - -EDGES.coarseType = function (breakdown, report) { - return [ - { edge: "objects", referent: report.objects, breakdown: breakdown.objects }, - { edge: "scripts", referent: report.scripts, breakdown: breakdown.scripts }, - { edge: "strings", referent: report.strings, breakdown: breakdown.strings }, - { edge: "other", referent: report.other, breakdown: breakdown.other }, - ]; -}; - -EDGES.allocationStack = function (breakdown, report) { - const edges = []; - report.forEach((value, key) => { - edges.push({ - edge: key, - referent: value, - breakdown: key === "noStack" ? breakdown.noStack : breakdown.then - }); - }); - return edges; -}; - -EDGES.filename = function (breakdown, report) { - return Object.keys(report).map(key => ({ - edge: key, - referent: report[key], - breakdown: key === "noFilename" ? breakdown.noFilename : breakdown.then - })); -}; - -/** - * Get the set of outgoing edges from `report` as specified by the given - * breakdown. - * - * @param {Object} breakdown - * The census breakdown. - * - * @param {Object} report - * The census report. - */ -function getReportEdges(breakdown, report) { - return EDGES[breakdown.by](breakdown, report); -} -exports.getReportEdges = getReportEdges; - -/** * walk *******************************************************************/ - -function recursiveWalk(breakdown, edge, report, visitor) { - if (breakdown.by === "count") { - visitor.enter(breakdown, report, edge); - visitor.count(breakdown, report, edge); - visitor.exit(breakdown, report, edge); - } else { - visitor.enter(breakdown, report, edge); - for (let { edge, referent, breakdown: subBreakdown } of getReportEdges(breakdown, report)) { - recursiveWalk(subBreakdown, edge, referent, visitor); - } - visitor.exit(breakdown, report, edge); - } -} - -/** - * Walk the given `report` that was generated by taking a census with the - * specified `breakdown`. - * - * @param {Object} breakdown - * The census breakdown. - * - * @param {Object} report - * The census report. - * - * @param {Visitor} visitor - * The Visitor instance to call into while traversing. - */ -function walk(breakdown, report, visitor) { - recursiveWalk(breakdown, null, report, visitor); -} -exports.walk = walk; - -/** * diff *******************************************************************/ - -/** - * Return true if the object is a Map, false otherwise. Works with Map objects - * from other globals, unlike `instanceof`. - * - * @returns {Boolean} - */ -function isMap(obj) { - return Object.prototype.toString.call(obj) === "[object Map]"; -} - -/** - * A Visitor for computing the difference between the census report being - * traversed and the given other census. - * - * @param {Object} otherCensus - * The other census report. - */ -function DiffVisitor(otherCensus) { - // The other census we are comparing against. - this._otherCensus = otherCensus; - - // The total bytes and count of the basis census we are traversing. - this._totalBytes = 0; - this._totalCount = 0; - - // Stack maintaining the current corresponding sub-report for the other - // census we are comparing against. - this._otherCensusStack = []; - - // Stack maintaining the set of edges visited at each sub-report. - this._edgesVisited = [new Set()]; - - // The final delta census. Valid only after traversal. - this._results = null; - - // Stack maintaining the results corresponding to each sub-report we are - // currently traversing. - this._resultsStack = []; -} - -DiffVisitor.prototype = Object.create(Visitor.prototype); - -/** - * Given a report and an outgoing edge, get the edge's referent. - */ -DiffVisitor.prototype._get = function (report, edge) { - if (!report) { - return undefined; - } - return isMap(report) ? report.get(edge) : report[edge]; -}; - -/** - * Given a report, an outgoing edge, and a value, set the edge's referent to - * the given value. - */ -DiffVisitor.prototype._set = function (report, edge, val) { - if (isMap(report)) { - report.set(edge, val); - } else { - report[edge] = val; - } -}; - -/** - * @overrides Visitor.prototype.enter - */ -DiffVisitor.prototype.enter = function (breakdown, report, edge) { - const isFirstTimeEntering = this._results === null; - - const newResults = breakdown.by === "allocationStack" ? new Map() : {}; - let newOther; - - if (!this._results) { - // This is the first time we have entered a sub-report. - this._results = newResults; - newOther = this._otherCensus; - } else { - const topResults = this._resultsStack[this._resultsStack.length - 1]; - this._set(topResults, edge, newResults); - - const topOther = this._otherCensusStack[this._otherCensusStack.length - 1]; - newOther = this._get(topOther, edge); - } - - this._resultsStack.push(newResults); - this._otherCensusStack.push(newOther); - - const visited = this._edgesVisited[this._edgesVisited.length - 1]; - visited.add(edge); - this._edgesVisited.push(new Set()); -}; - -/** - * @overrides Visitor.prototype.exit - */ -DiffVisitor.prototype.exit = function (breakdown, report, edge) { - // Find all the edges in the other census report that were not traversed and - // add them to the results directly. - const other = this._otherCensusStack[this._otherCensusStack.length - 1]; - if (other) { - const visited = this._edgesVisited[this._edgesVisited.length - 1]; - const unvisited = getReportEdges(breakdown, other) - .map(e => e.edge) - .filter(e => !visited.has(e)); - const results = this._resultsStack[this._resultsStack.length - 1]; - for (let edge of unvisited) { - this._set(results, edge, this._get(other, edge)); - } - } - - this._otherCensusStack.pop(); - this._resultsStack.pop(); - this._edgesVisited.pop(); -}; - -/** - * @overrides Visitor.prototype.count - */ -DiffVisitor.prototype.count = function (breakdown, report, edge) { - const other = this._otherCensusStack[this._otherCensusStack.length - 1]; - const results = this._resultsStack[this._resultsStack.length - 1]; - - if (breakdown.count) { - this._totalCount += report.count; - } - if (breakdown.bytes) { - this._totalBytes += report.bytes; - } - - if (other) { - if (breakdown.count) { - results.count = other.count - report.count; - } - if (breakdown.bytes) { - results.bytes = other.bytes - report.bytes; - } - } else { - if (breakdown.count) { - results.count = -report.count; - } - if (breakdown.bytes) { - results.bytes = -report.bytes; - } - } -}; - -const basisTotalBytes = exports.basisTotalBytes = Symbol("basisTotalBytes"); -const basisTotalCount = exports.basisTotalCount = Symbol("basisTotalCount"); - -/** - * Get the resulting report of the difference between the traversed census - * report and the other census report. - * - * @returns {Object} - * The delta census report. - */ -DiffVisitor.prototype.results = function () { - if (!this._results) { - throw new Error("Attempt to get results before computing diff!"); - } - - if (this._resultsStack.length) { - throw new Error("Attempt to get results while still computing diff!"); - } - - this._results[basisTotalBytes] = this._totalBytes; - this._results[basisTotalCount] = this._totalCount; - - return this._results; -}; - -/** - * Take the difference between two censuses. The resulting delta report - * contains the number/size of things that are in the `endCensus` that are not - * in the `startCensus`. - * - * @param {Object} breakdown - * The breakdown used to generate both census reports. - * - * @param {Object} startCensus - * The first census report. - * - * @param {Object} endCensus - * The second census report. - * - * @returns {Object} - * A delta report mirroring the structure of the two census reports (as - * specified by the given breakdown). Has two additional properties: - * - {Number} basisTotalBytes: the total number of bytes in the start - * census. - * - {Number} basisTotalCount: the total count in the start census. - */ -function diff(breakdown, startCensus, endCensus) { - const visitor = new DiffVisitor(endCensus); - walk(breakdown, startCensus, visitor); - return visitor.results(); -} -exports.diff = diff; - -/** - * Creates a hash map mapping node IDs to its parent node. - * - * @param {CensusTreeNode} node - * @param {Object} aggregator - * - * @return {Object} - */ -const createParentMap = exports.createParentMap = function (node, - getId = node => node.id, - aggregator = Object.create(null)) { - if (node.children) { - for (let i = 0, length = node.children.length; i < length; i++) { - const child = node.children[i]; - aggregator[getId(child)] = node; - createParentMap(child, getId, aggregator); - } - } - - return aggregator; -}; - -const BUCKET = Object.freeze({ by: "bucket" }); - -/** - * Convert a breakdown whose leaves are { by: "count" } to an identical - * breakdown, except with { by: "bucket" } leaves. - * - * @param {Object} breakdown - * @returns {Object} - */ -exports.countToBucketBreakdown = function (breakdown) { - if (typeof breakdown !== "object" || !breakdown) { - return breakdown; - } - - if (breakdown.by === "count") { - return BUCKET; - } - - const keys = Object.keys(breakdown); - const vals = keys.reduce((vs, k) => { - vs.push(exports.countToBucketBreakdown(breakdown[k])); - return vs; - }, []); - - const result = {}; - for (let i = 0, length = keys.length; i < length; i++) { - result[keys[i]] = vals[i]; - } - - return Object.freeze(result); -}; - -/** - * A Visitor for finding report leaves by their DFS index. - */ -function GetLeavesVisitor(targetIndices) { - this._index = -1; - this._targetIndices = targetIndices; - this._leaves = []; -} - -GetLeavesVisitor.prototype = Object.create(Visitor.prototype); - -/** - * @overrides Visitor.prototype.enter - */ -GetLeavesVisitor.prototype.enter = function (breakdown, report, edge) { - this._index++; - if (this._targetIndices.has(this._index)) { - this._leaves.push(report); - } -}; - -/** - * Get the accumulated report leaves after traversal. - */ -GetLeavesVisitor.prototype.leaves = function () { - if (this._index === -1) { - throw new Error("Attempt to call `leaves` before traversing report!"); - } - return this._leaves; -}; - -/** - * Given a set of indices of leaves in a pre-order depth-first traversal of the - * given census report, return the leaves. - * - * @param {Set} indices - * @param {Object} breakdown - * @param {Object} report - * - * @returns {Array} - */ -exports.getReportLeaves = function (indices, breakdown, report) { - const visitor = new GetLeavesVisitor(indices); - walk(breakdown, report, visitor); - return visitor.leaves(); -}; - -/** - * Get a list of the individual node IDs that belong to the census report leaves - * of the given indices. - * - * @param {Set} indices - * @param {Object} breakdown - * @param {HeapSnapshot} snapshot - * - * @returns {Array} - */ -exports.getCensusIndividuals = function (indices, countBreakdown, snapshot) { - const bucketBreakdown = exports.countToBucketBreakdown(countBreakdown); - const bucketReport = snapshot.takeCensus({ breakdown: bucketBreakdown }); - const buckets = exports.getReportLeaves(indices, - bucketBreakdown, - bucketReport); - return flatten(buckets); -}; diff --git a/devtools/shared/heapsnapshot/CoreDump.pb.cc b/devtools/shared/heapsnapshot/CoreDump.pb.cc deleted file mode 100644 index 6c7c0e8a4..000000000 --- a/devtools/shared/heapsnapshot/CoreDump.pb.cc +++ /dev/null @@ -1,2542 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CoreDump.proto - -#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION -#include "CoreDump.pb.h" - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) - -namespace mozilla { -namespace devtools { -namespace protobuf { - -namespace { - -const ::google::protobuf::Descriptor* Metadata_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Metadata_reflection_ = NULL; -const ::google::protobuf::Descriptor* StackFrame_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StackFrame_reflection_ = NULL; -struct StackFrameOneofInstance { - const ::mozilla::devtools::protobuf::StackFrame_Data* data_; - ::google::protobuf::uint64 ref_; -}* StackFrame_default_oneof_instance_ = NULL; -const ::google::protobuf::Descriptor* StackFrame_Data_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - StackFrame_Data_reflection_ = NULL; -struct StackFrame_DataOneofInstance { - const ::std::string* source_; - ::google::protobuf::uint64 sourceref_; - const ::std::string* functiondisplayname_; - ::google::protobuf::uint64 functiondisplaynameref_; -}* StackFrame_Data_default_oneof_instance_ = NULL; -const ::google::protobuf::Descriptor* Node_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Node_reflection_ = NULL; -struct NodeOneofInstance { - const ::std::string* typename__; - ::google::protobuf::uint64 typenameref_; - const ::std::string* jsobjectclassname_; - ::google::protobuf::uint64 jsobjectclassnameref_; - const ::std::string* scriptfilename_; - ::google::protobuf::uint64 scriptfilenameref_; -}* Node_default_oneof_instance_ = NULL; -const ::google::protobuf::Descriptor* Edge_descriptor_ = NULL; -const ::google::protobuf::internal::GeneratedMessageReflection* - Edge_reflection_ = NULL; -struct EdgeOneofInstance { - const ::std::string* name_; - ::google::protobuf::uint64 nameref_; -}* Edge_default_oneof_instance_ = NULL; - -} // namespace - - -void protobuf_AssignDesc_CoreDump_2eproto() { - protobuf_AddDesc_CoreDump_2eproto(); - const ::google::protobuf::FileDescriptor* file = - ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( - "CoreDump.proto"); - GOOGLE_CHECK(file != NULL); - Metadata_descriptor_ = file->message_type(0); - static const int Metadata_offsets_[1] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Metadata, timestamp_), - }; - Metadata_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Metadata_descriptor_, - Metadata::default_instance_, - Metadata_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Metadata, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Metadata, _unknown_fields_), - -1, - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Metadata)); - StackFrame_descriptor_ = file->message_type(1); - static const int StackFrame_offsets_[3] = { - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(StackFrame_default_oneof_instance_, data_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(StackFrame_default_oneof_instance_, ref_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StackFrame, StackFrameType_), - }; - StackFrame_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StackFrame_descriptor_, - StackFrame::default_instance_, - StackFrame_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StackFrame, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StackFrame, _unknown_fields_), - -1, - StackFrame_default_oneof_instance_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StackFrame, _oneof_case_[0]), - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StackFrame)); - StackFrame_Data_descriptor_ = StackFrame_descriptor_->nested_type(0); - static const int StackFrame_Data_offsets_[12] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StackFrame_Data, id_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StackFrame_Data, parent_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StackFrame_Data, line_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StackFrame_Data, column_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(StackFrame_Data_default_oneof_instance_, source_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(StackFrame_Data_default_oneof_instance_, sourceref_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(StackFrame_Data_default_oneof_instance_, functiondisplayname_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(StackFrame_Data_default_oneof_instance_, functiondisplaynameref_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StackFrame_Data, issystem_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StackFrame_Data, isselfhosted_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StackFrame_Data, SourceOrRef_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StackFrame_Data, FunctionDisplayNameOrRef_), - }; - StackFrame_Data_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - StackFrame_Data_descriptor_, - StackFrame_Data::default_instance_, - StackFrame_Data_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StackFrame_Data, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StackFrame_Data, _unknown_fields_), - -1, - StackFrame_Data_default_oneof_instance_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StackFrame_Data, _oneof_case_[0]), - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(StackFrame_Data)); - Node_descriptor_ = file->message_type(2); - static const int Node_offsets_[14] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Node, id_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Node_default_oneof_instance_, typename__), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Node_default_oneof_instance_, typenameref_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Node, size_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Node, edges_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Node, allocationstack_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Node_default_oneof_instance_, jsobjectclassname_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Node_default_oneof_instance_, jsobjectclassnameref_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Node, coarsetype_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Node_default_oneof_instance_, scriptfilename_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Node_default_oneof_instance_, scriptfilenameref_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Node, TypeNameOrRef_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Node, JSObjectClassNameOrRef_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Node, ScriptFilenameOrRef_), - }; - Node_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Node_descriptor_, - Node::default_instance_, - Node_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Node, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Node, _unknown_fields_), - -1, - Node_default_oneof_instance_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Node, _oneof_case_[0]), - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Node)); - Edge_descriptor_ = file->message_type(3); - static const int Edge_offsets_[4] = { - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Edge, referent_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Edge_default_oneof_instance_, name_), - PROTO2_GENERATED_DEFAULT_ONEOF_FIELD_OFFSET(Edge_default_oneof_instance_, nameref_), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Edge, EdgeNameOrRef_), - }; - Edge_reflection_ = - new ::google::protobuf::internal::GeneratedMessageReflection( - Edge_descriptor_, - Edge::default_instance_, - Edge_offsets_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Edge, _has_bits_[0]), - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Edge, _unknown_fields_), - -1, - Edge_default_oneof_instance_, - GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Edge, _oneof_case_[0]), - ::google::protobuf::DescriptorPool::generated_pool(), - ::google::protobuf::MessageFactory::generated_factory(), - sizeof(Edge)); -} - -namespace { - -GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); -inline void protobuf_AssignDescriptorsOnce() { - ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, - &protobuf_AssignDesc_CoreDump_2eproto); -} - -void protobuf_RegisterTypes(const ::std::string&) { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Metadata_descriptor_, &Metadata::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StackFrame_descriptor_, &StackFrame::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - StackFrame_Data_descriptor_, &StackFrame_Data::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Node_descriptor_, &Node::default_instance()); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( - Edge_descriptor_, &Edge::default_instance()); -} - -} // namespace - -void protobuf_ShutdownFile_CoreDump_2eproto() { - delete Metadata::default_instance_; - delete Metadata_reflection_; - delete StackFrame::default_instance_; - delete StackFrame_default_oneof_instance_; - delete StackFrame_reflection_; - delete StackFrame_Data::default_instance_; - delete StackFrame_Data_default_oneof_instance_; - delete StackFrame_Data_reflection_; - delete Node::default_instance_; - delete Node_default_oneof_instance_; - delete Node_reflection_; - delete Edge::default_instance_; - delete Edge_default_oneof_instance_; - delete Edge_reflection_; -} - -void protobuf_AddDesc_CoreDump_2eproto() { - static bool already_here = false; - if (already_here) return; - already_here = true; - GOOGLE_PROTOBUF_VERIFY_VERSION; - - ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( - "\n\016CoreDump.proto\022\031mozilla.devtools.proto" - "buf\"\035\n\010Metadata\022\021\n\ttimeStamp\030\001 \001(\004\"\216\003\n\nS" - "tackFrame\022:\n\004data\030\001 \001(\0132*.mozilla.devtoo" - "ls.protobuf.StackFrame.DataH\000\022\r\n\003ref\030\002 \001" - "(\004H\000\032\242\002\n\004Data\022\n\n\002id\030\001 \001(\004\0225\n\006parent\030\002 \001(" - "\0132%.mozilla.devtools.protobuf.StackFrame" - "\022\014\n\004line\030\003 \001(\r\022\016\n\006column\030\004 \001(\r\022\020\n\006source" - "\030\005 \001(\014H\000\022\023\n\tsourceRef\030\006 \001(\004H\000\022\035\n\023functio" - "nDisplayName\030\007 \001(\014H\001\022 \n\026functionDisplayN" - "ameRef\030\010 \001(\004H\001\022\020\n\010isSystem\030\t \001(\010\022\024\n\014isSe" - "lfHosted\030\n \001(\010B\r\n\013SourceOrRefB\032\n\030Functio" - "nDisplayNameOrRefB\020\n\016StackFrameType\"\210\003\n\004" - "Node\022\n\n\002id\030\001 \001(\004\022\022\n\010typeName\030\002 \001(\014H\000\022\025\n\013" - "typeNameRef\030\003 \001(\004H\000\022\014\n\004size\030\004 \001(\004\022.\n\005edg" - "es\030\005 \003(\0132\037.mozilla.devtools.protobuf.Edg" - "e\022>\n\017allocationStack\030\006 \001(\0132%.mozilla.dev" - "tools.protobuf.StackFrame\022\033\n\021jsObjectCla" - "ssName\030\007 \001(\014H\001\022\036\n\024jsObjectClassNameRef\030\010" - " \001(\004H\001\022\025\n\ncoarseType\030\t \001(\r:\0010\022\030\n\016scriptF" - "ilename\030\n \001(\014H\002\022\033\n\021scriptFilenameRef\030\013 \001" - "(\004H\002B\017\n\rTypeNameOrRefB\030\n\026JSObjectClassNa" - "meOrRefB\025\n\023ScriptFilenameOrRef\"L\n\004Edge\022\020" - "\n\010referent\030\001 \001(\004\022\016\n\004name\030\002 \001(\014H\000\022\021\n\007name" - "Ref\030\003 \001(\004H\000B\017\n\rEdgeNameOrRef", 948); - ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( - "CoreDump.proto", &protobuf_RegisterTypes); - Metadata::default_instance_ = new Metadata(); - StackFrame::default_instance_ = new StackFrame(); - StackFrame_default_oneof_instance_ = new StackFrameOneofInstance; - StackFrame_Data::default_instance_ = new StackFrame_Data(); - StackFrame_Data_default_oneof_instance_ = new StackFrame_DataOneofInstance; - Node::default_instance_ = new Node(); - Node_default_oneof_instance_ = new NodeOneofInstance; - Edge::default_instance_ = new Edge(); - Edge_default_oneof_instance_ = new EdgeOneofInstance; - Metadata::default_instance_->InitAsDefaultInstance(); - StackFrame::default_instance_->InitAsDefaultInstance(); - StackFrame_Data::default_instance_->InitAsDefaultInstance(); - Node::default_instance_->InitAsDefaultInstance(); - Edge::default_instance_->InitAsDefaultInstance(); - ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_CoreDump_2eproto); -} - -// Force AddDescriptors() to be called at static initialization time. -struct StaticDescriptorInitializer_CoreDump_2eproto { - StaticDescriptorInitializer_CoreDump_2eproto() { - protobuf_AddDesc_CoreDump_2eproto(); - } -} static_descriptor_initializer_CoreDump_2eproto_; - -// =================================================================== - -#ifndef _MSC_VER -const int Metadata::kTimeStampFieldNumber; -#endif // !_MSC_VER - -Metadata::Metadata() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:mozilla.devtools.protobuf.Metadata) -} - -void Metadata::InitAsDefaultInstance() { -} - -Metadata::Metadata(const Metadata& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:mozilla.devtools.protobuf.Metadata) -} - -void Metadata::SharedCtor() { - _cached_size_ = 0; - timestamp_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); -} - -Metadata::~Metadata() { - // @@protoc_insertion_point(destructor:mozilla.devtools.protobuf.Metadata) - SharedDtor(); -} - -void Metadata::SharedDtor() { - if (this != default_instance_) { - } -} - -void Metadata::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* Metadata::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Metadata_descriptor_; -} - -const Metadata& Metadata::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_CoreDump_2eproto(); - return *default_instance_; -} - -Metadata* Metadata::default_instance_ = NULL; - -Metadata* Metadata::New() const { - return new Metadata; -} - -void Metadata::Clear() { - timestamp_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - mutable_unknown_fields()->Clear(); -} - -bool Metadata::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:mozilla.devtools.protobuf.Metadata) - for (;;) { - ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // optional uint64 timeStamp = 1; - case 1: { - if (tag == 8) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>( - input, ×tamp_))); - set_has_timestamp(); - } else { - goto handle_unusual; - } - if (input->ExpectAtEnd()) goto success; - break; - } - - default: { - handle_unusual: - if (tag == 0 || - ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:mozilla.devtools.protobuf.Metadata) - return true; -failure: - // @@protoc_insertion_point(parse_failure:mozilla.devtools.protobuf.Metadata) - return false; -#undef DO_ -} - -void Metadata::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:mozilla.devtools.protobuf.Metadata) - // optional uint64 timeStamp = 1; - if (has_timestamp()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->timestamp(), output); - } - - if (!unknown_fields().empty()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:mozilla.devtools.protobuf.Metadata) -} - -::google::protobuf::uint8* Metadata::SerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:mozilla.devtools.protobuf.Metadata) - // optional uint64 timeStamp = 1; - if (has_timestamp()) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->timestamp(), target); - } - - if (!unknown_fields().empty()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:mozilla.devtools.protobuf.Metadata) - return target; -} - -int Metadata::ByteSize() const { - int total_size = 0; - - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // optional uint64 timeStamp = 1; - if (has_timestamp()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt64Size( - this->timestamp()); - } - - } - if (!unknown_fields().empty()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - unknown_fields()); - } - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = total_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void Metadata::MergeFrom(const ::google::protobuf::Message& from) { - GOOGLE_CHECK_NE(&from, this); - const Metadata* source = - ::google::protobuf::internal::dynamic_cast_if_available( - &from); - if (source == NULL) { - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - MergeFrom(*source); - } -} - -void Metadata::MergeFrom(const Metadata& from) { - GOOGLE_CHECK_NE(&from, this); - if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_timestamp()) { - set_timestamp(from.timestamp()); - } - } - mutable_unknown_fields()->MergeFrom(from.unknown_fields()); -} - -void Metadata::CopyFrom(const ::google::protobuf::Message& from) { - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Metadata::CopyFrom(const Metadata& from) { - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Metadata::IsInitialized() const { - - return true; -} - -void Metadata::Swap(Metadata* other) { - if (other != this) { - std::swap(timestamp_, other->timestamp_); - std::swap(_has_bits_[0], other->_has_bits_[0]); - _unknown_fields_.Swap(&other->_unknown_fields_); - std::swap(_cached_size_, other->_cached_size_); - } -} - -::google::protobuf::Metadata Metadata::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Metadata_descriptor_; - metadata.reflection = Metadata_reflection_; - return metadata; -} - - -// =================================================================== - -#ifndef _MSC_VER -const int StackFrame_Data::kIdFieldNumber; -const int StackFrame_Data::kParentFieldNumber; -const int StackFrame_Data::kLineFieldNumber; -const int StackFrame_Data::kColumnFieldNumber; -const int StackFrame_Data::kSourceFieldNumber; -const int StackFrame_Data::kSourceRefFieldNumber; -const int StackFrame_Data::kFunctionDisplayNameFieldNumber; -const int StackFrame_Data::kFunctionDisplayNameRefFieldNumber; -const int StackFrame_Data::kIsSystemFieldNumber; -const int StackFrame_Data::kIsSelfHostedFieldNumber; -#endif // !_MSC_VER - -StackFrame_Data::StackFrame_Data() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:mozilla.devtools.protobuf.StackFrame.Data) -} - -void StackFrame_Data::InitAsDefaultInstance() { - parent_ = const_cast< ::mozilla::devtools::protobuf::StackFrame*>(&::mozilla::devtools::protobuf::StackFrame::default_instance()); - StackFrame_Data_default_oneof_instance_->source_ = &::google::protobuf::internal::GetEmptyStringAlreadyInited(); - StackFrame_Data_default_oneof_instance_->sourceref_ = GOOGLE_ULONGLONG(0); - StackFrame_Data_default_oneof_instance_->functiondisplayname_ = &::google::protobuf::internal::GetEmptyStringAlreadyInited(); - StackFrame_Data_default_oneof_instance_->functiondisplaynameref_ = GOOGLE_ULONGLONG(0); -} - -StackFrame_Data::StackFrame_Data(const StackFrame_Data& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:mozilla.devtools.protobuf.StackFrame.Data) -} - -void StackFrame_Data::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - id_ = GOOGLE_ULONGLONG(0); - parent_ = NULL; - line_ = 0u; - column_ = 0u; - issystem_ = false; - isselfhosted_ = false; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - clear_has_SourceOrRef(); - clear_has_FunctionDisplayNameOrRef(); -} - -StackFrame_Data::~StackFrame_Data() { - // @@protoc_insertion_point(destructor:mozilla.devtools.protobuf.StackFrame.Data) - SharedDtor(); -} - -void StackFrame_Data::SharedDtor() { - if (has_SourceOrRef()) { - clear_SourceOrRef(); - } - if (has_FunctionDisplayNameOrRef()) { - clear_FunctionDisplayNameOrRef(); - } - if (this != default_instance_) { - delete parent_; - } -} - -void StackFrame_Data::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StackFrame_Data::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StackFrame_Data_descriptor_; -} - -const StackFrame_Data& StackFrame_Data::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_CoreDump_2eproto(); - return *default_instance_; -} - -StackFrame_Data* StackFrame_Data::default_instance_ = NULL; - -StackFrame_Data* StackFrame_Data::New() const { - return new StackFrame_Data; -} - -void StackFrame_Data::clear_SourceOrRef() { - switch(SourceOrRef_case()) { - case kSource: { - delete SourceOrRef_.source_; - break; - } - case kSourceRef: { - // No need to clear - break; - } - case SOURCEORREF_NOT_SET: { - break; - } - } - _oneof_case_[0] = SOURCEORREF_NOT_SET; -} - -void StackFrame_Data::clear_FunctionDisplayNameOrRef() { - switch(FunctionDisplayNameOrRef_case()) { - case kFunctionDisplayName: { - delete FunctionDisplayNameOrRef_.functiondisplayname_; - break; - } - case kFunctionDisplayNameRef: { - // No need to clear - break; - } - case FUNCTIONDISPLAYNAMEORREF_NOT_SET: { - break; - } - } - _oneof_case_[1] = FUNCTIONDISPLAYNAMEORREF_NOT_SET; -} - - -void StackFrame_Data::Clear() { -#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ - &reinterpret_cast(16)->f) - \ - reinterpret_cast(16)) - -#define ZR_(first, last) do { \ - size_t f = OFFSET_OF_FIELD_(first); \ - size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ - ::memset(&first, 0, n); \ - } while (0) - - if (_has_bits_[0 / 32] & 15) { - ZR_(line_, column_); - id_ = GOOGLE_ULONGLONG(0); - if (has_parent()) { - if (parent_ != NULL) parent_->::mozilla::devtools::protobuf::StackFrame::Clear(); - } - } - ZR_(issystem_, isselfhosted_); - -#undef OFFSET_OF_FIELD_ -#undef ZR_ - - clear_SourceOrRef(); - clear_FunctionDisplayNameOrRef(); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - mutable_unknown_fields()->Clear(); -} - -bool StackFrame_Data::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:mozilla.devtools.protobuf.StackFrame.Data) - for (;;) { - ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // optional uint64 id = 1; - case 1: { - if (tag == 8) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>( - input, &id_))); - set_has_id(); - } else { - goto handle_unusual; - } - if (input->ExpectTag(18)) goto parse_parent; - break; - } - - // optional .mozilla.devtools.protobuf.StackFrame parent = 2; - case 2: { - if (tag == 18) { - parse_parent: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_parent())); - } else { - goto handle_unusual; - } - if (input->ExpectTag(24)) goto parse_line; - break; - } - - // optional uint32 line = 3; - case 3: { - if (tag == 24) { - parse_line: - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &line_))); - set_has_line(); - } else { - goto handle_unusual; - } - if (input->ExpectTag(32)) goto parse_column; - break; - } - - // optional uint32 column = 4; - case 4: { - if (tag == 32) { - parse_column: - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &column_))); - set_has_column(); - } else { - goto handle_unusual; - } - if (input->ExpectTag(42)) goto parse_source; - break; - } - - // optional bytes source = 5; - case 5: { - if (tag == 42) { - parse_source: - DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( - input, this->mutable_source())); - } else { - goto handle_unusual; - } - if (input->ExpectTag(48)) goto parse_sourceRef; - break; - } - - // optional uint64 sourceRef = 6; - case 6: { - if (tag == 48) { - parse_sourceRef: - clear_SourceOrRef(); - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>( - input, &SourceOrRef_.sourceref_))); - set_has_sourceref(); - } else { - goto handle_unusual; - } - if (input->ExpectTag(58)) goto parse_functionDisplayName; - break; - } - - // optional bytes functionDisplayName = 7; - case 7: { - if (tag == 58) { - parse_functionDisplayName: - DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( - input, this->mutable_functiondisplayname())); - } else { - goto handle_unusual; - } - if (input->ExpectTag(64)) goto parse_functionDisplayNameRef; - break; - } - - // optional uint64 functionDisplayNameRef = 8; - case 8: { - if (tag == 64) { - parse_functionDisplayNameRef: - clear_FunctionDisplayNameOrRef(); - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>( - input, &FunctionDisplayNameOrRef_.functiondisplaynameref_))); - set_has_functiondisplaynameref(); - } else { - goto handle_unusual; - } - if (input->ExpectTag(72)) goto parse_isSystem; - break; - } - - // optional bool isSystem = 9; - case 9: { - if (tag == 72) { - parse_isSystem: - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &issystem_))); - set_has_issystem(); - } else { - goto handle_unusual; - } - if (input->ExpectTag(80)) goto parse_isSelfHosted; - break; - } - - // optional bool isSelfHosted = 10; - case 10: { - if (tag == 80) { - parse_isSelfHosted: - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( - input, &isselfhosted_))); - set_has_isselfhosted(); - } else { - goto handle_unusual; - } - if (input->ExpectAtEnd()) goto success; - break; - } - - default: { - handle_unusual: - if (tag == 0 || - ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:mozilla.devtools.protobuf.StackFrame.Data) - return true; -failure: - // @@protoc_insertion_point(parse_failure:mozilla.devtools.protobuf.StackFrame.Data) - return false; -#undef DO_ -} - -void StackFrame_Data::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:mozilla.devtools.protobuf.StackFrame.Data) - // optional uint64 id = 1; - if (has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->id(), output); - } - - // optional .mozilla.devtools.protobuf.StackFrame parent = 2; - if (has_parent()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 2, this->parent(), output); - } - - // optional uint32 line = 3; - if (has_line()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(3, this->line(), output); - } - - // optional uint32 column = 4; - if (has_column()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->column(), output); - } - - // optional bytes source = 5; - if (has_source()) { - ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( - 5, this->source(), output); - } - - // optional uint64 sourceRef = 6; - if (has_sourceref()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt64(6, this->sourceref(), output); - } - - // optional bytes functionDisplayName = 7; - if (has_functiondisplayname()) { - ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( - 7, this->functiondisplayname(), output); - } - - // optional uint64 functionDisplayNameRef = 8; - if (has_functiondisplaynameref()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt64(8, this->functiondisplaynameref(), output); - } - - // optional bool isSystem = 9; - if (has_issystem()) { - ::google::protobuf::internal::WireFormatLite::WriteBool(9, this->issystem(), output); - } - - // optional bool isSelfHosted = 10; - if (has_isselfhosted()) { - ::google::protobuf::internal::WireFormatLite::WriteBool(10, this->isselfhosted(), output); - } - - if (!unknown_fields().empty()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:mozilla.devtools.protobuf.StackFrame.Data) -} - -::google::protobuf::uint8* StackFrame_Data::SerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:mozilla.devtools.protobuf.StackFrame.Data) - // optional uint64 id = 1; - if (has_id()) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->id(), target); - } - - // optional .mozilla.devtools.protobuf.StackFrame parent = 2; - if (has_parent()) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteMessageNoVirtualToArray( - 2, this->parent(), target); - } - - // optional uint32 line = 3; - if (has_line()) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(3, this->line(), target); - } - - // optional uint32 column = 4; - if (has_column()) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->column(), target); - } - - // optional bytes source = 5; - if (has_source()) { - target = - ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( - 5, this->source(), target); - } - - // optional uint64 sourceRef = 6; - if (has_sourceref()) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(6, this->sourceref(), target); - } - - // optional bytes functionDisplayName = 7; - if (has_functiondisplayname()) { - target = - ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( - 7, this->functiondisplayname(), target); - } - - // optional uint64 functionDisplayNameRef = 8; - if (has_functiondisplaynameref()) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(8, this->functiondisplaynameref(), target); - } - - // optional bool isSystem = 9; - if (has_issystem()) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(9, this->issystem(), target); - } - - // optional bool isSelfHosted = 10; - if (has_isselfhosted()) { - target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(10, this->isselfhosted(), target); - } - - if (!unknown_fields().empty()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:mozilla.devtools.protobuf.StackFrame.Data) - return target; -} - -int StackFrame_Data::ByteSize() const { - int total_size = 0; - - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // optional uint64 id = 1; - if (has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt64Size( - this->id()); - } - - // optional .mozilla.devtools.protobuf.StackFrame parent = 2; - if (has_parent()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->parent()); - } - - // optional uint32 line = 3; - if (has_line()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->line()); - } - - // optional uint32 column = 4; - if (has_column()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->column()); - } - - } - if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { - // optional bool isSystem = 9; - if (has_issystem()) { - total_size += 1 + 1; - } - - // optional bool isSelfHosted = 10; - if (has_isselfhosted()) { - total_size += 1 + 1; - } - - } - switch (SourceOrRef_case()) { - // optional bytes source = 5; - case kSource: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::BytesSize( - this->source()); - break; - } - // optional uint64 sourceRef = 6; - case kSourceRef: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt64Size( - this->sourceref()); - break; - } - case SOURCEORREF_NOT_SET: { - break; - } - } - switch (FunctionDisplayNameOrRef_case()) { - // optional bytes functionDisplayName = 7; - case kFunctionDisplayName: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::BytesSize( - this->functiondisplayname()); - break; - } - // optional uint64 functionDisplayNameRef = 8; - case kFunctionDisplayNameRef: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt64Size( - this->functiondisplaynameref()); - break; - } - case FUNCTIONDISPLAYNAMEORREF_NOT_SET: { - break; - } - } - if (!unknown_fields().empty()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - unknown_fields()); - } - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = total_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void StackFrame_Data::MergeFrom(const ::google::protobuf::Message& from) { - GOOGLE_CHECK_NE(&from, this); - const StackFrame_Data* source = - ::google::protobuf::internal::dynamic_cast_if_available( - &from); - if (source == NULL) { - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - MergeFrom(*source); - } -} - -void StackFrame_Data::MergeFrom(const StackFrame_Data& from) { - GOOGLE_CHECK_NE(&from, this); - switch (from.SourceOrRef_case()) { - case kSource: { - set_source(from.source()); - break; - } - case kSourceRef: { - set_sourceref(from.sourceref()); - break; - } - case SOURCEORREF_NOT_SET: { - break; - } - } - switch (from.FunctionDisplayNameOrRef_case()) { - case kFunctionDisplayName: { - set_functiondisplayname(from.functiondisplayname()); - break; - } - case kFunctionDisplayNameRef: { - set_functiondisplaynameref(from.functiondisplaynameref()); - break; - } - case FUNCTIONDISPLAYNAMEORREF_NOT_SET: { - break; - } - } - if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_id()) { - set_id(from.id()); - } - if (from.has_parent()) { - mutable_parent()->::mozilla::devtools::protobuf::StackFrame::MergeFrom(from.parent()); - } - if (from.has_line()) { - set_line(from.line()); - } - if (from.has_column()) { - set_column(from.column()); - } - } - if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { - if (from.has_issystem()) { - set_issystem(from.issystem()); - } - if (from.has_isselfhosted()) { - set_isselfhosted(from.isselfhosted()); - } - } - mutable_unknown_fields()->MergeFrom(from.unknown_fields()); -} - -void StackFrame_Data::CopyFrom(const ::google::protobuf::Message& from) { - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void StackFrame_Data::CopyFrom(const StackFrame_Data& from) { - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool StackFrame_Data::IsInitialized() const { - - return true; -} - -void StackFrame_Data::Swap(StackFrame_Data* other) { - if (other != this) { - std::swap(id_, other->id_); - std::swap(parent_, other->parent_); - std::swap(line_, other->line_); - std::swap(column_, other->column_); - std::swap(issystem_, other->issystem_); - std::swap(isselfhosted_, other->isselfhosted_); - std::swap(SourceOrRef_, other->SourceOrRef_); - std::swap(_oneof_case_[0], other->_oneof_case_[0]); - std::swap(FunctionDisplayNameOrRef_, other->FunctionDisplayNameOrRef_); - std::swap(_oneof_case_[1], other->_oneof_case_[1]); - std::swap(_has_bits_[0], other->_has_bits_[0]); - _unknown_fields_.Swap(&other->_unknown_fields_); - std::swap(_cached_size_, other->_cached_size_); - } -} - -::google::protobuf::Metadata StackFrame_Data::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StackFrame_Data_descriptor_; - metadata.reflection = StackFrame_Data_reflection_; - return metadata; -} - - -// ------------------------------------------------------------------- - -#ifndef _MSC_VER -const int StackFrame::kDataFieldNumber; -const int StackFrame::kRefFieldNumber; -#endif // !_MSC_VER - -StackFrame::StackFrame() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:mozilla.devtools.protobuf.StackFrame) -} - -void StackFrame::InitAsDefaultInstance() { - StackFrame_default_oneof_instance_->data_ = const_cast< ::mozilla::devtools::protobuf::StackFrame_Data*>(&::mozilla::devtools::protobuf::StackFrame_Data::default_instance()); - StackFrame_default_oneof_instance_->ref_ = GOOGLE_ULONGLONG(0); -} - -StackFrame::StackFrame(const StackFrame& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:mozilla.devtools.protobuf.StackFrame) -} - -void StackFrame::SharedCtor() { - _cached_size_ = 0; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - clear_has_StackFrameType(); -} - -StackFrame::~StackFrame() { - // @@protoc_insertion_point(destructor:mozilla.devtools.protobuf.StackFrame) - SharedDtor(); -} - -void StackFrame::SharedDtor() { - if (has_StackFrameType()) { - clear_StackFrameType(); - } - if (this != default_instance_) { - } -} - -void StackFrame::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* StackFrame::descriptor() { - protobuf_AssignDescriptorsOnce(); - return StackFrame_descriptor_; -} - -const StackFrame& StackFrame::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_CoreDump_2eproto(); - return *default_instance_; -} - -StackFrame* StackFrame::default_instance_ = NULL; - -StackFrame* StackFrame::New() const { - return new StackFrame; -} - -void StackFrame::clear_StackFrameType() { - switch(StackFrameType_case()) { - case kData: { - delete StackFrameType_.data_; - break; - } - case kRef: { - // No need to clear - break; - } - case STACKFRAMETYPE_NOT_SET: { - break; - } - } - _oneof_case_[0] = STACKFRAMETYPE_NOT_SET; -} - - -void StackFrame::Clear() { - clear_StackFrameType(); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - mutable_unknown_fields()->Clear(); -} - -bool StackFrame::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:mozilla.devtools.protobuf.StackFrame) - for (;;) { - ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // optional .mozilla.devtools.protobuf.StackFrame.Data data = 1; - case 1: { - if (tag == 10) { - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_data())); - } else { - goto handle_unusual; - } - if (input->ExpectTag(16)) goto parse_ref; - break; - } - - // optional uint64 ref = 2; - case 2: { - if (tag == 16) { - parse_ref: - clear_StackFrameType(); - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>( - input, &StackFrameType_.ref_))); - set_has_ref(); - } else { - goto handle_unusual; - } - if (input->ExpectAtEnd()) goto success; - break; - } - - default: { - handle_unusual: - if (tag == 0 || - ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:mozilla.devtools.protobuf.StackFrame) - return true; -failure: - // @@protoc_insertion_point(parse_failure:mozilla.devtools.protobuf.StackFrame) - return false; -#undef DO_ -} - -void StackFrame::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:mozilla.devtools.protobuf.StackFrame) - // optional .mozilla.devtools.protobuf.StackFrame.Data data = 1; - if (has_data()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 1, this->data(), output); - } - - // optional uint64 ref = 2; - if (has_ref()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->ref(), output); - } - - if (!unknown_fields().empty()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:mozilla.devtools.protobuf.StackFrame) -} - -::google::protobuf::uint8* StackFrame::SerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:mozilla.devtools.protobuf.StackFrame) - // optional .mozilla.devtools.protobuf.StackFrame.Data data = 1; - if (has_data()) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteMessageNoVirtualToArray( - 1, this->data(), target); - } - - // optional uint64 ref = 2; - if (has_ref()) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->ref(), target); - } - - if (!unknown_fields().empty()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:mozilla.devtools.protobuf.StackFrame) - return target; -} - -int StackFrame::ByteSize() const { - int total_size = 0; - - switch (StackFrameType_case()) { - // optional .mozilla.devtools.protobuf.StackFrame.Data data = 1; - case kData: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->data()); - break; - } - // optional uint64 ref = 2; - case kRef: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt64Size( - this->ref()); - break; - } - case STACKFRAMETYPE_NOT_SET: { - break; - } - } - if (!unknown_fields().empty()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - unknown_fields()); - } - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = total_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void StackFrame::MergeFrom(const ::google::protobuf::Message& from) { - GOOGLE_CHECK_NE(&from, this); - const StackFrame* source = - ::google::protobuf::internal::dynamic_cast_if_available( - &from); - if (source == NULL) { - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - MergeFrom(*source); - } -} - -void StackFrame::MergeFrom(const StackFrame& from) { - GOOGLE_CHECK_NE(&from, this); - switch (from.StackFrameType_case()) { - case kData: { - mutable_data()->::mozilla::devtools::protobuf::StackFrame_Data::MergeFrom(from.data()); - break; - } - case kRef: { - set_ref(from.ref()); - break; - } - case STACKFRAMETYPE_NOT_SET: { - break; - } - } - mutable_unknown_fields()->MergeFrom(from.unknown_fields()); -} - -void StackFrame::CopyFrom(const ::google::protobuf::Message& from) { - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void StackFrame::CopyFrom(const StackFrame& from) { - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool StackFrame::IsInitialized() const { - - return true; -} - -void StackFrame::Swap(StackFrame* other) { - if (other != this) { - std::swap(StackFrameType_, other->StackFrameType_); - std::swap(_oneof_case_[0], other->_oneof_case_[0]); - std::swap(_has_bits_[0], other->_has_bits_[0]); - _unknown_fields_.Swap(&other->_unknown_fields_); - std::swap(_cached_size_, other->_cached_size_); - } -} - -::google::protobuf::Metadata StackFrame::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = StackFrame_descriptor_; - metadata.reflection = StackFrame_reflection_; - return metadata; -} - - -// =================================================================== - -#ifndef _MSC_VER -const int Node::kIdFieldNumber; -const int Node::kTypeNameFieldNumber; -const int Node::kTypeNameRefFieldNumber; -const int Node::kSizeFieldNumber; -const int Node::kEdgesFieldNumber; -const int Node::kAllocationStackFieldNumber; -const int Node::kJsObjectClassNameFieldNumber; -const int Node::kJsObjectClassNameRefFieldNumber; -const int Node::kCoarseTypeFieldNumber; -const int Node::kScriptFilenameFieldNumber; -const int Node::kScriptFilenameRefFieldNumber; -#endif // !_MSC_VER - -Node::Node() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:mozilla.devtools.protobuf.Node) -} - -void Node::InitAsDefaultInstance() { - Node_default_oneof_instance_->typename__ = &::google::protobuf::internal::GetEmptyStringAlreadyInited(); - Node_default_oneof_instance_->typenameref_ = GOOGLE_ULONGLONG(0); - allocationstack_ = const_cast< ::mozilla::devtools::protobuf::StackFrame*>(&::mozilla::devtools::protobuf::StackFrame::default_instance()); - Node_default_oneof_instance_->jsobjectclassname_ = &::google::protobuf::internal::GetEmptyStringAlreadyInited(); - Node_default_oneof_instance_->jsobjectclassnameref_ = GOOGLE_ULONGLONG(0); - Node_default_oneof_instance_->scriptfilename_ = &::google::protobuf::internal::GetEmptyStringAlreadyInited(); - Node_default_oneof_instance_->scriptfilenameref_ = GOOGLE_ULONGLONG(0); -} - -Node::Node(const Node& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:mozilla.devtools.protobuf.Node) -} - -void Node::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - id_ = GOOGLE_ULONGLONG(0); - size_ = GOOGLE_ULONGLONG(0); - allocationstack_ = NULL; - coarsetype_ = 0u; - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - clear_has_TypeNameOrRef(); - clear_has_JSObjectClassNameOrRef(); - clear_has_ScriptFilenameOrRef(); -} - -Node::~Node() { - // @@protoc_insertion_point(destructor:mozilla.devtools.protobuf.Node) - SharedDtor(); -} - -void Node::SharedDtor() { - if (has_TypeNameOrRef()) { - clear_TypeNameOrRef(); - } - if (has_JSObjectClassNameOrRef()) { - clear_JSObjectClassNameOrRef(); - } - if (has_ScriptFilenameOrRef()) { - clear_ScriptFilenameOrRef(); - } - if (this != default_instance_) { - delete allocationstack_; - } -} - -void Node::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* Node::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Node_descriptor_; -} - -const Node& Node::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_CoreDump_2eproto(); - return *default_instance_; -} - -Node* Node::default_instance_ = NULL; - -Node* Node::New() const { - return new Node; -} - -void Node::clear_TypeNameOrRef() { - switch(TypeNameOrRef_case()) { - case kTypeName: { - delete TypeNameOrRef_.typename__; - break; - } - case kTypeNameRef: { - // No need to clear - break; - } - case TYPENAMEORREF_NOT_SET: { - break; - } - } - _oneof_case_[0] = TYPENAMEORREF_NOT_SET; -} - -void Node::clear_JSObjectClassNameOrRef() { - switch(JSObjectClassNameOrRef_case()) { - case kJsObjectClassName: { - delete JSObjectClassNameOrRef_.jsobjectclassname_; - break; - } - case kJsObjectClassNameRef: { - // No need to clear - break; - } - case JSOBJECTCLASSNAMEORREF_NOT_SET: { - break; - } - } - _oneof_case_[1] = JSOBJECTCLASSNAMEORREF_NOT_SET; -} - -void Node::clear_ScriptFilenameOrRef() { - switch(ScriptFilenameOrRef_case()) { - case kScriptFilename: { - delete ScriptFilenameOrRef_.scriptfilename_; - break; - } - case kScriptFilenameRef: { - // No need to clear - break; - } - case SCRIPTFILENAMEORREF_NOT_SET: { - break; - } - } - _oneof_case_[2] = SCRIPTFILENAMEORREF_NOT_SET; -} - - -void Node::Clear() { -#define OFFSET_OF_FIELD_(f) (reinterpret_cast( \ - &reinterpret_cast(16)->f) - \ - reinterpret_cast(16)) - -#define ZR_(first, last) do { \ - size_t f = OFFSET_OF_FIELD_(first); \ - size_t n = OFFSET_OF_FIELD_(last) - f + sizeof(last); \ - ::memset(&first, 0, n); \ - } while (0) - - if (_has_bits_[0 / 32] & 41) { - ZR_(id_, size_); - if (has_allocationstack()) { - if (allocationstack_ != NULL) allocationstack_->::mozilla::devtools::protobuf::StackFrame::Clear(); - } - } - coarsetype_ = 0u; - -#undef OFFSET_OF_FIELD_ -#undef ZR_ - - edges_.Clear(); - clear_TypeNameOrRef(); - clear_JSObjectClassNameOrRef(); - clear_ScriptFilenameOrRef(); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - mutable_unknown_fields()->Clear(); -} - -bool Node::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:mozilla.devtools.protobuf.Node) - for (;;) { - ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // optional uint64 id = 1; - case 1: { - if (tag == 8) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>( - input, &id_))); - set_has_id(); - } else { - goto handle_unusual; - } - if (input->ExpectTag(18)) goto parse_typeName; - break; - } - - // optional bytes typeName = 2; - case 2: { - if (tag == 18) { - parse_typeName: - DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( - input, this->mutable_typename_())); - } else { - goto handle_unusual; - } - if (input->ExpectTag(24)) goto parse_typeNameRef; - break; - } - - // optional uint64 typeNameRef = 3; - case 3: { - if (tag == 24) { - parse_typeNameRef: - clear_TypeNameOrRef(); - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>( - input, &TypeNameOrRef_.typenameref_))); - set_has_typenameref(); - } else { - goto handle_unusual; - } - if (input->ExpectTag(32)) goto parse_size; - break; - } - - // optional uint64 size = 4; - case 4: { - if (tag == 32) { - parse_size: - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>( - input, &size_))); - set_has_size(); - } else { - goto handle_unusual; - } - if (input->ExpectTag(42)) goto parse_edges; - break; - } - - // repeated .mozilla.devtools.protobuf.Edge edges = 5; - case 5: { - if (tag == 42) { - parse_edges: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, add_edges())); - } else { - goto handle_unusual; - } - if (input->ExpectTag(42)) goto parse_edges; - if (input->ExpectTag(50)) goto parse_allocationStack; - break; - } - - // optional .mozilla.devtools.protobuf.StackFrame allocationStack = 6; - case 6: { - if (tag == 50) { - parse_allocationStack: - DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( - input, mutable_allocationstack())); - } else { - goto handle_unusual; - } - if (input->ExpectTag(58)) goto parse_jsObjectClassName; - break; - } - - // optional bytes jsObjectClassName = 7; - case 7: { - if (tag == 58) { - parse_jsObjectClassName: - DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( - input, this->mutable_jsobjectclassname())); - } else { - goto handle_unusual; - } - if (input->ExpectTag(64)) goto parse_jsObjectClassNameRef; - break; - } - - // optional uint64 jsObjectClassNameRef = 8; - case 8: { - if (tag == 64) { - parse_jsObjectClassNameRef: - clear_JSObjectClassNameOrRef(); - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>( - input, &JSObjectClassNameOrRef_.jsobjectclassnameref_))); - set_has_jsobjectclassnameref(); - } else { - goto handle_unusual; - } - if (input->ExpectTag(72)) goto parse_coarseType; - break; - } - - // optional uint32 coarseType = 9 [default = 0]; - case 9: { - if (tag == 72) { - parse_coarseType: - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>( - input, &coarsetype_))); - set_has_coarsetype(); - } else { - goto handle_unusual; - } - if (input->ExpectTag(82)) goto parse_scriptFilename; - break; - } - - // optional bytes scriptFilename = 10; - case 10: { - if (tag == 82) { - parse_scriptFilename: - DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( - input, this->mutable_scriptfilename())); - } else { - goto handle_unusual; - } - if (input->ExpectTag(88)) goto parse_scriptFilenameRef; - break; - } - - // optional uint64 scriptFilenameRef = 11; - case 11: { - if (tag == 88) { - parse_scriptFilenameRef: - clear_ScriptFilenameOrRef(); - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>( - input, &ScriptFilenameOrRef_.scriptfilenameref_))); - set_has_scriptfilenameref(); - } else { - goto handle_unusual; - } - if (input->ExpectAtEnd()) goto success; - break; - } - - default: { - handle_unusual: - if (tag == 0 || - ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:mozilla.devtools.protobuf.Node) - return true; -failure: - // @@protoc_insertion_point(parse_failure:mozilla.devtools.protobuf.Node) - return false; -#undef DO_ -} - -void Node::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:mozilla.devtools.protobuf.Node) - // optional uint64 id = 1; - if (has_id()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->id(), output); - } - - // optional bytes typeName = 2; - if (has_typename_()) { - ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( - 2, this->typename_(), output); - } - - // optional uint64 typeNameRef = 3; - if (has_typenameref()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->typenameref(), output); - } - - // optional uint64 size = 4; - if (has_size()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt64(4, this->size(), output); - } - - // repeated .mozilla.devtools.protobuf.Edge edges = 5; - for (int i = 0; i < this->edges_size(); i++) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 5, this->edges(i), output); - } - - // optional .mozilla.devtools.protobuf.StackFrame allocationStack = 6; - if (has_allocationstack()) { - ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( - 6, this->allocationstack(), output); - } - - // optional bytes jsObjectClassName = 7; - if (has_jsobjectclassname()) { - ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( - 7, this->jsobjectclassname(), output); - } - - // optional uint64 jsObjectClassNameRef = 8; - if (has_jsobjectclassnameref()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt64(8, this->jsobjectclassnameref(), output); - } - - // optional uint32 coarseType = 9 [default = 0]; - if (has_coarsetype()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt32(9, this->coarsetype(), output); - } - - // optional bytes scriptFilename = 10; - if (has_scriptfilename()) { - ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( - 10, this->scriptfilename(), output); - } - - // optional uint64 scriptFilenameRef = 11; - if (has_scriptfilenameref()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt64(11, this->scriptfilenameref(), output); - } - - if (!unknown_fields().empty()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:mozilla.devtools.protobuf.Node) -} - -::google::protobuf::uint8* Node::SerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:mozilla.devtools.protobuf.Node) - // optional uint64 id = 1; - if (has_id()) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->id(), target); - } - - // optional bytes typeName = 2; - if (has_typename_()) { - target = - ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( - 2, this->typename_(), target); - } - - // optional uint64 typeNameRef = 3; - if (has_typenameref()) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->typenameref(), target); - } - - // optional uint64 size = 4; - if (has_size()) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(4, this->size(), target); - } - - // repeated .mozilla.devtools.protobuf.Edge edges = 5; - for (int i = 0; i < this->edges_size(); i++) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteMessageNoVirtualToArray( - 5, this->edges(i), target); - } - - // optional .mozilla.devtools.protobuf.StackFrame allocationStack = 6; - if (has_allocationstack()) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteMessageNoVirtualToArray( - 6, this->allocationstack(), target); - } - - // optional bytes jsObjectClassName = 7; - if (has_jsobjectclassname()) { - target = - ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( - 7, this->jsobjectclassname(), target); - } - - // optional uint64 jsObjectClassNameRef = 8; - if (has_jsobjectclassnameref()) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(8, this->jsobjectclassnameref(), target); - } - - // optional uint32 coarseType = 9 [default = 0]; - if (has_coarsetype()) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(9, this->coarsetype(), target); - } - - // optional bytes scriptFilename = 10; - if (has_scriptfilename()) { - target = - ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( - 10, this->scriptfilename(), target); - } - - // optional uint64 scriptFilenameRef = 11; - if (has_scriptfilenameref()) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(11, this->scriptfilenameref(), target); - } - - if (!unknown_fields().empty()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:mozilla.devtools.protobuf.Node) - return target; -} - -int Node::ByteSize() const { - int total_size = 0; - - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // optional uint64 id = 1; - if (has_id()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt64Size( - this->id()); - } - - // optional uint64 size = 4; - if (has_size()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt64Size( - this->size()); - } - - // optional .mozilla.devtools.protobuf.StackFrame allocationStack = 6; - if (has_allocationstack()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->allocationstack()); - } - - } - if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { - // optional uint32 coarseType = 9 [default = 0]; - if (has_coarsetype()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt32Size( - this->coarsetype()); - } - - } - // repeated .mozilla.devtools.protobuf.Edge edges = 5; - total_size += 1 * this->edges_size(); - for (int i = 0; i < this->edges_size(); i++) { - total_size += - ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( - this->edges(i)); - } - - switch (TypeNameOrRef_case()) { - // optional bytes typeName = 2; - case kTypeName: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::BytesSize( - this->typename_()); - break; - } - // optional uint64 typeNameRef = 3; - case kTypeNameRef: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt64Size( - this->typenameref()); - break; - } - case TYPENAMEORREF_NOT_SET: { - break; - } - } - switch (JSObjectClassNameOrRef_case()) { - // optional bytes jsObjectClassName = 7; - case kJsObjectClassName: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::BytesSize( - this->jsobjectclassname()); - break; - } - // optional uint64 jsObjectClassNameRef = 8; - case kJsObjectClassNameRef: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt64Size( - this->jsobjectclassnameref()); - break; - } - case JSOBJECTCLASSNAMEORREF_NOT_SET: { - break; - } - } - switch (ScriptFilenameOrRef_case()) { - // optional bytes scriptFilename = 10; - case kScriptFilename: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::BytesSize( - this->scriptfilename()); - break; - } - // optional uint64 scriptFilenameRef = 11; - case kScriptFilenameRef: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt64Size( - this->scriptfilenameref()); - break; - } - case SCRIPTFILENAMEORREF_NOT_SET: { - break; - } - } - if (!unknown_fields().empty()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - unknown_fields()); - } - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = total_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void Node::MergeFrom(const ::google::protobuf::Message& from) { - GOOGLE_CHECK_NE(&from, this); - const Node* source = - ::google::protobuf::internal::dynamic_cast_if_available( - &from); - if (source == NULL) { - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - MergeFrom(*source); - } -} - -void Node::MergeFrom(const Node& from) { - GOOGLE_CHECK_NE(&from, this); - edges_.MergeFrom(from.edges_); - switch (from.TypeNameOrRef_case()) { - case kTypeName: { - set_typename_(from.typename_()); - break; - } - case kTypeNameRef: { - set_typenameref(from.typenameref()); - break; - } - case TYPENAMEORREF_NOT_SET: { - break; - } - } - switch (from.JSObjectClassNameOrRef_case()) { - case kJsObjectClassName: { - set_jsobjectclassname(from.jsobjectclassname()); - break; - } - case kJsObjectClassNameRef: { - set_jsobjectclassnameref(from.jsobjectclassnameref()); - break; - } - case JSOBJECTCLASSNAMEORREF_NOT_SET: { - break; - } - } - switch (from.ScriptFilenameOrRef_case()) { - case kScriptFilename: { - set_scriptfilename(from.scriptfilename()); - break; - } - case kScriptFilenameRef: { - set_scriptfilenameref(from.scriptfilenameref()); - break; - } - case SCRIPTFILENAMEORREF_NOT_SET: { - break; - } - } - if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_id()) { - set_id(from.id()); - } - if (from.has_size()) { - set_size(from.size()); - } - if (from.has_allocationstack()) { - mutable_allocationstack()->::mozilla::devtools::protobuf::StackFrame::MergeFrom(from.allocationstack()); - } - } - if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { - if (from.has_coarsetype()) { - set_coarsetype(from.coarsetype()); - } - } - mutable_unknown_fields()->MergeFrom(from.unknown_fields()); -} - -void Node::CopyFrom(const ::google::protobuf::Message& from) { - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Node::CopyFrom(const Node& from) { - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Node::IsInitialized() const { - - return true; -} - -void Node::Swap(Node* other) { - if (other != this) { - std::swap(id_, other->id_); - std::swap(size_, other->size_); - edges_.Swap(&other->edges_); - std::swap(allocationstack_, other->allocationstack_); - std::swap(coarsetype_, other->coarsetype_); - std::swap(TypeNameOrRef_, other->TypeNameOrRef_); - std::swap(_oneof_case_[0], other->_oneof_case_[0]); - std::swap(JSObjectClassNameOrRef_, other->JSObjectClassNameOrRef_); - std::swap(_oneof_case_[1], other->_oneof_case_[1]); - std::swap(ScriptFilenameOrRef_, other->ScriptFilenameOrRef_); - std::swap(_oneof_case_[2], other->_oneof_case_[2]); - std::swap(_has_bits_[0], other->_has_bits_[0]); - _unknown_fields_.Swap(&other->_unknown_fields_); - std::swap(_cached_size_, other->_cached_size_); - } -} - -::google::protobuf::Metadata Node::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Node_descriptor_; - metadata.reflection = Node_reflection_; - return metadata; -} - - -// =================================================================== - -#ifndef _MSC_VER -const int Edge::kReferentFieldNumber; -const int Edge::kNameFieldNumber; -const int Edge::kNameRefFieldNumber; -#endif // !_MSC_VER - -Edge::Edge() - : ::google::protobuf::Message() { - SharedCtor(); - // @@protoc_insertion_point(constructor:mozilla.devtools.protobuf.Edge) -} - -void Edge::InitAsDefaultInstance() { - Edge_default_oneof_instance_->name_ = &::google::protobuf::internal::GetEmptyStringAlreadyInited(); - Edge_default_oneof_instance_->nameref_ = GOOGLE_ULONGLONG(0); -} - -Edge::Edge(const Edge& from) - : ::google::protobuf::Message() { - SharedCtor(); - MergeFrom(from); - // @@protoc_insertion_point(copy_constructor:mozilla.devtools.protobuf.Edge) -} - -void Edge::SharedCtor() { - ::google::protobuf::internal::GetEmptyString(); - _cached_size_ = 0; - referent_ = GOOGLE_ULONGLONG(0); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - clear_has_EdgeNameOrRef(); -} - -Edge::~Edge() { - // @@protoc_insertion_point(destructor:mozilla.devtools.protobuf.Edge) - SharedDtor(); -} - -void Edge::SharedDtor() { - if (has_EdgeNameOrRef()) { - clear_EdgeNameOrRef(); - } - if (this != default_instance_) { - } -} - -void Edge::SetCachedSize(int size) const { - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); -} -const ::google::protobuf::Descriptor* Edge::descriptor() { - protobuf_AssignDescriptorsOnce(); - return Edge_descriptor_; -} - -const Edge& Edge::default_instance() { - if (default_instance_ == NULL) protobuf_AddDesc_CoreDump_2eproto(); - return *default_instance_; -} - -Edge* Edge::default_instance_ = NULL; - -Edge* Edge::New() const { - return new Edge; -} - -void Edge::clear_EdgeNameOrRef() { - switch(EdgeNameOrRef_case()) { - case kName: { - delete EdgeNameOrRef_.name_; - break; - } - case kNameRef: { - // No need to clear - break; - } - case EDGENAMEORREF_NOT_SET: { - break; - } - } - _oneof_case_[0] = EDGENAMEORREF_NOT_SET; -} - - -void Edge::Clear() { - referent_ = GOOGLE_ULONGLONG(0); - clear_EdgeNameOrRef(); - ::memset(_has_bits_, 0, sizeof(_has_bits_)); - mutable_unknown_fields()->Clear(); -} - -bool Edge::MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input) { -#define DO_(EXPRESSION) if (!(EXPRESSION)) goto failure - ::google::protobuf::uint32 tag; - // @@protoc_insertion_point(parse_start:mozilla.devtools.protobuf.Edge) - for (;;) { - ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127); - tag = p.first; - if (!p.second) goto handle_unusual; - switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { - // optional uint64 referent = 1; - case 1: { - if (tag == 8) { - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>( - input, &referent_))); - set_has_referent(); - } else { - goto handle_unusual; - } - if (input->ExpectTag(18)) goto parse_name; - break; - } - - // optional bytes name = 2; - case 2: { - if (tag == 18) { - parse_name: - DO_(::google::protobuf::internal::WireFormatLite::ReadBytes( - input, this->mutable_name())); - } else { - goto handle_unusual; - } - if (input->ExpectTag(24)) goto parse_nameRef; - break; - } - - // optional uint64 nameRef = 3; - case 3: { - if (tag == 24) { - parse_nameRef: - clear_EdgeNameOrRef(); - DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< - ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>( - input, &EdgeNameOrRef_.nameref_))); - set_has_nameref(); - } else { - goto handle_unusual; - } - if (input->ExpectAtEnd()) goto success; - break; - } - - default: { - handle_unusual: - if (tag == 0 || - ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == - ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { - goto success; - } - DO_(::google::protobuf::internal::WireFormat::SkipField( - input, tag, mutable_unknown_fields())); - break; - } - } - } -success: - // @@protoc_insertion_point(parse_success:mozilla.devtools.protobuf.Edge) - return true; -failure: - // @@protoc_insertion_point(parse_failure:mozilla.devtools.protobuf.Edge) - return false; -#undef DO_ -} - -void Edge::SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const { - // @@protoc_insertion_point(serialize_start:mozilla.devtools.protobuf.Edge) - // optional uint64 referent = 1; - if (has_referent()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt64(1, this->referent(), output); - } - - // optional bytes name = 2; - if (has_name()) { - ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased( - 2, this->name(), output); - } - - // optional uint64 nameRef = 3; - if (has_nameref()) { - ::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->nameref(), output); - } - - if (!unknown_fields().empty()) { - ::google::protobuf::internal::WireFormat::SerializeUnknownFields( - unknown_fields(), output); - } - // @@protoc_insertion_point(serialize_end:mozilla.devtools.protobuf.Edge) -} - -::google::protobuf::uint8* Edge::SerializeWithCachedSizesToArray( - ::google::protobuf::uint8* target) const { - // @@protoc_insertion_point(serialize_to_array_start:mozilla.devtools.protobuf.Edge) - // optional uint64 referent = 1; - if (has_referent()) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(1, this->referent(), target); - } - - // optional bytes name = 2; - if (has_name()) { - target = - ::google::protobuf::internal::WireFormatLite::WriteBytesToArray( - 2, this->name(), target); - } - - // optional uint64 nameRef = 3; - if (has_nameref()) { - target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->nameref(), target); - } - - if (!unknown_fields().empty()) { - target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( - unknown_fields(), target); - } - // @@protoc_insertion_point(serialize_to_array_end:mozilla.devtools.protobuf.Edge) - return target; -} - -int Edge::ByteSize() const { - int total_size = 0; - - if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { - // optional uint64 referent = 1; - if (has_referent()) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt64Size( - this->referent()); - } - - } - switch (EdgeNameOrRef_case()) { - // optional bytes name = 2; - case kName: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::BytesSize( - this->name()); - break; - } - // optional uint64 nameRef = 3; - case kNameRef: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::UInt64Size( - this->nameref()); - break; - } - case EDGENAMEORREF_NOT_SET: { - break; - } - } - if (!unknown_fields().empty()) { - total_size += - ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( - unknown_fields()); - } - GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); - _cached_size_ = total_size; - GOOGLE_SAFE_CONCURRENT_WRITES_END(); - return total_size; -} - -void Edge::MergeFrom(const ::google::protobuf::Message& from) { - GOOGLE_CHECK_NE(&from, this); - const Edge* source = - ::google::protobuf::internal::dynamic_cast_if_available( - &from); - if (source == NULL) { - ::google::protobuf::internal::ReflectionOps::Merge(from, this); - } else { - MergeFrom(*source); - } -} - -void Edge::MergeFrom(const Edge& from) { - GOOGLE_CHECK_NE(&from, this); - switch (from.EdgeNameOrRef_case()) { - case kName: { - set_name(from.name()); - break; - } - case kNameRef: { - set_nameref(from.nameref()); - break; - } - case EDGENAMEORREF_NOT_SET: { - break; - } - } - if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { - if (from.has_referent()) { - set_referent(from.referent()); - } - } - mutable_unknown_fields()->MergeFrom(from.unknown_fields()); -} - -void Edge::CopyFrom(const ::google::protobuf::Message& from) { - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -void Edge::CopyFrom(const Edge& from) { - if (&from == this) return; - Clear(); - MergeFrom(from); -} - -bool Edge::IsInitialized() const { - - return true; -} - -void Edge::Swap(Edge* other) { - if (other != this) { - std::swap(referent_, other->referent_); - std::swap(EdgeNameOrRef_, other->EdgeNameOrRef_); - std::swap(_oneof_case_[0], other->_oneof_case_[0]); - std::swap(_has_bits_[0], other->_has_bits_[0]); - _unknown_fields_.Swap(&other->_unknown_fields_); - std::swap(_cached_size_, other->_cached_size_); - } -} - -::google::protobuf::Metadata Edge::GetMetadata() const { - protobuf_AssignDescriptorsOnce(); - ::google::protobuf::Metadata metadata; - metadata.descriptor = Edge_descriptor_; - metadata.reflection = Edge_reflection_; - return metadata; -} - - -// @@protoc_insertion_point(namespace_scope) - -} // namespace protobuf -} // namespace devtools -} // namespace mozilla - -// @@protoc_insertion_point(global_scope) diff --git a/devtools/shared/heapsnapshot/CoreDump.pb.h b/devtools/shared/heapsnapshot/CoreDump.pb.h deleted file mode 100644 index 584c2e379..000000000 --- a/devtools/shared/heapsnapshot/CoreDump.pb.h +++ /dev/null @@ -1,1893 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: CoreDump.proto - -#ifndef PROTOBUF_CoreDump_2eproto__INCLUDED -#define PROTOBUF_CoreDump_2eproto__INCLUDED - -#include - -#include - -#if GOOGLE_PROTOBUF_VERSION < 2006000 -#error This file was generated by a newer version of protoc which is -#error incompatible with your Protocol Buffer headers. Please update -#error your headers. -#endif -#if 2006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION -#error This file was generated by an older version of protoc which is -#error incompatible with your Protocol Buffer headers. Please -#error regenerate this file with a newer version of protoc. -#endif - -#include -#include -#include -#include -#include -// @@protoc_insertion_point(includes) - -namespace mozilla { -namespace devtools { -namespace protobuf { - -// Internal implementation detail -- do not call these. -void protobuf_AddDesc_CoreDump_2eproto(); -void protobuf_AssignDesc_CoreDump_2eproto(); -void protobuf_ShutdownFile_CoreDump_2eproto(); - -class Metadata; -class StackFrame; -class StackFrame_Data; -class Node; -class Edge; - -// =================================================================== - -class Metadata : public ::google::protobuf::Message { - public: - Metadata(); - virtual ~Metadata(); - - Metadata(const Metadata& from); - - inline Metadata& operator=(const Metadata& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const Metadata& default_instance(); - - void Swap(Metadata* other); - - // implements Message ---------------------------------------------- - - Metadata* New() const; - void CopyFrom(const ::google::protobuf::Message& from); - void MergeFrom(const ::google::protobuf::Message& from); - void CopyFrom(const Metadata& from); - void MergeFrom(const Metadata& from); - void Clear(); - bool IsInitialized() const; - - int ByteSize() const; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input); - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const; - ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint64 timeStamp = 1; - inline bool has_timestamp() const; - inline void clear_timestamp(); - static const int kTimeStampFieldNumber = 1; - inline ::google::protobuf::uint64 timestamp() const; - inline void set_timestamp(::google::protobuf::uint64 value); - - // @@protoc_insertion_point(class_scope:mozilla.devtools.protobuf.Metadata) - private: - inline void set_has_timestamp(); - inline void clear_has_timestamp(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 timestamp_; - friend void protobuf_AddDesc_CoreDump_2eproto(); - friend void protobuf_AssignDesc_CoreDump_2eproto(); - friend void protobuf_ShutdownFile_CoreDump_2eproto(); - - void InitAsDefaultInstance(); - static Metadata* default_instance_; -}; -// ------------------------------------------------------------------- - -class StackFrame_Data : public ::google::protobuf::Message { - public: - StackFrame_Data(); - virtual ~StackFrame_Data(); - - StackFrame_Data(const StackFrame_Data& from); - - inline StackFrame_Data& operator=(const StackFrame_Data& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StackFrame_Data& default_instance(); - - enum SourceOrRefCase { - kSource = 5, - kSourceRef = 6, - SOURCEORREF_NOT_SET = 0, - }; - - enum FunctionDisplayNameOrRefCase { - kFunctionDisplayName = 7, - kFunctionDisplayNameRef = 8, - FUNCTIONDISPLAYNAMEORREF_NOT_SET = 0, - }; - - void Swap(StackFrame_Data* other); - - // implements Message ---------------------------------------------- - - StackFrame_Data* New() const; - void CopyFrom(const ::google::protobuf::Message& from); - void MergeFrom(const ::google::protobuf::Message& from); - void CopyFrom(const StackFrame_Data& from); - void MergeFrom(const StackFrame_Data& from); - void Clear(); - bool IsInitialized() const; - - int ByteSize() const; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input); - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const; - ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint64 id = 1; - inline bool has_id() const; - inline void clear_id(); - static const int kIdFieldNumber = 1; - inline ::google::protobuf::uint64 id() const; - inline void set_id(::google::protobuf::uint64 value); - - // optional .mozilla.devtools.protobuf.StackFrame parent = 2; - inline bool has_parent() const; - inline void clear_parent(); - static const int kParentFieldNumber = 2; - inline const ::mozilla::devtools::protobuf::StackFrame& parent() const; - inline ::mozilla::devtools::protobuf::StackFrame* mutable_parent(); - inline ::mozilla::devtools::protobuf::StackFrame* release_parent(); - inline void set_allocated_parent(::mozilla::devtools::protobuf::StackFrame* parent); - - // optional uint32 line = 3; - inline bool has_line() const; - inline void clear_line(); - static const int kLineFieldNumber = 3; - inline ::google::protobuf::uint32 line() const; - inline void set_line(::google::protobuf::uint32 value); - - // optional uint32 column = 4; - inline bool has_column() const; - inline void clear_column(); - static const int kColumnFieldNumber = 4; - inline ::google::protobuf::uint32 column() const; - inline void set_column(::google::protobuf::uint32 value); - - // optional bytes source = 5; - inline bool has_source() const; - inline void clear_source(); - static const int kSourceFieldNumber = 5; - inline const ::std::string& source() const; - inline void set_source(const ::std::string& value); - inline void set_source(const char* value); - inline void set_source(const void* value, size_t size); - inline ::std::string* mutable_source(); - inline ::std::string* release_source(); - inline void set_allocated_source(::std::string* source); - - // optional uint64 sourceRef = 6; - inline bool has_sourceref() const; - inline void clear_sourceref(); - static const int kSourceRefFieldNumber = 6; - inline ::google::protobuf::uint64 sourceref() const; - inline void set_sourceref(::google::protobuf::uint64 value); - - // optional bytes functionDisplayName = 7; - inline bool has_functiondisplayname() const; - inline void clear_functiondisplayname(); - static const int kFunctionDisplayNameFieldNumber = 7; - inline const ::std::string& functiondisplayname() const; - inline void set_functiondisplayname(const ::std::string& value); - inline void set_functiondisplayname(const char* value); - inline void set_functiondisplayname(const void* value, size_t size); - inline ::std::string* mutable_functiondisplayname(); - inline ::std::string* release_functiondisplayname(); - inline void set_allocated_functiondisplayname(::std::string* functiondisplayname); - - // optional uint64 functionDisplayNameRef = 8; - inline bool has_functiondisplaynameref() const; - inline void clear_functiondisplaynameref(); - static const int kFunctionDisplayNameRefFieldNumber = 8; - inline ::google::protobuf::uint64 functiondisplaynameref() const; - inline void set_functiondisplaynameref(::google::protobuf::uint64 value); - - // optional bool isSystem = 9; - inline bool has_issystem() const; - inline void clear_issystem(); - static const int kIsSystemFieldNumber = 9; - inline bool issystem() const; - inline void set_issystem(bool value); - - // optional bool isSelfHosted = 10; - inline bool has_isselfhosted() const; - inline void clear_isselfhosted(); - static const int kIsSelfHostedFieldNumber = 10; - inline bool isselfhosted() const; - inline void set_isselfhosted(bool value); - - inline SourceOrRefCase SourceOrRef_case() const; - inline FunctionDisplayNameOrRefCase FunctionDisplayNameOrRef_case() const; - // @@protoc_insertion_point(class_scope:mozilla.devtools.protobuf.StackFrame.Data) - private: - inline void set_has_id(); - inline void clear_has_id(); - inline void set_has_parent(); - inline void clear_has_parent(); - inline void set_has_line(); - inline void clear_has_line(); - inline void set_has_column(); - inline void clear_has_column(); - inline void set_has_source(); - inline void set_has_sourceref(); - inline void set_has_functiondisplayname(); - inline void set_has_functiondisplaynameref(); - inline void set_has_issystem(); - inline void clear_has_issystem(); - inline void set_has_isselfhosted(); - inline void clear_has_isselfhosted(); - - inline bool has_SourceOrRef(); - void clear_SourceOrRef(); - inline void clear_has_SourceOrRef(); - - inline bool has_FunctionDisplayNameOrRef(); - void clear_FunctionDisplayNameOrRef(); - inline void clear_has_FunctionDisplayNameOrRef(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 id_; - ::mozilla::devtools::protobuf::StackFrame* parent_; - ::google::protobuf::uint32 line_; - ::google::protobuf::uint32 column_; - bool issystem_; - bool isselfhosted_; - union SourceOrRefUnion { - ::std::string* source_; - ::google::protobuf::uint64 sourceref_; - } SourceOrRef_; - union FunctionDisplayNameOrRefUnion { - ::std::string* functiondisplayname_; - ::google::protobuf::uint64 functiondisplaynameref_; - } FunctionDisplayNameOrRef_; - ::google::protobuf::uint32 _oneof_case_[2]; - - friend void protobuf_AddDesc_CoreDump_2eproto(); - friend void protobuf_AssignDesc_CoreDump_2eproto(); - friend void protobuf_ShutdownFile_CoreDump_2eproto(); - - void InitAsDefaultInstance(); - static StackFrame_Data* default_instance_; -}; -// ------------------------------------------------------------------- - -class StackFrame : public ::google::protobuf::Message { - public: - StackFrame(); - virtual ~StackFrame(); - - StackFrame(const StackFrame& from); - - inline StackFrame& operator=(const StackFrame& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const StackFrame& default_instance(); - - enum StackFrameTypeCase { - kData = 1, - kRef = 2, - STACKFRAMETYPE_NOT_SET = 0, - }; - - void Swap(StackFrame* other); - - // implements Message ---------------------------------------------- - - StackFrame* New() const; - void CopyFrom(const ::google::protobuf::Message& from); - void MergeFrom(const ::google::protobuf::Message& from); - void CopyFrom(const StackFrame& from); - void MergeFrom(const StackFrame& from); - void Clear(); - bool IsInitialized() const; - - int ByteSize() const; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input); - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const; - ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - typedef StackFrame_Data Data; - - // accessors ------------------------------------------------------- - - // optional .mozilla.devtools.protobuf.StackFrame.Data data = 1; - inline bool has_data() const; - inline void clear_data(); - static const int kDataFieldNumber = 1; - inline const ::mozilla::devtools::protobuf::StackFrame_Data& data() const; - inline ::mozilla::devtools::protobuf::StackFrame_Data* mutable_data(); - inline ::mozilla::devtools::protobuf::StackFrame_Data* release_data(); - inline void set_allocated_data(::mozilla::devtools::protobuf::StackFrame_Data* data); - - // optional uint64 ref = 2; - inline bool has_ref() const; - inline void clear_ref(); - static const int kRefFieldNumber = 2; - inline ::google::protobuf::uint64 ref() const; - inline void set_ref(::google::protobuf::uint64 value); - - inline StackFrameTypeCase StackFrameType_case() const; - // @@protoc_insertion_point(class_scope:mozilla.devtools.protobuf.StackFrame) - private: - inline void set_has_data(); - inline void set_has_ref(); - - inline bool has_StackFrameType(); - void clear_StackFrameType(); - inline void clear_has_StackFrameType(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - union StackFrameTypeUnion { - ::mozilla::devtools::protobuf::StackFrame_Data* data_; - ::google::protobuf::uint64 ref_; - } StackFrameType_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend void protobuf_AddDesc_CoreDump_2eproto(); - friend void protobuf_AssignDesc_CoreDump_2eproto(); - friend void protobuf_ShutdownFile_CoreDump_2eproto(); - - void InitAsDefaultInstance(); - static StackFrame* default_instance_; -}; -// ------------------------------------------------------------------- - -class Node : public ::google::protobuf::Message { - public: - Node(); - virtual ~Node(); - - Node(const Node& from); - - inline Node& operator=(const Node& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const Node& default_instance(); - - enum TypeNameOrRefCase { - kTypeName = 2, - kTypeNameRef = 3, - TYPENAMEORREF_NOT_SET = 0, - }; - - enum JSObjectClassNameOrRefCase { - kJsObjectClassName = 7, - kJsObjectClassNameRef = 8, - JSOBJECTCLASSNAMEORREF_NOT_SET = 0, - }; - - enum ScriptFilenameOrRefCase { - kScriptFilename = 10, - kScriptFilenameRef = 11, - SCRIPTFILENAMEORREF_NOT_SET = 0, - }; - - void Swap(Node* other); - - // implements Message ---------------------------------------------- - - Node* New() const; - void CopyFrom(const ::google::protobuf::Message& from); - void MergeFrom(const ::google::protobuf::Message& from); - void CopyFrom(const Node& from); - void MergeFrom(const Node& from); - void Clear(); - bool IsInitialized() const; - - int ByteSize() const; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input); - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const; - ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint64 id = 1; - inline bool has_id() const; - inline void clear_id(); - static const int kIdFieldNumber = 1; - inline ::google::protobuf::uint64 id() const; - inline void set_id(::google::protobuf::uint64 value); - - // optional bytes typeName = 2; - inline bool has_typename_() const; - inline void clear_typename_(); - static const int kTypeNameFieldNumber = 2; - inline const ::std::string& typename_() const; - inline void set_typename_(const ::std::string& value); - inline void set_typename_(const char* value); - inline void set_typename_(const void* value, size_t size); - inline ::std::string* mutable_typename_(); - inline ::std::string* release_typename_(); - inline void set_allocated_typename_(::std::string* typename_); - - // optional uint64 typeNameRef = 3; - inline bool has_typenameref() const; - inline void clear_typenameref(); - static const int kTypeNameRefFieldNumber = 3; - inline ::google::protobuf::uint64 typenameref() const; - inline void set_typenameref(::google::protobuf::uint64 value); - - // optional uint64 size = 4; - inline bool has_size() const; - inline void clear_size(); - static const int kSizeFieldNumber = 4; - inline ::google::protobuf::uint64 size() const; - inline void set_size(::google::protobuf::uint64 value); - - // repeated .mozilla.devtools.protobuf.Edge edges = 5; - inline int edges_size() const; - inline void clear_edges(); - static const int kEdgesFieldNumber = 5; - inline const ::mozilla::devtools::protobuf::Edge& edges(int index) const; - inline ::mozilla::devtools::protobuf::Edge* mutable_edges(int index); - inline ::mozilla::devtools::protobuf::Edge* add_edges(); - inline const ::google::protobuf::RepeatedPtrField< ::mozilla::devtools::protobuf::Edge >& - edges() const; - inline ::google::protobuf::RepeatedPtrField< ::mozilla::devtools::protobuf::Edge >* - mutable_edges(); - - // optional .mozilla.devtools.protobuf.StackFrame allocationStack = 6; - inline bool has_allocationstack() const; - inline void clear_allocationstack(); - static const int kAllocationStackFieldNumber = 6; - inline const ::mozilla::devtools::protobuf::StackFrame& allocationstack() const; - inline ::mozilla::devtools::protobuf::StackFrame* mutable_allocationstack(); - inline ::mozilla::devtools::protobuf::StackFrame* release_allocationstack(); - inline void set_allocated_allocationstack(::mozilla::devtools::protobuf::StackFrame* allocationstack); - - // optional bytes jsObjectClassName = 7; - inline bool has_jsobjectclassname() const; - inline void clear_jsobjectclassname(); - static const int kJsObjectClassNameFieldNumber = 7; - inline const ::std::string& jsobjectclassname() const; - inline void set_jsobjectclassname(const ::std::string& value); - inline void set_jsobjectclassname(const char* value); - inline void set_jsobjectclassname(const void* value, size_t size); - inline ::std::string* mutable_jsobjectclassname(); - inline ::std::string* release_jsobjectclassname(); - inline void set_allocated_jsobjectclassname(::std::string* jsobjectclassname); - - // optional uint64 jsObjectClassNameRef = 8; - inline bool has_jsobjectclassnameref() const; - inline void clear_jsobjectclassnameref(); - static const int kJsObjectClassNameRefFieldNumber = 8; - inline ::google::protobuf::uint64 jsobjectclassnameref() const; - inline void set_jsobjectclassnameref(::google::protobuf::uint64 value); - - // optional uint32 coarseType = 9 [default = 0]; - inline bool has_coarsetype() const; - inline void clear_coarsetype(); - static const int kCoarseTypeFieldNumber = 9; - inline ::google::protobuf::uint32 coarsetype() const; - inline void set_coarsetype(::google::protobuf::uint32 value); - - // optional bytes scriptFilename = 10; - inline bool has_scriptfilename() const; - inline void clear_scriptfilename(); - static const int kScriptFilenameFieldNumber = 10; - inline const ::std::string& scriptfilename() const; - inline void set_scriptfilename(const ::std::string& value); - inline void set_scriptfilename(const char* value); - inline void set_scriptfilename(const void* value, size_t size); - inline ::std::string* mutable_scriptfilename(); - inline ::std::string* release_scriptfilename(); - inline void set_allocated_scriptfilename(::std::string* scriptfilename); - - // optional uint64 scriptFilenameRef = 11; - inline bool has_scriptfilenameref() const; - inline void clear_scriptfilenameref(); - static const int kScriptFilenameRefFieldNumber = 11; - inline ::google::protobuf::uint64 scriptfilenameref() const; - inline void set_scriptfilenameref(::google::protobuf::uint64 value); - - inline TypeNameOrRefCase TypeNameOrRef_case() const; - inline JSObjectClassNameOrRefCase JSObjectClassNameOrRef_case() const; - inline ScriptFilenameOrRefCase ScriptFilenameOrRef_case() const; - // @@protoc_insertion_point(class_scope:mozilla.devtools.protobuf.Node) - private: - inline void set_has_id(); - inline void clear_has_id(); - inline void set_has_typename_(); - inline void set_has_typenameref(); - inline void set_has_size(); - inline void clear_has_size(); - inline void set_has_allocationstack(); - inline void clear_has_allocationstack(); - inline void set_has_jsobjectclassname(); - inline void set_has_jsobjectclassnameref(); - inline void set_has_coarsetype(); - inline void clear_has_coarsetype(); - inline void set_has_scriptfilename(); - inline void set_has_scriptfilenameref(); - - inline bool has_TypeNameOrRef(); - void clear_TypeNameOrRef(); - inline void clear_has_TypeNameOrRef(); - - inline bool has_JSObjectClassNameOrRef(); - void clear_JSObjectClassNameOrRef(); - inline void clear_has_JSObjectClassNameOrRef(); - - inline bool has_ScriptFilenameOrRef(); - void clear_ScriptFilenameOrRef(); - inline void clear_has_ScriptFilenameOrRef(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 id_; - ::google::protobuf::uint64 size_; - ::google::protobuf::RepeatedPtrField< ::mozilla::devtools::protobuf::Edge > edges_; - ::mozilla::devtools::protobuf::StackFrame* allocationstack_; - ::google::protobuf::uint32 coarsetype_; - union TypeNameOrRefUnion { - ::std::string* typename__; - ::google::protobuf::uint64 typenameref_; - } TypeNameOrRef_; - union JSObjectClassNameOrRefUnion { - ::std::string* jsobjectclassname_; - ::google::protobuf::uint64 jsobjectclassnameref_; - } JSObjectClassNameOrRef_; - union ScriptFilenameOrRefUnion { - ::std::string* scriptfilename_; - ::google::protobuf::uint64 scriptfilenameref_; - } ScriptFilenameOrRef_; - ::google::protobuf::uint32 _oneof_case_[3]; - - friend void protobuf_AddDesc_CoreDump_2eproto(); - friend void protobuf_AssignDesc_CoreDump_2eproto(); - friend void protobuf_ShutdownFile_CoreDump_2eproto(); - - void InitAsDefaultInstance(); - static Node* default_instance_; -}; -// ------------------------------------------------------------------- - -class Edge : public ::google::protobuf::Message { - public: - Edge(); - virtual ~Edge(); - - Edge(const Edge& from); - - inline Edge& operator=(const Edge& from) { - CopyFrom(from); - return *this; - } - - inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { - return _unknown_fields_; - } - - inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { - return &_unknown_fields_; - } - - static const ::google::protobuf::Descriptor* descriptor(); - static const Edge& default_instance(); - - enum EdgeNameOrRefCase { - kName = 2, - kNameRef = 3, - EDGENAMEORREF_NOT_SET = 0, - }; - - void Swap(Edge* other); - - // implements Message ---------------------------------------------- - - Edge* New() const; - void CopyFrom(const ::google::protobuf::Message& from); - void MergeFrom(const ::google::protobuf::Message& from); - void CopyFrom(const Edge& from); - void MergeFrom(const Edge& from); - void Clear(); - bool IsInitialized() const; - - int ByteSize() const; - bool MergePartialFromCodedStream( - ::google::protobuf::io::CodedInputStream* input); - void SerializeWithCachedSizes( - ::google::protobuf::io::CodedOutputStream* output) const; - ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; - int GetCachedSize() const { return _cached_size_; } - private: - void SharedCtor(); - void SharedDtor(); - void SetCachedSize(int size) const; - public: - ::google::protobuf::Metadata GetMetadata() const; - - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - - // optional uint64 referent = 1; - inline bool has_referent() const; - inline void clear_referent(); - static const int kReferentFieldNumber = 1; - inline ::google::protobuf::uint64 referent() const; - inline void set_referent(::google::protobuf::uint64 value); - - // optional bytes name = 2; - inline bool has_name() const; - inline void clear_name(); - static const int kNameFieldNumber = 2; - inline const ::std::string& name() const; - inline void set_name(const ::std::string& value); - inline void set_name(const char* value); - inline void set_name(const void* value, size_t size); - inline ::std::string* mutable_name(); - inline ::std::string* release_name(); - inline void set_allocated_name(::std::string* name); - - // optional uint64 nameRef = 3; - inline bool has_nameref() const; - inline void clear_nameref(); - static const int kNameRefFieldNumber = 3; - inline ::google::protobuf::uint64 nameref() const; - inline void set_nameref(::google::protobuf::uint64 value); - - inline EdgeNameOrRefCase EdgeNameOrRef_case() const; - // @@protoc_insertion_point(class_scope:mozilla.devtools.protobuf.Edge) - private: - inline void set_has_referent(); - inline void clear_has_referent(); - inline void set_has_name(); - inline void set_has_nameref(); - - inline bool has_EdgeNameOrRef(); - void clear_EdgeNameOrRef(); - inline void clear_has_EdgeNameOrRef(); - - ::google::protobuf::UnknownFieldSet _unknown_fields_; - - ::google::protobuf::uint32 _has_bits_[1]; - mutable int _cached_size_; - ::google::protobuf::uint64 referent_; - union EdgeNameOrRefUnion { - ::std::string* name_; - ::google::protobuf::uint64 nameref_; - } EdgeNameOrRef_; - ::google::protobuf::uint32 _oneof_case_[1]; - - friend void protobuf_AddDesc_CoreDump_2eproto(); - friend void protobuf_AssignDesc_CoreDump_2eproto(); - friend void protobuf_ShutdownFile_CoreDump_2eproto(); - - void InitAsDefaultInstance(); - static Edge* default_instance_; -}; -// =================================================================== - - -// =================================================================== - -// Metadata - -// optional uint64 timeStamp = 1; -inline bool Metadata::has_timestamp() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void Metadata::set_has_timestamp() { - _has_bits_[0] |= 0x00000001u; -} -inline void Metadata::clear_has_timestamp() { - _has_bits_[0] &= ~0x00000001u; -} -inline void Metadata::clear_timestamp() { - timestamp_ = GOOGLE_ULONGLONG(0); - clear_has_timestamp(); -} -inline ::google::protobuf::uint64 Metadata::timestamp() const { - // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Metadata.timeStamp) - return timestamp_; -} -inline void Metadata::set_timestamp(::google::protobuf::uint64 value) { - set_has_timestamp(); - timestamp_ = value; - // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.Metadata.timeStamp) -} - -// ------------------------------------------------------------------- - -// StackFrame_Data - -// optional uint64 id = 1; -inline bool StackFrame_Data::has_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void StackFrame_Data::set_has_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void StackFrame_Data::clear_has_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void StackFrame_Data::clear_id() { - id_ = GOOGLE_ULONGLONG(0); - clear_has_id(); -} -inline ::google::protobuf::uint64 StackFrame_Data::id() const { - // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.StackFrame.Data.id) - return id_; -} -inline void StackFrame_Data::set_id(::google::protobuf::uint64 value) { - set_has_id(); - id_ = value; - // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.StackFrame.Data.id) -} - -// optional .mozilla.devtools.protobuf.StackFrame parent = 2; -inline bool StackFrame_Data::has_parent() const { - return (_has_bits_[0] & 0x00000002u) != 0; -} -inline void StackFrame_Data::set_has_parent() { - _has_bits_[0] |= 0x00000002u; -} -inline void StackFrame_Data::clear_has_parent() { - _has_bits_[0] &= ~0x00000002u; -} -inline void StackFrame_Data::clear_parent() { - if (parent_ != NULL) parent_->::mozilla::devtools::protobuf::StackFrame::Clear(); - clear_has_parent(); -} -inline const ::mozilla::devtools::protobuf::StackFrame& StackFrame_Data::parent() const { - // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.StackFrame.Data.parent) - return parent_ != NULL ? *parent_ : *default_instance_->parent_; -} -inline ::mozilla::devtools::protobuf::StackFrame* StackFrame_Data::mutable_parent() { - set_has_parent(); - if (parent_ == NULL) parent_ = new ::mozilla::devtools::protobuf::StackFrame; - // @@protoc_insertion_point(field_mutable:mozilla.devtools.protobuf.StackFrame.Data.parent) - return parent_; -} -inline ::mozilla::devtools::protobuf::StackFrame* StackFrame_Data::release_parent() { - clear_has_parent(); - ::mozilla::devtools::protobuf::StackFrame* temp = parent_; - parent_ = NULL; - return temp; -} -inline void StackFrame_Data::set_allocated_parent(::mozilla::devtools::protobuf::StackFrame* parent) { - delete parent_; - parent_ = parent; - if (parent) { - set_has_parent(); - } else { - clear_has_parent(); - } - // @@protoc_insertion_point(field_set_allocated:mozilla.devtools.protobuf.StackFrame.Data.parent) -} - -// optional uint32 line = 3; -inline bool StackFrame_Data::has_line() const { - return (_has_bits_[0] & 0x00000004u) != 0; -} -inline void StackFrame_Data::set_has_line() { - _has_bits_[0] |= 0x00000004u; -} -inline void StackFrame_Data::clear_has_line() { - _has_bits_[0] &= ~0x00000004u; -} -inline void StackFrame_Data::clear_line() { - line_ = 0u; - clear_has_line(); -} -inline ::google::protobuf::uint32 StackFrame_Data::line() const { - // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.StackFrame.Data.line) - return line_; -} -inline void StackFrame_Data::set_line(::google::protobuf::uint32 value) { - set_has_line(); - line_ = value; - // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.StackFrame.Data.line) -} - -// optional uint32 column = 4; -inline bool StackFrame_Data::has_column() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void StackFrame_Data::set_has_column() { - _has_bits_[0] |= 0x00000008u; -} -inline void StackFrame_Data::clear_has_column() { - _has_bits_[0] &= ~0x00000008u; -} -inline void StackFrame_Data::clear_column() { - column_ = 0u; - clear_has_column(); -} -inline ::google::protobuf::uint32 StackFrame_Data::column() const { - // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.StackFrame.Data.column) - return column_; -} -inline void StackFrame_Data::set_column(::google::protobuf::uint32 value) { - set_has_column(); - column_ = value; - // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.StackFrame.Data.column) -} - -// optional bytes source = 5; -inline bool StackFrame_Data::has_source() const { - return SourceOrRef_case() == kSource; -} -inline void StackFrame_Data::set_has_source() { - _oneof_case_[0] = kSource; -} -inline void StackFrame_Data::clear_source() { - if (has_source()) { - delete SourceOrRef_.source_; - clear_has_SourceOrRef(); - } -} -inline const ::std::string& StackFrame_Data::source() const { - if (has_source()) { - return *SourceOrRef_.source_; - } - return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void StackFrame_Data::set_source(const ::std::string& value) { - if (!has_source()) { - clear_SourceOrRef(); - set_has_source(); - SourceOrRef_.source_ = new ::std::string; - } - SourceOrRef_.source_->assign(value); -} -inline void StackFrame_Data::set_source(const char* value) { - if (!has_source()) { - clear_SourceOrRef(); - set_has_source(); - SourceOrRef_.source_ = new ::std::string; - } - SourceOrRef_.source_->assign(value); -} -inline void StackFrame_Data::set_source(const void* value, size_t size) { - if (!has_source()) { - clear_SourceOrRef(); - set_has_source(); - SourceOrRef_.source_ = new ::std::string; - } - SourceOrRef_.source_->assign( - reinterpret_cast(value), size); -} -inline ::std::string* StackFrame_Data::mutable_source() { - if (!has_source()) { - clear_SourceOrRef(); - set_has_source(); - SourceOrRef_.source_ = new ::std::string; - } - return SourceOrRef_.source_; -} -inline ::std::string* StackFrame_Data::release_source() { - if (has_source()) { - clear_has_SourceOrRef(); - ::std::string* temp = SourceOrRef_.source_; - SourceOrRef_.source_ = NULL; - return temp; - } else { - return NULL; - } -} -inline void StackFrame_Data::set_allocated_source(::std::string* source) { - clear_SourceOrRef(); - if (source) { - set_has_source(); - SourceOrRef_.source_ = source; - } -} - -// optional uint64 sourceRef = 6; -inline bool StackFrame_Data::has_sourceref() const { - return SourceOrRef_case() == kSourceRef; -} -inline void StackFrame_Data::set_has_sourceref() { - _oneof_case_[0] = kSourceRef; -} -inline void StackFrame_Data::clear_sourceref() { - if (has_sourceref()) { - SourceOrRef_.sourceref_ = GOOGLE_ULONGLONG(0); - clear_has_SourceOrRef(); - } -} -inline ::google::protobuf::uint64 StackFrame_Data::sourceref() const { - if (has_sourceref()) { - return SourceOrRef_.sourceref_; - } - return GOOGLE_ULONGLONG(0); -} -inline void StackFrame_Data::set_sourceref(::google::protobuf::uint64 value) { - if (!has_sourceref()) { - clear_SourceOrRef(); - set_has_sourceref(); - } - SourceOrRef_.sourceref_ = value; -} - -// optional bytes functionDisplayName = 7; -inline bool StackFrame_Data::has_functiondisplayname() const { - return FunctionDisplayNameOrRef_case() == kFunctionDisplayName; -} -inline void StackFrame_Data::set_has_functiondisplayname() { - _oneof_case_[1] = kFunctionDisplayName; -} -inline void StackFrame_Data::clear_functiondisplayname() { - if (has_functiondisplayname()) { - delete FunctionDisplayNameOrRef_.functiondisplayname_; - clear_has_FunctionDisplayNameOrRef(); - } -} -inline const ::std::string& StackFrame_Data::functiondisplayname() const { - if (has_functiondisplayname()) { - return *FunctionDisplayNameOrRef_.functiondisplayname_; - } - return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void StackFrame_Data::set_functiondisplayname(const ::std::string& value) { - if (!has_functiondisplayname()) { - clear_FunctionDisplayNameOrRef(); - set_has_functiondisplayname(); - FunctionDisplayNameOrRef_.functiondisplayname_ = new ::std::string; - } - FunctionDisplayNameOrRef_.functiondisplayname_->assign(value); -} -inline void StackFrame_Data::set_functiondisplayname(const char* value) { - if (!has_functiondisplayname()) { - clear_FunctionDisplayNameOrRef(); - set_has_functiondisplayname(); - FunctionDisplayNameOrRef_.functiondisplayname_ = new ::std::string; - } - FunctionDisplayNameOrRef_.functiondisplayname_->assign(value); -} -inline void StackFrame_Data::set_functiondisplayname(const void* value, size_t size) { - if (!has_functiondisplayname()) { - clear_FunctionDisplayNameOrRef(); - set_has_functiondisplayname(); - FunctionDisplayNameOrRef_.functiondisplayname_ = new ::std::string; - } - FunctionDisplayNameOrRef_.functiondisplayname_->assign( - reinterpret_cast(value), size); -} -inline ::std::string* StackFrame_Data::mutable_functiondisplayname() { - if (!has_functiondisplayname()) { - clear_FunctionDisplayNameOrRef(); - set_has_functiondisplayname(); - FunctionDisplayNameOrRef_.functiondisplayname_ = new ::std::string; - } - return FunctionDisplayNameOrRef_.functiondisplayname_; -} -inline ::std::string* StackFrame_Data::release_functiondisplayname() { - if (has_functiondisplayname()) { - clear_has_FunctionDisplayNameOrRef(); - ::std::string* temp = FunctionDisplayNameOrRef_.functiondisplayname_; - FunctionDisplayNameOrRef_.functiondisplayname_ = NULL; - return temp; - } else { - return NULL; - } -} -inline void StackFrame_Data::set_allocated_functiondisplayname(::std::string* functiondisplayname) { - clear_FunctionDisplayNameOrRef(); - if (functiondisplayname) { - set_has_functiondisplayname(); - FunctionDisplayNameOrRef_.functiondisplayname_ = functiondisplayname; - } -} - -// optional uint64 functionDisplayNameRef = 8; -inline bool StackFrame_Data::has_functiondisplaynameref() const { - return FunctionDisplayNameOrRef_case() == kFunctionDisplayNameRef; -} -inline void StackFrame_Data::set_has_functiondisplaynameref() { - _oneof_case_[1] = kFunctionDisplayNameRef; -} -inline void StackFrame_Data::clear_functiondisplaynameref() { - if (has_functiondisplaynameref()) { - FunctionDisplayNameOrRef_.functiondisplaynameref_ = GOOGLE_ULONGLONG(0); - clear_has_FunctionDisplayNameOrRef(); - } -} -inline ::google::protobuf::uint64 StackFrame_Data::functiondisplaynameref() const { - if (has_functiondisplaynameref()) { - return FunctionDisplayNameOrRef_.functiondisplaynameref_; - } - return GOOGLE_ULONGLONG(0); -} -inline void StackFrame_Data::set_functiondisplaynameref(::google::protobuf::uint64 value) { - if (!has_functiondisplaynameref()) { - clear_FunctionDisplayNameOrRef(); - set_has_functiondisplaynameref(); - } - FunctionDisplayNameOrRef_.functiondisplaynameref_ = value; -} - -// optional bool isSystem = 9; -inline bool StackFrame_Data::has_issystem() const { - return (_has_bits_[0] & 0x00000100u) != 0; -} -inline void StackFrame_Data::set_has_issystem() { - _has_bits_[0] |= 0x00000100u; -} -inline void StackFrame_Data::clear_has_issystem() { - _has_bits_[0] &= ~0x00000100u; -} -inline void StackFrame_Data::clear_issystem() { - issystem_ = false; - clear_has_issystem(); -} -inline bool StackFrame_Data::issystem() const { - // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.StackFrame.Data.isSystem) - return issystem_; -} -inline void StackFrame_Data::set_issystem(bool value) { - set_has_issystem(); - issystem_ = value; - // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.StackFrame.Data.isSystem) -} - -// optional bool isSelfHosted = 10; -inline bool StackFrame_Data::has_isselfhosted() const { - return (_has_bits_[0] & 0x00000200u) != 0; -} -inline void StackFrame_Data::set_has_isselfhosted() { - _has_bits_[0] |= 0x00000200u; -} -inline void StackFrame_Data::clear_has_isselfhosted() { - _has_bits_[0] &= ~0x00000200u; -} -inline void StackFrame_Data::clear_isselfhosted() { - isselfhosted_ = false; - clear_has_isselfhosted(); -} -inline bool StackFrame_Data::isselfhosted() const { - // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.StackFrame.Data.isSelfHosted) - return isselfhosted_; -} -inline void StackFrame_Data::set_isselfhosted(bool value) { - set_has_isselfhosted(); - isselfhosted_ = value; - // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.StackFrame.Data.isSelfHosted) -} - -inline bool StackFrame_Data::has_SourceOrRef() { - return SourceOrRef_case() != SOURCEORREF_NOT_SET; -} -inline void StackFrame_Data::clear_has_SourceOrRef() { - _oneof_case_[0] = SOURCEORREF_NOT_SET; -} -inline bool StackFrame_Data::has_FunctionDisplayNameOrRef() { - return FunctionDisplayNameOrRef_case() != FUNCTIONDISPLAYNAMEORREF_NOT_SET; -} -inline void StackFrame_Data::clear_has_FunctionDisplayNameOrRef() { - _oneof_case_[1] = FUNCTIONDISPLAYNAMEORREF_NOT_SET; -} -inline StackFrame_Data::SourceOrRefCase StackFrame_Data::SourceOrRef_case() const { - return StackFrame_Data::SourceOrRefCase(_oneof_case_[0]); -} -inline StackFrame_Data::FunctionDisplayNameOrRefCase StackFrame_Data::FunctionDisplayNameOrRef_case() const { - return StackFrame_Data::FunctionDisplayNameOrRefCase(_oneof_case_[1]); -} -// ------------------------------------------------------------------- - -// StackFrame - -// optional .mozilla.devtools.protobuf.StackFrame.Data data = 1; -inline bool StackFrame::has_data() const { - return StackFrameType_case() == kData; -} -inline void StackFrame::set_has_data() { - _oneof_case_[0] = kData; -} -inline void StackFrame::clear_data() { - if (has_data()) { - delete StackFrameType_.data_; - clear_has_StackFrameType(); - } -} -inline const ::mozilla::devtools::protobuf::StackFrame_Data& StackFrame::data() const { - return has_data() ? *StackFrameType_.data_ - : ::mozilla::devtools::protobuf::StackFrame_Data::default_instance(); -} -inline ::mozilla::devtools::protobuf::StackFrame_Data* StackFrame::mutable_data() { - if (!has_data()) { - clear_StackFrameType(); - set_has_data(); - StackFrameType_.data_ = new ::mozilla::devtools::protobuf::StackFrame_Data; - } - return StackFrameType_.data_; -} -inline ::mozilla::devtools::protobuf::StackFrame_Data* StackFrame::release_data() { - if (has_data()) { - clear_has_StackFrameType(); - ::mozilla::devtools::protobuf::StackFrame_Data* temp = StackFrameType_.data_; - StackFrameType_.data_ = NULL; - return temp; - } else { - return NULL; - } -} -inline void StackFrame::set_allocated_data(::mozilla::devtools::protobuf::StackFrame_Data* data) { - clear_StackFrameType(); - if (data) { - set_has_data(); - StackFrameType_.data_ = data; - } -} - -// optional uint64 ref = 2; -inline bool StackFrame::has_ref() const { - return StackFrameType_case() == kRef; -} -inline void StackFrame::set_has_ref() { - _oneof_case_[0] = kRef; -} -inline void StackFrame::clear_ref() { - if (has_ref()) { - StackFrameType_.ref_ = GOOGLE_ULONGLONG(0); - clear_has_StackFrameType(); - } -} -inline ::google::protobuf::uint64 StackFrame::ref() const { - if (has_ref()) { - return StackFrameType_.ref_; - } - return GOOGLE_ULONGLONG(0); -} -inline void StackFrame::set_ref(::google::protobuf::uint64 value) { - if (!has_ref()) { - clear_StackFrameType(); - set_has_ref(); - } - StackFrameType_.ref_ = value; -} - -inline bool StackFrame::has_StackFrameType() { - return StackFrameType_case() != STACKFRAMETYPE_NOT_SET; -} -inline void StackFrame::clear_has_StackFrameType() { - _oneof_case_[0] = STACKFRAMETYPE_NOT_SET; -} -inline StackFrame::StackFrameTypeCase StackFrame::StackFrameType_case() const { - return StackFrame::StackFrameTypeCase(_oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// Node - -// optional uint64 id = 1; -inline bool Node::has_id() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void Node::set_has_id() { - _has_bits_[0] |= 0x00000001u; -} -inline void Node::clear_has_id() { - _has_bits_[0] &= ~0x00000001u; -} -inline void Node::clear_id() { - id_ = GOOGLE_ULONGLONG(0); - clear_has_id(); -} -inline ::google::protobuf::uint64 Node::id() const { - // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Node.id) - return id_; -} -inline void Node::set_id(::google::protobuf::uint64 value) { - set_has_id(); - id_ = value; - // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.Node.id) -} - -// optional bytes typeName = 2; -inline bool Node::has_typename_() const { - return TypeNameOrRef_case() == kTypeName; -} -inline void Node::set_has_typename_() { - _oneof_case_[0] = kTypeName; -} -inline void Node::clear_typename_() { - if (has_typename_()) { - delete TypeNameOrRef_.typename__; - clear_has_TypeNameOrRef(); - } -} -inline const ::std::string& Node::typename_() const { - if (has_typename_()) { - return *TypeNameOrRef_.typename__; - } - return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void Node::set_typename_(const ::std::string& value) { - if (!has_typename_()) { - clear_TypeNameOrRef(); - set_has_typename_(); - TypeNameOrRef_.typename__ = new ::std::string; - } - TypeNameOrRef_.typename__->assign(value); -} -inline void Node::set_typename_(const char* value) { - if (!has_typename_()) { - clear_TypeNameOrRef(); - set_has_typename_(); - TypeNameOrRef_.typename__ = new ::std::string; - } - TypeNameOrRef_.typename__->assign(value); -} -inline void Node::set_typename_(const void* value, size_t size) { - if (!has_typename_()) { - clear_TypeNameOrRef(); - set_has_typename_(); - TypeNameOrRef_.typename__ = new ::std::string; - } - TypeNameOrRef_.typename__->assign( - reinterpret_cast(value), size); -} -inline ::std::string* Node::mutable_typename_() { - if (!has_typename_()) { - clear_TypeNameOrRef(); - set_has_typename_(); - TypeNameOrRef_.typename__ = new ::std::string; - } - return TypeNameOrRef_.typename__; -} -inline ::std::string* Node::release_typename_() { - if (has_typename_()) { - clear_has_TypeNameOrRef(); - ::std::string* temp = TypeNameOrRef_.typename__; - TypeNameOrRef_.typename__ = NULL; - return temp; - } else { - return NULL; - } -} -inline void Node::set_allocated_typename_(::std::string* typename_) { - clear_TypeNameOrRef(); - if (typename_) { - set_has_typename_(); - TypeNameOrRef_.typename__ = typename_; - } -} - -// optional uint64 typeNameRef = 3; -inline bool Node::has_typenameref() const { - return TypeNameOrRef_case() == kTypeNameRef; -} -inline void Node::set_has_typenameref() { - _oneof_case_[0] = kTypeNameRef; -} -inline void Node::clear_typenameref() { - if (has_typenameref()) { - TypeNameOrRef_.typenameref_ = GOOGLE_ULONGLONG(0); - clear_has_TypeNameOrRef(); - } -} -inline ::google::protobuf::uint64 Node::typenameref() const { - if (has_typenameref()) { - return TypeNameOrRef_.typenameref_; - } - return GOOGLE_ULONGLONG(0); -} -inline void Node::set_typenameref(::google::protobuf::uint64 value) { - if (!has_typenameref()) { - clear_TypeNameOrRef(); - set_has_typenameref(); - } - TypeNameOrRef_.typenameref_ = value; -} - -// optional uint64 size = 4; -inline bool Node::has_size() const { - return (_has_bits_[0] & 0x00000008u) != 0; -} -inline void Node::set_has_size() { - _has_bits_[0] |= 0x00000008u; -} -inline void Node::clear_has_size() { - _has_bits_[0] &= ~0x00000008u; -} -inline void Node::clear_size() { - size_ = GOOGLE_ULONGLONG(0); - clear_has_size(); -} -inline ::google::protobuf::uint64 Node::size() const { - // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Node.size) - return size_; -} -inline void Node::set_size(::google::protobuf::uint64 value) { - set_has_size(); - size_ = value; - // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.Node.size) -} - -// repeated .mozilla.devtools.protobuf.Edge edges = 5; -inline int Node::edges_size() const { - return edges_.size(); -} -inline void Node::clear_edges() { - edges_.Clear(); -} -inline const ::mozilla::devtools::protobuf::Edge& Node::edges(int index) const { - // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Node.edges) - return edges_.Get(index); -} -inline ::mozilla::devtools::protobuf::Edge* Node::mutable_edges(int index) { - // @@protoc_insertion_point(field_mutable:mozilla.devtools.protobuf.Node.edges) - return edges_.Mutable(index); -} -inline ::mozilla::devtools::protobuf::Edge* Node::add_edges() { - // @@protoc_insertion_point(field_add:mozilla.devtools.protobuf.Node.edges) - return edges_.Add(); -} -inline const ::google::protobuf::RepeatedPtrField< ::mozilla::devtools::protobuf::Edge >& -Node::edges() const { - // @@protoc_insertion_point(field_list:mozilla.devtools.protobuf.Node.edges) - return edges_; -} -inline ::google::protobuf::RepeatedPtrField< ::mozilla::devtools::protobuf::Edge >* -Node::mutable_edges() { - // @@protoc_insertion_point(field_mutable_list:mozilla.devtools.protobuf.Node.edges) - return &edges_; -} - -// optional .mozilla.devtools.protobuf.StackFrame allocationStack = 6; -inline bool Node::has_allocationstack() const { - return (_has_bits_[0] & 0x00000020u) != 0; -} -inline void Node::set_has_allocationstack() { - _has_bits_[0] |= 0x00000020u; -} -inline void Node::clear_has_allocationstack() { - _has_bits_[0] &= ~0x00000020u; -} -inline void Node::clear_allocationstack() { - if (allocationstack_ != NULL) allocationstack_->::mozilla::devtools::protobuf::StackFrame::Clear(); - clear_has_allocationstack(); -} -inline const ::mozilla::devtools::protobuf::StackFrame& Node::allocationstack() const { - // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Node.allocationStack) - return allocationstack_ != NULL ? *allocationstack_ : *default_instance_->allocationstack_; -} -inline ::mozilla::devtools::protobuf::StackFrame* Node::mutable_allocationstack() { - set_has_allocationstack(); - if (allocationstack_ == NULL) allocationstack_ = new ::mozilla::devtools::protobuf::StackFrame; - // @@protoc_insertion_point(field_mutable:mozilla.devtools.protobuf.Node.allocationStack) - return allocationstack_; -} -inline ::mozilla::devtools::protobuf::StackFrame* Node::release_allocationstack() { - clear_has_allocationstack(); - ::mozilla::devtools::protobuf::StackFrame* temp = allocationstack_; - allocationstack_ = NULL; - return temp; -} -inline void Node::set_allocated_allocationstack(::mozilla::devtools::protobuf::StackFrame* allocationstack) { - delete allocationstack_; - allocationstack_ = allocationstack; - if (allocationstack) { - set_has_allocationstack(); - } else { - clear_has_allocationstack(); - } - // @@protoc_insertion_point(field_set_allocated:mozilla.devtools.protobuf.Node.allocationStack) -} - -// optional bytes jsObjectClassName = 7; -inline bool Node::has_jsobjectclassname() const { - return JSObjectClassNameOrRef_case() == kJsObjectClassName; -} -inline void Node::set_has_jsobjectclassname() { - _oneof_case_[1] = kJsObjectClassName; -} -inline void Node::clear_jsobjectclassname() { - if (has_jsobjectclassname()) { - delete JSObjectClassNameOrRef_.jsobjectclassname_; - clear_has_JSObjectClassNameOrRef(); - } -} -inline const ::std::string& Node::jsobjectclassname() const { - if (has_jsobjectclassname()) { - return *JSObjectClassNameOrRef_.jsobjectclassname_; - } - return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void Node::set_jsobjectclassname(const ::std::string& value) { - if (!has_jsobjectclassname()) { - clear_JSObjectClassNameOrRef(); - set_has_jsobjectclassname(); - JSObjectClassNameOrRef_.jsobjectclassname_ = new ::std::string; - } - JSObjectClassNameOrRef_.jsobjectclassname_->assign(value); -} -inline void Node::set_jsobjectclassname(const char* value) { - if (!has_jsobjectclassname()) { - clear_JSObjectClassNameOrRef(); - set_has_jsobjectclassname(); - JSObjectClassNameOrRef_.jsobjectclassname_ = new ::std::string; - } - JSObjectClassNameOrRef_.jsobjectclassname_->assign(value); -} -inline void Node::set_jsobjectclassname(const void* value, size_t size) { - if (!has_jsobjectclassname()) { - clear_JSObjectClassNameOrRef(); - set_has_jsobjectclassname(); - JSObjectClassNameOrRef_.jsobjectclassname_ = new ::std::string; - } - JSObjectClassNameOrRef_.jsobjectclassname_->assign( - reinterpret_cast(value), size); -} -inline ::std::string* Node::mutable_jsobjectclassname() { - if (!has_jsobjectclassname()) { - clear_JSObjectClassNameOrRef(); - set_has_jsobjectclassname(); - JSObjectClassNameOrRef_.jsobjectclassname_ = new ::std::string; - } - return JSObjectClassNameOrRef_.jsobjectclassname_; -} -inline ::std::string* Node::release_jsobjectclassname() { - if (has_jsobjectclassname()) { - clear_has_JSObjectClassNameOrRef(); - ::std::string* temp = JSObjectClassNameOrRef_.jsobjectclassname_; - JSObjectClassNameOrRef_.jsobjectclassname_ = NULL; - return temp; - } else { - return NULL; - } -} -inline void Node::set_allocated_jsobjectclassname(::std::string* jsobjectclassname) { - clear_JSObjectClassNameOrRef(); - if (jsobjectclassname) { - set_has_jsobjectclassname(); - JSObjectClassNameOrRef_.jsobjectclassname_ = jsobjectclassname; - } -} - -// optional uint64 jsObjectClassNameRef = 8; -inline bool Node::has_jsobjectclassnameref() const { - return JSObjectClassNameOrRef_case() == kJsObjectClassNameRef; -} -inline void Node::set_has_jsobjectclassnameref() { - _oneof_case_[1] = kJsObjectClassNameRef; -} -inline void Node::clear_jsobjectclassnameref() { - if (has_jsobjectclassnameref()) { - JSObjectClassNameOrRef_.jsobjectclassnameref_ = GOOGLE_ULONGLONG(0); - clear_has_JSObjectClassNameOrRef(); - } -} -inline ::google::protobuf::uint64 Node::jsobjectclassnameref() const { - if (has_jsobjectclassnameref()) { - return JSObjectClassNameOrRef_.jsobjectclassnameref_; - } - return GOOGLE_ULONGLONG(0); -} -inline void Node::set_jsobjectclassnameref(::google::protobuf::uint64 value) { - if (!has_jsobjectclassnameref()) { - clear_JSObjectClassNameOrRef(); - set_has_jsobjectclassnameref(); - } - JSObjectClassNameOrRef_.jsobjectclassnameref_ = value; -} - -// optional uint32 coarseType = 9 [default = 0]; -inline bool Node::has_coarsetype() const { - return (_has_bits_[0] & 0x00000100u) != 0; -} -inline void Node::set_has_coarsetype() { - _has_bits_[0] |= 0x00000100u; -} -inline void Node::clear_has_coarsetype() { - _has_bits_[0] &= ~0x00000100u; -} -inline void Node::clear_coarsetype() { - coarsetype_ = 0u; - clear_has_coarsetype(); -} -inline ::google::protobuf::uint32 Node::coarsetype() const { - // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Node.coarseType) - return coarsetype_; -} -inline void Node::set_coarsetype(::google::protobuf::uint32 value) { - set_has_coarsetype(); - coarsetype_ = value; - // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.Node.coarseType) -} - -// optional bytes scriptFilename = 10; -inline bool Node::has_scriptfilename() const { - return ScriptFilenameOrRef_case() == kScriptFilename; -} -inline void Node::set_has_scriptfilename() { - _oneof_case_[2] = kScriptFilename; -} -inline void Node::clear_scriptfilename() { - if (has_scriptfilename()) { - delete ScriptFilenameOrRef_.scriptfilename_; - clear_has_ScriptFilenameOrRef(); - } -} -inline const ::std::string& Node::scriptfilename() const { - if (has_scriptfilename()) { - return *ScriptFilenameOrRef_.scriptfilename_; - } - return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void Node::set_scriptfilename(const ::std::string& value) { - if (!has_scriptfilename()) { - clear_ScriptFilenameOrRef(); - set_has_scriptfilename(); - ScriptFilenameOrRef_.scriptfilename_ = new ::std::string; - } - ScriptFilenameOrRef_.scriptfilename_->assign(value); -} -inline void Node::set_scriptfilename(const char* value) { - if (!has_scriptfilename()) { - clear_ScriptFilenameOrRef(); - set_has_scriptfilename(); - ScriptFilenameOrRef_.scriptfilename_ = new ::std::string; - } - ScriptFilenameOrRef_.scriptfilename_->assign(value); -} -inline void Node::set_scriptfilename(const void* value, size_t size) { - if (!has_scriptfilename()) { - clear_ScriptFilenameOrRef(); - set_has_scriptfilename(); - ScriptFilenameOrRef_.scriptfilename_ = new ::std::string; - } - ScriptFilenameOrRef_.scriptfilename_->assign( - reinterpret_cast(value), size); -} -inline ::std::string* Node::mutable_scriptfilename() { - if (!has_scriptfilename()) { - clear_ScriptFilenameOrRef(); - set_has_scriptfilename(); - ScriptFilenameOrRef_.scriptfilename_ = new ::std::string; - } - return ScriptFilenameOrRef_.scriptfilename_; -} -inline ::std::string* Node::release_scriptfilename() { - if (has_scriptfilename()) { - clear_has_ScriptFilenameOrRef(); - ::std::string* temp = ScriptFilenameOrRef_.scriptfilename_; - ScriptFilenameOrRef_.scriptfilename_ = NULL; - return temp; - } else { - return NULL; - } -} -inline void Node::set_allocated_scriptfilename(::std::string* scriptfilename) { - clear_ScriptFilenameOrRef(); - if (scriptfilename) { - set_has_scriptfilename(); - ScriptFilenameOrRef_.scriptfilename_ = scriptfilename; - } -} - -// optional uint64 scriptFilenameRef = 11; -inline bool Node::has_scriptfilenameref() const { - return ScriptFilenameOrRef_case() == kScriptFilenameRef; -} -inline void Node::set_has_scriptfilenameref() { - _oneof_case_[2] = kScriptFilenameRef; -} -inline void Node::clear_scriptfilenameref() { - if (has_scriptfilenameref()) { - ScriptFilenameOrRef_.scriptfilenameref_ = GOOGLE_ULONGLONG(0); - clear_has_ScriptFilenameOrRef(); - } -} -inline ::google::protobuf::uint64 Node::scriptfilenameref() const { - if (has_scriptfilenameref()) { - return ScriptFilenameOrRef_.scriptfilenameref_; - } - return GOOGLE_ULONGLONG(0); -} -inline void Node::set_scriptfilenameref(::google::protobuf::uint64 value) { - if (!has_scriptfilenameref()) { - clear_ScriptFilenameOrRef(); - set_has_scriptfilenameref(); - } - ScriptFilenameOrRef_.scriptfilenameref_ = value; -} - -inline bool Node::has_TypeNameOrRef() { - return TypeNameOrRef_case() != TYPENAMEORREF_NOT_SET; -} -inline void Node::clear_has_TypeNameOrRef() { - _oneof_case_[0] = TYPENAMEORREF_NOT_SET; -} -inline bool Node::has_JSObjectClassNameOrRef() { - return JSObjectClassNameOrRef_case() != JSOBJECTCLASSNAMEORREF_NOT_SET; -} -inline void Node::clear_has_JSObjectClassNameOrRef() { - _oneof_case_[1] = JSOBJECTCLASSNAMEORREF_NOT_SET; -} -inline bool Node::has_ScriptFilenameOrRef() { - return ScriptFilenameOrRef_case() != SCRIPTFILENAMEORREF_NOT_SET; -} -inline void Node::clear_has_ScriptFilenameOrRef() { - _oneof_case_[2] = SCRIPTFILENAMEORREF_NOT_SET; -} -inline Node::TypeNameOrRefCase Node::TypeNameOrRef_case() const { - return Node::TypeNameOrRefCase(_oneof_case_[0]); -} -inline Node::JSObjectClassNameOrRefCase Node::JSObjectClassNameOrRef_case() const { - return Node::JSObjectClassNameOrRefCase(_oneof_case_[1]); -} -inline Node::ScriptFilenameOrRefCase Node::ScriptFilenameOrRef_case() const { - return Node::ScriptFilenameOrRefCase(_oneof_case_[2]); -} -// ------------------------------------------------------------------- - -// Edge - -// optional uint64 referent = 1; -inline bool Edge::has_referent() const { - return (_has_bits_[0] & 0x00000001u) != 0; -} -inline void Edge::set_has_referent() { - _has_bits_[0] |= 0x00000001u; -} -inline void Edge::clear_has_referent() { - _has_bits_[0] &= ~0x00000001u; -} -inline void Edge::clear_referent() { - referent_ = GOOGLE_ULONGLONG(0); - clear_has_referent(); -} -inline ::google::protobuf::uint64 Edge::referent() const { - // @@protoc_insertion_point(field_get:mozilla.devtools.protobuf.Edge.referent) - return referent_; -} -inline void Edge::set_referent(::google::protobuf::uint64 value) { - set_has_referent(); - referent_ = value; - // @@protoc_insertion_point(field_set:mozilla.devtools.protobuf.Edge.referent) -} - -// optional bytes name = 2; -inline bool Edge::has_name() const { - return EdgeNameOrRef_case() == kName; -} -inline void Edge::set_has_name() { - _oneof_case_[0] = kName; -} -inline void Edge::clear_name() { - if (has_name()) { - delete EdgeNameOrRef_.name_; - clear_has_EdgeNameOrRef(); - } -} -inline const ::std::string& Edge::name() const { - if (has_name()) { - return *EdgeNameOrRef_.name_; - } - return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); -} -inline void Edge::set_name(const ::std::string& value) { - if (!has_name()) { - clear_EdgeNameOrRef(); - set_has_name(); - EdgeNameOrRef_.name_ = new ::std::string; - } - EdgeNameOrRef_.name_->assign(value); -} -inline void Edge::set_name(const char* value) { - if (!has_name()) { - clear_EdgeNameOrRef(); - set_has_name(); - EdgeNameOrRef_.name_ = new ::std::string; - } - EdgeNameOrRef_.name_->assign(value); -} -inline void Edge::set_name(const void* value, size_t size) { - if (!has_name()) { - clear_EdgeNameOrRef(); - set_has_name(); - EdgeNameOrRef_.name_ = new ::std::string; - } - EdgeNameOrRef_.name_->assign( - reinterpret_cast(value), size); -} -inline ::std::string* Edge::mutable_name() { - if (!has_name()) { - clear_EdgeNameOrRef(); - set_has_name(); - EdgeNameOrRef_.name_ = new ::std::string; - } - return EdgeNameOrRef_.name_; -} -inline ::std::string* Edge::release_name() { - if (has_name()) { - clear_has_EdgeNameOrRef(); - ::std::string* temp = EdgeNameOrRef_.name_; - EdgeNameOrRef_.name_ = NULL; - return temp; - } else { - return NULL; - } -} -inline void Edge::set_allocated_name(::std::string* name) { - clear_EdgeNameOrRef(); - if (name) { - set_has_name(); - EdgeNameOrRef_.name_ = name; - } -} - -// optional uint64 nameRef = 3; -inline bool Edge::has_nameref() const { - return EdgeNameOrRef_case() == kNameRef; -} -inline void Edge::set_has_nameref() { - _oneof_case_[0] = kNameRef; -} -inline void Edge::clear_nameref() { - if (has_nameref()) { - EdgeNameOrRef_.nameref_ = GOOGLE_ULONGLONG(0); - clear_has_EdgeNameOrRef(); - } -} -inline ::google::protobuf::uint64 Edge::nameref() const { - if (has_nameref()) { - return EdgeNameOrRef_.nameref_; - } - return GOOGLE_ULONGLONG(0); -} -inline void Edge::set_nameref(::google::protobuf::uint64 value) { - if (!has_nameref()) { - clear_EdgeNameOrRef(); - set_has_nameref(); - } - EdgeNameOrRef_.nameref_ = value; -} - -inline bool Edge::has_EdgeNameOrRef() { - return EdgeNameOrRef_case() != EDGENAMEORREF_NOT_SET; -} -inline void Edge::clear_has_EdgeNameOrRef() { - _oneof_case_[0] = EDGENAMEORREF_NOT_SET; -} -inline Edge::EdgeNameOrRefCase Edge::EdgeNameOrRef_case() const { - return Edge::EdgeNameOrRefCase(_oneof_case_[0]); -} - -// @@protoc_insertion_point(namespace_scope) - -} // namespace protobuf -} // namespace devtools -} // namespace mozilla - -#ifndef SWIG -namespace google { -namespace protobuf { - - -} // namespace google -} // namespace protobuf -#endif // SWIG - -// @@protoc_insertion_point(global_scope) - -#endif // PROTOBUF_CoreDump_2eproto__INCLUDED diff --git a/devtools/shared/heapsnapshot/CoreDump.proto b/devtools/shared/heapsnapshot/CoreDump.proto deleted file mode 100644 index 24a223e11..000000000 --- a/devtools/shared/heapsnapshot/CoreDump.proto +++ /dev/null @@ -1,143 +0,0 @@ -/* -*- Mode: protobuf; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- - * vim: set ts=8 sts=4 et sw=4 tw=99: - * 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/. */ - -// # Core Dumps -// -// A core dump is a serialized snapshot of the heap graph. We serialize the heap -// as a series of protobuf messages with each message prefixed by its Varint32 -// byte size so we can delimit individual protobuf messages (protobuf parsers -// cannot determine where a message ends on their own). -// -// The first protobuf message is an instance of the `Metadata` message. All -// subsequent messages will be instances of the `Node` message. The first of -// these `Node` messages is the root node of the serialized heap graph. Here is -// a diagram of our core dump format: -// -// +-----------------------------------------------------------------------+ -// | Varint32: The size of following `Metadata` message. | -// +-----------------------------------------------------------------------+ -// | message: The core dump `Metadata` message. | -// +-----------------------------------------------------------------------+ -// | Varint32: The size of the following `Node` message. | -// +-----------------------------------------------------------------------+ -// | message: The first `Node` message. This is the root node. | -// +-----------------------------------------------------------------------+ -// | Varint32: The size of the following `Node` message. | -// +-----------------------------------------------------------------------+ -// | message: A `Node` message. | -// +-----------------------------------------------------------------------+ -// | Varint32: The size of the following `Node` message. | -// +-----------------------------------------------------------------------+ -// | message: A `Node` message. | -// +-----------------------------------------------------------------------+ -// | . | -// | . | -// | . | -// +-----------------------------------------------------------------------+ -// -// Core dumps should always be written with a -// `google::protobuf::io::GzipOutputStream` and read from a -// `google::protobuf::io::GzipInputStream`. -// -// Note that all strings are de-duplicated. The first time the N^th unique -// string is encountered, the full string is serialized. Subsequent times that -// same string is encountered, it is referenced by N. This de-duplication -// happens across string properties, not on a per-property basis. For example, -// if the same K^th unique string is first used as an Edge::EdgeNameOrRef and -// then as a StackFrame::Data::FunctionDisplayNameOrRef, the first will be the -// actual string as the functionDisplayName oneof property, and the second will -// be a reference to the first as the edgeNameRef oneof property whose value is -// K. -// -// We would ordinarily abstract these de-duplicated strings with messages of -// their own, but unfortunately, the protobuf compiler does not have a way to -// inline a messsage within another message and the child message must be -// referenced by pointer. This leads to extra mallocs that we wish to avoid. - - -package mozilla.devtools.protobuf; - -// A collection of metadata about this core dump. -message Metadata { - // Number of microseconds since midnight (00:00:00) 1 January 1970 UTC. - optional uint64 timeStamp = 1; -} - -// A serialized version of `JS::ubi::StackFrame`. Older parent frame tails are -// de-duplicated to cut down on [de]serialization and size costs. -message StackFrame { - oneof StackFrameType { - // This is the first time this stack frame has been serialized, and so - // here is all of its data. - Data data = 1; - // A reference to a stack frame that has already been serialized and has - // the given number as its id. - uint64 ref = 2; - } - - message Data { - optional uint64 id = 1; - optional StackFrame parent = 2; - optional uint32 line = 3; - optional uint32 column = 4; - - // De-duplicated two-byte string. - oneof SourceOrRef { - bytes source = 5; - uint64 sourceRef = 6; - } - - // De-duplicated two-byte string. - oneof FunctionDisplayNameOrRef { - bytes functionDisplayName = 7; - uint64 functionDisplayNameRef = 8; - } - - optional bool isSystem = 9; - optional bool isSelfHosted = 10; - } -} - -// A serialized version of `JS::ubi::Node` and its outgoing edges. -message Node { - optional uint64 id = 1; - - // De-duplicated two-byte string. - oneof TypeNameOrRef { - bytes typeName = 2; - uint64 typeNameRef = 3; - } - - optional uint64 size = 4; - repeated Edge edges = 5; - optional StackFrame allocationStack = 6; - - // De-duplicated one-byte string. - oneof JSObjectClassNameOrRef { - bytes jsObjectClassName = 7; - uint64 jsObjectClassNameRef = 8; - } - - // JS::ubi::CoarseType. Defaults to Other. - optional uint32 coarseType = 9 [default = 0]; - - // De-duplicated one-byte string. - oneof ScriptFilenameOrRef { - bytes scriptFilename = 10; - uint64 scriptFilenameRef = 11; - } -} - -// A serialized edge from the heap graph. -message Edge { - optional uint64 referent = 1; - - // De-duplicated two-byte string. - oneof EdgeNameOrRef { - bytes name = 2; - uint64 nameRef = 3; - } -} diff --git a/devtools/shared/heapsnapshot/DeserializedNode.cpp b/devtools/shared/heapsnapshot/DeserializedNode.cpp deleted file mode 100644 index fac4cccb9..000000000 --- a/devtools/shared/heapsnapshot/DeserializedNode.cpp +++ /dev/null @@ -1,150 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ -/* 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/. */ - -#include "mozilla/devtools/DeserializedNode.h" -#include "mozilla/devtools/HeapSnapshot.h" -#include "nsCRTGlue.h" - -namespace mozilla { -namespace devtools { - -DeserializedEdge::DeserializedEdge(DeserializedEdge&& rhs) -{ - referent = rhs.referent; - name = rhs.name; -} - -DeserializedEdge& DeserializedEdge::operator=(DeserializedEdge&& rhs) -{ - MOZ_ASSERT(&rhs != this); - this->~DeserializedEdge(); - new(this) DeserializedEdge(Move(rhs)); - return *this; -} - -JS::ubi::Node -DeserializedNode::getEdgeReferent(const DeserializedEdge& edge) -{ - auto ptr = owner->nodes.lookup(edge.referent); - MOZ_ASSERT(ptr); - - // `HashSets` only provide const access to their values, because mutating a - // value might change its hash, rendering it unfindable in the set. - // Unfortunately, the `ubi::Node` constructor requires a non-const pointer to - // its referent. However, the only aspect of a `DeserializedNode` we hash on - // is its id, which can't be changed via `ubi::Node`, so this cast can't cause - // the trouble `HashSet` is concerned a non-const reference would cause. - return JS::ubi::Node(const_cast(&*ptr)); -} - -JS::ubi::StackFrame -DeserializedStackFrame::getParentStackFrame() const -{ - MOZ_ASSERT(parent.isSome()); - auto ptr = owner->frames.lookup(parent.ref()); - MOZ_ASSERT(ptr); - // See above comment in DeserializedNode::getEdgeReferent about why this - // const_cast is needed and safe. - return JS::ubi::StackFrame(const_cast(&*ptr)); -} - -} // namespace devtools -} // namespace mozilla - -namespace JS { -namespace ubi { - -using mozilla::devtools::DeserializedEdge; - -const char16_t Concrete::concreteTypeName[] = - u"mozilla::devtools::DeserializedNode"; - -const char16_t* -Concrete::typeName() const -{ - return get().typeName; -} - -Node::Size -Concrete::size(mozilla::MallocSizeOf mallocSizeof) const -{ - return get().size; -} - -class DeserializedEdgeRange : public EdgeRange -{ - DeserializedNode* node; - Edge currentEdge; - size_t i; - - void settle() { - if (i >= node->edges.length()) { - front_ = nullptr; - return; - } - - auto& edge = node->edges[i]; - auto referent = node->getEdgeReferent(edge); - currentEdge = mozilla::Move(Edge(edge.name ? NS_strdup(edge.name) : nullptr, - referent)); - front_ = ¤tEdge; - } - -public: - explicit DeserializedEdgeRange(DeserializedNode& node) - : node(&node) - , i(0) - { - settle(); - } - - void popFront() override - { - i++; - settle(); - } -}; - -StackFrame -Concrete::allocationStack() const -{ - MOZ_ASSERT(hasAllocationStack()); - auto id = get().allocationStack.ref(); - auto ptr = get().owner->frames.lookup(id); - MOZ_ASSERT(ptr); - // See above comment in DeserializedNode::getEdgeReferent about why this - // const_cast is needed and safe. - return JS::ubi::StackFrame(const_cast(&*ptr)); -} - - -js::UniquePtr -Concrete::edges(JSContext* cx, bool) const -{ - js::UniquePtr range(js_new(get())); - - if (!range) - return nullptr; - - return js::UniquePtr(range.release()); -} - -StackFrame -ConcreteStackFrame::parent() const -{ - return get().parent.isNothing() ? StackFrame() : get().getParentStackFrame(); -} - -bool -ConcreteStackFrame::constructSavedFrameStack( - JSContext* cx, - MutableHandleObject outSavedFrameStack) const -{ - StackFrame f(&get()); - return ConstructSavedFrameStackSlow(cx, f, outSavedFrameStack); -} - -} // namespace ubi -} // namespace JS diff --git a/devtools/shared/heapsnapshot/DeserializedNode.h b/devtools/shared/heapsnapshot/DeserializedNode.h deleted file mode 100644 index 60d1fb408..000000000 --- a/devtools/shared/heapsnapshot/DeserializedNode.h +++ /dev/null @@ -1,317 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ -/* 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/. */ - -#ifndef mozilla_devtools_DeserializedNode__ -#define mozilla_devtools_DeserializedNode__ - -#include "js/UbiNode.h" -#include "js/UniquePtr.h" -#include "mozilla/devtools/CoreDump.pb.h" -#include "mozilla/Maybe.h" -#include "mozilla/Move.h" -#include "mozilla/Vector.h" - -// `Deserialized{Node,Edge}` translate protobuf messages from our core dump -// format into structures we can rely upon for implementing `JS::ubi::Node` -// specializations on top of. All of the properties of the protobuf messages are -// optional for future compatibility, and this is the layer where we validate -// that the properties that do actually exist in any given message fulfill our -// semantic requirements. -// -// Both `DeserializedNode` and `DeserializedEdge` are always owned by a -// `HeapSnapshot` instance, and their lifetimes must not extend after that of -// their owning `HeapSnapshot`. - -namespace mozilla { -namespace devtools { - -class HeapSnapshot; - -using NodeId = uint64_t; -using StackFrameId = uint64_t; - -// A `DeserializedEdge` represents an edge in the heap graph pointing to the -// node with id equal to `DeserializedEdge::referent` that we deserialized from -// a core dump. -struct DeserializedEdge { - NodeId referent; - // A borrowed reference to a string owned by this node's owning HeapSnapshot. - const char16_t* name; - - explicit DeserializedEdge(NodeId referent, const char16_t* edgeName = nullptr) - : referent(referent) - , name(edgeName) - { } - DeserializedEdge(DeserializedEdge&& rhs); - DeserializedEdge& operator=(DeserializedEdge&& rhs); - -private: - DeserializedEdge(const DeserializedEdge&) = delete; - DeserializedEdge& operator=(const DeserializedEdge&) = delete; -}; - -// A `DeserializedNode` is a node in the heap graph that we deserialized from a -// core dump. -struct DeserializedNode { - using EdgeVector = Vector; - using UniqueStringPtr = UniquePtr; - - NodeId id; - JS::ubi::CoarseType coarseType; - // A borrowed reference to a string owned by this node's owning HeapSnapshot. - const char16_t* typeName; - uint64_t size; - EdgeVector edges; - Maybe allocationStack; - // A borrowed reference to a string owned by this node's owning HeapSnapshot. - const char* jsObjectClassName; - // A borrowed reference to a string owned by this node's owning HeapSnapshot. - const char* scriptFilename; - // A weak pointer to this node's owning `HeapSnapshot`. Safe without - // AddRef'ing because this node's lifetime is equal to that of its owner. - HeapSnapshot* owner; - - DeserializedNode(NodeId id, - JS::ubi::CoarseType coarseType, - const char16_t* typeName, - uint64_t size, - EdgeVector&& edges, - Maybe allocationStack, - const char* className, - const char* filename, - HeapSnapshot& owner) - : id(id) - , coarseType(coarseType) - , typeName(typeName) - , size(size) - , edges(Move(edges)) - , allocationStack(allocationStack) - , jsObjectClassName(className) - , scriptFilename(filename) - , owner(&owner) - { } - virtual ~DeserializedNode() { } - - DeserializedNode(DeserializedNode&& rhs) - : id(rhs.id) - , coarseType(rhs.coarseType) - , typeName(rhs.typeName) - , size(rhs.size) - , edges(Move(rhs.edges)) - , allocationStack(rhs.allocationStack) - , jsObjectClassName(rhs.jsObjectClassName) - , scriptFilename(rhs.scriptFilename) - , owner(rhs.owner) - { } - - DeserializedNode& operator=(DeserializedNode&& rhs) - { - MOZ_ASSERT(&rhs != this); - this->~DeserializedNode(); - new(this) DeserializedNode(Move(rhs)); - return *this; - } - - // Get a borrowed reference to the given edge's referent. This method is - // virtual to provide a hook for gmock and gtest. - virtual JS::ubi::Node getEdgeReferent(const DeserializedEdge& edge); - - struct HashPolicy; - -protected: - // This is only for use with `MockDeserializedNode` in testing. - DeserializedNode(NodeId id, const char16_t* typeName, uint64_t size) - : id(id) - , coarseType(JS::ubi::CoarseType::Other) - , typeName(typeName) - , size(size) - , edges() - , allocationStack(Nothing()) - , jsObjectClassName(nullptr) - , scriptFilename(nullptr) - , owner(nullptr) - { } - -private: - DeserializedNode(const DeserializedNode&) = delete; - DeserializedNode& operator=(const DeserializedNode&) = delete; -}; - -static inline js::HashNumber -hashIdDerivedFromPtr(uint64_t id) -{ - // NodeIds and StackFrameIds are always 64 bits, but they are derived from - // the original referents' addresses, which could have been either 32 or 64 - // bits long. As such, NodeId and StackFrameId have little entropy in their - // bottom three bits, and may or may not have entropy in their upper 32 - // bits. This hash should manage both cases well. - id >>= 3; - return js::HashNumber((id >> 32) ^ id); -} - -struct DeserializedNode::HashPolicy -{ - using Lookup = NodeId; - - static js::HashNumber hash(const Lookup& lookup) { - return hashIdDerivedFromPtr(lookup); - } - - static bool match(const DeserializedNode& existing, const Lookup& lookup) { - return existing.id == lookup; - } -}; - -// A `DeserializedStackFrame` is a stack frame referred to by a thing in the -// heap graph that we deserialized from a core dump. -struct DeserializedStackFrame { - StackFrameId id; - Maybe parent; - uint32_t line; - uint32_t column; - // Borrowed references to strings owned by this DeserializedStackFrame's - // owning HeapSnapshot. - const char16_t* source; - const char16_t* functionDisplayName; - bool isSystem; - bool isSelfHosted; - // A weak pointer to this frame's owning `HeapSnapshot`. Safe without - // AddRef'ing because this frame's lifetime is equal to that of its owner. - HeapSnapshot* owner; - - explicit DeserializedStackFrame(StackFrameId id, - const Maybe& parent, - uint32_t line, - uint32_t column, - const char16_t* source, - const char16_t* functionDisplayName, - bool isSystem, - bool isSelfHosted, - HeapSnapshot& owner) - : id(id) - , parent(parent) - , line(line) - , column(column) - , source(source) - , functionDisplayName(functionDisplayName) - , isSystem(isSystem) - , isSelfHosted(isSelfHosted) - , owner(&owner) - { - MOZ_ASSERT(source); - } - - JS::ubi::StackFrame getParentStackFrame() const; - - struct HashPolicy; - -protected: - // This is exposed only for MockDeserializedStackFrame in the gtests. - explicit DeserializedStackFrame() - : id(0) - , parent(Nothing()) - , line(0) - , column(0) - , source(nullptr) - , functionDisplayName(nullptr) - , isSystem(false) - , isSelfHosted(false) - , owner(nullptr) - { }; -}; - -struct DeserializedStackFrame::HashPolicy { - using Lookup = StackFrameId; - - static js::HashNumber hash(const Lookup& lookup) { - return hashIdDerivedFromPtr(lookup); - } - - static bool match(const DeserializedStackFrame& existing, const Lookup& lookup) { - return existing.id == lookup; - } -}; - -} // namespace devtools -} // namespace mozilla - -namespace JS { -namespace ubi { - -using mozilla::devtools::DeserializedNode; -using mozilla::devtools::DeserializedStackFrame; - -template<> -class Concrete : public Base -{ -protected: - explicit Concrete(DeserializedNode* ptr) : Base(ptr) { } - DeserializedNode& get() const { - return *static_cast(ptr); - } - -public: - static void construct(void* storage, DeserializedNode* ptr) { - new (storage) Concrete(ptr); - } - - CoarseType coarseType() const final { return get().coarseType; } - Id identifier() const override { return get().id; } - bool isLive() const override { return false; } - const char16_t* typeName() const override; - Node::Size size(mozilla::MallocSizeOf mallocSizeof) const override; - const char* jsObjectClassName() const override { return get().jsObjectClassName; } - const char* scriptFilename() const final { return get().scriptFilename; } - - bool hasAllocationStack() const override { return get().allocationStack.isSome(); } - StackFrame allocationStack() const override; - - // We ignore the `bool wantNames` parameter because we can't control whether - // the core dump was serialized with edge names or not. - js::UniquePtr edges(JSContext* cx, bool) const override; - - static const char16_t concreteTypeName[]; -}; - -template<> -class ConcreteStackFrame : public BaseStackFrame -{ -protected: - explicit ConcreteStackFrame(DeserializedStackFrame* ptr) - : BaseStackFrame(ptr) - { } - - DeserializedStackFrame& get() const { - return *static_cast(ptr); - } - -public: - static void construct(void* storage, DeserializedStackFrame* ptr) { - new (storage) ConcreteStackFrame(ptr); - } - - uint64_t identifier() const override { return get().id; } - uint32_t line() const override { return get().line; } - uint32_t column() const override { return get().column; } - bool isSystem() const override { return get().isSystem; } - bool isSelfHosted(JSContext* cx) const override { return get().isSelfHosted; } - void trace(JSTracer* trc) override { } - AtomOrTwoByteChars source() const override { - return AtomOrTwoByteChars(get().source); - } - AtomOrTwoByteChars functionDisplayName() const override { - return AtomOrTwoByteChars(get().functionDisplayName); - } - - StackFrame parent() const override; - bool constructSavedFrameStack(JSContext* cx, - MutableHandleObject outSavedFrameStack) - const override; -}; - -} // namespace ubi -} // namespace JS - -#endif // mozilla_devtools_DeserializedNode__ diff --git a/devtools/shared/heapsnapshot/DominatorTree.cpp b/devtools/shared/heapsnapshot/DominatorTree.cpp deleted file mode 100644 index e53c196cf..000000000 --- a/devtools/shared/heapsnapshot/DominatorTree.cpp +++ /dev/null @@ -1,140 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ -/* 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/. */ - -#include "mozilla/devtools/DominatorTree.h" -#include "mozilla/dom/DominatorTreeBinding.h" - -namespace mozilla { -namespace devtools { - -dom::Nullable -DominatorTree::GetRetainedSize(uint64_t aNodeId, ErrorResult& aRv) -{ - JS::ubi::Node::Id id(aNodeId); - auto node = mHeapSnapshot->getNodeById(id); - if (node.isNothing()) - return dom::Nullable(); - - auto mallocSizeOf = GetCurrentThreadDebuggerMallocSizeOf(); - JS::ubi::Node::Size size = 0; - if (!mDominatorTree.getRetainedSize(*node, mallocSizeOf, size)) { - aRv.Throw(NS_ERROR_OUT_OF_MEMORY); - return dom::Nullable(); - } - - MOZ_ASSERT(size != 0, - "The node should not have been unknown since we got it from the heap snapshot."); - return dom::Nullable(size); -} - -struct NodeAndRetainedSize -{ - JS::ubi::Node mNode; - JS::ubi::Node::Size mSize; - - NodeAndRetainedSize(const JS::ubi::Node& aNode, JS::ubi::Node::Size aSize) - : mNode(aNode) - , mSize(aSize) - { } - - struct Comparator - { - static bool - Equals(const NodeAndRetainedSize& aLhs, const NodeAndRetainedSize& aRhs) - { - return aLhs.mSize == aRhs.mSize; - } - - static bool - LessThan(const NodeAndRetainedSize& aLhs, const NodeAndRetainedSize& aRhs) - { - // Use > because we want to sort from greatest to least retained size. - return aLhs.mSize > aRhs.mSize; - } - }; -}; - -void -DominatorTree::GetImmediatelyDominated(uint64_t aNodeId, - dom::Nullable>& aOutResult, - ErrorResult& aRv) -{ - MOZ_ASSERT(aOutResult.IsNull()); - - JS::ubi::Node::Id id(aNodeId); - Maybe node = mHeapSnapshot->getNodeById(id); - if (node.isNothing()) - return; - - // Get all immediately dominated nodes and their retained sizes. - MallocSizeOf mallocSizeOf = GetCurrentThreadDebuggerMallocSizeOf(); - Maybe range = mDominatorTree.getDominatedSet(*node); - MOZ_ASSERT(range.isSome(), "The node should be known, since we got it from the heap snapshot."); - size_t length = range->length(); - nsTArray dominatedNodes(length); - for (const JS::ubi::Node& dominatedNode : *range) { - JS::ubi::Node::Size retainedSize = 0; - if (NS_WARN_IF(!mDominatorTree.getRetainedSize(dominatedNode, mallocSizeOf, retainedSize))) { - aRv.Throw(NS_ERROR_OUT_OF_MEMORY); - return; - } - MOZ_ASSERT(retainedSize != 0, - "retainedSize should not be zero since we know the node is in the dominator tree."); - - dominatedNodes.AppendElement(NodeAndRetainedSize(dominatedNode, retainedSize)); - } - - // Sort them by retained size. - NodeAndRetainedSize::Comparator comparator; - dominatedNodes.Sort(comparator); - - // Fill the result with the nodes' ids. - JS::ubi::Node root = mDominatorTree.root(); - aOutResult.SetValue(nsTArray(length)); - for (const NodeAndRetainedSize& entry : dominatedNodes) { - // The root dominates itself, but we don't want to expose that to JS. - if (entry.mNode == root) - continue; - - aOutResult.Value().AppendElement(entry.mNode.identifier()); - } -} - -dom::Nullable -DominatorTree::GetImmediateDominator(uint64_t aNodeId) const -{ - JS::ubi::Node::Id id(aNodeId); - Maybe node = mHeapSnapshot->getNodeById(id); - if (node.isNothing()) - return dom::Nullable(); - - JS::ubi::Node dominator = mDominatorTree.getImmediateDominator(*node); - if (!dominator || dominator == *node) - return dom::Nullable(); - - return dom::Nullable(dominator.identifier()); -} - - -/*** Cycle Collection Boilerplate *****************************************************************/ - -NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE(DominatorTree, mParent, mHeapSnapshot) - -NS_IMPL_CYCLE_COLLECTING_ADDREF(DominatorTree) -NS_IMPL_CYCLE_COLLECTING_RELEASE(DominatorTree) - -NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(DominatorTree) - NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY - NS_INTERFACE_MAP_ENTRY(nsISupports) -NS_INTERFACE_MAP_END - -/* virtual */ JSObject* -DominatorTree::WrapObject(JSContext* aCx, JS::HandleObject aGivenProto) -{ - return dom::DominatorTreeBinding::Wrap(aCx, this, aGivenProto); -} - -} // namespace devtools -} // namespace mozilla diff --git a/devtools/shared/heapsnapshot/DominatorTree.h b/devtools/shared/heapsnapshot/DominatorTree.h deleted file mode 100644 index f785d4916..000000000 --- a/devtools/shared/heapsnapshot/DominatorTree.h +++ /dev/null @@ -1,67 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ -/* 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/. */ - -#ifndef mozilla_devtools_DominatorTree__ -#define mozilla_devtools_DominatorTree__ - -#include "mozilla/devtools/HeapSnapshot.h" -#include "mozilla/dom/BindingDeclarations.h" -#include "mozilla/ErrorResult.h" -#include "mozilla/RefCounted.h" -#include "js/UbiNodeDominatorTree.h" -#include "nsWrapperCache.h" - -namespace mozilla { -namespace devtools { - -class DominatorTree final : public nsISupports - , public nsWrapperCache -{ -protected: - nsCOMPtr mParent; - - virtual ~DominatorTree() { } - -private: - JS::ubi::DominatorTree mDominatorTree; - RefPtr mHeapSnapshot; - -public: - explicit DominatorTree(JS::ubi::DominatorTree&& aDominatorTree, HeapSnapshot* aHeapSnapshot, - nsISupports* aParent) - : mParent(aParent) - , mDominatorTree(Move(aDominatorTree)) - , mHeapSnapshot(aHeapSnapshot) - { - MOZ_ASSERT(aParent); - MOZ_ASSERT(aHeapSnapshot); - }; - - NS_DECL_CYCLE_COLLECTING_ISUPPORTS; - NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(DominatorTree); - - nsISupports* GetParentObject() const { return mParent; } - - virtual JSObject* WrapObject(JSContext* aCx, - JS::Handle aGivenProto) override; - - // readonly attribute NodeId root - uint64_t Root() const { return mDominatorTree.root().identifier(); } - - // [Throws] NodeSize getRetainedSize(NodeId node) - dom::Nullable GetRetainedSize(uint64_t aNodeId, ErrorResult& aRv); - - // [Throws] sequence? getImmediatelyDominated(NodeId node); - void GetImmediatelyDominated(uint64_t aNodeId, dom::Nullable>& aOutDominated, - ErrorResult& aRv); - - // NodeId? getImmediateDominator(NodeId node); - dom::Nullable GetImmediateDominator(uint64_t aNodeId) const; -}; - -} // namespace devtools -} // namespace mozilla - -#endif // mozilla_devtools_DominatorTree__ diff --git a/devtools/shared/heapsnapshot/DominatorTreeNode.js b/devtools/shared/heapsnapshot/DominatorTreeNode.js deleted file mode 100644 index 13a847fd0..000000000 --- a/devtools/shared/heapsnapshot/DominatorTreeNode.js +++ /dev/null @@ -1,336 +0,0 @@ -/* 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/. */ -"use strict"; - -const { immutableUpdate } = require("resource://devtools/shared/ThreadSafeDevToolsUtils.js"); -const { Visitor, walk } = require("resource://devtools/shared/heapsnapshot/CensusUtils.js"); -const { deduplicatePaths } = require("resource://devtools/shared/heapsnapshot/shortest-paths"); - -const DEFAULT_MAX_DEPTH = 4; -const DEFAULT_MAX_SIBLINGS = 15; -const DEFAULT_MAX_NUM_PATHS = 5; - -/** - * A single node in a dominator tree. - * - * @param {NodeId} nodeId - * @param {NodeSize} retainedSize - */ -function DominatorTreeNode(nodeId, label, shallowSize, retainedSize) { - // The id of this node. - this.nodeId = nodeId; - - // The label structure generated by describing the given node. - this.label = label; - - // The shallow size of this node. - this.shallowSize = shallowSize; - - // The retained size of this node. - this.retainedSize = retainedSize; - - // The id of this node's parent or undefined if this node is the root. - this.parentId = undefined; - - // An array of immediately dominated child `DominatorTreeNode`s, or undefined. - this.children = undefined; - - // An object of the form returned by `deduplicatePaths`, encoding the set of - // the N shortest retaining paths for this node as a graph. - this.shortestPaths = undefined; - - // True iff the `children` property does not contain every immediately - // dominated node. - // - // * If children is an array and this property is true: the array does not - // contain the complete set of immediately dominated children. - // * If children is an array and this property is false: the array contains - // the complete set of immediately dominated children. - // * If children is undefined and this property is true: there exist - // immediately dominated children for this node, but they have not been - // loaded yet. - // * If children is undefined and this property is false: this node does not - // dominate any others and therefore has no children. - this.moreChildrenAvailable = true; -} - -DominatorTreeNode.prototype = null; - -module.exports = DominatorTreeNode; - -/** - * Add `child` to the `parent`'s set of children. - * - * @param {DominatorTreeNode} parent - * @param {DominatorTreeNode} child - */ -DominatorTreeNode.addChild = function (parent, child) { - if (parent.children === undefined) { - parent.children = []; - } - - parent.children.push(child); - child.parentId = parent.nodeId; -}; - -/** - * A Visitor that is used to generate a label for a node in the heap snapshot - * and get its shallow size as well while we are at it. - */ -function LabelAndShallowSizeVisitor() { - // As we walk the description, we accumulate edges in this array. - this._labelPieces = []; - - // Once we reach the non-zero count leaf node in the description, we move the - // labelPieces here to signify that we no longer need to accumulate edges. - this._label = undefined; - - // Once we reach the non-zero count leaf node in the description, we grab the - // shallow size and place it here. - this._shallowSize = 0; -} - -DominatorTreeNode.LabelAndShallowSizeVisitor = LabelAndShallowSizeVisitor; - -LabelAndShallowSizeVisitor.prototype = Object.create(Visitor); - -/** - * @overrides Visitor.prototype.enter - */ -LabelAndShallowSizeVisitor.prototype.enter = function (breakdown, report, edge) { - if (this._labelPieces && edge) { - this._labelPieces.push(edge); - } -}; - -/** - * @overrides Visitor.prototype.exit - */ -LabelAndShallowSizeVisitor.prototype.exit = function (breakdown, report, edge) { - if (this._labelPieces && edge) { - this._labelPieces.pop(); - } -}; - -/** - * @overrides Visitor.prototype.count - */ -LabelAndShallowSizeVisitor.prototype.count = function (breakdown, report, edge) { - if (report.count === 0) { - return; - } - - this._label = this._labelPieces; - this._labelPieces = undefined; - - this._shallowSize = report.bytes; -}; - -/** - * Get the generated label structure accumulated by this visitor. - * - * @returns {Object} - */ -LabelAndShallowSizeVisitor.prototype.label = function () { - return this._label; -}; - -/** - * Get the shallow size of the node this visitor visited. - * - * @returns {Number} - */ -LabelAndShallowSizeVisitor.prototype.shallowSize = function () { - return this._shallowSize; -}; - -/** - * Generate a label structure for the node with the given id and grab its - * shallow size. - * - * What is a "label" structure? HeapSnapshot.describeNode essentially takes a - * census of a single node rather than the whole heap graph. The resulting - * report has only one count leaf that is non-zero. The label structure is the - * path in this report from the root to the non-zero count leaf. - * - * @param {Number} nodeId - * @param {HeapSnapshot} snapshot - * @param {Object} breakdown - * - * @returns {Object} - * An object with the following properties: - * - {Number} shallowSize - * - {Object} label - */ -DominatorTreeNode.getLabelAndShallowSize = function (nodeId, - snapshot, - breakdown) { - const description = snapshot.describeNode(breakdown, nodeId); - - const visitor = new LabelAndShallowSizeVisitor(); - walk(breakdown, description, visitor); - - return { - label: visitor.label(), - shallowSize: visitor.shallowSize(), - }; -}; - -/** - * Do a partial traversal of the given dominator tree and convert it into a tree - * of `DominatorTreeNode`s. Dominator trees have a node for every node in the - * snapshot's heap graph, so we must not allocate a JS object for every node. It - * would be way too many and the node count is effectively unbounded. - * - * Go no deeper down the tree than `maxDepth` and only consider at most - * `maxSiblings` within any single node's children. - * - * @param {DominatorTree} dominatorTree - * @param {HeapSnapshot} snapshot - * @param {Object} breakdown - * @param {Number} maxDepth - * @param {Number} maxSiblings - * - * @returns {DominatorTreeNode} - */ -DominatorTreeNode.partialTraversal = function (dominatorTree, - snapshot, - breakdown, - maxDepth = DEFAULT_MAX_DEPTH, - maxSiblings = DEFAULT_MAX_SIBLINGS) { - function dfs(nodeId, depth) { - const { label, shallowSize } = - DominatorTreeNode.getLabelAndShallowSize(nodeId, snapshot, breakdown); - const retainedSize = dominatorTree.getRetainedSize(nodeId); - const node = new DominatorTreeNode(nodeId, label, shallowSize, retainedSize); - const childNodeIds = dominatorTree.getImmediatelyDominated(nodeId); - - const newDepth = depth + 1; - if (newDepth < maxDepth) { - const endIdx = Math.min(childNodeIds.length, maxSiblings); - for (let i = 0; i < endIdx; i++) { - DominatorTreeNode.addChild(node, dfs(childNodeIds[i], newDepth)); - } - node.moreChildrenAvailable = endIdx < childNodeIds.length; - } else { - node.moreChildrenAvailable = childNodeIds.length > 0; - } - - return node; - } - - return dfs(dominatorTree.root, 0); -}; - -/** - * Insert more children into the given (partially complete) dominator tree. - * - * The tree is updated in an immutable and persistent manner: a new tree is - * returned, but all unmodified subtrees (which is most) are shared with the - * original tree. Only the modified nodes are re-allocated. - * - * @param {DominatorTreeNode} tree - * @param {Array} path - * @param {Array} newChildren - * @param {Boolean} moreChildrenAvailable - * - * @returns {DominatorTreeNode} - */ -DominatorTreeNode.insert = function (tree, path, newChildren, moreChildrenAvailable) { - function insert(tree, i) { - if (tree.nodeId !== path[i]) { - return tree; - } - - if (i == path.length - 1) { - return immutableUpdate(tree, { - children: (tree.children || []).concat(newChildren), - moreChildrenAvailable, - }); - } - - return tree.children - ? immutableUpdate(tree, { - children: tree.children.map(c => insert(c, i + 1)) - }) - : tree; - } - - return insert(tree, 0); -}; - -/** - * Get the new canonical node with the given `id` in `tree` that exists along - * `path`. If there is no such node along `path`, return null. - * - * This is useful if we have a reference to a now-outdated DominatorTreeNode due - * to a recent call to DominatorTreeNode.insert and want to get the up-to-date - * version. We don't have to walk the whole tree: if there is an updated version - * of the node then it *must* be along the path. - * - * @param {NodeId} id - * @param {DominatorTreeNode} tree - * @param {Array} path - * - * @returns {DominatorTreeNode|null} - */ -DominatorTreeNode.getNodeByIdAlongPath = function (id, tree, path) { - function find(node, i) { - if (!node || node.nodeId !== path[i]) { - return null; - } - - if (node.nodeId === id) { - return node; - } - - if (i === path.length - 1 || !node.children) { - return null; - } - - const nextId = path[i + 1]; - return find(node.children.find(c => c.nodeId === nextId), i + 1); - } - - return find(tree, 0); -}; - -/** - * Find the shortest retaining paths for the given set of DominatorTreeNodes, - * and populate each node's `shortestPaths` property with them in place. - * - * @param {HeapSnapshot} snapshot - * @param {Object} breakdown - * @param {NodeId} start - * @param {Array} treeNodes - * @param {Number} maxNumPaths - */ -DominatorTreeNode.attachShortestPaths = function (snapshot, - breakdown, - start, - treeNodes, - maxNumPaths = DEFAULT_MAX_NUM_PATHS) { - const idToTreeNode = new Map(); - const targets = []; - for (let node of treeNodes) { - const id = node.nodeId; - idToTreeNode.set(id, node); - targets.push(id); - } - - const shortestPaths = snapshot.computeShortestPaths(start, - targets, - maxNumPaths); - - for (let [target, paths] of shortestPaths) { - const deduped = deduplicatePaths(target, paths); - deduped.nodes = deduped.nodes.map(id => { - const { label } = - DominatorTreeNode.getLabelAndShallowSize(id, snapshot, breakdown); - return { id, label }; - }); - - idToTreeNode.get(target).shortestPaths = deduped; - } -}; diff --git a/devtools/shared/heapsnapshot/FileDescriptorOutputStream.cpp b/devtools/shared/heapsnapshot/FileDescriptorOutputStream.cpp deleted file mode 100644 index 72a289558..000000000 --- a/devtools/shared/heapsnapshot/FileDescriptorOutputStream.cpp +++ /dev/null @@ -1,86 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ -/* 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/. */ - -#include "mozilla/devtools/FileDescriptorOutputStream.h" -#include "private/pprio.h" - -namespace mozilla { -namespace devtools { - -/* static */ already_AddRefed -FileDescriptorOutputStream::Create(const ipc::FileDescriptor& fileDescriptor) -{ - if (NS_WARN_IF(!fileDescriptor.IsValid())) - return nullptr; - - auto rawFD = fileDescriptor.ClonePlatformHandle(); - PRFileDesc* prfd = PR_ImportFile(PROsfd(rawFD.release())); - if (NS_WARN_IF(!prfd)) - return nullptr; - - RefPtr stream = new FileDescriptorOutputStream(prfd); - return stream.forget(); -} - -NS_IMPL_ISUPPORTS(FileDescriptorOutputStream, nsIOutputStream); - -NS_IMETHODIMP -FileDescriptorOutputStream::Close() -{ - // Repeatedly closing is idempotent. - if (!fd) - return NS_OK; - - if (PR_Close(fd) != PR_SUCCESS) - return NS_ERROR_FAILURE; - fd = nullptr; - return NS_OK; -} - -NS_IMETHODIMP -FileDescriptorOutputStream::Write(const char* buf, uint32_t count, uint32_t* retval) -{ - if (NS_WARN_IF(!fd)) - return NS_ERROR_FAILURE; - - auto written = PR_Write(fd, buf, count); - if (written < 0) - return NS_ERROR_FAILURE; - *retval = written; - return NS_OK; -} - -NS_IMETHODIMP -FileDescriptorOutputStream::Flush() -{ - if (NS_WARN_IF(!fd)) - return NS_ERROR_FAILURE; - - return PR_Sync(fd) == PR_SUCCESS ? NS_OK : NS_ERROR_FAILURE; -} - -NS_IMETHODIMP -FileDescriptorOutputStream::WriteFrom(nsIInputStream* fromStream, uint32_t count, - uint32_t* retval) -{ - return NS_ERROR_NOT_IMPLEMENTED; -} - -NS_IMETHODIMP -FileDescriptorOutputStream::WriteSegments(nsReadSegmentFun reader, void* closure, - uint32_t count, uint32_t* retval) -{ - return NS_ERROR_NOT_IMPLEMENTED; -} - -NS_IMETHODIMP -FileDescriptorOutputStream::IsNonBlocking(bool* retval) -{ - *retval = false; - return NS_OK; -} - -} // namespace devtools -} // namespace mozilla diff --git a/devtools/shared/heapsnapshot/FileDescriptorOutputStream.h b/devtools/shared/heapsnapshot/FileDescriptorOutputStream.h deleted file mode 100644 index 6990f1fc3..000000000 --- a/devtools/shared/heapsnapshot/FileDescriptorOutputStream.h +++ /dev/null @@ -1,41 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ -/* 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/. */ - -#ifndef mozilla_devtools_FileDescriptorOutputStream_h -#define mozilla_devtools_FileDescriptorOutputStream_h - -#include - -#include "mozilla/AlreadyAddRefed.h" -#include "mozilla/ipc/FileDescriptor.h" -#include "nsIOutputStream.h" - -namespace mozilla { -namespace devtools { - -class FileDescriptorOutputStream final : public nsIOutputStream -{ -private: - PRFileDesc* fd; - -public: - static already_AddRefed - Create(const ipc::FileDescriptor& fileDescriptor); - -private: - explicit FileDescriptorOutputStream(PRFileDesc* prfd) - : fd(prfd) - { } - - virtual ~FileDescriptorOutputStream() { } - - NS_DECL_THREADSAFE_ISUPPORTS - NS_DECL_NSIOUTPUTSTREAM -}; - -} // namespace devtools -} // namespace mozilla - -#endif // mozilla_devtools_FileDescriptorOutputStream_h diff --git a/devtools/shared/heapsnapshot/HeapAnalysesClient.js b/devtools/shared/heapsnapshot/HeapAnalysesClient.js deleted file mode 100644 index 98601a2b1..000000000 --- a/devtools/shared/heapsnapshot/HeapAnalysesClient.js +++ /dev/null @@ -1,277 +0,0 @@ -/* 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/. */ - -"use strict"; - -const DevToolsUtils = require("devtools/shared/DevToolsUtils"); -const { DevToolsWorker } = require("devtools/shared/worker/worker"); - -const WORKER_URL = - "resource://devtools/shared/heapsnapshot/HeapAnalysesWorker.js"; -var workerCounter = 0; - -/** - * A HeapAnalysesClient instance provides a developer-friendly interface for - * interacting with a HeapAnalysesWorker. This enables users to be ignorant of - * the message passing protocol used to communicate with the worker. The - * HeapAnalysesClient owns the worker, and terminating the worker is done by - * terminating the client (see the `destroy` method). - */ -const HeapAnalysesClient = module.exports = function () { - this._worker = new DevToolsWorker(WORKER_URL, { - name: `HeapAnalyses-${workerCounter++}`, - verbose: DevToolsUtils.dumpv.wantVerbose - }); -}; - -/** - * Destroy the worker, causing it to release its resources (such as heap - * snapshots it has deserialized and read into memory). The client is no longer - * usable after calling this method. - */ -HeapAnalysesClient.prototype.destroy = function () { - this._worker.destroy(); - this._worker = null; -}; - -/** - * Tell the worker to read into memory the heap snapshot at the given file - * path. This is a prerequisite for asking the worker to perform various - * analyses on a heap snapshot. - * - * @param {String} snapshotFilePath - * - * @returns Promise - * The promise is fulfilled if the heap snapshot is successfully - * deserialized and read into memory. The promise is rejected if that - * does not happen, eg due to a bad file path or malformed heap - * snapshot file. - */ -HeapAnalysesClient.prototype.readHeapSnapshot = function (snapshotFilePath) { - return this._worker.performTask("readHeapSnapshot", { snapshotFilePath }); -}; - -/** - * Tell the worker to delete all references to the snapshot and dominator trees - * linked to the provided snapshot file path. - * - * @param {String} snapshotFilePath - * @return Promise - */ -HeapAnalysesClient.prototype.deleteHeapSnapshot = function (snapshotFilePath) { - return this._worker.performTask("deleteHeapSnapshot", { snapshotFilePath }); -}; - -/** - * Request the creation time given a snapshot file path. Returns `null` - * if snapshot does not exist. - * - * @param {String} snapshotFilePath - * The path to the snapshot. - * @return {Number?} - * The unix timestamp of the creation time of the snapshot, or null if - * snapshot does not exist. - */ -HeapAnalysesClient.prototype.getCreationTime = function (snapshotFilePath) { - return this._worker.performTask("getCreationTime", snapshotFilePath); -}; - -/** * Censuses *****************************************************************/ - -/** - * Ask the worker to perform a census analysis on the heap snapshot with the - * given path. The heap snapshot at the given path must have already been read - * into memory by the worker (see `readHeapSnapshot`). - * - * @param {String} snapshotFilePath - * - * @param {Object} censusOptions - * A structured-cloneable object specifying the requested census's - * breakdown. See the "takeCensus" section of - * `js/src/doc/Debugger/Debugger.Memory.md` for detailed documentation. - * - * @param {Object} requestOptions - * An object specifying options of this worker request. - * - {Boolean} asTreeNode - * Whether or not the census is returned as a CensusTreeNode, - * or just a breakdown report. Defaults to false. - * @see `devtools/shared/heapsnapshot/census-tree-node.js` - * - {Boolean} asInvertedTreeNode - * Whether or not the census is returned as an inverted - * CensusTreeNode. Defaults to false. - * - {String} filter - * A filter string to prune the resulting tree with. Only applies if - * either asTreeNode or asInvertedTreeNode is true. - * - * @returns Promise - * An object with the following properties: - * - report: - * The report generated by the given census breakdown, or a - * CensusTreeNode generated by the given census breakdown if - * `asTreeNode` is true. - * - parentMap: - * The result of calling CensusUtils.createParentMap on the generated - * report. Only exists if asTreeNode or asInvertedTreeNode are set. - */ -HeapAnalysesClient.prototype.takeCensus = function (snapshotFilePath, - censusOptions, - requestOptions = {}) { - return this._worker.performTask("takeCensus", { - snapshotFilePath, - censusOptions, - requestOptions, - }); -}; - -/** - * Get the individual nodes that correspond to the given census report leaf - * indices. - * - * @param {Object} opts - * An object with the following properties: - * - {DominatorTreeId} dominatorTreeId: The id of the dominator tree. - * - {Set} indices: The indices of the census report leaves we - * would like to get the individuals for. - * - {Object} censusBreakdown: The breakdown used to generate the census. - * - {Object} labelBreakdown: The breakdown we would like to use when - * labeling the resulting nodes. - * - {Number} maxRetainingPaths: The maximum number of retaining paths to - * compute for each node. - * - {Number} maxIndividuals: The maximum number of individual nodes to - * return. - * - * @returns {Promise} - * A promise of an object with the following properties: - * - {Array} nodes: An array of `DominatorTreeNode`s - * with their shortest paths attached, and without any dominator tree - * child/parent information attached. The results are sorted by - * retained size. - * - */ -HeapAnalysesClient.prototype.getCensusIndividuals = function (opts) { - return this._worker.performTask("getCensusIndividuals", opts); -}; - -/** - * Request that the worker take a census on the heap snapshots with the given - * paths and then return the difference between them. Both heap snapshots must - * have already been read into memory by the worker (see `readHeapSnapshot`). - * - * @param {String} firstSnapshotFilePath - * The first snapshot file path. - * - * @param {String} secondSnapshotFilePath - * The second snapshot file path. - * - * @param {Object} censusOptions - * A structured-cloneable object specifying the requested census's - * breakdown. See the "takeCensus" section of - * `js/src/doc/Debugger/Debugger.Memory.md` for detailed documentation. - * - * @param {Object} requestOptions - * An object specifying options for this request. - * - {Boolean} asTreeNode - * Whether the resulting delta report should be converted to a census - * tree node before returned. Defaults to false. - * - {Boolean} asInvertedTreeNode - * Whether or not the census is returned as an inverted - * CensusTreeNode. Defaults to false. - * - {String} filter - * A filter string to prune the resulting tree with. Only applies if - * either asTreeNode or asInvertedTreeNode is true. - * - * @returns Promise - * - delta: - * The delta report generated by diffing the two census reports, or a - * CensusTreeNode generated from the delta report if - * `requestOptions.asTreeNode` was true. - * - parentMap: - * The result of calling CensusUtils.createParentMap on the generated - * delta. Only exists if asTreeNode or asInvertedTreeNode are set. - */ -HeapAnalysesClient.prototype.takeCensusDiff = function (firstSnapshotFilePath, - secondSnapshotFilePath, - censusOptions, - requestOptions = {}) { - return this._worker.performTask("takeCensusDiff", { - firstSnapshotFilePath, - secondSnapshotFilePath, - censusOptions, - requestOptions - }); -}; - -/** * Dominator Trees **********************************************************/ - -/** - * Compute the dominator tree of the heap snapshot loaded from the given file - * path. Returns the id of the computed dominator tree. - * - * @param {String} snapshotFilePath - * - * @returns {Promise} - */ -HeapAnalysesClient.prototype.computeDominatorTree = function (snapshotFilePath) { - return this._worker.performTask("computeDominatorTree", snapshotFilePath); -}; - -/** - * Get the initial, partial view of the dominator tree with the given id. - * - * @param {Object} opts - * An object specifying options for this request. - * - {DominatorTreeId} dominatorTreeId - * The id of the dominator tree. - * - {Object} breakdown - * The breakdown used to generate node labels. - * - {Number} maxDepth - * The maximum depth to traverse down the tree to create this initial - * view. - * - {Number} maxSiblings - * The maximum number of siblings to visit within each traversed node's - * children. - * - {Number} maxRetainingPaths - * The maximum number of retaining paths to find for each node. - * - * @returns {Promise} - */ -HeapAnalysesClient.prototype.getDominatorTree = function (opts) { - return this._worker.performTask("getDominatorTree", opts); -}; - -/** - * Get a subset of a nodes children in the dominator tree. - * - * @param {Object} opts - * An object specifying options for this request. - * - {DominatorTreeId} dominatorTreeId - * The id of the dominator tree. - * - {NodeId} nodeId - * The id of the node whose children are being found. - * - {Object} breakdown - * The breakdown used to generate node labels. - * - {Number} startIndex - * The starting index within the full set of immediately dominated - * children of the children being requested. Children are always sorted - * by greatest to least retained size. - * - {Number} maxCount - * The maximum number of children to return. - * - {Number} maxRetainingPaths - * The maximum number of retaining paths to find for each node. - * - * @returns {Promise} - * A promise of an object with the following properties: - * - {Array} nodes - * The requested nodes that are immediately dominated by the node - * identified by `opts.nodeId`. - * - {Boolean} moreChildrenAvailable - * True iff there are more children available after the returned - * nodes. - * - {Array} path - * The path through the tree from the root to these node's parent, eg - * [root's id, child of root's id, child of child of root's id, ..., `nodeId`]. - */ -HeapAnalysesClient.prototype.getImmediatelyDominated = function (opts) { - return this._worker.performTask("getImmediatelyDominated", opts); -}; diff --git a/devtools/shared/heapsnapshot/HeapAnalysesWorker.js b/devtools/shared/heapsnapshot/HeapAnalysesWorker.js deleted file mode 100644 index d07d67f80..000000000 --- a/devtools/shared/heapsnapshot/HeapAnalysesWorker.js +++ /dev/null @@ -1,303 +0,0 @@ -/* 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/. */ -/* global ThreadSafeChromeUtils*/ - -// This is a worker which reads offline heap snapshots into memory and performs -// heavyweight analyses on them without blocking the main thread. A -// HeapAnalysesWorker is owned and communicated with by a HeapAnalysesClient -// instance. See HeapAnalysesClient.js. - -"use strict"; - -importScripts("resource://gre/modules/workers/require.js"); -importScripts("resource://devtools/shared/worker/helper.js"); -const { censusReportToCensusTreeNode } = require("resource://devtools/shared/heapsnapshot/census-tree-node.js"); -const DominatorTreeNode = require("resource://devtools/shared/heapsnapshot/DominatorTreeNode.js"); -const CensusUtils = require("resource://devtools/shared/heapsnapshot/CensusUtils.js"); - -const DEFAULT_START_INDEX = 0; -const DEFAULT_MAX_COUNT = 50; - -/** - * The set of HeapSnapshot instances this worker has read into memory. Keyed by - * snapshot file path. - */ -const snapshots = Object.create(null); - -/** - * The set of `DominatorTree`s that have been computed, mapped by their id (aka - * the index into this array). - * - * @see /dom/webidl/DominatorTree.webidl - */ -const dominatorTrees = []; - -/** - * The i^th HeapSnapshot in this array is the snapshot used to generate the i^th - * dominator tree in `dominatorTrees` above. This lets us map from a dominator - * tree id to the snapshot it came from. - */ -const dominatorTreeSnapshots = []; - -/** - * @see HeapAnalysesClient.prototype.readHeapSnapshot - */ -workerHelper.createTask(self, "readHeapSnapshot", ({ snapshotFilePath }) => { - snapshots[snapshotFilePath] = - ThreadSafeChromeUtils.readHeapSnapshot(snapshotFilePath); - return true; -}); - -/** - * @see HeapAnalysesClient.prototype.deleteHeapSnapshot - */ -workerHelper.createTask(self, "deleteHeapSnapshot", ({ snapshotFilePath }) => { - let snapshot = snapshots[snapshotFilePath]; - if (!snapshot) { - throw new Error(`No known heap snapshot for '${snapshotFilePath}'`); - } - - snapshots[snapshotFilePath] = undefined; - - let dominatorTreeId = dominatorTreeSnapshots.indexOf(snapshot); - if (dominatorTreeId != -1) { - dominatorTreeSnapshots[dominatorTreeId] = undefined; - dominatorTrees[dominatorTreeId] = undefined; - } -}); - -/** - * @see HeapAnalysesClient.prototype.takeCensus - */ -workerHelper.createTask(self, "takeCensus", ({ snapshotFilePath, censusOptions, requestOptions }) => { - if (!snapshots[snapshotFilePath]) { - throw new Error(`No known heap snapshot for '${snapshotFilePath}'`); - } - - let report = snapshots[snapshotFilePath].takeCensus(censusOptions); - let parentMap; - - if (requestOptions.asTreeNode || requestOptions.asInvertedTreeNode) { - const opts = { filter: requestOptions.filter || null }; - if (requestOptions.asInvertedTreeNode) { - opts.invert = true; - } - report = censusReportToCensusTreeNode(censusOptions.breakdown, report, opts); - parentMap = CensusUtils.createParentMap(report); - } - - return { report, parentMap }; -}); - -/** - * @see HeapAnalysesClient.prototype.getCensusIndividuals - */ -workerHelper.createTask(self, "getCensusIndividuals", request => { - const { - dominatorTreeId, - indices, - censusBreakdown, - labelBreakdown, - maxRetainingPaths, - maxIndividuals, - } = request; - - const dominatorTree = dominatorTrees[dominatorTreeId]; - if (!dominatorTree) { - throw new Error( - `There does not exist a DominatorTree with the id ${dominatorTreeId}`); - } - - const snapshot = dominatorTreeSnapshots[dominatorTreeId]; - const nodeIds = CensusUtils.getCensusIndividuals(indices, censusBreakdown, snapshot); - - const nodes = nodeIds - .sort((a, b) => dominatorTree.getRetainedSize(b) - dominatorTree.getRetainedSize(a)) - .slice(0, maxIndividuals) - .map(id => { - const { label, shallowSize } = - DominatorTreeNode.getLabelAndShallowSize(id, snapshot, labelBreakdown); - const retainedSize = dominatorTree.getRetainedSize(id); - const node = new DominatorTreeNode(id, label, shallowSize, retainedSize); - node.moreChildrenAvailable = false; - return node; - }); - - DominatorTreeNode.attachShortestPaths(snapshot, - labelBreakdown, - dominatorTree.root, - nodes, - maxRetainingPaths); - - return { nodes }; -}); - -/** - * @see HeapAnalysesClient.prototype.takeCensusDiff - */ -workerHelper.createTask(self, "takeCensusDiff", request => { - const { - firstSnapshotFilePath, - secondSnapshotFilePath, - censusOptions, - requestOptions - } = request; - - if (!snapshots[firstSnapshotFilePath]) { - throw new Error(`No known heap snapshot for '${firstSnapshotFilePath}'`); - } - - if (!snapshots[secondSnapshotFilePath]) { - throw new Error(`No known heap snapshot for '${secondSnapshotFilePath}'`); - } - - const first = snapshots[firstSnapshotFilePath].takeCensus(censusOptions); - const second = snapshots[secondSnapshotFilePath].takeCensus(censusOptions); - let delta = CensusUtils.diff(censusOptions.breakdown, first, second); - let parentMap; - - if (requestOptions.asTreeNode || requestOptions.asInvertedTreeNode) { - const opts = { filter: requestOptions.filter || null }; - if (requestOptions.asInvertedTreeNode) { - opts.invert = true; - } - delta = censusReportToCensusTreeNode(censusOptions.breakdown, delta, opts); - parentMap = CensusUtils.createParentMap(delta); - } - - return { delta, parentMap }; -}); - -/** - * @see HeapAnalysesClient.prototype.getCreationTime - */ -workerHelper.createTask(self, "getCreationTime", snapshotFilePath => { - if (!snapshots[snapshotFilePath]) { - throw new Error(`No known heap snapshot for '${snapshotFilePath}'`); - } - return snapshots[snapshotFilePath].creationTime; -}); - -/** - * @see HeapAnalysesClient.prototype.computeDominatorTree - */ -workerHelper.createTask(self, "computeDominatorTree", snapshotFilePath => { - const snapshot = snapshots[snapshotFilePath]; - if (!snapshot) { - throw new Error(`No known heap snapshot for '${snapshotFilePath}'`); - } - - const id = dominatorTrees.length; - dominatorTrees.push(snapshot.computeDominatorTree()); - dominatorTreeSnapshots.push(snapshot); - return id; -}); - -/** - * @see HeapAnalysesClient.prototype.getDominatorTree - */ -workerHelper.createTask(self, "getDominatorTree", request => { - const { - dominatorTreeId, - breakdown, - maxDepth, - maxSiblings, - maxRetainingPaths, - } = request; - - if (!(0 <= dominatorTreeId && dominatorTreeId < dominatorTrees.length)) { - throw new Error( - `There does not exist a DominatorTree with the id ${dominatorTreeId}`); - } - - const dominatorTree = dominatorTrees[dominatorTreeId]; - const snapshot = dominatorTreeSnapshots[dominatorTreeId]; - - const tree = DominatorTreeNode.partialTraversal(dominatorTree, - snapshot, - breakdown, - maxDepth, - maxSiblings); - - const nodes = []; - (function getNodes(node) { - nodes.push(node); - if (node.children) { - for (let i = 0, length = node.children.length; i < length; i++) { - getNodes(node.children[i]); - } - } - }(tree)); - - DominatorTreeNode.attachShortestPaths(snapshot, - breakdown, - dominatorTree.root, - nodes, - maxRetainingPaths); - - return tree; -}); - -/** - * @see HeapAnalysesClient.prototype.getImmediatelyDominated - */ -workerHelper.createTask(self, "getImmediatelyDominated", request => { - const { - dominatorTreeId, - nodeId, - breakdown, - startIndex, - maxCount, - maxRetainingPaths, - } = request; - - if (!(0 <= dominatorTreeId && dominatorTreeId < dominatorTrees.length)) { - throw new Error( - `There does not exist a DominatorTree with the id ${dominatorTreeId}`); - } - - const dominatorTree = dominatorTrees[dominatorTreeId]; - const snapshot = dominatorTreeSnapshots[dominatorTreeId]; - - const childIds = dominatorTree.getImmediatelyDominated(nodeId); - if (!childIds) { - throw new Error(`${nodeId} is not a node id in the dominator tree`); - } - - const start = startIndex || DEFAULT_START_INDEX; - const count = maxCount || DEFAULT_MAX_COUNT; - const end = start + count; - - const nodes = childIds - .slice(start, end) - .map(id => { - const { label, shallowSize } = - DominatorTreeNode.getLabelAndShallowSize(id, snapshot, breakdown); - const retainedSize = dominatorTree.getRetainedSize(id); - const node = new DominatorTreeNode(id, label, shallowSize, retainedSize); - node.parentId = nodeId; - // DominatorTree.getImmediatelyDominated will always return non-null here - // because we got the id directly from the dominator tree. - node.moreChildrenAvailable = dominatorTree.getImmediatelyDominated(id).length > 0; - return node; - }); - - const path = []; - let id = nodeId; - do { - path.push(id); - id = dominatorTree.getImmediateDominator(id); - } while (id !== null); - path.reverse(); - - const moreChildrenAvailable = childIds.length > end; - - DominatorTreeNode.attachShortestPaths(snapshot, - breakdown, - dominatorTree.root, - nodes, - maxRetainingPaths); - - return { nodes, moreChildrenAvailable, path }; -}); diff --git a/devtools/shared/heapsnapshot/HeapSnapshot.cpp b/devtools/shared/heapsnapshot/HeapSnapshot.cpp deleted file mode 100644 index 299a96a9c..000000000 --- a/devtools/shared/heapsnapshot/HeapSnapshot.cpp +++ /dev/null @@ -1,1619 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ -/* 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/. */ - -#include "HeapSnapshot.h" - -#include -#include -#include - -#include "js/Debug.h" -#include "js/TypeDecls.h" -#include "js/UbiNodeBreadthFirst.h" -#include "js/UbiNodeCensus.h" -#include "js/UbiNodeDominatorTree.h" -#include "js/UbiNodeShortestPaths.h" -#include "mozilla/Attributes.h" -#include "mozilla/CycleCollectedJSContext.h" -#include "mozilla/devtools/AutoMemMap.h" -#include "mozilla/devtools/CoreDump.pb.h" -#include "mozilla/devtools/DeserializedNode.h" -#include "mozilla/devtools/DominatorTree.h" -#include "mozilla/devtools/FileDescriptorOutputStream.h" -#include "mozilla/devtools/HeapSnapshotTempFileHelperChild.h" -#include "mozilla/devtools/ZeroCopyNSIOutputStream.h" -#include "mozilla/dom/ChromeUtils.h" -#include "mozilla/dom/ContentChild.h" -#include "mozilla/dom/HeapSnapshotBinding.h" -#include "mozilla/RangedPtr.h" -#include "mozilla/Unused.h" - -#include "jsapi.h" -#include "jsfriendapi.h" -#include "nsCycleCollectionParticipant.h" -#include "nsCRTGlue.h" -#include "nsDirectoryServiceDefs.h" -#include "nsIFile.h" -#include "nsIOutputStream.h" -#include "nsISupportsImpl.h" -#include "nsNetUtil.h" -#include "nsPrintfCString.h" -#include "prerror.h" -#include "prio.h" -#include "prtypes.h" - -namespace mozilla { -namespace devtools { - -using namespace JS; -using namespace dom; - -using ::google::protobuf::io::ArrayInputStream; -using ::google::protobuf::io::CodedInputStream; -using ::google::protobuf::io::GzipInputStream; -using ::google::protobuf::io::ZeroCopyInputStream; - -using JS::ubi::AtomOrTwoByteChars; -using JS::ubi::ShortestPaths; - -MallocSizeOf -GetCurrentThreadDebuggerMallocSizeOf() -{ - auto ccjscx = CycleCollectedJSContext::Get(); - MOZ_ASSERT(ccjscx); - auto cx = ccjscx->Context(); - MOZ_ASSERT(cx); - auto mallocSizeOf = JS::dbg::GetDebuggerMallocSizeOf(cx); - MOZ_ASSERT(mallocSizeOf); - return mallocSizeOf; -} - -/*** Cycle Collection Boilerplate *****************************************************************/ - -NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE(HeapSnapshot, mParent) - -NS_IMPL_CYCLE_COLLECTING_ADDREF(HeapSnapshot) -NS_IMPL_CYCLE_COLLECTING_RELEASE(HeapSnapshot) - -NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(HeapSnapshot) - NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY - NS_INTERFACE_MAP_ENTRY(nsISupports) -NS_INTERFACE_MAP_END - -/* virtual */ JSObject* -HeapSnapshot::WrapObject(JSContext* aCx, HandleObject aGivenProto) -{ - return HeapSnapshotBinding::Wrap(aCx, this, aGivenProto); -} - -/*** Reading Heap Snapshots ***********************************************************************/ - -/* static */ already_AddRefed -HeapSnapshot::Create(JSContext* cx, - GlobalObject& global, - const uint8_t* buffer, - uint32_t size, - ErrorResult& rv) -{ - RefPtr snapshot = new HeapSnapshot(cx, global.GetAsSupports()); - if (!snapshot->init(cx, buffer, size)) { - rv.Throw(NS_ERROR_UNEXPECTED); - return nullptr; - } - return snapshot.forget(); -} - -template -static bool -parseMessage(ZeroCopyInputStream& stream, uint32_t sizeOfMessage, MessageType& message) -{ - // We need to create a new `CodedInputStream` for each message so that the - // 64MB limit is applied per-message rather than to the whole stream. - CodedInputStream codedStream(&stream); - - // The protobuf message nesting that core dumps exhibit is dominated by - // allocation stacks' frames. In the most deeply nested case, each frame has - // two messages: a StackFrame message and a StackFrame::Data message. These - // frames are on top of a small constant of other messages. There are a - // MAX_STACK_DEPTH number of frames, so we multiply this by 3 to make room for - // the two messages per frame plus some head room for the constant number of - // non-dominating messages. - codedStream.SetRecursionLimit(HeapSnapshot::MAX_STACK_DEPTH * 3); - - auto limit = codedStream.PushLimit(sizeOfMessage); - if (NS_WARN_IF(!message.ParseFromCodedStream(&codedStream)) || - NS_WARN_IF(!codedStream.ConsumedEntireMessage()) || - NS_WARN_IF(codedStream.BytesUntilLimit() != 0)) - { - return false; - } - - codedStream.PopLimit(limit); - return true; -} - -template -struct GetOrInternStringMatcher -{ - InternedStringSet& internedStrings; - - explicit GetOrInternStringMatcher(InternedStringSet& strings) : internedStrings(strings) { } - - const CharT* match(const std::string* str) { - MOZ_ASSERT(str); - size_t length = str->length() / sizeof(CharT); - auto tempString = reinterpret_cast(str->data()); - - UniquePtr owned(NS_strndup(tempString, length)); - if (!owned || !internedStrings.append(Move(owned))) - return nullptr; - - return internedStrings.back().get(); - } - - const CharT* match(uint64_t ref) { - if (MOZ_LIKELY(ref < internedStrings.length())) { - auto& string = internedStrings[ref]; - MOZ_ASSERT(string); - return string.get(); - } - - return nullptr; - } -}; - -template< - // Either char or char16_t. - typename CharT, - // A reference to either `internedOneByteStrings` or `internedTwoByteStrings` - // if CharT is char or char16_t respectively. - typename InternedStringSet> -const CharT* -HeapSnapshot::getOrInternString(InternedStringSet& internedStrings, - Maybe& maybeStrOrRef) -{ - // Incomplete message: has neither a string nor a reference to an already - // interned string. - if (MOZ_UNLIKELY(maybeStrOrRef.isNothing())) - return nullptr; - - GetOrInternStringMatcher m(internedStrings); - return maybeStrOrRef->match(m); -} - -// Get a de-duplicated string as a Maybe from the given `msg`. -#define GET_STRING_OR_REF_WITH_PROP_NAMES(msg, strPropertyName, refPropertyName) \ - (msg.has_##refPropertyName() \ - ? Some(StringOrRef(msg.refPropertyName())) \ - : msg.has_##strPropertyName() \ - ? Some(StringOrRef(&msg.strPropertyName())) \ - : Nothing()) - -#define GET_STRING_OR_REF(msg, property) \ - (msg.has_##property##ref() \ - ? Some(StringOrRef(msg.property##ref())) \ - : msg.has_##property() \ - ? Some(StringOrRef(&msg.property())) \ - : Nothing()) - -bool -HeapSnapshot::saveNode(const protobuf::Node& node, NodeIdSet& edgeReferents) -{ - // NB: de-duplicated string properties must be read back and interned in the - // same order here as they are written and serialized in - // `CoreDumpWriter::writeNode` or else indices in references to already - // serialized strings will be off. - - if (NS_WARN_IF(!node.has_id())) - return false; - NodeId id = node.id(); - - // NodeIds are derived from pointers (at most 48 bits) and we rely on them - // fitting into JS numbers (IEEE 754 doubles, can precisely store 53 bit - // integers) despite storing them on disk as 64 bit integers. - if (NS_WARN_IF(!JS::Value::isNumberRepresentable(id))) - return false; - - // Should only deserialize each node once. - if (NS_WARN_IF(nodes.has(id))) - return false; - - if (NS_WARN_IF(!JS::ubi::Uint32IsValidCoarseType(node.coarsetype()))) - return false; - auto coarseType = JS::ubi::Uint32ToCoarseType(node.coarsetype()); - - Maybe typeNameOrRef = GET_STRING_OR_REF_WITH_PROP_NAMES(node, typename_, typenameref); - auto typeName = getOrInternString(internedTwoByteStrings, typeNameOrRef); - if (NS_WARN_IF(!typeName)) - return false; - - if (NS_WARN_IF(!node.has_size())) - return false; - uint64_t size = node.size(); - - auto edgesLength = node.edges_size(); - DeserializedNode::EdgeVector edges; - if (NS_WARN_IF(!edges.reserve(edgesLength))) - return false; - for (decltype(edgesLength) i = 0; i < edgesLength; i++) { - auto& protoEdge = node.edges(i); - - if (NS_WARN_IF(!protoEdge.has_referent())) - return false; - NodeId referent = protoEdge.referent(); - - if (NS_WARN_IF(!edgeReferents.put(referent))) - return false; - - const char16_t* edgeName = nullptr; - if (protoEdge.EdgeNameOrRef_case() != protobuf::Edge::EDGENAMEORREF_NOT_SET) { - Maybe edgeNameOrRef = GET_STRING_OR_REF(protoEdge, name); - edgeName = getOrInternString(internedTwoByteStrings, edgeNameOrRef); - if (NS_WARN_IF(!edgeName)) - return false; - } - - edges.infallibleAppend(DeserializedEdge(referent, edgeName)); - } - - Maybe allocationStack; - if (node.has_allocationstack()) { - StackFrameId id = 0; - if (NS_WARN_IF(!saveStackFrame(node.allocationstack(), id))) - return false; - allocationStack.emplace(id); - } - MOZ_ASSERT(allocationStack.isSome() == node.has_allocationstack()); - - const char* jsObjectClassName = nullptr; - if (node.JSObjectClassNameOrRef_case() != protobuf::Node::JSOBJECTCLASSNAMEORREF_NOT_SET) { - Maybe clsNameOrRef = GET_STRING_OR_REF(node, jsobjectclassname); - jsObjectClassName = getOrInternString(internedOneByteStrings, clsNameOrRef); - if (NS_WARN_IF(!jsObjectClassName)) - return false; - } - - const char* scriptFilename = nullptr; - if (node.ScriptFilenameOrRef_case() != protobuf::Node::SCRIPTFILENAMEORREF_NOT_SET) { - Maybe scriptFilenameOrRef = GET_STRING_OR_REF(node, scriptfilename); - scriptFilename = getOrInternString(internedOneByteStrings, scriptFilenameOrRef); - if (NS_WARN_IF(!scriptFilename)) - return false; - } - - if (NS_WARN_IF(!nodes.putNew(id, DeserializedNode(id, coarseType, typeName, - size, Move(edges), - allocationStack, - jsObjectClassName, - scriptFilename, *this)))) - { - return false; - }; - - return true; -} - -bool -HeapSnapshot::saveStackFrame(const protobuf::StackFrame& frame, - StackFrameId& outFrameId) -{ - // NB: de-duplicated string properties must be read in the same order here as - // they are written in `CoreDumpWriter::getProtobufStackFrame` or else indices - // in references to already serialized strings will be off. - - if (frame.has_ref()) { - // We should only get a reference to the previous frame if we have already - // seen the previous frame. - if (!frames.has(frame.ref())) - return false; - - outFrameId = frame.ref(); - return true; - } - - // Incomplete message. - if (!frame.has_data()) - return false; - - auto data = frame.data(); - - if (!data.has_id()) - return false; - StackFrameId id = data.id(); - - // This should be the first and only time we see this frame. - if (frames.has(id)) - return false; - - if (!data.has_line()) - return false; - uint32_t line = data.line(); - - if (!data.has_column()) - return false; - uint32_t column = data.column(); - - if (!data.has_issystem()) - return false; - bool isSystem = data.issystem(); - - if (!data.has_isselfhosted()) - return false; - bool isSelfHosted = data.isselfhosted(); - - Maybe sourceOrRef = GET_STRING_OR_REF(data, source); - auto source = getOrInternString(internedTwoByteStrings, sourceOrRef); - if (!source) - return false; - - const char16_t* functionDisplayName = nullptr; - if (data.FunctionDisplayNameOrRef_case() != - protobuf::StackFrame_Data::FUNCTIONDISPLAYNAMEORREF_NOT_SET) - { - Maybe nameOrRef = GET_STRING_OR_REF(data, functiondisplayname); - functionDisplayName = getOrInternString(internedTwoByteStrings, nameOrRef); - if (!functionDisplayName) - return false; - } - - Maybe parent; - if (data.has_parent()) { - StackFrameId parentId = 0; - if (!saveStackFrame(data.parent(), parentId)) - return false; - parent = Some(parentId); - } - - if (!frames.putNew(id, DeserializedStackFrame(id, parent, line, column, - source, functionDisplayName, - isSystem, isSelfHosted, *this))) - { - return false; - } - - outFrameId = id; - return true; -} - -#undef GET_STRING_OR_REF_WITH_PROP_NAMES -#undef GET_STRING_OR_REF - -// Because protobuf messages aren't self-delimiting, we serialize each message -// preceded by its size in bytes. When deserializing, we read this size and then -// limit reading from the stream to the given byte size. If we didn't, then the -// first message would consume the entire stream. -static bool -readSizeOfNextMessage(ZeroCopyInputStream& stream, uint32_t* sizep) -{ - MOZ_ASSERT(sizep); - CodedInputStream codedStream(&stream); - return codedStream.ReadVarint32(sizep) && *sizep > 0; -} - -bool -HeapSnapshot::init(JSContext* cx, const uint8_t* buffer, uint32_t size) -{ - if (!nodes.init() || !frames.init()) - return false; - - ArrayInputStream stream(buffer, size); - GzipInputStream gzipStream(&stream); - uint32_t sizeOfMessage = 0; - - // First is the metadata. - - protobuf::Metadata metadata; - if (NS_WARN_IF(!readSizeOfNextMessage(gzipStream, &sizeOfMessage))) - return false; - if (!parseMessage(gzipStream, sizeOfMessage, metadata)) - return false; - if (metadata.has_timestamp()) - timestamp.emplace(metadata.timestamp()); - - // Next is the root node. - - protobuf::Node root; - if (NS_WARN_IF(!readSizeOfNextMessage(gzipStream, &sizeOfMessage))) - return false; - if (!parseMessage(gzipStream, sizeOfMessage, root)) - return false; - - // Although the id is optional in the protobuf format for future proofing, we - // can't currently do anything without it. - if (NS_WARN_IF(!root.has_id())) - return false; - rootId = root.id(); - - // The set of all node ids we've found edges pointing to. - NodeIdSet edgeReferents(cx); - if (NS_WARN_IF(!edgeReferents.init())) - return false; - - if (NS_WARN_IF(!saveNode(root, edgeReferents))) - return false; - - // Finally, the rest of the nodes in the core dump. - - // Test for the end of the stream. The protobuf library gives no way to tell - // the difference between an underlying read error and the stream being - // done. All we can do is attempt to read the size of the next message and - // extrapolate guestimations from the result of that operation. - while (readSizeOfNextMessage(gzipStream, &sizeOfMessage)) { - protobuf::Node node; - if (!parseMessage(gzipStream, sizeOfMessage, node)) - return false; - if (NS_WARN_IF(!saveNode(node, edgeReferents))) - return false; - } - - // Check the set of node ids referred to by edges we found and ensure that we - // have the node corresponding to each id. If we don't have all of them, it is - // unsafe to perform analyses of this heap snapshot. - for (auto range = edgeReferents.all(); !range.empty(); range.popFront()) { - if (NS_WARN_IF(!nodes.has(range.front()))) - return false; - } - - return true; -} - - -/*** Heap Snapshot Analyses ***********************************************************************/ - -void -HeapSnapshot::TakeCensus(JSContext* cx, JS::HandleObject options, - JS::MutableHandleValue rval, ErrorResult& rv) -{ - JS::ubi::Census census(cx); - if (NS_WARN_IF(!census.init())) { - rv.Throw(NS_ERROR_OUT_OF_MEMORY); - return; - } - - JS::ubi::CountTypePtr rootType; - if (NS_WARN_IF(!JS::ubi::ParseCensusOptions(cx, census, options, rootType))) { - rv.Throw(NS_ERROR_UNEXPECTED); - return; - } - - JS::ubi::RootedCount rootCount(cx, rootType->makeCount()); - if (NS_WARN_IF(!rootCount)) { - rv.Throw(NS_ERROR_OUT_OF_MEMORY); - return; - } - - JS::ubi::CensusHandler handler(census, rootCount, GetCurrentThreadDebuggerMallocSizeOf()); - - { - JS::AutoCheckCannotGC nogc; - - JS::ubi::CensusTraversal traversal(cx, handler, nogc); - if (NS_WARN_IF(!traversal.init())) { - rv.Throw(NS_ERROR_OUT_OF_MEMORY); - return; - } - - if (NS_WARN_IF(!traversal.addStart(getRoot()))) { - rv.Throw(NS_ERROR_OUT_OF_MEMORY); - return; - } - - if (NS_WARN_IF(!traversal.traverse())) { - rv.Throw(NS_ERROR_UNEXPECTED); - return; - } - } - - if (NS_WARN_IF(!handler.report(cx, rval))) { - rv.Throw(NS_ERROR_OUT_OF_MEMORY); - return; - } -} - -void -HeapSnapshot::DescribeNode(JSContext* cx, JS::HandleObject breakdown, uint64_t nodeId, - JS::MutableHandleValue rval, ErrorResult& rv) { - MOZ_ASSERT(breakdown); - JS::RootedValue breakdownVal(cx, JS::ObjectValue(*breakdown)); - JS::ubi::CountTypePtr rootType = JS::ubi::ParseBreakdown(cx, breakdownVal); - if (NS_WARN_IF(!rootType)) { - rv.Throw(NS_ERROR_UNEXPECTED); - return; - } - - JS::ubi::RootedCount rootCount(cx, rootType->makeCount()); - if (NS_WARN_IF(!rootCount)) { - rv.Throw(NS_ERROR_OUT_OF_MEMORY); - return; - } - - JS::ubi::Node::Id id(nodeId); - Maybe node = getNodeById(id); - if (NS_WARN_IF(node.isNothing())) { - rv.Throw(NS_ERROR_INVALID_ARG); - return; - } - - MallocSizeOf mallocSizeOf = GetCurrentThreadDebuggerMallocSizeOf(); - if (NS_WARN_IF(!rootCount->count(mallocSizeOf, *node))) { - rv.Throw(NS_ERROR_OUT_OF_MEMORY); - return; - } - - if (NS_WARN_IF(!rootCount->report(cx, rval))) { - rv.Throw(NS_ERROR_OUT_OF_MEMORY); - return; - } -} - - -already_AddRefed -HeapSnapshot::ComputeDominatorTree(ErrorResult& rv) -{ - Maybe maybeTree; - { - auto ccjscx = CycleCollectedJSContext::Get(); - MOZ_ASSERT(ccjscx); - auto cx = ccjscx->Context(); - MOZ_ASSERT(cx); - JS::AutoCheckCannotGC nogc(cx); - maybeTree = JS::ubi::DominatorTree::Create(cx, nogc, getRoot()); - } - - if (NS_WARN_IF(maybeTree.isNothing())) { - rv.Throw(NS_ERROR_OUT_OF_MEMORY); - return nullptr; - } - - return MakeAndAddRef(Move(*maybeTree), this, mParent); -} - -void -HeapSnapshot::ComputeShortestPaths(JSContext*cx, uint64_t start, - const Sequence& targets, - uint64_t maxNumPaths, - JS::MutableHandleObject results, - ErrorResult& rv) -{ - // First ensure that our inputs are valid. - - if (NS_WARN_IF(maxNumPaths == 0)) { - rv.Throw(NS_ERROR_INVALID_ARG); - return; - } - - Maybe startNode = getNodeById(start); - if (NS_WARN_IF(startNode.isNothing())) { - rv.Throw(NS_ERROR_INVALID_ARG); - return; - } - - if (NS_WARN_IF(targets.Length() == 0)) { - rv.Throw(NS_ERROR_INVALID_ARG); - return; - } - - // Aggregate the targets into a set and make sure that they exist in the heap - // snapshot. - - JS::ubi::NodeSet targetsSet; - if (NS_WARN_IF(!targetsSet.init())) { - rv.Throw(NS_ERROR_OUT_OF_MEMORY); - return; - } - - for (const auto& target : targets) { - Maybe targetNode = getNodeById(target); - if (NS_WARN_IF(targetNode.isNothing())) { - rv.Throw(NS_ERROR_INVALID_ARG); - return; - } - - if (NS_WARN_IF(!targetsSet.put(*targetNode))) { - rv.Throw(NS_ERROR_OUT_OF_MEMORY); - return; - } - } - - // Walk the heap graph and find the shortest paths. - - Maybe maybeShortestPaths; - { - JS::AutoCheckCannotGC nogc(cx); - maybeShortestPaths = ShortestPaths::Create(cx, nogc, maxNumPaths, *startNode, - Move(targetsSet)); - } - - if (NS_WARN_IF(maybeShortestPaths.isNothing())) { - rv.Throw(NS_ERROR_OUT_OF_MEMORY); - return; - } - - auto& shortestPaths = *maybeShortestPaths; - - // Convert the results into a Map object mapping target node IDs to arrays of - // paths found. - - RootedObject resultsMap(cx, JS::NewMapObject(cx)); - if (NS_WARN_IF(!resultsMap)) { - rv.Throw(NS_ERROR_OUT_OF_MEMORY); - return; - } - - for (auto range = shortestPaths.eachTarget(); !range.empty(); range.popFront()) { - JS::RootedValue key(cx, JS::NumberValue(range.front().identifier())); - JS::AutoValueVector paths(cx); - - bool ok = shortestPaths.forEachPath(range.front(), [&](JS::ubi::Path& path) { - JS::AutoValueVector pathValues(cx); - - for (JS::ubi::BackEdge* edge : path) { - JS::RootedObject pathPart(cx, JS_NewPlainObject(cx)); - if (!pathPart) { - return false; - } - - JS::RootedValue predecessor(cx, NumberValue(edge->predecessor().identifier())); - if (!JS_DefineProperty(cx, pathPart, "predecessor", predecessor, JSPROP_ENUMERATE)) { - return false; - } - - RootedValue edgeNameVal(cx, NullValue()); - if (edge->name()) { - RootedString edgeName(cx, JS_AtomizeUCString(cx, edge->name().get())); - if (!edgeName) { - return false; - } - edgeNameVal = StringValue(edgeName); - } - - if (!JS_DefineProperty(cx, pathPart, "edge", edgeNameVal, JSPROP_ENUMERATE)) { - return false; - } - - if (!pathValues.append(ObjectValue(*pathPart))) { - return false; - } - } - - RootedObject pathObj(cx, JS_NewArrayObject(cx, pathValues)); - return pathObj && paths.append(ObjectValue(*pathObj)); - }); - - if (NS_WARN_IF(!ok)) { - rv.Throw(NS_ERROR_OUT_OF_MEMORY); - return; - } - - JS::RootedObject pathsArray(cx, JS_NewArrayObject(cx, paths)); - if (NS_WARN_IF(!pathsArray)) { - rv.Throw(NS_ERROR_OUT_OF_MEMORY); - return; - } - - JS::RootedValue pathsVal(cx, ObjectValue(*pathsArray)); - if (NS_WARN_IF(!JS::MapSet(cx, resultsMap, key, pathsVal))) { - rv.Throw(NS_ERROR_OUT_OF_MEMORY); - return; - } - } - - results.set(resultsMap); -} - -/*** Saving Heap Snapshots ************************************************************************/ - -// If we are only taking a snapshot of the heap affected by the given set of -// globals, find the set of compartments the globals are allocated -// within. Returns false on OOM failure. -static bool -PopulateCompartmentsWithGlobals(CompartmentSet& compartments, AutoObjectVector& globals) -{ - if (!compartments.init()) - return false; - - unsigned length = globals.length(); - for (unsigned i = 0; i < length; i++) { - if (!compartments.put(GetObjectCompartment(globals[i]))) - return false; - } - - return true; -} - -// Add the given set of globals as explicit roots in the given roots -// list. Returns false on OOM failure. -static bool -AddGlobalsAsRoots(AutoObjectVector& globals, ubi::RootList& roots) -{ - unsigned length = globals.length(); - for (unsigned i = 0; i < length; i++) { - if (!roots.addRoot(ubi::Node(globals[i].get()), - u"heap snapshot global")) - { - return false; - } - } - return true; -} - -// Choose roots and limits for a traversal, given `boundaries`. Set `roots` to -// the set of nodes within the boundaries that are referred to by nodes -// outside. If `boundaries` does not include all JS compartments, initialize -// `compartments` to the set of included compartments; otherwise, leave -// `compartments` uninitialized. (You can use compartments.initialized() to -// check.) -// -// If `boundaries` is incoherent, or we encounter an error while trying to -// handle it, or we run out of memory, set `rv` appropriately and return -// `false`. -static bool -EstablishBoundaries(JSContext* cx, - ErrorResult& rv, - const HeapSnapshotBoundaries& boundaries, - ubi::RootList& roots, - CompartmentSet& compartments) -{ - MOZ_ASSERT(!roots.initialized()); - MOZ_ASSERT(!compartments.initialized()); - - bool foundBoundaryProperty = false; - - if (boundaries.mRuntime.WasPassed()) { - foundBoundaryProperty = true; - - if (!boundaries.mRuntime.Value()) { - rv.Throw(NS_ERROR_INVALID_ARG); - return false; - } - - if (!roots.init()) { - rv.Throw(NS_ERROR_OUT_OF_MEMORY); - return false; - } - } - - if (boundaries.mDebugger.WasPassed()) { - if (foundBoundaryProperty) { - rv.Throw(NS_ERROR_INVALID_ARG); - return false; - } - foundBoundaryProperty = true; - - JSObject* dbgObj = boundaries.mDebugger.Value(); - if (!dbgObj || !dbg::IsDebugger(*dbgObj)) { - rv.Throw(NS_ERROR_INVALID_ARG); - return false; - } - - AutoObjectVector globals(cx); - if (!dbg::GetDebuggeeGlobals(cx, *dbgObj, globals) || - !PopulateCompartmentsWithGlobals(compartments, globals) || - !roots.init(compartments) || - !AddGlobalsAsRoots(globals, roots)) - { - rv.Throw(NS_ERROR_OUT_OF_MEMORY); - return false; - } - } - - if (boundaries.mGlobals.WasPassed()) { - if (foundBoundaryProperty) { - rv.Throw(NS_ERROR_INVALID_ARG); - return false; - } - foundBoundaryProperty = true; - - uint32_t length = boundaries.mGlobals.Value().Length(); - if (length == 0) { - rv.Throw(NS_ERROR_INVALID_ARG); - return false; - } - - AutoObjectVector globals(cx); - for (uint32_t i = 0; i < length; i++) { - JSObject* global = boundaries.mGlobals.Value().ElementAt(i); - if (!JS_IsGlobalObject(global)) { - rv.Throw(NS_ERROR_INVALID_ARG); - return false; - } - if (!globals.append(global)) { - rv.Throw(NS_ERROR_OUT_OF_MEMORY); - return false; - } - } - - if (!PopulateCompartmentsWithGlobals(compartments, globals) || - !roots.init(compartments) || - !AddGlobalsAsRoots(globals, roots)) - { - rv.Throw(NS_ERROR_OUT_OF_MEMORY); - return false; - } - } - - if (!foundBoundaryProperty) { - rv.Throw(NS_ERROR_INVALID_ARG); - return false; - } - - MOZ_ASSERT(roots.initialized()); - MOZ_ASSERT_IF(boundaries.mDebugger.WasPassed(), compartments.initialized()); - MOZ_ASSERT_IF(boundaries.mGlobals.WasPassed(), compartments.initialized()); - return true; -} - - -// A variant covering all the various two-byte strings that we can get from the -// ubi::Node API. -class TwoByteString : public Variant -{ - using Base = Variant; - - struct AsTwoByteStringMatcher - { - TwoByteString match(JSAtom* atom) { - return TwoByteString(atom); - } - - TwoByteString match(const char16_t* chars) { - return TwoByteString(chars); - } - }; - - struct IsNonNullMatcher - { - template - bool match(const T& t) { return t != nullptr; } - }; - - struct LengthMatcher - { - size_t match(JSAtom* atom) { - MOZ_ASSERT(atom); - JS::ubi::AtomOrTwoByteChars s(atom); - return s.length(); - } - - size_t match(const char16_t* chars) { - MOZ_ASSERT(chars); - return NS_strlen(chars); - } - - size_t match(const JS::ubi::EdgeName& ptr) { - MOZ_ASSERT(ptr); - return NS_strlen(ptr.get()); - } - }; - - struct CopyToBufferMatcher - { - RangedPtr destination; - size_t maxLength; - - CopyToBufferMatcher(RangedPtr destination, size_t maxLength) - : destination(destination) - , maxLength(maxLength) - { } - - size_t match(JS::ubi::EdgeName& ptr) { - return ptr ? match(ptr.get()) : 0; - } - - size_t match(JSAtom* atom) { - MOZ_ASSERT(atom); - JS::ubi::AtomOrTwoByteChars s(atom); - return s.copyToBuffer(destination, maxLength); - } - - size_t match(const char16_t* chars) { - MOZ_ASSERT(chars); - JS::ubi::AtomOrTwoByteChars s(chars); - return s.copyToBuffer(destination, maxLength); - } - }; - -public: - template - MOZ_IMPLICIT TwoByteString(T&& rhs) : Base(Forward(rhs)) { } - - template - TwoByteString& operator=(T&& rhs) { - MOZ_ASSERT(this != &rhs, "self-move disallowed"); - this->~TwoByteString(); - new (this) TwoByteString(Forward(rhs)); - return *this; - } - - TwoByteString(const TwoByteString&) = delete; - TwoByteString& operator=(const TwoByteString&) = delete; - - // Rewrap the inner value of a JS::ubi::AtomOrTwoByteChars as a TwoByteString. - static TwoByteString from(JS::ubi::AtomOrTwoByteChars&& s) { - AsTwoByteStringMatcher m; - return s.match(m); - } - - // Returns true if the given TwoByteString is non-null, false otherwise. - bool isNonNull() const { - IsNonNullMatcher m; - return match(m); - } - - // Return the length of the string, 0 if it is null. - size_t length() const { - LengthMatcher m; - return match(m); - } - - // Copy the contents of a TwoByteString into the provided buffer. The buffer - // is NOT null terminated. The number of characters written is returned. - size_t copyToBuffer(RangedPtr destination, size_t maxLength) { - CopyToBufferMatcher m(destination, maxLength); - return match(m); - } - - struct HashPolicy; -}; - -// A hashing policy for TwoByteString. -// -// Atoms are pointer hashed and use pointer equality, which means that we -// tolerate some duplication across atoms and the other two types of two-byte -// strings. In practice, we expect the amount of this duplication to be very low -// because each type is generally a different semantic thing in addition to -// having a slightly different representation. For example, the set of edge -// names and the set stack frames' source names naturally tend not to overlap -// very much if at all. -struct TwoByteString::HashPolicy { - using Lookup = TwoByteString; - - struct HashingMatcher { - js::HashNumber match(const JSAtom* atom) { - return js::DefaultHasher::hash(atom); - } - - js::HashNumber match(const char16_t* chars) { - MOZ_ASSERT(chars); - auto length = NS_strlen(chars); - return HashString(chars, length); - } - - js::HashNumber match(const JS::ubi::EdgeName& ptr) { - MOZ_ASSERT(ptr); - return match(ptr.get()); - } - }; - - static js::HashNumber hash(const Lookup& l) { - HashingMatcher hasher; - return l.match(hasher); - } - - struct EqualityMatcher { - const TwoByteString& rhs; - explicit EqualityMatcher(const TwoByteString& rhs) : rhs(rhs) { } - - bool match(const JSAtom* atom) { - return rhs.is() && rhs.as() == atom; - } - - bool match(const char16_t* chars) { - MOZ_ASSERT(chars); - - const char16_t* rhsChars = nullptr; - if (rhs.is()) - rhsChars = rhs.as(); - else if (rhs.is()) - rhsChars = rhs.as().get(); - else - return false; - MOZ_ASSERT(rhsChars); - - auto length = NS_strlen(chars); - if (NS_strlen(rhsChars) != length) - return false; - - return memcmp(chars, rhsChars, length * sizeof(char16_t)) == 0; - } - - bool match(const JS::ubi::EdgeName& ptr) { - MOZ_ASSERT(ptr); - return match(ptr.get()); - } - }; - - static bool match(const TwoByteString& k, const Lookup& l) { - EqualityMatcher eq(l); - return k.match(eq); - } - - static void rekey(TwoByteString& k, TwoByteString&& newKey) { - k = Move(newKey); - } -}; - -// Returns whether `edge` should be included in a heap snapshot of -// `compartments`. The optional `policy` out-param is set to INCLUDE_EDGES -// if we want to include the referent's edges, or EXCLUDE_EDGES if we don't -// want to include them. -static bool -ShouldIncludeEdge(JS::CompartmentSet* compartments, - const ubi::Node& origin, const ubi::Edge& edge, - CoreDumpWriter::EdgePolicy* policy = nullptr) -{ - if (policy) { - *policy = CoreDumpWriter::INCLUDE_EDGES; - } - - if (!compartments) { - // We aren't targeting a particular set of compartments, so serialize all the - // things! - return true; - } - - // We are targeting a particular set of compartments. If this node is in our target - // set, serialize it and all of its edges. If this node is _not_ in our - // target set, we also serialize under the assumption that it is a shared - // resource being used by something in our target compartments since we reached it - // by traversing the heap graph. However, we do not serialize its outgoing - // edges and we abandon further traversal from this node. - // - // If the node does not belong to any compartment, we also serialize its outgoing - // edges. This case is relevant for Shapes: they don't belong to a specific - // compartment and contain edges to parent/kids Shapes we want to include. Note - // that these Shapes may contain pointers into our target compartment (the - // Shape's getter/setter JSObjects). However, we do not serialize nodes in other - // compartments that are reachable from these non-compartment nodes. - - JSCompartment* compartment = edge.referent.compartment(); - - if (!compartment || compartments->has(compartment)) { - return true; - } - - if (policy) { - *policy = CoreDumpWriter::EXCLUDE_EDGES; - } - - return !!origin.compartment(); -} - -// A `CoreDumpWriter` that serializes nodes to protobufs and writes them to the -// given `ZeroCopyOutputStream`. -class MOZ_STACK_CLASS StreamWriter : public CoreDumpWriter -{ - using FrameSet = js::HashSet; - using TwoByteStringMap = js::HashMap; - using OneByteStringMap = js::HashMap; - - JSContext* cx; - bool wantNames; - // The set of |JS::ubi::StackFrame::identifier()|s that have already been - // serialized and written to the core dump. - FrameSet framesAlreadySerialized; - // The set of two-byte strings that have already been serialized and written - // to the core dump. - TwoByteStringMap twoByteStringsAlreadySerialized; - // The set of one-byte strings that have already been serialized and written - // to the core dump. - OneByteStringMap oneByteStringsAlreadySerialized; - - ::google::protobuf::io::ZeroCopyOutputStream& stream; - - JS::CompartmentSet* compartments; - - bool writeMessage(const ::google::protobuf::MessageLite& message) { - // We have to create a new CodedOutputStream when writing each message so - // that the 64MB size limit used by Coded{Output,Input}Stream to prevent - // integer overflow is enforced per message rather than on the whole stream. - ::google::protobuf::io::CodedOutputStream codedStream(&stream); - codedStream.WriteVarint32(message.ByteSize()); - message.SerializeWithCachedSizes(&codedStream); - return !codedStream.HadError(); - } - - // Attach the full two-byte string or a reference to a two-byte string that - // has already been serialized to a protobuf message. - template - bool attachTwoByteString(TwoByteString& string, SetStringFunction setString, - SetRefFunction setRef) { - auto ptr = twoByteStringsAlreadySerialized.lookupForAdd(string); - if (ptr) { - setRef(ptr->value()); - return true; - } - - auto length = string.length(); - auto stringData = MakeUnique(length * sizeof(char16_t), '\0'); - if (!stringData) - return false; - - auto buf = const_cast(reinterpret_cast(stringData->data())); - string.copyToBuffer(RangedPtr(buf, length), length); - - uint64_t ref = twoByteStringsAlreadySerialized.count(); - if (!twoByteStringsAlreadySerialized.add(ptr, Move(string), ref)) - return false; - - setString(stringData.release()); - return true; - } - - // Attach the full one-byte string or a reference to a one-byte string that - // has already been serialized to a protobuf message. - template - bool attachOneByteString(const char* string, SetStringFunction setString, - SetRefFunction setRef) { - auto ptr = oneByteStringsAlreadySerialized.lookupForAdd(string); - if (ptr) { - setRef(ptr->value()); - return true; - } - - auto length = strlen(string); - auto stringData = MakeUnique(string, length); - if (!stringData) - return false; - - uint64_t ref = oneByteStringsAlreadySerialized.count(); - if (!oneByteStringsAlreadySerialized.add(ptr, string, ref)) - return false; - - setString(stringData.release()); - return true; - } - - protobuf::StackFrame* getProtobufStackFrame(JS::ubi::StackFrame& frame, - size_t depth = 1) { - // NB: de-duplicated string properties must be written in the same order - // here as they are read in `HeapSnapshot::saveStackFrame` or else indices - // in references to already serialized strings will be off. - - MOZ_ASSERT(frame, - "null frames should be represented as the lack of a serialized " - "stack frame"); - - auto id = frame.identifier(); - auto protobufStackFrame = MakeUnique(); - if (!protobufStackFrame) - return nullptr; - - if (framesAlreadySerialized.has(id)) { - protobufStackFrame->set_ref(id); - return protobufStackFrame.release(); - } - - auto data = MakeUnique(); - if (!data) - return nullptr; - - data->set_id(id); - data->set_line(frame.line()); - data->set_column(frame.column()); - data->set_issystem(frame.isSystem()); - data->set_isselfhosted(frame.isSelfHosted(cx)); - - auto dupeSource = TwoByteString::from(frame.source()); - if (!attachTwoByteString(dupeSource, - [&] (std::string* source) { data->set_allocated_source(source); }, - [&] (uint64_t ref) { data->set_sourceref(ref); })) - { - return nullptr; - } - - auto dupeName = TwoByteString::from(frame.functionDisplayName()); - if (dupeName.isNonNull()) { - if (!attachTwoByteString(dupeName, - [&] (std::string* name) { data->set_allocated_functiondisplayname(name); }, - [&] (uint64_t ref) { data->set_functiondisplaynameref(ref); })) - { - return nullptr; - } - } - - auto parent = frame.parent(); - if (parent && depth < HeapSnapshot::MAX_STACK_DEPTH) { - auto protobufParent = getProtobufStackFrame(parent, depth + 1); - if (!protobufParent) - return nullptr; - data->set_allocated_parent(protobufParent); - } - - protobufStackFrame->set_allocated_data(data.release()); - - if (!framesAlreadySerialized.put(id)) - return nullptr; - - return protobufStackFrame.release(); - } - -public: - StreamWriter(JSContext* cx, - ::google::protobuf::io::ZeroCopyOutputStream& stream, - bool wantNames, - JS::CompartmentSet* compartments) - : cx(cx) - , wantNames(wantNames) - , framesAlreadySerialized(cx) - , twoByteStringsAlreadySerialized(cx) - , oneByteStringsAlreadySerialized(cx) - , stream(stream) - , compartments(compartments) - { } - - bool init() { - return framesAlreadySerialized.init() && - twoByteStringsAlreadySerialized.init() && - oneByteStringsAlreadySerialized.init(); - } - - ~StreamWriter() override { } - - virtual bool writeMetadata(uint64_t timestamp) final { - protobuf::Metadata metadata; - metadata.set_timestamp(timestamp); - return writeMessage(metadata); - } - - virtual bool writeNode(const JS::ubi::Node& ubiNode, - EdgePolicy includeEdges) override final { - // NB: de-duplicated string properties must be written in the same order - // here as they are read in `HeapSnapshot::saveNode` or else indices in - // references to already serialized strings will be off. - - protobuf::Node protobufNode; - protobufNode.set_id(ubiNode.identifier()); - - protobufNode.set_coarsetype(JS::ubi::CoarseTypeToUint32(ubiNode.coarseType())); - - auto typeName = TwoByteString(ubiNode.typeName()); - if (NS_WARN_IF(!attachTwoByteString(typeName, - [&] (std::string* name) { protobufNode.set_allocated_typename_(name); }, - [&] (uint64_t ref) { protobufNode.set_typenameref(ref); }))) - { - return false; - } - - mozilla::MallocSizeOf mallocSizeOf = dbg::GetDebuggerMallocSizeOf(cx); - MOZ_ASSERT(mallocSizeOf); - protobufNode.set_size(ubiNode.size(mallocSizeOf)); - - if (includeEdges) { - auto edges = ubiNode.edges(cx, wantNames); - if (NS_WARN_IF(!edges)) - return false; - - for ( ; !edges->empty(); edges->popFront()) { - ubi::Edge& ubiEdge = edges->front(); - if (!ShouldIncludeEdge(compartments, ubiNode, ubiEdge)) { - continue; - } - - protobuf::Edge* protobufEdge = protobufNode.add_edges(); - if (NS_WARN_IF(!protobufEdge)) { - return false; - } - - protobufEdge->set_referent(ubiEdge.referent.identifier()); - - if (wantNames && ubiEdge.name) { - TwoByteString edgeName(Move(ubiEdge.name)); - if (NS_WARN_IF(!attachTwoByteString(edgeName, - [&] (std::string* name) { protobufEdge->set_allocated_name(name); }, - [&] (uint64_t ref) { protobufEdge->set_nameref(ref); }))) - { - return false; - } - } - } - } - - if (ubiNode.hasAllocationStack()) { - auto ubiStackFrame = ubiNode.allocationStack(); - auto protoStackFrame = getProtobufStackFrame(ubiStackFrame); - if (NS_WARN_IF(!protoStackFrame)) - return false; - protobufNode.set_allocated_allocationstack(protoStackFrame); - } - - if (auto className = ubiNode.jsObjectClassName()) { - if (NS_WARN_IF(!attachOneByteString(className, - [&] (std::string* name) { protobufNode.set_allocated_jsobjectclassname(name); }, - [&] (uint64_t ref) { protobufNode.set_jsobjectclassnameref(ref); }))) - { - return false; - } - } - - if (auto scriptFilename = ubiNode.scriptFilename()) { - if (NS_WARN_IF(!attachOneByteString(scriptFilename, - [&] (std::string* name) { protobufNode.set_allocated_scriptfilename(name); }, - [&] (uint64_t ref) { protobufNode.set_scriptfilenameref(ref); }))) - { - return false; - } - } - - return writeMessage(protobufNode); - } -}; - -// A JS::ubi::BreadthFirst handler that serializes a snapshot of the heap into a -// core dump. -class MOZ_STACK_CLASS HeapSnapshotHandler -{ - CoreDumpWriter& writer; - JS::CompartmentSet* compartments; - -public: - HeapSnapshotHandler(CoreDumpWriter& writer, - JS::CompartmentSet* compartments) - : writer(writer), - compartments(compartments) - { } - - // JS::ubi::BreadthFirst handler interface. - - class NodeData { }; - typedef JS::ubi::BreadthFirst Traversal; - bool operator() (Traversal& traversal, - JS::ubi::Node origin, - const JS::ubi::Edge& edge, - NodeData*, - bool first) - { - // We're only interested in the first time we reach edge.referent, not in - // every edge arriving at that node. "But, don't we want to serialize every - // edge in the heap graph?" you ask. Don't worry! This edge is still - // serialized into the core dump. Serializing a node also serializes each of - // its edges, and if we are traversing a given edge, we must have already - // visited and serialized the origin node and its edges. - if (!first) - return true; - - CoreDumpWriter::EdgePolicy policy; - if (!ShouldIncludeEdge(compartments, origin, edge, &policy)) - return true; - - if (policy == CoreDumpWriter::EXCLUDE_EDGES) - traversal.abandonReferent(); - - return writer.writeNode(edge.referent, policy); - } -}; - - -bool -WriteHeapGraph(JSContext* cx, - const JS::ubi::Node& node, - CoreDumpWriter& writer, - bool wantNames, - JS::CompartmentSet* compartments, - JS::AutoCheckCannotGC& noGC) -{ - // Serialize the starting node to the core dump. - - if (NS_WARN_IF(!writer.writeNode(node, CoreDumpWriter::INCLUDE_EDGES))) { - return false; - } - - // Walk the heap graph starting from the given node and serialize it into the - // core dump. - - HeapSnapshotHandler handler(writer, compartments); - HeapSnapshotHandler::Traversal traversal(cx, handler, noGC); - if (!traversal.init()) - return false; - traversal.wantNames = wantNames; - - bool ok = traversal.addStartVisited(node) && - traversal.traverse(); - - return ok; -} - -static unsigned long -msSinceProcessCreation(const TimeStamp& now) -{ - bool ignored; - auto duration = now - TimeStamp::ProcessCreation(ignored); - return (unsigned long) duration.ToMilliseconds(); -} - -/* static */ already_AddRefed -HeapSnapshot::CreateUniqueCoreDumpFile(ErrorResult& rv, - const TimeStamp& now, - nsAString& outFilePath) -{ - nsCOMPtr file; - rv = NS_GetSpecialDirectory(NS_OS_TEMP_DIR, getter_AddRefs(file)); - if (NS_WARN_IF(rv.Failed())) - return nullptr; - - auto ms = msSinceProcessCreation(now); - rv = file->AppendNative(nsPrintfCString("%lu.fxsnapshot", ms)); - if (NS_WARN_IF(rv.Failed())) - return nullptr; - - rv = file->CreateUnique(nsIFile::NORMAL_FILE_TYPE, 0666); - if (NS_WARN_IF(rv.Failed())) - return nullptr; - - rv = file->GetPath(outFilePath); - if (NS_WARN_IF(rv.Failed())) - return nullptr; - - return file.forget(); -} - -// Deletion policy for cleaning up PHeapSnapshotTempFileHelperChild pointers. -class DeleteHeapSnapshotTempFileHelperChild -{ -public: - constexpr DeleteHeapSnapshotTempFileHelperChild() { } - - void operator()(PHeapSnapshotTempFileHelperChild* ptr) const { - Unused << NS_WARN_IF(!HeapSnapshotTempFileHelperChild::Send__delete__(ptr)); - } -}; - -// A UniquePtr alias to automatically manage PHeapSnapshotTempFileHelperChild -// pointers. -using UniqueHeapSnapshotTempFileHelperChild = UniquePtr; - -// Get an nsIOutputStream that we can write the heap snapshot to. In non-e10s -// and in the e10s parent process, open a file directly and create an output -// stream for it. In e10s child processes, we are sandboxed without access to -// the filesystem. Use IPDL to request a file descriptor from the parent -// process. -static already_AddRefed -getCoreDumpOutputStream(ErrorResult& rv, TimeStamp& start, nsAString& outFilePath) -{ - if (XRE_IsParentProcess()) { - // Create the file and open the output stream directly. - - nsCOMPtr file = HeapSnapshot::CreateUniqueCoreDumpFile(rv, - start, - outFilePath); - if (NS_WARN_IF(rv.Failed())) - return nullptr; - - nsCOMPtr outputStream; - rv = NS_NewLocalFileOutputStream(getter_AddRefs(outputStream), file, - PR_WRONLY, -1, 0); - if (NS_WARN_IF(rv.Failed())) - return nullptr; - - return outputStream.forget(); - } else { - // Request a file descriptor from the parent process over IPDL. - - auto cc = ContentChild::GetSingleton(); - if (!cc) { - rv.Throw(NS_ERROR_UNEXPECTED); - return nullptr; - } - - UniqueHeapSnapshotTempFileHelperChild helper( - cc->SendPHeapSnapshotTempFileHelperConstructor()); - if (NS_WARN_IF(!helper)) { - rv.Throw(NS_ERROR_UNEXPECTED); - return nullptr; - } - - OpenHeapSnapshotTempFileResponse response; - if (!helper->SendOpenHeapSnapshotTempFile(&response)) { - rv.Throw(NS_ERROR_UNEXPECTED); - return nullptr; - } - if (response.type() == OpenHeapSnapshotTempFileResponse::Tnsresult) { - rv.Throw(response.get_nsresult()); - return nullptr; - } - - auto opened = response.get_OpenedFile(); - outFilePath = opened.path(); - nsCOMPtr outputStream = - FileDescriptorOutputStream::Create(opened.descriptor()); - if (NS_WARN_IF(!outputStream)) { - rv.Throw(NS_ERROR_UNEXPECTED); - return nullptr; - } - - return outputStream.forget(); - } -} - -} // namespace devtools - -namespace dom { - -using namespace JS; -using namespace devtools; - -/* static */ void -ThreadSafeChromeUtils::SaveHeapSnapshot(GlobalObject& global, - const HeapSnapshotBoundaries& boundaries, - nsAString& outFilePath, - ErrorResult& rv) -{ - auto start = TimeStamp::Now(); - - bool wantNames = true; - CompartmentSet compartments; - - nsCOMPtr outputStream = getCoreDumpOutputStream(rv, start, outFilePath); - if (NS_WARN_IF(rv.Failed())) - return; - - ZeroCopyNSIOutputStream zeroCopyStream(outputStream); - ::google::protobuf::io::GzipOutputStream gzipStream(&zeroCopyStream); - - JSContext* cx = global.Context(); - - { - Maybe maybeNoGC; - ubi::RootList rootList(cx, maybeNoGC, wantNames); - if (!EstablishBoundaries(cx, rv, boundaries, rootList, compartments)) - return; - - StreamWriter writer(cx, gzipStream, wantNames, - compartments.initialized() ? &compartments : nullptr); - if (NS_WARN_IF(!writer.init())) { - rv.Throw(NS_ERROR_OUT_OF_MEMORY); - return; - } - - MOZ_ASSERT(maybeNoGC.isSome()); - ubi::Node roots(&rootList); - - // Serialize the initial heap snapshot metadata to the core dump. - if (!writer.writeMetadata(PR_Now()) || - // Serialize the heap graph to the core dump, starting from our list of - // roots. - !WriteHeapGraph(cx, - roots, - writer, - wantNames, - compartments.initialized() ? &compartments : nullptr, - maybeNoGC.ref())) - { - rv.Throw(zeroCopyStream.failed() - ? zeroCopyStream.result() - : NS_ERROR_UNEXPECTED); - return; - } - } -} - -/* static */ already_AddRefed -ThreadSafeChromeUtils::ReadHeapSnapshot(GlobalObject& global, - const nsAString& filePath, - ErrorResult& rv) -{ - UniquePtr path(ToNewCString(filePath)); - if (!path) { - rv.Throw(NS_ERROR_OUT_OF_MEMORY); - return nullptr; - } - - AutoMemMap mm; - rv = mm.init(path.get()); - if (rv.Failed()) - return nullptr; - - RefPtr snapshot = HeapSnapshot::Create( - global.Context(), global, reinterpret_cast(mm.address()), - mm.size(), rv); - - return snapshot.forget(); -} - -} // namespace dom -} // namespace mozilla diff --git a/devtools/shared/heapsnapshot/HeapSnapshot.h b/devtools/shared/heapsnapshot/HeapSnapshot.h deleted file mode 100644 index 12dfa4c2b..000000000 --- a/devtools/shared/heapsnapshot/HeapSnapshot.h +++ /dev/null @@ -1,224 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ -/* 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/. */ - -#ifndef mozilla_devtools_HeapSnapshot__ -#define mozilla_devtools_HeapSnapshot__ - -#include "js/HashTable.h" -#include "mozilla/ErrorResult.h" -#include "mozilla/devtools/DeserializedNode.h" -#include "mozilla/dom/BindingDeclarations.h" -#include "mozilla/dom/Nullable.h" -#include "mozilla/HashFunctions.h" -#include "mozilla/Maybe.h" -#include "mozilla/RefCounted.h" -#include "mozilla/RefPtr.h" -#include "mozilla/TimeStamp.h" -#include "mozilla/UniquePtr.h" - -#include "CoreDump.pb.h" -#include "nsCOMPtr.h" -#include "nsCRTGlue.h" -#include "nsCycleCollectionParticipant.h" -#include "nsISupports.h" -#include "nsWrapperCache.h" -#include "nsXPCOM.h" - -namespace mozilla { -namespace devtools { - -class DominatorTree; - -struct NSFreePolicy { - void operator()(void* ptr) { - NS_Free(ptr); - } -}; - -using UniqueTwoByteString = UniquePtr; -using UniqueOneByteString = UniquePtr; - -class HeapSnapshot final : public nsISupports - , public nsWrapperCache -{ - friend struct DeserializedNode; - friend struct DeserializedEdge; - friend struct DeserializedStackFrame; - friend class JS::ubi::Concrete; - - explicit HeapSnapshot(JSContext* cx, nsISupports* aParent) - : timestamp(Nothing()) - , rootId(0) - , nodes(cx) - , frames(cx) - , mParent(aParent) - { - MOZ_ASSERT(aParent); - }; - - // Initialize this HeapSnapshot from the given buffer that contains a - // serialized core dump. Do NOT take ownership of the buffer, only borrow it - // for the duration of the call. Return false on failure. - bool init(JSContext* cx, const uint8_t* buffer, uint32_t size); - - using NodeIdSet = js::HashSet; - - // Save the given `protobuf::Node` message in this `HeapSnapshot` as a - // `DeserializedNode`. - bool saveNode(const protobuf::Node& node, NodeIdSet& edgeReferents); - - // Save the given `protobuf::StackFrame` message in this `HeapSnapshot` as a - // `DeserializedStackFrame`. The saved stack frame's id is returned via the - // out parameter. - bool saveStackFrame(const protobuf::StackFrame& frame, - StackFrameId& outFrameId); - -public: - // The maximum number of stack frames that we will serialize into a core - // dump. This helps prevent over-recursion in the protobuf library when - // deserializing stacks. - static const size_t MAX_STACK_DEPTH = 60; - -private: - // If present, a timestamp in the same units that `PR_Now` gives. - Maybe timestamp; - - // The id of the root node for this deserialized heap graph. - NodeId rootId; - - // The set of nodes in this deserialized heap graph, keyed by id. - using NodeSet = js::HashSet; - NodeSet nodes; - - // The set of stack frames in this deserialized heap graph, keyed by id. - using FrameSet = js::HashSet; - FrameSet frames; - - Vector internedTwoByteStrings; - Vector internedOneByteStrings; - - using StringOrRef = Variant; - - template - const CharT* getOrInternString(InternedStringSet& internedStrings, - Maybe& maybeStrOrRef); - -protected: - nsCOMPtr mParent; - - virtual ~HeapSnapshot() { } - -public: - // Create a `HeapSnapshot` from the given buffer that contains a serialized - // core dump. Do NOT take ownership of the buffer, only borrow it for the - // duration of the call. - static already_AddRefed Create(JSContext* cx, - dom::GlobalObject& global, - const uint8_t* buffer, - uint32_t size, - ErrorResult& rv); - - // Creates the `$TEMP_DIR/XXXXXX-XXX.fxsnapshot` core dump file that heap - // snapshots are serialized into. - static already_AddRefed CreateUniqueCoreDumpFile(ErrorResult& rv, - const TimeStamp& now, - nsAString& outFilePath); - - NS_DECL_CYCLE_COLLECTING_ISUPPORTS - NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(HeapSnapshot) - MOZ_DECLARE_REFCOUNTED_TYPENAME(HeapSnapshot) - - nsISupports* GetParentObject() const { return mParent; } - - virtual JSObject* WrapObject(JSContext* aCx, - JS::Handle aGivenProto) override; - - const char16_t* borrowUniqueString(const char16_t* duplicateString, - size_t length); - - // Get the root node of this heap snapshot's graph. - JS::ubi::Node getRoot() { - MOZ_ASSERT(nodes.initialized()); - auto p = nodes.lookup(rootId); - MOZ_ASSERT(p); - const DeserializedNode& node = *p; - return JS::ubi::Node(const_cast(&node)); - } - - Maybe getNodeById(JS::ubi::Node::Id nodeId) { - auto p = nodes.lookup(nodeId); - if (!p) - return Nothing(); - return Some(JS::ubi::Node(const_cast(&*p))); - } - - void TakeCensus(JSContext* cx, JS::HandleObject options, - JS::MutableHandleValue rval, ErrorResult& rv); - - void DescribeNode(JSContext* cx, JS::HandleObject breakdown, uint64_t nodeId, - JS::MutableHandleValue rval, ErrorResult& rv); - - already_AddRefed ComputeDominatorTree(ErrorResult& rv); - - void ComputeShortestPaths(JSContext*cx, uint64_t start, - const dom::Sequence& targets, - uint64_t maxNumPaths, - JS::MutableHandleObject results, - ErrorResult& rv); - - dom::Nullable GetCreationTime() { - static const uint64_t maxTime = uint64_t(1) << 53; - if (timestamp.isSome() && timestamp.ref() <= maxTime) { - return dom::Nullable(timestamp.ref()); - } - - return dom::Nullable(); - } -}; - -// A `CoreDumpWriter` is given the data we wish to save in a core dump and -// serializes it to disk, or memory, or a socket, etc. -class CoreDumpWriter -{ -public: - virtual ~CoreDumpWriter() { }; - - // Write the given bits of metadata we would like to associate with this core - // dump. - virtual bool writeMetadata(uint64_t timestamp) = 0; - - enum EdgePolicy : bool { - INCLUDE_EDGES = true, - EXCLUDE_EDGES = false - }; - - // Write the given `JS::ubi::Node` to the core dump. The given `EdgePolicy` - // dictates whether its outgoing edges should also be written to the core - // dump, or excluded. - virtual bool writeNode(const JS::ubi::Node& node, - EdgePolicy includeEdges) = 0; -}; - -// Serialize the heap graph as seen from `node` with the given `CoreDumpWriter`. -// If `wantNames` is true, capture edge names. If `zones` is non-null, only -// capture the sub-graph within the zone set, otherwise capture the whole heap -// graph. Returns false on failure. -bool -WriteHeapGraph(JSContext* cx, - const JS::ubi::Node& node, - CoreDumpWriter& writer, - bool wantNames, - JS::CompartmentSet* compartments, - JS::AutoCheckCannotGC& noGC); - -// Get the mozilla::MallocSizeOf for the current thread's JSRuntime. -MallocSizeOf GetCurrentThreadDebuggerMallocSizeOf(); - -} // namespace devtools -} // namespace mozilla - -#endif // mozilla_devtools_HeapSnapshot__ diff --git a/devtools/shared/heapsnapshot/HeapSnapshotFileUtils.js b/devtools/shared/heapsnapshot/HeapSnapshotFileUtils.js deleted file mode 100644 index abd44fc30..000000000 --- a/devtools/shared/heapsnapshot/HeapSnapshotFileUtils.js +++ /dev/null @@ -1,95 +0,0 @@ -/* 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/. */ - -// Heap snapshots are always saved in the temp directory, and have a regular -// naming convention. This module provides helpers for working with heap -// snapshot files in a safe manner. Because we attempt to avoid unnecessary -// copies of the heap snapshot files by checking the local filesystem for a heap -// snapshot file with the given snapshot id, we want to ensure that we are only -// attempting to open heap snapshot files and not `~/.ssh/id_rsa`, for -// example. Therefore, the RDP only talks about snapshot ids, or transfering the -// bulk file data. A file path can be recovered from a snapshot id, which allows -// one to check for the presence of the heap snapshot file on the local file -// system, but we don't have to worry about opening arbitrary files. -// -// The heap snapshot file path conventions permits the following forms: -// -// $TEMP_DIRECTORY/XXXXXXXXXX.fxsnapshot -// $TEMP_DIRECTORY/XXXXXXXXXX-XXXXX.fxsnapshot -// -// Where the strings of "X" are zero or more digits. - -"use strict"; - -const { Ci } = require("chrome"); -loader.lazyRequireGetter(this, "FileUtils", - "resource://gre/modules/FileUtils.jsm", true); -loader.lazyRequireGetter(this, "OS", "resource://gre/modules/osfile.jsm", true); - -function getHeapSnapshotFileTemplate() { - return OS.Path.join(OS.Constants.Path.tmpDir, `${Date.now()}.fxsnapshot`); -} - -/** - * Get a unique temp file path for a new heap snapshot. The file is guaranteed - * not to exist before this call. - * - * @returns String - */ -exports.getNewUniqueHeapSnapshotTempFilePath = function () { - let file = new FileUtils.File(getHeapSnapshotFileTemplate()); - // The call to createUnique will append "-N" after the leaf name (but before - // the extension) until a new file is found and create it. This guarantees we - // won't accidentally choose the same file twice. - file.createUnique(Ci.nsIFile.NORMAL_FILE_TYPE, 0o666); - return file.path; -}; - -function isValidSnapshotFileId(snapshotId) { - return /^\d+(\-\d+)?$/.test(snapshotId); -} - -/** - * Get the file path for the given snapshot id. - * - * @param {String} snapshotId - * - * @returns String | null - */ -exports.getHeapSnapshotTempFilePath = function (snapshotId) { - // Don't want anyone sneaking "../../../.." strings into the snapshot id and - // trying to make us open arbitrary files. - if (!isValidSnapshotFileId(snapshotId)) { - return null; - } - return OS.Path.join(OS.Constants.Path.tmpDir, snapshotId + ".fxsnapshot"); -}; - -/** - * Return true if we have the heap snapshot file for the given snapshot id on - * the local file system. False is returned otherwise. - * - * @returns Promise - */ -exports.haveHeapSnapshotTempFile = function (snapshotId) { - const path = exports.getHeapSnapshotTempFilePath(snapshotId); - if (!path) { - return Promise.resolve(false); - } - - return OS.File.stat(path).then(() => true, - () => false); -}; - -/** - * Given a heap snapshot's file path, extricate the snapshot id. - * - * @param {String} path - * - * @returns String - */ -exports.getSnapshotIdFromPath = function (path) { - return path.slice(OS.Constants.Path.tmpDir.length + 1, - path.length - ".fxsnapshot".length); -}; diff --git a/devtools/shared/heapsnapshot/HeapSnapshotTempFileHelperChild.h b/devtools/shared/heapsnapshot/HeapSnapshotTempFileHelperChild.h deleted file mode 100644 index a1d433a5e..000000000 --- a/devtools/shared/heapsnapshot/HeapSnapshotTempFileHelperChild.h +++ /dev/null @@ -1,32 +0,0 @@ -/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* vim: set sw=4 ts=8 et tw=80 : */ -/* 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/. */ - -#ifndef mozilla_devtools_HeapSnapshotTempFileHelperChild_h -#define mozilla_devtools_HeapSnapshotTempFileHelperChild_h - -#include "mozilla/devtools/PHeapSnapshotTempFileHelperChild.h" - -namespace mozilla { -namespace devtools { - -class HeapSnapshotTempFileHelperChild : public PHeapSnapshotTempFileHelperChild -{ - explicit HeapSnapshotTempFileHelperChild() { } - -public: - static inline PHeapSnapshotTempFileHelperChild* Create(); -}; - -/* static */ inline PHeapSnapshotTempFileHelperChild* -HeapSnapshotTempFileHelperChild::Create() -{ - return new HeapSnapshotTempFileHelperChild(); -} - -} // namespace devtools -} // namespace mozilla - -#endif // mozilla_devtools_HeapSnapshotTempFileHelperChild_h diff --git a/devtools/shared/heapsnapshot/HeapSnapshotTempFileHelperParent.cpp b/devtools/shared/heapsnapshot/HeapSnapshotTempFileHelperParent.cpp deleted file mode 100644 index 7246a9daa..000000000 --- a/devtools/shared/heapsnapshot/HeapSnapshotTempFileHelperParent.cpp +++ /dev/null @@ -1,53 +0,0 @@ -/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* vim: set sw=4 ts=8 et tw=80 : */ -/* 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/. */ - -#include "mozilla/devtools/HeapSnapshot.h" -#include "mozilla/devtools/HeapSnapshotTempFileHelperParent.h" -#include "mozilla/ErrorResult.h" -#include "private/pprio.h" - -#include "nsIFile.h" - -namespace mozilla { -namespace devtools { - -using ipc::FileDescriptor; - -static bool -openFileFailure(ErrorResult& rv, - OpenHeapSnapshotTempFileResponse* outResponse) -{ - *outResponse = rv.StealNSResult(); - return true; -} - -bool -HeapSnapshotTempFileHelperParent::RecvOpenHeapSnapshotTempFile( - OpenHeapSnapshotTempFileResponse* outResponse) -{ - auto start = TimeStamp::Now(); - ErrorResult rv; - nsAutoString filePath; - nsCOMPtr file = HeapSnapshot::CreateUniqueCoreDumpFile(rv, - start, - filePath); - if (NS_WARN_IF(rv.Failed())) - return openFileFailure(rv, outResponse); - - PRFileDesc* prfd; - rv = file->OpenNSPRFileDesc(PR_WRONLY, 0, &prfd); - if (NS_WARN_IF(rv.Failed())) - return openFileFailure(rv, outResponse); - - FileDescriptor::PlatformHandleType handle = - FileDescriptor::PlatformHandleType(PR_FileDesc2NativeHandle(prfd)); - FileDescriptor fd(handle); - *outResponse = OpenedFile(filePath, fd); - return true; -} - -} // namespace devtools -} // namespace mozilla diff --git a/devtools/shared/heapsnapshot/HeapSnapshotTempFileHelperParent.h b/devtools/shared/heapsnapshot/HeapSnapshotTempFileHelperParent.h deleted file mode 100644 index 1582279da..000000000 --- a/devtools/shared/heapsnapshot/HeapSnapshotTempFileHelperParent.h +++ /dev/null @@ -1,35 +0,0 @@ -/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* vim: set sw=4 ts=8 et tw=80 : */ -/* 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/. */ - -#ifndef mozilla_devtools_HeapSnapshotTempFileHelperParent_h -#define mozilla_devtools_HeapSnapshotTempFileHelperParent_h - -#include "mozilla/devtools/PHeapSnapshotTempFileHelperParent.h" - -namespace mozilla { -namespace devtools { - -class HeapSnapshotTempFileHelperParent : public PHeapSnapshotTempFileHelperParent -{ - explicit HeapSnapshotTempFileHelperParent() { } - void ActorDestroy(ActorDestroyReason why) override { } - bool RecvOpenHeapSnapshotTempFile(OpenHeapSnapshotTempFileResponse* outResponse) - override; - - public: - static inline PHeapSnapshotTempFileHelperParent* Create(); -}; - -/* static */ inline PHeapSnapshotTempFileHelperParent* -HeapSnapshotTempFileHelperParent::Create() -{ - return new HeapSnapshotTempFileHelperParent(); -} - -} // namespace devtools -} // namespace mozilla - -#endif // mozilla_devtools_HeapSnapshotTempFileHelperParent_h diff --git a/devtools/shared/heapsnapshot/PHeapSnapshotTempFileHelper.ipdl b/devtools/shared/heapsnapshot/PHeapSnapshotTempFileHelper.ipdl deleted file mode 100644 index 2576470e2..000000000 --- a/devtools/shared/heapsnapshot/PHeapSnapshotTempFileHelper.ipdl +++ /dev/null @@ -1,35 +0,0 @@ -/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- - * vim: set ts=8 sts=4 et sw=4 tw=99: - * 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/. */ - -include protocol PContent; - -namespace mozilla { -namespace devtools { - -struct OpenedFile -{ - nsString path; - FileDescriptor descriptor; -}; - -union OpenHeapSnapshotTempFileResponse -{ - nsresult; - OpenedFile; -}; - -sync protocol PHeapSnapshotTempFileHelper -{ - manager PContent; - -parent: - sync OpenHeapSnapshotTempFile() returns (OpenHeapSnapshotTempFileResponse response); - - async __delete__(); -}; - -} // namespace devtools -} // namespace mozilla diff --git a/devtools/shared/heapsnapshot/ZeroCopyNSIOutputStream.cpp b/devtools/shared/heapsnapshot/ZeroCopyNSIOutputStream.cpp deleted file mode 100644 index 0c29db7f9..000000000 --- a/devtools/shared/heapsnapshot/ZeroCopyNSIOutputStream.cpp +++ /dev/null @@ -1,100 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ -/* 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/. */ - -#include "mozilla/devtools/ZeroCopyNSIOutputStream.h" - -#include "mozilla/DebugOnly.h" -#include "mozilla/Unused.h" - -namespace mozilla { -namespace devtools { - -ZeroCopyNSIOutputStream::ZeroCopyNSIOutputStream(nsCOMPtr& out) - : out(out) - , result_(NS_OK) - , amountUsed(0) - , writtenCount(0) -{ - DebugOnly nonBlocking = false; - MOZ_ASSERT(out->IsNonBlocking(&nonBlocking) == NS_OK); - MOZ_ASSERT(!nonBlocking); -} - -ZeroCopyNSIOutputStream::~ZeroCopyNSIOutputStream() -{ - if (!failed()) - Unused << NS_WARN_IF(NS_FAILED(writeBuffer())); -} - -nsresult -ZeroCopyNSIOutputStream::writeBuffer() -{ - if (failed()) - return result_; - - if (amountUsed == 0) - return NS_OK; - - int32_t amountWritten = 0; - while (amountWritten < amountUsed) { - uint32_t justWritten = 0; - - result_ = out->Write(buffer + amountWritten, - amountUsed - amountWritten, - &justWritten); - if (NS_WARN_IF(NS_FAILED(result_))) - return result_; - - amountWritten += justWritten; - } - - writtenCount += amountUsed; - amountUsed = 0; - return NS_OK; -} - -// ZeroCopyOutputStream Interface - -bool -ZeroCopyNSIOutputStream::Next(void** data, int* size) -{ - MOZ_ASSERT(data != nullptr); - MOZ_ASSERT(size != nullptr); - - if (failed()) - return false; - - if (amountUsed == BUFFER_SIZE) { - if (NS_FAILED(writeBuffer())) - return false; - } - - *data = buffer + amountUsed; - *size = BUFFER_SIZE - amountUsed; - amountUsed = BUFFER_SIZE; - return true; -} - -void -ZeroCopyNSIOutputStream::BackUp(int count) -{ - MOZ_ASSERT(count >= 0, - "Cannot back up a negative amount of bytes."); - MOZ_ASSERT(amountUsed == BUFFER_SIZE, - "Can only call BackUp directly after calling Next."); - MOZ_ASSERT(count <= amountUsed, - "Can't back up further than we've given out."); - - amountUsed -= count; -} - -::google::protobuf::int64 -ZeroCopyNSIOutputStream::ByteCount() const -{ - return writtenCount + amountUsed; -} - -} // namespace devtools -} // namespace mozilla diff --git a/devtools/shared/heapsnapshot/ZeroCopyNSIOutputStream.h b/devtools/shared/heapsnapshot/ZeroCopyNSIOutputStream.h deleted file mode 100644 index 117fc0f87..000000000 --- a/devtools/shared/heapsnapshot/ZeroCopyNSIOutputStream.h +++ /dev/null @@ -1,70 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ -/* 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/. */ - -#ifndef mozilla_devtools_ZeroCopyNSIOutputStream__ -#define mozilla_devtools_ZeroCopyNSIOutputStream__ - -#include -#include - -#include "nsCOMPtr.h" -#include "nsIOutputStream.h" - -namespace mozilla { -namespace devtools { - -// A `google::protobuf::io::ZeroCopyOutputStream` implementation that uses an -// `nsIOutputStream` under the covers. -// -// This class will automatically write and flush its data to the -// `nsIOutputStream` in its destructor, but if you care whether that call -// succeeds or fails, then you should call the `flush` method yourself. Errors -// will be logged, however. -class MOZ_STACK_CLASS ZeroCopyNSIOutputStream - : public ::google::protobuf::io::ZeroCopyOutputStream -{ - static const int BUFFER_SIZE = 8192; - - // The nsIOutputStream we are streaming to. - nsCOMPtr& out; - - // The buffer we write data to before passing it to the output stream. - char buffer[BUFFER_SIZE]; - - // The status of writing to the underlying output stream. - nsresult result_; - - // The number of bytes in the buffer that have been used thus far. - int amountUsed; - - // Excluding the amount of the buffer currently used (which hasn't been - // written and flushed yet), this is the number of bytes written to the output - // stream. - int64_t writtenCount; - - // Write the internal buffer to the output stream and flush it. - nsresult writeBuffer(); - -public: - explicit ZeroCopyNSIOutputStream(nsCOMPtr& out); - - nsresult flush() { return writeBuffer(); } - - // Return true if writing to the underlying output stream ever failed. - bool failed() const { return NS_FAILED(result_); } - - nsresult result() const { return result_; } - - // ZeroCopyOutputStream Interface - virtual ~ZeroCopyNSIOutputStream() override; - virtual bool Next(void** data, int* size) override; - virtual void BackUp(int count) override; - virtual ::google::protobuf::int64 ByteCount() const override; -}; - -} // namespace devtools -} // namespace mozilla - -#endif // mozilla_devtools_ZeroCopyNSIOutputStream__ diff --git a/devtools/shared/heapsnapshot/census-tree-node.js b/devtools/shared/heapsnapshot/census-tree-node.js deleted file mode 100644 index b041e77f9..000000000 --- a/devtools/shared/heapsnapshot/census-tree-node.js +++ /dev/null @@ -1,748 +0,0 @@ -/* 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/. */ -"use strict"; - -// CensusTreeNode is an intermediate representation of a census report that -// exists between after a report is generated by taking a census and before the -// report is rendered in the DOM. It must be dead simple to render, with no -// further data processing or massaging needed before rendering DOM nodes. Our -// goal is to do the census report to CensusTreeNode transformation in the -// HeapAnalysesWorker, and ensure that the **only** work that the main thread -// has to do is strictly DOM rendering work. - -const { - Visitor, - walk, - basisTotalBytes, - basisTotalCount, -} = require("resource://devtools/shared/heapsnapshot/CensusUtils.js"); - -// Monotonically increasing integer for CensusTreeNode `id`s. -let censusTreeNodeIdCounter = 0; - -/** - * Return true if the given object is a SavedFrame stack object, false otherwise. - * - * @param {any} obj - * @returns {Boolean} - */ -function isSavedFrame(obj) { - return Object.prototype.toString.call(obj) === "[object SavedFrame]"; -} - -/** - * A CensusTreeNodeCache maps from SavedFrames to CensusTreeNodes. It is used when - * aggregating multiple SavedFrame allocation stack keys into a tree of many - * CensusTreeNodes. Each stack may share older frames, and we want to preserve - * this sharing when converting to CensusTreeNode, so before creating a new - * CensusTreeNode, we look for an existing one in one of our CensusTreeNodeCaches. - */ -function CensusTreeNodeCache() {} -CensusTreeNodeCache.prototype = null; - -/** - * The value of a single entry stored in a CensusTreeNodeCache. It is a pair of - * the CensusTreeNode for this cache value, and the subsequent - * CensusTreeNodeCache for this node's children. - * - * @param {SavedFrame} frame - * The frame being cached. - */ -function CensusTreeNodeCacheValue() { - // The CensusTreeNode for this cache value. - this.node = undefined; - // The CensusTreeNodeCache for this frame's children. - this.children = undefined; -} - -CensusTreeNodeCacheValue.prototype = null; - -/** - * Create a unique string for the given SavedFrame (ignoring the frame's parent - * chain) that can be used as a hash to key this frame within a CensusTreeNodeCache. - * - * NB: We manually hash rather than using an ES6 Map because we are purposely - * ignoring the parent chain and wish to consider frames with everything the - * same except their parents as the same. - * - * @param {SavedFrame} frame - * The SavedFrame object we would like to lookup in or insert into a - * CensusTreeNodeCache. - * - * @returns {String} - * The unique string that can be used as a key in a CensusTreeNodeCache. - */ -CensusTreeNodeCache.hashFrame = function (frame) { - return `FRAME,${frame.functionDisplayName},${frame.source},${frame.line},${frame.column},${frame.asyncCause}`; -}; - -/** - * Create a unique string for the given CensusTreeNode **with regards to - * siblings at the current depth of the tree, not within the whole tree.** It - * can be used as a hash to key this node within a CensusTreeNodeCache. - * - * @param {CensusTreeNode} node - * The node we would like to lookup in or insert into a cache. - * - * @returns {String} - * The unique string that can be used as a key in a CensusTreeNodeCache. - */ -CensusTreeNodeCache.hashNode = function (node) { - return isSavedFrame(node.name) - ? CensusTreeNodeCache.hashFrame(node.name) - : `NODE,${node.name}`; -}; - -/** - * Insert the given CensusTreeNodeCacheValue whose node.name is a SavedFrame - * object in the given cache. - * - * @param {CensusTreeNodeCache} cache - * @param {CensusTreeNodeCacheValue} value - */ -CensusTreeNodeCache.insertFrame = function (cache, value) { - cache[CensusTreeNodeCache.hashFrame(value.node.name)] = value; -}; - -/** - * Insert the given value in the cache. - * - * @param {CensusTreeNodeCache} cache - * @param {CensusTreeNodeCacheValue} value - */ -CensusTreeNodeCache.insertNode = function (cache, value) { - if (isSavedFrame(value.node.name)) { - CensusTreeNodeCache.insertFrame(cache, value); - } else { - cache[CensusTreeNodeCache.hashNode(value.node)] = value; - } -}; - -/** - * Lookup `frame` in `cache` and return its value if it exists. - * - * @param {CensusTreeNodeCache} cache - * @param {SavedFrame} frame - * - * @returns {undefined|CensusTreeNodeCacheValue} - */ -CensusTreeNodeCache.lookupFrame = function (cache, frame) { - return cache[CensusTreeNodeCache.hashFrame(frame)]; -}; - -/** - * Lookup `node` in `cache` and return its value if it exists. - * - * @param {CensusTreeNodeCache} cache - * @param {CensusTreeNode} node - * - * @returns {undefined|CensusTreeNodeCacheValue} - */ -CensusTreeNodeCache.lookupNode = function (cache, node) { - return isSavedFrame(node.name) - ? CensusTreeNodeCache.lookupFrame(cache, node.name) - : cache[CensusTreeNodeCache.hashNode(node)]; -}; - -/** - * Add `child` to `parent`'s set of children and store the parent ID - * on the child. - * - * @param {CensusTreeNode} parent - * @param {CensusTreeNode} child - */ -function addChild(parent, child) { - if (!parent.children) { - parent.children = []; - } - child.parent = parent.id; - parent.children.push(child); -} - -/** - * Get an array of each frame in the provided stack. - * - * @param {SavedFrame} stack - * @returns {Array} - */ -function getArrayOfFrames(stack) { - const frames = []; - let frame = stack; - while (frame) { - frames.push(frame); - frame = frame.parent; - } - frames.reverse(); - return frames; -} - -/** - * Given an `edge` to a sub-`report` whose structure is described by - * `breakdown`, create a CensusTreeNode tree. - * - * @param {Object} breakdown - * The breakdown specifying the structure of the given report. - * - * @param {Object} report - * The census report. - * - * @param {null|String|SavedFrame} edge - * The edge leading to this report from the parent report. - * - * @param {CensusTreeNodeCache} cache - * The cache of CensusTreeNodes we have already made for the siblings of - * the node being created. The existing nodes are reused when possible. - * - * @param {Object} outParams - * The return values are attached to this object after this function - * returns. Because we create a CensusTreeNode for each frame in a - * SavedFrame stack edge, there may multiple nodes per sub-report. - * - * - top: The deepest node in the CensusTreeNode subtree created. - * - * - bottom: The shallowest node in the CensusTreeNode subtree created. - * This is null if the shallowest node in the subtree was - * found in the `cache` and reused. - * - * Note that top and bottom are not necessarily different. In the case - * where there is a 1:1 correspondence between an edge in the report and - * a CensusTreeNode, top and bottom refer to the same node. - */ -function makeCensusTreeNodeSubTree(breakdown, report, edge, cache, outParams) { - if (!isSavedFrame(edge)) { - const node = new CensusTreeNode(edge); - outParams.top = outParams.bottom = node; - return; - } - - const frames = getArrayOfFrames(edge); - let currentCache = cache; - let prevNode; - for (let i = 0, length = frames.length; i < length; i++) { - const frame = frames[i]; - - // Get or create the CensusTreeNodeCacheValue for this frame. If we already - // have a CensusTreeNodeCacheValue (and hence a CensusTreeNode) for this - // frame, we don't need to add the node to the previous node's children as - // we have already done that. If we don't have a CensusTreeNodeCacheValue - // and CensusTreeNode for this frame, then create one and make sure to hook - // it up as a child of the previous node. - let isNewNode = false; - let val = CensusTreeNodeCache.lookupFrame(currentCache, frame); - if (!val) { - isNewNode = true; - val = new CensusTreeNodeCacheValue(); - val.node = new CensusTreeNode(frame); - - CensusTreeNodeCache.insertFrame(currentCache, val); - if (prevNode) { - addChild(prevNode, val.node); - } - } - - if (i === 0) { - outParams.bottom = isNewNode ? val.node : null; - } - if (i === length - 1) { - outParams.top = val.node; - } - - prevNode = val.node; - - if (i !== length - 1 && !val.children) { - // This is not the last frame and therefore this node will have - // children, which we must cache. - val.children = new CensusTreeNodeCache(); - } - - currentCache = val.children; - } -} - -/** - * A Visitor that walks a census report and creates the corresponding - * CensusTreeNode tree. - */ -function CensusTreeNodeVisitor() { - // The root of the resulting CensusTreeNode tree. - this._root = null; - - // The stack of CensusTreeNodes that we are in the process of building while - // walking the census report. - this._nodeStack = []; - - // To avoid unnecessary allocations, we reuse the same out parameter object - // passed to `makeCensusTreeNodeSubTree` every time we call it. - this._outParams = { - top: null, - bottom: null, - }; - - // The stack of `CensusTreeNodeCache`s that we use to aggregate many - // SavedFrame stacks into a single CensusTreeNode tree. - this._cacheStack = [new CensusTreeNodeCache()]; - - // The current index in the DFS of the census report tree. - this._index = -1; -} - -CensusTreeNodeVisitor.prototype = Object.create(Visitor); - -/** - * Create the CensusTreeNode subtree for this sub-report and link it to the - * parent CensusTreeNode. - * - * @overrides Visitor.prototype.enter - */ -CensusTreeNodeVisitor.prototype.enter = function (breakdown, report, edge) { - this._index++; - - const cache = this._cacheStack[this._cacheStack.length - 1]; - makeCensusTreeNodeSubTree(breakdown, report, edge, cache, this._outParams); - const { top, bottom } = this._outParams; - - if (!this._root) { - this._root = bottom; - } else if (bottom) { - addChild(this._nodeStack[this._nodeStack.length - 1], bottom); - } - - this._cacheStack.push(new CensusTreeNodeCache()); - this._nodeStack.push(top); -}; - -function values(cache) { - return Object.keys(cache).map(k => cache[k]); -} - -function isNonEmpty(node) { - return (node.children !== undefined && node.children.length) - || node.bytes !== 0 - || node.count !== 0; -} - -/** - * We have finished adding children to the CensusTreeNode subtree for the - * current sub-report. Make sure that the children are sorted for every node in - * the subtree. - * - * @overrides Visitor.prototype.exit - */ -CensusTreeNodeVisitor.prototype.exit = function (breakdown, report, edge) { - // Ensure all children are sorted and have their counts/bytes aggregated. We - // only need to consider cache children here, because other children - // correspond to other sub-reports and we already fixed them up in an earlier - // invocation of `exit`. - - function dfs(node, childrenCache) { - if (childrenCache) { - const childValues = values(childrenCache); - for (let i = 0, length = childValues.length; i < length; i++) { - dfs(childValues[i].node, childValues[i].children); - } - } - - node.totalCount = node.count; - node.totalBytes = node.bytes; - - if (node.children) { - // Prune empty leaves. - node.children = node.children.filter(isNonEmpty); - - node.children.sort(compareByTotal); - - for (let i = 0, length = node.children.length; i < length; i++) { - node.totalCount += node.children[i].totalCount; - node.totalBytes += node.children[i].totalBytes; - } - } - } - - const top = this._nodeStack.pop(); - const cache = this._cacheStack.pop(); - dfs(top, cache); -}; - -/** - * @overrides Visitor.prototype.count - */ -CensusTreeNodeVisitor.prototype.count = function (breakdown, report, edge) { - const node = this._nodeStack[this._nodeStack.length - 1]; - node.reportLeafIndex = this._index; - - if (breakdown.count) { - node.count = report.count; - } - - if (breakdown.bytes) { - node.bytes = report.bytes; - } -}; - -/** - * Get the root of the resulting CensusTreeNode tree. - * - * @returns {CensusTreeNode} - */ -CensusTreeNodeVisitor.prototype.root = function () { - if (!this._root) { - throw new Error("Attempt to get the root before walking the census report!"); - } - - if (this._nodeStack.length) { - throw new Error("Attempt to get the root while walking the census report!"); - } - - return this._root; -}; - -/** - * Create a single, uninitialized CensusTreeNode. - * - * @param {null|String|SavedFrame} name - */ -function CensusTreeNode(name) { - // Display name for this CensusTreeNode. Either null, a string, or a - // SavedFrame. - this.name = name; - - // The number of bytes occupied by matching things in the heap snapshot. - this.bytes = 0; - - // The sum of `this.bytes` and `child.totalBytes` for each child in - // `this.children`. - this.totalBytes = 0; - - // The number of things in the heap snapshot that match this node in the - // census tree. - this.count = 0; - - // The sum of `this.count` and `child.totalCount` for each child in - // `this.children`. - this.totalCount = 0; - - // An array of this node's children, or undefined if it has no children. - this.children = undefined; - - // The unique ID of this node. - this.id = ++censusTreeNodeIdCounter; - - // If present, the unique ID of this node's parent. If this node does not have - // a parent, then undefined. - this.parent = undefined; - - // The `reportLeafIndex` property allows mapping a CensusTreeNode node back to - // a leaf in the census report it was generated from. It is always one of the - // following variants: - // - // * A `Number` index pointing a leaf report in a pre-order DFS traversal of - // this CensusTreeNode's census report. - // - // * A `Set` object containing such indices, when this is part of an inverted - // CensusTreeNode tree and multiple leaves in the report map onto this node. - // - // * Finally, `undefined` when no leaves in the census report correspond with - // this node. - // - // The first and third cases are the common cases. The second case is rather - // uncommon, and to avoid doubling the number of allocations when creating - // CensusTreeNode trees, and objects that get structured cloned when sending - // such trees from the HeapAnalysesWorker to the main thread, we only allocate - // a Set object once a node actually does have multiple leaves it corresponds - // to. - this.reportLeafIndex = undefined; -} - -CensusTreeNode.prototype = null; - -/** - * Compare the given nodes by their `totalBytes` properties, and breaking ties - * with the `totalCount`, `bytes`, and `count` properties (in that order). - * - * @param {CensusTreeNode} node1 - * @param {CensusTreeNode} node2 - * - * @returns {Number} - * A number suitable for using with Array.prototype.sort. - */ -function compareByTotal(node1, node2) { - return Math.abs(node2.totalBytes) - Math.abs(node1.totalBytes) - || Math.abs(node2.totalCount) - Math.abs(node1.totalCount) - || Math.abs(node2.bytes) - Math.abs(node1.bytes) - || Math.abs(node2.count) - Math.abs(node1.count); -} - -/** - * Compare the given nodes by their `bytes` properties, and breaking ties with - * the `count`, `totalBytes`, and `totalCount` properties (in that order). - * - * @param {CensusTreeNode} node1 - * @param {CensusTreeNode} node2 - * - * @returns {Number} - * A number suitable for using with Array.prototype.sort. - */ -function compareBySelf(node1, node2) { - return Math.abs(node2.bytes) - Math.abs(node1.bytes) - || Math.abs(node2.count) - Math.abs(node1.count) - || Math.abs(node2.totalBytes) - Math.abs(node1.totalBytes) - || Math.abs(node2.totalCount) - Math.abs(node1.totalCount); -} - -/** - * Given a parent cache value from a tree we are building and a child node from - * a tree we are basing the new tree off of, if we already have a corresponding - * node in the parent's children cache, merge this node's counts with - * it. Otherwise, create the corresponding node, add it to the parent's children - * cache, and create the parent->child edge. - * - * @param {CensusTreeNodeCacheValue} parentCachevalue - * @param {CensusTreeNode} node - * - * @returns {CensusTreeNodeCacheValue} - * The new or extant child node's corresponding cache value. - */ -function insertOrMergeNode(parentCacheValue, node) { - if (!parentCacheValue.children) { - parentCacheValue.children = new CensusTreeNodeCache(); - } - - let val = CensusTreeNodeCache.lookupNode(parentCacheValue.children, node); - - if (val) { - // When inverting, it is possible that multiple leaves in the census report - // get merged into a single CensusTreeNode node. When this occurs, switch - // from a single index to a set of indices. - if (val.node.reportLeafIndex !== undefined && - val.node.reportLeafIndex !== node.reportLeafIndex) { - if (typeof val.node.reportLeafIndex === "number") { - const oldIndex = val.node.reportLeafIndex; - val.node.reportLeafIndex = new Set(); - val.node.reportLeafIndex.add(oldIndex); - val.node.reportLeafIndex.add(node.reportLeafIndex); - } else { - val.node.reportLeafIndex.add(node.reportLeafIndex); - } - } - - val.node.count += node.count; - val.node.bytes += node.bytes; - } else { - val = new CensusTreeNodeCacheValue(); - - val.node = new CensusTreeNode(node.name); - val.node.reportLeafIndex = node.reportLeafIndex; - val.node.count = node.count; - val.node.totalCount = node.totalCount; - val.node.bytes = node.bytes; - val.node.totalBytes = node.totalBytes; - - addChild(parentCacheValue.node, val.node); - CensusTreeNodeCache.insertNode(parentCacheValue.children, val); - } - - return val; -} - -/** - * Given an un-inverted CensusTreeNode tree, return the corresponding inverted - * CensusTreeNode tree. The input tree is not modified. The resulting inverted - * tree is sorted by self bytes rather than by total bytes. - * - * @param {CensusTreeNode} tree - * The un-inverted tree. - * - * @returns {CensusTreeNode} - * The corresponding inverted tree. - */ -function invert(tree) { - const inverted = new CensusTreeNodeCacheValue(); - inverted.node = new CensusTreeNode(null); - - // Do a depth-first search of the un-inverted tree. As we reach each leaf, - // take the path from the old root to the leaf, reverse that path, and add it - // to the new, inverted tree's root. - - const path = []; - (function addInvertedPaths(node) { - path.push(node); - - if (node.children) { - for (let i = 0, length = node.children.length; i < length; i++) { - addInvertedPaths(node.children[i]); - } - } else { - // We found a leaf node, add the reverse path to the inverted tree. - let currentCacheValue = inverted; - for (let i = path.length - 1; i >= 0; i--) { - currentCacheValue = insertOrMergeNode(currentCacheValue, path[i]); - } - } - - path.pop(); - }(tree)); - - // Ensure that the root node always has the totals. - inverted.node.totalBytes = tree.totalBytes; - inverted.node.totalCount = tree.totalCount; - - return inverted.node; -} - -/** - * Given a CensusTreeNode tree and predicate function, create the tree - * containing only the nodes in any path `(node_0, node_1, ..., node_n-1)` in - * the given tree where `predicate(node_j)` is true for `0 <= j < n`, `node_0` - * is the given tree's root, and `node_n-1` is a leaf in the given tree. The - * given tree is left unmodified. - * - * @param {CensusTreeNode} tree - * @param {Function} predicate - * - * @returns {CensusTreeNode} - */ -function filter(tree, predicate) { - const filtered = new CensusTreeNodeCacheValue(); - filtered.node = new CensusTreeNode(null); - - // Do a DFS over the given tree. If the predicate returns true for any node, - // add that node and its whole subtree to the filtered tree. - - const path = []; - let match = false; - - function addMatchingNodes(node) { - path.push(node); - - let oldMatch = match; - if (!match && predicate(node)) { - match = true; - } - - if (node.children) { - for (let i = 0, length = node.children.length; i < length; i++) { - addMatchingNodes(node.children[i]); - } - } else if (match) { - // We found a matching leaf node, add it to the filtered tree. - let currentCacheValue = filtered; - for (let i = 0, length = path.length; i < length; i++) { - currentCacheValue = insertOrMergeNode(currentCacheValue, path[i]); - } - } - - match = oldMatch; - path.pop(); - } - - if (tree.children) { - for (let i = 0, length = tree.children.length; i < length; i++) { - addMatchingNodes(tree.children[i]); - } - } - - filtered.node.count = tree.count; - filtered.node.totalCount = tree.totalCount; - filtered.node.bytes = tree.bytes; - filtered.node.totalBytes = tree.totalBytes; - - return filtered.node; -} - -/** - * Given a filter string, return a predicate function that takes a node and - * returns true iff the node matches the filter. - * - * @param {String} filterString - * @returns {Function} - */ -function makeFilterPredicate(filterString) { - return function (node) { - if (!node.name) { - return false; - } - - if (isSavedFrame(node.name)) { - return node.name.source.includes(filterString) - || (node.name.functionDisplayName || "").includes(filterString) - || (node.name.asyncCause || "").includes(filterString); - } - - return String(node.name).includes(filterString); - }; -} - -/** - * Takes a report from a census (`dbg.memory.takeCensus()`) and the breakdown - * used to generate the census and returns a structure used to render - * a tree to display the data. - * - * Returns a recursive "CensusTreeNode" object, looking like: - * - * CensusTreeNode = { - * // `children` if it exists, is sorted by `bytes`, if they are leaf nodes. - * children: ?[], - * name: - * count: - * bytes: - * id: - * parent: - * } - * - * @param {Object} breakdown - * The breakdown used to generate the census report. - * - * @param {Object} report - * The census report generated with the specified breakdown. - * - * @param {Object} options - * Configuration options. - * - invert: Whether to invert the resulting tree or not. Defaults to - * false, ie uninverted. - * - * @returns {CensusTreeNode} - */ -exports.censusReportToCensusTreeNode = function (breakdown, report, - options = { - invert: false, - filter: null - }) { - // Reset the counter so that turning the same census report into a - // CensusTreeNode tree repeatedly is idempotent. - censusTreeNodeIdCounter = 0; - - const visitor = new CensusTreeNodeVisitor(); - walk(breakdown, report, visitor); - let result = visitor.root(); - - if (options.invert) { - result = invert(result); - } - - if (typeof options.filter === "string") { - result = filter(result, makeFilterPredicate(options.filter)); - } - - // If the report is a delta report that was generated by diffing two other - // reports, make sure to use the basis totals rather than the totals of the - // difference. - if (typeof report[basisTotalBytes] === "number") { - result.totalBytes = report[basisTotalBytes]; - result.totalCount = report[basisTotalCount]; - } - - // Inverting and filtering could have messed up the sort order, so do a - // depth-first search of the tree and ensure that siblings are sorted. - const comparator = options.invert ? compareBySelf : compareByTotal; - (function ensureSorted(node) { - if (node.children) { - node.children.sort(comparator); - for (let i = 0, length = node.children.length; i < length; i++) { - ensureSorted(node.children[i]); - } - } - }(result)); - - return result; -}; diff --git a/devtools/shared/heapsnapshot/generate-core-dump-sources.sh b/devtools/shared/heapsnapshot/generate-core-dump-sources.sh deleted file mode 100755 index 97e492ff0..000000000 --- a/devtools/shared/heapsnapshot/generate-core-dump-sources.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env bash - -# A script to generate devtools/server/CoreDump.pb.{h,cc} from -# devtools/server/CoreDump.proto. This script assumes you have -# downloaded and installed the protocol buffer compiler, and that it is either -# on your $PATH or located at $PROTOC_PATH. -# -# These files were last compiled with libprotoc 2.4.1. - -set -e - -cd $(dirname $0) - -if [ -n $PROTOC_PATH ]; then - PROTOC_PATH=`which protoc` -fi - -if [ ! -e $PROTOC_PATH ]; then - echo You must install the protocol compiler from - echo https://code.google.com/p/protobuf/downloads/list - exit 1 -fi - -echo Using $PROTOC_PATH as the protocol compiler - -$PROTOC_PATH --cpp_out="." CoreDump.proto diff --git a/devtools/shared/heapsnapshot/moz.build b/devtools/shared/heapsnapshot/moz.build deleted file mode 100644 index fa9ef3915..000000000 --- a/devtools/shared/heapsnapshot/moz.build +++ /dev/null @@ -1,63 +0,0 @@ -# -*- Mode: python; 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/. - -with Files('**'): - BUG_COMPONENT = ('Firefox', 'Developer Tools: Memory') - -if CONFIG['ENABLE_TESTS']: - DIRS += ['tests/gtest'] - -XPCSHELL_TESTS_MANIFESTS += [ 'tests/unit/xpcshell.ini' ] -MOCHITEST_MANIFESTS += [ 'tests/mochitest/mochitest.ini' ] -MOCHITEST_CHROME_MANIFESTS += [ 'tests/mochitest/chrome.ini' ] - -EXPORTS.mozilla.devtools += [ - 'AutoMemMap.h', - 'CoreDump.pb.h', - 'DeserializedNode.h', - 'DominatorTree.h', - 'FileDescriptorOutputStream.h', - 'HeapSnapshot.h', - 'HeapSnapshotTempFileHelperChild.h', - 'HeapSnapshotTempFileHelperParent.h', - 'ZeroCopyNSIOutputStream.h', -] - -IPDL_SOURCES += [ - 'PHeapSnapshotTempFileHelper.ipdl', -] - -include('/ipc/chromium/chromium-config.mozbuild') - -SOURCES += [ - 'AutoMemMap.cpp', - 'CoreDump.pb.cc', - 'DeserializedNode.cpp', - 'DominatorTree.cpp', - 'FileDescriptorOutputStream.cpp', - 'HeapSnapshot.cpp', - 'HeapSnapshotTempFileHelperParent.cpp', - 'ZeroCopyNSIOutputStream.cpp', -] - -# Disable RTTI in google protocol buffer -DEFINES['GOOGLE_PROTOBUF_NO_RTTI'] = True - -FINAL_LIBRARY = 'xul' - -if CONFIG['MOZ_DEVTOOLS_SERVER']: - DevToolsModules( - 'census-tree-node.js', - 'CensusUtils.js', - 'DominatorTreeNode.js', - 'HeapAnalysesClient.js', - 'HeapAnalysesWorker.js', - 'HeapSnapshotFileUtils.js', - 'shortest-paths.js', - ) - -if CONFIG['GNU_CXX']: - CXXFLAGS += ['-Wno-error=shadow'] diff --git a/devtools/shared/heapsnapshot/shortest-paths.js b/devtools/shared/heapsnapshot/shortest-paths.js deleted file mode 100644 index 2d97b7de9..000000000 --- a/devtools/shared/heapsnapshot/shortest-paths.js +++ /dev/null @@ -1,91 +0,0 @@ -/* 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/. */ -"use strict"; - -/** - * Compress a set of paths leading to `target` into a single graph, returned as - * a set of nodes and a set of edges. - * - * @param {NodeId} target - * The target node passed to `HeapSnapshot.computeShortestPaths`. - * - * @param {Array} paths - * An array of paths to `target`, as returned by - * `HeapSnapshot.computeShortestPaths`. - * - * @returns {Object} - * An object with two properties: - * - edges: An array of unique objects of the form: - * { - * from: , - * to: , - * name: - * } - * - nodes: An array of unique node IDs. Every `from` and `to` id is - * guaranteed to be in this array exactly once. - */ -exports.deduplicatePaths = function (target, paths) { - // Use this structure to de-duplicate edges among many retaining paths from - // start to target. - // - // Map>> - const deduped = new Map(); - - function insert(from, to, name) { - let toMap = deduped.get(from); - if (!toMap) { - toMap = new Map(); - deduped.set(from, toMap); - } - - let nameSet = toMap.get(to); - if (!nameSet) { - nameSet = new Set(); - toMap.set(to, nameSet); - } - - nameSet.add(name); - } - - outer: for (let path of paths) { - const pathLength = path.length; - - // Check for duplicate predecessors in the path, and skip paths that contain - // them. - const predecessorsSeen = new Set(); - predecessorsSeen.add(target); - for (let i = 0; i < pathLength; i++) { - if (predecessorsSeen.has(path[i].predecessor)) { - continue outer; - } - predecessorsSeen.add(path[i].predecessor); - } - - for (let i = 0; i < pathLength - 1; i++) { - insert(path[i].predecessor, path[i + 1].predecessor, path[i].edge); - } - - insert(path[pathLength - 1].predecessor, target, path[pathLength - 1].edge); - } - - const nodes = [target]; - const edges = []; - - for (let [from, toMap] of deduped) { - // If the second/third/etc shortest path contains the `target` anywhere - // other than the very last node, we could accidentally put the `target` in - // `nodes` more than once. - if (from !== target) { - nodes.push(from); - } - - for (let [to, edgeNameSet] of toMap) { - for (let name of edgeNameSet) { - edges.push({ from, to, name }); - } - } - } - - return { nodes, edges }; -}; diff --git a/devtools/shared/heapsnapshot/tests/gtest/DeserializedNodeUbiNodes.cpp b/devtools/shared/heapsnapshot/tests/gtest/DeserializedNodeUbiNodes.cpp deleted file mode 100644 index e236a0acf..000000000 --- a/devtools/shared/heapsnapshot/tests/gtest/DeserializedNodeUbiNodes.cpp +++ /dev/null @@ -1,100 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ -/* 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/. */ - -// Test that the `JS::ubi::Node`s we create from -// `mozilla::devtools::DeserializedNode` instances look and behave as we would -// like. - -#include "DevTools.h" -#include "js/TypeDecls.h" -#include "mozilla/devtools/DeserializedNode.h" - -using testing::Field; -using testing::ReturnRef; - -// A mock DeserializedNode for testing. -struct MockDeserializedNode : public DeserializedNode -{ - MockDeserializedNode(NodeId id, const char16_t* typeName, uint64_t size) - : DeserializedNode(id, typeName, size) - { } - - bool addEdge(DeserializedEdge&& edge) - { - return edges.append(Move(edge)); - } - - MOCK_METHOD1(getEdgeReferent, JS::ubi::Node(const DeserializedEdge&)); -}; - -size_t fakeMallocSizeOf(const void*) { - EXPECT_TRUE(false); - MOZ_ASSERT_UNREACHABLE("fakeMallocSizeOf should never be called because " - "DeserializedNodes report the deserialized size."); - return 0; -} - -DEF_TEST(DeserializedNodeUbiNodes, { - const char16_t* typeName = u"TestTypeName"; - const char* className = "MyObjectClassName"; - const char* filename = "my-cool-filename.js"; - - NodeId id = uint64_t(1) << 33; - uint64_t size = uint64_t(1) << 60; - MockDeserializedNode mocked(id, typeName, size); - mocked.coarseType = JS::ubi::CoarseType::Script; - mocked.jsObjectClassName = className; - mocked.scriptFilename = filename; - - DeserializedNode& deserialized = mocked; - JS::ubi::Node ubi(&deserialized); - - // Test the ubi::Node accessors. - - EXPECT_EQ(size, ubi.size(fakeMallocSizeOf)); - EXPECT_EQ(typeName, ubi.typeName()); - EXPECT_EQ(JS::ubi::CoarseType::Script, ubi.coarseType()); - EXPECT_EQ(id, ubi.identifier()); - EXPECT_FALSE(ubi.isLive()); - EXPECT_EQ(ubi.jsObjectClassName(), className); - EXPECT_EQ(ubi.scriptFilename(), filename); - - // Test the ubi::Node's edges. - - UniquePtr referent1(new MockDeserializedNode(1, - nullptr, - 10)); - DeserializedEdge edge1(referent1->id); - mocked.addEdge(Move(edge1)); - EXPECT_CALL(mocked, getEdgeReferent(EdgeTo(referent1->id))) - .Times(1) - .WillOnce(Return(JS::ubi::Node(referent1.get()))); - - UniquePtr referent2(new MockDeserializedNode(2, - nullptr, - 20)); - DeserializedEdge edge2(referent2->id); - mocked.addEdge(Move(edge2)); - EXPECT_CALL(mocked, getEdgeReferent(EdgeTo(referent2->id))) - .Times(1) - .WillOnce(Return(JS::ubi::Node(referent2.get()))); - - UniquePtr referent3(new MockDeserializedNode(3, - nullptr, - 30)); - DeserializedEdge edge3(referent3->id); - mocked.addEdge(Move(edge3)); - EXPECT_CALL(mocked, getEdgeReferent(EdgeTo(referent3->id))) - .Times(1) - .WillOnce(Return(JS::ubi::Node(referent3.get()))); - - auto range = ubi.edges(cx); - ASSERT_TRUE(!!range); - - for ( ; !range->empty(); range->popFront()) { - // Nothing to do here. This loop ensures that we get each edge referent - // that we expect above. - } - }); diff --git a/devtools/shared/heapsnapshot/tests/gtest/DeserializedStackFrameUbiStackFrames.cpp b/devtools/shared/heapsnapshot/tests/gtest/DeserializedStackFrameUbiStackFrames.cpp deleted file mode 100644 index 72e363934..000000000 --- a/devtools/shared/heapsnapshot/tests/gtest/DeserializedStackFrameUbiStackFrames.cpp +++ /dev/null @@ -1,91 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ -/* 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/. */ - -// Test that the `JS::ubi::StackFrame`s we create from -// `mozilla::devtools::DeserializedStackFrame` instances look and behave as we would -// like. - -#include "DevTools.h" -#include "js/TypeDecls.h" -#include "mozilla/devtools/DeserializedNode.h" - -using testing::Field; -using testing::ReturnRef; - -// A mock DeserializedStackFrame for testing. -struct MockDeserializedStackFrame : public DeserializedStackFrame -{ - MockDeserializedStackFrame() : DeserializedStackFrame() { } -}; - -DEF_TEST(DeserializedStackFrameUbiStackFrames, { - StackFrameId id = uint64_t(1) << 42; - uint32_t line = 1337; - uint32_t column = 9; // 3 space tabs!? - const char16_t* source = u"my-javascript-file.js"; - const char16_t* functionDisplayName = u"myFunctionName"; - - MockDeserializedStackFrame mocked; - mocked.id = id; - mocked.line = line; - mocked.column = column; - mocked.source = source; - mocked.functionDisplayName = functionDisplayName; - - DeserializedStackFrame& deserialized = mocked; - JS::ubi::StackFrame ubiFrame(&deserialized); - - // Test the JS::ubi::StackFrame accessors. - - EXPECT_EQ(id, ubiFrame.identifier()); - EXPECT_EQ(JS::ubi::StackFrame(), ubiFrame.parent()); - EXPECT_EQ(line, ubiFrame.line()); - EXPECT_EQ(column, ubiFrame.column()); - EXPECT_EQ(JS::ubi::AtomOrTwoByteChars(source), ubiFrame.source()); - EXPECT_EQ(JS::ubi::AtomOrTwoByteChars(functionDisplayName), - ubiFrame.functionDisplayName()); - EXPECT_FALSE(ubiFrame.isSelfHosted(cx)); - EXPECT_FALSE(ubiFrame.isSystem()); - - JS::RootedObject savedFrame(cx); - EXPECT_TRUE(ubiFrame.constructSavedFrameStack(cx, &savedFrame)); - - uint32_t frameLine; - ASSERT_EQ(JS::SavedFrameResult::Ok, JS::GetSavedFrameLine(cx, savedFrame, &frameLine)); - EXPECT_EQ(line, frameLine); - - uint32_t frameColumn; - ASSERT_EQ(JS::SavedFrameResult::Ok, JS::GetSavedFrameColumn(cx, savedFrame, &frameColumn)); - EXPECT_EQ(column, frameColumn); - - JS::RootedObject parent(cx); - ASSERT_EQ(JS::SavedFrameResult::Ok, JS::GetSavedFrameParent(cx, savedFrame, &parent)); - EXPECT_EQ(nullptr, parent); - - ASSERT_EQ(NS_strlen(source), 21U); - char16_t sourceBuf[21] = {}; - - // Test when the length is shorter than the string length. - auto written = ubiFrame.source(RangedPtr(sourceBuf), 3); - EXPECT_EQ(written, 3U); - for (size_t i = 0; i < 3; i++) { - EXPECT_EQ(sourceBuf[i], source[i]); - } - - written = ubiFrame.source(RangedPtr(sourceBuf), 21); - EXPECT_EQ(written, 21U); - for (size_t i = 0; i < 21; i++) { - EXPECT_EQ(sourceBuf[i], source[i]); - } - - ASSERT_EQ(NS_strlen(functionDisplayName), 14U); - char16_t nameBuf[14] = {}; - - written = ubiFrame.functionDisplayName(RangedPtr(nameBuf), 14); - EXPECT_EQ(written, 14U); - for (size_t i = 0; i < 14; i++) { - EXPECT_EQ(nameBuf[i], functionDisplayName[i]); - } -}); diff --git a/devtools/shared/heapsnapshot/tests/gtest/DevTools.h b/devtools/shared/heapsnapshot/tests/gtest/DevTools.h deleted file mode 100644 index 6eb5cfe21..000000000 --- a/devtools/shared/heapsnapshot/tests/gtest/DevTools.h +++ /dev/null @@ -1,276 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ -/* 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/. */ - -#ifndef mozilla_devtools_gtest_DevTools__ -#define mozilla_devtools_gtest_DevTools__ - -#include "CoreDump.pb.h" -#include "jsapi.h" -#include "jspubtd.h" -#include "nsCRTGlue.h" - -#include "gtest/gtest.h" -#include "gmock/gmock.h" -#include "mozilla/devtools/HeapSnapshot.h" -#include "mozilla/dom/ChromeUtils.h" -#include "mozilla/CycleCollectedJSContext.h" -#include "mozilla/Move.h" -#include "js/Principals.h" -#include "js/UbiNode.h" -#include "js/UniquePtr.h" - -using namespace mozilla; -using namespace mozilla::devtools; -using namespace mozilla::dom; -using namespace testing; - -// GTest fixture class that all of our tests derive from. -struct DevTools : public ::testing::Test { - bool _initialized; - JSContext* cx; - JSCompartment* compartment; - JS::Zone* zone; - JS::PersistentRootedObject global; - - DevTools() - : _initialized(false), - cx(nullptr) - { } - - virtual void SetUp() { - MOZ_ASSERT(!_initialized); - - cx = getContext(); - if (!cx) - return; - - JS_BeginRequest(cx); - - global.init(cx, createGlobal()); - if (!global) - return; - JS_EnterCompartment(cx, global); - - compartment = js::GetContextCompartment(cx); - zone = js::GetContextZone(cx); - - _initialized = true; - } - - JSContext* getContext() { - return CycleCollectedJSContext::Get()->Context(); - } - - static void reportError(JSContext* cx, const char* message, JSErrorReport* report) { - fprintf(stderr, "%s:%u:%s\n", - report->filename ? report->filename : "", - (unsigned int) report->lineno, - message); - } - - static const JSClass* getGlobalClass() { - static const JSClassOps globalClassOps = { - nullptr, nullptr, nullptr, nullptr, - nullptr, nullptr, nullptr, nullptr, - nullptr, nullptr, nullptr, - JS_GlobalObjectTraceHook - }; - static const JSClass globalClass = { - "global", JSCLASS_GLOBAL_FLAGS, - &globalClassOps - }; - return &globalClass; - } - - JSObject* createGlobal() - { - /* Create the global object. */ - JS::RootedObject newGlobal(cx); - JS::CompartmentOptions options; - options.behaviors().setVersion(JSVERSION_LATEST); - newGlobal = JS_NewGlobalObject(cx, getGlobalClass(), nullptr, - JS::FireOnNewGlobalHook, options); - if (!newGlobal) - return nullptr; - - JSAutoCompartment ac(cx, newGlobal); - - /* Populate the global object with the standard globals, like Object and - Array. */ - if (!JS_InitStandardClasses(cx, newGlobal)) - return nullptr; - - return newGlobal; - } - - virtual void TearDown() { - _initialized = false; - - if (global) { - JS_LeaveCompartment(cx, nullptr); - global = nullptr; - } - if (cx) - JS_EndRequest(cx); - } -}; - - -// Helper to define a test and ensure that the fixture is initialized properly. -#define DEF_TEST(name, body) \ - TEST_F(DevTools, name) { \ - ASSERT_TRUE(_initialized); \ - body \ - } - - -// Fake JS::ubi::Node implementation -class MOZ_STACK_CLASS FakeNode -{ -public: - JS::ubi::EdgeVector edges; - JSCompartment* compartment; - JS::Zone* zone; - size_t size; - - explicit FakeNode() - : edges(), - compartment(nullptr), - zone(nullptr), - size(1) - { } -}; - -namespace JS { -namespace ubi { - -template<> -class Concrete : public Base -{ - const char16_t* typeName() const override { - return concreteTypeName; - } - - js::UniquePtr edges(JSContext*, bool) const override { - return js::UniquePtr(js_new(get().edges)); - } - - Size size(mozilla::MallocSizeOf) const override { - return get().size; - } - - JS::Zone* zone() const override { - return get().zone; - } - - JSCompartment* compartment() const override { - return get().compartment; - } - -protected: - explicit Concrete(FakeNode* ptr) : Base(ptr) { } - FakeNode& get() const { return *static_cast(ptr); } - -public: - static const char16_t concreteTypeName[]; - static void construct(void* storage, FakeNode* ptr) { - new (storage) Concrete(ptr); - } -}; - -const char16_t Concrete::concreteTypeName[] = u"FakeNode"; - -} // namespace ubi -} // namespace JS - -void AddEdge(FakeNode& node, FakeNode& referent, const char16_t* edgeName = nullptr) { - char16_t* ownedEdgeName = nullptr; - if (edgeName) { - ownedEdgeName = NS_strdup(edgeName); - ASSERT_NE(ownedEdgeName, nullptr); - } - - JS::ubi::Edge edge(ownedEdgeName, &referent); - ASSERT_TRUE(node.edges.append(mozilla::Move(edge))); -} - - -// Custom GMock Matchers - -// Use the testing namespace to avoid static analysis failures in the gmock -// matcher classes that get generated from MATCHER_P macros. -namespace testing { - -// Ensure that given node has the expected number of edges. -MATCHER_P2(EdgesLength, cx, expectedLength, "") { - auto edges = arg.edges(cx); - if (!edges) - return false; - - int actualLength = 0; - for ( ; !edges->empty(); edges->popFront()) - actualLength++; - - return Matcher(Eq(expectedLength)) - .MatchAndExplain(actualLength, result_listener); -} - -// Get the nth edge and match it with the given matcher. -MATCHER_P3(Edge, cx, n, matcher, "") { - auto edges = arg.edges(cx); - if (!edges) - return false; - - int i = 0; - for ( ; !edges->empty(); edges->popFront()) { - if (i == n) { - return Matcher(matcher) - .MatchAndExplain(edges->front(), result_listener); - } - - i++; - } - - return false; -} - -// Ensures that two char16_t* strings are equal. -MATCHER_P(UTF16StrEq, str, "") { - return NS_strcmp(arg, str) == 0; -} - -MATCHER_P(UniqueUTF16StrEq, str, "") { - return NS_strcmp(arg.get(), str) == 0; -} - -MATCHER(UniqueIsNull, "") { - return arg.get() == nullptr; -} - -// Matches an edge whose referent is the node with the given id. -MATCHER_P(EdgeTo, id, "") { - return Matcher(Field(&DeserializedEdge::referent, id)) - .MatchAndExplain(arg, result_listener); -} - -} // namespace testing - - -// A mock `Writer` class to be used with testing `WriteHeapGraph`. -class MockWriter : public CoreDumpWriter -{ -public: - virtual ~MockWriter() override { } - MOCK_METHOD2(writeNode, bool(const JS::ubi::Node&, CoreDumpWriter::EdgePolicy)); - MOCK_METHOD1(writeMetadata, bool(uint64_t)); -}; - -void ExpectWriteNode(MockWriter& writer, FakeNode& node) { - EXPECT_CALL(writer, writeNode(Eq(JS::ubi::Node(&node)), _)) - .Times(1) - .WillOnce(Return(true)); -} - -#endif // mozilla_devtools_gtest_DevTools__ diff --git a/devtools/shared/heapsnapshot/tests/gtest/DoesCrossCompartmentBoundaries.cpp b/devtools/shared/heapsnapshot/tests/gtest/DoesCrossCompartmentBoundaries.cpp deleted file mode 100644 index bc517d6d9..000000000 --- a/devtools/shared/heapsnapshot/tests/gtest/DoesCrossCompartmentBoundaries.cpp +++ /dev/null @@ -1,73 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ -/* 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/. */ - -// Test that heap snapshots cross compartment boundaries when expected. - -#include "DevTools.h" - -DEF_TEST(DoesCrossCompartmentBoundaries, { - // Create a new global to get a new compartment. - JS::CompartmentOptions options; - JS::RootedObject newGlobal(cx, JS_NewGlobalObject(cx, - getGlobalClass(), - nullptr, - JS::FireOnNewGlobalHook, - options)); - ASSERT_TRUE(newGlobal); - JSCompartment* newCompartment = nullptr; - { - JSAutoCompartment ac(cx, newGlobal); - ASSERT_TRUE(JS_InitStandardClasses(cx, newGlobal)); - newCompartment = js::GetContextCompartment(cx); - } - ASSERT_TRUE(newCompartment); - ASSERT_NE(newCompartment, compartment); - - // Our set of target compartments is both the old and new compartments. - JS::CompartmentSet targetCompartments; - ASSERT_TRUE(targetCompartments.init()); - ASSERT_TRUE(targetCompartments.put(compartment)); - ASSERT_TRUE(targetCompartments.put(newCompartment)); - - FakeNode nodeA; - FakeNode nodeB; - FakeNode nodeC; - FakeNode nodeD; - - nodeA.compartment = compartment; - nodeB.compartment = nullptr; - nodeC.compartment = newCompartment; - nodeD.compartment = nullptr; - - AddEdge(nodeA, nodeB); - AddEdge(nodeA, nodeC); - AddEdge(nodeB, nodeD); - - ::testing::NiceMock writer; - - // Should serialize nodeA, because it is in one of our target compartments. - ExpectWriteNode(writer, nodeA); - - // Should serialize nodeB, because it doesn't belong to a compartment and is - // therefore assumed to be shared. - ExpectWriteNode(writer, nodeB); - - // Should also serialize nodeC, which is in our target compartments, but a - // different compartment than A. - ExpectWriteNode(writer, nodeC); - - // Should serialize nodeD because it's reachable via B and both nodes B and D - // don't belong to a specific compartment. - ExpectWriteNode(writer, nodeD); - - JS::AutoCheckCannotGC noGC(cx); - - ASSERT_TRUE(WriteHeapGraph(cx, - JS::ubi::Node(&nodeA), - writer, - /* wantNames = */ false, - &targetCompartments, - noGC)); - }); diff --git a/devtools/shared/heapsnapshot/tests/gtest/DoesntCrossCompartmentBoundaries.cpp b/devtools/shared/heapsnapshot/tests/gtest/DoesntCrossCompartmentBoundaries.cpp deleted file mode 100644 index 2fe5e6ace..000000000 --- a/devtools/shared/heapsnapshot/tests/gtest/DoesntCrossCompartmentBoundaries.cpp +++ /dev/null @@ -1,64 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ -/* 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/. */ - -// Test that heap snapshots walk the compartment boundaries correctly. - -#include "DevTools.h" - -DEF_TEST(DoesntCrossCompartmentBoundaries, { - // Create a new global to get a new compartment. - JS::CompartmentOptions options; - JS::RootedObject newGlobal(cx, JS_NewGlobalObject(cx, - getGlobalClass(), - nullptr, - JS::FireOnNewGlobalHook, - options)); - ASSERT_TRUE(newGlobal); - JSCompartment* newCompartment = nullptr; - { - JSAutoCompartment ac(cx, newGlobal); - ASSERT_TRUE(JS_InitStandardClasses(cx, newGlobal)); - newCompartment = js::GetContextCompartment(cx); - } - ASSERT_TRUE(newCompartment); - ASSERT_NE(newCompartment, compartment); - - // Our set of target compartments is only the pre-existing compartment and - // does not include the new compartment. - JS::CompartmentSet targetCompartments; - ASSERT_TRUE(targetCompartments.init()); - ASSERT_TRUE(targetCompartments.put(compartment)); - - FakeNode nodeA; - FakeNode nodeB; - FakeNode nodeC; - - nodeA.compartment = compartment; - nodeB.compartment = nullptr; - nodeC.compartment = newCompartment; - - AddEdge(nodeA, nodeB); - AddEdge(nodeB, nodeC); - - ::testing::NiceMock writer; - - // Should serialize nodeA, because it is in our target compartments. - ExpectWriteNode(writer, nodeA); - - // Should serialize nodeB, because it doesn't belong to a compartment and is - // therefore assumed to be shared. - ExpectWriteNode(writer, nodeB); - - // But we shouldn't ever serialize nodeC. - - JS::AutoCheckCannotGC noGC(cx); - - ASSERT_TRUE(WriteHeapGraph(cx, - JS::ubi::Node(&nodeA), - writer, - /* wantNames = */ false, - &targetCompartments, - noGC)); - }); diff --git a/devtools/shared/heapsnapshot/tests/gtest/SerializesEdgeNames.cpp b/devtools/shared/heapsnapshot/tests/gtest/SerializesEdgeNames.cpp deleted file mode 100644 index be135dbb4..000000000 --- a/devtools/shared/heapsnapshot/tests/gtest/SerializesEdgeNames.cpp +++ /dev/null @@ -1,53 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ -/* 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/. */ - -// Test that edge names get serialized correctly. - -#include "DevTools.h" - -using testing::Field; -using testing::IsNull; -using testing::Property; -using testing::Return; - -DEF_TEST(SerializesEdgeNames, { - FakeNode node; - FakeNode referent; - - const char16_t edgeName[] = u"edge name"; - const char16_t emptyStr[] = u""; - - AddEdge(node, referent, edgeName); - AddEdge(node, referent, emptyStr); - AddEdge(node, referent, nullptr); - - ::testing::NiceMock writer; - - // Should get the node with edges once. - EXPECT_CALL( - writer, - writeNode(AllOf(EdgesLength(cx, 3), - Edge(cx, 0, Field(&JS::ubi::Edge::name, - UniqueUTF16StrEq(edgeName))), - Edge(cx, 1, Field(&JS::ubi::Edge::name, - UniqueUTF16StrEq(emptyStr))), - Edge(cx, 2, Field(&JS::ubi::Edge::name, - UniqueIsNull()))), - _) - ) - .Times(1) - .WillOnce(Return(true)); - - // Should get the referent node that doesn't have any edges once. - ExpectWriteNode(writer, referent); - - JS::AutoCheckCannotGC noGC(cx); - ASSERT_TRUE(WriteHeapGraph(cx, - JS::ubi::Node(&node), - writer, - /* wantNames = */ true, - /* zones = */ nullptr, - noGC)); - }); diff --git a/devtools/shared/heapsnapshot/tests/gtest/SerializesEverythingInHeapGraphOnce.cpp b/devtools/shared/heapsnapshot/tests/gtest/SerializesEverythingInHeapGraphOnce.cpp deleted file mode 100644 index 475442df8..000000000 --- a/devtools/shared/heapsnapshot/tests/gtest/SerializesEverythingInHeapGraphOnce.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ -/* 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/. */ - -// Test that everything in the heap graph gets serialized once, and only once. - -#include "DevTools.h" - -DEF_TEST(SerializesEverythingInHeapGraphOnce, { - FakeNode nodeA; - FakeNode nodeB; - FakeNode nodeC; - FakeNode nodeD; - - AddEdge(nodeA, nodeB); - AddEdge(nodeB, nodeC); - AddEdge(nodeC, nodeD); - AddEdge(nodeD, nodeA); - - ::testing::NiceMock writer; - - // Should serialize each node once. - ExpectWriteNode(writer, nodeA); - ExpectWriteNode(writer, nodeB); - ExpectWriteNode(writer, nodeC); - ExpectWriteNode(writer, nodeD); - - JS::AutoCheckCannotGC noGC(cx); - - ASSERT_TRUE(WriteHeapGraph(cx, - JS::ubi::Node(&nodeA), - writer, - /* wantNames = */ false, - /* zones = */ nullptr, - noGC)); - }); diff --git a/devtools/shared/heapsnapshot/tests/gtest/SerializesTypeNames.cpp b/devtools/shared/heapsnapshot/tests/gtest/SerializesTypeNames.cpp deleted file mode 100644 index a259c297b..000000000 --- a/devtools/shared/heapsnapshot/tests/gtest/SerializesTypeNames.cpp +++ /dev/null @@ -1,30 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ -/* 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/. */ - -// Test that a ubi::Node's typeName gets properly serialized into a core dump. - -#include "DevTools.h" - -using testing::Property; -using testing::Return; - -DEF_TEST(SerializesTypeNames, { - FakeNode node; - - ::testing::NiceMock writer; - EXPECT_CALL(writer, writeNode(Property(&JS::ubi::Node::typeName, - UTF16StrEq(u"FakeNode")), - _)) - .Times(1) - .WillOnce(Return(true)); - - JS::AutoCheckCannotGC noGC(cx); - ASSERT_TRUE(WriteHeapGraph(cx, - JS::ubi::Node(&node), - writer, - /* wantNames = */ true, - /* zones = */ nullptr, - noGC)); - }); diff --git a/devtools/shared/heapsnapshot/tests/gtest/moz.build b/devtools/shared/heapsnapshot/tests/gtest/moz.build deleted file mode 100644 index 08c31e47c..000000000 --- a/devtools/shared/heapsnapshot/tests/gtest/moz.build +++ /dev/null @@ -1,31 +0,0 @@ -# -*- Mode: python; 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/. - -Library('devtoolstests') - -LOCAL_INCLUDES += [ - '../..', -] - -UNIFIED_SOURCES = [ - 'DeserializedNodeUbiNodes.cpp', - 'DeserializedStackFrameUbiStackFrames.cpp', - 'DoesCrossCompartmentBoundaries.cpp', - 'DoesntCrossCompartmentBoundaries.cpp', - 'SerializesEdgeNames.cpp', - 'SerializesEverythingInHeapGraphOnce.cpp', - 'SerializesTypeNames.cpp', -] - -if CONFIG['GNU_CXX']: - CXXFLAGS += ['-Wno-error=shadow'] - -# THE MOCK_METHOD2 macro from gtest triggers this clang warning and it's hard -# to work around, so we just ignore it. -if CONFIG['CLANG_CXX']: - CXXFLAGS += ['-Wno-inconsistent-missing-override'] - -FINAL_LIBRARY = 'xul-gtest' diff --git a/devtools/shared/heapsnapshot/tests/mochitest/chrome.ini b/devtools/shared/heapsnapshot/tests/mochitest/chrome.ini deleted file mode 100644 index 497b6fe37..000000000 --- a/devtools/shared/heapsnapshot/tests/mochitest/chrome.ini +++ /dev/null @@ -1,8 +0,0 @@ -[DEFAULT] -tags = devtools devtools-memory -skip-if = os == 'android' -support-files = - -[test_DominatorTree_01.html] -[test_SaveHeapSnapshot.html] - diff --git a/devtools/shared/heapsnapshot/tests/mochitest/mochitest.ini b/devtools/shared/heapsnapshot/tests/mochitest/mochitest.ini deleted file mode 100644 index 5e7aa8d10..000000000 --- a/devtools/shared/heapsnapshot/tests/mochitest/mochitest.ini +++ /dev/null @@ -1,6 +0,0 @@ -[DEFAULT] -tags = devtools devtools-memory -support-files = - -[test_saveHeapSnapshot_e10s_01.html] - diff --git a/devtools/shared/heapsnapshot/tests/mochitest/test_DominatorTree_01.html b/devtools/shared/heapsnapshot/tests/mochitest/test_DominatorTree_01.html deleted file mode 100644 index 1f9d8c080..000000000 --- a/devtools/shared/heapsnapshot/tests/mochitest/test_DominatorTree_01.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - ChromeUtils.saveHeapSnapshot test - - - - -
-
-
- - diff --git a/devtools/shared/heapsnapshot/tests/mochitest/test_SaveHeapSnapshot.html b/devtools/shared/heapsnapshot/tests/mochitest/test_SaveHeapSnapshot.html deleted file mode 100644 index f150a99c7..000000000 --- a/devtools/shared/heapsnapshot/tests/mochitest/test_SaveHeapSnapshot.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - ChromeUtils.saveHeapSnapshot test - - - - -
-
-
- - diff --git a/devtools/shared/heapsnapshot/tests/mochitest/test_saveHeapSnapshot_e10s_01.html b/devtools/shared/heapsnapshot/tests/mochitest/test_saveHeapSnapshot_e10s_01.html deleted file mode 100644 index 15f88f8e0..000000000 --- a/devtools/shared/heapsnapshot/tests/mochitest/test_saveHeapSnapshot_e10s_01.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - saveHeapSnapshot in e10s child processes - - - - - - diff --git a/devtools/shared/heapsnapshot/tests/unit/.eslintrc.js b/devtools/shared/heapsnapshot/tests/unit/.eslintrc.js deleted file mode 100644 index 59adf410a..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/.eslintrc.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; - -module.exports = { - // Extend from the common devtools xpcshell eslintrc config. - "extends": "../../../../.eslintrc.xpcshell.js" -}; diff --git a/devtools/shared/heapsnapshot/tests/unit/Census.jsm b/devtools/shared/heapsnapshot/tests/unit/Census.jsm deleted file mode 100644 index f8fb1ce44..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/Census.jsm +++ /dev/null @@ -1,165 +0,0 @@ -// Functions for checking results returned by -// Debugger.Memory.prototype.takeCensus and -// HeapSnapshot.prototype.takeCensus. Adapted from js/src/jit-test/lib/census.js. - -this.EXPORTED_SYMBOLS = ["Census"]; - -this.Census = (function () { - const Census = {}; - - function dumpn(msg) { - dump("DBG-TEST: Census.jsm: " + msg + "\n"); - } - - // Census.walkCensus(subject, name, walker) - // - // Use |walker| to check |subject|, a census object of the sort returned by - // Debugger.Memory.prototype.takeCensus: a tree of objects with integers at the - // leaves. Use |name| as the name for |subject| in diagnostic messages. Return - // the number of leaves of |subject| we visited. - // - // A walker is an object with three methods: - // - // - enter(prop): Return the walker we should use to check the property of the - // subject census named |prop|. This is for recursing into the subobjects of - // the subject. - // - // - done(): Called after we have called 'enter' on every property of the - // subject. - // - // - check(value): Check |value|, a leaf in the subject. - // - // Walker methods are expected to simply throw if a node we visit doesn't look - // right. - Census.walkCensus = (subject, name, walker) => walk(subject, name, walker, 0); - function walk(subject, name, walker, count) { - if (typeof subject === "object") { - dumpn(name); - for (let prop in subject) { - count = walk(subject[prop], - name + "[" + uneval(prop) + "]", - walker.enter(prop), - count); - } - walker.done(); - } else { - dumpn(name + " = " + uneval(subject)); - walker.check(subject); - count++; - } - - return count; - } - - // A walker that doesn't check anything. - Census.walkAnything = { - enter: () => Census.walkAnything, - done: () => undefined, - check: () => undefined - }; - - // A walker that requires all leaves to be zeros. - Census.assertAllZeros = { - enter: () => Census.assertAllZeros, - done: () => undefined, - check: elt => { if (elt !== 0) throw new Error("Census mismatch: expected zero, found " + elt); } - }; - - function expectedObject() { - throw new Error("Census mismatch: subject has leaf where basis has nested object"); - } - - function expectedLeaf() { - throw new Error("Census mismatch: subject has nested object where basis has leaf"); - } - - // Return a function that, given a 'basis' census, returns a census walker that - // compares the subject census against the basis. The returned walker calls the - // given |compare|, |missing|, and |extra| functions as follows: - // - // - compare(subjectLeaf, basisLeaf): Check a leaf of the subject against the - // corresponding leaf of the basis. - // - // - missing(prop, value): Called when the subject is missing a property named - // |prop| which is present in the basis with value |value|. - // - // - extra(prop): Called when the subject has a property named |prop|, but the - // basis has no such property. This should return a walker that can check - // the subject's value. - function makeBasisChecker({compare, missing, extra}) { - return function makeWalker(basis) { - if (typeof basis === "object") { - var unvisited = new Set(Object.getOwnPropertyNames(basis)); - return { - enter: prop => { - unvisited.delete(prop); - if (prop in basis) { - return makeWalker(basis[prop]); - } else { - return extra(prop); - } - }, - - done: () => unvisited.forEach(prop => missing(prop, basis[prop])), - check: expectedObject - }; - } else { - return { - enter: expectedLeaf, - done: expectedLeaf, - check: elt => compare(elt, basis) - }; - } - }; - } - - function missingProp(prop) { - throw new Error("Census mismatch: subject lacks property present in basis: " + prop); - } - - function extraProp(prop) { - throw new Error("Census mismatch: subject has property not present in basis: " + prop); - } - - // Return a walker that checks that the subject census has counts all equal to - // |basis|. - Census.assertAllEqual = makeBasisChecker({ - compare: (a, b) => { if (a !== b) throw new Error("Census mismatch: expected " + a + " got " + b);}, - missing: missingProp, - extra: extraProp - }); - - function ok(val) { - if (!val) { - throw new Error("Census mismatch: expected truthy, got " + val); - } - } - - // Return a walker that checks that the subject census has at least as many - // items of each category as |basis|. - Census.assertAllNotLessThan = makeBasisChecker({ - compare: (subject, basis) => ok(subject >= basis), - missing: missingProp, - extra: () => Census.walkAnything - }); - - // Return a walker that checks that the subject census has at most as many - // items of each category as |basis|. - Census.assertAllNotMoreThan = makeBasisChecker({ - compare: (subject, basis) => ok(subject <= basis), - missing: missingProp, - extra: () => Census.walkAnything - }); - - // Return a walker that checks that the subject census has within |fudge| - // items of each category of the count in |basis|. - Census.assertAllWithin = function (fudge, basis) { - return makeBasisChecker({ - compare: (subject, basis) => ok(Math.abs(subject - basis) <= fudge), - missing: missingProp, - extra: () => Census.walkAnything - })(basis); - }; - - return Census; -}()); diff --git a/devtools/shared/heapsnapshot/tests/unit/Match.jsm b/devtools/shared/heapsnapshot/tests/unit/Match.jsm deleted file mode 100644 index c29e6484e..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/Match.jsm +++ /dev/null @@ -1,190 +0,0 @@ -// A little pattern-matching library. -// -// Ported from js/src/tests/js1_8_5/reflect-parse/Match.js for use with devtools -// server xpcshell tests. - -this.EXPORTED_SYMBOLS = ["Match"]; - -this.Match = (function() { - - function Pattern(template) { - // act like a constructor even as a function - if (!(this instanceof Pattern)) - return new Pattern(template); - - this.template = template; - } - - Pattern.prototype = { - match: function(act) { - return match(act, this.template); - }, - - matches: function(act) { - try { - return this.match(act); - } - catch (e if e instanceof MatchError) { - return false; - } - }, - - assert: function(act, message) { - try { - return this.match(act); - } - catch (e if e instanceof MatchError) { - throw new Error((message || "failed match") + ": " + e.message); - } - }, - - toString: () => "[object Pattern]" - }; - - Pattern.ANY = new Pattern; - Pattern.ANY.template = Pattern.ANY; - - Pattern.NUMBER = new Pattern; - Pattern.NUMBER.match = function (act) { - if (typeof act !== 'number') { - throw new MatchError("Expected number, got: " + quote(act)); - } - } - - Pattern.NATURAL = new Pattern - Pattern.NATURAL.match = function (act) { - if (typeof act !== 'number' || act !== Math.floor(act) || act < 0) { - throw new MatchError("Expected natural number, got: " + quote(act)); - } - } - - var quote = uneval; - - function MatchError(msg) { - this.message = msg; - } - - MatchError.prototype = { - toString: function() { - return "match error: " + this.message; - } - }; - - function isAtom(x) { - return (typeof x === "number") || - (typeof x === "string") || - (typeof x === "boolean") || - (x === null) || - (typeof x === "object" && x instanceof RegExp); - } - - function isObject(x) { - return (x !== null) && (typeof x === "object"); - } - - function isFunction(x) { - return typeof x === "function"; - } - - function isArrayLike(x) { - return isObject(x) && ("length" in x); - } - - function matchAtom(act, exp) { - if ((typeof exp) === "number" && isNaN(exp)) { - if ((typeof act) !== "number" || !isNaN(act)) - throw new MatchError("expected NaN, got: " + quote(act)); - return true; - } - - if (exp === null) { - if (act !== null) - throw new MatchError("expected null, got: " + quote(act)); - return true; - } - - if (exp instanceof RegExp) { - if (!(act instanceof RegExp) || exp.source !== act.source) - throw new MatchError("expected " + quote(exp) + ", got: " + quote(act)); - return true; - } - - switch (typeof exp) { - case "string": - if (act !== exp) - throw new MatchError("expected " + quote(exp) + ", got " + quote(act)); - return true; - case "boolean": - case "number": - if (exp !== act) - throw new MatchError("expected " + exp + ", got " + quote(act)); - return true; - } - - throw new Error("bad pattern: " + exp.toSource()); - } - - function matchObject(act, exp) { - if (!isObject(act)) - throw new MatchError("expected object, got " + quote(act)); - - for (var key in exp) { - if (!(key in act)) - throw new MatchError("expected property " + quote(key) + " not found in " + quote(act)); - match(act[key], exp[key]); - } - - return true; - } - - function matchFunction(act, exp) { - if (!isFunction(act)) - throw new MatchError("expected function, got " + quote(act)); - - if (act !== exp) - throw new MatchError("expected function: " + exp + - "\nbut got different function: " + act); - } - - function matchArray(act, exp) { - if (!isObject(act) || !("length" in act)) - throw new MatchError("expected array-like object, got " + quote(act)); - - var length = exp.length; - if (act.length !== exp.length) - throw new MatchError("expected array-like object of length " + length + ", got " + quote(act)); - - for (var i = 0; i < length; i++) { - if (i in exp) { - if (!(i in act)) - throw new MatchError("expected array property " + i + " not found in " + quote(act)); - match(act[i], exp[i]); - } - } - - return true; - } - - function match(act, exp) { - if (exp === Pattern.ANY) - return true; - - if (exp instanceof Pattern) - return exp.match(act); - - if (isAtom(exp)) - return matchAtom(act, exp); - - if (isArrayLike(exp)) - return matchArray(act, exp); - - if (isFunction(exp)) - return matchFunction(act, exp); - - return matchObject(act, exp); - } - - return { Pattern: Pattern, - MatchError: MatchError }; - -})(); diff --git a/devtools/shared/heapsnapshot/tests/unit/dominator-tree-worker.js b/devtools/shared/heapsnapshot/tests/unit/dominator-tree-worker.js deleted file mode 100644 index 1f49ca841..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/dominator-tree-worker.js +++ /dev/null @@ -1,47 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -console.log("Initializing worker."); - -self.onmessage = e => { - console.log("Starting test."); - try { - const path = ThreadSafeChromeUtils.saveHeapSnapshot({ runtime: true }); - const snapshot = ThreadSafeChromeUtils.readHeapSnapshot(path); - - const dominatorTree = snapshot.computeDominatorTree(); - ok(dominatorTree); - ok(dominatorTree instanceof DominatorTree); - - let threw = false; - try { - new DominatorTree(); - } catch (e) { - threw = true; - } - ok(threw, "Constructor shouldn't be usable"); - } catch (e) { - ok(false, "Unexpected error inside worker:\n" + e.toString() + "\n" + e.stack); - } finally { - done(); - } -}; - -// Proxy assertions to the main thread. -function ok(val, msg) { - console.log("ok(" + !!val + ", \"" + msg + "\")"); - self.postMessage({ - type: "assertion", - passed: !!val, - msg, - stack: Error().stack - }); -} - -// Tell the main thread we are done with the tests. -function done() { - console.log("done()"); - self.postMessage({ - type: "done" - }); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/head_heapsnapshot.js b/devtools/shared/heapsnapshot/tests/unit/head_heapsnapshot.js deleted file mode 100644 index 3171c8a6f..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/head_heapsnapshot.js +++ /dev/null @@ -1,448 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -"use strict"; - -var Cc = Components.classes; -var Ci = Components.interfaces; -var Cu = Components.utils; -var Cr = Components.results; -var CC = Components.Constructor; - -const { require } = Cu.import("resource://devtools/shared/Loader.jsm", {}); -const { Match } = Cu.import("resource://test/Match.jsm", {}); -const { Census } = Cu.import("resource://test/Census.jsm", {}); -const { addDebuggerToGlobal } = - Cu.import("resource://gre/modules/jsdebugger.jsm", {}); -const { Task } = require("devtools/shared/task"); - -const DevToolsUtils = require("devtools/shared/DevToolsUtils"); -const flags = require("devtools/shared/flags"); -const HeapAnalysesClient = - require("devtools/shared/heapsnapshot/HeapAnalysesClient"); -const Services = require("Services"); -const { censusReportToCensusTreeNode } = require("devtools/shared/heapsnapshot/census-tree-node"); -const CensusUtils = require("devtools/shared/heapsnapshot/CensusUtils"); -const DominatorTreeNode = require("devtools/shared/heapsnapshot/DominatorTreeNode"); -const { deduplicatePaths } = require("devtools/shared/heapsnapshot/shortest-paths"); -const { LabelAndShallowSizeVisitor } = DominatorTreeNode; - - -// Always log packets when running tests. runxpcshelltests.py will throw -// the output away anyway, unless you give it the --verbose flag. -if (Services.appinfo.processType == Services.appinfo.PROCESS_TYPE_DEFAULT) { - Services.prefs.setBoolPref("devtools.debugger.log", true); -} -flags.wantLogging = true; - -const SYSTEM_PRINCIPAL = Cc["@mozilla.org/systemprincipal;1"] - .createInstance(Ci.nsIPrincipal); - -function dumpn(msg) { - dump("HEAPSNAPSHOT-TEST: " + msg + "\n"); -} - -function addTestingFunctionsToGlobal(global) { - global.eval( - ` - const testingFunctions = Components.utils.getJSTestingFunctions(); - for (let k in testingFunctions) { - this[k] = testingFunctions[k]; - } - ` - ); - if (!global.print) { - global.print = do_print; - } - if (!global.newGlobal) { - global.newGlobal = newGlobal; - } - if (!global.Debugger) { - addDebuggerToGlobal(global); - } -} - -addTestingFunctionsToGlobal(this); - -/** - * Create a new global, with all the JS shell testing functions. Similar to the - * newGlobal function exposed to JS shells, and useful for porting JS shell - * tests to xpcshell tests. - */ -function newGlobal() { - const global = new Cu.Sandbox(SYSTEM_PRINCIPAL, { freshZone: true }); - addTestingFunctionsToGlobal(global); - return global; -} - -function assertThrowsValue(f, val, msg) { - var fullmsg; - try { - f(); - } catch (exc) { - if ((exc === val) === (val === val) && (val !== 0 || 1 / exc === 1 / val)) - return; - fullmsg = "Assertion failed: expected exception " + val + ", got " + exc; - } - if (fullmsg === undefined) - fullmsg = "Assertion failed: expected exception " + val + ", no exception thrown"; - if (msg !== undefined) - fullmsg += " - " + msg; - throw new Error(fullmsg); -} - -/** - * Returns the full path of the file with the specified name in a - * platform-independent and URL-like form. - */ -function getFilePath(aName, aAllowMissing = false, aUsePlatformPathSeparator = false) -{ - let file = do_get_file(aName, aAllowMissing); - let path = Services.io.newFileURI(file).spec; - let filePrePath = "file://"; - if ("nsILocalFileWin" in Ci && - file instanceof Ci.nsILocalFileWin) { - filePrePath += "/"; - } - - path = path.slice(filePrePath.length); - - if (aUsePlatformPathSeparator && path.match(/^\w:/)) { - path = path.replace(/\//g, "\\"); - } - - return path; -} - -function saveNewHeapSnapshot(opts = { runtime: true }) { - const filePath = ChromeUtils.saveHeapSnapshot(opts); - ok(filePath, "Should get a file path to save the core dump to."); - ok(true, "Saved a heap snapshot to " + filePath); - return filePath; -} - -function readHeapSnapshot(filePath) { - const snapshot = ChromeUtils.readHeapSnapshot(filePath); - ok(snapshot, "Should have read a heap snapshot back from " + filePath); - ok(snapshot instanceof HeapSnapshot, "snapshot should be an instance of HeapSnapshot"); - return snapshot; -} - -/** - * Save a heap snapshot to the file with the given name in the current - * directory, read it back as a HeapSnapshot instance, and then take a census of - * the heap snapshot's serialized heap graph with the provided census options. - * - * @param {Object|undefined} censusOptions - * Options that should be passed through to the takeCensus method. See - * js/src/doc/Debugger/Debugger.Memory.md for details. - * - * @param {Debugger|null} dbg - * If a Debugger object is given, only serialize the subgraph covered by - * the Debugger's debuggees. If null, serialize the whole heap graph. - * - * @param {String} fileName - * The file name to save the heap snapshot's core dump file to, within - * the current directory. - * - * @returns Census - */ -function saveHeapSnapshotAndTakeCensus(dbg = null, censusOptions = undefined) { - const snapshotOptions = dbg ? { debugger: dbg } : { runtime: true }; - const filePath = saveNewHeapSnapshot(snapshotOptions); - const snapshot = readHeapSnapshot(filePath); - - equal(typeof snapshot.takeCensus, "function", "snapshot should have a takeCensus method"); - - return snapshot.takeCensus(censusOptions); -} - -/** - * Save a heap snapshot to disk, read it back as a HeapSnapshot instance, and - * then compute its dominator tree. - * - * @param {Debugger|null} dbg - * If a Debugger object is given, only serialize the subgraph covered by - * the Debugger's debuggees. If null, serialize the whole heap graph. - * - * @returns {DominatorTree} - */ -function saveHeapSnapshotAndComputeDominatorTree(dbg = null) { - const snapshotOptions = dbg ? { debugger: dbg } : { runtime: true }; - const filePath = saveNewHeapSnapshot(snapshotOptions); - const snapshot = readHeapSnapshot(filePath); - - equal(typeof snapshot.computeDominatorTree, "function", - "snapshot should have a `computeDominatorTree` method"); - - const dominatorTree = snapshot.computeDominatorTree(); - - ok(dominatorTree, "Should be able to compute a dominator tree"); - ok(dominatorTree instanceof DominatorTree, "Should be an instance of DominatorTree"); - - return dominatorTree; -} - -function isSavedFrame(obj) { - return Object.prototype.toString.call(obj) === "[object SavedFrame]"; -} - -function savedFrameReplacer(key, val) { - if (isSavedFrame(val)) { - return ``; - } else { - return val; - } -} - -/** - * Assert that creating a CensusTreeNode from the given `report` with the - * specified `breakdown` creates the given `expected` CensusTreeNode. - * - * @param {Object} breakdown - * The census breakdown. - * - * @param {Object} report - * The census report. - * - * @param {Object} expected - * The expected CensusTreeNode result. - * - * @param {Object} options - * The options to pass through to `censusReportToCensusTreeNode`. - */ -function compareCensusViewData(breakdown, report, expected, options) { - dumpn("Generating CensusTreeNode from report:"); - dumpn("breakdown: " + JSON.stringify(breakdown, null, 4)); - dumpn("report: " + JSON.stringify(report, null, 4)); - dumpn("expected: " + JSON.stringify(expected, savedFrameReplacer, 4)); - - const actual = censusReportToCensusTreeNode(breakdown, report, options); - dumpn("actual: " + JSON.stringify(actual, savedFrameReplacer, 4)); - - assertStructurallyEquivalent(actual, expected); -} - -// Deep structural equivalence that can handle Map objects in addition to plain -// objects. -function assertStructurallyEquivalent(actual, expected, path = "root") { - if (actual === expected) { - equal(actual, expected, "actual and expected are the same"); - return; - } - - equal(typeof actual, typeof expected, `${path}: typeof should be the same`); - - if (actual && typeof actual === "object") { - const actualProtoString = Object.prototype.toString.call(actual); - const expectedProtoString = Object.prototype.toString.call(expected); - equal(actualProtoString, expectedProtoString, - `${path}: Object.prototype.toString.call() should be the same`); - - if (actualProtoString === "[object Map]") { - const expectedKeys = new Set([...expected.keys()]); - - for (let key of actual.keys()) { - ok(expectedKeys.has(key), - `${path}: every key in actual should exist in expected: ${String(key).slice(0, 10)}`); - expectedKeys.delete(key); - - assertStructurallyEquivalent(actual.get(key), expected.get(key), - path + ".get(" + String(key).slice(0, 20) + ")"); - } - - equal(expectedKeys.size, 0, - `${path}: every key in expected should also exist in actual, did not see ${[...expectedKeys]}`); - } else if (actualProtoString === "[object Set]") { - const expectedItems = new Set([...expected]); - - for (let item of actual) { - ok(expectedItems.has(item), - `${path}: every set item in actual should exist in expected: ${item}`); - expectedItems.delete(item); - } - - equal(expectedItems.size, 0, - `${path}: every set item in expected should also exist in actual, did not see ${[...expectedItems]}`); - } else { - const expectedKeys = new Set(Object.keys(expected)); - - for (let key of Object.keys(actual)) { - ok(expectedKeys.has(key), - `${path}: every key in actual should exist in expected: ${key}`); - expectedKeys.delete(key); - - assertStructurallyEquivalent(actual[key], expected[key], path + "." + key); - } - - equal(expectedKeys.size, 0, - `${path}: every key in expected should also exist in actual, did not see ${[...expectedKeys]}`); - } - } else { - equal(actual, expected, `${path}: primitives should be equal`); - } -} - -/** - * Assert that creating a diff of the `first` and `second` census reports - * creates the `expected` delta-report. - * - * @param {Object} breakdown - * The census breakdown. - * - * @param {Object} first - * The first census report. - * - * @param {Object} second - * The second census report. - * - * @param {Object} expected - * The expected delta-report. - */ -function assertDiff(breakdown, first, second, expected) { - dumpn("Diffing census reports:"); - dumpn("Breakdown: " + JSON.stringify(breakdown, null, 4)); - dumpn("First census report: " + JSON.stringify(first, null, 4)); - dumpn("Second census report: " + JSON.stringify(second, null, 4)); - dumpn("Expected delta-report: " + JSON.stringify(expected, null, 4)); - - const actual = CensusUtils.diff(breakdown, first, second); - dumpn("Actual delta-report: " + JSON.stringify(actual, null, 4)); - - assertStructurallyEquivalent(actual, expected); -} - -/** - * Assert that creating a label and getting a shallow size from the given node - * description with the specified breakdown is as expected. - * - * @param {Object} breakdown - * @param {Object} givenDescription - * @param {Number} expectedShallowSize - * @param {Object} expectedLabel - */ -function assertLabelAndShallowSize(breakdown, givenDescription, expectedShallowSize, expectedLabel) { - dumpn("Computing label and shallow size from node description:"); - dumpn("Breakdown: " + JSON.stringify(breakdown, null, 4)); - dumpn("Given description: " + JSON.stringify(givenDescription, null, 4)); - - const visitor = new LabelAndShallowSizeVisitor(); - CensusUtils.walk(breakdown, description, visitor); - - dumpn("Expected shallow size: " + expectedShallowSize); - dumpn("Actual shallow size: " + visitor.shallowSize()); - equal(visitor.shallowSize(), expectedShallowSize, "Shallow size should be correct"); - - dumpn("Expected label: " + JSON.stringify(expectedLabel, null, 4)); - dumpn("Actual label: " + JSON.stringify(visitor.label(), null, 4)); - assertStructurallyEquivalent(visitor.label(), expectedLabel); -} - -// Counter for mock DominatorTreeNode ids. -let TEST_NODE_ID_COUNTER = 0; - -/** - * Create a mock DominatorTreeNode for testing, with sane defaults. Override any - * property by providing it on `opts`. Optionally pass child nodes as well. - * - * @param {Object} opts - * @param {Array?} children - * - * @returns {DominatorTreeNode} - */ -function makeTestDominatorTreeNode(opts, children) { - const nodeId = TEST_NODE_ID_COUNTER++; - - const node = Object.assign({ - nodeId, - label: undefined, - shallowSize: 1, - retainedSize: (children || []).reduce((size, c) => size + c.retainedSize, 1), - parentId: undefined, - children, - moreChildrenAvailable: true, - }, opts); - - if (children && children.length) { - children.map(c => c.parentId = node.nodeId); - } - - return node; -} - -/** - * Insert `newChildren` into the given dominator `tree` as specified by the - * `path` from the root to the node the `newChildren` should be inserted - * beneath. Assert that the resulting tree matches `expected`. - */ -function assertDominatorTreeNodeInsertion(tree, path, newChildren, moreChildrenAvailable, expected) { - dumpn("Inserting new children into a dominator tree:"); - dumpn("Dominator tree: " + JSON.stringify(tree, null, 2)); - dumpn("Path: " + JSON.stringify(path, null, 2)); - dumpn("New children: " + JSON.stringify(newChildren, null, 2)); - dumpn("Expected resulting tree: " + JSON.stringify(expected, null, 2)); - - const actual = DominatorTreeNode.insert(tree, path, newChildren, moreChildrenAvailable); - dumpn("Actual resulting tree: " + JSON.stringify(actual, null, 2)); - - assertStructurallyEquivalent(actual, expected); -} - -function assertDeduplicatedPaths({ target, paths, expectedNodes, expectedEdges }) { - dumpn("Deduplicating paths:"); - dumpn("target = " + target); - dumpn("paths = " + JSON.stringify(paths, null, 2)); - dumpn("expectedNodes = " + expectedNodes); - dumpn("expectedEdges = " + JSON.stringify(expectedEdges, null, 2)); - - const { nodes, edges } = deduplicatePaths(target, paths); - - dumpn("Actual nodes = " + nodes); - dumpn("Actual edges = " + JSON.stringify(edges, null, 2)); - - equal(nodes.length, expectedNodes.length, - "actual number of nodes is equal to the expected number of nodes"); - - equal(edges.length, expectedEdges.length, - "actual number of edges is equal to the expected number of edges"); - - const expectedNodeSet = new Set(expectedNodes); - const nodeSet = new Set(nodes); - ok(nodeSet.size === nodes.length, - "each returned node should be unique"); - - for (let node of nodes) { - ok(expectedNodeSet.has(node), `the ${node} node was expected`); - } - - for (let expectedEdge of expectedEdges) { - let count = 0; - for (let edge of edges) { - if (edge.from === expectedEdge.from && - edge.to === expectedEdge.to && - edge.name === expectedEdge.name) { - count++; - } - } - equal(count, 1, - "should have exactly one matching edge for the expected edge = " + JSON.stringify(edge)); - } -} - -function assertCountToBucketBreakdown(breakdown, expected) { - dumpn("count => bucket breakdown"); - dumpn("Initial breakdown = ", JSON.stringify(breakdown, null, 2)); - dumpn("Expected results = ", JSON.stringify(expected, null, 2)); - - const actual = CensusUtils.countToBucketBreakdown(breakdown); - dumpn("Actual results = ", JSON.stringify(actual, null, 2)); - - assertStructurallyEquivalent(actual, expected); -} - -/** - * Create a mock path entry for the given predecessor and edge. - */ -function pathEntry(predecessor, edge) { - return { predecessor, edge }; -} diff --git a/devtools/shared/heapsnapshot/tests/unit/heap-snapshot-worker.js b/devtools/shared/heapsnapshot/tests/unit/heap-snapshot-worker.js deleted file mode 100644 index 10ee70cec..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/heap-snapshot-worker.js +++ /dev/null @@ -1,46 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -console.log("Initializing worker."); - -self.onmessage = e => { - console.log("Starting test."); - try { - ok(typeof ChromeUtils === "undefined", - "Should not have access to ChromeUtils in a worker."); - ok(ThreadSafeChromeUtils, - "Should have access to ThreadSafeChromeUtils in a worker."); - ok(HeapSnapshot, - "Should have access to HeapSnapshot in a worker."); - - const filePath = ThreadSafeChromeUtils.saveHeapSnapshot({ globals: [this] }); - ok(true, "Should be able to save a snapshot."); - - const snapshot = ThreadSafeChromeUtils.readHeapSnapshot(filePath); - ok(snapshot, "Should be able to read a heap snapshot"); - ok(snapshot instanceof HeapSnapshot, "Should be an instanceof HeapSnapshot"); - } catch (e) { - ok(false, "Unexpected error inside worker:\n" + e.toString() + "\n" + e.stack); - } finally { - done(); - } -}; - -// Proxy assertions to the main thread. -function ok(val, msg) { - console.log("ok(" + !!val + ", \"" + msg + "\")"); - self.postMessage({ - type: "assertion", - passed: !!val, - msg, - stack: Error().stack - }); -} - -// Tell the main thread we are done with the tests. -function done() { - console.log("done()"); - self.postMessage({ - type: "done" - }); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_LabelAndShallowSize_01.js b/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_LabelAndShallowSize_01.js deleted file mode 100644 index 845a0d263..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_LabelAndShallowSize_01.js +++ /dev/null @@ -1,46 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that we can generate label structures from node description reports. - -const breakdown = { - by: "coarseType", - objects: { - by: "objectClass", - then: { by: "count", count: true, bytes: true }, - other: { by: "count", count: true, bytes: true }, - }, - strings: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, - scripts: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, - other: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, -}; - -const description = { - objects: { - Function: { count: 1, bytes: 32 }, - other: { count: 0, bytes: 0 } - }, - strings: {}, - scripts: {}, - other: {} -}; - -const expected = [ - "objects", - "Function" -]; - -const shallowSize = 32; - -function run_test() { - assertLabelAndShallowSize(breakdown, description, shallowSize, expected); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_LabelAndShallowSize_02.js b/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_LabelAndShallowSize_02.js deleted file mode 100644 index e1f32de58..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_LabelAndShallowSize_02.js +++ /dev/null @@ -1,45 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that we can generate label structures from node description reports. - -const breakdown = { - by: "coarseType", - objects: { - by: "objectClass", - then: { by: "count", count: true, bytes: true }, - other: { by: "count", count: true, bytes: true }, - }, - strings: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, - scripts: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, - other: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, -}; - -const description = { - objects: { - other: { count: 1, bytes: 10 } - }, - strings: {}, - scripts: {}, - other: {} -}; - -const expected = [ - "objects", - "other" -]; - -const shallowSize = 10; - -function run_test() { - assertLabelAndShallowSize(breakdown, description, shallowSize, expected); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_LabelAndShallowSize_03.js b/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_LabelAndShallowSize_03.js deleted file mode 100644 index ad35dcec1..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_LabelAndShallowSize_03.js +++ /dev/null @@ -1,47 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that we can generate label structures from node description reports. - -const breakdown = { - by: "coarseType", - objects: { - by: "objectClass", - then: { by: "count", count: true, bytes: true }, - other: { by: "count", count: true, bytes: true }, - }, - strings: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, - scripts: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, - other: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, -}; - -const description = { - objects: { - other: { count: 0, bytes: 0 } - }, - strings: { - "JSString": { count: 1, bytes: 42 }, - }, - scripts: {}, - other: {} -}; - -const expected = [ - "strings", - "JSString" -]; - -const shallowSize = 42; - -function run_test() { - assertLabelAndShallowSize(breakdown, description, shallowSize, expected); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_LabelAndShallowSize_04.js b/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_LabelAndShallowSize_04.js deleted file mode 100644 index 566ad0dab..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_LabelAndShallowSize_04.js +++ /dev/null @@ -1,53 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that we can generate label structures from node description reports. - -const breakdown = { - by: "coarseType", - objects: { - by: "objectClass", - then: { - by: "allocationStack", - then: { by: "count", count: true, bytes: true }, - noStack: { by: "count", count: true, bytes: true }, - }, - other: { by: "count", count: true, bytes: true }, - }, - strings: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, - scripts: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, - other: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, -}; - -const stack = saveStack(); - -const description = { - objects: { - Array: new Map([[stack, { count: 1, bytes: 512 }]]), - other: { count: 0, bytes: 0 } - }, - strings: {}, - scripts: {}, - other: {} -}; - -const expected = [ - "objects", - "Array", - stack -]; - -const shallowSize = 512; - -function run_test() { - assertLabelAndShallowSize(breakdown, description, shallowSize, expected); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_attachShortestPaths_01.js b/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_attachShortestPaths_01.js deleted file mode 100644 index 24e8e2eb5..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_attachShortestPaths_01.js +++ /dev/null @@ -1,132 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ -"use strict"; - -// Test that the DominatorTreeNode.attachShortestPaths function can correctly -// attach the deduplicated shortest retaining paths for each node it is given. - -const startNodeId = 9999; -const maxNumPaths = 2; - -// Mock data mapping node id to shortest paths to that node id. -const shortestPaths = new Map([ - [1000, [ - [pathEntry(1100, "a"), pathEntry(1200, "b")], - [pathEntry(1100, "c"), pathEntry(1300, "d")], - ]], - [2000, [ - [pathEntry(2100, "e"), pathEntry(2200, "f"), pathEntry(2300, "g")] - ]], - [3000, [ - [pathEntry(3100, "h")], - [pathEntry(3100, "i")], - [pathEntry(3100, "j")], - [pathEntry(3200, "k")], - [pathEntry(3300, "l")], - [pathEntry(3400, "m")], - ]], -]); - -const actual = [ - makeTestDominatorTreeNode({ nodeId: 1000 }), - makeTestDominatorTreeNode({ nodeId: 2000 }), - makeTestDominatorTreeNode({ nodeId: 3000 }), -]; - -const expected = [ - makeTestDominatorTreeNode({ - nodeId: 1000, - shortestPaths: { - nodes: [ - { id: 1000, label: ["SomeType-1000"] }, - { id: 1100, label: ["SomeType-1100"] }, - { id: 1200, label: ["SomeType-1200"] }, - { id: 1300, label: ["SomeType-1300"] }, - ], - edges: [ - { from: 1100, to: 1200, name: "a" }, - { from: 1100, to: 1300, name: "c" }, - { from: 1200, to: 1000, name: "b" }, - { from: 1300, to: 1000, name: "d" }, - ] - } - }), - - makeTestDominatorTreeNode({ - nodeId: 2000, - shortestPaths: { - nodes: [ - { id: 2000, label: ["SomeType-2000"] }, - { id: 2100, label: ["SomeType-2100"] }, - { id: 2200, label: ["SomeType-2200"] }, - { id: 2300, label: ["SomeType-2300"] }, - ], - edges: [ - { from: 2100, to: 2200, name: "e" }, - { from: 2200, to: 2300, name: "f" }, - { from: 2300, to: 2000, name: "g" }, - ] - } - }), - - makeTestDominatorTreeNode({ nodeId: 3000, - shortestPaths: { - nodes: [ - { id: 3000, label: ["SomeType-3000"] }, - { id: 3100, label: ["SomeType-3100"] }, - { id: 3200, label: ["SomeType-3200"] }, - { id: 3300, label: ["SomeType-3300"] }, - { id: 3400, label: ["SomeType-3400"] }, - ], - edges: [ - { from: 3100, to: 3000, name: "h" }, - { from: 3100, to: 3000, name: "i" }, - { from: 3100, to: 3000, name: "j" }, - { from: 3200, to: 3000, name: "k" }, - { from: 3300, to: 3000, name: "l" }, - { from: 3400, to: 3000, name: "m" }, - ] - } - }), -]; - -const breakdown = { - by: "internalType", - then: { by: "count", count: true, bytes: true } -}; - -const mockSnapshot = { - computeShortestPaths: (start, nodeIds, max) => { - equal(start, startNodeId); - equal(max, maxNumPaths); - - return new Map(nodeIds.map(nodeId => { - const paths = shortestPaths.get(nodeId); - ok(paths, "Expected computeShortestPaths call for node id = " + nodeId); - return [nodeId, paths]; - })); - }, - - describeNode: (bd, nodeId) => { - equal(bd, breakdown); - return { - ["SomeType-" + nodeId]: { - count: 1, - bytes: 10, - } - }; - }, -}; - -function run_test() { - DominatorTreeNode.attachShortestPaths(mockSnapshot, - breakdown, - startNodeId, - actual, - maxNumPaths); - - dumpn("Expected = " + JSON.stringify(expected, null, 2)); - dumpn("Actual = " + JSON.stringify(actual, null, 2)); - - assertStructurallyEquivalent(expected, actual); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_getNodeByIdAlongPath_01.js b/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_getNodeByIdAlongPath_01.js deleted file mode 100644 index de2907809..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_getNodeByIdAlongPath_01.js +++ /dev/null @@ -1,44 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that we can find the node with the given id along the specified path. - -const node3000 = makeTestDominatorTreeNode({ nodeId: 3000 }); - -const node2000 = makeTestDominatorTreeNode({ nodeId: 2000 }, [ - makeTestDominatorTreeNode({}), - node3000, - makeTestDominatorTreeNode({}), -]); - -const node1000 = makeTestDominatorTreeNode({ nodeId: 1000 }, [ - makeTestDominatorTreeNode({}), - node2000, - makeTestDominatorTreeNode({}), -]); - -const tree = node1000; - -const path = [1000, 2000, 3000]; - -const tests = [ - { id: 1000, expected: node1000 }, - { id: 2000, expected: node2000 }, - { id: 3000, expected: node3000 }, -]; - -function run_test() { - for (let { id, expected } of tests) { - const actual = DominatorTreeNode.getNodeByIdAlongPath(id, tree, path); - equal(actual, expected, `We should have got the node with id = ${id}`); - } - - equal(null, - DominatorTreeNode.getNodeByIdAlongPath(999999999999, tree, path), - "null is returned for nodes that are not even in the tree"); - - const lastNodeId = tree.children[tree.children.length - 1].nodeId; - equal(null, - DominatorTreeNode.getNodeByIdAlongPath(lastNodeId, tree, path), - "null is returned for nodes that are not along the path"); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_insert_01.js b/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_insert_01.js deleted file mode 100644 index 979232ff4..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_insert_01.js +++ /dev/null @@ -1,112 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that we can insert new children into an existing DominatorTreeNode tree. - -const tree = makeTestDominatorTreeNode({ nodeId: 1000 }, [ - makeTestDominatorTreeNode({}), - makeTestDominatorTreeNode({ nodeId: 2000 }, [ - makeTestDominatorTreeNode({}), - makeTestDominatorTreeNode({ nodeId: 3000 }), - makeTestDominatorTreeNode({}), - ]), - makeTestDominatorTreeNode({}), -]); - -const path = [1000, 2000, 3000]; - -const newChildren = [ - makeTestDominatorTreeNode({ parentId: 3000 }), - makeTestDominatorTreeNode({ parentId: 3000 }), -]; - -const moreChildrenAvailable = false; - -const expected = { - nodeId: 1000, - parentId: undefined, - label: undefined, - shallowSize: 1, - retainedSize: 7, - children: [ - { - nodeId: 0, - label: undefined, - shallowSize: 1, - retainedSize: 1, - parentId: 1000, - moreChildrenAvailable: true, - children: undefined, - }, - { - nodeId: 2000, - label: undefined, - shallowSize: 1, - retainedSize: 4, - parentId: 1000, - children: [ - { - nodeId: 1, - label: undefined, - shallowSize: 1, - retainedSize: 1, - parentId: 2000, - moreChildrenAvailable: true, - children: undefined, - }, - { - nodeId: 3000, - label: undefined, - shallowSize: 1, - retainedSize: 1, - parentId: 2000, - children: [ - { - nodeId: 7, - parentId: 3000, - label: undefined, - shallowSize: 1, - retainedSize: 1, - moreChildrenAvailable: true, - children: undefined, - }, - { - nodeId: 8, - parentId: 3000, - label: undefined, - shallowSize: 1, - retainedSize: 1, - moreChildrenAvailable: true, - children: undefined, - }, - ], - moreChildrenAvailable: false - }, - { - nodeId: 3, - label: undefined, - shallowSize: 1, - retainedSize: 1, - parentId: 2000, - moreChildrenAvailable: true, - children: undefined, - }, - ], - moreChildrenAvailable: true - }, - { - nodeId: 5, - label: undefined, - shallowSize: 1, - retainedSize: 1, - parentId: 1000, - moreChildrenAvailable: true, - children: undefined, - } - ], - moreChildrenAvailable: true -}; - -function run_test() { - assertDominatorTreeNodeInsertion(tree, path, newChildren, moreChildrenAvailable, expected); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_insert_02.js b/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_insert_02.js deleted file mode 100644 index 9a8d11d0b..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_insert_02.js +++ /dev/null @@ -1,30 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test attempting to insert new children into an existing DominatorTreeNode -// tree with a bad path. - -const tree = makeTestDominatorTreeNode({}, [ - makeTestDominatorTreeNode({}), - makeTestDominatorTreeNode({}, [ - makeTestDominatorTreeNode({}), - makeTestDominatorTreeNode({}), - makeTestDominatorTreeNode({}), - ]), - makeTestDominatorTreeNode({}), -]); - -const path = [111111, 222222, 333333]; - -const newChildren = [ - makeTestDominatorTreeNode({ parentId: 333333 }), - makeTestDominatorTreeNode({ parentId: 333333 }), -]; - -const moreChildrenAvailable = false; - -const expected = tree; - -function run_test() { - assertDominatorTreeNodeInsertion(tree, path, newChildren, moreChildrenAvailable, expected); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_insert_03.js b/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_insert_03.js deleted file mode 100644 index f8cb5eec3..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_insert_03.js +++ /dev/null @@ -1,117 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test inserting new children into an existing DominatorTreeNode at the root. - -const tree = makeTestDominatorTreeNode({ nodeId: 666 }, [ - makeTestDominatorTreeNode({}), - makeTestDominatorTreeNode({}, [ - makeTestDominatorTreeNode({}), - makeTestDominatorTreeNode({}), - makeTestDominatorTreeNode({}), - ]), - makeTestDominatorTreeNode({}), -]); - -const path = [666]; - -const newChildren = [ - makeTestDominatorTreeNode({ - nodeId: 777, - parentId: 666 - }), - makeTestDominatorTreeNode({ - nodeId: 888, - parentId: 666 - }), -]; - -const moreChildrenAvailable = false; - -const expected = { - nodeId: 666, - label: undefined, - parentId: undefined, - shallowSize: 1, - retainedSize: 7, - children: [ - { - nodeId: 0, - label: undefined, - shallowSize: 1, - retainedSize: 1, - parentId: 666, - moreChildrenAvailable: true, - children: undefined - }, - { - nodeId: 4, - label: undefined, - shallowSize: 1, - retainedSize: 4, - parentId: 666, - children: [ - { - nodeId: 1, - label: undefined, - shallowSize: 1, - retainedSize: 1, - parentId: 4, - moreChildrenAvailable: true, - children: undefined - }, - { - nodeId: 2, - label: undefined, - shallowSize: 1, - retainedSize: 1, - parentId: 4, - moreChildrenAvailable: true, - children: undefined - }, - { - nodeId: 3, - label: undefined, - shallowSize: 1, - retainedSize: 1, - parentId: 4, - moreChildrenAvailable: true, - children: undefined - } - ], - moreChildrenAvailable: true - }, - { - nodeId: 5, - label: undefined, - shallowSize: 1, - retainedSize: 1, - parentId: 666, - moreChildrenAvailable: true, - children: undefined - }, - { - nodeId: 777, - label: undefined, - shallowSize: 1, - retainedSize: 1, - parentId: 666, - moreChildrenAvailable: true, - children: undefined - }, - { - nodeId: 888, - label: undefined, - shallowSize: 1, - retainedSize: 1, - parentId: 666, - moreChildrenAvailable: true, - children: undefined - } - ], - moreChildrenAvailable: false -}; - -function run_test() { - assertDominatorTreeNodeInsertion(tree, path, newChildren, moreChildrenAvailable, expected); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_partialTraversal_01.js b/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_partialTraversal_01.js deleted file mode 100644 index 78ec47b64..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTreeNode_partialTraversal_01.js +++ /dev/null @@ -1,164 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that we correctly set `moreChildrenAvailable` when doing a partial -// traversal of a dominator tree to create the initial incrementally loaded -// `DominatorTreeNode` tree. - -// `tree` maps parent to children: -// -// 100 -// |- 200 -// | |- 500 -// | |- 600 -// | `- 700 -// |- 300 -// | |- 800 -// | |- 900 -// `- 400 -// |- 1000 -// |- 1100 -// `- 1200 -const tree = new Map([ - [100, [200, 300, 400]], - [200, [500, 600, 700]], - [300, [800, 900]], - [400, [1000, 1100, 1200]] -]); - -const mockDominatorTree = { - root: 100, - getRetainedSize: _ => 10, - getImmediatelyDominated: id => (tree.get(id) || []).slice() -}; - -const mockSnapshot = { - describeNode: _ => ({ - objects: { count: 0, bytes: 0 }, - strings: { count: 0, bytes: 0 }, - scripts: { count: 0, bytes: 0 }, - other: { SomeType: { count: 1, bytes: 10 } } - }) -}; - -const breakdown = { - by: "coarseType", - objects: { by: "count", count: true, bytes: true }, - strings: { by: "count", count: true, bytes: true }, - scripts: { by: "count", count: true, bytes: true }, - other: { - by: "internalType", - then: { by: "count", count: true, bytes: true } - }, -}; - -const expected = { - nodeId: 100, - label: [ - "other", - "SomeType" - ], - shallowSize: 10, - retainedSize: 10, - shortestPaths: undefined, - children: [ - { - nodeId: 200, - label: [ - "other", - "SomeType" - ], - shallowSize: 10, - retainedSize: 10, - parentId: 100, - shortestPaths: undefined, - children: [ - { - nodeId: 500, - label: [ - "other", - "SomeType" - ], - shallowSize: 10, - retainedSize: 10, - parentId: 200, - moreChildrenAvailable: false, - shortestPaths: undefined, - children: undefined - }, - { - nodeId: 600, - label: [ - "other", - "SomeType" - ], - shallowSize: 10, - retainedSize: 10, - parentId: 200, - moreChildrenAvailable: false, - shortestPaths: undefined, - children: undefined - } - ], - moreChildrenAvailable: true - }, - { - nodeId: 300, - label: [ - "other", - "SomeType" - ], - shallowSize: 10, - retainedSize: 10, - parentId: 100, - shortestPaths: undefined, - children: [ - { - nodeId: 800, - label: [ - "other", - "SomeType" - ], - shallowSize: 10, - retainedSize: 10, - parentId: 300, - moreChildrenAvailable: false, - shortestPaths: undefined, - children: undefined - }, - { - nodeId: 900, - label: [ - "other", - "SomeType" - ], - shallowSize: 10, - retainedSize: 10, - parentId: 300, - moreChildrenAvailable: false, - shortestPaths: undefined, - children: undefined - } - ], - moreChildrenAvailable: false - } - ], - moreChildrenAvailable: true, - parentId: undefined, -}; - -function run_test() { - // Traverse the whole depth of the test tree, but one short of the number of - // siblings. This will exercise the moreChildrenAvailable handling for - // siblings. - const actual = DominatorTreeNode.partialTraversal(mockDominatorTree, - mockSnapshot, - breakdown, - /* maxDepth = */ 4, - /* siblings = */ 2); - - dumpn("Expected = " + JSON.stringify(expected, null, 2)); - dumpn("Actual = " + JSON.stringify(actual, null, 2)); - - assertStructurallyEquivalent(expected, actual); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTree_01.js b/devtools/shared/heapsnapshot/tests/unit/test_DominatorTree_01.js deleted file mode 100644 index e8145f658..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTree_01.js +++ /dev/null @@ -1,23 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Sanity test that we can compute dominator trees. - -function run_test() { - const path = ChromeUtils.saveHeapSnapshot({ runtime: true }); - const snapshot = ChromeUtils.readHeapSnapshot(path); - - const dominatorTree = snapshot.computeDominatorTree(); - ok(dominatorTree); - ok(dominatorTree instanceof DominatorTree); - - let threw = false; - try { - new DominatorTree(); - } catch (e) { - threw = true; - } - ok(threw, "Constructor shouldn't be usable"); - - do_test_finished(); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTree_02.js b/devtools/shared/heapsnapshot/tests/unit/test_DominatorTree_02.js deleted file mode 100644 index a518f8a27..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTree_02.js +++ /dev/null @@ -1,40 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that we can compute dominator trees from a snapshot in a worker. - -add_task(function* () { - const worker = new ChromeWorker("resource://test/dominator-tree-worker.js"); - worker.postMessage({}); - - let assertionCount = 0; - worker.onmessage = e => { - if (e.data.type !== "assertion") { - return; - } - - ok(e.data.passed, e.data.msg + "\n" + e.data.stack); - assertionCount++; - }; - - yield waitForDone(worker); - - ok(assertionCount > 0); - worker.terminate(); -}); - -function waitForDone(w) { - return new Promise((resolve, reject) => { - w.onerror = e => { - reject(); - ok(false, "Error in worker: " + e); - }; - - w.addEventListener("message", function listener(e) { - if (e.data.type === "done") { - w.removeEventListener("message", listener, false); - resolve(); - } - }, false); - }); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTree_03.js b/devtools/shared/heapsnapshot/tests/unit/test_DominatorTree_03.js deleted file mode 100644 index 0a14ce53d..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTree_03.js +++ /dev/null @@ -1,13 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that we can get the root of dominator trees. - -function run_test() { - const dominatorTree = saveHeapSnapshotAndComputeDominatorTree(); - equal(typeof dominatorTree.root, "number", "root should be a number"); - equal(Math.floor(dominatorTree.root), dominatorTree.root, "root should be an integer"); - ok(dominatorTree.root >= 0, "root should be positive"); - ok(dominatorTree.root <= Math.pow(2, 48), "root should be less than or equal to 2^48"); - do_test_finished(); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTree_04.js b/devtools/shared/heapsnapshot/tests/unit/test_DominatorTree_04.js deleted file mode 100644 index e5aef3fec..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTree_04.js +++ /dev/null @@ -1,22 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that we can get the retained sizes of dominator trees. - -function run_test() { - const dominatorTree = saveHeapSnapshotAndComputeDominatorTree(); - equal(typeof dominatorTree.getRetainedSize, "function", - "getRetainedSize should be a function"); - - const size = dominatorTree.getRetainedSize(dominatorTree.root); - ok(size, "should get a size for the root"); - equal(typeof size, "number", "retained sizes should be a number"); - equal(Math.floor(size), size, "size should be an integer"); - ok(size > 0, "size should be positive"); - ok(size <= Math.pow(2, 64), "size should be less than or equal to 2^64"); - - const bad = dominatorTree.getRetainedSize(1); - equal(bad, null, "null is returned for unknown node ids"); - - do_test_finished(); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTree_05.js b/devtools/shared/heapsnapshot/tests/unit/test_DominatorTree_05.js deleted file mode 100644 index c07cee994..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTree_05.js +++ /dev/null @@ -1,75 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that we can get the set of immediately dominated nodes for any given -// node and that this forms a tree. - -function run_test() { - var dominatorTree = saveHeapSnapshotAndComputeDominatorTree(); - equal(typeof dominatorTree.getImmediatelyDominated, "function", - "getImmediatelyDominated should be a function"); - - // Do a traversal of the dominator tree. - // - // Note that we don't assert directly, only if we get an unexpected - // value. There are just way too many nodes in the heap graph to assert for - // every one. This test would constantly time out and assertion messages would - // overflow the log size. - - var root = dominatorTree.root; - equal(dominatorTree.getImmediateDominator(root), null, - "The root should not have a parent"); - - var seen = new Set(); - var stack = [root]; - while (stack.length > 0) { - var top = stack.pop(); - - if (seen.has(top)) { - ok(false, - "This is a tree, not a graph: we shouldn't have multiple edges to the same node"); - } - seen.add(top); - if (seen.size % 1000 === 0) { - dumpn("Progress update: seen size = " + seen.size); - } - - var newNodes = dominatorTree.getImmediatelyDominated(top); - if (Object.prototype.toString.call(newNodes) !== "[object Array]") { - ok(false, "getImmediatelyDominated should return an array for known node ids"); - } - - var topSize = dominatorTree.getRetainedSize(top); - - var lastSize = Infinity; - for (var i = 0; i < newNodes.length; i++) { - if (typeof newNodes[i] !== "number") { - ok(false, "Every dominated id should be a number"); - } - - if (dominatorTree.getImmediateDominator(newNodes[i]) !== top) { - ok(false, "child's parent should be the expected parent"); - } - - var thisSize = dominatorTree.getRetainedSize(newNodes[i]); - - if (thisSize >= topSize) { - ok(false, "the size of children in the dominator tree should always be less than that of their parent"); - } - - if (thisSize > lastSize) { - ok(false, - "children should be sorted by greatest to least retained size, " - + "lastSize = " + lastSize + ", thisSize = " + thisSize); - } - - lastSize = thisSize; - stack.push(newNodes[i]); - } - } - - ok(true, "Successfully walked the tree"); - dumpn("Walked " + seen.size + " nodes"); - - do_test_finished(); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTree_06.js b/devtools/shared/heapsnapshot/tests/unit/test_DominatorTree_06.js deleted file mode 100644 index 680478623..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_DominatorTree_06.js +++ /dev/null @@ -1,56 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that the retained size of a node is the sum of its children retained -// sizes plus its shallow size. - -// Note that we don't assert directly, only if we get an unexpected -// value. There are just way too many nodes in the heap graph to assert for -// every one. This test would constantly time out and assertion messages would -// overflow the log size. -function fastAssert(cond, msg) { - if (!cond) { - ok(false, msg); - } -} - -var COUNT = { by: "count", count: false, bytes: true }; - -function run_test() { - var path = saveNewHeapSnapshot(); - var snapshot = ChromeUtils.readHeapSnapshot(path); - var dominatorTree = snapshot.computeDominatorTree(); - - // Do a traversal of the dominator tree and assert the relationship between - // retained size, shallow size, and children's retained sizes. - - var root = dominatorTree.root; - var stack = [root]; - while (stack.length > 0) { - var top = stack.pop(); - - var children = dominatorTree.getImmediatelyDominated(top); - - var topRetainedSize = dominatorTree.getRetainedSize(top); - var topShallowSize = snapshot.describeNode(COUNT, top).bytes; - fastAssert(topShallowSize <= topRetainedSize, - "The shallow size should be less than or equal to the " + - "retained size"); - - var sumOfChildrensRetainedSizes = 0; - for (var i = 0; i < children.length; i++) { - sumOfChildrensRetainedSizes += dominatorTree.getRetainedSize(children[i]); - stack.push(children[i]); - } - - fastAssert(sumOfChildrensRetainedSizes <= topRetainedSize, - "The sum of the children's retained sizes should be less than " + - "or equal to the retained size"); - fastAssert(sumOfChildrensRetainedSizes + topShallowSize === topRetainedSize, - "The sum of the children's retained sizes plus the shallow " + - "size should be equal to the retained size"); - } - - ok(true, "Successfully walked the tree"); - do_test_finished(); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_computeDominatorTree_01.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_computeDominatorTree_01.js deleted file mode 100644 index 0114e0b69..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_computeDominatorTree_01.js +++ /dev/null @@ -1,22 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test the HeapAnalyses{Client,Worker} "computeDominatorTree" request. - -function run_test() { - run_next_test(); -} - -add_task(function* () { - const client = new HeapAnalysesClient(); - - const snapshotFilePath = saveNewHeapSnapshot(); - yield client.readHeapSnapshot(snapshotFilePath); - ok(true, "Should have read the heap snapshot"); - - const dominatorTreeId = yield client.computeDominatorTree(snapshotFilePath); - equal(typeof dominatorTreeId, "number", - "should get a dominator tree id, and it should be a number"); - - client.destroy(); -}); diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_computeDominatorTree_02.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_computeDominatorTree_02.js deleted file mode 100644 index 6e3f5b257..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_computeDominatorTree_02.js +++ /dev/null @@ -1,23 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test the HeapAnalyses{Client,Worker} "computeDominatorTree" request with bad -// file paths. - -function run_test() { - run_next_test(); -} - -add_task(function* () { - const client = new HeapAnalysesClient(); - - let threw = false; - try { - yield client.computeDominatorTree("/etc/passwd"); - } catch (_) { - threw = true; - } - ok(threw, "should throw when given a bad path"); - - client.destroy(); -}); diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_deleteHeapSnapshot_01.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_deleteHeapSnapshot_01.js deleted file mode 100644 index 7708de93c..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_deleteHeapSnapshot_01.js +++ /dev/null @@ -1,59 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that the HeapAnalyses{Client,Worker} can delete heap snapshots. - -function run_test() { - run_next_test(); -} - -const breakdown = { - by: "coarseType", - objects: { by: "count", count: true, bytes: true }, - scripts: { by: "count", count: true, bytes: true }, - strings: { by: "count", count: true, bytes: true }, - other: { by: "count", count: true, bytes: true }, -}; - -add_task(function* () { - const client = new HeapAnalysesClient(); - - const snapshotFilePath = saveNewHeapSnapshot(); - yield client.readHeapSnapshot(snapshotFilePath); - ok(true, "Should have read the heap snapshot"); - - let dominatorTreeId = yield client.computeDominatorTree(snapshotFilePath); - ok(true, "Should have computed the dominator tree"); - - yield client.deleteHeapSnapshot(snapshotFilePath); - ok(true, "Should have deleted the snapshot"); - - let threw = false; - try { - yield client.getDominatorTree({ - dominatorTreeId: dominatorTreeId, - breakdown - }); - } catch (_) { - threw = true; - } - ok(threw, "getDominatorTree on deleted tree should throw an error"); - - threw = false; - try { - yield client.computeDominatorTree(snapshotFilePath); - } catch (_) { - threw = true; - } - ok(threw, "computeDominatorTree on deleted snapshot should throw an error"); - - threw = false; - try { - yield client.takeCensus(snapshotFilePath); - } catch (_) { - threw = true; - } - ok(threw, "takeCensus on deleted tree should throw an error"); - - client.destroy(); -}); diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_deleteHeapSnapshot_02.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_deleteHeapSnapshot_02.js deleted file mode 100644 index 3e25ddac4..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_deleteHeapSnapshot_02.js +++ /dev/null @@ -1,22 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test deleteHeapSnapshot is a noop if the provided path matches no snapshot - -function run_test() { - run_next_test(); -} - -add_task(function* () { - const client = new HeapAnalysesClient(); - - let threw = false; - try { - yield client.deleteHeapSnapshot("path-does-not-exist"); - } catch (_) { - threw = true; - } - ok(threw, "deleteHeapSnapshot on non-existant path should throw an error"); - - client.destroy(); -}); diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_deleteHeapSnapshot_03.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_deleteHeapSnapshot_03.js deleted file mode 100644 index e648c9407..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_deleteHeapSnapshot_03.js +++ /dev/null @@ -1,62 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test other dominatorTrees can still be retrieved after deleting a snapshot - -function run_test() { - run_next_test(); -} - -const breakdown = { - by: "coarseType", - objects: { by: "count", count: true, bytes: true }, - scripts: { by: "count", count: true, bytes: true }, - strings: { by: "count", count: true, bytes: true }, - other: { by: "count", count: true, bytes: true }, -}; - -function* createSnapshotAndDominatorTree(client) { - let snapshotFilePath = saveNewHeapSnapshot(); - yield client.readHeapSnapshot(snapshotFilePath); - let dominatorTreeId = yield client.computeDominatorTree(snapshotFilePath); - return { dominatorTreeId, snapshotFilePath }; -} - -add_task(function* () { - const client = new HeapAnalysesClient(); - - let savedSnapshots = [ - yield createSnapshotAndDominatorTree(client), - yield createSnapshotAndDominatorTree(client), - yield createSnapshotAndDominatorTree(client) - ]; - ok(true, "Create 3 snapshots and dominator trees"); - - yield client.deleteHeapSnapshot(savedSnapshots[1].snapshotFilePath); - ok(true, "Snapshot deleted"); - - let tree = yield client.getDominatorTree({ - dominatorTreeId: savedSnapshots[0].dominatorTreeId, - breakdown - }); - ok(tree, "Should get a valid tree for first snapshot"); - - let threw = false; - try { - yield client.getDominatorTree({ - dominatorTreeId: savedSnapshots[1].dominatorTreeId, - breakdown - }); - } catch (_) { - threw = true; - } - ok(threw, "getDominatorTree on a deleted snapshot should throw an error"); - - tree = yield client.getDominatorTree({ - dominatorTreeId: savedSnapshots[2].dominatorTreeId, - breakdown - }); - ok(tree, "Should get a valid tree for third snapshot"); - - client.destroy(); -}); diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_getCensusIndividuals_01.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_getCensusIndividuals_01.js deleted file mode 100644 index b63ad4230..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_getCensusIndividuals_01.js +++ /dev/null @@ -1,89 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that the HeapAnalyses{Client,Worker} can get census individuals. - -function run_test() { - run_next_test(); -} - -const COUNT = { by: "count", count: true, bytes: true }; - -const CENSUS_BREAKDOWN = { - by: "coarseType", - objects: COUNT, - strings: COUNT, - scripts: COUNT, - other: COUNT, -}; - -const LABEL_BREAKDOWN = { - by: "internalType", - then: COUNT, -}; - -const MAX_INDIVIDUALS = 10; - -add_task(function* () { - const client = new HeapAnalysesClient(); - - const snapshotFilePath = saveNewHeapSnapshot(); - yield client.readHeapSnapshot(snapshotFilePath); - ok(true, "Should have read the heap snapshot"); - - const dominatorTreeId = yield client.computeDominatorTree(snapshotFilePath); - ok(true, "Should have computed dominator tree"); - - const { report } = yield client.takeCensus(snapshotFilePath, - { breakdown: CENSUS_BREAKDOWN }, - { asTreeNode: true }); - ok(report, "Should get a report"); - - let nodesWithLeafIndicesFound = 0; - - yield* (function* assertCanGetIndividuals(censusNode) { - if (censusNode.reportLeafIndex !== undefined) { - nodesWithLeafIndicesFound++; - - const response = yield client.getCensusIndividuals({ - dominatorTreeId, - indices: DevToolsUtils.isSet(censusNode.reportLeafIndex) - ? censusNode.reportLeafIndex - : new Set([censusNode.reportLeafIndex]), - censusBreakdown: CENSUS_BREAKDOWN, - labelBreakdown: LABEL_BREAKDOWN, - maxRetainingPaths: 1, - maxIndividuals: MAX_INDIVIDUALS, - }); - - dumpn(`response = ${JSON.stringify(response, null, 4)}`); - - equal(response.nodes.length, Math.min(MAX_INDIVIDUALS, censusNode.count), - "response.nodes.length === Math.min(MAX_INDIVIDUALS, censusNode.count)"); - - let lastRetainedSize = Infinity; - for (let individual of response.nodes) { - equal(typeof individual.nodeId, "number", - "individual.nodeId should be a number"); - ok(individual.retainedSize <= lastRetainedSize, - "individual.retainedSize <= lastRetainedSize"); - lastRetainedSize = individual.retainedSize; - ok(individual.shallowSize, "individual.shallowSize should exist and be non-zero"); - ok(individual.shortestPaths, "individual.shortestPaths should exist"); - ok(individual.shortestPaths.nodes, "individual.shortestPaths.nodes should exist"); - ok(individual.shortestPaths.edges, "individual.shortestPaths.edges should exist"); - ok(individual.label, "individual.label should exist"); - } - } - - if (censusNode.children) { - for (let child of censusNode.children) { - yield* assertCanGetIndividuals(child); - } - } - }(report)); - - equal(nodesWithLeafIndicesFound, 4, "Should have found a leaf for each coarse type"); - - client.destroy(); -}); diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_getCreationTime_01.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_getCreationTime_01.js deleted file mode 100644 index 5df79de7a..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_getCreationTime_01.js +++ /dev/null @@ -1,58 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that the HeapAnalyses{Client,Worker} can get a HeapSnapshot's -// creation time. - -function waitForThirtyMilliseconds() { - const start = Date.now(); - while (Date.now() - start < 30) ; -} - -function run_test() { - run_next_test(); -} - -const BREAKDOWN = { - by: "internalType", - then: { by: "count", count: true, bytes: true } -}; - -add_task(function* () { - const client = new HeapAnalysesClient(); - const start = Date.now() * 1000; - - // Because Date.now() is less precise than the snapshot's time stamp, give it - // a little bit of head room. Additionally, WinXP's timers have a granularity - // of only +/-15 ms. - waitForThirtyMilliseconds(); - const snapshotFilePath = saveNewHeapSnapshot(); - waitForThirtyMilliseconds(); - const end = Date.now() * 1000; - - yield client.readHeapSnapshot(snapshotFilePath); - ok(true, "Should have read the heap snapshot"); - - let threw = false; - try { - yield client.getCreationTime("/not/a/real/path", { - breakdown: BREAKDOWN - }); - } catch (_) { - threw = true; - } - ok(threw, "getCreationTime should throw when snapshot does not exist"); - - let time = yield client.getCreationTime(snapshotFilePath, { - breakdown: BREAKDOWN - }); - - dumpn("Start = " + start); - dumpn("End = " + end); - dumpn("Time = " + time); - - ok(time >= start, "creation time occurred after start"); - ok(time <= end, "creation time occurred before end"); - - client.destroy(); -}); diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_getDominatorTree_01.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_getDominatorTree_01.js deleted file mode 100644 index cedea5375..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_getDominatorTree_01.js +++ /dev/null @@ -1,69 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test the HeapAnalyses{Client,Worker} "getDominatorTree" request. - -function run_test() { - run_next_test(); -} - -const breakdown = { - by: "coarseType", - objects: { by: "count", count: true, bytes: true }, - scripts: { by: "count", count: true, bytes: true }, - strings: { by: "count", count: true, bytes: true }, - other: { by: "count", count: true, bytes: true }, -}; - -add_task(function* () { - const client = new HeapAnalysesClient(); - - const snapshotFilePath = saveNewHeapSnapshot(); - yield client.readHeapSnapshot(snapshotFilePath); - ok(true, "Should have read the heap snapshot"); - - const dominatorTreeId = yield client.computeDominatorTree(snapshotFilePath); - equal(typeof dominatorTreeId, "number", - "should get a dominator tree id, and it should be a number"); - - const partialTree = yield client.getDominatorTree({ - dominatorTreeId, - breakdown - }); - ok(partialTree, "Should get a partial tree"); - equal(typeof partialTree, "object", - "partialTree should be an object"); - - function checkTree(node) { - equal(typeof node.nodeId, "number", "each node should have an id"); - - if (node === partialTree) { - equal(node.parentId, undefined, "the root has no parent"); - } else { - equal(typeof node.parentId, "number", "each node should have a parent id"); - } - - equal(typeof node.retainedSize, "number", - "each node should have a retained size"); - - ok(node.children === undefined || Array.isArray(node.children), - "each node either has a list of children, or undefined meaning no children loaded"); - equal(typeof node.moreChildrenAvailable, "boolean", - "each node should indicate if there are more children available or not"); - - equal(typeof node.shortestPaths, "object", - "Should have shortest paths"); - equal(typeof node.shortestPaths.nodes, "object", - "Should have shortest paths' nodes"); - equal(typeof node.shortestPaths.edges, "object", - "Should have shortest paths' edges"); - - if (node.children) { - node.children.forEach(checkTree); - } - } - - checkTree(partialTree); - - client.destroy(); -}); diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_getDominatorTree_02.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_getDominatorTree_02.js deleted file mode 100644 index fd29beece..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_getDominatorTree_02.js +++ /dev/null @@ -1,31 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test the HeapAnalyses{Client,Worker} "getDominatorTree" request with bad -// dominator tree ids. - -function run_test() { - run_next_test(); -} - -const breakdown = { - by: "coarseType", - objects: { by: "count", count: true, bytes: true }, - scripts: { by: "count", count: true, bytes: true }, - strings: { by: "count", count: true, bytes: true }, - other: { by: "count", count: true, bytes: true }, -}; - -add_task(function* () { - const client = new HeapAnalysesClient(); - - let threw = false; - try { - yield client.getDominatorTree({ dominatorTreeId: 42, breakdown }); - } catch (_) { - threw = true; - } - ok(threw, "should throw when given a bad id"); - - client.destroy(); -}); diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_getImmediatelyDominated_01.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_getImmediatelyDominated_01.js deleted file mode 100644 index caf1c2056..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_getImmediatelyDominated_01.js +++ /dev/null @@ -1,81 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test the HeapAnalyses{Client,Worker} "getImmediatelyDominated" request. - -function run_test() { - run_next_test(); -} - -const breakdown = { - by: "coarseType", - objects: { by: "count", count: true, bytes: true }, - scripts: { by: "count", count: true, bytes: true }, - strings: { by: "count", count: true, bytes: true }, - other: { by: "count", count: true, bytes: true }, -}; - -add_task(function* () { - const client = new HeapAnalysesClient(); - - const snapshotFilePath = saveNewHeapSnapshot(); - yield client.readHeapSnapshot(snapshotFilePath); - const dominatorTreeId = yield client.computeDominatorTree(snapshotFilePath); - - const partialTree = yield client.getDominatorTree({ - dominatorTreeId, - breakdown - }); - ok(partialTree.children.length > 0, - "root should immediately dominate some nodes"); - - // First, test getting a subset of children available. - const response = yield client.getImmediatelyDominated({ - dominatorTreeId, - breakdown, - nodeId: partialTree.nodeId, - startIndex: 0, - maxCount: partialTree.children.length - 1 - }); - - ok(Array.isArray(response.nodes)); - ok(response.nodes.every(node => node.parentId === partialTree.nodeId)); - ok(response.moreChildrenAvailable); - equal(response.path.length, 1); - equal(response.path[0], partialTree.nodeId); - - for (let node of response.nodes) { - equal(typeof node.shortestPaths, "object", - "Should have shortest paths"); - equal(typeof node.shortestPaths.nodes, "object", - "Should have shortest paths' nodes"); - equal(typeof node.shortestPaths.edges, "object", - "Should have shortest paths' edges"); - } - - // Next, test getting a subset of children available. - const secondResponse = yield client.getImmediatelyDominated({ - dominatorTreeId, - breakdown, - nodeId: partialTree.nodeId, - startIndex: 0, - maxCount: Infinity - }); - - ok(Array.isArray(secondResponse.nodes)); - ok(secondResponse.nodes.every(node => node.parentId === partialTree.nodeId)); - ok(!secondResponse.moreChildrenAvailable); - equal(secondResponse.path.length, 1); - equal(secondResponse.path[0], partialTree.nodeId); - - for (let node of secondResponse.nodes) { - equal(typeof node.shortestPaths, "object", - "Should have shortest paths"); - equal(typeof node.shortestPaths.nodes, "object", - "Should have shortest paths' nodes"); - equal(typeof node.shortestPaths.edges, "object", - "Should have shortest paths' edges"); - } - - client.destroy(); -}); diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_readHeapSnapshot_01.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_readHeapSnapshot_01.js deleted file mode 100644 index 0d0d58bef..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_readHeapSnapshot_01.js +++ /dev/null @@ -1,18 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that the HeapAnalyses{Client,Worker} can read heap snapshots. - -function run_test() { - run_next_test(); -} - -add_task(function* () { - const client = new HeapAnalysesClient(); - - const snapshotFilePath = saveNewHeapSnapshot(); - yield client.readHeapSnapshot(snapshotFilePath); - ok(true, "Should have read the heap snapshot"); - - client.destroy(); -}); diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensusDiff_01.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensusDiff_01.js deleted file mode 100644 index 6f22cbad3..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensusDiff_01.js +++ /dev/null @@ -1,54 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that the HeapAnalyses{Client,Worker} can take diffs between censuses. - -function run_test() { - run_next_test(); -} - -const BREAKDOWN = { - by: "objectClass", - then: { by: "count", count: true, bytes: false }, - other: { by: "count", count: true, bytes: false }, -}; - -add_task(function* () { - const client = new HeapAnalysesClient(); - - const markers = [allocationMarker()]; - - const firstSnapshotFilePath = saveNewHeapSnapshot(); - - // Allocate and hold an additional AllocationMarker object so we can see it in - // the next heap snapshot. - markers.push(allocationMarker()); - - const secondSnapshotFilePath = saveNewHeapSnapshot(); - - yield client.readHeapSnapshot(firstSnapshotFilePath); - yield client.readHeapSnapshot(secondSnapshotFilePath); - ok(true, "Should have read both heap snapshot files"); - - const { delta } = yield client.takeCensusDiff(firstSnapshotFilePath, - secondSnapshotFilePath, - { breakdown: BREAKDOWN }); - - equal(delta.AllocationMarker.count, 1, - "There exists one new AllocationMarker in the second heap snapshot"); - - const { delta: deltaTreeNode } = yield client.takeCensusDiff(firstSnapshotFilePath, - secondSnapshotFilePath, - { breakdown: BREAKDOWN }, - { asTreeNode: true }); - - // Have to manually set these because symbol properties aren't structured - // cloned. - delta[CensusUtils.basisTotalBytes] = deltaTreeNode.totalBytes; - delta[CensusUtils.basisTotalCount] = deltaTreeNode.totalCount; - - compareCensusViewData(BREAKDOWN, delta, deltaTreeNode, - "Returning delta-census as a tree node represents same data as the report"); - - client.destroy(); -}); diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensusDiff_02.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensusDiff_02.js deleted file mode 100644 index f1ba9ce84..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensusDiff_02.js +++ /dev/null @@ -1,59 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that the HeapAnalyses{Client,Worker} can take diffs between censuses as -// inverted trees. - -function run_test() { - run_next_test(); -} - -const BREAKDOWN = { - by: "coarseType", - objects: { - by: "objectClass", - then: { by: "count", count: true, bytes: true }, - other: { by: "count", count: true, bytes: true }, - }, - scripts: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, - strings: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, - other: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, -}; - -add_task(function* () { - const firstSnapshotFilePath = saveNewHeapSnapshot(); - const secondSnapshotFilePath = saveNewHeapSnapshot(); - - const client = new HeapAnalysesClient(); - yield client.readHeapSnapshot(firstSnapshotFilePath); - yield client.readHeapSnapshot(secondSnapshotFilePath); - - ok(true, "Should have read both heap snapshot files"); - - const { delta } = yield client.takeCensusDiff(firstSnapshotFilePath, - secondSnapshotFilePath, - { breakdown: BREAKDOWN }); - - const { delta: deltaTreeNode } = yield client.takeCensusDiff(firstSnapshotFilePath, - secondSnapshotFilePath, - { breakdown: BREAKDOWN }, - { asInvertedTreeNode: true }); - - // Have to manually set these because symbol properties aren't structured - // cloned. - delta[CensusUtils.basisTotalBytes] = deltaTreeNode.totalBytes; - delta[CensusUtils.basisTotalCount] = deltaTreeNode.totalCount; - - compareCensusViewData(BREAKDOWN, delta, deltaTreeNode, { invert: true }); - - client.destroy(); -}); diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_01.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_01.js deleted file mode 100644 index e26981db4..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_01.js +++ /dev/null @@ -1,27 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that the HeapAnalyses{Client,Worker} can take censuses. - -function run_test() { - run_next_test(); -} - -add_task(function* () { - const client = new HeapAnalysesClient(); - - const snapshotFilePath = saveNewHeapSnapshot(); - yield client.readHeapSnapshot(snapshotFilePath); - ok(true, "Should have read the heap snapshot"); - - const { report } = yield client.takeCensus(snapshotFilePath); - ok(report, "Should get a report"); - equal(typeof report, "object", "report should be an object"); - - ok(report.objects); - ok(report.scripts); - ok(report.strings); - ok(report.other); - - client.destroy(); -}); diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_02.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_02.js deleted file mode 100644 index 34494af70..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_02.js +++ /dev/null @@ -1,29 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that the HeapAnalyses{Client,Worker} can take censuses with breakdown -// options. - -function run_test() { - run_next_test(); -} - -add_task(function* () { - const client = new HeapAnalysesClient(); - - const snapshotFilePath = saveNewHeapSnapshot(); - yield client.readHeapSnapshot(snapshotFilePath); - ok(true, "Should have read the heap snapshot"); - - const { report } = yield client.takeCensus(snapshotFilePath, { - breakdown: { by: "count", count: true, bytes: true } - }); - - ok(report, "Should get a report"); - equal(typeof report, "object", "report should be an object"); - - ok(report.count); - ok(report.bytes); - - client.destroy(); -}); diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_03.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_03.js deleted file mode 100644 index 486e250b5..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_03.js +++ /dev/null @@ -1,48 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that the HeapAnalyses{Client,Worker} bubbles errors properly when things -// go wrong. - -function run_test() { - run_next_test(); -} - -add_task(function* () { - const client = new HeapAnalysesClient(); - - // Snapshot file path to a file that doesn't exist. - let failed = false; - try { - yield client.readHeapSnapshot(getFilePath("foo-bar-baz" + Math.random(), true)); - } catch (e) { - failed = true; - } - ok(failed, "should not read heap snapshots that do not exist"); - - // Snapshot file path to a file that is not a heap snapshot. - failed = false; - try { - yield client.readHeapSnapshot(getFilePath("test_HeapAnalyses_takeCensus_03.js")); - } catch (e) { - failed = true; - } - ok(failed, "should not be able to read a file that is not a heap snapshot as a heap snapshot"); - - const snapshotFilePath = saveNewHeapSnapshot(); - yield client.readHeapSnapshot(snapshotFilePath); - ok(true, "Should have read the heap snapshot"); - - // Bad census breakdown options. - failed = false; - try { - yield client.takeCensus(snapshotFilePath, { - breakdown: { by: "some classification that we do not have" } - }); - } catch (e) { - failed = true; - } - ok(failed, "should not be able to breakdown by an unknown classification"); - - client.destroy(); -}); diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_04.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_04.js deleted file mode 100644 index 769a2d99d..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_04.js +++ /dev/null @@ -1,118 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that the HeapAnalyses{Client,Worker} can send SavedFrame stacks from -// by-allocation-stack reports from the worker. - -function run_test() { - run_next_test(); -} - -add_task(function* test() { - const client = new HeapAnalysesClient(); - - // Track some allocation stacks. - - const g = newGlobal(); - const dbg = new Debugger(g); - g.eval(` // 1 - this.log = []; // 2 - function f() { this.log.push(allocationMarker()); } // 3 - function g() { this.log.push(allocationMarker()); } // 4 - function h() { this.log.push(allocationMarker()); } // 5 - `); // 6 - - // Create one allocationMarker with tracking turned off, - // so it will have no associated stack. - g.f(); - - dbg.memory.allocationSamplingProbability = 1; - - for (let [func, n] of [ [g.f, 20], - [g.g, 10], - [g.h, 5] ]) { - for (let i = 0; i < n; i++) { - dbg.memory.trackingAllocationSites = true; - // All allocations of allocationMarker occur with this line as the oldest - // stack frame. - func(); - dbg.memory.trackingAllocationSites = false; - } - } - - // Take a heap snapshot. - - const snapshotFilePath = saveNewHeapSnapshot({ debugger: dbg }); - yield client.readHeapSnapshot(snapshotFilePath); - ok(true, "Should have read the heap snapshot"); - - // Run a census broken down by class name -> allocation stack so we can grab - // only the AllocationMarker objects we have complete control over. - - const { report } = yield client.takeCensus(snapshotFilePath, { - breakdown: { by: "objectClass", - then: { by: "allocationStack", - then: { by: "count", - bytes: true, - count: true - }, - noStack: { by: "count", - bytes: true, - count: true - } - } - } - }); - - // Test the generated report. - - ok(report, "Should get a report"); - - const map = report.AllocationMarker; - ok(map, "Should get AllocationMarkers in the report."); - // From a module with a different global, and therefore a different Map - // constructor, so we can't use instanceof. - equal(map.__proto__.constructor.name, "Map"); - - equal(map.size, 4, "Should have 4 allocation stacks (including the lack of a stack)"); - - // Gather the stacks we are expecting to appear as keys, and - // check that there are no unexpected keys. - let stacks = {}; - - map.forEach((v, k) => { - if (k === "noStack") { - // No need to save this key. - } else if (k.functionDisplayName === "f" && - k.parent.functionDisplayName === "test") { - stacks.f = k; - } else if (k.functionDisplayName === "g" && - k.parent.functionDisplayName === "test") { - stacks.g = k; - } else if (k.functionDisplayName === "h" && - k.parent.functionDisplayName === "test") { - stacks.h = k; - } else { - dumpn("Unexpected allocation stack:"); - k.toString().split(/\n/g).forEach(s => dumpn(s)); - ok(false); - } - }); - - ok(map.get("noStack")); - equal(map.get("noStack").count, 1); - - ok(stacks.f); - ok(map.get(stacks.f)); - equal(map.get(stacks.f).count, 20); - - ok(stacks.g); - ok(map.get(stacks.g)); - equal(map.get(stacks.g).count, 10); - - ok(stacks.h); - ok(map.get(stacks.h)); - equal(map.get(stacks.h).count, 5); - - client.destroy(); -}); diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_05.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_05.js deleted file mode 100644 index 7e16d9f00..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_05.js +++ /dev/null @@ -1,44 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that the HeapAnalyses{Client,Worker} can take censuses and return -// a CensusTreeNode. - -function run_test() { - run_next_test(); -} - -const BREAKDOWN = { - by: "internalType", - then: { by: "count", count: true, bytes: true } -}; - -add_task(function* () { - const client = new HeapAnalysesClient(); - - const snapshotFilePath = saveNewHeapSnapshot(); - yield client.readHeapSnapshot(snapshotFilePath); - ok(true, "Should have read the heap snapshot"); - - const { report } = yield client.takeCensus(snapshotFilePath, { - breakdown: BREAKDOWN - }); - - const { report: treeNode } = yield client.takeCensus(snapshotFilePath, { - breakdown: BREAKDOWN - }, { - asTreeNode: true - }); - - ok(treeNode.children.length > 0, "treeNode has children"); - ok(treeNode.children.every(type => { - return "name" in type && - "bytes" in type && - "count" in type; - }), "all of tree node's children have name, bytes, count"); - - compareCensusViewData(BREAKDOWN, report, treeNode, - "Returning census as a tree node represents same data as the report"); - - client.destroy(); -}); diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_06.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_06.js deleted file mode 100644 index 7795a9700..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_06.js +++ /dev/null @@ -1,109 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that the HeapAnalyses{Client,Worker} can take censuses by -// "allocationStack" and return a CensusTreeNode. - -function run_test() { - run_next_test(); -} - -const BREAKDOWN = { - by: "objectClass", - then: { - by: "allocationStack", - then: { by: "count", count: true, bytes: true }, - noStack: { by: "count", count: true, bytes: true } - }, - other: { by: "count", count: true, bytes: true } -}; - -add_task(function* () { - const g = newGlobal(); - const dbg = new Debugger(g); - - // 5 allocation markers with no stack. - g.eval(` - this.markers = []; - for (var i = 0; i < 5; i++) { - markers.push(allocationMarker()); - } - `); - - dbg.memory.allocationSamplingProbability = 1; - dbg.memory.trackingAllocationSites = true; - - // 5 allocation markers at 5 stacks. - g.eval(` - (function shouldHaveCountOfOne() { - markers.push(allocationMarker()); - markers.push(allocationMarker()); - markers.push(allocationMarker()); - markers.push(allocationMarker()); - markers.push(allocationMarker()); - }()); - `); - - // 5 allocation markers at 1 stack. - g.eval(` - (function shouldHaveCountOfFive() { - for (var i = 0; i < 5; i++) { - markers.push(allocationMarker()); - } - }()); - `); - - const snapshotFilePath = saveNewHeapSnapshot({ debugger: dbg }); - - const client = new HeapAnalysesClient(); - yield client.readHeapSnapshot(snapshotFilePath); - ok(true, "Should have read the heap snapshot"); - - const { report } = yield client.takeCensus(snapshotFilePath, { - breakdown: BREAKDOWN - }); - - const { report: treeNode } = yield client.takeCensus(snapshotFilePath, { - breakdown: BREAKDOWN - }, { - asTreeNode: true - }); - - const markers = treeNode.children.find(c => c.name === "AllocationMarker"); - ok(markers); - - const noStack = markers.children.find(c => c.name === "noStack"); - equal(noStack.count, 5); - - let numShouldHaveFiveFound = 0; - let numShouldHaveOneFound = 0; - - function walk(node) { - if (node.children) { - node.children.forEach(walk); - } - - if (!isSavedFrame(node.name)) { - return; - } - - if (node.name.functionDisplayName === "shouldHaveCountOfFive") { - equal(node.count, 5, "shouldHaveCountOfFive should have count of five"); - numShouldHaveFiveFound++; - } - - if (node.name.functionDisplayName === "shouldHaveCountOfOne") { - equal(node.count, 1, "shouldHaveCountOfOne should have count of one"); - numShouldHaveOneFound++; - } - } - markers.children.forEach(walk); - - equal(numShouldHaveFiveFound, 1); - equal(numShouldHaveOneFound, 5); - - compareCensusViewData(BREAKDOWN, report, treeNode, - "Returning census as a tree node represents same data as the report"); - - client.destroy(); -}); diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_07.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_07.js deleted file mode 100644 index 986b3aaa8..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapAnalyses_takeCensus_07.js +++ /dev/null @@ -1,52 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that the HeapAnalyses{Client,Worker} can take censuses and return -// an inverted CensusTreeNode. - -function run_test() { - run_next_test(); -} - -const BREAKDOWN = { - by: "coarseType", - objects: { - by: "objectClass", - then: { by: "count", count: true, bytes: true }, - other: { by: "count", count: true, bytes: true }, - }, - scripts: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, - strings: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, - other: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, -}; - -add_task(function* () { - const client = new HeapAnalysesClient(); - - const snapshotFilePath = saveNewHeapSnapshot(); - yield client.readHeapSnapshot(snapshotFilePath); - ok(true, "Should have read the heap snapshot"); - - const { report } = yield client.takeCensus(snapshotFilePath, { - breakdown: BREAKDOWN - }); - - const { report: treeNode } = yield client.takeCensus(snapshotFilePath, { - breakdown: BREAKDOWN - }, { - asInvertedTreeNode: true - }); - - compareCensusViewData(BREAKDOWN, report, treeNode, { invert: true }); - - client.destroy(); -}); diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_computeShortestPaths_01.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_computeShortestPaths_01.js deleted file mode 100644 index 2ec577bd0..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_computeShortestPaths_01.js +++ /dev/null @@ -1,69 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Sanity test that we can compute shortest paths. -// -// Because the actual heap graph is too unpredictable and likely to drastically -// change as various implementation bits change, we don't test exact paths -// here. See js/src/jsapi-tests/testUbiNode.cpp for such tests, where we can -// control the specific graph shape and structure and so testing exact paths is -// reliable. - -function run_test() { - const path = ChromeUtils.saveHeapSnapshot({ runtime: true }); - const snapshot = ChromeUtils.readHeapSnapshot(path); - - const dominatorTree = snapshot.computeDominatorTree(); - const dominatedByRoot = dominatorTree.getImmediatelyDominated(dominatorTree.root) - .slice(0, 10); - ok(dominatedByRoot); - ok(dominatedByRoot.length); - - const targetSet = new Set(dominatedByRoot); - - const shortestPaths = snapshot.computeShortestPaths(dominatorTree.root, dominatedByRoot, 2); - ok(shortestPaths); - ok(shortestPaths instanceof Map); - ok(shortestPaths.size === targetSet.size); - - for (let [target, paths] of shortestPaths) { - ok(targetSet.has(target), - "We should only get paths for our targets"); - targetSet.delete(target); - - ok(paths.length > 0, - "We must have at least one path, since the target is dominated by the root"); - ok(paths.length <= 2, - "Should not have recorded more paths than the max requested"); - - dumpn("---------------------"); - dumpn("Shortest paths for 0x" + target.toString(16) + ":"); - for (let path of paths) { - dumpn(" path ="); - for (let part of path) { - dumpn(" predecessor: 0x" + part.predecessor.toString(16) + - "; edge: " + part.edge); - } - } - dumpn("---------------------"); - - for (let path of paths) { - ok(path.length > 0, "Cannot have zero length paths"); - ok(path[0].predecessor === dominatorTree.root, - "The first predecessor is always our start node"); - - for (let part of path) { - ok(part.predecessor, "Each part of a path has a predecessor"); - ok(!!snapshot.describeNode({ by: "count", count: true, bytes: true}, - part.predecessor), - "The predecessor is in the heap snapshot"); - ok("edge" in part, "Each part has an (potentially null) edge property"); - } - } - } - - ok(targetSet.size === 0, - "We found paths for all of our targets"); - - do_test_finished(); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_computeShortestPaths_02.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_computeShortestPaths_02.js deleted file mode 100644 index 04fe58733..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_computeShortestPaths_02.js +++ /dev/null @@ -1,47 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test computing shortest paths with invalid arguments. - -function run_test() { - const path = ChromeUtils.saveHeapSnapshot({ runtime: true }); - const snapshot = ChromeUtils.readHeapSnapshot(path); - - const dominatorTree = snapshot.computeDominatorTree(); - const target = dominatorTree.getImmediatelyDominated(dominatorTree.root).pop(); - ok(target); - - let threw = false; - try { - snapshot.computeShortestPaths(0, [target], 2); - } catch (_) { - threw = true; - } - ok(threw, "invalid start node should throw"); - - threw = false; - try { - snapshot.computeShortestPaths(dominatorTree.root, [0], 2); - } catch (_) { - threw = true; - } - ok(threw, "invalid target nodes should throw"); - - threw = false; - try { - snapshot.computeShortestPaths(dominatorTree.root, [], 2); - } catch (_) { - threw = true; - } - ok(threw, "empty target nodes should throw"); - - threw = false; - try { - snapshot.computeShortestPaths(dominatorTree.root, [target], 0); - } catch (_) { - threw = true; - } - ok(threw, "0 max paths should throw"); - - do_test_finished(); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_creationTime_01.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_creationTime_01.js deleted file mode 100644 index 0d08fea16..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_creationTime_01.js +++ /dev/null @@ -1,30 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// HeapSnapshot.prototype.creationTime returns the expected time. - -function waitForThirtyMilliseconds() { - const start = Date.now(); - while (Date.now() - start < 30) ; -} - -function run_test() { - const start = Date.now() * 1000; - do_print("start = " + start); - - // Because Date.now() is less precise than the snapshot's time stamp, give it - // a little bit of head room. Additionally, WinXP's timer only has granularity - // of +/- 15ms. - waitForThirtyMilliseconds(); - const path = ChromeUtils.saveHeapSnapshot({ runtime: true }); - waitForThirtyMilliseconds(); - - const end = Date.now() * 1000; - do_print("end = " + end); - - const snapshot = ChromeUtils.readHeapSnapshot(path); - do_print("snapshot.creationTime = " + snapshot.creationTime); - - ok(snapshot.creationTime >= start); - ok(snapshot.creationTime <= end); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_deepStack_01.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_deepStack_01.js deleted file mode 100644 index 9eb11d9af..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_deepStack_01.js +++ /dev/null @@ -1,70 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that we can save a core dump with very deep allocation stacks and read -// it back into a HeapSnapshot. - -function stackDepth(stack) { - return stack ? 1 + stackDepth(stack.parent) : 0; -} - -function run_test() { - // Create a Debugger observing a debuggee's allocations. - const debuggee = new Cu.Sandbox(null); - const dbg = new Debugger(debuggee); - dbg.memory.trackingAllocationSites = true; - - // Allocate some objects in the debuggee that will have their allocation - // stacks recorded by the Debugger. - - debuggee.eval("this.objects = []"); - debuggee.eval( - (function recursiveAllocate(n) { - if (n <= 0) - return; - - // Make sure to recurse before pushing the object so that when TCO is - // implemented sometime in the future, it doesn't invalidate this test. - recursiveAllocate(n - 1); - this.objects.push({}); - }).toString() - ); - debuggee.eval("recursiveAllocate = recursiveAllocate.bind(this);"); - debuggee.eval("recursiveAllocate(200);"); - - // Now save a snapshot that will include the allocation stacks and read it - // back again. - - const filePath = ChromeUtils.saveHeapSnapshot({ runtime: true }); - ok(true, "Should be able to save a snapshot."); - - const snapshot = ChromeUtils.readHeapSnapshot(filePath); - ok(snapshot, "Should be able to read a heap snapshot"); - ok(snapshot instanceof HeapSnapshot, "Should be an instanceof HeapSnapshot"); - - const report = snapshot.takeCensus({ - breakdown: { by: "allocationStack", - then: { by: "count", bytes: true, count: true }, - noStack: { by: "count", bytes: true, count: true } - } - }); - - // Keep this synchronized with `HeapSnapshot::MAX_STACK_DEPTH`! - const MAX_STACK_DEPTH = 60; - - let foundStacks = false; - report.forEach((v, k) => { - if (k === "noStack") { - return; - } - - foundStacks = true; - const depth = stackDepth(k); - dumpn("Stack depth is " + depth); - ok(depth <= MAX_STACK_DEPTH, - "Every stack should have depth less than or equal to the maximum stack depth"); - }); - ok(foundStacks); - - do_test_finished(); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_describeNode_01.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_describeNode_01.js deleted file mode 100644 index d79cb5a7b..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_describeNode_01.js +++ /dev/null @@ -1,42 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that we can describe nodes with a breakdown. - -function run_test() { - const path = saveNewHeapSnapshot(); - const snapshot = ChromeUtils.readHeapSnapshot(path); - ok(snapshot.describeNode); - equal(typeof snapshot.describeNode, "function"); - - const dt = snapshot.computeDominatorTree(); - - let threw = false; - try { - snapshot.describeNode(undefined, dt.root); - } catch (_) { - threw = true; - } - ok(threw, "Should require a breakdown"); - - const breakdown = { - by: "coarseType", - objects: { by: "objectClass" }, - scripts: { by: "internalType" }, - strings: { by: "internalType" }, - other: { by: "internalType" } - }; - - threw = false; - try { - snapshot.describeNode(breakdown, 0); - } catch (_) { - threw = true; - } - ok(threw, "Should throw when given an invalid node id"); - - const description = snapshot.describeNode(breakdown, dt.root); - ok(description); - ok(description.other); - ok(description.other["JS::ubi::RootList"]); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_01.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_01.js deleted file mode 100644 index f3b3090b0..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_01.js +++ /dev/null @@ -1,31 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// HeapSnapshot.prototype.takeCensus returns a value of an appropriate -// shape. Ported from js/src/jit-tests/debug/Memory-takeCensus-01.js - -function run_test() { - var dbg = new Debugger; - - function checkProperties(census) { - equal(typeof census, "object"); - for (prop of Object.getOwnPropertyNames(census)) { - var desc = Object.getOwnPropertyDescriptor(census, prop); - equal(desc.enumerable, true); - equal(desc.configurable, true); - equal(desc.writable, true); - if (typeof desc.value === "object") - checkProperties(desc.value); - else - equal(typeof desc.value, "number"); - } - } - - checkProperties(saveHeapSnapshotAndTakeCensus(dbg)); - - var g = newGlobal(); - dbg.addDebuggee(g); - checkProperties(saveHeapSnapshotAndTakeCensus(dbg)); - - do_test_finished(); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_02.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_02.js deleted file mode 100644 index 680ac9b58..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_02.js +++ /dev/null @@ -1,57 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// HeapSnapshot.prototype.takeCensus behaves plausibly as we allocate objects. -// -// Exact object counts vary in ways we can't predict. For example, -// BaselineScripts can hold onto "template objects", which exist only to hold -// the shape and type for newly created objects. When BaselineScripts are -// discarded, these template objects go with them. -// -// So instead of expecting precise counts, we expect counts that are at least as -// many as we would expect given the object graph we've built. -// -// Ported from js/src/jit-tests/debug/Memory-takeCensus-02.js - -function run_test() { - // A Debugger with no debuggees had better not find anything. - var dbg = new Debugger; - var census0 = saveHeapSnapshotAndTakeCensus(dbg); - Census.walkCensus(census0, "census0", Census.assertAllZeros); - - function newGlobalWithDefs() { - var g = newGlobal(); - g.eval(` - function times(n, fn) { - var a=[]; - for (var i = 0; i ({}));"); - g.eval("var rxs = times(200, () => /foo/);"); - g.eval("var ars = times(400, () => []);"); - g.eval("var fns = times(800, () => () => {});"); - - var census1 = dbg.memory.takeCensus(dbg); - Census.walkCensus(census1, "census1", - Census.assertAllNotLessThan( - { "objects": - { "Object": { count: 100 }, - "RegExp": { count: 200 }, - "Array": { count: 400 }, - "Function": { count: 800 } - } - })); - - do_test_finished(); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_03.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_03.js deleted file mode 100644 index 25f2c3791..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_03.js +++ /dev/null @@ -1,34 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// HeapSnapshot.prototype.takeCensus behaves plausibly as we add and remove -// debuggees. -// -// Ported from js/src/jit-test/tests/debug/Memory-takeCensus-03.js - -function run_test() { - var dbg = new Debugger; - - var census0 = saveHeapSnapshotAndTakeCensus(dbg); - Census.walkCensus(census0, "census0", Census.assertAllZeros); - - var g1 = newGlobal(); - dbg.addDebuggee(g1); - var census1 = saveHeapSnapshotAndTakeCensus(dbg); - Census.walkCensus(census1, "census1", Census.assertAllNotLessThan(census0)); - - var g2 = newGlobal(); - dbg.addDebuggee(g2); - var census2 = saveHeapSnapshotAndTakeCensus(dbg); - Census.walkCensus(census2, "census2", Census.assertAllNotLessThan(census1)); - - dbg.removeDebuggee(g2); - var census3 = saveHeapSnapshotAndTakeCensus(dbg); - Census.walkCensus(census3, "census3", Census.assertAllEqual(census1)); - - dbg.removeDebuggee(g1); - var census4 = saveHeapSnapshotAndTakeCensus(dbg); - Census.walkCensus(census4, "census4", Census.assertAllEqual(census0)); - - do_test_finished(); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_04.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_04.js deleted file mode 100644 index 799844cde..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_04.js +++ /dev/null @@ -1,36 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that HeapSnapshot.prototype.takeCensus finds GC roots that are on the -// stack. -// -// Ported from js/src/jit-test/tests/debug/Memory-takeCensus-04.js - -function run_test() { - var g = newGlobal(); - var dbg = new Debugger(g); - - g.eval(` -function withAllocationMarkerOnStack(f) { - (function () { - var onStack = allocationMarker(); - f(); - }()); -} -`); - - equal("AllocationMarker" in saveHeapSnapshotAndTakeCensus(dbg).objects, false, - "There shouldn't exist any allocation markers in the census."); - - var allocationMarkerCount; - g.withAllocationMarkerOnStack(() => { - const census = saveHeapSnapshotAndTakeCensus(dbg); - allocationMarkerCount = census.objects.AllocationMarker.count; - }); - - equal(allocationMarkerCount, 1, - "Should have one allocation marker in the census, because there " + - "was one on the stack."); - - do_test_finished(); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_05.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_05.js deleted file mode 100644 index da6067624..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_05.js +++ /dev/null @@ -1,24 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that HeapSnapshot.prototype.takeCensus finds cross compartment -// wrapper GC roots. -// -// Ported from js/src/jit-test/tests/debug/Memory-takeCensus-05.js - -function run_test() { - var g = newGlobal(); - var dbg = new Debugger(g); - - equal("AllocationMarker" in saveHeapSnapshotAndTakeCensus(dbg).objects, false, - "No allocation markers should exist in the census."); - - this.ccw = g.allocationMarker(); - - const census = saveHeapSnapshotAndTakeCensus(dbg); - equal(census.objects.AllocationMarker.count, 1, - "Should have one allocation marker in the census, because there " + - "is one cross-compartment wrapper referring to it."); - - do_test_finished(); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_06.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_06.js deleted file mode 100644 index 0412410c0..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_06.js +++ /dev/null @@ -1,125 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Check HeapSnapshot.prototype.takeCensus handling of 'breakdown' argument. -// -// Ported from js/src/jit-test/tests/debug/Memory-takeCensus-06.js - -function run_test() { - var Pattern = Match.Pattern; - - var g = newGlobal(); - var dbg = new Debugger(g); - - Pattern({ count: Pattern.NATURAL, - bytes: Pattern.NATURAL }) - .assert(saveHeapSnapshotAndTakeCensus(dbg, { breakdown: { by: "count" } })); - - let census = saveHeapSnapshotAndTakeCensus(dbg, { breakdown: { by: "count", count: false, bytes: false } }); - equal("count" in census, false); - equal("bytes" in census, false); - - census = saveHeapSnapshotAndTakeCensus(dbg, { breakdown: { by: "count", count: true, bytes: false } }); - equal("count" in census, true); - equal("bytes" in census, false); - - census = saveHeapSnapshotAndTakeCensus(dbg, { breakdown: { by: "count", count: false, bytes: true } }); - equal("count" in census, false); - equal("bytes" in census, true); - - census = saveHeapSnapshotAndTakeCensus(dbg, { breakdown: { by: "count", count: true, bytes: true } }); - equal("count" in census, true); - equal("bytes" in census, true); - - - // Pattern doesn't mind objects with extra properties, so we'll restrict this - // list to the object classes we're pretty sure are going to stick around for - // the forseeable future. - Pattern({ - Function: { count: Pattern.NATURAL }, - Object: { count: Pattern.NATURAL }, - Debugger: { count: Pattern.NATURAL }, - Sandbox: { count: Pattern.NATURAL }, - - // The below are all Debugger prototype objects. - Source: { count: Pattern.NATURAL }, - Environment: { count: Pattern.NATURAL }, - Script: { count: Pattern.NATURAL }, - Memory: { count: Pattern.NATURAL }, - Frame: { count: Pattern.NATURAL } - }) - .assert(saveHeapSnapshotAndTakeCensus(dbg, { breakdown: { by: "objectClass" } })); - - Pattern({ - objects: { count: Pattern.NATURAL }, - scripts: { count: Pattern.NATURAL }, - strings: { count: Pattern.NATURAL }, - other: { count: Pattern.NATURAL } - }) - .assert(saveHeapSnapshotAndTakeCensus(dbg, { breakdown: { by: "coarseType" } })); - - // As for { by: 'objectClass' }, restrict our pattern to the types - // we predict will stick around for a long time. - Pattern({ - JSString: { count: Pattern.NATURAL }, - "js::Shape": { count: Pattern.NATURAL }, - JSObject: { count: Pattern.NATURAL }, - JSScript: { count: Pattern.NATURAL } - }) - .assert(saveHeapSnapshotAndTakeCensus(dbg, { breakdown: { by: "internalType" } })); - - - // Nested breakdowns. - - let coarseTypePattern = { - objects: { count: Pattern.NATURAL }, - scripts: { count: Pattern.NATURAL }, - strings: { count: Pattern.NATURAL }, - other: { count: Pattern.NATURAL } - }; - - Pattern({ - JSString: coarseTypePattern, - "js::Shape": coarseTypePattern, - JSObject: coarseTypePattern, - JSScript: coarseTypePattern, - }) - .assert(saveHeapSnapshotAndTakeCensus(dbg, { - breakdown: { by: "internalType", - then: { by: "coarseType" } - } - })); - - Pattern({ - Function: { count: Pattern.NATURAL }, - Object: { count: Pattern.NATURAL }, - Debugger: { count: Pattern.NATURAL }, - Sandbox: { count: Pattern.NATURAL }, - other: coarseTypePattern - }) - .assert(saveHeapSnapshotAndTakeCensus(dbg, { - breakdown: { - by: "objectClass", - then: { by: "count" }, - other: { by: "coarseType" } - } - })); - - Pattern({ - objects: { count: Pattern.NATURAL, label: "object" }, - scripts: { count: Pattern.NATURAL, label: "scripts" }, - strings: { count: Pattern.NATURAL, label: "strings" }, - other: { count: Pattern.NATURAL, label: "other" } - }) - .assert(saveHeapSnapshotAndTakeCensus(dbg, { - breakdown: { - by: "coarseType", - objects: { by: "count", label: "object" }, - scripts: { by: "count", label: "scripts" }, - strings: { by: "count", label: "strings" }, - other: { by: "count", label: "other" } - } - })); - - do_test_finished(); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_07.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_07.js deleted file mode 100644 index f5c36056f..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_07.js +++ /dev/null @@ -1,82 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// HeapSnapshot.prototype.takeCensus breakdown: check error handling on property -// gets. -// -// Ported from js/src/jit-test/tests/debug/Memory-takeCensus-07.js - -function run_test() { - var g = newGlobal(); - var dbg = new Debugger(g); - - assertThrowsValue(() => { - saveHeapSnapshotAndTakeCensus(dbg, { - breakdown: { get by() { throw "ಠ_ಠ"; } } - }); - }, "ಠ_ಠ"); - - - - assertThrowsValue(() => { - saveHeapSnapshotAndTakeCensus(dbg, { - breakdown: { by: "count", get count() { throw "ಠ_ಠ"; } } - }); - }, "ಠ_ಠ"); - - assertThrowsValue(() => { - saveHeapSnapshotAndTakeCensus(dbg, { - breakdown: { by: "count", get bytes() { throw "ಠ_ಠ"; } } - }); - }, "ಠ_ಠ"); - - - - assertThrowsValue(() => { - saveHeapSnapshotAndTakeCensus(dbg, { - breakdown: { by: "objectClass", get then() { throw "ಠ_ಠ"; } } - }); - }, "ಠ_ಠ"); - - assertThrowsValue(() => { - saveHeapSnapshotAndTakeCensus(dbg, { - breakdown: { by: "objectClass", get other() { throw "ಠ_ಠ"; } } - }); - }, "ಠ_ಠ"); - - - - assertThrowsValue(() => { - saveHeapSnapshotAndTakeCensus(dbg, { - breakdown: { by: "coarseType", get objects() { throw "ಠ_ಠ"; } } - }); - }, "ಠ_ಠ"); - - assertThrowsValue(() => { - saveHeapSnapshotAndTakeCensus(dbg, { - breakdown: { by: "coarseType", get scripts() { throw "ಠ_ಠ"; } } - }); - }, "ಠ_ಠ"); - - assertThrowsValue(() => { - saveHeapSnapshotAndTakeCensus(dbg, { - breakdown: { by: "coarseType", get strings() { throw "ಠ_ಠ"; } } - }); - }, "ಠ_ಠ"); - - assertThrowsValue(() => { - saveHeapSnapshotAndTakeCensus(dbg, { - breakdown: { by: "coarseType", get other() { throw "ಠ_ಠ"; } } - }); - }, "ಠ_ಠ"); - - - - assertThrowsValue(() => { - saveHeapSnapshotAndTakeCensus(dbg, { - breakdown: { by: "internalType", get then() { throw "ಠ_ಠ"; } } - }); - }, "ಠ_ಠ"); - - do_test_finished(); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_08.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_08.js deleted file mode 100644 index 5934aa919..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_08.js +++ /dev/null @@ -1,82 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// HeapSnapshot.prototype.takeCensus: test by: 'count' breakdown -// -// Ported from js/src/jit-test/tests/debug/Memory-takeCensus-08.js - -function run_test() { - let g = newGlobal(); - let dbg = new Debugger(g); - - g.eval(` - var stuff = []; - function add(n, c) { - for (let i = 0; i < n; i++) - stuff.push(c()); - } - - let count = 0; - - function obj() { return { count: count++ }; } - obj.factor = 1; - - // This creates a closure (a function JSObject) that has captured - // a Call object. So each call creates two items. - function fun() { let v = count; return () => { return v; } } - fun.factor = 2; - - function str() { return 'perambulator' + count++; } - str.factor = 1; - - // Eval a fresh text each time, allocating: - // - a fresh ScriptSourceObject - // - a new JSScripts, not an eval cache hits - // - a fresh prototype object - // - a fresh Call object, since the eval makes 'ev' heavyweight - // - the new function itself - function ev() { - return eval(\`(function () { return \${ count++ } })\`); - } - ev.factor = 5; - - // A new object (1) with a new shape (2) with a new atom (3) - function shape() { return { [ 'theobroma' + count++ ]: count }; } - shape.factor = 3; - `); - - let baseline = 0; - function countIncreasedByAtLeast(n) { - let oldBaseline = baseline; - - // Since a census counts only reachable objects, one might assume that calling - // GC here would have no effect on the census results. But GC also throws away - // JIT code and any objects it might be holding (template objects, say); - // takeCensus reaches those. Shake everything loose that we can, to make the - // census approximate reachability a bit more closely, and make our results a - // bit more predictable. - gc(g, "shrinking"); - - baseline = saveHeapSnapshotAndTakeCensus(dbg, { breakdown: { by: "count" } }).count; - return baseline >= oldBaseline + n; - } - - countIncreasedByAtLeast(0); - - g.add(100, g.obj); - ok(countIncreasedByAtLeast(g.obj.factor * 100)); - - g.add(100, g.fun); - ok(countIncreasedByAtLeast(g.fun.factor * 100)); - - g.add(100, g.str); - ok(countIncreasedByAtLeast(g.str.factor * 100)); - - g.add(100, g.ev); - ok(countIncreasedByAtLeast(g.ev.factor * 100)); - - g.add(100, g.shape); - ok(countIncreasedByAtLeast(g.shape.factor * 100)); - - do_test_finished(); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_09.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_09.js deleted file mode 100644 index bbacccc8d..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_09.js +++ /dev/null @@ -1,92 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// HeapSnapshot.prototype.takeCensus: by: allocationStack breakdown -// -// Ported from js/src/jit-test/tests/debug/Memory-takeCensus-09.js - -function run_test() { - var g = newGlobal(); - var dbg = new Debugger(g); - - g.eval(` // 1 - var log = []; // 2 - function f() { log.push(allocationMarker()); } // 3 - function g() { f(); } // 4 - function h() { f(); } // 5 - `); // 6 - - // Create one allocationMarker with tracking turned off, - // so it will have no associated stack. - g.f(); - - dbg.memory.allocationSamplingProbability = 1; - - for ([func, n] of [[g.f, 20], [g.g, 10], [g.h, 5]]) { - for (let i = 0; i < n; i++) { - dbg.memory.trackingAllocationSites = true; - // All allocations of allocationMarker occur with this line as the oldest - // stack frame. - func(); - dbg.memory.trackingAllocationSites = false; - } - } - - let census = saveHeapSnapshotAndTakeCensus(dbg, { breakdown: { by: "objectClass", - then: { by: "allocationStack", - then: { by: "count", - label: "haz stack" - }, - noStack: { by: "count", - label: "no haz stack" - } - } - } - }); - - let map = census.AllocationMarker; - ok(map instanceof Map, "Should be a Map instance"); - equal(map.size, 4, "Should have 4 allocation stacks (including the lack of a stack)"); - - // Gather the stacks we are expecting to appear as keys, and - // check that there are no unexpected keys. - let stacks = { }; - - map.forEach((v, k) => { - if (k === "noStack") { - // No need to save this key. - } else if (k.functionDisplayName === "f" && - k.parent.functionDisplayName === "run_test") { - stacks.f = k; - } else if (k.functionDisplayName === "f" && - k.parent.functionDisplayName === "g" && - k.parent.parent.functionDisplayName === "run_test") { - stacks.fg = k; - } else if (k.functionDisplayName === "f" && - k.parent.functionDisplayName === "h" && - k.parent.parent.functionDisplayName === "run_test") { - stacks.fh = k; - } else { - dumpn("Unexpected allocation stack:"); - k.toString().split(/\n/g).forEach(s => dumpn(s)); - ok(false); - } - }); - - equal(map.get("noStack").label, "no haz stack"); - equal(map.get("noStack").count, 1); - - ok(stacks.f); - equal(map.get(stacks.f).label, "haz stack"); - equal(map.get(stacks.f).count, 20); - - ok(stacks.fg); - equal(map.get(stacks.fg).label, "haz stack"); - equal(map.get(stacks.fg).count, 10); - - ok(stacks.fh); - equal(map.get(stacks.fh).label, "haz stack"); - equal(map.get(stacks.fh).count, 5); - - do_test_finished(); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_10.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_10.js deleted file mode 100644 index a7f987f5a..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_10.js +++ /dev/null @@ -1,68 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Check byte counts produced by takeCensus. -// -// Ported from js/src/jit-test/tests/debug/Memory-take Census-10.js - -function run_test() { - let g = newGlobal(); - let dbg = new Debugger(g); - - let sizeOfAM = byteSize(allocationMarker()); - - // Allocate a single allocation marker, and check that we can find it. - g.eval("var hold = allocationMarker();"); - let census = saveHeapSnapshotAndTakeCensus(dbg, { breakdown: { by: "objectClass" } }); - equal(census.AllocationMarker.count, 1); - equal(census.AllocationMarker.bytes, sizeOfAM); - g.hold = null; - - g.eval(` // 1 - var objs = []; // 2 - function fnerd() { // 3 - objs.push(allocationMarker()); // 4 - for (let i = 0; i < 10; i++) // 5 - objs.push(allocationMarker()); // 6 - } // 7 - `); // 8 - - dbg.memory.allocationSamplingProbability = 1; - dbg.memory.trackingAllocationSites = true; - g.fnerd(); - dbg.memory.trackingAllocationSites = false; - - census = saveHeapSnapshotAndTakeCensus(dbg, { - breakdown: { by: "objectClass", - then: { by: "allocationStack" } - } - }); - - let seen = 0; - census.AllocationMarker.forEach((v, k) => { - equal(k.functionDisplayName, "fnerd"); - switch (k.line) { - case 4: - equal(v.count, 1); - equal(v.bytes, sizeOfAM); - seen++; - break; - - case 6: - equal(v.count, 10); - equal(v.bytes, 10 * sizeOfAM); - seen++; - break; - - default: - dumpn("Unexpected stack:"); - k.toString().split(/\n/g).forEach(s => dumpn(s)); - ok(false); - break; - } - }); - - equal(seen, 2); - - do_test_finished(); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_11.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_11.js deleted file mode 100644 index 3d898b2d1..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_11.js +++ /dev/null @@ -1,116 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that Debugger.Memory.prototype.takeCensus and -// HeapSnapshot.prototype.takeCensus return the same data for the same heap -// graph. - -function doLiveAndOfflineCensus(g, dbg, opts) { - dbg.memory.allocationSamplingProbability = 1; - dbg.memory.trackingAllocationSites = true; - g.eval(` // 1 - (function unsafeAtAnySpeed() { // 2 - for (var i = 0; i < 100; i++) { // 3 - this.markers.push(allocationMarker()); // 4 - } // 5 - }()); // 6 - `); // 7 - dbg.memory.trackingAllocationSites = false; - - return { - live: dbg.memory.takeCensus(opts), - offline: saveHeapSnapshotAndTakeCensus(dbg, opts) - }; -} - -function run_test() { - var g = newGlobal(); - var dbg = new Debugger(g); - - g.eval("this.markers = []"); - const markerSize = byteSize(allocationMarker()); - - // First, test that we get the same counts and sizes as we allocate and retain - // more things. - - let prevCount = 0; - let prevBytes = 0; - - for (var i = 0; i < 10; i++) { - const { live, offline } = doLiveAndOfflineCensus(g, dbg, { - breakdown: { by: "objectClass", - then: { by: "count"} } - }); - - equal(live.AllocationMarker.count, offline.AllocationMarker.count); - equal(live.AllocationMarker.bytes, offline.AllocationMarker.bytes); - equal(live.AllocationMarker.count, prevCount + 100); - equal(live.AllocationMarker.bytes, prevBytes + 100 * markerSize); - - prevCount = live.AllocationMarker.count; - prevBytes = live.AllocationMarker.bytes; - } - - // Second, test that the reported allocation stacks and counts and sizes at - // those allocation stacks match up. - - const { live, offline } = doLiveAndOfflineCensus(g, dbg, { - breakdown: { by: "objectClass", - then: { by: "allocationStack"} } - }); - - equal(live.AllocationMarker.size, offline.AllocationMarker.size); - // One stack with the loop further above, and another stack featuring the call - // right above. - equal(live.AllocationMarker.size, 2); - - // Note that because SavedFrame stacks reconstructed from an offline heap - // snapshot don't have the same principals as SavedFrame stacks captured from - // a live stack, the live and offline allocation stacks won't be identity - // equal, but should be structurally the same. - - const liveEntries = []; - live.AllocationMarker.forEach((v, k) => { - dumpn("Allocation stack:"); - k.toString().split(/\n/g).forEach(s => dumpn(s)); - - equal(k.functionDisplayName, "unsafeAtAnySpeed"); - equal(k.line, 4); - - liveEntries.push([k.toString(), v]); - }); - - const offlineEntries = []; - offline.AllocationMarker.forEach((v, k) => { - dumpn("Allocation stack:"); - k.toString().split(/\n/g).forEach(s => dumpn(s)); - - equal(k.functionDisplayName, "unsafeAtAnySpeed"); - equal(k.line, 4); - - offlineEntries.push([k.toString(), v]); - }); - - const sortEntries = (a, b) => { - if (a[0] < b[0]) { - return -1; - } else if (a[0] > b[0]) { - return 1; - } else { - return 0; - } - }; - liveEntries.sort(sortEntries); - offlineEntries.sort(sortEntries); - - equal(liveEntries.length, live.AllocationMarker.size); - equal(liveEntries.length, offlineEntries.length); - - for (let i = 0; i < liveEntries.length; i++) { - equal(liveEntries[i][0], offlineEntries[i][0]); - equal(liveEntries[i][1].count, offlineEntries[i][1].count); - equal(liveEntries[i][1].bytes, offlineEntries[i][1].bytes); - } - - do_test_finished(); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_12.js b/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_12.js deleted file mode 100644 index f10dd5b03..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_HeapSnapshot_takeCensus_12.js +++ /dev/null @@ -1,50 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that when we take a census and get a bucket list of ids that matched the -// given category, that the returned ids are all in the snapshot and their -// reported category. - -function run_test() { - const g = newGlobal(); - const dbg = new Debugger(g); - - const path = saveNewHeapSnapshot({ debugger: dbg }); - const snapshot = readHeapSnapshot(path); - - const bucket = { by: "bucket" }; - const count = { by: "count", count: true, bytes: false }; - const objectClassCount = { by: "objectClass", then: count, other: count }; - - const byClassName = snapshot.takeCensus({ - breakdown: { - by: "objectClass", - then: bucket, - other: bucket, - } - }); - - const byClassNameCount = snapshot.takeCensus({ - breakdown: objectClassCount - }); - - const keys = new Set(Object.keys(byClassName)); - equal(keys.size, Object.keys(byClassNameCount).length, - "Should have the same number of keys."); - for (let k of Object.keys(byClassNameCount)) { - ok(keys.has(k), "Should not have any unexpected class names"); - } - - for (let key of Object.keys(byClassName)) { - equal(byClassNameCount[key].count, byClassName[key].length, - "Length of the bucket and count should be equal"); - - for (let id of byClassName[key]) { - const desc = snapshot.describeNode(objectClassCount, id); - equal(desc[key].count, 1, - "Describing the bucketed node confirms that it belongs to the category"); - } - } - - do_test_finished(); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_ReadHeapSnapshot.js b/devtools/shared/heapsnapshot/tests/unit/test_ReadHeapSnapshot.js deleted file mode 100644 index dde139ffd..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_ReadHeapSnapshot.js +++ /dev/null @@ -1,20 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that we can read core dumps into HeapSnapshot instances. - -if (typeof Debugger != "function") { - const { addDebuggerToGlobal } = Cu.import("resource://gre/modules/jsdebugger.jsm", {}); - addDebuggerToGlobal(this); -} - -function run_test() { - const filePath = ChromeUtils.saveHeapSnapshot({ globals: [this] }); - ok(true, "Should be able to save a snapshot."); - - const snapshot = ChromeUtils.readHeapSnapshot(filePath); - ok(snapshot, "Should be able to read a heap snapshot"); - ok(snapshot instanceof HeapSnapshot, "Should be an instanceof HeapSnapshot"); - - do_test_finished(); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_ReadHeapSnapshot_with_allocations.js b/devtools/shared/heapsnapshot/tests/unit/test_ReadHeapSnapshot_with_allocations.js deleted file mode 100644 index d91f36f56..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_ReadHeapSnapshot_with_allocations.js +++ /dev/null @@ -1,36 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that we can save a core dump with allocation stacks and read it back -// into a HeapSnapshot. - -if (typeof Debugger != "function") { - const { addDebuggerToGlobal } = Cu.import("resource://gre/modules/jsdebugger.jsm", {}); - addDebuggerToGlobal(this); -} - -function run_test() { - // Create a Debugger observing a debuggee's allocations. - const debuggee = new Cu.Sandbox(null); - const dbg = new Debugger(debuggee); - dbg.memory.trackingAllocationSites = true; - - // Allocate some objects in the debuggee that will have their allocation - // stacks recorded by the Debugger. - debuggee.eval("this.objects = []"); - for (let i = 0; i < 100; i++) { - debuggee.eval("this.objects.push({})"); - } - - // Now save a snapshot that will include the allocation stacks and read it - // back again. - - const filePath = ChromeUtils.saveHeapSnapshot({ runtime: true }); - ok(true, "Should be able to save a snapshot."); - - const snapshot = ChromeUtils.readHeapSnapshot(filePath); - ok(snapshot, "Should be able to read a heap snapshot"); - ok(snapshot instanceof HeapSnapshot, "Should be an instanceof HeapSnapshot"); - - do_test_finished(); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_ReadHeapSnapshot_worker.js b/devtools/shared/heapsnapshot/tests/unit/test_ReadHeapSnapshot_worker.js deleted file mode 100644 index 76461b694..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_ReadHeapSnapshot_worker.js +++ /dev/null @@ -1,40 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that we can read core dumps into HeapSnapshot instances in a worker. - -add_task(function* () { - const worker = new ChromeWorker("resource://test/heap-snapshot-worker.js"); - worker.postMessage({}); - - let assertionCount = 0; - worker.onmessage = e => { - if (e.data.type !== "assertion") { - return; - } - - ok(e.data.passed, e.data.msg + "\n" + e.data.stack); - assertionCount++; - }; - - yield waitForDone(worker); - - ok(assertionCount > 0); - worker.terminate(); -}); - -function waitForDone(w) { - return new Promise((resolve, reject) => { - w.onerror = e => { - reject(); - ok(false, "Error in worker: " + e); - }; - - w.addEventListener("message", function listener(e) { - if (e.data.type === "done") { - w.removeEventListener("message", listener, false); - resolve(); - } - }, false); - }); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_SaveHeapSnapshot.js b/devtools/shared/heapsnapshot/tests/unit/test_SaveHeapSnapshot.js deleted file mode 100644 index affd8d1e4..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_SaveHeapSnapshot.js +++ /dev/null @@ -1,82 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test the ChromeUtils interface. - -if (typeof Debugger != "function") { - const { addDebuggerToGlobal } = Cu.import("resource://gre/modules/jsdebugger.jsm", {}); - addDebuggerToGlobal(this); -} - -function run_test() { - ok(ChromeUtils, "Should be able to get the ChromeUtils interface"); - - testBadParameters(); - testGoodParameters(); - - do_test_finished(); -} - -function testBadParameters() { - throws(() => ChromeUtils.saveHeapSnapshot(), - "Should throw if arguments aren't passed in."); - - throws(() => ChromeUtils.saveHeapSnapshot(null), - "Should throw if boundaries isn't an object."); - - throws(() => ChromeUtils.saveHeapSnapshot({}), - "Should throw if the boundaries object doesn't have any properties."); - - throws(() => ChromeUtils.saveHeapSnapshot({ runtime: true, - globals: [this] }), - "Should throw if the boundaries object has more than one property."); - - throws(() => ChromeUtils.saveHeapSnapshot({ debugger: {} }), - "Should throw if the debuggees object is not a Debugger object"); - - throws(() => ChromeUtils.saveHeapSnapshot({ globals: [{}] }), - "Should throw if the globals array contains non-global objects."); - - throws(() => ChromeUtils.saveHeapSnapshot({ runtime: false }), - "Should throw if runtime is supplied and is not true."); - - throws(() => ChromeUtils.saveHeapSnapshot({ globals: null }), - "Should throw if globals is not an object."); - - throws(() => ChromeUtils.saveHeapSnapshot({ globals: {} }), - "Should throw if globals is not an array."); - - throws(() => ChromeUtils.saveHeapSnapshot({ debugger: Debugger.prototype }), - "Should throw if debugger is the Debugger.prototype object."); - - throws(() => ChromeUtils.saveHeapSnapshot({ get globals() { return [this]; } }), - "Should throw if boundaries property is a getter."); -} - -const makeNewSandbox = () => - Cu.Sandbox(CC("@mozilla.org/systemprincipal;1", "nsIPrincipal")()); - -function testGoodParameters() { - let sandbox = makeNewSandbox(); - let dbg = new Debugger(sandbox); - - ChromeUtils.saveHeapSnapshot({ debugger: dbg }); - ok(true, "Should be able to save a snapshot for a debuggee global."); - - dbg = new Debugger; - let sandboxes = Array(10).fill(null).map(makeNewSandbox); - sandboxes.forEach(sb => dbg.addDebuggee(sb)); - - ChromeUtils.saveHeapSnapshot({ debugger: dbg }); - ok(true, "Should be able to save a snapshot for many debuggee globals."); - - dbg = new Debugger; - ChromeUtils.saveHeapSnapshot({ debugger: dbg }); - ok(true, "Should be able to save a snapshot with no debuggee globals."); - - ChromeUtils.saveHeapSnapshot({ globals: [this] }); - ok(true, "Should be able to save a snapshot for a specific global."); - - ChromeUtils.saveHeapSnapshot({ runtime: true }); - ok(true, "Should be able to save a snapshot of the full runtime."); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-01.js b/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-01.js deleted file mode 100644 index 16038c5c4..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-01.js +++ /dev/null @@ -1,76 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -/** - * Tests CensusTreeNode with `internalType` breakdown. - */ - -const BREAKDOWN = { - by: "internalType", - then: { by: "count", count: true, bytes: true } -}; - -const REPORT = { - "JSObject": { - "bytes": 100, - "count": 10, - }, - "js::Shape": { - "bytes": 500, - "count": 50, - }, - "JSString": { - "bytes": 10, - "count": 1, - }, -}; - -const EXPECTED = { - name: null, - bytes: 0, - totalBytes: 610, - count: 0, - totalCount: 61, - children: [ - { - name: "js::Shape", - bytes: 500, - totalBytes: 500, - count: 50, - totalCount: 50, - children: undefined, - id: 3, - parent: 1, - reportLeafIndex: 2, - }, - { - name: "JSObject", - bytes: 100, - totalBytes: 100, - count: 10, - totalCount: 10, - children: undefined, - id: 2, - parent: 1, - reportLeafIndex: 1, - }, - { - name: "JSString", - bytes: 10, - totalBytes: 10, - count: 1, - totalCount: 1, - children: undefined, - id: 4, - parent: 1, - reportLeafIndex: 3, - }, - ], - id: 1, - parent: undefined, - reportLeafIndex: undefined, -}; - -function run_test() { - compareCensusViewData(BREAKDOWN, REPORT, EXPECTED); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-02.js b/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-02.js deleted file mode 100644 index 37d039954..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-02.js +++ /dev/null @@ -1,136 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -/** - * Tests CensusTreeNode with `coarseType` breakdown. - */ - -const countBreakdown = { by: "count", count: true, bytes: true }; - -const BREAKDOWN = { - by: "coarseType", - objects: { by: "objectClass", then: countBreakdown }, - strings: countBreakdown, - scripts: countBreakdown, - other: { by: "internalType", then: countBreakdown }, -}; - -const REPORT = { - "objects": { - "Function": { bytes: 10, count: 1 }, - "Array": { bytes: 20, count: 2 }, - }, - "strings": { bytes: 10, count: 1 }, - "scripts": { bytes: 1, count: 1 }, - "other": { - "js::Shape": { bytes: 30, count: 3 }, - "js::Shape2": { bytes: 40, count: 4 } - }, -}; - -const EXPECTED = { - name: null, - bytes: 0, - totalBytes: 111, - count: 0, - totalCount: 12, - children: [ - { - name: "other", - count: 0, - totalCount: 7, - bytes: 0, - totalBytes: 70, - children: [ - { - name: "js::Shape2", - bytes: 40, - totalBytes: 40, - count: 4, - totalCount: 4, - children: undefined, - id: 9, - parent: 7, - reportLeafIndex: 8, - }, - { - name: "js::Shape", - bytes: 30, - totalBytes: 30, - count: 3, - totalCount: 3, - children: undefined, - id: 8, - parent: 7, - reportLeafIndex: 7, - }, - ], - id: 7, - parent: 1, - reportLeafIndex: undefined, - }, - { - name: "objects", - count: 0, - totalCount: 3, - bytes: 0, - totalBytes: 30, - children: [ - { - name: "Array", - bytes: 20, - totalBytes: 20, - count: 2, - totalCount: 2, - children: undefined, - id: 4, - parent: 2, - reportLeafIndex: 3, - }, - { - name: "Function", - bytes: 10, - totalBytes: 10, - count: 1, - totalCount: 1, - children: undefined, - id: 3, - parent: 2, - reportLeafIndex: 2, - }, - ], - id: 2, - parent: 1, - reportLeafIndex: undefined, - }, - { - name: "strings", - count: 1, - totalCount: 1, - bytes: 10, - totalBytes: 10, - children: undefined, - id: 6, - parent: 1, - reportLeafIndex: 5, - }, - { - name: "scripts", - count: 1, - totalCount: 1, - bytes: 1, - totalBytes: 1, - children: undefined, - id: 5, - parent: 1, - reportLeafIndex: 4, - }, - ], - id: 1, - parent: undefined, - reportLeafIndex: undefined, -}; - -function run_test() { - compareCensusViewData(BREAKDOWN, REPORT, EXPECTED); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-03.js b/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-03.js deleted file mode 100644 index bdf932099..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-03.js +++ /dev/null @@ -1,96 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -/** - * Tests CensusTreeNode with `objectClass` breakdown. - */ - -const countBreakdown = { by: "count", count: true, bytes: true }; - -const BREAKDOWN = { - by: "objectClass", - then: countBreakdown, - other: { by: "internalType", then: countBreakdown } -}; - -const REPORT = { - "Function": { bytes: 10, count: 10 }, - "Array": { bytes: 100, count: 1 }, - "other": { - "JIT::CODE::NOW!!!": { bytes: 20, count: 2 }, - "JIT::CODE::LATER!!!": { bytes: 40, count: 4 } - } -}; - -const EXPECTED = { - name: null, - count: 0, - totalCount: 17, - bytes: 0, - totalBytes: 170, - children: [ - { - name: "Array", - bytes: 100, - totalBytes: 100, - count: 1, - totalCount: 1, - children: undefined, - id: 3, - parent: 1, - reportLeafIndex: 2, - }, - { - name: "other", - count: 0, - totalCount: 6, - bytes: 0, - totalBytes: 60, - children: [ - { - name: "JIT::CODE::LATER!!!", - bytes: 40, - totalBytes: 40, - count: 4, - totalCount: 4, - children: undefined, - id: 6, - parent: 4, - reportLeafIndex: 5, - }, - { - name: "JIT::CODE::NOW!!!", - bytes: 20, - totalBytes: 20, - count: 2, - totalCount: 2, - children: undefined, - id: 5, - parent: 4, - reportLeafIndex: 4, - }, - ], - id: 4, - parent: 1, - reportLeafIndex: undefined, - }, - { - name: "Function", - bytes: 10, - totalBytes: 10, - count: 10, - totalCount: 10, - children: undefined, - id: 2, - parent: 1, - reportLeafIndex: 1, - }, - ], - id: 1, - parent: undefined, - reportLeafIndex: undefined, -}; - -function run_test() { - compareCensusViewData(BREAKDOWN, REPORT, EXPECTED); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-04.js b/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-04.js deleted file mode 100644 index cc0c3bac0..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-04.js +++ /dev/null @@ -1,159 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -/** - * Tests CensusTreeNode with `allocationStack` breakdown. - */ - -function run_test() { - const countBreakdown = { by: "count", count: true, bytes: true }; - - const BREAKDOWN = { - by: "allocationStack", - then: countBreakdown, - noStack: countBreakdown, - }; - - let stack1, stack2, stack3, stack4, stack5; - - (function a() { - (function b() { - (function c() { - stack1 = saveStack(3); - }()); - (function d() { - stack2 = saveStack(3); - stack3 = saveStack(3); - }()); - stack4 = saveStack(2); - }()); - }()); - - stack5 = saveStack(1); - - const REPORT = new Map([ - [stack1, { bytes: 10, count: 1 }], - [stack2, { bytes: 20, count: 2 }], - [stack3, { bytes: 30, count: 3 }], - [stack4, { bytes: 40, count: 4 }], - [stack5, { bytes: 50, count: 5 }], - ["noStack", { bytes: 60, count: 6 }], - ]); - - const EXPECTED = { - name: null, - bytes: 0, - totalBytes: 210, - count: 0, - totalCount: 21, - children: [ - { - name: stack4.parent, - bytes: 0, - totalBytes: 100, - count: 0, - totalCount: 10, - children: [ - { - name: stack3.parent, - bytes: 0, - totalBytes: 50, - count: 0, - totalCount: 5, - children: [ - { - name: stack3, - bytes: 30, - totalBytes: 30, - count: 3, - totalCount: 3, - children: undefined, - id: 7, - parent: 5, - reportLeafIndex: 3, - }, - { - name: stack2, - bytes: 20, - totalBytes: 20, - count: 2, - totalCount: 2, - children: undefined, - id: 6, - parent: 5, - reportLeafIndex: 2, - } - ], - id: 5, - parent: 2, - reportLeafIndex: undefined, - }, - { - name: stack4, - bytes: 40, - totalBytes: 40, - count: 4, - totalCount: 4, - children: undefined, - id: 8, - parent: 2, - reportLeafIndex: 4, - }, - { - name: stack1.parent, - bytes: 0, - totalBytes: 10, - count: 0, - totalCount: 1, - children: [ - { - name: stack1, - bytes: 10, - totalBytes: 10, - count: 1, - totalCount: 1, - children: undefined, - id: 4, - parent: 3, - reportLeafIndex: 1, - }, - ], - id: 3, - parent: 2, - reportLeafIndex: undefined, - }, - ], - id: 2, - parent: 1, - reportLeafIndex: undefined, - }, - { - name: "noStack", - bytes: 60, - totalBytes: 60, - count: 6, - totalCount: 6, - children: undefined, - id: 10, - parent: 1, - reportLeafIndex: 6, - }, - { - name: stack5, - bytes: 50, - totalBytes: 50, - count: 5, - totalCount: 5, - children: undefined, - id: 9, - parent: 1, - reportLeafIndex: 5 - }, - ], - id: 1, - parent: undefined, - reportLeafIndex: undefined, - }; - - compareCensusViewData(BREAKDOWN, REPORT, EXPECTED); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-05.js b/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-05.js deleted file mode 100644 index 20fb76bd2..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-05.js +++ /dev/null @@ -1,145 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -/** - * Tests CensusTreeNode with `allocationStack` => `objectClass` breakdown. - */ - -function run_test() { - const countBreakdown = { by: "count", count: true, bytes: true }; - - const BREAKDOWN = { - by: "allocationStack", - then: { - by: "objectClass", - then: countBreakdown, - other: countBreakdown - }, - noStack: countBreakdown, - }; - - let stack; - - (function a() { - (function b() { - (function c() { - stack = saveStack(3); - }()); - }()); - }()); - - const REPORT = new Map([ - [stack, { Foo: { bytes: 10, count: 1 }, - Bar: { bytes: 20, count: 2 }, - Baz: { bytes: 30, count: 3 }, - other: { bytes: 40, count: 4 } - }], - ["noStack", { bytes: 50, count: 5 }], - ]); - - const EXPECTED = { - name: null, - bytes: 0, - totalBytes: 150, - count: 0, - totalCount: 15, - children: [ - { - name: stack.parent.parent, - bytes: 0, - totalBytes: 100, - count: 0, - totalCount: 10, - children: [ - { - name: stack.parent, - bytes: 0, - totalBytes: 100, - count: 0, - totalCount: 10, - children: [ - { - name: stack, - bytes: 0, - totalBytes: 100, - count: 0, - totalCount: 10, - children: [ - { - name: "other", - bytes: 40, - totalBytes: 40, - count: 4, - totalCount: 4, - children: undefined, - id: 8, - parent: 4, - reportLeafIndex: 5, - }, - { - name: "Baz", - bytes: 30, - totalBytes: 30, - count: 3, - totalCount: 3, - children: undefined, - id: 7, - parent: 4, - reportLeafIndex: 4, - }, - { - name: "Bar", - bytes: 20, - totalBytes: 20, - count: 2, - totalCount: 2, - children: undefined, - id: 6, - parent: 4, - reportLeafIndex: 3, - }, - { - name: "Foo", - bytes: 10, - totalBytes: 10, - count: 1, - totalCount: 1, - children: undefined, - id: 5, - parent: 4, - reportLeafIndex: 2, - }, - ], - id: 4, - parent: 3, - reportLeafIndex: undefined, - } - ], - id: 3, - parent: 2, - reportLeafIndex: undefined, - } - ], - id: 2, - parent: 1, - reportLeafIndex: undefined, - }, - { - name: "noStack", - bytes: 50, - totalBytes: 50, - count: 5, - totalCount: 5, - children: undefined, - id: 9, - parent: 1, - reportLeafIndex: 6, - }, - ], - id: 1, - parent: undefined, - reportLeafIndex: undefined, - }; - - compareCensusViewData(BREAKDOWN, REPORT, EXPECTED); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-06.js b/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-06.js deleted file mode 100644 index eb1801207..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-06.js +++ /dev/null @@ -1,200 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -/** - * Test inverting CensusTreeNode with a by alloaction stack breakdown. - */ - -function run_test() { - const BREAKDOWN = { - by: "allocationStack", - then: { by: "count", count: true, bytes: true }, - noStack: { by: "count", count: true, bytes: true }, - }; - - let stack1, stack2, stack3, stack4; - - function a(n) { - return b(n); - } - function b(n) { - return c(n); - } - function c(n) { - return saveStack(n); - } - function d(n) { - return b(n); - } - function e(n) { - return c(n); - } - - const abc_Stack = a(3); - const bc_Stack = b(2); - const c_Stack = c(1); - const dbc_Stack = d(3); - const ec_Stack = e(2); - - const REPORT = new Map([ - [abc_Stack, { bytes: 10, count: 1 }], - [ bc_Stack, { bytes: 10, count: 1 }], - [ c_Stack, { bytes: 10, count: 1 }], - [dbc_Stack, { bytes: 10, count: 1 }], - [ ec_Stack, { bytes: 10, count: 1 }], - ["noStack", { bytes: 50, count: 5 }], - ]); - - const EXPECTED = { - name: null, - bytes: 0, - totalBytes: 100, - count: 0, - totalCount: 10, - children: [ - { - name: "noStack", - bytes: 50, - totalBytes: 50, - count: 5, - totalCount: 5, - children: [ - { - name: null, - bytes: 0, - totalBytes: 100, - count: 0, - totalCount: 10, - children: undefined, - id: 16, - parent: 15, - reportLeafIndex: undefined, - } - ], - id: 15, - parent: 14, - reportLeafIndex: 6, - }, - { - name: abc_Stack, - bytes: 50, - totalBytes: 10, - count: 5, - totalCount: 1, - children: [ - { - name: null, - bytes: 0, - totalBytes: 100, - count: 0, - totalCount: 10, - children: undefined, - id: 18, - parent: 17, - reportLeafIndex: undefined, - }, - { - name: abc_Stack.parent, - bytes: 0, - totalBytes: 10, - count: 0, - totalCount: 1, - children: [ - { - name: null, - bytes: 0, - totalBytes: 100, - count: 0, - totalCount: 10, - children: undefined, - id: 22, - parent: 19, - reportLeafIndex: undefined, - }, - { - name: abc_Stack.parent.parent, - bytes: 0, - totalBytes: 10, - count: 0, - totalCount: 1, - children: [ - { - name: null, - bytes: 0, - totalBytes: 100, - count: 0, - totalCount: 10, - children: undefined, - id: 21, - parent: 20, - reportLeafIndex: undefined, - } - ], - id: 20, - parent: 19, - reportLeafIndex: undefined, - }, - { - name: dbc_Stack.parent.parent, - bytes: 0, - totalBytes: 10, - count: 0, - totalCount: 1, - children: [ - { - name: null, - bytes: 0, - totalBytes: 100, - count: 0, - totalCount: 10, - children: undefined, - id: 24, - parent: 23, - reportLeafIndex: undefined, - } - ], - id: 23, - parent: 19, - reportLeafIndex: undefined, - } - ], - id: 19, - parent: 17, - reportLeafIndex: undefined, - }, - { - name: ec_Stack.parent, - bytes: 0, - totalBytes: 10, - count: 0, - totalCount: 1, - children: [ - { - name: null, - bytes: 0, - totalBytes: 100, - count: 0, - totalCount: 10, - children: undefined, - id: 26, - parent: 25, - reportLeafIndex: undefined, - }, - ], - id: 25, - parent: 17, - reportLeafIndex: undefined, - }, - ], - id: 17, - parent: 14, - reportLeafIndex: new Set([1, 2, 3, 4, 5]), - } - ], - id: 14, - parent: undefined, - reportLeafIndex: undefined, - }; - - compareCensusViewData(BREAKDOWN, REPORT, EXPECTED, { invert: true }); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-07.js b/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-07.js deleted file mode 100644 index 6bc085257..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-07.js +++ /dev/null @@ -1,200 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -/** - * Test inverting CensusTreeNode with a non-allocation stack breakdown. - */ - -function run_test() { - const BREAKDOWN = { - by: "coarseType", - objects: { - by: "objectClass", - then: { by: "count", count: true, bytes: true }, - other: { by: "count", count: true, bytes: true }, - }, - scripts: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, - strings: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, - other:{ - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, - }; - - const REPORT = { - objects: { - Array: { bytes: 50, count: 5 }, - other: { bytes: 0, count: 0 }, - }, - scripts: { - "js::jit::JitScript": { bytes: 30, count: 3 }, - }, - strings: { - JSAtom: { bytes: 60, count: 6 }, - }, - other: { - "js::Shape": { bytes: 80, count: 8 }, - } - }; - - const EXPECTED = { - name: null, - bytes: 0, - totalBytes: 220, - count: 0, - totalCount: 22, - children: [ - { - name: "js::Shape", - bytes: 80, - totalBytes: 80, - count: 8, - totalCount: 8, - children: [ - { - name: "other", - bytes: 0, - totalBytes: 80, - count: 0, - totalCount: 8, - children: [ - { - name: null, - bytes: 0, - totalBytes: 220, - count: 0, - totalCount: 22, - children: undefined, - id: 14, - parent: 13, - reportLeafIndex: undefined, - } - ], - id: 13, - parent: 12, - reportLeafIndex: undefined, - } - ], - id: 12, - parent: 11, - reportLeafIndex: 9, - }, - { - name: "JSAtom", - bytes: 60, - totalBytes: 60, - count: 6, - totalCount: 6, - children: [ - { - name: "strings", - bytes: 0, - totalBytes: 60, - count: 0, - totalCount: 6, - children: [ - { - name: null, - bytes: 0, - totalBytes: 220, - count: 0, - totalCount: 22, - children: undefined, - id: 17, - parent: 16, - reportLeafIndex: undefined, - } - ], - id: 16, - parent: 15, - reportLeafIndex: undefined, - } - ], - id: 15, - parent: 11, - reportLeafIndex: 7, - }, - { - name: "Array", - bytes: 50, - totalBytes: 50, - count: 5, - totalCount: 5, - children: [ - { - name: "objects", - bytes: 0, - totalBytes: 50, - count: 0, - totalCount: 5, - children: [ - { - name: null, - bytes: 0, - totalBytes: 220, - count: 0, - totalCount: 22, - children: undefined, - id: 20, - parent: 19, - reportLeafIndex: undefined, - } - ], - id: 19, - parent: 18, - reportLeafIndex: undefined, - } - ], - id: 18, - parent: 11, - reportLeafIndex: 2, - }, - { - name: "js::jit::JitScript", - bytes: 30, - totalBytes: 30, - count: 3, - totalCount: 3, - children: [ - { - name: "scripts", - bytes: 0, - totalBytes: 30, - count: 0, - totalCount: 3, - children: [ - { - name: null, - bytes: 0, - totalBytes: 220, - count: 0, - totalCount: 22, - children: undefined, - id: 23, - parent: 22, - reportLeafIndex: undefined, - } - ], - id: 22, - parent: 21, - reportLeafIndex: undefined, - } - ], - id: 21, - parent: 11, - reportLeafIndex: 5, - }, - ], - id: 11, - parent: undefined, - reportLeafIndex: undefined, - }; - - compareCensusViewData(BREAKDOWN, REPORT, EXPECTED, { invert: true }); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-08.js b/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-08.js deleted file mode 100644 index 1c686c810..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-08.js +++ /dev/null @@ -1,142 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -/** - * Test inverting CensusTreeNode with a non-allocation stack breakdown. - */ - -function run_test() { - const BREAKDOWN = { - by: "filename", - then: { - by: "internalType", - then: { by: "count", count: true, bytes: true } - }, - noFilename: { - by: "internalType", - then: { by: "count", count: true, bytes: true } - }, - }; - - const REPORT = { - "http://example.com/app.js": { - JSScript: { count: 10, bytes: 100 } - }, - "http://example.com/ads.js": { - "js::LazyScript": { count: 20, bytes: 200 } - }, - "http://example.com/trackers.js": { - JSScript: { count: 30, bytes: 300 } - }, - noFilename: { - "js::jit::JitCode": { count: 40, bytes: 400 } - } - }; - - const EXPECTED = { - name: null, - bytes: 0, - totalBytes: 1000, - count: 0, - totalCount: 100, - children: [ - { - name: "noFilename", - bytes: 0, - totalBytes: 400, - count: 0, - totalCount: 40, - children: [ - { - name: "js::jit::JitCode", - bytes: 400, - totalBytes: 400, - count: 40, - totalCount: 40, - children: undefined, - id: 9, - parent: 8, - reportLeafIndex: 8, - } - ], - id: 8, - parent: 1, - reportLeafIndex: undefined, - }, - { - name: "http://example.com/trackers.js", - bytes: 0, - totalBytes: 300, - count: 0, - totalCount: 30, - children: [ - { - name: "JSScript", - bytes: 300, - totalBytes: 300, - count: 30, - totalCount: 30, - children: undefined, - id: 7, - parent: 6, - reportLeafIndex: 6, - } - ], - id: 6, - parent: 1, - reportLeafIndex: undefined, - }, - { - name: "http://example.com/ads.js", - bytes: 0, - totalBytes: 200, - count: 0, - totalCount: 20, - children: [ - { - name: "js::LazyScript", - bytes: 200, - totalBytes: 200, - count: 20, - totalCount: 20, - children: undefined, - id: 5, - parent: 4, - reportLeafIndex: 4, - } - ], - id: 4, - parent: 1, - reportLeafIndex: undefined, - }, - { - name: "http://example.com/app.js", - bytes: 0, - totalBytes: 100, - count: 0, - totalCount: 10, - children: [ - { - name: "JSScript", - bytes: 100, - totalBytes: 100, - count: 10, - totalCount: 10, - children: undefined, - id: 3, - parent: 2, - reportLeafIndex: 2, - } - ], - id: 2, - parent: 1, - reportLeafIndex: undefined, - } - ], - id: 1, - parent: undefined, - reportLeafIndex: undefined, - }; - - compareCensusViewData(BREAKDOWN, REPORT, EXPECTED); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-09.js b/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-09.js deleted file mode 100644 index 3efed04b0..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-09.js +++ /dev/null @@ -1,44 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ -"use strict"; - -/** - * Test that repeatedly converting the same census report to a CensusTreeNode - * tree results in the same CensusTreeNode tree. - */ - -function run_test() { - const BREAKDOWN = { - by: "filename", - then: { - by: "internalType", - then: { by: "count", count: true, bytes: true } - }, - noFilename: { - by: "internalType", - then: { by: "count", count: true, bytes: true } - }, - }; - - const REPORT = { - "http://example.com/app.js": { - JSScript: { count: 10, bytes: 100 } - }, - "http://example.com/ads.js": { - "js::LazyScript": { count: 20, bytes: 200 } - }, - "http://example.com/trackers.js": { - JSScript: { count: 30, bytes: 300 } - }, - noFilename: { - "js::jit::JitCode": { count: 40, bytes: 400 } - } - }; - - const first = censusReportToCensusTreeNode(BREAKDOWN, REPORT); - const second = censusReportToCensusTreeNode(BREAKDOWN, REPORT); - const third = censusReportToCensusTreeNode(BREAKDOWN, REPORT); - - assertStructurallyEquivalent(first, second); - assertStructurallyEquivalent(second, third); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-10.js b/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-10.js deleted file mode 100644 index b7798f23f..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_census-tree-node-10.js +++ /dev/null @@ -1,43 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ -"use strict"; - -/** - * Test when multiple leaves in the census report map to the same node in an - * inverted CensusReportTree. - */ - -function run_test() { - const BREAKDOWN = { - by: "coarseType", - objects: { - by: "objectClass", - then: { by: "count", count: true, bytes: true }, - }, - other: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, - strings: { by: "count", count: true, bytes: true }, - scripts: { by: "count", count: true, bytes: true }, - }; - - const REPORT = { - objects: { - Array: { count: 1, bytes: 10 }, - }, - other: { - Array: { count: 1, bytes: 10 }, - }, - strings: { count: 0, bytes: 0 }, - scripts: { count: 0, bytes: 0 }, - }; - - const node = censusReportToCensusTreeNode(BREAKDOWN, REPORT, { invert: true }); - - equal(node.children[0].name, "Array"); - equal(node.children[0].reportLeafIndex.size, 2); - dumpn(`node.children[0].reportLeafIndex = ${[...node.children[0].reportLeafIndex]}`); - ok(node.children[0].reportLeafIndex.has(2)); - ok(node.children[0].reportLeafIndex.has(6)); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_census_diff_01.js b/devtools/shared/heapsnapshot/tests/unit/test_census_diff_01.js deleted file mode 100644 index 75977bccb..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_census_diff_01.js +++ /dev/null @@ -1,74 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test diffing census reports of breakdown by "internalType". - -const BREAKDOWN = { - by: "internalType", - then: { by: "count", count: true, bytes: true } -}; - -const REPORT1 = { - "JSObject": { - "count": 10, - "bytes": 100, - }, - "js::Shape": { - "count": 50, - "bytes": 500, - }, - "JSString": { - "count": 0, - "bytes": 0, - }, - "js::LazyScript": { - "count": 1, - "bytes": 10, - }, -}; - -const REPORT2 = { - "JSObject": { - "count": 11, - "bytes": 110, - }, - "js::Shape": { - "count": 51, - "bytes": 510, - }, - "JSString": { - "count": 1, - "bytes": 1, - }, - "js::BaseShape": { - "count": 1, - "bytes": 42, - }, -}; - -const EXPECTED = { - "JSObject": { - "count": 1, - "bytes": 10, - }, - "js::Shape": { - "count": 1, - "bytes": 10, - }, - "JSString": { - "count": 1, - "bytes": 1, - }, - "js::LazyScript": { - "count": -1, - "bytes": -10, - }, - "js::BaseShape": { - "count": 1, - "bytes": 42, - }, -}; - -function run_test() { - assertDiff(BREAKDOWN, REPORT1, REPORT2, EXPECTED); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_census_diff_02.js b/devtools/shared/heapsnapshot/tests/unit/test_census_diff_02.js deleted file mode 100644 index 169e3f036..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_census_diff_02.js +++ /dev/null @@ -1,25 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test diffing census reports of breakdown by "count". - -const BREAKDOWN = { by: "count", count: true, bytes: true }; - -const REPORT1 = { - "count": 10, - "bytes": 100, -}; - -const REPORT2 = { - "count": 11, - "bytes": 110, -}; - -const EXPECTED = { - "count": 1, - "bytes": 10, -}; - -function run_test() { - assertDiff(BREAKDOWN, REPORT1, REPORT2, EXPECTED); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_census_diff_03.js b/devtools/shared/heapsnapshot/tests/unit/test_census_diff_03.js deleted file mode 100644 index 6dbca3e40..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_census_diff_03.js +++ /dev/null @@ -1,73 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test diffing census reports of breakdown by "coarseType". - -const BREAKDOWN = { - by: "coarseType", - objects: { by: "count", count: true, bytes: true }, - scripts: { by: "count", count: true, bytes: true }, - strings: { by: "count", count: true, bytes: true }, - other: { by: "count", count: true, bytes: true }, -}; - -const REPORT1 = { - objects: { - count: 1, - bytes: 10, - }, - scripts: { - count: 1, - bytes: 10, - }, - strings: { - count: 1, - bytes: 10, - }, - other: { - count: 3, - bytes: 30, - }, -}; - -const REPORT2 = { - objects: { - count: 1, - bytes: 10, - }, - scripts: { - count: 0, - bytes: 0, - }, - strings: { - count: 2, - bytes: 20, - }, - other: { - count: 4, - bytes: 40, - }, -}; - -const EXPECTED = { - objects: { - count: 0, - bytes: 0, - }, - scripts: { - count: -1, - bytes: -10, - }, - strings: { - count: 1, - bytes: 10, - }, - other: { - count: 1, - bytes: 10, - }, -}; - -function run_test() { - assertDiff(BREAKDOWN, REPORT1, REPORT2, EXPECTED); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_census_diff_04.js b/devtools/shared/heapsnapshot/tests/unit/test_census_diff_04.js deleted file mode 100644 index a10097945..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_census_diff_04.js +++ /dev/null @@ -1,63 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test diffing census reports of breakdown by "objectClass". - -const BREAKDOWN = { - by: "objectClass", - then: { by: "count", count: true, bytes: true }, - other: { by: "count", count: true, bytes: true }, -}; - -const REPORT1 = { - "Array": { - count: 1, - bytes: 100, - }, - "Function": { - count: 10, - bytes: 10, - }, - "other": { - count: 10, - bytes: 100, - } -}; - -const REPORT2 = { - "Object": { - count: 1, - bytes: 100, - }, - "Function": { - count: 20, - bytes: 20, - }, - "other": { - count: 10, - bytes: 100, - } -}; - -const EXPECTED = { - "Array": { - count: -1, - bytes: -100, - }, - "Function": { - count: 10, - bytes: 10, - }, - "other": { - count: 0, - bytes: 0, - }, - "Object": { - count: 1, - bytes: 100, - }, -}; - -function run_test() { - assertDiff(BREAKDOWN, REPORT1, REPORT2, EXPECTED); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_census_diff_05.js b/devtools/shared/heapsnapshot/tests/unit/test_census_diff_05.js deleted file mode 100644 index b6d99f823..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_census_diff_05.js +++ /dev/null @@ -1,34 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test diffing census reports of breakdown by "allocationStack". - -const BREAKDOWN = { - by: "allocationStack", - then: { by: "count", count: true, bytes: true }, - noStack: { by: "count", count: true, bytes: true }, -}; - -const stack1 = saveStack(); -const stack2 = saveStack(); -const stack3 = saveStack(); - -const REPORT1 = new Map([ - [stack1, { "count": 10, "bytes": 100 }], - [stack2, { "count": 1, "bytes": 10 }], -]); - -const REPORT2 = new Map([ - [stack2, { "count": 10, "bytes": 100 }], - [stack3, { "count": 1, "bytes": 10 }], -]); - -const EXPECTED = new Map([ - [stack1, { "count": -10, "bytes": -100 }], - [stack2, { "count": 9, "bytes": 90 }], - [stack3, { "count": 1, "bytes": 10 }], -]); - -function run_test() { - assertDiff(BREAKDOWN, REPORT1, REPORT2, EXPECTED); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_census_diff_06.js b/devtools/shared/heapsnapshot/tests/unit/test_census_diff_06.js deleted file mode 100644 index 430ff8c9c..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_census_diff_06.js +++ /dev/null @@ -1,137 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test diffing census reports of a "complex" and "realistic" breakdown. - -const BREAKDOWN = { - by: "coarseType", - objects: { - by: "allocationStack", - then: { - by: "objectClass", - then: { by: "count", count: false, bytes: true }, - other: { by: "count", count: false, bytes: true } - }, - noStack: { - by: "objectClass", - then: { by: "count", count: false, bytes: true }, - other: { by: "count", count: false, bytes: true } - } - }, - strings: { - by: "internalType", - then: { by: "count", count: false, bytes: true } - }, - scripts: { - by: "internalType", - then: { by: "count", count: false, bytes: true } - }, - other: { - by: "internalType", - then: { by: "count", count: false, bytes: true } - }, -}; - -const stack1 = saveStack(); -const stack2 = saveStack(); -const stack3 = saveStack(); - -const REPORT1 = { - objects: new Map([ - [stack1, { Function: { bytes: 1 }, - Object: { bytes: 2 }, - other: { bytes: 0 }, - }], - [stack2, { Array: { bytes: 3 }, - Date: { bytes: 4 }, - other: { bytes: 0 }, - }], - ["noStack", { Object: { bytes: 3 }}], - ]), - strings: { - JSAtom: { bytes: 10 }, - JSLinearString: { bytes: 5 }, - }, - scripts: { - JSScript: { bytes: 1 }, - "js::jit::JitCode": { bytes: 2 }, - }, - other: { - "mozilla::dom::Thing": { bytes: 1 }, - } -}; - -const REPORT2 = { - objects: new Map([ - [stack2, { Array: { bytes: 1 }, - Date: { bytes: 2 }, - other: { bytes: 3 }, - }], - [stack3, { Function: { bytes: 1 }, - Object: { bytes: 2 }, - other: { bytes: 0 }, - }], - ["noStack", { Object: { bytes: 3 }}], - ]), - strings: { - JSAtom: { bytes: 5 }, - JSLinearString: { bytes: 10 }, - }, - scripts: { - JSScript: { bytes: 2 }, - "js::LazyScript": { bytes: 42 }, - "js::jit::JitCode": { bytes: 1 }, - }, - other: { - "mozilla::dom::OtherThing": { bytes: 1 }, - } -}; - -const EXPECTED = { - "objects": new Map([ - [stack1, { Function: { bytes: -1 }, - Object: { bytes: -2 }, - other: { bytes: 0 }, - }], - [stack2, { Array: { bytes: -2 }, - Date: { bytes: -2 }, - other: { bytes: 3 }, - }], - [stack3, { Function: { bytes: 1 }, - Object: { bytes: 2 }, - other: { bytes: 0 }, - }], - ["noStack", { Object: { bytes: 0 }}], - ]), - "scripts": { - "JSScript": { - "bytes": 1 - }, - "js::jit::JitCode": { - "bytes": -1 - }, - "js::LazyScript": { - "bytes": 42 - } - }, - "strings": { - "JSAtom": { - "bytes": -5 - }, - "JSLinearString": { - "bytes": 5 - } - }, - "other": { - "mozilla::dom::Thing": { - "bytes": -1 - }, - "mozilla::dom::OtherThing": { - "bytes": 1 - } - } -}; - -function run_test() { - assertDiff(BREAKDOWN, REPORT1, REPORT2, EXPECTED); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_census_filtering_01.js b/devtools/shared/heapsnapshot/tests/unit/test_census_filtering_01.js deleted file mode 100644 index 57724d7c1..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_census_filtering_01.js +++ /dev/null @@ -1,105 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test filtering basic CensusTreeNode trees. - -function run_test() { - const BREAKDOWN = { - by: "coarseType", - objects: { - by: "objectClass", - then: { by: "count", count: true, bytes: true }, - other: { by: "count", count: true, bytes: true }, - }, - scripts: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, - strings: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, - other:{ - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, - }; - - const REPORT = { - objects: { - Array: { bytes: 50, count: 5 }, - UInt8Array: { bytes: 80, count: 8 }, - Int32Array: { bytes: 320, count: 32 }, - other: { bytes: 0, count: 0 }, - }, - scripts: { - "js::jit::JitScript": { bytes: 30, count: 3 }, - }, - strings: { - JSAtom: { bytes: 60, count: 6 }, - }, - other: { - "js::Shape": { bytes: 80, count: 8 }, - } - }; - - const EXPECTED = { - name: null, - bytes: 0, - totalBytes: 620, - count: 0, - totalCount: 62, - children: [ - { - name: "objects", - bytes: 0, - totalBytes: 450, - count: 0, - totalCount: 45, - children: [ - { - name: "Int32Array", - bytes: 320, - totalBytes: 320, - count: 32, - totalCount: 32, - children: undefined, - id: 15, - parent: 14, - reportLeafIndex: 4, - }, - { - name: "UInt8Array", - bytes: 80, - totalBytes: 80, - count: 8, - totalCount: 8, - children: undefined, - id: 16, - parent: 14, - reportLeafIndex: 3, - }, - { - name: "Array", - bytes: 50, - totalBytes: 50, - count: 5, - totalCount: 5, - children: undefined, - id: 17, - parent: 14, - reportLeafIndex: 2, - } - ], - id: 14, - parent: 13, - reportLeafIndex: undefined, - } - ], - id: 13, - parent: undefined, - reportLeafIndex: undefined, - }; - - compareCensusViewData(BREAKDOWN, REPORT, EXPECTED, { filter: "Array" }); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_census_filtering_02.js b/devtools/shared/heapsnapshot/tests/unit/test_census_filtering_02.js deleted file mode 100644 index 0a57ce66d..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_census_filtering_02.js +++ /dev/null @@ -1,124 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test filtering CensusTreeNode trees with an `allocationStack` breakdown. - -function run_test() { - const countBreakdown = { by: "count", count: true, bytes: true }; - - const BREAKDOWN = { - by: "allocationStack", - then: countBreakdown, - noStack: countBreakdown, - }; - - let stack1, stack2, stack3, stack4, stack5; - - (function foo() { - (function bar() { - (function baz() { - stack1 = saveStack(3); - }()); - (function quux() { - stack2 = saveStack(3); - stack3 = saveStack(3); - }()); - }()); - stack4 = saveStack(2); - }()); - - stack5 = saveStack(1); - - const REPORT = new Map([ - [stack1, { bytes: 10, count: 1 }], - [stack2, { bytes: 20, count: 2 }], - [stack3, { bytes: 30, count: 3 }], - [stack4, { bytes: 40, count: 4 }], - [stack5, { bytes: 50, count: 5 }], - ["noStack", { bytes: 60, count: 6 }], - ]); - - const EXPECTED = { - name: null, - bytes: 0, - totalBytes: 210, - count: 0, - totalCount: 21, - children: [ - { - name: stack1.parent.parent, - bytes: 0, - totalBytes: 60, - count: 0, - totalCount: 6, - children: [ - { - name: stack2.parent, - bytes: 0, - totalBytes: 50, - count: 0, - totalCount: 5, - children: [ - { - name: stack3, - bytes: 30, - totalBytes: 30, - count: 3, - totalCount: 3, - children: undefined, - id: 15, - parent: 14, - reportLeafIndex: 3, - }, - { - name: stack2, - bytes: 20, - totalBytes: 20, - count: 2, - totalCount: 2, - children: undefined, - id: 16, - parent: 14, - reportLeafIndex: 2, - } - ], - id: 14, - parent: 13, - reportLeafIndex: undefined, - }, - { - name: stack1.parent, - bytes: 0, - totalBytes: 10, - count: 0, - totalCount: 1, - children: [ - { - name: stack1, - bytes: 10, - totalBytes: 10, - count: 1, - totalCount: 1, - children: undefined, - id: 18, - parent: 17, - reportLeafIndex: 1, - } - ], - id: 17, - parent: 13, - reportLeafIndex: undefined, - } - ], - id: 13, - parent: 12, - reportLeafIndex: undefined, - } - ], - id: 12, - parent: undefined, - reportLeafIndex: undefined, - }; - - compareCensusViewData(BREAKDOWN, REPORT, EXPECTED, { filter: "bar" }); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_census_filtering_03.js b/devtools/shared/heapsnapshot/tests/unit/test_census_filtering_03.js deleted file mode 100644 index 2c69a14b8..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_census_filtering_03.js +++ /dev/null @@ -1,59 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test filtering with no matches. - -function run_test() { - const BREAKDOWN = { - by: "coarseType", - objects: { - by: "objectClass", - then: { by: "count", count: true, bytes: true }, - other: { by: "count", count: true, bytes: true }, - }, - scripts: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, - strings: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, - other:{ - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, - }; - - const REPORT = { - objects: { - Array: { bytes: 50, count: 5 }, - UInt8Array: { bytes: 80, count: 8 }, - Int32Array: { bytes: 320, count: 32 }, - other: { bytes: 0, count: 0 }, - }, - scripts: { - "js::jit::JitScript": { bytes: 30, count: 3 }, - }, - strings: { - JSAtom: { bytes: 60, count: 6 }, - }, - other: { - "js::Shape": { bytes: 80, count: 8 }, - } - }; - - const EXPECTED = { - name: null, - bytes: 0, - totalBytes: 620, - count: 0, - totalCount: 62, - children: undefined, - id: 13, - parent: undefined, - reportLeafIndex: undefined, - }; - - compareCensusViewData(BREAKDOWN, REPORT, EXPECTED, { filter: "zzzzzzzzzzzzzzzzzzzz" }); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_census_filtering_04.js b/devtools/shared/heapsnapshot/tests/unit/test_census_filtering_04.js deleted file mode 100644 index c9871436b..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_census_filtering_04.js +++ /dev/null @@ -1,102 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test the filtered nodes' counts and bytes are the same as they were when -// unfiltered. - -function run_test() { - const COUNT = { by: "count", count: true, bytes: true }; - const INTERNAL_TYPE = { by: "internalType", then: COUNT }; - - const BREAKDOWN = { - by: "coarseType", - objects: { by: "objectClass", then: COUNT, other: COUNT }, - strings: COUNT, - scripts: { - by: "filename", - then: INTERNAL_TYPE, - noFilename: INTERNAL_TYPE - }, - other: INTERNAL_TYPE, - }; - - const REPORT = { - objects: { - Function: { - count: 7, - bytes: 70 - }, - Array: { - count: 6, - bytes: 60 - } - }, - scripts: { - "http://mozilla.github.io/pdf.js/build/pdf.js": { - "js::LazyScript": { - count: 4, - bytes: 40 - }, - } - }, - strings: { - count: 2, - bytes: 20 - }, - other: { - "js::Shape": { - count: 1, - bytes: 10 - } - } - }; - - const EXPECTED = { - name: null, - bytes: 0, - totalBytes: 200, - count: 0, - totalCount: 20, - parent: undefined, - children: [ - { - name: "objects", - bytes: 0, - totalBytes: 130, - count: 0, - totalCount: 13, - children: [ - { - name: "Function", - bytes: 70, - totalBytes: 70, - count: 7, - totalCount: 7, - id: 13, - parent: 12, - children: undefined, - reportLeafIndex: 2, - }, - { - name: "Array", - bytes: 60, - totalBytes: 60, - count: 6, - totalCount: 6, - id: 14, - parent: 12, - children: undefined, - reportLeafIndex: 3, - }, - ], - id: 12, - parent: 11, - reportLeafIndex: undefined, - } - ], - id: 11, - reportLeafIndex: undefined, - }; - - compareCensusViewData(BREAKDOWN, REPORT, EXPECTED, { filter: "objects" }); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_census_filtering_05.js b/devtools/shared/heapsnapshot/tests/unit/test_census_filtering_05.js deleted file mode 100644 index 1d1f4fa55..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_census_filtering_05.js +++ /dev/null @@ -1,71 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test that filtered and inverted allocation stack census trees are sorted -// properly. - -function run_test() { - const countBreakdown = { by: "count", count: true, bytes: true }; - - const BREAKDOWN = { - by: "allocationStack", - then: countBreakdown, - noStack: countBreakdown, - }; - - const stacks = []; - - function foo(depth = 1) { - stacks.push(saveStack(depth)); - bar(depth + 1); - baz(depth + 1); - stacks.push(saveStack(depth)); - } - - function bar(depth = 1) { - stacks.push(saveStack(depth)); - stacks.push(saveStack(depth)); - } - - function baz(depth = 1) { - stacks.push(saveStack(depth)); - bang(depth + 1); - stacks.push(saveStack(depth)); - } - - function bang(depth = 1) { - stacks.push(saveStack(depth)); - stacks.push(saveStack(depth)); - stacks.push(saveStack(depth)); - } - - foo(); - bar(); - baz(); - bang(); - - const REPORT = new Map(stacks.map((s, i) => { - return [s, { - count: i + 1, - bytes: (i + 1) * 10 - }]; - })); - - const tree = censusReportToCensusTreeNode(BREAKDOWN, REPORT, { - filter: "baz", - invert: true - }); - - dumpn("tree = " + JSON.stringify(tree, savedFrameReplacer, 4)); - - (function assertSortedBySelf(node) { - if (node.children) { - let lastSelfBytes = Infinity; - for (let child of node.children) { - ok(child.bytes <= lastSelfBytes, `${child.bytes} <= ${lastSelfBytes}`); - lastSelfBytes = child.bytes; - assertSortedBySelf(child); - } - } - }(tree)); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_countToBucketBreakdown_01.js b/devtools/shared/heapsnapshot/tests/unit/test_countToBucketBreakdown_01.js deleted file mode 100644 index e89048c33..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_countToBucketBreakdown_01.js +++ /dev/null @@ -1,37 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ -"use strict"; - -// Test that we can turn a breakdown with { by: "count" } leaves into a -// breakdown with { by: "bucket" } leaves. - -const COUNT = { by: "count", count: true, bytes: true }; -const BUCKET = { by: "bucket" }; - -const BREAKDOWN = { - by: "coarseType", - objects: { by: "objectClass", then: COUNT, other: COUNT }, - strings: COUNT, - scripts: { - by: "filename", - then: { by: "internalType", then: COUNT }, - noFilename: { by: "internalType", then: COUNT }, - }, - other: { by: "internalType", then: COUNT }, -}; - -const EXPECTED = { - by: "coarseType", - objects: { by: "objectClass", then: BUCKET, other: BUCKET }, - strings: BUCKET, - scripts: { - by: "filename", - then: { by: "internalType", then: BUCKET }, - noFilename: { by: "internalType", then: BUCKET }, - }, - other: { by: "internalType", then: BUCKET }, -}; - -function run_test() { - assertCountToBucketBreakdown(BREAKDOWN, EXPECTED); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_deduplicatePaths_01.js b/devtools/shared/heapsnapshot/tests/unit/test_deduplicatePaths_01.js deleted file mode 100644 index 418b49db3..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_deduplicatePaths_01.js +++ /dev/null @@ -1,113 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ -"use strict"; - -// Test the behavior of the deduplicatePaths utility function. - -function edge(from, to, name) { - return { from, to, name }; -} - -function run_test() { - const a = 1; - const b = 2; - const c = 3; - const d = 4; - const e = 5; - const f = 6; - const g = 7; - - dumpn("Single long path"); - assertDeduplicatedPaths({ - target: g, - paths: [ - [ - pathEntry(a, "e1"), - pathEntry(b, "e2"), - pathEntry(c, "e3"), - pathEntry(d, "e4"), - pathEntry(e, "e5"), - pathEntry(f, "e6"), - ] - ], - expectedNodes: [a, b, c, d, e, f, g], - expectedEdges: [ - edge(a, b, "e1"), - edge(b, c, "e2"), - edge(c, d, "e3"), - edge(d, e, "e4"), - edge(e, f, "e5"), - edge(f, g, "e6"), - ] - }); - - dumpn("Multiple edges from and to the same nodes"); - assertDeduplicatedPaths({ - target: a, - paths: [ - [pathEntry(b, "x")], - [pathEntry(b, "y")], - [pathEntry(b, "z")], - ], - expectedNodes: [a, b], - expectedEdges: [ - edge(b, a, "x"), - edge(b, a, "y"), - edge(b, a, "z"), - ] - }); - - dumpn("Multiple paths sharing some nodes and edges"); - assertDeduplicatedPaths({ - target: g, - paths: [ - [ - pathEntry(a, "a->b"), - pathEntry(b, "b->c"), - pathEntry(c, "foo"), - ], - [ - pathEntry(a, "a->b"), - pathEntry(b, "b->d"), - pathEntry(d, "bar"), - ], - [ - pathEntry(a, "a->b"), - pathEntry(b, "b->e"), - pathEntry(e, "baz"), - ], - ], - expectedNodes: [a, b, c, d, e, g], - expectedEdges: [ - edge(a, b, "a->b"), - edge(b, c, "b->c"), - edge(b, d, "b->d"), - edge(b, e, "b->e"), - edge(c, g, "foo"), - edge(d, g, "bar"), - edge(e, g, "baz"), - ] - }); - - dumpn("Second shortest path contains target itself"); - assertDeduplicatedPaths({ - target: g, - paths: [ - [ - pathEntry(a, "a->b"), - pathEntry(b, "b->g"), - ], - [ - pathEntry(a, "a->b"), - pathEntry(b, "b->g"), - pathEntry(g, "g->f"), - pathEntry(f, "f->g"), - ], - ], - expectedNodes: [a, b, g], - expectedEdges: [ - edge(a, b, "a->b"), - edge(b, g, "b->g"), - ] - }); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_getCensusIndividuals_01.js b/devtools/shared/heapsnapshot/tests/unit/test_getCensusIndividuals_01.js deleted file mode 100644 index 9c4f60991..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_getCensusIndividuals_01.js +++ /dev/null @@ -1,60 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ -"use strict"; - -// Test basic functionality of `CensusUtils.getCensusIndividuals`. - -function run_test() { - const stack1 = saveStack(1); - const stack2 = saveStack(1); - const stack3 = saveStack(1); - - const COUNT = { by: "count", count: true, bytes: true }; - const INTERNAL_TYPE = { by: "internalType", then: COUNT }; - - const BREAKDOWN = { - by: "allocationStack", - then: INTERNAL_TYPE, - noStack: INTERNAL_TYPE, - }; - - const MOCK_SNAPSHOT = { - takeCensus: ({ breakdown }) => { - assertStructurallyEquivalent( - breakdown, - CensusUtils.countToBucketBreakdown(BREAKDOWN)); - - // DFS Index - return new Map([ // 0 - [stack1, { // 1 - JSObject: [101, 102, 103], // 2 - JSString: [111, 112, 113], // 3 - }], - [stack2, { // 4 - JSObject: [201, 202, 203], // 5 - JSString: [211, 212, 213], // 6 - }], - [stack3, { // 7 - JSObject: [301, 302, 303], // 8 - JSString: [311, 312, 313], // 9 - }], - ["noStack", { // 10 - JSObject: [401, 402, 403], // 11 - JSString: [411, 412, 413], // 12 - }], - ]); - } - }; - - const INDICES = new Set([3, 5, 9]); - - const EXPECTED = new Set([111, 112, 113, - 201, 202, 203, - 311, 312, 313]); - - const actual = new Set(CensusUtils.getCensusIndividuals(INDICES, - BREAKDOWN, - MOCK_SNAPSHOT)); - - assertStructurallyEquivalent(EXPECTED, actual); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_getReportLeaves_01.js b/devtools/shared/heapsnapshot/tests/unit/test_getReportLeaves_01.js deleted file mode 100644 index 4c4298b6a..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_getReportLeaves_01.js +++ /dev/null @@ -1,114 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ -"use strict"; - -// Test basic functionality of `CensusUtils.getReportLeaves`. - -function run_test() { - const BREAKDOWN = { - by: "coarseType", - objects: { - by: "objectClass", - then: { by: "count", count: true, bytes: true }, - other: { by: "count", count: true, bytes: true }, - }, - strings: { by: "count", count: true, bytes: true }, - scripts: { - by: "filename", - then: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, - noFilename: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, - }, - other: { - by: "internalType", - then: { by: "count", count: true, bytes: true }, - }, - }; - - const REPORT = { - objects: { - Array: { count: 6, bytes: 60 }, - Function: { count: 1, bytes: 10 }, - Object: { count: 1, bytes: 10 }, - RegExp: { count: 1, bytes: 10 }, - other: { count: 0, bytes: 0 }, - }, - strings: { count: 1, bytes: 10 }, - scripts: { - "foo.js": { - JSScript: { count: 1, bytes: 10 }, - "js::jit::IonScript": { count: 1, bytes: 10 }, - }, - noFilename: { - JSScript: { count: 1, bytes: 10 }, - "js::jit::IonScript": { count: 1, bytes: 10 }, - }, - }, - other: { - "js::Shape": { count: 7, bytes: 70 }, - "js::BaseShape": { count: 1, bytes: 10 }, - }, - }; - - const root = censusReportToCensusTreeNode(BREAKDOWN, REPORT); - dumpn("CensusTreeNode tree = " + JSON.stringify(root, null, 4)); - - (function assertEveryNodeCanFindItsLeaf(node) { - if (node.reportLeafIndex) { - const [ leaf ] = CensusUtils.getReportLeaves(new Set([node.reportLeafIndex]), - BREAKDOWN, - REPORT); - ok(leaf, "Should be able to find leaf for a node with a reportLeafIndex = " + node.reportLeafIndex); - } - - if (node.children) { - for (let child of node.children) { - assertEveryNodeCanFindItsLeaf(child); - } - } - }(root)); - - // Test finding multiple leaves at a time. - - function find(name, node) { - if (node.name === name) { - return node; - } - - if (node.children) { - for (let child of node.children) { - const found = find(name, child); - if (found) { - return found; - } - } - } - } - - const arrayNode = find("Array", root); - ok(arrayNode); - equal(typeof arrayNode.reportLeafIndex, "number"); - - const shapeNode = find("js::Shape", root); - ok(shapeNode); - equal(typeof shapeNode.reportLeafIndex, "number"); - - const indices = new Set([arrayNode.reportLeafIndex, shapeNode.reportLeafIndex]); - const leaves = CensusUtils.getReportLeaves(indices, BREAKDOWN, REPORT); - equal(leaves.length, 2); - - // `getReportLeaves` does not guarantee order of the results, so handle both - // cases. - ok(leaves.some(l => l === REPORT.objects.Array)); - ok(leaves.some(l => l === REPORT.other["js::Shape"])); - - // Test that bad indices do not yield results. - - const none = CensusUtils.getReportLeaves(new Set([999999999999]), BREAKDOWN, REPORT); - equal(none.length, 0); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/test_saveHeapSnapshot_e10s_01.js b/devtools/shared/heapsnapshot/tests/unit/test_saveHeapSnapshot_e10s_01.js deleted file mode 100644 index 067b9effb..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/test_saveHeapSnapshot_e10s_01.js +++ /dev/null @@ -1,8 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - http://creativecommons.org/publicdomain/zero/1.0/ */ - -// Test saving a heap snapshot in the sandboxed e10s child process. - -function run_test() { - run_test_in_child("../unit/test_SaveHeapSnapshot.js"); -} diff --git a/devtools/shared/heapsnapshot/tests/unit/xpcshell.ini b/devtools/shared/heapsnapshot/tests/unit/xpcshell.ini deleted file mode 100644 index f84b282d1..000000000 --- a/devtools/shared/heapsnapshot/tests/unit/xpcshell.ini +++ /dev/null @@ -1,98 +0,0 @@ -[DEFAULT] -tags = devtools heapsnapshot devtools-memory -head = head_heapsnapshot.js -tail = -firefox-appdir = browser -skip-if = toolkit == 'android' - -support-files = - Census.jsm - dominator-tree-worker.js - heap-snapshot-worker.js - Match.jsm - -[test_census_diff_01.js] -[test_census_diff_02.js] -[test_census_diff_03.js] -[test_census_diff_04.js] -[test_census_diff_05.js] -[test_census_diff_06.js] -[test_census_filtering_01.js] -[test_census_filtering_02.js] -[test_census_filtering_03.js] -[test_census_filtering_04.js] -[test_census_filtering_05.js] -[test_census-tree-node-01.js] -[test_census-tree-node-02.js] -[test_census-tree-node-03.js] -[test_census-tree-node-04.js] -[test_census-tree-node-05.js] -[test_census-tree-node-06.js] -[test_census-tree-node-07.js] -[test_census-tree-node-08.js] -[test_census-tree-node-09.js] -[test_census-tree-node-10.js] -[test_countToBucketBreakdown_01.js] -[test_deduplicatePaths_01.js] -[test_DominatorTree_01.js] -[test_DominatorTree_02.js] -[test_DominatorTree_03.js] -[test_DominatorTree_04.js] -[test_DominatorTree_05.js] -[test_DominatorTree_06.js] -[test_DominatorTreeNode_attachShortestPaths_01.js] -[test_DominatorTreeNode_getNodeByIdAlongPath_01.js] -[test_DominatorTreeNode_insert_01.js] -[test_DominatorTreeNode_insert_02.js] -[test_DominatorTreeNode_insert_03.js] -[test_DominatorTreeNode_LabelAndShallowSize_01.js] -[test_DominatorTreeNode_LabelAndShallowSize_02.js] -[test_DominatorTreeNode_LabelAndShallowSize_03.js] -[test_DominatorTreeNode_LabelAndShallowSize_04.js] -[test_DominatorTreeNode_partialTraversal_01.js] -[test_getCensusIndividuals_01.js] -[test_getReportLeaves_01.js] -[test_HeapAnalyses_computeDominatorTree_01.js] -[test_HeapAnalyses_computeDominatorTree_02.js] -[test_HeapAnalyses_deleteHeapSnapshot_01.js] -[test_HeapAnalyses_deleteHeapSnapshot_02.js] -[test_HeapAnalyses_deleteHeapSnapshot_03.js] -[test_HeapAnalyses_getCensusIndividuals_01.js] -[test_HeapAnalyses_getCreationTime_01.js] -[test_HeapAnalyses_getDominatorTree_01.js] -[test_HeapAnalyses_getDominatorTree_02.js] -[test_HeapAnalyses_getImmediatelyDominated_01.js] -[test_HeapAnalyses_readHeapSnapshot_01.js] -[test_HeapAnalyses_takeCensusDiff_01.js] -[test_HeapAnalyses_takeCensusDiff_02.js] -[test_HeapAnalyses_takeCensus_01.js] -[test_HeapAnalyses_takeCensus_02.js] -[test_HeapAnalyses_takeCensus_03.js] -[test_HeapAnalyses_takeCensus_04.js] -[test_HeapAnalyses_takeCensus_05.js] -[test_HeapAnalyses_takeCensus_06.js] -[test_HeapAnalyses_takeCensus_07.js] -[test_HeapSnapshot_creationTime_01.js] -[test_HeapSnapshot_deepStack_01.js] -[test_HeapSnapshot_describeNode_01.js] -[test_HeapSnapshot_computeShortestPaths_01.js] -[test_HeapSnapshot_computeShortestPaths_02.js] -[test_HeapSnapshot_takeCensus_01.js] -[test_HeapSnapshot_takeCensus_02.js] -[test_HeapSnapshot_takeCensus_03.js] -[test_HeapSnapshot_takeCensus_04.js] -[test_HeapSnapshot_takeCensus_05.js] -[test_HeapSnapshot_takeCensus_06.js] -[test_HeapSnapshot_takeCensus_07.js] -[test_HeapSnapshot_takeCensus_08.js] -[test_HeapSnapshot_takeCensus_09.js] -[test_HeapSnapshot_takeCensus_10.js] -[test_HeapSnapshot_takeCensus_11.js] -[test_HeapSnapshot_takeCensus_12.js] -[test_ReadHeapSnapshot.js] -[test_ReadHeapSnapshot_with_allocations.js] -skip-if = os == 'linux' # Bug 1176173 -[test_ReadHeapSnapshot_worker.js] -skip-if = os == 'linux' # Bug 1176173 -[test_SaveHeapSnapshot.js] -[test_saveHeapSnapshot_e10s_01.js] diff --git a/devtools/shared/jsinspector/moz.build b/devtools/shared/jsinspector/moz.build deleted file mode 100644 index fc81f7e1e..000000000 --- a/devtools/shared/jsinspector/moz.build +++ /dev/null @@ -1,17 +0,0 @@ -# -*- Mode: python; 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/. - -XPIDL_SOURCES += [ - 'nsIJSInspector.idl', -] - -XPIDL_MODULE = 'jsinspector' - -SOURCES += [ - 'nsJSInspector.cpp', -] - -FINAL_LIBRARY = 'xul' diff --git a/devtools/shared/jsinspector/nsIJSInspector.idl b/devtools/shared/jsinspector/nsIJSInspector.idl deleted file mode 100644 index 40ad49523..000000000 --- a/devtools/shared/jsinspector/nsIJSInspector.idl +++ /dev/null @@ -1,75 +0,0 @@ -/* 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/. */ - -#include "nsISupports.idl" - -/** - * Utilities for running nested event loops, asking them to return, and - * keeping track of which ones are still running. - */ -[scriptable, uuid(6758d0d7-e96a-4c5c-bca8-3bcbe5a15943)] -interface nsIJSInspector : nsISupports -{ - /** - * Process the current thread's event queue, calling event handlers until - * a call to exitNestedEventLoop, below, asks us to return. - * - * The name 'enterNestedEventLoop' may be misleading if read too literally. - * This method loops calling event handlers until one asks it to stop, and - * then returns. So by that point, the nested event loop has been not only - * entered, but also run and exited. - * - * When enterNestedEventLoop calls an event handler, that handler may itself - * call enterNestedEventLoop, and so on, so that there may be arbitrarily - * many such calls on the stack at the same time. - * - * We say an enterNestedEventLoop call is "running" if it has not yet been - * asked to return, or "stopped" if it has been asked to return once it has - * finished processing the current event. - * - * @param requestor A token of the caller's choice to identify this event - * loop. - * - * @return depth The number of running enterNestedEventLoop calls - * remaining, now that this one has returned. - * - * (Note that not all calls still on the stack are - * necessary running; exitNestedEventLoop can ask any - * number of enterNestedEventLoop calls to return.) - */ - unsigned long enterNestedEventLoop(in jsval requestor); - - /** - * Stop the youngest running enterNestedEventLoop call, asking it to return - * once it has finished processing the current event. - * - * The name 'exitNestedEventLoop' may be misleading if read too literally. - * The affected event loop does not return immediately when this method is - * called. Rather, this method simply returns to its caller; the affected - * loop's current event handler is allowed to run to completion; and then - * that loop returns without processing any more events. - * - * This method ignores loops that have already been stopped, and operates on - * the youngest loop that is still running. Each call to this method stops - * another running loop. - * - * @return depth The number of running enterNestedEventLoop calls - * remaining, now that one has been stopped. - * - * @throws NS_ERROR_FAILURE if there are no running enterNestedEventLoop calls. - */ - unsigned long exitNestedEventLoop(); - - /** - * The number of running enterNestedEventLoop calls on the stack. - * This count does not include stopped enterNestedEventLoop calls. - */ - readonly attribute unsigned long eventLoopNestLevel; - - /** - * The |requestor| value that was passed to the youngest running - * enterNestedEventLoop call. - */ - readonly attribute jsval lastNestRequestor; -}; diff --git a/devtools/shared/jsinspector/nsJSInspector.cpp b/devtools/shared/jsinspector/nsJSInspector.cpp deleted file mode 100644 index 457e64c08..000000000 --- a/devtools/shared/jsinspector/nsJSInspector.cpp +++ /dev/null @@ -1,146 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ -/* 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/. */ - -#include "nsJSInspector.h" -#include "nsIXPConnect.h" -#include "nsThreadUtils.h" -#include "jsfriendapi.h" -#include "mozilla/HoldDropJSObjects.h" -#include "mozilla/ModuleUtils.h" -#include "mozilla/dom/ScriptSettings.h" -#include "nsServiceManagerUtils.h" -#include "nsMemory.h" -#include "nsArray.h" -#include "nsTArray.h" - -#define JSINSPECTOR_CONTRACTID \ - "@mozilla.org/jsinspector;1" - -#define JSINSPECTOR_CID \ -{ 0xec5aa99c, 0x7abb, 0x4142, { 0xac, 0x5f, 0xaa, 0xb2, 0x41, 0x9e, 0x38, 0xe2 } } - -namespace mozilla { -namespace jsinspector { - -NS_GENERIC_FACTORY_CONSTRUCTOR(nsJSInspector) - -NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsJSInspector) - NS_INTERFACE_MAP_ENTRY(nsISupports) - NS_INTERFACE_MAP_ENTRY(nsIJSInspector) -NS_INTERFACE_MAP_END - -NS_IMPL_CYCLE_COLLECTION_CLASS(nsJSInspector) - -NS_IMPL_CYCLE_COLLECTING_ADDREF(nsJSInspector) -NS_IMPL_CYCLE_COLLECTING_RELEASE(nsJSInspector) - -NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(nsJSInspector) -NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END - -NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN(nsJSInspector) - tmp->mRequestors.Clear(); - tmp->mLastRequestor = JS::NullValue(); -NS_IMPL_CYCLE_COLLECTION_UNLINK_END - -NS_IMPL_CYCLE_COLLECTION_TRACE_BEGIN(nsJSInspector) - for (uint32_t i = 0; i < tmp->mRequestors.Length(); ++i) { - NS_IMPL_CYCLE_COLLECTION_TRACE_JS_MEMBER_CALLBACK(mRequestors[i]) - } - NS_IMPL_CYCLE_COLLECTION_TRACE_JS_MEMBER_CALLBACK(mLastRequestor) -NS_IMPL_CYCLE_COLLECTION_TRACE_END - -nsJSInspector::nsJSInspector() : mNestedLoopLevel(0), mRequestors(1), mLastRequestor(JS::NullValue()) -{ -} - -nsJSInspector::~nsJSInspector() -{ - MOZ_ASSERT(mRequestors.Length() == 0); - MOZ_ASSERT(mLastRequestor.isNull()); - mozilla::DropJSObjects(this); -} - -NS_IMETHODIMP -nsJSInspector::EnterNestedEventLoop(JS::Handle requestor, uint32_t *out) -{ - nsresult rv = NS_OK; - - mLastRequestor = requestor; - mRequestors.AppendElement(requestor); - mozilla::HoldJSObjects(this); - - mozilla::dom::AutoNoJSAPI nojsapi; - - uint32_t nestLevel = ++mNestedLoopLevel; - while (NS_SUCCEEDED(rv) && mNestedLoopLevel >= nestLevel) { - if (!NS_ProcessNextEvent()) - rv = NS_ERROR_UNEXPECTED; - } - - NS_ASSERTION(mNestedLoopLevel <= nestLevel, - "nested event didn't unwind properly"); - - if (mNestedLoopLevel == nestLevel) { - mLastRequestor = mRequestors.ElementAt(--mNestedLoopLevel); - } - - *out = mNestedLoopLevel; - return rv; -} - -NS_IMETHODIMP -nsJSInspector::ExitNestedEventLoop(uint32_t *out) -{ - if (mNestedLoopLevel > 0) { - mRequestors.RemoveElementAt(--mNestedLoopLevel); - if (mNestedLoopLevel > 0) - mLastRequestor = mRequestors.ElementAt(mNestedLoopLevel - 1); - else - mLastRequestor = JS::NullValue(); - } else { - return NS_ERROR_FAILURE; - } - - *out = mNestedLoopLevel; - - return NS_OK; -} - -NS_IMETHODIMP -nsJSInspector::GetEventLoopNestLevel(uint32_t *out) -{ - *out = mNestedLoopLevel; - return NS_OK; -} - -NS_IMETHODIMP -nsJSInspector::GetLastNestRequestor(JS::MutableHandle out) -{ - out.set(mLastRequestor); - return NS_OK; -} - -} // namespace jsinspector -} // namespace mozilla - -NS_DEFINE_NAMED_CID(JSINSPECTOR_CID); - -static const mozilla::Module::CIDEntry kJSInspectorCIDs[] = { - { &kJSINSPECTOR_CID, false, nullptr, mozilla::jsinspector::nsJSInspectorConstructor }, - { nullptr } -}; - -static const mozilla::Module::ContractIDEntry kJSInspectorContracts[] = { - { JSINSPECTOR_CONTRACTID, &kJSINSPECTOR_CID }, - { nullptr } -}; - -static const mozilla::Module kJSInspectorModule = { - mozilla::Module::kVersion, - kJSInspectorCIDs, - kJSInspectorContracts -}; - -NSMODULE_DEFN(jsinspector) = &kJSInspectorModule; diff --git a/devtools/shared/jsinspector/nsJSInspector.h b/devtools/shared/jsinspector/nsJSInspector.h deleted file mode 100644 index 4e60b0428..000000000 --- a/devtools/shared/jsinspector/nsJSInspector.h +++ /dev/null @@ -1,39 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ -/* 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/. */ - -#ifndef COMPONENTS_JSINSPECTOR_H -#define COMPONENTS_JSINSPECTOR_H - -#include "nsIJSInspector.h" -#include "mozilla/Attributes.h" -#include "nsCycleCollectionParticipant.h" -#include "nsTArray.h" -#include "js/Value.h" -#include "js/RootingAPI.h" - -namespace mozilla { -namespace jsinspector { - -class nsJSInspector final : public nsIJSInspector -{ -public: - NS_DECL_CYCLE_COLLECTING_ISUPPORTS - NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(nsJSInspector) - NS_DECL_NSIJSINSPECTOR - - nsJSInspector(); - -private: - ~nsJSInspector(); - - uint32_t mNestedLoopLevel; - nsTArray > mRequestors; - JS::Heap mLastRequestor; -}; - -} // namespace jsinspector -} // namespace mozilla - -#endif diff --git a/devtools/shared/moz.build b/devtools/shared/moz.build index 6c61206dd..9dd4a20d6 100644 --- a/devtools/shared/moz.build +++ b/devtools/shared/moz.build @@ -14,10 +14,8 @@ DIRS += [ 'discovery', 'fronts', 'gcli', - 'heapsnapshot', 'inspector', 'jsbeautify', - 'jsinspector', 'layout', 'locales', 'node-properties', -- cgit v1.2.3 From e9ee12c988d80f847f8163c0873db9639b3fa8f4 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sun, 23 Feb 2020 10:38:36 -0500 Subject: Follow-up to 4e2e9be6a - Move HeapSnapshot DevTools-only Modules back to DevTools I am so done with this. Resolves #316 --- devtools/shared/heapsnapshot/CensusUtils.js | 489 ++++++++++++++ devtools/shared/heapsnapshot/DominatorTreeNode.js | 336 +++++++++ devtools/shared/heapsnapshot/HeapAnalysesClient.js | 277 ++++++++ devtools/shared/heapsnapshot/HeapAnalysesWorker.js | 303 +++++++++ .../shared/heapsnapshot/HeapSnapshotFileUtils.js | 95 +++ devtools/shared/heapsnapshot/census-tree-node.js | 748 +++++++++++++++++++++ devtools/shared/heapsnapshot/moz.build | 15 + devtools/shared/heapsnapshot/shortest-paths.js | 91 +++ devtools/shared/moz.build | 1 + 9 files changed, 2355 insertions(+) create mode 100644 devtools/shared/heapsnapshot/CensusUtils.js create mode 100644 devtools/shared/heapsnapshot/DominatorTreeNode.js create mode 100644 devtools/shared/heapsnapshot/HeapAnalysesClient.js create mode 100644 devtools/shared/heapsnapshot/HeapAnalysesWorker.js create mode 100644 devtools/shared/heapsnapshot/HeapSnapshotFileUtils.js create mode 100644 devtools/shared/heapsnapshot/census-tree-node.js create mode 100644 devtools/shared/heapsnapshot/moz.build create mode 100644 devtools/shared/heapsnapshot/shortest-paths.js (limited to 'devtools') diff --git a/devtools/shared/heapsnapshot/CensusUtils.js b/devtools/shared/heapsnapshot/CensusUtils.js new file mode 100644 index 000000000..36bdd2d82 --- /dev/null +++ b/devtools/shared/heapsnapshot/CensusUtils.js @@ -0,0 +1,489 @@ +/* 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/. */ +"use strict"; + +const { flatten } = require("resource://devtools/shared/ThreadSafeDevToolsUtils.js"); + +/** * Visitor ****************************************************************/ + +/** + * A Visitor visits each node and edge of a census report tree as the census + * report is being traversed by `walk`. + */ +function Visitor() { } +exports.Visitor = Visitor; + +/** + * The `enter` method is called when a new sub-report is entered in traversal. + * + * @param {Object} breakdown + * The breakdown for the sub-report that is being entered by traversal. + * + * @param {Object} report + * The report generated by the given breakdown. + * + * @param {any} edge + * The edge leading to this sub-report. The edge is null if (but not iff! + * eg, null allocation stack edges) we are entering the root report. + */ +Visitor.prototype.enter = function (breakdown, report, edge) { }; + +/** + * The `exit` method is called when traversal of a sub-report has finished. + * + * @param {Object} breakdown + * The breakdown for the sub-report whose traversal has finished. + * + * @param {Object} report + * The report generated by the given breakdown. + * + * @param {any} edge + * The edge leading to this sub-report. The edge is null if (but not iff! + * eg, null allocation stack edges) we are entering the root report. + */ +Visitor.prototype.exit = function (breakdown, report, edge) { }; + +/** + * The `count` method is called when leaf nodes (reports whose breakdown is + * by: "count") in the report tree are encountered. + * + * @param {Object} breakdown + * The count breakdown for this report. + * + * @param {Object} report + * The report generated by a breakdown by "count". + * + * @param {any|null} edge + * The edge leading to this count report. The edge is null if we are + * entering the root report. + */ +Visitor.prototype.count = function (breakdown, report, edge) { }; + +/** * getReportEdges *********************************************************/ + +const EDGES = Object.create(null); + +EDGES.count = function (breakdown, report) { + return []; +}; + +EDGES.bucket = function (breakdown, report) { + return []; +}; + +EDGES.internalType = function (breakdown, report) { + return Object.keys(report).map(key => ({ + edge: key, + referent: report[key], + breakdown: breakdown.then + })); +}; + +EDGES.objectClass = function (breakdown, report) { + return Object.keys(report).map(key => ({ + edge: key, + referent: report[key], + breakdown: key === "other" ? breakdown.other : breakdown.then + })); +}; + +EDGES.coarseType = function (breakdown, report) { + return [ + { edge: "objects", referent: report.objects, breakdown: breakdown.objects }, + { edge: "scripts", referent: report.scripts, breakdown: breakdown.scripts }, + { edge: "strings", referent: report.strings, breakdown: breakdown.strings }, + { edge: "other", referent: report.other, breakdown: breakdown.other }, + ]; +}; + +EDGES.allocationStack = function (breakdown, report) { + const edges = []; + report.forEach((value, key) => { + edges.push({ + edge: key, + referent: value, + breakdown: key === "noStack" ? breakdown.noStack : breakdown.then + }); + }); + return edges; +}; + +EDGES.filename = function (breakdown, report) { + return Object.keys(report).map(key => ({ + edge: key, + referent: report[key], + breakdown: key === "noFilename" ? breakdown.noFilename : breakdown.then + })); +}; + +/** + * Get the set of outgoing edges from `report` as specified by the given + * breakdown. + * + * @param {Object} breakdown + * The census breakdown. + * + * @param {Object} report + * The census report. + */ +function getReportEdges(breakdown, report) { + return EDGES[breakdown.by](breakdown, report); +} +exports.getReportEdges = getReportEdges; + +/** * walk *******************************************************************/ + +function recursiveWalk(breakdown, edge, report, visitor) { + if (breakdown.by === "count") { + visitor.enter(breakdown, report, edge); + visitor.count(breakdown, report, edge); + visitor.exit(breakdown, report, edge); + } else { + visitor.enter(breakdown, report, edge); + for (let { edge, referent, breakdown: subBreakdown } of getReportEdges(breakdown, report)) { + recursiveWalk(subBreakdown, edge, referent, visitor); + } + visitor.exit(breakdown, report, edge); + } +} + +/** + * Walk the given `report` that was generated by taking a census with the + * specified `breakdown`. + * + * @param {Object} breakdown + * The census breakdown. + * + * @param {Object} report + * The census report. + * + * @param {Visitor} visitor + * The Visitor instance to call into while traversing. + */ +function walk(breakdown, report, visitor) { + recursiveWalk(breakdown, null, report, visitor); +} +exports.walk = walk; + +/** * diff *******************************************************************/ + +/** + * Return true if the object is a Map, false otherwise. Works with Map objects + * from other globals, unlike `instanceof`. + * + * @returns {Boolean} + */ +function isMap(obj) { + return Object.prototype.toString.call(obj) === "[object Map]"; +} + +/** + * A Visitor for computing the difference between the census report being + * traversed and the given other census. + * + * @param {Object} otherCensus + * The other census report. + */ +function DiffVisitor(otherCensus) { + // The other census we are comparing against. + this._otherCensus = otherCensus; + + // The total bytes and count of the basis census we are traversing. + this._totalBytes = 0; + this._totalCount = 0; + + // Stack maintaining the current corresponding sub-report for the other + // census we are comparing against. + this._otherCensusStack = []; + + // Stack maintaining the set of edges visited at each sub-report. + this._edgesVisited = [new Set()]; + + // The final delta census. Valid only after traversal. + this._results = null; + + // Stack maintaining the results corresponding to each sub-report we are + // currently traversing. + this._resultsStack = []; +} + +DiffVisitor.prototype = Object.create(Visitor.prototype); + +/** + * Given a report and an outgoing edge, get the edge's referent. + */ +DiffVisitor.prototype._get = function (report, edge) { + if (!report) { + return undefined; + } + return isMap(report) ? report.get(edge) : report[edge]; +}; + +/** + * Given a report, an outgoing edge, and a value, set the edge's referent to + * the given value. + */ +DiffVisitor.prototype._set = function (report, edge, val) { + if (isMap(report)) { + report.set(edge, val); + } else { + report[edge] = val; + } +}; + +/** + * @overrides Visitor.prototype.enter + */ +DiffVisitor.prototype.enter = function (breakdown, report, edge) { + const isFirstTimeEntering = this._results === null; + + const newResults = breakdown.by === "allocationStack" ? new Map() : {}; + let newOther; + + if (!this._results) { + // This is the first time we have entered a sub-report. + this._results = newResults; + newOther = this._otherCensus; + } else { + const topResults = this._resultsStack[this._resultsStack.length - 1]; + this._set(topResults, edge, newResults); + + const topOther = this._otherCensusStack[this._otherCensusStack.length - 1]; + newOther = this._get(topOther, edge); + } + + this._resultsStack.push(newResults); + this._otherCensusStack.push(newOther); + + const visited = this._edgesVisited[this._edgesVisited.length - 1]; + visited.add(edge); + this._edgesVisited.push(new Set()); +}; + +/** + * @overrides Visitor.prototype.exit + */ +DiffVisitor.prototype.exit = function (breakdown, report, edge) { + // Find all the edges in the other census report that were not traversed and + // add them to the results directly. + const other = this._otherCensusStack[this._otherCensusStack.length - 1]; + if (other) { + const visited = this._edgesVisited[this._edgesVisited.length - 1]; + const unvisited = getReportEdges(breakdown, other) + .map(e => e.edge) + .filter(e => !visited.has(e)); + const results = this._resultsStack[this._resultsStack.length - 1]; + for (let edge of unvisited) { + this._set(results, edge, this._get(other, edge)); + } + } + + this._otherCensusStack.pop(); + this._resultsStack.pop(); + this._edgesVisited.pop(); +}; + +/** + * @overrides Visitor.prototype.count + */ +DiffVisitor.prototype.count = function (breakdown, report, edge) { + const other = this._otherCensusStack[this._otherCensusStack.length - 1]; + const results = this._resultsStack[this._resultsStack.length - 1]; + + if (breakdown.count) { + this._totalCount += report.count; + } + if (breakdown.bytes) { + this._totalBytes += report.bytes; + } + + if (other) { + if (breakdown.count) { + results.count = other.count - report.count; + } + if (breakdown.bytes) { + results.bytes = other.bytes - report.bytes; + } + } else { + if (breakdown.count) { + results.count = -report.count; + } + if (breakdown.bytes) { + results.bytes = -report.bytes; + } + } +}; + +const basisTotalBytes = exports.basisTotalBytes = Symbol("basisTotalBytes"); +const basisTotalCount = exports.basisTotalCount = Symbol("basisTotalCount"); + +/** + * Get the resulting report of the difference between the traversed census + * report and the other census report. + * + * @returns {Object} + * The delta census report. + */ +DiffVisitor.prototype.results = function () { + if (!this._results) { + throw new Error("Attempt to get results before computing diff!"); + } + + if (this._resultsStack.length) { + throw new Error("Attempt to get results while still computing diff!"); + } + + this._results[basisTotalBytes] = this._totalBytes; + this._results[basisTotalCount] = this._totalCount; + + return this._results; +}; + +/** + * Take the difference between two censuses. The resulting delta report + * contains the number/size of things that are in the `endCensus` that are not + * in the `startCensus`. + * + * @param {Object} breakdown + * The breakdown used to generate both census reports. + * + * @param {Object} startCensus + * The first census report. + * + * @param {Object} endCensus + * The second census report. + * + * @returns {Object} + * A delta report mirroring the structure of the two census reports (as + * specified by the given breakdown). Has two additional properties: + * - {Number} basisTotalBytes: the total number of bytes in the start + * census. + * - {Number} basisTotalCount: the total count in the start census. + */ +function diff(breakdown, startCensus, endCensus) { + const visitor = new DiffVisitor(endCensus); + walk(breakdown, startCensus, visitor); + return visitor.results(); +} +exports.diff = diff; + +/** + * Creates a hash map mapping node IDs to its parent node. + * + * @param {CensusTreeNode} node + * @param {Object} aggregator + * + * @return {Object} + */ +const createParentMap = exports.createParentMap = function (node, + getId = node => node.id, + aggregator = Object.create(null)) { + if (node.children) { + for (let i = 0, length = node.children.length; i < length; i++) { + const child = node.children[i]; + aggregator[getId(child)] = node; + createParentMap(child, getId, aggregator); + } + } + + return aggregator; +}; + +const BUCKET = Object.freeze({ by: "bucket" }); + +/** + * Convert a breakdown whose leaves are { by: "count" } to an identical + * breakdown, except with { by: "bucket" } leaves. + * + * @param {Object} breakdown + * @returns {Object} + */ +exports.countToBucketBreakdown = function (breakdown) { + if (typeof breakdown !== "object" || !breakdown) { + return breakdown; + } + + if (breakdown.by === "count") { + return BUCKET; + } + + const keys = Object.keys(breakdown); + const vals = keys.reduce((vs, k) => { + vs.push(exports.countToBucketBreakdown(breakdown[k])); + return vs; + }, []); + + const result = {}; + for (let i = 0, length = keys.length; i < length; i++) { + result[keys[i]] = vals[i]; + } + + return Object.freeze(result); +}; + +/** + * A Visitor for finding report leaves by their DFS index. + */ +function GetLeavesVisitor(targetIndices) { + this._index = -1; + this._targetIndices = targetIndices; + this._leaves = []; +} + +GetLeavesVisitor.prototype = Object.create(Visitor.prototype); + +/** + * @overrides Visitor.prototype.enter + */ +GetLeavesVisitor.prototype.enter = function (breakdown, report, edge) { + this._index++; + if (this._targetIndices.has(this._index)) { + this._leaves.push(report); + } +}; + +/** + * Get the accumulated report leaves after traversal. + */ +GetLeavesVisitor.prototype.leaves = function () { + if (this._index === -1) { + throw new Error("Attempt to call `leaves` before traversing report!"); + } + return this._leaves; +}; + +/** + * Given a set of indices of leaves in a pre-order depth-first traversal of the + * given census report, return the leaves. + * + * @param {Set} indices + * @param {Object} breakdown + * @param {Object} report + * + * @returns {Array} + */ +exports.getReportLeaves = function (indices, breakdown, report) { + const visitor = new GetLeavesVisitor(indices); + walk(breakdown, report, visitor); + return visitor.leaves(); +}; + +/** + * Get a list of the individual node IDs that belong to the census report leaves + * of the given indices. + * + * @param {Set} indices + * @param {Object} breakdown + * @param {HeapSnapshot} snapshot + * + * @returns {Array} + */ +exports.getCensusIndividuals = function (indices, countBreakdown, snapshot) { + const bucketBreakdown = exports.countToBucketBreakdown(countBreakdown); + const bucketReport = snapshot.takeCensus({ breakdown: bucketBreakdown }); + const buckets = exports.getReportLeaves(indices, + bucketBreakdown, + bucketReport); + return flatten(buckets); +}; diff --git a/devtools/shared/heapsnapshot/DominatorTreeNode.js b/devtools/shared/heapsnapshot/DominatorTreeNode.js new file mode 100644 index 000000000..13a847fd0 --- /dev/null +++ b/devtools/shared/heapsnapshot/DominatorTreeNode.js @@ -0,0 +1,336 @@ +/* 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/. */ +"use strict"; + +const { immutableUpdate } = require("resource://devtools/shared/ThreadSafeDevToolsUtils.js"); +const { Visitor, walk } = require("resource://devtools/shared/heapsnapshot/CensusUtils.js"); +const { deduplicatePaths } = require("resource://devtools/shared/heapsnapshot/shortest-paths"); + +const DEFAULT_MAX_DEPTH = 4; +const DEFAULT_MAX_SIBLINGS = 15; +const DEFAULT_MAX_NUM_PATHS = 5; + +/** + * A single node in a dominator tree. + * + * @param {NodeId} nodeId + * @param {NodeSize} retainedSize + */ +function DominatorTreeNode(nodeId, label, shallowSize, retainedSize) { + // The id of this node. + this.nodeId = nodeId; + + // The label structure generated by describing the given node. + this.label = label; + + // The shallow size of this node. + this.shallowSize = shallowSize; + + // The retained size of this node. + this.retainedSize = retainedSize; + + // The id of this node's parent or undefined if this node is the root. + this.parentId = undefined; + + // An array of immediately dominated child `DominatorTreeNode`s, or undefined. + this.children = undefined; + + // An object of the form returned by `deduplicatePaths`, encoding the set of + // the N shortest retaining paths for this node as a graph. + this.shortestPaths = undefined; + + // True iff the `children` property does not contain every immediately + // dominated node. + // + // * If children is an array and this property is true: the array does not + // contain the complete set of immediately dominated children. + // * If children is an array and this property is false: the array contains + // the complete set of immediately dominated children. + // * If children is undefined and this property is true: there exist + // immediately dominated children for this node, but they have not been + // loaded yet. + // * If children is undefined and this property is false: this node does not + // dominate any others and therefore has no children. + this.moreChildrenAvailable = true; +} + +DominatorTreeNode.prototype = null; + +module.exports = DominatorTreeNode; + +/** + * Add `child` to the `parent`'s set of children. + * + * @param {DominatorTreeNode} parent + * @param {DominatorTreeNode} child + */ +DominatorTreeNode.addChild = function (parent, child) { + if (parent.children === undefined) { + parent.children = []; + } + + parent.children.push(child); + child.parentId = parent.nodeId; +}; + +/** + * A Visitor that is used to generate a label for a node in the heap snapshot + * and get its shallow size as well while we are at it. + */ +function LabelAndShallowSizeVisitor() { + // As we walk the description, we accumulate edges in this array. + this._labelPieces = []; + + // Once we reach the non-zero count leaf node in the description, we move the + // labelPieces here to signify that we no longer need to accumulate edges. + this._label = undefined; + + // Once we reach the non-zero count leaf node in the description, we grab the + // shallow size and place it here. + this._shallowSize = 0; +} + +DominatorTreeNode.LabelAndShallowSizeVisitor = LabelAndShallowSizeVisitor; + +LabelAndShallowSizeVisitor.prototype = Object.create(Visitor); + +/** + * @overrides Visitor.prototype.enter + */ +LabelAndShallowSizeVisitor.prototype.enter = function (breakdown, report, edge) { + if (this._labelPieces && edge) { + this._labelPieces.push(edge); + } +}; + +/** + * @overrides Visitor.prototype.exit + */ +LabelAndShallowSizeVisitor.prototype.exit = function (breakdown, report, edge) { + if (this._labelPieces && edge) { + this._labelPieces.pop(); + } +}; + +/** + * @overrides Visitor.prototype.count + */ +LabelAndShallowSizeVisitor.prototype.count = function (breakdown, report, edge) { + if (report.count === 0) { + return; + } + + this._label = this._labelPieces; + this._labelPieces = undefined; + + this._shallowSize = report.bytes; +}; + +/** + * Get the generated label structure accumulated by this visitor. + * + * @returns {Object} + */ +LabelAndShallowSizeVisitor.prototype.label = function () { + return this._label; +}; + +/** + * Get the shallow size of the node this visitor visited. + * + * @returns {Number} + */ +LabelAndShallowSizeVisitor.prototype.shallowSize = function () { + return this._shallowSize; +}; + +/** + * Generate a label structure for the node with the given id and grab its + * shallow size. + * + * What is a "label" structure? HeapSnapshot.describeNode essentially takes a + * census of a single node rather than the whole heap graph. The resulting + * report has only one count leaf that is non-zero. The label structure is the + * path in this report from the root to the non-zero count leaf. + * + * @param {Number} nodeId + * @param {HeapSnapshot} snapshot + * @param {Object} breakdown + * + * @returns {Object} + * An object with the following properties: + * - {Number} shallowSize + * - {Object} label + */ +DominatorTreeNode.getLabelAndShallowSize = function (nodeId, + snapshot, + breakdown) { + const description = snapshot.describeNode(breakdown, nodeId); + + const visitor = new LabelAndShallowSizeVisitor(); + walk(breakdown, description, visitor); + + return { + label: visitor.label(), + shallowSize: visitor.shallowSize(), + }; +}; + +/** + * Do a partial traversal of the given dominator tree and convert it into a tree + * of `DominatorTreeNode`s. Dominator trees have a node for every node in the + * snapshot's heap graph, so we must not allocate a JS object for every node. It + * would be way too many and the node count is effectively unbounded. + * + * Go no deeper down the tree than `maxDepth` and only consider at most + * `maxSiblings` within any single node's children. + * + * @param {DominatorTree} dominatorTree + * @param {HeapSnapshot} snapshot + * @param {Object} breakdown + * @param {Number} maxDepth + * @param {Number} maxSiblings + * + * @returns {DominatorTreeNode} + */ +DominatorTreeNode.partialTraversal = function (dominatorTree, + snapshot, + breakdown, + maxDepth = DEFAULT_MAX_DEPTH, + maxSiblings = DEFAULT_MAX_SIBLINGS) { + function dfs(nodeId, depth) { + const { label, shallowSize } = + DominatorTreeNode.getLabelAndShallowSize(nodeId, snapshot, breakdown); + const retainedSize = dominatorTree.getRetainedSize(nodeId); + const node = new DominatorTreeNode(nodeId, label, shallowSize, retainedSize); + const childNodeIds = dominatorTree.getImmediatelyDominated(nodeId); + + const newDepth = depth + 1; + if (newDepth < maxDepth) { + const endIdx = Math.min(childNodeIds.length, maxSiblings); + for (let i = 0; i < endIdx; i++) { + DominatorTreeNode.addChild(node, dfs(childNodeIds[i], newDepth)); + } + node.moreChildrenAvailable = endIdx < childNodeIds.length; + } else { + node.moreChildrenAvailable = childNodeIds.length > 0; + } + + return node; + } + + return dfs(dominatorTree.root, 0); +}; + +/** + * Insert more children into the given (partially complete) dominator tree. + * + * The tree is updated in an immutable and persistent manner: a new tree is + * returned, but all unmodified subtrees (which is most) are shared with the + * original tree. Only the modified nodes are re-allocated. + * + * @param {DominatorTreeNode} tree + * @param {Array} path + * @param {Array} newChildren + * @param {Boolean} moreChildrenAvailable + * + * @returns {DominatorTreeNode} + */ +DominatorTreeNode.insert = function (tree, path, newChildren, moreChildrenAvailable) { + function insert(tree, i) { + if (tree.nodeId !== path[i]) { + return tree; + } + + if (i == path.length - 1) { + return immutableUpdate(tree, { + children: (tree.children || []).concat(newChildren), + moreChildrenAvailable, + }); + } + + return tree.children + ? immutableUpdate(tree, { + children: tree.children.map(c => insert(c, i + 1)) + }) + : tree; + } + + return insert(tree, 0); +}; + +/** + * Get the new canonical node with the given `id` in `tree` that exists along + * `path`. If there is no such node along `path`, return null. + * + * This is useful if we have a reference to a now-outdated DominatorTreeNode due + * to a recent call to DominatorTreeNode.insert and want to get the up-to-date + * version. We don't have to walk the whole tree: if there is an updated version + * of the node then it *must* be along the path. + * + * @param {NodeId} id + * @param {DominatorTreeNode} tree + * @param {Array} path + * + * @returns {DominatorTreeNode|null} + */ +DominatorTreeNode.getNodeByIdAlongPath = function (id, tree, path) { + function find(node, i) { + if (!node || node.nodeId !== path[i]) { + return null; + } + + if (node.nodeId === id) { + return node; + } + + if (i === path.length - 1 || !node.children) { + return null; + } + + const nextId = path[i + 1]; + return find(node.children.find(c => c.nodeId === nextId), i + 1); + } + + return find(tree, 0); +}; + +/** + * Find the shortest retaining paths for the given set of DominatorTreeNodes, + * and populate each node's `shortestPaths` property with them in place. + * + * @param {HeapSnapshot} snapshot + * @param {Object} breakdown + * @param {NodeId} start + * @param {Array} treeNodes + * @param {Number} maxNumPaths + */ +DominatorTreeNode.attachShortestPaths = function (snapshot, + breakdown, + start, + treeNodes, + maxNumPaths = DEFAULT_MAX_NUM_PATHS) { + const idToTreeNode = new Map(); + const targets = []; + for (let node of treeNodes) { + const id = node.nodeId; + idToTreeNode.set(id, node); + targets.push(id); + } + + const shortestPaths = snapshot.computeShortestPaths(start, + targets, + maxNumPaths); + + for (let [target, paths] of shortestPaths) { + const deduped = deduplicatePaths(target, paths); + deduped.nodes = deduped.nodes.map(id => { + const { label } = + DominatorTreeNode.getLabelAndShallowSize(id, snapshot, breakdown); + return { id, label }; + }); + + idToTreeNode.get(target).shortestPaths = deduped; + } +}; diff --git a/devtools/shared/heapsnapshot/HeapAnalysesClient.js b/devtools/shared/heapsnapshot/HeapAnalysesClient.js new file mode 100644 index 000000000..98601a2b1 --- /dev/null +++ b/devtools/shared/heapsnapshot/HeapAnalysesClient.js @@ -0,0 +1,277 @@ +/* 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/. */ + +"use strict"; + +const DevToolsUtils = require("devtools/shared/DevToolsUtils"); +const { DevToolsWorker } = require("devtools/shared/worker/worker"); + +const WORKER_URL = + "resource://devtools/shared/heapsnapshot/HeapAnalysesWorker.js"; +var workerCounter = 0; + +/** + * A HeapAnalysesClient instance provides a developer-friendly interface for + * interacting with a HeapAnalysesWorker. This enables users to be ignorant of + * the message passing protocol used to communicate with the worker. The + * HeapAnalysesClient owns the worker, and terminating the worker is done by + * terminating the client (see the `destroy` method). + */ +const HeapAnalysesClient = module.exports = function () { + this._worker = new DevToolsWorker(WORKER_URL, { + name: `HeapAnalyses-${workerCounter++}`, + verbose: DevToolsUtils.dumpv.wantVerbose + }); +}; + +/** + * Destroy the worker, causing it to release its resources (such as heap + * snapshots it has deserialized and read into memory). The client is no longer + * usable after calling this method. + */ +HeapAnalysesClient.prototype.destroy = function () { + this._worker.destroy(); + this._worker = null; +}; + +/** + * Tell the worker to read into memory the heap snapshot at the given file + * path. This is a prerequisite for asking the worker to perform various + * analyses on a heap snapshot. + * + * @param {String} snapshotFilePath + * + * @returns Promise + * The promise is fulfilled if the heap snapshot is successfully + * deserialized and read into memory. The promise is rejected if that + * does not happen, eg due to a bad file path or malformed heap + * snapshot file. + */ +HeapAnalysesClient.prototype.readHeapSnapshot = function (snapshotFilePath) { + return this._worker.performTask("readHeapSnapshot", { snapshotFilePath }); +}; + +/** + * Tell the worker to delete all references to the snapshot and dominator trees + * linked to the provided snapshot file path. + * + * @param {String} snapshotFilePath + * @return Promise + */ +HeapAnalysesClient.prototype.deleteHeapSnapshot = function (snapshotFilePath) { + return this._worker.performTask("deleteHeapSnapshot", { snapshotFilePath }); +}; + +/** + * Request the creation time given a snapshot file path. Returns `null` + * if snapshot does not exist. + * + * @param {String} snapshotFilePath + * The path to the snapshot. + * @return {Number?} + * The unix timestamp of the creation time of the snapshot, or null if + * snapshot does not exist. + */ +HeapAnalysesClient.prototype.getCreationTime = function (snapshotFilePath) { + return this._worker.performTask("getCreationTime", snapshotFilePath); +}; + +/** * Censuses *****************************************************************/ + +/** + * Ask the worker to perform a census analysis on the heap snapshot with the + * given path. The heap snapshot at the given path must have already been read + * into memory by the worker (see `readHeapSnapshot`). + * + * @param {String} snapshotFilePath + * + * @param {Object} censusOptions + * A structured-cloneable object specifying the requested census's + * breakdown. See the "takeCensus" section of + * `js/src/doc/Debugger/Debugger.Memory.md` for detailed documentation. + * + * @param {Object} requestOptions + * An object specifying options of this worker request. + * - {Boolean} asTreeNode + * Whether or not the census is returned as a CensusTreeNode, + * or just a breakdown report. Defaults to false. + * @see `devtools/shared/heapsnapshot/census-tree-node.js` + * - {Boolean} asInvertedTreeNode + * Whether or not the census is returned as an inverted + * CensusTreeNode. Defaults to false. + * - {String} filter + * A filter string to prune the resulting tree with. Only applies if + * either asTreeNode or asInvertedTreeNode is true. + * + * @returns Promise + * An object with the following properties: + * - report: + * The report generated by the given census breakdown, or a + * CensusTreeNode generated by the given census breakdown if + * `asTreeNode` is true. + * - parentMap: + * The result of calling CensusUtils.createParentMap on the generated + * report. Only exists if asTreeNode or asInvertedTreeNode are set. + */ +HeapAnalysesClient.prototype.takeCensus = function (snapshotFilePath, + censusOptions, + requestOptions = {}) { + return this._worker.performTask("takeCensus", { + snapshotFilePath, + censusOptions, + requestOptions, + }); +}; + +/** + * Get the individual nodes that correspond to the given census report leaf + * indices. + * + * @param {Object} opts + * An object with the following properties: + * - {DominatorTreeId} dominatorTreeId: The id of the dominator tree. + * - {Set} indices: The indices of the census report leaves we + * would like to get the individuals for. + * - {Object} censusBreakdown: The breakdown used to generate the census. + * - {Object} labelBreakdown: The breakdown we would like to use when + * labeling the resulting nodes. + * - {Number} maxRetainingPaths: The maximum number of retaining paths to + * compute for each node. + * - {Number} maxIndividuals: The maximum number of individual nodes to + * return. + * + * @returns {Promise} + * A promise of an object with the following properties: + * - {Array} nodes: An array of `DominatorTreeNode`s + * with their shortest paths attached, and without any dominator tree + * child/parent information attached. The results are sorted by + * retained size. + * + */ +HeapAnalysesClient.prototype.getCensusIndividuals = function (opts) { + return this._worker.performTask("getCensusIndividuals", opts); +}; + +/** + * Request that the worker take a census on the heap snapshots with the given + * paths and then return the difference between them. Both heap snapshots must + * have already been read into memory by the worker (see `readHeapSnapshot`). + * + * @param {String} firstSnapshotFilePath + * The first snapshot file path. + * + * @param {String} secondSnapshotFilePath + * The second snapshot file path. + * + * @param {Object} censusOptions + * A structured-cloneable object specifying the requested census's + * breakdown. See the "takeCensus" section of + * `js/src/doc/Debugger/Debugger.Memory.md` for detailed documentation. + * + * @param {Object} requestOptions + * An object specifying options for this request. + * - {Boolean} asTreeNode + * Whether the resulting delta report should be converted to a census + * tree node before returned. Defaults to false. + * - {Boolean} asInvertedTreeNode + * Whether or not the census is returned as an inverted + * CensusTreeNode. Defaults to false. + * - {String} filter + * A filter string to prune the resulting tree with. Only applies if + * either asTreeNode or asInvertedTreeNode is true. + * + * @returns Promise + * - delta: + * The delta report generated by diffing the two census reports, or a + * CensusTreeNode generated from the delta report if + * `requestOptions.asTreeNode` was true. + * - parentMap: + * The result of calling CensusUtils.createParentMap on the generated + * delta. Only exists if asTreeNode or asInvertedTreeNode are set. + */ +HeapAnalysesClient.prototype.takeCensusDiff = function (firstSnapshotFilePath, + secondSnapshotFilePath, + censusOptions, + requestOptions = {}) { + return this._worker.performTask("takeCensusDiff", { + firstSnapshotFilePath, + secondSnapshotFilePath, + censusOptions, + requestOptions + }); +}; + +/** * Dominator Trees **********************************************************/ + +/** + * Compute the dominator tree of the heap snapshot loaded from the given file + * path. Returns the id of the computed dominator tree. + * + * @param {String} snapshotFilePath + * + * @returns {Promise} + */ +HeapAnalysesClient.prototype.computeDominatorTree = function (snapshotFilePath) { + return this._worker.performTask("computeDominatorTree", snapshotFilePath); +}; + +/** + * Get the initial, partial view of the dominator tree with the given id. + * + * @param {Object} opts + * An object specifying options for this request. + * - {DominatorTreeId} dominatorTreeId + * The id of the dominator tree. + * - {Object} breakdown + * The breakdown used to generate node labels. + * - {Number} maxDepth + * The maximum depth to traverse down the tree to create this initial + * view. + * - {Number} maxSiblings + * The maximum number of siblings to visit within each traversed node's + * children. + * - {Number} maxRetainingPaths + * The maximum number of retaining paths to find for each node. + * + * @returns {Promise} + */ +HeapAnalysesClient.prototype.getDominatorTree = function (opts) { + return this._worker.performTask("getDominatorTree", opts); +}; + +/** + * Get a subset of a nodes children in the dominator tree. + * + * @param {Object} opts + * An object specifying options for this request. + * - {DominatorTreeId} dominatorTreeId + * The id of the dominator tree. + * - {NodeId} nodeId + * The id of the node whose children are being found. + * - {Object} breakdown + * The breakdown used to generate node labels. + * - {Number} startIndex + * The starting index within the full set of immediately dominated + * children of the children being requested. Children are always sorted + * by greatest to least retained size. + * - {Number} maxCount + * The maximum number of children to return. + * - {Number} maxRetainingPaths + * The maximum number of retaining paths to find for each node. + * + * @returns {Promise} + * A promise of an object with the following properties: + * - {Array} nodes + * The requested nodes that are immediately dominated by the node + * identified by `opts.nodeId`. + * - {Boolean} moreChildrenAvailable + * True iff there are more children available after the returned + * nodes. + * - {Array} path + * The path through the tree from the root to these node's parent, eg + * [root's id, child of root's id, child of child of root's id, ..., `nodeId`]. + */ +HeapAnalysesClient.prototype.getImmediatelyDominated = function (opts) { + return this._worker.performTask("getImmediatelyDominated", opts); +}; diff --git a/devtools/shared/heapsnapshot/HeapAnalysesWorker.js b/devtools/shared/heapsnapshot/HeapAnalysesWorker.js new file mode 100644 index 000000000..d07d67f80 --- /dev/null +++ b/devtools/shared/heapsnapshot/HeapAnalysesWorker.js @@ -0,0 +1,303 @@ +/* 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/. */ +/* global ThreadSafeChromeUtils*/ + +// This is a worker which reads offline heap snapshots into memory and performs +// heavyweight analyses on them without blocking the main thread. A +// HeapAnalysesWorker is owned and communicated with by a HeapAnalysesClient +// instance. See HeapAnalysesClient.js. + +"use strict"; + +importScripts("resource://gre/modules/workers/require.js"); +importScripts("resource://devtools/shared/worker/helper.js"); +const { censusReportToCensusTreeNode } = require("resource://devtools/shared/heapsnapshot/census-tree-node.js"); +const DominatorTreeNode = require("resource://devtools/shared/heapsnapshot/DominatorTreeNode.js"); +const CensusUtils = require("resource://devtools/shared/heapsnapshot/CensusUtils.js"); + +const DEFAULT_START_INDEX = 0; +const DEFAULT_MAX_COUNT = 50; + +/** + * The set of HeapSnapshot instances this worker has read into memory. Keyed by + * snapshot file path. + */ +const snapshots = Object.create(null); + +/** + * The set of `DominatorTree`s that have been computed, mapped by their id (aka + * the index into this array). + * + * @see /dom/webidl/DominatorTree.webidl + */ +const dominatorTrees = []; + +/** + * The i^th HeapSnapshot in this array is the snapshot used to generate the i^th + * dominator tree in `dominatorTrees` above. This lets us map from a dominator + * tree id to the snapshot it came from. + */ +const dominatorTreeSnapshots = []; + +/** + * @see HeapAnalysesClient.prototype.readHeapSnapshot + */ +workerHelper.createTask(self, "readHeapSnapshot", ({ snapshotFilePath }) => { + snapshots[snapshotFilePath] = + ThreadSafeChromeUtils.readHeapSnapshot(snapshotFilePath); + return true; +}); + +/** + * @see HeapAnalysesClient.prototype.deleteHeapSnapshot + */ +workerHelper.createTask(self, "deleteHeapSnapshot", ({ snapshotFilePath }) => { + let snapshot = snapshots[snapshotFilePath]; + if (!snapshot) { + throw new Error(`No known heap snapshot for '${snapshotFilePath}'`); + } + + snapshots[snapshotFilePath] = undefined; + + let dominatorTreeId = dominatorTreeSnapshots.indexOf(snapshot); + if (dominatorTreeId != -1) { + dominatorTreeSnapshots[dominatorTreeId] = undefined; + dominatorTrees[dominatorTreeId] = undefined; + } +}); + +/** + * @see HeapAnalysesClient.prototype.takeCensus + */ +workerHelper.createTask(self, "takeCensus", ({ snapshotFilePath, censusOptions, requestOptions }) => { + if (!snapshots[snapshotFilePath]) { + throw new Error(`No known heap snapshot for '${snapshotFilePath}'`); + } + + let report = snapshots[snapshotFilePath].takeCensus(censusOptions); + let parentMap; + + if (requestOptions.asTreeNode || requestOptions.asInvertedTreeNode) { + const opts = { filter: requestOptions.filter || null }; + if (requestOptions.asInvertedTreeNode) { + opts.invert = true; + } + report = censusReportToCensusTreeNode(censusOptions.breakdown, report, opts); + parentMap = CensusUtils.createParentMap(report); + } + + return { report, parentMap }; +}); + +/** + * @see HeapAnalysesClient.prototype.getCensusIndividuals + */ +workerHelper.createTask(self, "getCensusIndividuals", request => { + const { + dominatorTreeId, + indices, + censusBreakdown, + labelBreakdown, + maxRetainingPaths, + maxIndividuals, + } = request; + + const dominatorTree = dominatorTrees[dominatorTreeId]; + if (!dominatorTree) { + throw new Error( + `There does not exist a DominatorTree with the id ${dominatorTreeId}`); + } + + const snapshot = dominatorTreeSnapshots[dominatorTreeId]; + const nodeIds = CensusUtils.getCensusIndividuals(indices, censusBreakdown, snapshot); + + const nodes = nodeIds + .sort((a, b) => dominatorTree.getRetainedSize(b) - dominatorTree.getRetainedSize(a)) + .slice(0, maxIndividuals) + .map(id => { + const { label, shallowSize } = + DominatorTreeNode.getLabelAndShallowSize(id, snapshot, labelBreakdown); + const retainedSize = dominatorTree.getRetainedSize(id); + const node = new DominatorTreeNode(id, label, shallowSize, retainedSize); + node.moreChildrenAvailable = false; + return node; + }); + + DominatorTreeNode.attachShortestPaths(snapshot, + labelBreakdown, + dominatorTree.root, + nodes, + maxRetainingPaths); + + return { nodes }; +}); + +/** + * @see HeapAnalysesClient.prototype.takeCensusDiff + */ +workerHelper.createTask(self, "takeCensusDiff", request => { + const { + firstSnapshotFilePath, + secondSnapshotFilePath, + censusOptions, + requestOptions + } = request; + + if (!snapshots[firstSnapshotFilePath]) { + throw new Error(`No known heap snapshot for '${firstSnapshotFilePath}'`); + } + + if (!snapshots[secondSnapshotFilePath]) { + throw new Error(`No known heap snapshot for '${secondSnapshotFilePath}'`); + } + + const first = snapshots[firstSnapshotFilePath].takeCensus(censusOptions); + const second = snapshots[secondSnapshotFilePath].takeCensus(censusOptions); + let delta = CensusUtils.diff(censusOptions.breakdown, first, second); + let parentMap; + + if (requestOptions.asTreeNode || requestOptions.asInvertedTreeNode) { + const opts = { filter: requestOptions.filter || null }; + if (requestOptions.asInvertedTreeNode) { + opts.invert = true; + } + delta = censusReportToCensusTreeNode(censusOptions.breakdown, delta, opts); + parentMap = CensusUtils.createParentMap(delta); + } + + return { delta, parentMap }; +}); + +/** + * @see HeapAnalysesClient.prototype.getCreationTime + */ +workerHelper.createTask(self, "getCreationTime", snapshotFilePath => { + if (!snapshots[snapshotFilePath]) { + throw new Error(`No known heap snapshot for '${snapshotFilePath}'`); + } + return snapshots[snapshotFilePath].creationTime; +}); + +/** + * @see HeapAnalysesClient.prototype.computeDominatorTree + */ +workerHelper.createTask(self, "computeDominatorTree", snapshotFilePath => { + const snapshot = snapshots[snapshotFilePath]; + if (!snapshot) { + throw new Error(`No known heap snapshot for '${snapshotFilePath}'`); + } + + const id = dominatorTrees.length; + dominatorTrees.push(snapshot.computeDominatorTree()); + dominatorTreeSnapshots.push(snapshot); + return id; +}); + +/** + * @see HeapAnalysesClient.prototype.getDominatorTree + */ +workerHelper.createTask(self, "getDominatorTree", request => { + const { + dominatorTreeId, + breakdown, + maxDepth, + maxSiblings, + maxRetainingPaths, + } = request; + + if (!(0 <= dominatorTreeId && dominatorTreeId < dominatorTrees.length)) { + throw new Error( + `There does not exist a DominatorTree with the id ${dominatorTreeId}`); + } + + const dominatorTree = dominatorTrees[dominatorTreeId]; + const snapshot = dominatorTreeSnapshots[dominatorTreeId]; + + const tree = DominatorTreeNode.partialTraversal(dominatorTree, + snapshot, + breakdown, + maxDepth, + maxSiblings); + + const nodes = []; + (function getNodes(node) { + nodes.push(node); + if (node.children) { + for (let i = 0, length = node.children.length; i < length; i++) { + getNodes(node.children[i]); + } + } + }(tree)); + + DominatorTreeNode.attachShortestPaths(snapshot, + breakdown, + dominatorTree.root, + nodes, + maxRetainingPaths); + + return tree; +}); + +/** + * @see HeapAnalysesClient.prototype.getImmediatelyDominated + */ +workerHelper.createTask(self, "getImmediatelyDominated", request => { + const { + dominatorTreeId, + nodeId, + breakdown, + startIndex, + maxCount, + maxRetainingPaths, + } = request; + + if (!(0 <= dominatorTreeId && dominatorTreeId < dominatorTrees.length)) { + throw new Error( + `There does not exist a DominatorTree with the id ${dominatorTreeId}`); + } + + const dominatorTree = dominatorTrees[dominatorTreeId]; + const snapshot = dominatorTreeSnapshots[dominatorTreeId]; + + const childIds = dominatorTree.getImmediatelyDominated(nodeId); + if (!childIds) { + throw new Error(`${nodeId} is not a node id in the dominator tree`); + } + + const start = startIndex || DEFAULT_START_INDEX; + const count = maxCount || DEFAULT_MAX_COUNT; + const end = start + count; + + const nodes = childIds + .slice(start, end) + .map(id => { + const { label, shallowSize } = + DominatorTreeNode.getLabelAndShallowSize(id, snapshot, breakdown); + const retainedSize = dominatorTree.getRetainedSize(id); + const node = new DominatorTreeNode(id, label, shallowSize, retainedSize); + node.parentId = nodeId; + // DominatorTree.getImmediatelyDominated will always return non-null here + // because we got the id directly from the dominator tree. + node.moreChildrenAvailable = dominatorTree.getImmediatelyDominated(id).length > 0; + return node; + }); + + const path = []; + let id = nodeId; + do { + path.push(id); + id = dominatorTree.getImmediateDominator(id); + } while (id !== null); + path.reverse(); + + const moreChildrenAvailable = childIds.length > end; + + DominatorTreeNode.attachShortestPaths(snapshot, + breakdown, + dominatorTree.root, + nodes, + maxRetainingPaths); + + return { nodes, moreChildrenAvailable, path }; +}); diff --git a/devtools/shared/heapsnapshot/HeapSnapshotFileUtils.js b/devtools/shared/heapsnapshot/HeapSnapshotFileUtils.js new file mode 100644 index 000000000..abd44fc30 --- /dev/null +++ b/devtools/shared/heapsnapshot/HeapSnapshotFileUtils.js @@ -0,0 +1,95 @@ +/* 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/. */ + +// Heap snapshots are always saved in the temp directory, and have a regular +// naming convention. This module provides helpers for working with heap +// snapshot files in a safe manner. Because we attempt to avoid unnecessary +// copies of the heap snapshot files by checking the local filesystem for a heap +// snapshot file with the given snapshot id, we want to ensure that we are only +// attempting to open heap snapshot files and not `~/.ssh/id_rsa`, for +// example. Therefore, the RDP only talks about snapshot ids, or transfering the +// bulk file data. A file path can be recovered from a snapshot id, which allows +// one to check for the presence of the heap snapshot file on the local file +// system, but we don't have to worry about opening arbitrary files. +// +// The heap snapshot file path conventions permits the following forms: +// +// $TEMP_DIRECTORY/XXXXXXXXXX.fxsnapshot +// $TEMP_DIRECTORY/XXXXXXXXXX-XXXXX.fxsnapshot +// +// Where the strings of "X" are zero or more digits. + +"use strict"; + +const { Ci } = require("chrome"); +loader.lazyRequireGetter(this, "FileUtils", + "resource://gre/modules/FileUtils.jsm", true); +loader.lazyRequireGetter(this, "OS", "resource://gre/modules/osfile.jsm", true); + +function getHeapSnapshotFileTemplate() { + return OS.Path.join(OS.Constants.Path.tmpDir, `${Date.now()}.fxsnapshot`); +} + +/** + * Get a unique temp file path for a new heap snapshot. The file is guaranteed + * not to exist before this call. + * + * @returns String + */ +exports.getNewUniqueHeapSnapshotTempFilePath = function () { + let file = new FileUtils.File(getHeapSnapshotFileTemplate()); + // The call to createUnique will append "-N" after the leaf name (but before + // the extension) until a new file is found and create it. This guarantees we + // won't accidentally choose the same file twice. + file.createUnique(Ci.nsIFile.NORMAL_FILE_TYPE, 0o666); + return file.path; +}; + +function isValidSnapshotFileId(snapshotId) { + return /^\d+(\-\d+)?$/.test(snapshotId); +} + +/** + * Get the file path for the given snapshot id. + * + * @param {String} snapshotId + * + * @returns String | null + */ +exports.getHeapSnapshotTempFilePath = function (snapshotId) { + // Don't want anyone sneaking "../../../.." strings into the snapshot id and + // trying to make us open arbitrary files. + if (!isValidSnapshotFileId(snapshotId)) { + return null; + } + return OS.Path.join(OS.Constants.Path.tmpDir, snapshotId + ".fxsnapshot"); +}; + +/** + * Return true if we have the heap snapshot file for the given snapshot id on + * the local file system. False is returned otherwise. + * + * @returns Promise + */ +exports.haveHeapSnapshotTempFile = function (snapshotId) { + const path = exports.getHeapSnapshotTempFilePath(snapshotId); + if (!path) { + return Promise.resolve(false); + } + + return OS.File.stat(path).then(() => true, + () => false); +}; + +/** + * Given a heap snapshot's file path, extricate the snapshot id. + * + * @param {String} path + * + * @returns String + */ +exports.getSnapshotIdFromPath = function (path) { + return path.slice(OS.Constants.Path.tmpDir.length + 1, + path.length - ".fxsnapshot".length); +}; diff --git a/devtools/shared/heapsnapshot/census-tree-node.js b/devtools/shared/heapsnapshot/census-tree-node.js new file mode 100644 index 000000000..b041e77f9 --- /dev/null +++ b/devtools/shared/heapsnapshot/census-tree-node.js @@ -0,0 +1,748 @@ +/* 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/. */ +"use strict"; + +// CensusTreeNode is an intermediate representation of a census report that +// exists between after a report is generated by taking a census and before the +// report is rendered in the DOM. It must be dead simple to render, with no +// further data processing or massaging needed before rendering DOM nodes. Our +// goal is to do the census report to CensusTreeNode transformation in the +// HeapAnalysesWorker, and ensure that the **only** work that the main thread +// has to do is strictly DOM rendering work. + +const { + Visitor, + walk, + basisTotalBytes, + basisTotalCount, +} = require("resource://devtools/shared/heapsnapshot/CensusUtils.js"); + +// Monotonically increasing integer for CensusTreeNode `id`s. +let censusTreeNodeIdCounter = 0; + +/** + * Return true if the given object is a SavedFrame stack object, false otherwise. + * + * @param {any} obj + * @returns {Boolean} + */ +function isSavedFrame(obj) { + return Object.prototype.toString.call(obj) === "[object SavedFrame]"; +} + +/** + * A CensusTreeNodeCache maps from SavedFrames to CensusTreeNodes. It is used when + * aggregating multiple SavedFrame allocation stack keys into a tree of many + * CensusTreeNodes. Each stack may share older frames, and we want to preserve + * this sharing when converting to CensusTreeNode, so before creating a new + * CensusTreeNode, we look for an existing one in one of our CensusTreeNodeCaches. + */ +function CensusTreeNodeCache() {} +CensusTreeNodeCache.prototype = null; + +/** + * The value of a single entry stored in a CensusTreeNodeCache. It is a pair of + * the CensusTreeNode for this cache value, and the subsequent + * CensusTreeNodeCache for this node's children. + * + * @param {SavedFrame} frame + * The frame being cached. + */ +function CensusTreeNodeCacheValue() { + // The CensusTreeNode for this cache value. + this.node = undefined; + // The CensusTreeNodeCache for this frame's children. + this.children = undefined; +} + +CensusTreeNodeCacheValue.prototype = null; + +/** + * Create a unique string for the given SavedFrame (ignoring the frame's parent + * chain) that can be used as a hash to key this frame within a CensusTreeNodeCache. + * + * NB: We manually hash rather than using an ES6 Map because we are purposely + * ignoring the parent chain and wish to consider frames with everything the + * same except their parents as the same. + * + * @param {SavedFrame} frame + * The SavedFrame object we would like to lookup in or insert into a + * CensusTreeNodeCache. + * + * @returns {String} + * The unique string that can be used as a key in a CensusTreeNodeCache. + */ +CensusTreeNodeCache.hashFrame = function (frame) { + return `FRAME,${frame.functionDisplayName},${frame.source},${frame.line},${frame.column},${frame.asyncCause}`; +}; + +/** + * Create a unique string for the given CensusTreeNode **with regards to + * siblings at the current depth of the tree, not within the whole tree.** It + * can be used as a hash to key this node within a CensusTreeNodeCache. + * + * @param {CensusTreeNode} node + * The node we would like to lookup in or insert into a cache. + * + * @returns {String} + * The unique string that can be used as a key in a CensusTreeNodeCache. + */ +CensusTreeNodeCache.hashNode = function (node) { + return isSavedFrame(node.name) + ? CensusTreeNodeCache.hashFrame(node.name) + : `NODE,${node.name}`; +}; + +/** + * Insert the given CensusTreeNodeCacheValue whose node.name is a SavedFrame + * object in the given cache. + * + * @param {CensusTreeNodeCache} cache + * @param {CensusTreeNodeCacheValue} value + */ +CensusTreeNodeCache.insertFrame = function (cache, value) { + cache[CensusTreeNodeCache.hashFrame(value.node.name)] = value; +}; + +/** + * Insert the given value in the cache. + * + * @param {CensusTreeNodeCache} cache + * @param {CensusTreeNodeCacheValue} value + */ +CensusTreeNodeCache.insertNode = function (cache, value) { + if (isSavedFrame(value.node.name)) { + CensusTreeNodeCache.insertFrame(cache, value); + } else { + cache[CensusTreeNodeCache.hashNode(value.node)] = value; + } +}; + +/** + * Lookup `frame` in `cache` and return its value if it exists. + * + * @param {CensusTreeNodeCache} cache + * @param {SavedFrame} frame + * + * @returns {undefined|CensusTreeNodeCacheValue} + */ +CensusTreeNodeCache.lookupFrame = function (cache, frame) { + return cache[CensusTreeNodeCache.hashFrame(frame)]; +}; + +/** + * Lookup `node` in `cache` and return its value if it exists. + * + * @param {CensusTreeNodeCache} cache + * @param {CensusTreeNode} node + * + * @returns {undefined|CensusTreeNodeCacheValue} + */ +CensusTreeNodeCache.lookupNode = function (cache, node) { + return isSavedFrame(node.name) + ? CensusTreeNodeCache.lookupFrame(cache, node.name) + : cache[CensusTreeNodeCache.hashNode(node)]; +}; + +/** + * Add `child` to `parent`'s set of children and store the parent ID + * on the child. + * + * @param {CensusTreeNode} parent + * @param {CensusTreeNode} child + */ +function addChild(parent, child) { + if (!parent.children) { + parent.children = []; + } + child.parent = parent.id; + parent.children.push(child); +} + +/** + * Get an array of each frame in the provided stack. + * + * @param {SavedFrame} stack + * @returns {Array} + */ +function getArrayOfFrames(stack) { + const frames = []; + let frame = stack; + while (frame) { + frames.push(frame); + frame = frame.parent; + } + frames.reverse(); + return frames; +} + +/** + * Given an `edge` to a sub-`report` whose structure is described by + * `breakdown`, create a CensusTreeNode tree. + * + * @param {Object} breakdown + * The breakdown specifying the structure of the given report. + * + * @param {Object} report + * The census report. + * + * @param {null|String|SavedFrame} edge + * The edge leading to this report from the parent report. + * + * @param {CensusTreeNodeCache} cache + * The cache of CensusTreeNodes we have already made for the siblings of + * the node being created. The existing nodes are reused when possible. + * + * @param {Object} outParams + * The return values are attached to this object after this function + * returns. Because we create a CensusTreeNode for each frame in a + * SavedFrame stack edge, there may multiple nodes per sub-report. + * + * - top: The deepest node in the CensusTreeNode subtree created. + * + * - bottom: The shallowest node in the CensusTreeNode subtree created. + * This is null if the shallowest node in the subtree was + * found in the `cache` and reused. + * + * Note that top and bottom are not necessarily different. In the case + * where there is a 1:1 correspondence between an edge in the report and + * a CensusTreeNode, top and bottom refer to the same node. + */ +function makeCensusTreeNodeSubTree(breakdown, report, edge, cache, outParams) { + if (!isSavedFrame(edge)) { + const node = new CensusTreeNode(edge); + outParams.top = outParams.bottom = node; + return; + } + + const frames = getArrayOfFrames(edge); + let currentCache = cache; + let prevNode; + for (let i = 0, length = frames.length; i < length; i++) { + const frame = frames[i]; + + // Get or create the CensusTreeNodeCacheValue for this frame. If we already + // have a CensusTreeNodeCacheValue (and hence a CensusTreeNode) for this + // frame, we don't need to add the node to the previous node's children as + // we have already done that. If we don't have a CensusTreeNodeCacheValue + // and CensusTreeNode for this frame, then create one and make sure to hook + // it up as a child of the previous node. + let isNewNode = false; + let val = CensusTreeNodeCache.lookupFrame(currentCache, frame); + if (!val) { + isNewNode = true; + val = new CensusTreeNodeCacheValue(); + val.node = new CensusTreeNode(frame); + + CensusTreeNodeCache.insertFrame(currentCache, val); + if (prevNode) { + addChild(prevNode, val.node); + } + } + + if (i === 0) { + outParams.bottom = isNewNode ? val.node : null; + } + if (i === length - 1) { + outParams.top = val.node; + } + + prevNode = val.node; + + if (i !== length - 1 && !val.children) { + // This is not the last frame and therefore this node will have + // children, which we must cache. + val.children = new CensusTreeNodeCache(); + } + + currentCache = val.children; + } +} + +/** + * A Visitor that walks a census report and creates the corresponding + * CensusTreeNode tree. + */ +function CensusTreeNodeVisitor() { + // The root of the resulting CensusTreeNode tree. + this._root = null; + + // The stack of CensusTreeNodes that we are in the process of building while + // walking the census report. + this._nodeStack = []; + + // To avoid unnecessary allocations, we reuse the same out parameter object + // passed to `makeCensusTreeNodeSubTree` every time we call it. + this._outParams = { + top: null, + bottom: null, + }; + + // The stack of `CensusTreeNodeCache`s that we use to aggregate many + // SavedFrame stacks into a single CensusTreeNode tree. + this._cacheStack = [new CensusTreeNodeCache()]; + + // The current index in the DFS of the census report tree. + this._index = -1; +} + +CensusTreeNodeVisitor.prototype = Object.create(Visitor); + +/** + * Create the CensusTreeNode subtree for this sub-report and link it to the + * parent CensusTreeNode. + * + * @overrides Visitor.prototype.enter + */ +CensusTreeNodeVisitor.prototype.enter = function (breakdown, report, edge) { + this._index++; + + const cache = this._cacheStack[this._cacheStack.length - 1]; + makeCensusTreeNodeSubTree(breakdown, report, edge, cache, this._outParams); + const { top, bottom } = this._outParams; + + if (!this._root) { + this._root = bottom; + } else if (bottom) { + addChild(this._nodeStack[this._nodeStack.length - 1], bottom); + } + + this._cacheStack.push(new CensusTreeNodeCache()); + this._nodeStack.push(top); +}; + +function values(cache) { + return Object.keys(cache).map(k => cache[k]); +} + +function isNonEmpty(node) { + return (node.children !== undefined && node.children.length) + || node.bytes !== 0 + || node.count !== 0; +} + +/** + * We have finished adding children to the CensusTreeNode subtree for the + * current sub-report. Make sure that the children are sorted for every node in + * the subtree. + * + * @overrides Visitor.prototype.exit + */ +CensusTreeNodeVisitor.prototype.exit = function (breakdown, report, edge) { + // Ensure all children are sorted and have their counts/bytes aggregated. We + // only need to consider cache children here, because other children + // correspond to other sub-reports and we already fixed them up in an earlier + // invocation of `exit`. + + function dfs(node, childrenCache) { + if (childrenCache) { + const childValues = values(childrenCache); + for (let i = 0, length = childValues.length; i < length; i++) { + dfs(childValues[i].node, childValues[i].children); + } + } + + node.totalCount = node.count; + node.totalBytes = node.bytes; + + if (node.children) { + // Prune empty leaves. + node.children = node.children.filter(isNonEmpty); + + node.children.sort(compareByTotal); + + for (let i = 0, length = node.children.length; i < length; i++) { + node.totalCount += node.children[i].totalCount; + node.totalBytes += node.children[i].totalBytes; + } + } + } + + const top = this._nodeStack.pop(); + const cache = this._cacheStack.pop(); + dfs(top, cache); +}; + +/** + * @overrides Visitor.prototype.count + */ +CensusTreeNodeVisitor.prototype.count = function (breakdown, report, edge) { + const node = this._nodeStack[this._nodeStack.length - 1]; + node.reportLeafIndex = this._index; + + if (breakdown.count) { + node.count = report.count; + } + + if (breakdown.bytes) { + node.bytes = report.bytes; + } +}; + +/** + * Get the root of the resulting CensusTreeNode tree. + * + * @returns {CensusTreeNode} + */ +CensusTreeNodeVisitor.prototype.root = function () { + if (!this._root) { + throw new Error("Attempt to get the root before walking the census report!"); + } + + if (this._nodeStack.length) { + throw new Error("Attempt to get the root while walking the census report!"); + } + + return this._root; +}; + +/** + * Create a single, uninitialized CensusTreeNode. + * + * @param {null|String|SavedFrame} name + */ +function CensusTreeNode(name) { + // Display name for this CensusTreeNode. Either null, a string, or a + // SavedFrame. + this.name = name; + + // The number of bytes occupied by matching things in the heap snapshot. + this.bytes = 0; + + // The sum of `this.bytes` and `child.totalBytes` for each child in + // `this.children`. + this.totalBytes = 0; + + // The number of things in the heap snapshot that match this node in the + // census tree. + this.count = 0; + + // The sum of `this.count` and `child.totalCount` for each child in + // `this.children`. + this.totalCount = 0; + + // An array of this node's children, or undefined if it has no children. + this.children = undefined; + + // The unique ID of this node. + this.id = ++censusTreeNodeIdCounter; + + // If present, the unique ID of this node's parent. If this node does not have + // a parent, then undefined. + this.parent = undefined; + + // The `reportLeafIndex` property allows mapping a CensusTreeNode node back to + // a leaf in the census report it was generated from. It is always one of the + // following variants: + // + // * A `Number` index pointing a leaf report in a pre-order DFS traversal of + // this CensusTreeNode's census report. + // + // * A `Set` object containing such indices, when this is part of an inverted + // CensusTreeNode tree and multiple leaves in the report map onto this node. + // + // * Finally, `undefined` when no leaves in the census report correspond with + // this node. + // + // The first and third cases are the common cases. The second case is rather + // uncommon, and to avoid doubling the number of allocations when creating + // CensusTreeNode trees, and objects that get structured cloned when sending + // such trees from the HeapAnalysesWorker to the main thread, we only allocate + // a Set object once a node actually does have multiple leaves it corresponds + // to. + this.reportLeafIndex = undefined; +} + +CensusTreeNode.prototype = null; + +/** + * Compare the given nodes by their `totalBytes` properties, and breaking ties + * with the `totalCount`, `bytes`, and `count` properties (in that order). + * + * @param {CensusTreeNode} node1 + * @param {CensusTreeNode} node2 + * + * @returns {Number} + * A number suitable for using with Array.prototype.sort. + */ +function compareByTotal(node1, node2) { + return Math.abs(node2.totalBytes) - Math.abs(node1.totalBytes) + || Math.abs(node2.totalCount) - Math.abs(node1.totalCount) + || Math.abs(node2.bytes) - Math.abs(node1.bytes) + || Math.abs(node2.count) - Math.abs(node1.count); +} + +/** + * Compare the given nodes by their `bytes` properties, and breaking ties with + * the `count`, `totalBytes`, and `totalCount` properties (in that order). + * + * @param {CensusTreeNode} node1 + * @param {CensusTreeNode} node2 + * + * @returns {Number} + * A number suitable for using with Array.prototype.sort. + */ +function compareBySelf(node1, node2) { + return Math.abs(node2.bytes) - Math.abs(node1.bytes) + || Math.abs(node2.count) - Math.abs(node1.count) + || Math.abs(node2.totalBytes) - Math.abs(node1.totalBytes) + || Math.abs(node2.totalCount) - Math.abs(node1.totalCount); +} + +/** + * Given a parent cache value from a tree we are building and a child node from + * a tree we are basing the new tree off of, if we already have a corresponding + * node in the parent's children cache, merge this node's counts with + * it. Otherwise, create the corresponding node, add it to the parent's children + * cache, and create the parent->child edge. + * + * @param {CensusTreeNodeCacheValue} parentCachevalue + * @param {CensusTreeNode} node + * + * @returns {CensusTreeNodeCacheValue} + * The new or extant child node's corresponding cache value. + */ +function insertOrMergeNode(parentCacheValue, node) { + if (!parentCacheValue.children) { + parentCacheValue.children = new CensusTreeNodeCache(); + } + + let val = CensusTreeNodeCache.lookupNode(parentCacheValue.children, node); + + if (val) { + // When inverting, it is possible that multiple leaves in the census report + // get merged into a single CensusTreeNode node. When this occurs, switch + // from a single index to a set of indices. + if (val.node.reportLeafIndex !== undefined && + val.node.reportLeafIndex !== node.reportLeafIndex) { + if (typeof val.node.reportLeafIndex === "number") { + const oldIndex = val.node.reportLeafIndex; + val.node.reportLeafIndex = new Set(); + val.node.reportLeafIndex.add(oldIndex); + val.node.reportLeafIndex.add(node.reportLeafIndex); + } else { + val.node.reportLeafIndex.add(node.reportLeafIndex); + } + } + + val.node.count += node.count; + val.node.bytes += node.bytes; + } else { + val = new CensusTreeNodeCacheValue(); + + val.node = new CensusTreeNode(node.name); + val.node.reportLeafIndex = node.reportLeafIndex; + val.node.count = node.count; + val.node.totalCount = node.totalCount; + val.node.bytes = node.bytes; + val.node.totalBytes = node.totalBytes; + + addChild(parentCacheValue.node, val.node); + CensusTreeNodeCache.insertNode(parentCacheValue.children, val); + } + + return val; +} + +/** + * Given an un-inverted CensusTreeNode tree, return the corresponding inverted + * CensusTreeNode tree. The input tree is not modified. The resulting inverted + * tree is sorted by self bytes rather than by total bytes. + * + * @param {CensusTreeNode} tree + * The un-inverted tree. + * + * @returns {CensusTreeNode} + * The corresponding inverted tree. + */ +function invert(tree) { + const inverted = new CensusTreeNodeCacheValue(); + inverted.node = new CensusTreeNode(null); + + // Do a depth-first search of the un-inverted tree. As we reach each leaf, + // take the path from the old root to the leaf, reverse that path, and add it + // to the new, inverted tree's root. + + const path = []; + (function addInvertedPaths(node) { + path.push(node); + + if (node.children) { + for (let i = 0, length = node.children.length; i < length; i++) { + addInvertedPaths(node.children[i]); + } + } else { + // We found a leaf node, add the reverse path to the inverted tree. + let currentCacheValue = inverted; + for (let i = path.length - 1; i >= 0; i--) { + currentCacheValue = insertOrMergeNode(currentCacheValue, path[i]); + } + } + + path.pop(); + }(tree)); + + // Ensure that the root node always has the totals. + inverted.node.totalBytes = tree.totalBytes; + inverted.node.totalCount = tree.totalCount; + + return inverted.node; +} + +/** + * Given a CensusTreeNode tree and predicate function, create the tree + * containing only the nodes in any path `(node_0, node_1, ..., node_n-1)` in + * the given tree where `predicate(node_j)` is true for `0 <= j < n`, `node_0` + * is the given tree's root, and `node_n-1` is a leaf in the given tree. The + * given tree is left unmodified. + * + * @param {CensusTreeNode} tree + * @param {Function} predicate + * + * @returns {CensusTreeNode} + */ +function filter(tree, predicate) { + const filtered = new CensusTreeNodeCacheValue(); + filtered.node = new CensusTreeNode(null); + + // Do a DFS over the given tree. If the predicate returns true for any node, + // add that node and its whole subtree to the filtered tree. + + const path = []; + let match = false; + + function addMatchingNodes(node) { + path.push(node); + + let oldMatch = match; + if (!match && predicate(node)) { + match = true; + } + + if (node.children) { + for (let i = 0, length = node.children.length; i < length; i++) { + addMatchingNodes(node.children[i]); + } + } else if (match) { + // We found a matching leaf node, add it to the filtered tree. + let currentCacheValue = filtered; + for (let i = 0, length = path.length; i < length; i++) { + currentCacheValue = insertOrMergeNode(currentCacheValue, path[i]); + } + } + + match = oldMatch; + path.pop(); + } + + if (tree.children) { + for (let i = 0, length = tree.children.length; i < length; i++) { + addMatchingNodes(tree.children[i]); + } + } + + filtered.node.count = tree.count; + filtered.node.totalCount = tree.totalCount; + filtered.node.bytes = tree.bytes; + filtered.node.totalBytes = tree.totalBytes; + + return filtered.node; +} + +/** + * Given a filter string, return a predicate function that takes a node and + * returns true iff the node matches the filter. + * + * @param {String} filterString + * @returns {Function} + */ +function makeFilterPredicate(filterString) { + return function (node) { + if (!node.name) { + return false; + } + + if (isSavedFrame(node.name)) { + return node.name.source.includes(filterString) + || (node.name.functionDisplayName || "").includes(filterString) + || (node.name.asyncCause || "").includes(filterString); + } + + return String(node.name).includes(filterString); + }; +} + +/** + * Takes a report from a census (`dbg.memory.takeCensus()`) and the breakdown + * used to generate the census and returns a structure used to render + * a tree to display the data. + * + * Returns a recursive "CensusTreeNode" object, looking like: + * + * CensusTreeNode = { + * // `children` if it exists, is sorted by `bytes`, if they are leaf nodes. + * children: ?[], + * name: + * count: + * bytes: + * id: + * parent: + * } + * + * @param {Object} breakdown + * The breakdown used to generate the census report. + * + * @param {Object} report + * The census report generated with the specified breakdown. + * + * @param {Object} options + * Configuration options. + * - invert: Whether to invert the resulting tree or not. Defaults to + * false, ie uninverted. + * + * @returns {CensusTreeNode} + */ +exports.censusReportToCensusTreeNode = function (breakdown, report, + options = { + invert: false, + filter: null + }) { + // Reset the counter so that turning the same census report into a + // CensusTreeNode tree repeatedly is idempotent. + censusTreeNodeIdCounter = 0; + + const visitor = new CensusTreeNodeVisitor(); + walk(breakdown, report, visitor); + let result = visitor.root(); + + if (options.invert) { + result = invert(result); + } + + if (typeof options.filter === "string") { + result = filter(result, makeFilterPredicate(options.filter)); + } + + // If the report is a delta report that was generated by diffing two other + // reports, make sure to use the basis totals rather than the totals of the + // difference. + if (typeof report[basisTotalBytes] === "number") { + result.totalBytes = report[basisTotalBytes]; + result.totalCount = report[basisTotalCount]; + } + + // Inverting and filtering could have messed up the sort order, so do a + // depth-first search of the tree and ensure that siblings are sorted. + const comparator = options.invert ? compareBySelf : compareByTotal; + (function ensureSorted(node) { + if (node.children) { + node.children.sort(comparator); + for (let i = 0, length = node.children.length; i < length; i++) { + ensureSorted(node.children[i]); + } + } + }(result)); + + return result; +}; diff --git a/devtools/shared/heapsnapshot/moz.build b/devtools/shared/heapsnapshot/moz.build new file mode 100644 index 000000000..9a915e426 --- /dev/null +++ b/devtools/shared/heapsnapshot/moz.build @@ -0,0 +1,15 @@ +# -*- Mode: python; 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/. + +DevToolsModules( + 'census-tree-node.js', + 'CensusUtils.js', + 'DominatorTreeNode.js', + 'HeapAnalysesClient.js', + 'HeapAnalysesWorker.js', + 'HeapSnapshotFileUtils.js', + 'shortest-paths.js', +) diff --git a/devtools/shared/heapsnapshot/shortest-paths.js b/devtools/shared/heapsnapshot/shortest-paths.js new file mode 100644 index 000000000..2d97b7de9 --- /dev/null +++ b/devtools/shared/heapsnapshot/shortest-paths.js @@ -0,0 +1,91 @@ +/* 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/. */ +"use strict"; + +/** + * Compress a set of paths leading to `target` into a single graph, returned as + * a set of nodes and a set of edges. + * + * @param {NodeId} target + * The target node passed to `HeapSnapshot.computeShortestPaths`. + * + * @param {Array} paths + * An array of paths to `target`, as returned by + * `HeapSnapshot.computeShortestPaths`. + * + * @returns {Object} + * An object with two properties: + * - edges: An array of unique objects of the form: + * { + * from: , + * to: , + * name: + * } + * - nodes: An array of unique node IDs. Every `from` and `to` id is + * guaranteed to be in this array exactly once. + */ +exports.deduplicatePaths = function (target, paths) { + // Use this structure to de-duplicate edges among many retaining paths from + // start to target. + // + // Map>> + const deduped = new Map(); + + function insert(from, to, name) { + let toMap = deduped.get(from); + if (!toMap) { + toMap = new Map(); + deduped.set(from, toMap); + } + + let nameSet = toMap.get(to); + if (!nameSet) { + nameSet = new Set(); + toMap.set(to, nameSet); + } + + nameSet.add(name); + } + + outer: for (let path of paths) { + const pathLength = path.length; + + // Check for duplicate predecessors in the path, and skip paths that contain + // them. + const predecessorsSeen = new Set(); + predecessorsSeen.add(target); + for (let i = 0; i < pathLength; i++) { + if (predecessorsSeen.has(path[i].predecessor)) { + continue outer; + } + predecessorsSeen.add(path[i].predecessor); + } + + for (let i = 0; i < pathLength - 1; i++) { + insert(path[i].predecessor, path[i + 1].predecessor, path[i].edge); + } + + insert(path[pathLength - 1].predecessor, target, path[pathLength - 1].edge); + } + + const nodes = [target]; + const edges = []; + + for (let [from, toMap] of deduped) { + // If the second/third/etc shortest path contains the `target` anywhere + // other than the very last node, we could accidentally put the `target` in + // `nodes` more than once. + if (from !== target) { + nodes.push(from); + } + + for (let [to, edgeNameSet] of toMap) { + for (let name of edgeNameSet) { + edges.push({ from, to, name }); + } + } + } + + return { nodes, edges }; +}; diff --git a/devtools/shared/moz.build b/devtools/shared/moz.build index 9dd4a20d6..e4de1d84a 100644 --- a/devtools/shared/moz.build +++ b/devtools/shared/moz.build @@ -14,6 +14,7 @@ DIRS += [ 'discovery', 'fronts', 'gcli', + 'heapsnapshot', 'inspector', 'jsbeautify', 'layout', -- cgit v1.2.3 From 90a4813d175552d73d42230764f1d0aac7a66a27 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 19 Mar 2020 07:33:05 +0100 Subject: [devtools] Properly escape method arguments for curl. --- devtools/client/shared/curl.js | 38 +++++++++++++++++++++++++------------- 1 file changed, 25 insertions(+), 13 deletions(-) (limited to 'devtools') diff --git a/devtools/client/shared/curl.js b/devtools/client/shared/curl.js index 967019746..d9abf506a 100644 --- a/devtools/client/shared/curl.js +++ b/devtools/client/shared/curl.js @@ -58,9 +58,21 @@ const Curl = { * A cURL command. */ generateCommand: function (data) { - let utils = CurlUtils; + const utils = CurlUtils; let command = ["curl"]; + + // Make sure to use the following helpers to sanitize arguments before execution. + const addParam = value => { + const safe = /^[a-zA-Z-]+$/.test(value) ? value : escapeString(value); + command.push(safe); + }; + + const addPostData = value => { + const safe = /^[a-zA-Z-]+$/.test(value) ? value : escapeString(value); + postData.push(safe); + }; + let ignoredHeaders = new Set(); // The cURL command is expected to run on the same platform that Firefox runs @@ -69,7 +81,7 @@ const Curl = { utils.escapeStringWin : utils.escapeStringPosix; // Add URL. - command.push(escapeString(data.url)); + addParam(data.url); let postDataText = null; let multipartRequest = utils.isMultipartRequest(data); @@ -79,15 +91,15 @@ const Curl = { if (utils.isUrlEncodedRequest(data) || ["PUT", "POST", "PATCH"].includes(data.method)) { postDataText = data.postDataText; - postData.push("--data"); - postData.push(escapeString(utils.writePostDataTextParams(postDataText))); + addPostData("--data"); + addPostData(utils.writePostDataTextParams(postDataText)); ignoredHeaders.add("content-length"); } else if (multipartRequest) { postDataText = data.postDataText; - postData.push("--data-binary"); + addPostData("--data-binary"); let boundary = utils.getMultipartBoundary(data); let text = utils.removeBinaryDataFromMultipartText(postDataText, boundary); - postData.push(escapeString(text)); + addPostData(text); ignoredHeaders.add("content-length"); } @@ -95,15 +107,15 @@ const Curl = { // For GET and POST requests this is not necessary as GET is the // default. If --data or --binary is added POST is the default. if (!(data.method == "GET" || data.method == "POST")) { - command.push("-X"); - command.push(data.method); + addParam("-X"); + addParam(data.method); } // Add -I (HEAD) // For servers that supports HEAD. // This will fetch the header of a document only. if (data.method == "HEAD") { - command.push("-I"); + addParam("-I"); } // Add http version. @@ -114,7 +126,7 @@ const Curl = { // data.httpVersion are HTTP/1.0, HTTP/1.1 and HTTP/2.0 // So in case of HTTP/2.0 (which should ideally be HTTP/2) we are using // only major version, and full version in other cases - command.push("--http" + (version == "2.0" ? version.split(".")[0] : version)); + addParam("--http" + (version == "2.0" ? version.split(".")[0] : version)); } // Add request headers. @@ -126,14 +138,14 @@ const Curl = { for (let i = 0; i < headers.length; i++) { let header = headers[i]; if (header.name.toLowerCase() === "accept-encoding") { - command.push("--compressed"); + addParam("--compressed"); continue; } if (ignoredHeaders.has(header.name.toLowerCase())) { continue; } - command.push("-H"); - command.push(escapeString(header.name + ": " + header.value)); + addParam("-H"); + addParam(header.name + ": " + header.value); } // Add post data. -- cgit v1.2.3 From 3bc5d67c982cc4acdc4db2be1c1b517816401d54 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 30 Mar 2020 08:18:09 +0200 Subject: Issue #1280 - Stop requesting HPKP state from within devtools. --- devtools/client/debugger/new/bundle.js | 2 +- devtools/shared/webconsole/network-helper.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'devtools') diff --git a/devtools/client/debugger/new/bundle.js b/devtools/client/debugger/new/bundle.js index cbbd15a44..4200ed275 100644 --- a/devtools/client/debugger/new/bundle.js +++ b/devtools/client/debugger/new/bundle.js @@ -9828,7 +9828,7 @@ var Debugger = var host = httpActivity.hostname; info.hsts = sss.isSecureHost(sss.HEADER_HSTS, host, flags); - info.hpkp = sss.isSecureHost(sss.HEADER_HPKP, host, flags); + info.hpkp = false; } else { DevToolsUtils.reportException("NetworkHelper.parseSecurityInfo", "Could not get HSTS/HPKP status as hostname is not available."); info.hsts = false; diff --git a/devtools/shared/webconsole/network-helper.js b/devtools/shared/webconsole/network-helper.js index 4e25fac26..71909221e 100644 --- a/devtools/shared/webconsole/network-helper.js +++ b/devtools/shared/webconsole/network-helper.js @@ -668,7 +668,8 @@ var NetworkHelper = { let host = httpActivity.hostname; info.hsts = sss.isSecureHost(sss.HEADER_HSTS, host, flags); - info.hpkp = sss.isSecureHost(sss.HEADER_HPKP, host, flags); + // HPKP is no longer supported. + info.hpkp = false; } else { DevToolsUtils.reportException("NetworkHelper.parseSecurityInfo", "Could not get HSTS/HPKP status as hostname is not available."); -- cgit v1.2.3 From 7614fdb51b177e6975fce5bf9a7facef170e61aa Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 17 Apr 2020 05:10:25 -0400 Subject: Bug 1355351 - Make pseudo-elements return the correct style via getComputedStyle * Add a node property to access the ::before and ::after pseudo-elements * Look for the frame for ::before and ::after pseudos * Clean up pseudo-element props * Simplify nsLayoutUtils callers, and make child iterators notice display: contents pseudos Tag #1375 --- .../inspector/computed/test/browser_computed_pseudo-element_01.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'devtools') diff --git a/devtools/client/inspector/computed/test/browser_computed_pseudo-element_01.js b/devtools/client/inspector/computed/test/browser_computed_pseudo-element_01.js index 9ca5451a5..7c18bfe7b 100644 --- a/devtools/client/inspector/computed/test/browser_computed_pseudo-element_01.js +++ b/devtools/client/inspector/computed/test/browser_computed_pseudo-element_01.js @@ -33,7 +33,7 @@ function* testTopLeft(inspector, view) { let afterElement = children.nodes[children.nodes.length - 1]; yield selectNode(afterElement, inspector); top = getComputedViewPropertyValue(view, "top"); - is(top, "50%", "The computed view shows the correct top"); + is(top, "96px", "The computed view shows the correct top"); left = getComputedViewPropertyValue(view, "left"); - is(left, "50%", "The computed view shows the correct left"); + is(left, "96px", "The computed view shows the correct left"); } -- cgit v1.2.3 From c0401ee7015c6dc8d5ea1cbeb231255f01f8a1d0 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Wed, 6 May 2020 00:17:32 +0000 Subject: [devtools] Port various upstream fixes --- devtools/client/shared/curl.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'devtools') diff --git a/devtools/client/shared/curl.js b/devtools/client/shared/curl.js index d9abf506a..5ce9e96bb 100644 --- a/devtools/client/shared/curl.js +++ b/devtools/client/shared/curl.js @@ -91,7 +91,7 @@ const Curl = { if (utils.isUrlEncodedRequest(data) || ["PUT", "POST", "PATCH"].includes(data.method)) { postDataText = data.postDataText; - addPostData("--data"); + addPostData("--data-raw"); addPostData(utils.writePostDataTextParams(postDataText)); ignoredHeaders.add("content-length"); } else if (multipartRequest) { @@ -400,7 +400,12 @@ const CurlUtils = { * Credit: Google DevTools */ escapeStringWin: function (str) { - /* Replace quote by double quote (but not by \") because it is + /* + Replace dollar sign because of commands (e.g $(cmd.exe)) in + powershell when using double quotes. + Useful details http://www.rlmueller.net/PowerShellEscape.htm + + Replace quote by double quote (but not by \") because it is recognized by both cmd.exe and MS Crt arguments parser. Replace % by "%" because it could be expanded to an environment @@ -414,7 +419,8 @@ const CurlUtils = { Replace new line outside of quotes since cmd.exe doesn't let to do it inside. */ - return "\"" + str.replace(/"/g, "\"\"") + return "\"" + str.replace(/\$/g, "`$") + .replace(/"/g, "\"\"") .replace(/%/g, "\"%\"") .replace(/\\/g, "\\\\") .replace(/[\r\n]+/g, "\"^$&\"") + "\""; -- cgit v1.2.3 From a965486fcbf3f199b5c7564bfc0526df72c862d5 Mon Sep 17 00:00:00 2001 From: athenian200 Date: Wed, 20 May 2020 23:25:37 -0500 Subject: Revert "Merge pull request #1357 from athenian200/form-disabled-issue" This reverts commit ed88b99849156004c04e4a0c87ea9b2360ef19b6, reversing changes made to c4b0715baaffc541670fd1158557aa7e61e521d3. --- devtools/client/themes/webconsole.css | 1 + devtools/shared/css/generated/properties-db.js | 2 ++ 2 files changed, 3 insertions(+) (limited to 'devtools') diff --git a/devtools/client/themes/webconsole.css b/devtools/client/themes/webconsole.css index 85c73264c..89bb38628 100644 --- a/devtools/client/themes/webconsole.css +++ b/devtools/client/themes/webconsole.css @@ -14,6 +14,7 @@ a { -moz-user-focus: normal; + -moz-user-input: enabled; cursor: pointer; text-decoration: underline; } diff --git a/devtools/shared/css/generated/properties-db.js b/devtools/shared/css/generated/properties-db.js index eda2c7148..25d9e2d33 100644 --- a/devtools/shared/css/generated/properties-db.js +++ b/devtools/shared/css/generated/properties-db.js @@ -1440,6 +1440,8 @@ exports.CSS_PROPERTIES = { "supports": [], "values": [ "auto", + "disabled", + "enabled", "inherit", "initial", "none", -- cgit v1.2.3 From a680bdc637e0393aaa08d575c66f7166b788b443 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Wed, 23 Sep 2020 13:55:00 +0000 Subject: Issue #1656 - Part 1: Nuke most vim config lines in the tree. Since these are just interpreted comments, there's 0 impact on actual code. This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are a few others scattered around which will be removed manually in a second part. --- devtools/client/animationinspector/animation-controller.js | 1 - devtools/client/animationinspector/animation-panel.js | 1 - devtools/client/animationinspector/components/animation-details.js | 1 - devtools/client/animationinspector/components/animation-target-node.js | 1 - devtools/client/animationinspector/components/animation-time-block.js | 1 - devtools/client/animationinspector/components/animation-timeline.js | 1 - devtools/client/animationinspector/components/keyframes.js | 1 - devtools/client/animationinspector/components/rate-selector.js | 1 - .../animationinspector/test/unit/test_findOptimalTimeInterval.js | 1 - .../client/animationinspector/test/unit/test_formatStopwatchTime.js | 1 - .../client/animationinspector/test/unit/test_getCssPropertyName.js | 1 - devtools/client/animationinspector/test/unit/test_timeScale.js | 1 - .../client/animationinspector/test/unit/test_timeScale_dimensions.js | 1 - devtools/client/animationinspector/utils.js | 1 - devtools/client/canvasdebugger/panel.js | 1 - devtools/client/debugger/content/constants.js | 1 - devtools/client/debugger/content/globalActions.js | 1 - devtools/client/debugger/content/utils.js | 1 - devtools/client/debugger/debugger-commands.js | 1 - devtools/client/debugger/debugger-controller.js | 1 - .../client/debugger/new/test/mochitest/browser_dbg-chrome-create.js | 1 - .../client/debugger/new/test/mochitest/browser_dbg-chrome-debugging.js | 1 - devtools/client/debugger/new/test/mochitest/head.js | 1 - devtools/client/debugger/panel.js | 1 - .../debugger/test/mochitest/browser_dbg_aaa_run_first_leaktest.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_addon-console.js | 1 - .../debugger/test/mochitest/browser_dbg_addon-modules-unpacked.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_addon-modules.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_addon-panels.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_addon-sources.js | 1 - .../debugger/test/mochitest/browser_dbg_addon-workers-dbg-enabled.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_addonactor.js | 1 - .../client/debugger/test/mochitest/browser_dbg_auto-pretty-print-01.js | 1 - .../client/debugger/test/mochitest/browser_dbg_auto-pretty-print-02.js | 1 - .../client/debugger/test/mochitest/browser_dbg_auto-pretty-print-03.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_bfcache.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-01.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-02.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-03.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-04.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-05.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-06.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-07.js | 1 - .../client/debugger/test/mochitest/browser_dbg_breadcrumbs-access.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_break-in-anon.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-01.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-02.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-03.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-04.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-05.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-06.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-07.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-08.js | 1 - .../debugger/test/mochitest/browser_dbg_break-on-dom-event-01.js | 1 - .../debugger/test/mochitest/browser_dbg_break-on-dom-event-02.js | 1 - .../debugger/test/mochitest/browser_dbg_break-on-dom-event-03.js | 1 - .../debugger/test/mochitest/browser_dbg_break-on-next-console.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_break-on-next.js | 1 - .../client/debugger/test/mochitest/browser_dbg_break-unselected.js | 1 - .../debugger/test/mochitest/browser_dbg_breakpoints-actual-location.js | 1 - .../test/mochitest/browser_dbg_breakpoints-actual-location2.js | 1 - .../browser_dbg_breakpoints-break-on-last-line-of-script-on-reload.js | 1 - .../debugger/test/mochitest/browser_dbg_breakpoints-button-01.js | 1 - .../debugger/test/mochitest/browser_dbg_breakpoints-button-02.js | 1 - .../test/mochitest/browser_dbg_breakpoints-condition-thrown-message.js | 1 - .../debugger/test/mochitest/browser_dbg_breakpoints-contextmenu-add.js | 1 - .../debugger/test/mochitest/browser_dbg_breakpoints-contextmenu.js | 1 - .../debugger/test/mochitest/browser_dbg_breakpoints-disabled-reload.js | 1 - .../client/debugger/test/mochitest/browser_dbg_breakpoints-editor.js | 1 - .../client/debugger/test/mochitest/browser_dbg_breakpoints-eval.js | 1 - .../debugger/test/mochitest/browser_dbg_breakpoints-highlight.js | 1 - .../debugger/test/mochitest/browser_dbg_breakpoints-new-script.js | 1 - .../debugger/test/mochitest/browser_dbg_breakpoints-other-tabs.js | 1 - .../client/debugger/test/mochitest/browser_dbg_breakpoints-pane.js | 1 - .../client/debugger/test/mochitest/browser_dbg_breakpoints-reload.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_bug-896139.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_chrome-create.js | 1 - .../client/debugger/test/mochitest/browser_dbg_chrome-debugging.js | 1 - .../client/debugger/test/mochitest/browser_dbg_clean-exit-window.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_clean-exit.js | 1 - .../client/debugger/test/mochitest/browser_dbg_closure-inspection.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_cmd-blackbox.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_cmd-break.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_cmd-dbg.js | 1 - .../debugger/test/mochitest/browser_dbg_conditional-breakpoints-01.js | 1 - .../debugger/test/mochitest/browser_dbg_conditional-breakpoints-02.js | 1 - .../debugger/test/mochitest/browser_dbg_conditional-breakpoints-03.js | 1 - .../debugger/test/mochitest/browser_dbg_conditional-breakpoints-04.js | 1 - .../debugger/test/mochitest/browser_dbg_conditional-breakpoints-05.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_console-eval.js | 1 - .../client/debugger/test/mochitest/browser_dbg_console-named-eval.js | 1 - .../debugger/test/mochitest/browser_dbg_controller-evaluate-01.js | 1 - .../debugger/test/mochitest/browser_dbg_controller-evaluate-02.js | 1 - .../client/debugger/test/mochitest/browser_dbg_debugger-statement.js | 1 - .../client/debugger/test/mochitest/browser_dbg_editor-contextmenu.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_editor-mode.js | 1 - .../client/debugger/test/mochitest/browser_dbg_event-listeners-01.js | 1 - .../client/debugger/test/mochitest/browser_dbg_event-listeners-02.js | 1 - .../client/debugger/test/mochitest/browser_dbg_event-listeners-03.js | 1 - .../client/debugger/test/mochitest/browser_dbg_event-listeners-04.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_file-reload.js | 1 - .../debugger/test/mochitest/browser_dbg_function-display-name.js | 1 - .../debugger/test/mochitest/browser_dbg_global-method-override.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_globalactor.js | 1 - .../client/debugger/test/mochitest/browser_dbg_hide-toolbar-buttons.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_host-layout.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_iframes.js | 1 - .../debugger/test/mochitest/browser_dbg_instruments-pane-collapse.js | 1 - .../test/mochitest/browser_dbg_instruments-pane-collapse_keyboard.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_interrupts.js | 1 - .../debugger/test/mochitest/browser_dbg_jump-to-function-definition.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_listaddons.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_listtabs-01.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_listtabs-02.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_listtabs-03.js | 1 - .../debugger/test/mochitest/browser_dbg_location-changes-01-simple.js | 1 - .../debugger/test/mochitest/browser_dbg_location-changes-02-blank.js | 1 - .../debugger/test/mochitest/browser_dbg_location-changes-03-new.js | 1 - .../test/mochitest/browser_dbg_location-changes-04-breakpoint.js | 1 - .../client/debugger/test/mochitest/browser_dbg_multiple-windows.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_navigation.js | 1 - .../debugger/test/mochitest/browser_dbg_no-dangling-breakpoints.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_no-page-sources.js | 1 - .../client/debugger/test/mochitest/browser_dbg_on-pause-highlight.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_on-pause-raise.js | 1 - .../client/debugger/test/mochitest/browser_dbg_optimized-out-vars.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_panel-size.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_parser-01.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_parser-02.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_parser-03.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_parser-04.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_parser-05.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_parser-06.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_parser-07.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_parser-08.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_parser-09.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_parser-10.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_parser-11.js | 1 - .../client/debugger/test/mochitest/browser_dbg_parser-computed-name.js | 1 - .../debugger/test/mochitest/browser_dbg_parser-function-defaults.js | 1 - .../debugger/test/mochitest/browser_dbg_parser-spread-expression.js | 1 - .../debugger/test/mochitest/browser_dbg_parser-template-strings.js | 1 - .../client/debugger/test/mochitest/browser_dbg_pause-exceptions-01.js | 1 - .../client/debugger/test/mochitest/browser_dbg_pause-exceptions-02.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_pause-no-step.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_pause-resume.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_pause-warning.js | 1 - .../client/debugger/test/mochitest/browser_dbg_paused-keybindings.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_post-page.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-01.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-02.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-03.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-04.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-05.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-06.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-07.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-08.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-09.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-10.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-11.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-12.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-13.js | 1 - .../debugger/test/mochitest/browser_dbg_pretty-print-on-paused.js | 1 - .../debugger/test/mochitest/browser_dbg_progress-listener-bug.js | 1 - .../debugger/test/mochitest/browser_dbg_promises-allocation-stack.js | 1 - .../test/mochitest/browser_dbg_promises-chrome-allocation-stack.js | 1 - .../debugger/test/mochitest/browser_dbg_promises-fulfillment-stack.js | 1 - .../debugger/test/mochitest/browser_dbg_promises-rejection-stack.js | 1 - .../debugger/test/mochitest/browser_dbg_reload-preferred-script-02.js | 1 - .../debugger/test/mochitest/browser_dbg_reload-preferred-script-03.js | 1 - .../client/debugger/test/mochitest/browser_dbg_reload-same-script.js | 1 - .../client/debugger/test/mochitest/browser_dbg_scripts-switching-01.js | 1 - .../client/debugger/test/mochitest/browser_dbg_scripts-switching-02.js | 1 - .../client/debugger/test/mochitest/browser_dbg_scripts-switching-03.js | 1 - .../debugger/test/mochitest/browser_dbg_search-autofill-identifier.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_search-basic-01.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_search-basic-02.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_search-basic-04.js | 1 - .../client/debugger/test/mochitest/browser_dbg_search-global-01.js | 1 - .../client/debugger/test/mochitest/browser_dbg_search-global-02.js | 1 - .../client/debugger/test/mochitest/browser_dbg_search-global-03.js | 1 - .../client/debugger/test/mochitest/browser_dbg_search-global-04.js | 1 - .../client/debugger/test/mochitest/browser_dbg_search-global-05.js | 1 - .../client/debugger/test/mochitest/browser_dbg_search-global-06.js | 1 - .../client/debugger/test/mochitest/browser_dbg_search-popup-jank.js | 1 - .../client/debugger/test/mochitest/browser_dbg_search-sources-01.js | 1 - .../client/debugger/test/mochitest/browser_dbg_search-sources-02.js | 1 - .../client/debugger/test/mochitest/browser_dbg_search-sources-03.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_search-symbols.js | 1 - .../debugger/test/mochitest/browser_dbg_searchbox-help-popup-01.js | 1 - .../debugger/test/mochitest/browser_dbg_searchbox-help-popup-02.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_searchbox-parse.js | 1 - .../debugger/test/mochitest/browser_dbg_server-conditional-bp-01.js | 1 - .../debugger/test/mochitest/browser_dbg_server-conditional-bp-02.js | 1 - .../debugger/test/mochitest/browser_dbg_server-conditional-bp-03.js | 1 - .../debugger/test/mochitest/browser_dbg_server-conditional-bp-04.js | 1 - .../debugger/test/mochitest/browser_dbg_server-conditional-bp-05.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_source-maps-01.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_source-maps-02.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_source-maps-03.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_source-maps-04.js | 1 - .../client/debugger/test/mochitest/browser_dbg_sources-bookmarklet.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_sources-cache.js | 1 - .../debugger/test/mochitest/browser_dbg_sources-contextmenu-01.js | 1 - .../debugger/test/mochitest/browser_dbg_sources-contextmenu-02.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_sources-eval-01.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_sources-eval-02.js | 1 - .../debugger/test/mochitest/browser_dbg_sources-iframe-reload.js | 1 - .../client/debugger/test/mochitest/browser_dbg_sources-keybindings.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_sources-labels.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_sources-large.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_sources-sorting.js | 1 - .../test/mochitest/browser_dbg_sources-webext-contentscript.js | 1 - .../debugger/test/mochitest/browser_dbg_split-console-keypress.js | 1 - .../debugger/test/mochitest/browser_dbg_split-console-paused-reload.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_stack-01.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_stack-02.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_stack-03.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_stack-04.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_stack-05.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_stack-06.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_stack-07.js | 1 - .../client/debugger/test/mochitest/browser_dbg_stack-contextmenu-01.js | 1 - .../client/debugger/test/mochitest/browser_dbg_stack-contextmenu-02.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_step-out.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_tabactor-01.js | 1 - devtools/client/debugger/test/mochitest/browser_dbg_tabactor-02.js | 1 - .../debugger/test/mochitest/browser_dbg_terminate-on-tab-close.js | 1 - .../client/debugger/test/mochitest/browser_dbg_variables-view-01.js | 1 - .../client/debugger/test/mochitest/browser_dbg_variables-view-02.js | 1 - .../client/debugger/test/mochitest/browser_dbg_variables-view-03.js | 1 - .../client/debugger/test/mochitest/browser_dbg_variables-view-04.js | 1 - .../client/debugger/test/mochitest/browser_dbg_variables-view-05.js | 1 - .../client/debugger/test/mochitest/browser_dbg_variables-view-06.js | 1 - .../client/debugger/test/mochitest/browser_dbg_variables-view-07.js | 1 - .../client/debugger/test/mochitest/browser_dbg_variables-view-08.js | 1 - .../test/mochitest/browser_dbg_variables-view-accessibility.js | 1 - .../client/debugger/test/mochitest/browser_dbg_variables-view-data.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-edit-cancel.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-edit-click.js | 1 - .../test/mochitest/browser_dbg_variables-view-edit-getset-01.js | 1 - .../test/mochitest/browser_dbg_variables-view-edit-getset-02.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-edit-value.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-edit-watch.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-filter-01.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-filter-02.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-filter-03.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-filter-04.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-filter-05.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-filter-pref.js | 1 - .../test/mochitest/browser_dbg_variables-view-filter-searchbox.js | 1 - .../test/mochitest/browser_dbg_variables-view-frame-parameters-01.js | 1 - .../test/mochitest/browser_dbg_variables-view-frame-parameters-02.js | 1 - .../test/mochitest/browser_dbg_variables-view-frame-parameters-03.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-frame-with.js | 1 - .../test/mochitest/browser_dbg_variables-view-frozen-sealed-nonext.js | 1 - .../test/mochitest/browser_dbg_variables-view-hide-non-enums.js | 1 - .../test/mochitest/browser_dbg_variables-view-large-array-buffer.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-map-set.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-override-02.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-popup-01.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-popup-02.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-popup-03.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-popup-04.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-popup-05.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-popup-06.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-popup-07.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-popup-08.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-popup-09.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-popup-10.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-popup-11.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-popup-12.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-popup-13.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-popup-14.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-popup-15.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-popup-16.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-reexpand-01.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-reexpand-02.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-reexpand-03.js | 1 - .../debugger/test/mochitest/browser_dbg_variables-view-webidl.js | 1 - .../client/debugger/test/mochitest/browser_dbg_watch-expressions-01.js | 1 - .../client/debugger/test/mochitest/browser_dbg_watch-expressions-02.js | 1 - .../client/debugger/test/mochitest/browser_dbg_worker-source-map.js | 1 - devtools/client/debugger/test/mochitest/head.js | 1 - devtools/client/debugger/test/mochitest/testactors.js | 1 - devtools/client/debugger/utils.js | 1 - devtools/client/debugger/views/filter-view.js | 1 - devtools/client/debugger/views/global-search-view.js | 1 - devtools/client/debugger/views/options-view.js | 1 - devtools/client/debugger/views/stack-frames-classic-view.js | 1 - devtools/client/debugger/views/stack-frames-view.js | 1 - devtools/client/debugger/views/toolbar-view.js | 1 - devtools/client/debugger/views/variable-bubble-view.js | 1 - devtools/client/debugger/views/watch-expressions-view.js | 1 - devtools/client/debugger/views/workers-view.js | 1 - devtools/client/dom/content/actions/filter.js | 1 - devtools/client/dom/content/actions/grips.js | 1 - devtools/client/dom/content/components/dom-tree.js | 1 - devtools/client/dom/content/components/main-frame.js | 1 - devtools/client/dom/content/components/main-toolbar.js | 1 - devtools/client/dom/content/constants.js | 1 - devtools/client/dom/content/dom-decorator.js | 1 - devtools/client/dom/content/dom-view.js | 1 - devtools/client/dom/content/grip-provider.js | 1 - devtools/client/dom/content/reducers/filter.js | 1 - devtools/client/dom/content/reducers/grips.js | 1 - devtools/client/dom/content/reducers/index.js | 1 - devtools/client/dom/content/utils.js | 1 - devtools/client/dom/dom-panel.js | 1 - devtools/client/dom/main.js | 1 - devtools/client/dom/test/browser_dom_array.js | 1 - devtools/client/dom/test/browser_dom_basic.js | 1 - devtools/client/dom/test/browser_dom_refresh.js | 1 - devtools/client/framework/ToolboxProcess.jsm | 1 - devtools/client/framework/attach-thread.js | 1 - devtools/client/framework/connect/connect.js | 1 - devtools/client/framework/gDevTools.jsm | 1 - devtools/client/framework/menu-item.js | 1 - devtools/client/framework/menu.js | 1 - devtools/client/framework/selection.js | 1 - devtools/client/framework/test/browser_devtools_api.js | 1 - devtools/client/framework/test/browser_devtools_api_destroy.js | 1 - devtools/client/framework/test/browser_dynamic_tool_enabling.js | 1 - .../client/framework/test/browser_ignore_toolbox_network_requests.js | 1 - devtools/client/framework/test/browser_keybindings_01.js | 1 - devtools/client/framework/test/browser_keybindings_02.js | 1 - devtools/client/framework/test/browser_keybindings_03.js | 1 - devtools/client/framework/test/browser_menu_api.js | 1 - devtools/client/framework/test/browser_new_activation_workflow.js | 1 - devtools/client/framework/test/browser_target_events.js | 1 - devtools/client/framework/test/browser_target_remote.js | 1 - devtools/client/framework/test/browser_target_support.js | 1 - devtools/client/framework/test/browser_toolbox_custom_host.js | 1 - devtools/client/framework/test/browser_toolbox_dynamic_registration.js | 1 - devtools/client/framework/test/browser_toolbox_getpanelwhenready.js | 1 - devtools/client/framework/test/browser_toolbox_highlight.js | 1 - devtools/client/framework/test/browser_toolbox_hosts.js | 1 - devtools/client/framework/test/browser_toolbox_hosts_size.js | 1 - devtools/client/framework/test/browser_toolbox_keyboard_navigation.js | 1 - devtools/client/framework/test/browser_toolbox_minimize.js | 1 - devtools/client/framework/test/browser_toolbox_options.js | 1 - .../client/framework/test/browser_toolbox_options_disable_buttons.js | 1 - .../client/framework/test/browser_toolbox_options_disable_cache-01.js | 1 - .../client/framework/test/browser_toolbox_options_disable_cache-02.js | 1 - devtools/client/framework/test/browser_toolbox_options_disable_js.js | 1 - .../test/browser_toolbox_options_enable_serviceworkers_testing.js | 1 - ...owser_toolbox_options_enable_serviceworkers_testing_frame_script.js | 1 - devtools/client/framework/test/browser_toolbox_races.js | 1 - devtools/client/framework/test/browser_toolbox_raise.js | 1 - devtools/client/framework/test/browser_toolbox_ready.js | 1 - devtools/client/framework/test/browser_toolbox_select_event.js | 1 - .../client/framework/test/browser_toolbox_selected_tool_unavailable.js | 1 - devtools/client/framework/test/browser_toolbox_sidebar.js | 1 - devtools/client/framework/test/browser_toolbox_sidebar_events.js | 1 - .../client/framework/test/browser_toolbox_sidebar_existing_tabs.js | 1 - .../client/framework/test/browser_toolbox_sidebar_overflow_menu.js | 1 - devtools/client/framework/test/browser_toolbox_split_console.js | 1 - devtools/client/framework/test/browser_toolbox_tabsswitch_shortcuts.js | 1 - devtools/client/framework/test/browser_toolbox_target.js | 1 - devtools/client/framework/test/browser_toolbox_textbox_context_menu.js | 1 - devtools/client/framework/test/browser_toolbox_theme_registration.js | 1 - devtools/client/framework/test/browser_toolbox_toggle.js | 1 - devtools/client/framework/test/browser_toolbox_tool_ready.js | 1 - devtools/client/framework/test/browser_toolbox_tool_remote_reopen.js | 1 - devtools/client/framework/test/browser_toolbox_transport_events.js | 1 - devtools/client/framework/test/browser_toolbox_view_source_01.js | 1 - devtools/client/framework/test/browser_toolbox_view_source_02.js | 1 - devtools/client/framework/test/browser_toolbox_view_source_03.js | 1 - devtools/client/framework/test/browser_toolbox_view_source_04.js | 1 - devtools/client/framework/test/browser_toolbox_window_reload_target.js | 1 - devtools/client/framework/test/browser_toolbox_window_shortcuts.js | 1 - devtools/client/framework/test/browser_toolbox_window_title_changes.js | 1 - .../client/framework/test/browser_toolbox_window_title_frame_select.js | 1 - devtools/client/framework/test/browser_toolbox_zoom.js | 1 - devtools/client/framework/test/browser_two_tabs.js | 1 - devtools/client/framework/test/code_math.js | 1 - devtools/client/framework/test/head.js | 1 - devtools/client/framework/test/helper_disable_cache.js | 1 - devtools/client/framework/test/serviceworker.js | 1 - devtools/client/framework/test/shared-head.js | 1 - devtools/client/framework/test/shared-redux-head.js | 1 - devtools/client/framework/toolbox-highlighter-utils.js | 1 - devtools/client/framework/toolbox-hosts.js | 1 - devtools/client/framework/toolbox-options.js | 1 - devtools/client/framework/toolbox-process-window.js | 1 - devtools/client/inspector/breadcrumbs.js | 1 - devtools/client/inspector/components/box-model.js | 1 - devtools/client/inspector/components/inspector-tab-panel.js | 1 - devtools/client/inspector/computed/computed.js | 1 - devtools/client/inspector/fonts/fonts.js | 1 - devtools/client/inspector/inspector.js | 1 - devtools/client/inspector/rules/models/element-style.js | 1 - devtools/client/inspector/rules/models/rule.js | 1 - devtools/client/inspector/rules/models/text-property.js | 1 - devtools/client/inspector/rules/rules.js | 1 - devtools/client/inspector/shared/highlighters-overlay.js | 1 - devtools/client/inspector/shared/node-types.js | 1 - devtools/client/inspector/shared/style-inspector-menu.js | 1 - devtools/client/inspector/shared/tooltips-overlay.js | 1 - devtools/client/inspector/shared/utils.js | 1 - .../client/inspector/test/browser_inspector_delete-selected-node-02.js | 1 - devtools/client/inspector/test/browser_inspector_highlighter-02.js | 1 - .../client/inspector/test/browser_inspector_highlighter-comments.js | 1 - .../client/inspector/test/browser_inspector_highlighter-iframes_01.js | 1 - .../client/inspector/test/browser_inspector_highlighter-iframes_02.js | 1 - devtools/client/inspector/test/browser_inspector_initialization.js | 1 - devtools/client/inspector/test/browser_inspector_navigation.js | 1 - devtools/client/inspector/test/browser_inspector_reload-01.js | 1 - devtools/client/inspector/test/browser_inspector_reload-02.js | 1 - .../client/inspector/test/browser_inspector_select-last-selected.js | 1 - devtools/client/inspector/toolsidebar.js | 1 - devtools/client/jsonview/components/headers-panel.js | 1 - devtools/client/jsonview/components/headers.js | 1 - devtools/client/jsonview/components/json-panel.js | 1 - devtools/client/jsonview/components/main-tabbed-area.js | 1 - devtools/client/jsonview/components/reps/toolbar.js | 1 - devtools/client/jsonview/components/search-box.js | 1 - devtools/client/jsonview/components/text-panel.js | 1 - devtools/client/jsonview/converter-child.js | 1 - devtools/client/jsonview/converter-observer.js | 1 - devtools/client/jsonview/converter-sniffer.js | 1 - devtools/client/jsonview/json-viewer.js | 1 - devtools/client/jsonview/main.js | 1 - devtools/client/jsonview/test/browser_jsonview_copy_headers.js | 1 - devtools/client/jsonview/test/browser_jsonview_copy_json.js | 1 - devtools/client/jsonview/test/browser_jsonview_copy_rawdata.js | 1 - devtools/client/jsonview/test/browser_jsonview_filter.js | 1 - devtools/client/jsonview/test/browser_jsonview_invalid_json.js | 1 - devtools/client/jsonview/test/browser_jsonview_save_json.js | 1 - devtools/client/jsonview/test/browser_jsonview_valid_json.js | 1 - devtools/client/jsonview/utils.js | 1 - devtools/client/jsonview/viewer-config.js | 1 - devtools/client/netmonitor/netmonitor-controller.js | 1 - devtools/client/netmonitor/netmonitor-view.js | 1 - devtools/client/netmonitor/panel.js | 1 - devtools/client/netmonitor/performance-statistics-view.js | 1 - devtools/client/performance/panel.js | 1 - devtools/client/projecteditor/lib/editors.js | 1 - devtools/client/projecteditor/lib/helpers/event.js | 1 - devtools/client/projecteditor/lib/helpers/file-picker.js | 1 - devtools/client/projecteditor/lib/helpers/l10n.js | 1 - devtools/client/projecteditor/lib/helpers/prompts.js | 1 - devtools/client/projecteditor/lib/helpers/readdir.js | 1 - devtools/client/projecteditor/lib/plugins/core.js | 1 - devtools/client/projecteditor/lib/plugins/delete/delete.js | 1 - devtools/client/projecteditor/lib/plugins/dirty/dirty.js | 1 - devtools/client/projecteditor/lib/plugins/image-view/image-editor.js | 1 - devtools/client/projecteditor/lib/plugins/image-view/plugin.js | 1 - devtools/client/projecteditor/lib/plugins/logging/logging.js | 1 - devtools/client/projecteditor/lib/plugins/new/new.js | 1 - devtools/client/projecteditor/lib/plugins/rename/rename.js | 1 - devtools/client/projecteditor/lib/plugins/save/save.js | 1 - devtools/client/projecteditor/lib/plugins/status-bar/plugin.js | 1 - devtools/client/projecteditor/lib/project.js | 1 - devtools/client/projecteditor/lib/shells.js | 1 - devtools/client/projecteditor/lib/stores/base.js | 1 - devtools/client/projecteditor/lib/stores/local.js | 1 - devtools/client/projecteditor/lib/stores/resource.js | 1 - devtools/client/projecteditor/lib/tree.js | 1 - devtools/client/responsivedesign/responsivedesign.jsm | 1 - devtools/client/scratchpad/scratchpad-panel.js | 1 - .../scratchpad/test/browser_scratchpad_pprint_error_goto_line.js | 1 - .../client/scratchpad/test/browser_scratchpad_run_error_goto_line.js | 1 - devtools/client/shadereditor/panel.js | 1 - devtools/client/shared/components/reps/array.js | 1 - devtools/client/shared/components/reps/attribute.js | 1 - devtools/client/shared/components/reps/caption.js | 1 - devtools/client/shared/components/reps/comment-node.js | 1 - devtools/client/shared/components/reps/date-time.js | 1 - devtools/client/shared/components/reps/document.js | 1 - devtools/client/shared/components/reps/element-node.js | 1 - devtools/client/shared/components/reps/event.js | 1 - devtools/client/shared/components/reps/function.js | 1 - devtools/client/shared/components/reps/grip-array.js | 1 - devtools/client/shared/components/reps/grip-map.js | 1 - devtools/client/shared/components/reps/grip.js | 1 - devtools/client/shared/components/reps/infinity.js | 1 - devtools/client/shared/components/reps/nan.js | 1 - devtools/client/shared/components/reps/null.js | 1 - devtools/client/shared/components/reps/number.js | 1 - devtools/client/shared/components/reps/object-with-text.js | 1 - devtools/client/shared/components/reps/object-with-url.js | 1 - devtools/client/shared/components/reps/object.js | 1 - devtools/client/shared/components/reps/promise.js | 1 - devtools/client/shared/components/reps/prop-rep.js | 1 - devtools/client/shared/components/reps/regexp.js | 1 - devtools/client/shared/components/reps/rep-utils.js | 1 - devtools/client/shared/components/reps/rep.js | 1 - devtools/client/shared/components/reps/string.js | 1 - devtools/client/shared/components/reps/stylesheet.js | 1 - devtools/client/shared/components/reps/symbol.js | 1 - devtools/client/shared/components/reps/text-node.js | 1 - devtools/client/shared/components/reps/undefined.js | 1 - devtools/client/shared/components/reps/window.js | 1 - devtools/client/shared/components/sidebar-toggle.js | 1 - devtools/client/shared/components/tabs/tabbar.js | 1 - devtools/client/shared/components/tabs/tabs.js | 1 - .../shared/components/test/browser/browser_notification_box_basic.js | 1 - devtools/client/shared/components/tree/label-cell.js | 1 - devtools/client/shared/components/tree/object-provider.js | 1 - devtools/client/shared/components/tree/tree-cell.js | 1 - devtools/client/shared/components/tree/tree-header.js | 1 - devtools/client/shared/components/tree/tree-row.js | 1 - devtools/client/shared/components/tree/tree-view.js | 1 - devtools/client/shared/curl.js | 1 - devtools/client/shared/inplace-editor.js | 1 - devtools/client/shared/node-attribute-parser.js | 1 - devtools/client/shared/shim/Services.js | 1 - devtools/client/shared/shim/test/prefs-wrapper.js | 1 - devtools/client/shared/test/browser_require_raw.js | 1 - .../test/unit/test_VariablesView_filtering-without-controller.js | 1 - .../client/shared/test/unit/test_VariablesView_getString_promise.js | 1 - devtools/client/shared/test/unit/test_advanceValidate.js | 1 - devtools/client/shared/test/unit/test_bezierCanvas.js | 1 - devtools/client/shared/test/unit/test_cubicBezier.js | 1 - devtools/client/shared/test/unit/test_parseDeclarations.js | 1 - .../client/shared/test/unit/test_parsePseudoClassesAndAttributes.js | 1 - devtools/client/shared/test/unit/test_parseSingleValue.js | 1 - devtools/client/shared/test/unit/test_undoStack.js | 1 - devtools/client/shared/undo.js | 1 - devtools/client/shared/vendor/react-addons-shallow-compare.js | 1 - devtools/client/shared/widgets/AbstractTreeItem.jsm | 1 - devtools/client/shared/widgets/BreadcrumbsWidget.jsm | 1 - devtools/client/shared/widgets/Chart.jsm | 1 - devtools/client/shared/widgets/FastListWidget.js | 1 - devtools/client/shared/widgets/SideMenuWidget.jsm | 1 - devtools/client/shared/widgets/SimpleListWidget.jsm | 1 - devtools/client/shared/widgets/TreeWidget.js | 1 - devtools/client/shared/widgets/VariablesView.jsm | 3 +-- devtools/client/shared/widgets/VariablesViewController.jsm | 1 - devtools/client/shared/widgets/tooltip/EventTooltipHelper.js | 1 - devtools/client/shared/widgets/tooltip/HTMLTooltip.js | 1 - devtools/client/shared/widgets/tooltip/ImageTooltipHelper.js | 1 - devtools/client/shared/widgets/tooltip/TooltipToggle.js | 1 - devtools/client/shared/widgets/tooltip/VariableContentHelper.js | 1 - devtools/client/shared/widgets/view-helpers.js | 1 - devtools/client/sourceeditor/test/browser_editor_find_again.js | 1 - devtools/client/sourceeditor/test/browser_editor_goto_line.js | 1 - devtools/client/storage/panel.js | 1 - devtools/client/styleeditor/utils.js | 1 - devtools/client/webaudioeditor/panel.js | 1 - devtools/client/webconsole/console-commands.js | 1 - devtools/client/webconsole/console-output.js | 1 - devtools/client/webconsole/jsterm.js | 1 - devtools/client/webconsole/net/test/mochitest/browser_net_basic.js | 1 - devtools/client/webconsole/net/test/mochitest/browser_net_cookies.js | 1 - devtools/client/webconsole/net/test/mochitest/browser_net_headers.js | 1 - devtools/client/webconsole/net/test/mochitest/browser_net_params.js | 1 - devtools/client/webconsole/net/test/mochitest/browser_net_post.js | 1 - devtools/client/webconsole/net/test/mochitest/browser_net_response.js | 1 - devtools/client/webconsole/net/test/unit/test_json-utils.js | 1 - devtools/client/webconsole/net/test/unit/test_net-utils.js | 1 - devtools/client/webconsole/new-console-output/actions/enhancers.js | 1 - devtools/client/webconsole/new-console-output/actions/filters.js | 1 - devtools/client/webconsole/new-console-output/actions/index.js | 1 - devtools/client/webconsole/new-console-output/actions/messages.js | 1 - devtools/client/webconsole/new-console-output/actions/ui.js | 1 - .../client/webconsole/new-console-output/components/collapse-button.js | 1 - .../webconsole/new-console-output/components/grip-message-body.js | 1 - .../webconsole/new-console-output/components/message-container.js | 1 - .../client/webconsole/new-console-output/components/message-icon.js | 1 - .../client/webconsole/new-console-output/components/message-indent.js | 1 - .../client/webconsole/new-console-output/components/message-repeat.js | 1 - .../new-console-output/components/message-types/console-api-call.js | 1 - .../new-console-output/components/message-types/console-command.js | 1 - .../new-console-output/components/message-types/default-renderer.js | 1 - .../new-console-output/components/message-types/evaluation-result.js | 1 - .../components/message-types/network-event-message.js | 1 - .../new-console-output/components/message-types/page-error.js | 1 - devtools/client/webconsole/new-console-output/components/message.js | 1 - .../webconsole/new-console-output/components/variables-view-link.js | 1 - devtools/client/webconsole/new-console-output/constants.js | 1 - devtools/client/webconsole/new-console-output/reducers/filters.js | 1 - devtools/client/webconsole/new-console-output/reducers/index.js | 1 - devtools/client/webconsole/new-console-output/reducers/messages.js | 1 - devtools/client/webconsole/new-console-output/reducers/prefs.js | 1 - devtools/client/webconsole/new-console-output/reducers/ui.js | 1 - devtools/client/webconsole/new-console-output/selectors/filters.js | 1 - devtools/client/webconsole/new-console-output/selectors/messages.js | 1 - devtools/client/webconsole/new-console-output/selectors/prefs.js | 1 - devtools/client/webconsole/new-console-output/selectors/ui.js | 1 - .../stub-generators/browser_webconsole_update_stubs_console_api.js | 1 - .../browser_webconsole_update_stubs_evaluation_result.js | 1 - .../stub-generators/browser_webconsole_update_stubs_network_event.js | 1 - .../stub-generators/browser_webconsole_update_stubs_page_error.js | 1 - .../new-console-output/test/fixtures/stub-generators/head.js | 1 - .../new-console-output/test/mochitest/browser_webconsole_batching.js | 1 - .../test/mochitest/browser_webconsole_console_group.js | 1 - .../test/mochitest/browser_webconsole_console_table.js | 1 - .../new-console-output/test/mochitest/browser_webconsole_filters.js | 1 - .../new-console-output/test/mochitest/browser_webconsole_init.js | 1 - .../test/mochitest/browser_webconsole_input_focus.js | 1 - .../test/mochitest/browser_webconsole_keyboard_accessibility.js | 1 - .../test/mochitest/browser_webconsole_observer_notifications.js | 1 - .../test/mochitest/browser_webconsole_vview_close_on_esc_key.js | 1 - devtools/client/webconsole/new-console-output/test/mochitest/head.js | 1 - devtools/client/webconsole/new-console-output/types.js | 1 - devtools/client/webconsole/new-console-output/utils/id-generator.js | 1 - devtools/client/webconsole/new-console-output/utils/messages.js | 1 - devtools/client/webconsole/new-console-output/utils/variables-view.js | 1 - devtools/client/webconsole/panel.js | 1 - .../browser_bug1045902_console_csp_ignore_reflected_xss_message.js | 1 - .../test/browser_bug664688_sandbox_update_after_navigation.js | 1 - .../client/webconsole/test/browser_bug_638949_copy_link_location.js | 1 - .../webconsole/test/browser_bug_862916_console_dir_and_filter_off.js | 1 - .../webconsole/test/browser_bug_865288_repeat_different_objects.js | 1 - .../test/browser_bug_865871_variables_view_close_on_esc_key.js | 1 - .../webconsole/test/browser_bug_869003_inspect_cross_domain_object.js | 1 - devtools/client/webconsole/test/browser_bug_871156_ctrlw_close_tab.js | 1 - devtools/client/webconsole/test/browser_cached_messages.js | 1 - devtools/client/webconsole/test/browser_console.js | 1 - .../webconsole/test/browser_console_addonsdk_loader_exception.js | 1 - devtools/client/webconsole/test/browser_console_clear_method.js | 1 - devtools/client/webconsole/test/browser_console_clear_on_reload.js | 1 - devtools/client/webconsole/test/browser_console_click_focus.js | 1 - devtools/client/webconsole/test/browser_console_consolejsm_output.js | 1 - devtools/client/webconsole/test/browser_console_copy_command.js | 1 - .../test/browser_console_copy_entire_message_context_menu.js | 1 - devtools/client/webconsole/test/browser_console_dead_objects.js | 1 - devtools/client/webconsole/test/browser_console_error_source_click.js | 1 - devtools/client/webconsole/test/browser_console_filters.js | 1 - .../browser_console_hide_jsterm_when_devtools_chrome_enabled_false.js | 1 - devtools/client/webconsole/test/browser_console_history_persist.js | 1 - devtools/client/webconsole/test/browser_console_iframe_messages.js | 1 - .../client/webconsole/test/browser_console_keyboard_accessibility.js | 1 - .../client/webconsole/test/browser_console_log_inspectable_object.js | 1 - devtools/client/webconsole/test/browser_console_native_getters.js | 1 - devtools/client/webconsole/test/browser_console_navigation_marker.js | 1 - devtools/client/webconsole/test/browser_console_netlogging.js | 1 - devtools/client/webconsole/test/browser_console_nsiconsolemessage.js | 1 - devtools/client/webconsole/test/browser_console_open_or_focus.js | 1 - devtools/client/webconsole/test/browser_console_optimized_out_vars.js | 1 - devtools/client/webconsole/test/browser_console_private_browsing.js | 1 - devtools/client/webconsole/test/browser_console_restore.js | 1 - devtools/client/webconsole/test/browser_console_server_logging.js | 1 - devtools/client/webconsole/test/browser_console_variables_view.js | 1 - .../client/webconsole/test/browser_console_variables_view_dom_nodes.js | 1 - ...console_variables_view_dont_sort_non_sortable_classes_properties.js | 1 - .../client/webconsole/test/browser_console_variables_view_filter.js | 1 - .../webconsole/test/browser_console_variables_view_highlighter.js | 1 - .../webconsole/test/browser_console_variables_view_special_names.js | 1 - .../webconsole/test/browser_console_variables_view_while_debugging.js | 1 - .../browser_console_variables_view_while_debugging_and_inspecting.js | 1 - devtools/client/webconsole/test/browser_eval_in_debugger_stackframe.js | 1 - .../client/webconsole/test/browser_eval_in_debugger_stackframe2.js | 1 - devtools/client/webconsole/test/browser_jsterm_inspect.js | 1 - devtools/client/webconsole/test/browser_longstring_hang.js | 1 - .../webconsole/test/browser_netmonitor_shows_reqs_in_webconsole.js | 1 - .../test/browser_output_breaks_after_console_dir_uninspectable.js | 1 - devtools/client/webconsole/test/browser_output_longstring_expand.js | 1 - devtools/client/webconsole/test/browser_repeated_messages_accuracy.js | 1 - devtools/client/webconsole/test/browser_result_format_as_string.js | 1 - .../client/webconsole/test/browser_warn_user_about_replaced_api.js | 1 - .../test/browser_webconsole_allow_mixedcontent_securityerrors.js | 1 - devtools/client/webconsole/test/browser_webconsole_assert.js | 1 - ...r_webconsole_autocomplete-properties-with-non-alphanumeric-names.js | 1 - .../webconsole/test/browser_webconsole_autocomplete_accessibility.js | 1 - .../webconsole/test/browser_webconsole_autocomplete_and_selfxss.js | 1 - .../test/browser_webconsole_autocomplete_crossdomain_iframe.js | 1 - .../test/browser_webconsole_autocomplete_in_debugger_stackframe.js | 1 - .../test/browser_webconsole_autocomplete_popup_close_on_tab_switch.js | 1 - .../test/browser_webconsole_block_mixedcontent_securityerrors.js | 1 - .../browser_webconsole_bug_1006027_message_timestamps_incorrect.js | 1 - .../client/webconsole/test/browser_webconsole_bug_1010953_cspro.js | 1 - .../test/browser_webconsole_bug_1050691_click_function_to_source.js | 1 - .../client/webconsole/test/browser_webconsole_bug_1247459_violation.js | 1 - .../webconsole/test/browser_webconsole_bug_578437_page_reload.js | 1 - .../webconsole/test/browser_webconsole_bug_579412_input_focus.js | 1 - .../test/browser_webconsole_bug_580001_closing_after_completion.js | 1 - .../test/browser_webconsole_bug_580030_errors_after_page_reload.js | 1 - .../webconsole/test/browser_webconsole_bug_580454_timestamp_l10n.js | 1 - .../webconsole/test/browser_webconsole_bug_582201_duplicate_errors.js | 1 - .../test/browser_webconsole_bug_583816_No_input_and_Tab_key_pressed.js | 1 - .../client/webconsole/test/browser_webconsole_bug_585237_line_limit.js | 1 - .../webconsole/test/browser_webconsole_bug_585956_console_trace.js | 1 - .../webconsole/test/browser_webconsole_bug_585991_autocomplete_keys.js | 1 - .../test/browser_webconsole_bug_585991_autocomplete_popup.js | 1 - .../client/webconsole/test/browser_webconsole_bug_586388_select_all.js | 1 - .../webconsole/test/browser_webconsole_bug_587617_output_copy.js | 1 - .../webconsole/test/browser_webconsole_bug_588342_document_focus.js | 1 - .../test/browser_webconsole_bug_588730_text_node_insertion.js | 1 - .../webconsole/test/browser_webconsole_bug_588967_input_expansion.js | 1 - .../client/webconsole/test/browser_webconsole_bug_589162_css_filter.js | 1 - .../webconsole/test/browser_webconsole_bug_592442_closing_brackets.js | 1 - .../webconsole/test/browser_webconsole_bug_593003_iframe_wrong_hud.js | 1 - .../test/browser_webconsole_bug_594497_history_arrow_keys.js | 1 - .../client/webconsole/test/browser_webconsole_bug_595223_file_uri.js | 1 - .../test/browser_webconsole_bug_595350_multiple_windows_and_tabs.js | 1 - .../test/browser_webconsole_bug_595934_message_categories.js | 1 - ...r_webconsole_bug_597103_deactivateHUDForContext_unfocused_window.js | 1 - .../test/browser_webconsole_bug_597136_external_script_errors.js | 1 - .../test/browser_webconsole_bug_597136_network_requests_from_chrome.js | 1 - .../webconsole/test/browser_webconsole_bug_597460_filter_scroll.js | 1 - .../webconsole/test/browser_webconsole_bug_597756_reopen_closed_tab.js | 1 - .../webconsole/test/browser_webconsole_bug_599725_response_headers.js | 1 - .../client/webconsole/test/browser_webconsole_bug_600183_charset.js | 1 - .../client/webconsole/test/browser_webconsole_bug_601177_log_levels.js | 1 - .../client/webconsole/test/browser_webconsole_bug_601352_scroll.js | 1 - .../webconsole/test/browser_webconsole_bug_601667_filter_buttons.js | 1 - .../client/webconsole/test/browser_webconsole_bug_603750_websocket.js | 1 - devtools/client/webconsole/test/browser_webconsole_bug_611795.js | 1 - .../test/browser_webconsole_bug_613013_console_api_iframe.js | 1 - .../webconsole/test/browser_webconsole_bug_613280_jsterm_copy.js | 1 - .../webconsole/test/browser_webconsole_bug_613642_maintain_scroll.js | 1 - .../webconsole/test/browser_webconsole_bug_613642_prune_scroll.js | 1 - .../webconsole/test/browser_webconsole_bug_614793_jsterm_scroll.js | 1 - .../test/browser_webconsole_bug_618078_network_exceptions.js | 1 - .../webconsole/test/browser_webconsole_bug_621644_jsterm_dollar.js | 1 - .../test/browser_webconsole_bug_622303_persistent_filters.js | 1 - .../test/browser_webconsole_bug_623749_ctrl_a_select_all_winnt.js | 1 - .../test/browser_webconsole_bug_630733_response_redirect_headers.js | 1 - .../test/browser_webconsole_bug_632275_getters_document_width.js | 1 - .../test/browser_webconsole_bug_632347_iterators_generators.js | 1 - devtools/client/webconsole/test/browser_webconsole_bug_632817.js | 1 - .../client/webconsole/test/browser_webconsole_bug_642108_pruneTest.js | 1 - .../client/webconsole/test/browser_webconsole_bug_644419_log_limits.js | 1 - .../test/browser_webconsole_bug_646025_console_file_location.js | 1 - .../test/browser_webconsole_bug_651501_document_body_autocomplete.js | 1 - .../test/browser_webconsole_bug_653531_highlighter_console_helper.js | 1 - .../webconsole/test/browser_webconsole_bug_658368_time_methods.js | 1 - .../webconsole/test/browser_webconsole_bug_659907_console_dir.js | 1 - .../webconsole/test/browser_webconsole_bug_660806_history_nav.js | 1 - .../webconsole/test/browser_webconsole_bug_664131_console_group.js | 1 - .../test/browser_webconsole_bug_686937_autocomplete_JSTerm_helpers.js | 1 - devtools/client/webconsole/test/browser_webconsole_bug_704295.js | 1 - ...rowser_webconsole_bug_734061_No_input_change_and_Tab_key_pressed.js | 1 - .../webconsole/test/browser_webconsole_bug_737873_mixedcontent.js | 1 - ...browser_webconsole_bug_752559_ineffective_iframe_sandbox_warning.js | 1 - ...le_bug_762593_insecure_passwords_about_blank_web_console_warning.js | 1 - ...ser_webconsole_bug_762593_insecure_passwords_web_console_warning.js | 1 - .../webconsole/test/browser_webconsole_bug_764572_output_open_url.js | 1 - .../test/browser_webconsole_bug_766001_JS_Console_in_Debugger.js | 1 - .../client/webconsole/test/browser_webconsole_bug_770099_violation.js | 1 - .../test/browser_webconsole_bug_782653_CSS_links_in_Style_Editor.js | 1 - .../webconsole/test/browser_webconsole_bug_804845_ctrl_key_nav.js | 1 - .../test/browser_webconsole_bug_817834_add_edited_input_to_history.js | 1 - .../webconsole/test/browser_webconsole_bug_837351_securityerrors.js | 1 - .../webconsole/test/browser_webconsole_bug_922212_console_dirxml.js | 1 - .../client/webconsole/test/browser_webconsole_cached_autocomplete.js | 1 - devtools/client/webconsole/test/browser_webconsole_cd_iframe.js | 1 - .../client/webconsole/test/browser_webconsole_certificate_messages.js | 1 - devtools/client/webconsole/test/browser_webconsole_chrome.js | 1 - devtools/client/webconsole/test/browser_webconsole_clear_method.js | 1 - devtools/client/webconsole/test/browser_webconsole_clickable_urls.js | 1 - .../client/webconsole/test/browser_webconsole_closure_inspection.js | 1 - devtools/client/webconsole/test/browser_webconsole_column_numbers.js | 1 - devtools/client/webconsole/test/browser_webconsole_completion.js | 1 - .../webconsole/test/browser_webconsole_console_api_stackframe.js | 1 - .../client/webconsole/test/browser_webconsole_console_custom_styles.js | 1 - devtools/client/webconsole/test/browser_webconsole_console_extras.js | 1 - .../client/webconsole/test/browser_webconsole_console_logging_api.js | 1 - .../webconsole/test/browser_webconsole_console_logging_workers_api.js | 1 - .../client/webconsole/test/browser_webconsole_console_trace_async.js | 1 - .../webconsole/test/browser_webconsole_console_trace_duplicates.js | 1 - .../test/browser_webconsole_context_menu_open_in_var_view.js | 1 - .../webconsole/test/browser_webconsole_context_menu_store_as_global.js | 1 - devtools/client/webconsole/test/browser_webconsole_count.js | 1 - .../webconsole/test/browser_webconsole_dont_navigate_on_doubleclick.js | 1 - .../client/webconsole/test/browser_webconsole_exception_stackframe.js | 1 - devtools/client/webconsole/test/browser_webconsole_execution_scope.js | 1 - .../client/webconsole/test/browser_webconsole_expandable_timestamps.js | 1 - .../webconsole/test/browser_webconsole_filter_buttons_contextmenu.js | 1 - devtools/client/webconsole/test/browser_webconsole_for_of.js | 1 - devtools/client/webconsole/test/browser_webconsole_history.js | 1 - .../client/webconsole/test/browser_webconsole_hpkp_invalid-headers.js | 1 - .../client/webconsole/test/browser_webconsole_hsts_invalid-headers.js | 1 - .../test/browser_webconsole_input_field_focus_on_panel_select.js | 1 - .../webconsole/test/browser_webconsole_inspect-parsed-documents.js | 1 - .../client/webconsole/test/browser_webconsole_js_input_expansion.js | 1 - devtools/client/webconsole/test/browser_webconsole_jsterm.js | 1 - .../test/browser_webconsole_live_filtering_of_message_types.js | 1 - .../test/browser_webconsole_live_filtering_on_search_strings.js | 1 - devtools/client/webconsole/test/browser_webconsole_log_file_filter.js | 1 - devtools/client/webconsole/test/browser_webconsole_message_node_id.js | 1 - devtools/client/webconsole/test/browser_webconsole_netlogging.js | 1 - .../webconsole/test/browser_webconsole_netlogging_reset_filter.js | 1 - devtools/client/webconsole/test/browser_webconsole_notifications.js | 1 - .../webconsole/test/browser_webconsole_open-links-without-callback.js | 1 - devtools/client/webconsole/test/browser_webconsole_output_01.js | 1 - devtools/client/webconsole/test/browser_webconsole_output_02.js | 1 - devtools/client/webconsole/test/browser_webconsole_output_03.js | 1 - devtools/client/webconsole/test/browser_webconsole_output_04.js | 1 - devtools/client/webconsole/test/browser_webconsole_output_05.js | 1 - devtools/client/webconsole/test/browser_webconsole_output_06.js | 1 - .../client/webconsole/test/browser_webconsole_output_copy_newlines.js | 1 - .../webconsole/test/browser_webconsole_output_dom_elements_01.js | 1 - .../webconsole/test/browser_webconsole_output_dom_elements_02.js | 1 - .../webconsole/test/browser_webconsole_output_dom_elements_03.js | 1 - .../webconsole/test/browser_webconsole_output_dom_elements_04.js | 1 - .../webconsole/test/browser_webconsole_output_dom_elements_05.js | 1 - devtools/client/webconsole/test/browser_webconsole_output_events.js | 1 - devtools/client/webconsole/test/browser_webconsole_output_order.js | 1 - devtools/client/webconsole/test/browser_webconsole_output_regexp.js | 1 - devtools/client/webconsole/test/browser_webconsole_output_table.js | 1 - devtools/client/webconsole/test/browser_webconsole_promise.js | 1 - .../client/webconsole/test/browser_webconsole_property_provider.js | 1 - devtools/client/webconsole/test/browser_webconsole_reflow.js | 1 - .../client/webconsole/test/browser_webconsole_scratchpad_panel_link.js | 1 - .../client/webconsole/test/browser_webconsole_script_errordoc_urls.js | 1 - .../test/browser_webconsole_show_subresource_security_errors.js | 1 - .../webconsole/test/browser_webconsole_shows_reqs_in_netmonitor.js | 1 - devtools/client/webconsole/test/browser_webconsole_split.js | 1 - devtools/client/webconsole/test/browser_webconsole_split_escape_key.js | 1 - devtools/client/webconsole/test/browser_webconsole_split_focus.js | 1 - devtools/client/webconsole/test/browser_webconsole_split_persist.js | 1 - .../client/webconsole/test/browser_webconsole_start_netmon_first.js | 1 - .../client/webconsole/test/browser_webconsole_strict_mode_errors.js | 1 - .../webconsole/test/browser_webconsole_trackingprotection_errors.js | 1 - devtools/client/webconsole/test/browser_webconsole_view_source.js | 1 - devtools/client/webconsole/test/head.js | 1 - devtools/client/webconsole/test/test-bug-595934-canvas-css.js | 1 - .../client/webconsole/test/test-bug-595934-empty-getelementbyid.js | 1 - devtools/client/webconsole/test/test-bug-595934-workers.js | 1 - .../client/webconsole/test/test-bug-597136-external-script-errors.js | 1 - devtools/client/webconsole/test/test-bug-601177-log-levels.js | 1 - devtools/client/webconsole/test/test-bug-603750-websocket.js | 1 - devtools/client/webconsole/test/test-bug-766001-console-log.js | 1 - devtools/client/webconsole/test/test-bug-766001-js-errors.js | 1 - devtools/client/webconsole/test/test-bug_923281_test1.js | 1 - devtools/client/webconsole/test/test-bug_923281_test2.js | 1 - devtools/client/webconsole/test/test-file-location.js | 1 - devtools/client/webconsole/utils.js | 1 - devtools/client/webconsole/webconsole.js | 1 - devtools/server/actors/breakpoint.js | 1 - devtools/server/actors/common.js | 1 - devtools/server/actors/director-registry.js | 1 - devtools/server/actors/environment.js | 1 - devtools/server/actors/frame.js | 1 - devtools/server/actors/object.js | 1 - devtools/server/actors/pretty-print-worker.js | 1 - devtools/server/actors/root.js | 1 - devtools/server/actors/script.js | 1 - devtools/server/actors/source.js | 1 - devtools/server/actors/utils/actor-registry-utils.js | 1 - devtools/server/actors/utils/make-debugger.js | 1 - devtools/server/actors/utils/map-uri-to-addon-id.js | 1 - devtools/server/actors/utils/webconsole-utils.js | 1 - devtools/server/actors/utils/webconsole-worker-utils.js | 1 - devtools/server/actors/webbrowser.js | 1 - devtools/server/actors/webconsole.js | 1 - devtools/server/css-logic.js | 1 - devtools/server/tests/unit/test_getRuleText.js | 1 - devtools/server/tests/unit/test_getTextAtLineColumn.js | 1 - devtools/shared/Parser.jsm | 1 - devtools/shared/client/connection-manager.js | 1 - devtools/shared/client/main.js | 1 - devtools/shared/css/parsing-utils.js | 1 - devtools/shared/inspector/css-logic.js | 1 - devtools/shared/jsbeautify/tests/unit/test.js | 1 - devtools/shared/security/auth.js | 1 - devtools/shared/security/cert.js | 1 - devtools/shared/security/prompt.js | 1 - devtools/shared/security/socket.js | 1 - devtools/shared/webconsole/client.js | 1 - devtools/shared/webconsole/js-property-provider.js | 1 - devtools/shared/webconsole/network-monitor.js | 1 - devtools/shared/webconsole/server-logger-monitor.js | 1 - devtools/shared/webconsole/server-logger.js | 1 - devtools/shared/webconsole/test/common.js | 1 - devtools/shared/webconsole/throttle.js | 1 - 860 files changed, 1 insertion(+), 861 deletions(-) (limited to 'devtools') diff --git a/devtools/client/animationinspector/animation-controller.js b/devtools/client/animationinspector/animation-controller.js index 03c6e0e95..7a326e6db 100644 --- a/devtools/client/animationinspector/animation-controller.js +++ b/devtools/client/animationinspector/animation-controller.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/animationinspector/animation-panel.js b/devtools/client/animationinspector/animation-panel.js index 25fd84b87..22575b9f6 100644 --- a/devtools/client/animationinspector/animation-panel.js +++ b/devtools/client/animationinspector/animation-panel.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/animationinspector/components/animation-details.js b/devtools/client/animationinspector/components/animation-details.js index c042ccac0..9aea0419d 100644 --- a/devtools/client/animationinspector/components/animation-details.js +++ b/devtools/client/animationinspector/components/animation-details.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/animationinspector/components/animation-target-node.js b/devtools/client/animationinspector/components/animation-target-node.js index c300e9ce7..5e6706b42 100644 --- a/devtools/client/animationinspector/components/animation-target-node.js +++ b/devtools/client/animationinspector/components/animation-target-node.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/animationinspector/components/animation-time-block.js b/devtools/client/animationinspector/components/animation-time-block.js index 51392da8f..6d6757651 100644 --- a/devtools/client/animationinspector/components/animation-time-block.js +++ b/devtools/client/animationinspector/components/animation-time-block.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/animationinspector/components/animation-timeline.js b/devtools/client/animationinspector/components/animation-timeline.js index 49995d729..aa7954956 100644 --- a/devtools/client/animationinspector/components/animation-timeline.js +++ b/devtools/client/animationinspector/components/animation-timeline.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/animationinspector/components/keyframes.js b/devtools/client/animationinspector/components/keyframes.js index a017935a3..c95ca57f7 100644 --- a/devtools/client/animationinspector/components/keyframes.js +++ b/devtools/client/animationinspector/components/keyframes.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/animationinspector/components/rate-selector.js b/devtools/client/animationinspector/components/rate-selector.js index e46664e6a..927803b2d 100644 --- a/devtools/client/animationinspector/components/rate-selector.js +++ b/devtools/client/animationinspector/components/rate-selector.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/animationinspector/test/unit/test_findOptimalTimeInterval.js b/devtools/client/animationinspector/test/unit/test_findOptimalTimeInterval.js index 64451bfdf..f406b0eea 100644 --- a/devtools/client/animationinspector/test/unit/test_findOptimalTimeInterval.js +++ b/devtools/client/animationinspector/test/unit/test_findOptimalTimeInterval.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* eslint no-eval:0 */ diff --git a/devtools/client/animationinspector/test/unit/test_formatStopwatchTime.js b/devtools/client/animationinspector/test/unit/test_formatStopwatchTime.js index 12584a2a4..00d45c4e2 100644 --- a/devtools/client/animationinspector/test/unit/test_formatStopwatchTime.js +++ b/devtools/client/animationinspector/test/unit/test_formatStopwatchTime.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/unit/test_getCssPropertyName.js b/devtools/client/animationinspector/test/unit/test_getCssPropertyName.js index 21470d5fb..03fec9eff 100644 --- a/devtools/client/animationinspector/test/unit/test_getCssPropertyName.js +++ b/devtools/client/animationinspector/test/unit/test_getCssPropertyName.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/unit/test_timeScale.js b/devtools/client/animationinspector/test/unit/test_timeScale.js index 9ee4b8a59..61178f4f3 100644 --- a/devtools/client/animationinspector/test/unit/test_timeScale.js +++ b/devtools/client/animationinspector/test/unit/test_timeScale.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/unit/test_timeScale_dimensions.js b/devtools/client/animationinspector/test/unit/test_timeScale_dimensions.js index f6d80e60b..3f2c6d53e 100644 --- a/devtools/client/animationinspector/test/unit/test_timeScale_dimensions.js +++ b/devtools/client/animationinspector/test/unit/test_timeScale_dimensions.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. https://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/utils.js b/devtools/client/animationinspector/utils.js index 4b6891ac1..6d92d73d0 100644 --- a/devtools/client/animationinspector/utils.js +++ b/devtools/client/animationinspector/utils.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/canvasdebugger/panel.js b/devtools/client/canvasdebugger/panel.js index 4535886c7..bf90162cc 100644 --- a/devtools/client/canvasdebugger/panel.js +++ b/devtools/client/canvasdebugger/panel.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/debugger/content/constants.js b/devtools/client/debugger/content/constants.js index 0099477b7..c3fd81a37 100644 --- a/devtools/client/debugger/content/constants.js +++ b/devtools/client/debugger/content/constants.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/debugger/content/globalActions.js b/devtools/client/debugger/content/globalActions.js index 3f02be36e..bbd3066e0 100644 --- a/devtools/client/debugger/content/globalActions.js +++ b/devtools/client/debugger/content/globalActions.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/debugger/content/utils.js b/devtools/client/debugger/content/utils.js index 59993e9b4..8fb6fd2d1 100644 --- a/devtools/client/debugger/content/utils.js +++ b/devtools/client/debugger/content/utils.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/debugger/debugger-commands.js b/devtools/client/debugger/debugger-commands.js index 3229646f8..bd9092ca6 100644 --- a/devtools/client/debugger/debugger-commands.js +++ b/devtools/client/debugger/debugger-commands.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/debugger/debugger-controller.js b/devtools/client/debugger/debugger-controller.js index ce6a467bc..f665b50ca 100644 --- a/devtools/client/debugger/debugger-controller.js +++ b/devtools/client/debugger/debugger-controller.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/debugger/new/test/mochitest/browser_dbg-chrome-create.js b/devtools/client/debugger/new/test/mochitest/browser_dbg-chrome-create.js index a2d88c064..bd1bd5332 100644 --- a/devtools/client/debugger/new/test/mochitest/browser_dbg-chrome-create.js +++ b/devtools/client/debugger/new/test/mochitest/browser_dbg-chrome-create.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/new/test/mochitest/browser_dbg-chrome-debugging.js b/devtools/client/debugger/new/test/mochitest/browser_dbg-chrome-debugging.js index 3933c919b..8432a903d 100644 --- a/devtools/client/debugger/new/test/mochitest/browser_dbg-chrome-debugging.js +++ b/devtools/client/debugger/new/test/mochitest/browser_dbg-chrome-debugging.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/new/test/mochitest/head.js b/devtools/client/debugger/new/test/mochitest/head.js index b0964d890..49eef1969 100644 --- a/devtools/client/debugger/new/test/mochitest/head.js +++ b/devtools/client/debugger/new/test/mochitest/head.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/panel.js b/devtools/client/debugger/panel.js index 352d7b284..11c139db1 100644 --- a/devtools/client/debugger/panel.js +++ b/devtools/client/debugger/panel.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_aaa_run_first_leaktest.js b/devtools/client/debugger/test/mochitest/browser_dbg_aaa_run_first_leaktest.js index bd612456b..91d885612 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_aaa_run_first_leaktest.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_aaa_run_first_leaktest.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_addon-console.js b/devtools/client/debugger/test/mochitest/browser_dbg_addon-console.js index cf615f181..b58834dc2 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_addon-console.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_addon-console.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_addon-modules-unpacked.js b/devtools/client/debugger/test/mochitest/browser_dbg_addon-modules-unpacked.js index 5784eecb4..7458926ff 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_addon-modules-unpacked.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_addon-modules-unpacked.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_addon-modules.js b/devtools/client/debugger/test/mochitest/browser_dbg_addon-modules.js index 1ff7c600d..80a93e057 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_addon-modules.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_addon-modules.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_addon-panels.js b/devtools/client/debugger/test/mochitest/browser_dbg_addon-panels.js index aeda501b0..ccd861ccc 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_addon-panels.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_addon-panels.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_addon-sources.js b/devtools/client/debugger/test/mochitest/browser_dbg_addon-sources.js index eaa4741eb..6bf104a3c 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_addon-sources.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_addon-sources.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_addon-workers-dbg-enabled.js b/devtools/client/debugger/test/mochitest/browser_dbg_addon-workers-dbg-enabled.js index 158a3d69e..1d9ef6e9a 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_addon-workers-dbg-enabled.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_addon-workers-dbg-enabled.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_addonactor.js b/devtools/client/debugger/test/mochitest/browser_dbg_addonactor.js index 1bee0b933..fad5d8b18 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_addonactor.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_addonactor.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_auto-pretty-print-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_auto-pretty-print-01.js index dcad48cf8..34c74c070 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_auto-pretty-print-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_auto-pretty-print-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_auto-pretty-print-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_auto-pretty-print-02.js index 432bc73d2..5080c25cb 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_auto-pretty-print-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_auto-pretty-print-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_auto-pretty-print-03.js b/devtools/client/debugger/test/mochitest/browser_dbg_auto-pretty-print-03.js index bf73ef0cc..8c8455880 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_auto-pretty-print-03.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_auto-pretty-print-03.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_bfcache.js b/devtools/client/debugger/test/mochitest/browser_dbg_bfcache.js index 8b3c9ca34..47954f6ce 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_bfcache.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_bfcache.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-01.js index f4ecd5b95..72a401f2d 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-02.js index 2eca3ec92..7f9561a5d 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-03.js b/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-03.js index fa4489ac7..a18ccda22 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-03.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-03.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-04.js b/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-04.js index ea9cd84f3..ace1088ef 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-04.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-04.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-05.js b/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-05.js index 96e2b9873..6ea025b40 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-05.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-05.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-06.js b/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-06.js index 23a13f4db..0caea1eb6 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-06.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-06.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-07.js b/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-07.js index 1aa6b0bd1..4db8cf8af 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-07.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_blackboxing-07.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_breadcrumbs-access.js b/devtools/client/debugger/test/mochitest/browser_dbg_breadcrumbs-access.js index 596bcd336..18ee1d3a5 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_breadcrumbs-access.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_breadcrumbs-access.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_break-in-anon.js b/devtools/client/debugger/test/mochitest/browser_dbg_break-in-anon.js index 23d55f4b9..5efef8f29 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_break-in-anon.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_break-in-anon.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-01.js index 82481187a..21af84802 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-02.js index dcbb1dca1..03d355f73 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-03.js b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-03.js index 6d0d9708c..154cb3d01 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-03.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-03.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-04.js b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-04.js index 3f2b2948e..d5190bbac 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-04.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-04.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-05.js b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-05.js index d0a552e81..d2094e4dd 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-05.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-05.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-06.js b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-06.js index 3197b640a..093bcfff1 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-06.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-06.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-07.js b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-07.js index 107eab5f8..ad6b3aa75 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-07.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-07.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-08.js b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-08.js index c2bad132b..f6766d21e 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-08.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-08.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-event-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-event-01.js index a066b7d6b..8fbbaf7f3 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-event-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-event-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-event-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-event-02.js index d6d502343..784a3b298 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-event-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-event-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-event-03.js b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-event-03.js index 3ffe830e9..43462fa7b 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-event-03.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-dom-event-03.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-next-console.js b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-next-console.js index c30694520..53022e6a6 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-next-console.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-next-console.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-next.js b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-next.js index 53f03c183..dcd0a6e9b 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_break-on-next.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_break-on-next.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_break-unselected.js b/devtools/client/debugger/test/mochitest/browser_dbg_break-unselected.js index b76a7606a..403d4e743 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_break-unselected.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_break-unselected.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-actual-location.js b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-actual-location.js index 0f880b9cc..3d549c9e6 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-actual-location.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-actual-location.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-actual-location2.js b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-actual-location2.js index 16082d2cc..5cee68795 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-actual-location2.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-actual-location2.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-break-on-last-line-of-script-on-reload.js b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-break-on-last-line-of-script-on-reload.js index 124f8b1c2..e3b9c06fe 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-break-on-last-line-of-script-on-reload.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-break-on-last-line-of-script-on-reload.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-button-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-button-01.js index 25bf1fe06..523a772ce 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-button-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-button-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-button-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-button-02.js index 6a763bf7e..6e02c57b7 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-button-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-button-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-condition-thrown-message.js b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-condition-thrown-message.js index cefd429d2..01ba1b3aa 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-condition-thrown-message.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-condition-thrown-message.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-contextmenu-add.js b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-contextmenu-add.js index 2b50d53aa..3ac3c4119 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-contextmenu-add.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-contextmenu-add.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-contextmenu.js b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-contextmenu.js index 913d32073..f8fcc32f0 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-contextmenu.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-contextmenu.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-disabled-reload.js b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-disabled-reload.js index 1caf4994f..864a7ba70 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-disabled-reload.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-disabled-reload.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-editor.js b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-editor.js index d5232a50d..05c923a86 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-editor.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-editor.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-eval.js b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-eval.js index 795059c70..ed83488a1 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-eval.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-eval.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-highlight.js b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-highlight.js index d04a752ca..625385e2c 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-highlight.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-highlight.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-new-script.js b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-new-script.js index 6e0537f82..74dbe8175 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-new-script.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-new-script.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-other-tabs.js b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-other-tabs.js index 2763eee95..79a1aaf73 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-other-tabs.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-other-tabs.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-pane.js b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-pane.js index c576603d4..904239b24 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-pane.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-pane.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-reload.js b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-reload.js index b86c0ec04..5af6a8c07 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-reload.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_breakpoints-reload.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_bug-896139.js b/devtools/client/debugger/test/mochitest/browser_dbg_bug-896139.js index 39df159bc..779e1c172 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_bug-896139.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_bug-896139.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_chrome-create.js b/devtools/client/debugger/test/mochitest/browser_dbg_chrome-create.js index 33c21c3d5..f1b5a130c 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_chrome-create.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_chrome-create.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_chrome-debugging.js b/devtools/client/debugger/test/mochitest/browser_dbg_chrome-debugging.js index 79e9e6566..e91a71fd1 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_chrome-debugging.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_chrome-debugging.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_clean-exit-window.js b/devtools/client/debugger/test/mochitest/browser_dbg_clean-exit-window.js index d09e8c70c..63ce96a3c 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_clean-exit-window.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_clean-exit-window.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_clean-exit.js b/devtools/client/debugger/test/mochitest/browser_dbg_clean-exit.js index 25cbf550d..f367d8a62 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_clean-exit.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_clean-exit.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_closure-inspection.js b/devtools/client/debugger/test/mochitest/browser_dbg_closure-inspection.js index b2fa66872..3efca3bc4 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_closure-inspection.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_closure-inspection.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_cmd-blackbox.js b/devtools/client/debugger/test/mochitest/browser_dbg_cmd-blackbox.js index 06ff8a4f3..773c5795d 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_cmd-blackbox.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_cmd-blackbox.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_cmd-break.js b/devtools/client/debugger/test/mochitest/browser_dbg_cmd-break.js index 121bc5e99..48b08d5c9 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_cmd-break.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_cmd-break.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_cmd-dbg.js b/devtools/client/debugger/test/mochitest/browser_dbg_cmd-dbg.js index e843d0cd5..e54861449 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_cmd-dbg.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_cmd-dbg.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_conditional-breakpoints-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_conditional-breakpoints-01.js index d8f9fca04..5edba20e2 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_conditional-breakpoints-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_conditional-breakpoints-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_conditional-breakpoints-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_conditional-breakpoints-02.js index d3d857753..eaa89fd7b 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_conditional-breakpoints-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_conditional-breakpoints-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_conditional-breakpoints-03.js b/devtools/client/debugger/test/mochitest/browser_dbg_conditional-breakpoints-03.js index fbd9c6ae8..83539b3dc 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_conditional-breakpoints-03.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_conditional-breakpoints-03.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_conditional-breakpoints-04.js b/devtools/client/debugger/test/mochitest/browser_dbg_conditional-breakpoints-04.js index 55b217405..4ea82f654 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_conditional-breakpoints-04.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_conditional-breakpoints-04.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_conditional-breakpoints-05.js b/devtools/client/debugger/test/mochitest/browser_dbg_conditional-breakpoints-05.js index f143ef535..0fc44e217 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_conditional-breakpoints-05.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_conditional-breakpoints-05.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_console-eval.js b/devtools/client/debugger/test/mochitest/browser_dbg_console-eval.js index 37e0be1b1..59a491582 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_console-eval.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_console-eval.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_console-named-eval.js b/devtools/client/debugger/test/mochitest/browser_dbg_console-named-eval.js index a6c3c96bb..48442c03e 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_console-named-eval.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_console-named-eval.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_controller-evaluate-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_controller-evaluate-01.js index 9db259b98..0852c83dd 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_controller-evaluate-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_controller-evaluate-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_controller-evaluate-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_controller-evaluate-02.js index ff4092e1d..3c01d47c2 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_controller-evaluate-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_controller-evaluate-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_debugger-statement.js b/devtools/client/debugger/test/mochitest/browser_dbg_debugger-statement.js index 7378123f8..1f0648896 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_debugger-statement.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_debugger-statement.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_editor-contextmenu.js b/devtools/client/debugger/test/mochitest/browser_dbg_editor-contextmenu.js index b42e3e123..7f7f255f6 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_editor-contextmenu.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_editor-contextmenu.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_editor-mode.js b/devtools/client/debugger/test/mochitest/browser_dbg_editor-mode.js index 5982d9afd..6310e7d28 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_editor-mode.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_editor-mode.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_event-listeners-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_event-listeners-01.js index fa24e4507..2ef6605fa 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_event-listeners-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_event-listeners-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_event-listeners-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_event-listeners-02.js index d7b13e4c5..6e6423c27 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_event-listeners-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_event-listeners-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_event-listeners-03.js b/devtools/client/debugger/test/mochitest/browser_dbg_event-listeners-03.js index 8e193d8a6..93a5d7c17 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_event-listeners-03.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_event-listeners-03.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_event-listeners-04.js b/devtools/client/debugger/test/mochitest/browser_dbg_event-listeners-04.js index f1b0036b3..450b870d0 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_event-listeners-04.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_event-listeners-04.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_file-reload.js b/devtools/client/debugger/test/mochitest/browser_dbg_file-reload.js index cb7ceef8f..3876ad775 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_file-reload.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_file-reload.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_function-display-name.js b/devtools/client/debugger/test/mochitest/browser_dbg_function-display-name.js index fe9ff19eb..782c89ddc 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_function-display-name.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_function-display-name.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_global-method-override.js b/devtools/client/debugger/test/mochitest/browser_dbg_global-method-override.js index ef2018b64..433284a56 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_global-method-override.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_global-method-override.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_globalactor.js b/devtools/client/debugger/test/mochitest/browser_dbg_globalactor.js index 3f1533a1f..08aa0fe73 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_globalactor.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_globalactor.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_hide-toolbar-buttons.js b/devtools/client/debugger/test/mochitest/browser_dbg_hide-toolbar-buttons.js index 2fb9f9ddb..4a6f241d8 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_hide-toolbar-buttons.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_hide-toolbar-buttons.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_host-layout.js b/devtools/client/debugger/test/mochitest/browser_dbg_host-layout.js index 82a23cada..e4186daa6 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_host-layout.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_host-layout.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_iframes.js b/devtools/client/debugger/test/mochitest/browser_dbg_iframes.js index afc3f9682..92b55f9d7 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_iframes.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_iframes.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_instruments-pane-collapse.js b/devtools/client/debugger/test/mochitest/browser_dbg_instruments-pane-collapse.js index 31b3318cd..7b7d51896 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_instruments-pane-collapse.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_instruments-pane-collapse.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_instruments-pane-collapse_keyboard.js b/devtools/client/debugger/test/mochitest/browser_dbg_instruments-pane-collapse_keyboard.js index c26c476cc..974ae7c59 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_instruments-pane-collapse_keyboard.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_instruments-pane-collapse_keyboard.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_interrupts.js b/devtools/client/debugger/test/mochitest/browser_dbg_interrupts.js index d6d61a76b..18c8b37e7 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_interrupts.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_interrupts.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_jump-to-function-definition.js b/devtools/client/debugger/test/mochitest/browser_dbg_jump-to-function-definition.js index 71d9c340c..91e3a5f59 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_jump-to-function-definition.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_jump-to-function-definition.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_listaddons.js b/devtools/client/debugger/test/mochitest/browser_dbg_listaddons.js index 1490c9670..ddbf45d5a 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_listaddons.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_listaddons.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_listtabs-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_listtabs-01.js index dc804713b..27b7ac020 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_listtabs-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_listtabs-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_listtabs-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_listtabs-02.js index f696b6cb0..6fc9713e1 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_listtabs-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_listtabs-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_listtabs-03.js b/devtools/client/debugger/test/mochitest/browser_dbg_listtabs-03.js index d5584dcdb..0bcb9e8dc 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_listtabs-03.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_listtabs-03.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_location-changes-01-simple.js b/devtools/client/debugger/test/mochitest/browser_dbg_location-changes-01-simple.js index 261881835..07979f94e 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_location-changes-01-simple.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_location-changes-01-simple.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_location-changes-02-blank.js b/devtools/client/debugger/test/mochitest/browser_dbg_location-changes-02-blank.js index 10c7d98ba..8fb04b914 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_location-changes-02-blank.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_location-changes-02-blank.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_location-changes-03-new.js b/devtools/client/debugger/test/mochitest/browser_dbg_location-changes-03-new.js index 878c7be81..a3e690e7f 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_location-changes-03-new.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_location-changes-03-new.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_location-changes-04-breakpoint.js b/devtools/client/debugger/test/mochitest/browser_dbg_location-changes-04-breakpoint.js index 493796720..d8dff7e1c 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_location-changes-04-breakpoint.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_location-changes-04-breakpoint.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_multiple-windows.js b/devtools/client/debugger/test/mochitest/browser_dbg_multiple-windows.js index b0bb1834c..5e0ffac15 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_multiple-windows.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_multiple-windows.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_navigation.js b/devtools/client/debugger/test/mochitest/browser_dbg_navigation.js index df48601e6..828e7dda6 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_navigation.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_navigation.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_no-dangling-breakpoints.js b/devtools/client/debugger/test/mochitest/browser_dbg_no-dangling-breakpoints.js index b55e0132d..df9184769 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_no-dangling-breakpoints.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_no-dangling-breakpoints.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_no-page-sources.js b/devtools/client/debugger/test/mochitest/browser_dbg_no-page-sources.js index ff7e6f04a..ca8a98af1 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_no-page-sources.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_no-page-sources.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_on-pause-highlight.js b/devtools/client/debugger/test/mochitest/browser_dbg_on-pause-highlight.js index 07e2360af..211b0f987 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_on-pause-highlight.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_on-pause-highlight.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_on-pause-raise.js b/devtools/client/debugger/test/mochitest/browser_dbg_on-pause-raise.js index 6f6f15247..a270c0001 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_on-pause-raise.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_on-pause-raise.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_optimized-out-vars.js b/devtools/client/debugger/test/mochitest/browser_dbg_optimized-out-vars.js index ba60a0068..34bf98d3f 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_optimized-out-vars.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_optimized-out-vars.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_panel-size.js b/devtools/client/debugger/test/mochitest/browser_dbg_panel-size.js index 32e2df0c7..4f0c6b632 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_panel-size.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_panel-size.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_parser-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_parser-01.js index 8481e2d5f..3081a7f86 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_parser-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_parser-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_parser-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_parser-02.js index 6cf41b380..328d37ba9 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_parser-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_parser-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_parser-03.js b/devtools/client/debugger/test/mochitest/browser_dbg_parser-03.js index 439df705b..bb275712c 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_parser-03.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_parser-03.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_parser-04.js b/devtools/client/debugger/test/mochitest/browser_dbg_parser-04.js index b6ae0dfb6..c9798a516 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_parser-04.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_parser-04.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_parser-05.js b/devtools/client/debugger/test/mochitest/browser_dbg_parser-05.js index b34d3952a..74a3f87d8 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_parser-05.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_parser-05.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_parser-06.js b/devtools/client/debugger/test/mochitest/browser_dbg_parser-06.js index 4e5583e00..4dcbe6dbf 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_parser-06.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_parser-06.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_parser-07.js b/devtools/client/debugger/test/mochitest/browser_dbg_parser-07.js index bea913a9e..597a55418 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_parser-07.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_parser-07.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_parser-08.js b/devtools/client/debugger/test/mochitest/browser_dbg_parser-08.js index 624f3c293..c5cdbf070 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_parser-08.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_parser-08.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_parser-09.js b/devtools/client/debugger/test/mochitest/browser_dbg_parser-09.js index 2e0ac3b89..a2bf7ef54 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_parser-09.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_parser-09.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_parser-10.js b/devtools/client/debugger/test/mochitest/browser_dbg_parser-10.js index d340f9f9c..aaebe71ac 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_parser-10.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_parser-10.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_parser-11.js b/devtools/client/debugger/test/mochitest/browser_dbg_parser-11.js index ee2b4c89d..ab5867b94 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_parser-11.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_parser-11.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_parser-computed-name.js b/devtools/client/debugger/test/mochitest/browser_dbg_parser-computed-name.js index 085f9781b..df21052a7 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_parser-computed-name.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_parser-computed-name.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_parser-function-defaults.js b/devtools/client/debugger/test/mochitest/browser_dbg_parser-function-defaults.js index 55fac4055..0dc342c18 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_parser-function-defaults.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_parser-function-defaults.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_parser-spread-expression.js b/devtools/client/debugger/test/mochitest/browser_dbg_parser-spread-expression.js index 4b7d93d2f..0c63e1861 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_parser-spread-expression.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_parser-spread-expression.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_parser-template-strings.js b/devtools/client/debugger/test/mochitest/browser_dbg_parser-template-strings.js index 6ee271137..12c92f762 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_parser-template-strings.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_parser-template-strings.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_pause-exceptions-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_pause-exceptions-01.js index 92cd7e4bc..ad835d28f 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_pause-exceptions-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_pause-exceptions-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_pause-exceptions-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_pause-exceptions-02.js index 21b28ce26..a929269f1 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_pause-exceptions-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_pause-exceptions-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_pause-no-step.js b/devtools/client/debugger/test/mochitest/browser_dbg_pause-no-step.js index d4e8a05d2..f3d481072 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_pause-no-step.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_pause-no-step.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_pause-resume.js b/devtools/client/debugger/test/mochitest/browser_dbg_pause-resume.js index e9aaebe55..f5320d2cb 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_pause-resume.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_pause-resume.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_pause-warning.js b/devtools/client/debugger/test/mochitest/browser_dbg_pause-warning.js index bcd2599dc..1dd20b02e 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_pause-warning.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_pause-warning.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_paused-keybindings.js b/devtools/client/debugger/test/mochitest/browser_dbg_paused-keybindings.js index ebffbdd9d..512c03e42 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_paused-keybindings.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_paused-keybindings.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_post-page.js b/devtools/client/debugger/test/mochitest/browser_dbg_post-page.js index 9d7d418de..f19d04fbf 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_post-page.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_post-page.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-01.js index be6cb76f7..90ce9a1d4 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-02.js index 4cbdfc9a8..1530d174d 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-03.js b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-03.js index 13de30ac0..17c7ccd59 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-03.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-03.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-04.js b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-04.js index a45aca91e..5cac89549 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-04.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-04.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-05.js b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-05.js index de1198103..c31170003 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-05.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-05.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-06.js b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-06.js index 608df3140..2e11a9734 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-06.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-06.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-07.js b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-07.js index 4776d16ba..447407645 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-07.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-07.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-08.js b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-08.js index e49910972..090ff0767 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-08.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-08.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-09.js b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-09.js index 16eab24ea..0f7f4388f 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-09.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-09.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-10.js b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-10.js index 862d553fb..d727772e0 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-10.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-10.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-11.js b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-11.js index 9e8bebc3f..3783937eb 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-11.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-11.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-12.js b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-12.js index 57ce54fc5..4c4ec57db 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-12.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-12.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-13.js b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-13.js index 7409f88f5..ff7ec1475 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-13.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-13.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-on-paused.js b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-on-paused.js index 12e3a20fc..2430c0ddc 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-on-paused.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_pretty-print-on-paused.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_progress-listener-bug.js b/devtools/client/debugger/test/mochitest/browser_dbg_progress-listener-bug.js index e5aac615a..b7504c273 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_progress-listener-bug.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_progress-listener-bug.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_promises-allocation-stack.js b/devtools/client/debugger/test/mochitest/browser_dbg_promises-allocation-stack.js index 2d55c3a8d..f0ba913b8 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_promises-allocation-stack.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_promises-allocation-stack.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_promises-chrome-allocation-stack.js b/devtools/client/debugger/test/mochitest/browser_dbg_promises-chrome-allocation-stack.js index 48e9ab229..42c5d0008 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_promises-chrome-allocation-stack.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_promises-chrome-allocation-stack.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_promises-fulfillment-stack.js b/devtools/client/debugger/test/mochitest/browser_dbg_promises-fulfillment-stack.js index a5f592eb6..7a800fdb3 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_promises-fulfillment-stack.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_promises-fulfillment-stack.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_promises-rejection-stack.js b/devtools/client/debugger/test/mochitest/browser_dbg_promises-rejection-stack.js index 9434024e3..f0b3a3fb7 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_promises-rejection-stack.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_promises-rejection-stack.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_reload-preferred-script-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_reload-preferred-script-02.js index 75e7cfc1c..3001bd79f 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_reload-preferred-script-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_reload-preferred-script-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_reload-preferred-script-03.js b/devtools/client/debugger/test/mochitest/browser_dbg_reload-preferred-script-03.js index d286a5072..8be1fa173 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_reload-preferred-script-03.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_reload-preferred-script-03.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_reload-same-script.js b/devtools/client/debugger/test/mochitest/browser_dbg_reload-same-script.js index 754599418..28e7b1654 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_reload-same-script.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_reload-same-script.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_scripts-switching-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_scripts-switching-01.js index b213040c0..d33c4eaaa 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_scripts-switching-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_scripts-switching-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_scripts-switching-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_scripts-switching-02.js index 0d524db2c..075beaf27 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_scripts-switching-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_scripts-switching-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_scripts-switching-03.js b/devtools/client/debugger/test/mochitest/browser_dbg_scripts-switching-03.js index ab691b03c..a7e3145ca 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_scripts-switching-03.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_scripts-switching-03.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_search-autofill-identifier.js b/devtools/client/debugger/test/mochitest/browser_dbg_search-autofill-identifier.js index b86666ef5..72c028a14 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_search-autofill-identifier.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_search-autofill-identifier.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_search-basic-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_search-basic-01.js index e2262d4e8..4a57066cd 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_search-basic-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_search-basic-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_search-basic-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_search-basic-02.js index ef09e16da..1011055fe 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_search-basic-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_search-basic-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_search-basic-04.js b/devtools/client/debugger/test/mochitest/browser_dbg_search-basic-04.js index 4d708797d..078b3454e 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_search-basic-04.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_search-basic-04.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_search-global-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_search-global-01.js index c301dbbbc..b7dcc7696 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_search-global-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_search-global-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_search-global-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_search-global-02.js index 5713b3822..4445cff43 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_search-global-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_search-global-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_search-global-03.js b/devtools/client/debugger/test/mochitest/browser_dbg_search-global-03.js index d36f42b59..4e0a7fbba 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_search-global-03.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_search-global-03.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_search-global-04.js b/devtools/client/debugger/test/mochitest/browser_dbg_search-global-04.js index 3dde460e4..f4ed30806 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_search-global-04.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_search-global-04.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_search-global-05.js b/devtools/client/debugger/test/mochitest/browser_dbg_search-global-05.js index c441a88ac..11dd0e773 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_search-global-05.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_search-global-05.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_search-global-06.js b/devtools/client/debugger/test/mochitest/browser_dbg_search-global-06.js index 2de3ac558..df3ea7852 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_search-global-06.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_search-global-06.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_search-popup-jank.js b/devtools/client/debugger/test/mochitest/browser_dbg_search-popup-jank.js index 317dd6369..e0c5ed6b9 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_search-popup-jank.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_search-popup-jank.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_search-sources-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_search-sources-01.js index 671f931a7..7ff9bb57f 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_search-sources-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_search-sources-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_search-sources-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_search-sources-02.js index 3e06a1bdf..620b98389 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_search-sources-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_search-sources-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_search-sources-03.js b/devtools/client/debugger/test/mochitest/browser_dbg_search-sources-03.js index 904a51f76..0d50eba4e 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_search-sources-03.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_search-sources-03.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_search-symbols.js b/devtools/client/debugger/test/mochitest/browser_dbg_search-symbols.js index 5998acf8e..c6cbc0c3b 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_search-symbols.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_search-symbols.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_searchbox-help-popup-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_searchbox-help-popup-01.js index 6276567c2..3b8709b16 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_searchbox-help-popup-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_searchbox-help-popup-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_searchbox-help-popup-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_searchbox-help-popup-02.js index 277dd0bc4..b80ce81b6 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_searchbox-help-popup-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_searchbox-help-popup-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_searchbox-parse.js b/devtools/client/debugger/test/mochitest/browser_dbg_searchbox-parse.js index 2bb8e4150..e3d4063bf 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_searchbox-parse.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_searchbox-parse.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_server-conditional-bp-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_server-conditional-bp-01.js index b318d8798..43a4ee97a 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_server-conditional-bp-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_server-conditional-bp-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_server-conditional-bp-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_server-conditional-bp-02.js index 31f2af36c..6dda34ce3 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_server-conditional-bp-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_server-conditional-bp-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_server-conditional-bp-03.js b/devtools/client/debugger/test/mochitest/browser_dbg_server-conditional-bp-03.js index b83c96e39..dce8c100e 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_server-conditional-bp-03.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_server-conditional-bp-03.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_server-conditional-bp-04.js b/devtools/client/debugger/test/mochitest/browser_dbg_server-conditional-bp-04.js index 2f35c4d60..2892c1d0b 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_server-conditional-bp-04.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_server-conditional-bp-04.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_server-conditional-bp-05.js b/devtools/client/debugger/test/mochitest/browser_dbg_server-conditional-bp-05.js index 21607d8fd..6736305bc 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_server-conditional-bp-05.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_server-conditional-bp-05.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_source-maps-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_source-maps-01.js index c0681fec6..101be0479 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_source-maps-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_source-maps-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_source-maps-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_source-maps-02.js index e406c9ce4..980d1859f 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_source-maps-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_source-maps-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_source-maps-03.js b/devtools/client/debugger/test/mochitest/browser_dbg_source-maps-03.js index b729be49f..c9fa17e83 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_source-maps-03.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_source-maps-03.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_source-maps-04.js b/devtools/client/debugger/test/mochitest/browser_dbg_source-maps-04.js index f3c4e89a8..c7737f1ec 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_source-maps-04.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_source-maps-04.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_sources-bookmarklet.js b/devtools/client/debugger/test/mochitest/browser_dbg_sources-bookmarklet.js index 506e24006..ff2650966 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_sources-bookmarklet.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_sources-bookmarklet.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_sources-cache.js b/devtools/client/debugger/test/mochitest/browser_dbg_sources-cache.js index 2c5d9d0e2..68bf19ad7 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_sources-cache.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_sources-cache.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_sources-contextmenu-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_sources-contextmenu-01.js index 967c98cff..4cb69fe6c 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_sources-contextmenu-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_sources-contextmenu-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_sources-contextmenu-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_sources-contextmenu-02.js index da6668f51..e2821b9d4 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_sources-contextmenu-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_sources-contextmenu-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_sources-eval-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_sources-eval-01.js index 0e794d06c..337cfbe4d 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_sources-eval-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_sources-eval-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_sources-eval-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_sources-eval-02.js index b932df143..daa2b0f69 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_sources-eval-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_sources-eval-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_sources-iframe-reload.js b/devtools/client/debugger/test/mochitest/browser_dbg_sources-iframe-reload.js index 63c53fba5..142d9250a 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_sources-iframe-reload.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_sources-iframe-reload.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_sources-keybindings.js b/devtools/client/debugger/test/mochitest/browser_dbg_sources-keybindings.js index 80f043637..c7bf644d8 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_sources-keybindings.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_sources-keybindings.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_sources-labels.js b/devtools/client/debugger/test/mochitest/browser_dbg_sources-labels.js index 1c4cfd6da..5ca55104a 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_sources-labels.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_sources-labels.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_sources-large.js b/devtools/client/debugger/test/mochitest/browser_dbg_sources-large.js index 31b64c2fd..e7d602dad 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_sources-large.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_sources-large.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_sources-sorting.js b/devtools/client/debugger/test/mochitest/browser_dbg_sources-sorting.js index 2a600893b..f228d55c4 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_sources-sorting.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_sources-sorting.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_sources-webext-contentscript.js b/devtools/client/debugger/test/mochitest/browser_dbg_sources-webext-contentscript.js index 2fd8067f9..934579f11 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_sources-webext-contentscript.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_sources-webext-contentscript.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_split-console-keypress.js b/devtools/client/debugger/test/mochitest/browser_dbg_split-console-keypress.js index 5bfe0a61e..fa7296ebe 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_split-console-keypress.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_split-console-keypress.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_split-console-paused-reload.js b/devtools/client/debugger/test/mochitest/browser_dbg_split-console-paused-reload.js index e9daaa4bc..6990f6be8 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_split-console-paused-reload.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_split-console-paused-reload.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_stack-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_stack-01.js index 513823ba9..154d81df8 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_stack-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_stack-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_stack-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_stack-02.js index 5c972f4ee..7ae179855 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_stack-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_stack-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_stack-03.js b/devtools/client/debugger/test/mochitest/browser_dbg_stack-03.js index 28993bfd5..fe936f949 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_stack-03.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_stack-03.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_stack-04.js b/devtools/client/debugger/test/mochitest/browser_dbg_stack-04.js index 808ec634e..f7f4d5fd8 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_stack-04.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_stack-04.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_stack-05.js b/devtools/client/debugger/test/mochitest/browser_dbg_stack-05.js index 2e5648922..c3226bbe7 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_stack-05.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_stack-05.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_stack-06.js b/devtools/client/debugger/test/mochitest/browser_dbg_stack-06.js index 11f3b9534..25948c88a 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_stack-06.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_stack-06.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_stack-07.js b/devtools/client/debugger/test/mochitest/browser_dbg_stack-07.js index a5bbc5a10..f5771e76b 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_stack-07.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_stack-07.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_stack-contextmenu-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_stack-contextmenu-01.js index 61d964b91..d25685c77 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_stack-contextmenu-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_stack-contextmenu-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_stack-contextmenu-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_stack-contextmenu-02.js index 828bce6c8..ed12a0cb4 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_stack-contextmenu-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_stack-contextmenu-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_step-out.js b/devtools/client/debugger/test/mochitest/browser_dbg_step-out.js index ae1099a92..ee29e8843 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_step-out.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_step-out.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_tabactor-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_tabactor-01.js index dfb073617..87d8277ea 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_tabactor-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_tabactor-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_tabactor-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_tabactor-02.js index c9f506db2..d9332025c 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_tabactor-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_tabactor-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_terminate-on-tab-close.js b/devtools/client/debugger/test/mochitest/browser_dbg_terminate-on-tab-close.js index 42a1e6c70..59363e18f 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_terminate-on-tab-close.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_terminate-on-tab-close.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-01.js index c5c846978..bf99e246d 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-02.js index f97353dba..8a249cac9 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-03.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-03.js index 64e4d45a2..c3949372d 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-03.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-03.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-04.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-04.js index 9db8b9cb8..53f28aef8 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-04.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-04.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-05.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-05.js index ebad7c4e2..9e1d2c101 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-05.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-05.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-06.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-06.js index 6d923eb02..684283340 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-06.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-06.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-07.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-07.js index a05f33e7f..26c697e01 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-07.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-07.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-08.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-08.js index 83083eef3..880958a54 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-08.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-08.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-accessibility.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-accessibility.js index 6acec5583..96915b680 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-accessibility.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-accessibility.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-data.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-data.js index 02679e073..f8bf649cc 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-data.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-data.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-edit-cancel.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-edit-cancel.js index dd4954717..6bddf2488 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-edit-cancel.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-edit-cancel.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-edit-click.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-edit-click.js index 9ea9230ef..c2bba82ce 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-edit-click.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-edit-click.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-edit-getset-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-edit-getset-01.js index 5b5fce266..83c42d923 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-edit-getset-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-edit-getset-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-edit-getset-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-edit-getset-02.js index c0455a189..71c9301c0 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-edit-getset-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-edit-getset-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-edit-value.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-edit-value.js index 7fe887152..b2bccc0a2 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-edit-value.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-edit-value.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-edit-watch.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-edit-watch.js index 0271f3738..fe9d190b2 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-edit-watch.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-edit-watch.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-01.js index f2c142c85..b4a5e7d59 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-02.js index 967deb3a5..8139f13a4 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-03.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-03.js index cd4927e0f..0c9490e63 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-03.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-03.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-04.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-04.js index 0838f1517..3915afce8 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-04.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-04.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-05.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-05.js index 4390955eb..208217c90 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-05.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-05.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-pref.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-pref.js index 783fc8a23..cb872ae98 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-pref.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-pref.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-searchbox.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-searchbox.js index 1030d105d..7d9a48c42 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-searchbox.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-filter-searchbox.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-frame-parameters-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-frame-parameters-01.js index 03dcf1440..8b3dd6f33 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-frame-parameters-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-frame-parameters-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-frame-parameters-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-frame-parameters-02.js index 61bfb5275..4f735b6e2 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-frame-parameters-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-frame-parameters-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-frame-parameters-03.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-frame-parameters-03.js index 04f23ac7c..615153531 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-frame-parameters-03.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-frame-parameters-03.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-frame-with.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-frame-with.js index dc98e2d9b..e7b7f82dc 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-frame-with.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-frame-with.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-frozen-sealed-nonext.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-frozen-sealed-nonext.js index 736deeba1..85a6f32cb 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-frozen-sealed-nonext.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-frozen-sealed-nonext.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-hide-non-enums.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-hide-non-enums.js index 8094cfdc2..b9cbe8dcf 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-hide-non-enums.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-hide-non-enums.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-large-array-buffer.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-large-array-buffer.js index 7ec1fe2f0..e86e2f35a 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-large-array-buffer.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-large-array-buffer.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-map-set.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-map-set.js index 0c301c683..42ab7ead0 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-map-set.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-map-set.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-override-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-override-02.js index 276efb665..01fae2994 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-override-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-override-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-01.js index 2e7244fad..457695f17 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-02.js index 0f9843fc2..28a60c838 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-03.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-03.js index 2b59fcfc5..5877700cc 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-03.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-03.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-04.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-04.js index b175b7a50..c66dd4390 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-04.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-04.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-05.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-05.js index 5f974efdf..998f3ac4b 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-05.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-05.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-06.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-06.js index 2d0d5f06a..aa02be721 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-06.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-06.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-07.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-07.js index 1340f14c6..a6cc3cec3 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-07.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-07.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-08.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-08.js index d3ef69e7e..998e941e3 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-08.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-08.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-09.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-09.js index 41824cb76..3e6a606e6 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-09.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-09.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-10.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-10.js index 15dd02c44..30d58ba25 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-10.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-10.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-11.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-11.js index 57d31c727..e225d3e8c 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-11.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-11.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-12.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-12.js index 588276434..8d255e708 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-12.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-12.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-13.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-13.js index e8769ced7..d4e5ce52c 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-13.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-13.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-14.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-14.js index b1cefc8b8..1801ebb8b 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-14.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-14.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-15.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-15.js index 01c72df8c..91ecdc58b 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-15.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-15.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-16.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-16.js index 055517810..34575b8ec 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-16.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-popup-16.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-reexpand-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-reexpand-01.js index 4b68fb052..35e29a96f 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-reexpand-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-reexpand-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-reexpand-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-reexpand-02.js index e292c6804..7ebd3fba6 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-reexpand-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-reexpand-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-reexpand-03.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-reexpand-03.js index 258fbed26..a39fa155d 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-reexpand-03.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-reexpand-03.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-webidl.js b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-webidl.js index 4499ec18f..0b558cce8 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-webidl.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_variables-view-webidl.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_watch-expressions-01.js b/devtools/client/debugger/test/mochitest/browser_dbg_watch-expressions-01.js index fe55a5561..d9c109a59 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_watch-expressions-01.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_watch-expressions-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_watch-expressions-02.js b/devtools/client/debugger/test/mochitest/browser_dbg_watch-expressions-02.js index a9b22708d..98c878e54 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_watch-expressions-02.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_watch-expressions-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/browser_dbg_worker-source-map.js b/devtools/client/debugger/test/mochitest/browser_dbg_worker-source-map.js index c4e8841d5..c85f3ca3a 100644 --- a/devtools/client/debugger/test/mochitest/browser_dbg_worker-source-map.js +++ b/devtools/client/debugger/test/mochitest/browser_dbg_worker-source-map.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/head.js b/devtools/client/debugger/test/mochitest/head.js index 1f9d38b82..4763e8dcc 100644 --- a/devtools/client/debugger/test/mochitest/head.js +++ b/devtools/client/debugger/test/mochitest/head.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/test/mochitest/testactors.js b/devtools/client/debugger/test/mochitest/testactors.js index f7583b615..31239fc7d 100644 --- a/devtools/client/debugger/test/mochitest/testactors.js +++ b/devtools/client/debugger/test/mochitest/testactors.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/debugger/utils.js b/devtools/client/debugger/utils.js index e2d3fbebe..eb682493e 100644 --- a/devtools/client/debugger/utils.js +++ b/devtools/client/debugger/utils.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/debugger/views/filter-view.js b/devtools/client/debugger/views/filter-view.js index 460b1201c..e8fe769ba 100644 --- a/devtools/client/debugger/views/filter-view.js +++ b/devtools/client/debugger/views/filter-view.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/debugger/views/global-search-view.js b/devtools/client/debugger/views/global-search-view.js index c6a627971..6385fb3fe 100644 --- a/devtools/client/debugger/views/global-search-view.js +++ b/devtools/client/debugger/views/global-search-view.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/debugger/views/options-view.js b/devtools/client/debugger/views/options-view.js index 2fb5b0600..5ca0832ca 100644 --- a/devtools/client/debugger/views/options-view.js +++ b/devtools/client/debugger/views/options-view.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/debugger/views/stack-frames-classic-view.js b/devtools/client/debugger/views/stack-frames-classic-view.js index df1b93088..463457418 100644 --- a/devtools/client/debugger/views/stack-frames-classic-view.js +++ b/devtools/client/debugger/views/stack-frames-classic-view.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/debugger/views/stack-frames-view.js b/devtools/client/debugger/views/stack-frames-view.js index 244f97b3d..e7181f228 100644 --- a/devtools/client/debugger/views/stack-frames-view.js +++ b/devtools/client/debugger/views/stack-frames-view.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/debugger/views/toolbar-view.js b/devtools/client/debugger/views/toolbar-view.js index d76275a71..d1380f52e 100644 --- a/devtools/client/debugger/views/toolbar-view.js +++ b/devtools/client/debugger/views/toolbar-view.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/debugger/views/variable-bubble-view.js b/devtools/client/debugger/views/variable-bubble-view.js index 3ac2f971e..97e719840 100644 --- a/devtools/client/debugger/views/variable-bubble-view.js +++ b/devtools/client/debugger/views/variable-bubble-view.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/debugger/views/watch-expressions-view.js b/devtools/client/debugger/views/watch-expressions-view.js index 59d3ad5a0..17f13d046 100644 --- a/devtools/client/debugger/views/watch-expressions-view.js +++ b/devtools/client/debugger/views/watch-expressions-view.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/debugger/views/workers-view.js b/devtools/client/debugger/views/workers-view.js index 0dc8dc3a5..0eaa765a2 100644 --- a/devtools/client/debugger/views/workers-view.js +++ b/devtools/client/debugger/views/workers-view.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/dom/content/actions/filter.js b/devtools/client/dom/content/actions/filter.js index 3fac9d278..e1a0d834e 100644 --- a/devtools/client/dom/content/actions/filter.js +++ b/devtools/client/dom/content/actions/filter.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/dom/content/actions/grips.js b/devtools/client/dom/content/actions/grips.js index 23d4fc895..a98a780bf 100644 --- a/devtools/client/dom/content/actions/grips.js +++ b/devtools/client/dom/content/actions/grips.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/dom/content/components/dom-tree.js b/devtools/client/dom/content/components/dom-tree.js index ef529ac3f..3401ffb70 100644 --- a/devtools/client/dom/content/components/dom-tree.js +++ b/devtools/client/dom/content/components/dom-tree.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/dom/content/components/main-frame.js b/devtools/client/dom/content/components/main-frame.js index d786314e2..20de449c1 100644 --- a/devtools/client/dom/content/components/main-frame.js +++ b/devtools/client/dom/content/components/main-frame.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/dom/content/components/main-toolbar.js b/devtools/client/dom/content/components/main-toolbar.js index c44a6b4ca..43d48ac48 100644 --- a/devtools/client/dom/content/components/main-toolbar.js +++ b/devtools/client/dom/content/components/main-toolbar.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/dom/content/constants.js b/devtools/client/dom/content/constants.js index f06ca8512..cafc0f872 100644 --- a/devtools/client/dom/content/constants.js +++ b/devtools/client/dom/content/constants.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/dom/content/dom-decorator.js b/devtools/client/dom/content/dom-decorator.js index 4042df8d3..df83f989d 100644 --- a/devtools/client/dom/content/dom-decorator.js +++ b/devtools/client/dom/content/dom-decorator.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/dom/content/dom-view.js b/devtools/client/dom/content/dom-view.js index b0ea11dee..8fbf5b9fd 100644 --- a/devtools/client/dom/content/dom-view.js +++ b/devtools/client/dom/content/dom-view.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/dom/content/grip-provider.js b/devtools/client/dom/content/grip-provider.js index bcda1ff18..43ef2e2ec 100644 --- a/devtools/client/dom/content/grip-provider.js +++ b/devtools/client/dom/content/grip-provider.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/dom/content/reducers/filter.js b/devtools/client/dom/content/reducers/filter.js index 3eb5bd3fc..b4c29abcc 100644 --- a/devtools/client/dom/content/reducers/filter.js +++ b/devtools/client/dom/content/reducers/filter.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/dom/content/reducers/grips.js b/devtools/client/dom/content/reducers/grips.js index c7d589434..c20cd3299 100644 --- a/devtools/client/dom/content/reducers/grips.js +++ b/devtools/client/dom/content/reducers/grips.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/dom/content/reducers/index.js b/devtools/client/dom/content/reducers/index.js index 1900487e1..61562bdf8 100644 --- a/devtools/client/dom/content/reducers/index.js +++ b/devtools/client/dom/content/reducers/index.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/dom/content/utils.js b/devtools/client/dom/content/utils.js index 645ba7921..8c99b2642 100644 --- a/devtools/client/dom/content/utils.js +++ b/devtools/client/dom/content/utils.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/dom/dom-panel.js b/devtools/client/dom/dom-panel.js index 5cb6d0061..edb3f20d0 100644 --- a/devtools/client/dom/dom-panel.js +++ b/devtools/client/dom/dom-panel.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/dom/main.js b/devtools/client/dom/main.js index 085393428..7e265835b 100644 --- a/devtools/client/dom/main.js +++ b/devtools/client/dom/main.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/dom/test/browser_dom_array.js b/devtools/client/dom/test/browser_dom_array.js index 2813af320..5c39b0691 100644 --- a/devtools/client/dom/test/browser_dom_array.js +++ b/devtools/client/dom/test/browser_dom_array.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/dom/test/browser_dom_basic.js b/devtools/client/dom/test/browser_dom_basic.js index 2b76fe0fe..beb743363 100644 --- a/devtools/client/dom/test/browser_dom_basic.js +++ b/devtools/client/dom/test/browser_dom_basic.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/dom/test/browser_dom_refresh.js b/devtools/client/dom/test/browser_dom_refresh.js index 9fdc6aa7f..d52964ae0 100644 --- a/devtools/client/dom/test/browser_dom_refresh.js +++ b/devtools/client/dom/test/browser_dom_refresh.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/ToolboxProcess.jsm b/devtools/client/framework/ToolboxProcess.jsm index cd12e92cd..782d8fa5f 100644 --- a/devtools/client/framework/ToolboxProcess.jsm +++ b/devtools/client/framework/ToolboxProcess.jsm @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/framework/attach-thread.js b/devtools/client/framework/attach-thread.js index db445ce23..b99d8672b 100644 --- a/devtools/client/framework/attach-thread.js +++ b/devtools/client/framework/attach-thread.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/framework/connect/connect.js b/devtools/client/framework/connect/connect.js index d713231f9..abf2b5205 100644 --- a/devtools/client/framework/connect/connect.js +++ b/devtools/client/framework/connect/connect.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/framework/gDevTools.jsm b/devtools/client/framework/gDevTools.jsm index 6e0dc5e83..49c33c467 100644 --- a/devtools/client/framework/gDevTools.jsm +++ b/devtools/client/framework/gDevTools.jsm @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/framework/menu-item.js b/devtools/client/framework/menu-item.js index f6afefa41..42c48df8d 100644 --- a/devtools/client/framework/menu-item.js +++ b/devtools/client/framework/menu-item.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/framework/menu.js b/devtools/client/framework/menu.js index c96dbc2c7..e9f6af3f0 100644 --- a/devtools/client/framework/menu.js +++ b/devtools/client/framework/menu.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/framework/selection.js b/devtools/client/framework/selection.js index 8125f8508..5519e917d 100644 --- a/devtools/client/framework/selection.js +++ b/devtools/client/framework/selection.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/framework/test/browser_devtools_api.js b/devtools/client/framework/test/browser_devtools_api.js index 72d415c0b..6354feca2 100644 --- a/devtools/client/framework/test/browser_devtools_api.js +++ b/devtools/client/framework/test/browser_devtools_api.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_devtools_api_destroy.js b/devtools/client/framework/test/browser_devtools_api_destroy.js index 084a7a0a1..57121914b 100644 --- a/devtools/client/framework/test/browser_devtools_api_destroy.js +++ b/devtools/client/framework/test/browser_devtools_api_destroy.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_dynamic_tool_enabling.js b/devtools/client/framework/test/browser_dynamic_tool_enabling.js index 6420afabe..98e64eae1 100644 --- a/devtools/client/framework/test/browser_dynamic_tool_enabling.js +++ b/devtools/client/framework/test/browser_dynamic_tool_enabling.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_ignore_toolbox_network_requests.js b/devtools/client/framework/test/browser_ignore_toolbox_network_requests.js index 1cfc22f7e..482f88ea6 100644 --- a/devtools/client/framework/test/browser_ignore_toolbox_network_requests.js +++ b/devtools/client/framework/test/browser_ignore_toolbox_network_requests.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_keybindings_01.js b/devtools/client/framework/test/browser_keybindings_01.js index 134fb127c..80b7ed290 100644 --- a/devtools/client/framework/test/browser_keybindings_01.js +++ b/devtools/client/framework/test/browser_keybindings_01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_keybindings_02.js b/devtools/client/framework/test/browser_keybindings_02.js index 551fef873..ffdb3d889 100644 --- a/devtools/client/framework/test/browser_keybindings_02.js +++ b/devtools/client/framework/test/browser_keybindings_02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_keybindings_03.js b/devtools/client/framework/test/browser_keybindings_03.js index 752087a09..7746b205d 100644 --- a/devtools/client/framework/test/browser_keybindings_03.js +++ b/devtools/client/framework/test/browser_keybindings_03.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_menu_api.js b/devtools/client/framework/test/browser_menu_api.js index cf634ff6f..15a6d1921 100644 --- a/devtools/client/framework/test/browser_menu_api.js +++ b/devtools/client/framework/test/browser_menu_api.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_new_activation_workflow.js b/devtools/client/framework/test/browser_new_activation_workflow.js index 4092bf1a7..28ead8fc4 100644 --- a/devtools/client/framework/test/browser_new_activation_workflow.js +++ b/devtools/client/framework/test/browser_new_activation_workflow.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_target_events.js b/devtools/client/framework/test/browser_target_events.js index d0054a484..dd8def879 100644 --- a/devtools/client/framework/test/browser_target_events.js +++ b/devtools/client/framework/test/browser_target_events.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_target_remote.js b/devtools/client/framework/test/browser_target_remote.js index b828d14ff..f08fda0f6 100644 --- a/devtools/client/framework/test/browser_target_remote.js +++ b/devtools/client/framework/test/browser_target_remote.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_target_support.js b/devtools/client/framework/test/browser_target_support.js index 0cdbd565a..079e3c2cc 100644 --- a/devtools/client/framework/test/browser_target_support.js +++ b/devtools/client/framework/test/browser_target_support.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_custom_host.js b/devtools/client/framework/test/browser_toolbox_custom_host.js index 5d3aeed54..56af09ed3 100644 --- a/devtools/client/framework/test/browser_toolbox_custom_host.js +++ b/devtools/client/framework/test/browser_toolbox_custom_host.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_dynamic_registration.js b/devtools/client/framework/test/browser_toolbox_dynamic_registration.js index 2583ca68e..752197da7 100644 --- a/devtools/client/framework/test/browser_toolbox_dynamic_registration.js +++ b/devtools/client/framework/test/browser_toolbox_dynamic_registration.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_getpanelwhenready.js b/devtools/client/framework/test/browser_toolbox_getpanelwhenready.js index 21dd236a1..1b28f7222 100644 --- a/devtools/client/framework/test/browser_toolbox_getpanelwhenready.js +++ b/devtools/client/framework/test/browser_toolbox_getpanelwhenready.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_highlight.js b/devtools/client/framework/test/browser_toolbox_highlight.js index d197fdc99..1486b1f3a 100644 --- a/devtools/client/framework/test/browser_toolbox_highlight.js +++ b/devtools/client/framework/test/browser_toolbox_highlight.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_hosts.js b/devtools/client/framework/test/browser_toolbox_hosts.js index e16563ba7..936405ac4 100644 --- a/devtools/client/framework/test/browser_toolbox_hosts.js +++ b/devtools/client/framework/test/browser_toolbox_hosts.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_hosts_size.js b/devtools/client/framework/test/browser_toolbox_hosts_size.js index 4286fe438..23f8a5ecb 100644 --- a/devtools/client/framework/test/browser_toolbox_hosts_size.js +++ b/devtools/client/framework/test/browser_toolbox_hosts_size.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_keyboard_navigation.js b/devtools/client/framework/test/browser_toolbox_keyboard_navigation.js index a22f87064..304d57566 100644 --- a/devtools/client/framework/test/browser_toolbox_keyboard_navigation.js +++ b/devtools/client/framework/test/browser_toolbox_keyboard_navigation.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_minimize.js b/devtools/client/framework/test/browser_toolbox_minimize.js index 9b5126320..15855fa5a 100644 --- a/devtools/client/framework/test/browser_toolbox_minimize.js +++ b/devtools/client/framework/test/browser_toolbox_minimize.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_options.js b/devtools/client/framework/test/browser_toolbox_options.js index 569ed86fb..542f7b71b 100644 --- a/devtools/client/framework/test/browser_toolbox_options.js +++ b/devtools/client/framework/test/browser_toolbox_options.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_options_disable_buttons.js b/devtools/client/framework/test/browser_toolbox_options_disable_buttons.js index 09cde4393..30d33b7bc 100644 --- a/devtools/client/framework/test/browser_toolbox_options_disable_buttons.js +++ b/devtools/client/framework/test/browser_toolbox_options_disable_buttons.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_options_disable_cache-01.js b/devtools/client/framework/test/browser_toolbox_options_disable_cache-01.js index 6badf069e..0058f22ca 100644 --- a/devtools/client/framework/test/browser_toolbox_options_disable_cache-01.js +++ b/devtools/client/framework/test/browser_toolbox_options_disable_cache-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_options_disable_cache-02.js b/devtools/client/framework/test/browser_toolbox_options_disable_cache-02.js index 38c381cef..eb1262313 100644 --- a/devtools/client/framework/test/browser_toolbox_options_disable_cache-02.js +++ b/devtools/client/framework/test/browser_toolbox_options_disable_cache-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_options_disable_js.js b/devtools/client/framework/test/browser_toolbox_options_disable_js.js index b0c14a805..0ac67551f 100644 --- a/devtools/client/framework/test/browser_toolbox_options_disable_js.js +++ b/devtools/client/framework/test/browser_toolbox_options_disable_js.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_options_enable_serviceworkers_testing.js b/devtools/client/framework/test/browser_toolbox_options_enable_serviceworkers_testing.js index 3273f4395..03a60eb38 100644 --- a/devtools/client/framework/test/browser_toolbox_options_enable_serviceworkers_testing.js +++ b/devtools/client/framework/test/browser_toolbox_options_enable_serviceworkers_testing.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_options_enable_serviceworkers_testing_frame_script.js b/devtools/client/framework/test/browser_toolbox_options_enable_serviceworkers_testing_frame_script.js index ec5ab3762..f2d673307 100644 --- a/devtools/client/framework/test/browser_toolbox_options_enable_serviceworkers_testing_frame_script.js +++ b/devtools/client/framework/test/browser_toolbox_options_enable_serviceworkers_testing_frame_script.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_races.js b/devtools/client/framework/test/browser_toolbox_races.js index fedbc4402..e51d0a717 100644 --- a/devtools/client/framework/test/browser_toolbox_races.js +++ b/devtools/client/framework/test/browser_toolbox_races.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_raise.js b/devtools/client/framework/test/browser_toolbox_raise.js index 0af1a4571..25ea3400a 100644 --- a/devtools/client/framework/test/browser_toolbox_raise.js +++ b/devtools/client/framework/test/browser_toolbox_raise.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_ready.js b/devtools/client/framework/test/browser_toolbox_ready.js index e1a59b3f0..dcf6ac3e3 100644 --- a/devtools/client/framework/test/browser_toolbox_ready.js +++ b/devtools/client/framework/test/browser_toolbox_ready.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_select_event.js b/devtools/client/framework/test/browser_toolbox_select_event.js index ae104524e..9ee12ed2a 100644 --- a/devtools/client/framework/test/browser_toolbox_select_event.js +++ b/devtools/client/framework/test/browser_toolbox_select_event.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_selected_tool_unavailable.js b/devtools/client/framework/test/browser_toolbox_selected_tool_unavailable.js index d7cc5c94d..cfd8f8b45 100644 --- a/devtools/client/framework/test/browser_toolbox_selected_tool_unavailable.js +++ b/devtools/client/framework/test/browser_toolbox_selected_tool_unavailable.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_sidebar.js b/devtools/client/framework/test/browser_toolbox_sidebar.js index 897f8cba5..9b4642bae 100644 --- a/devtools/client/framework/test/browser_toolbox_sidebar.js +++ b/devtools/client/framework/test/browser_toolbox_sidebar.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_sidebar_events.js b/devtools/client/framework/test/browser_toolbox_sidebar_events.js index 9137aaebe..b28b65508 100644 --- a/devtools/client/framework/test/browser_toolbox_sidebar_events.js +++ b/devtools/client/framework/test/browser_toolbox_sidebar_events.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_sidebar_existing_tabs.js b/devtools/client/framework/test/browser_toolbox_sidebar_existing_tabs.js index 339687e10..9c18a4aec 100644 --- a/devtools/client/framework/test/browser_toolbox_sidebar_existing_tabs.js +++ b/devtools/client/framework/test/browser_toolbox_sidebar_existing_tabs.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_sidebar_overflow_menu.js b/devtools/client/framework/test/browser_toolbox_sidebar_overflow_menu.js index 5f6914a2f..78253d21d 100644 --- a/devtools/client/framework/test/browser_toolbox_sidebar_overflow_menu.js +++ b/devtools/client/framework/test/browser_toolbox_sidebar_overflow_menu.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_split_console.js b/devtools/client/framework/test/browser_toolbox_split_console.js index 8e1fecd15..4d39f34f6 100644 --- a/devtools/client/framework/test/browser_toolbox_split_console.js +++ b/devtools/client/framework/test/browser_toolbox_split_console.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_tabsswitch_shortcuts.js b/devtools/client/framework/test/browser_toolbox_tabsswitch_shortcuts.js index b9401f768..f8f49c071 100644 --- a/devtools/client/framework/test/browser_toolbox_tabsswitch_shortcuts.js +++ b/devtools/client/framework/test/browser_toolbox_tabsswitch_shortcuts.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_target.js b/devtools/client/framework/test/browser_toolbox_target.js index 68639c501..a58b2ec4a 100644 --- a/devtools/client/framework/test/browser_toolbox_target.js +++ b/devtools/client/framework/test/browser_toolbox_target.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_textbox_context_menu.js b/devtools/client/framework/test/browser_toolbox_textbox_context_menu.js index e2e961255..08e631b91 100644 --- a/devtools/client/framework/test/browser_toolbox_textbox_context_menu.js +++ b/devtools/client/framework/test/browser_toolbox_textbox_context_menu.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_theme_registration.js b/devtools/client/framework/test/browser_toolbox_theme_registration.js index 7794d457c..82bc005c8 100644 --- a/devtools/client/framework/test/browser_toolbox_theme_registration.js +++ b/devtools/client/framework/test/browser_toolbox_theme_registration.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_toggle.js b/devtools/client/framework/test/browser_toolbox_toggle.js index d5b6d0e96..5c7058e20 100644 --- a/devtools/client/framework/test/browser_toolbox_toggle.js +++ b/devtools/client/framework/test/browser_toolbox_toggle.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_tool_ready.js b/devtools/client/framework/test/browser_toolbox_tool_ready.js index 7d430e7c5..c4e007ff2 100644 --- a/devtools/client/framework/test/browser_toolbox_tool_ready.js +++ b/devtools/client/framework/test/browser_toolbox_tool_ready.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_tool_remote_reopen.js b/devtools/client/framework/test/browser_toolbox_tool_remote_reopen.js index 03461e953..a3a701e4f 100644 --- a/devtools/client/framework/test/browser_toolbox_tool_remote_reopen.js +++ b/devtools/client/framework/test/browser_toolbox_tool_remote_reopen.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_transport_events.js b/devtools/client/framework/test/browser_toolbox_transport_events.js index 1e2b67ac4..3d5e35c47 100644 --- a/devtools/client/framework/test/browser_toolbox_transport_events.js +++ b/devtools/client/framework/test/browser_toolbox_transport_events.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_view_source_01.js b/devtools/client/framework/test/browser_toolbox_view_source_01.js index 5a9a6d9b0..3c7e394b7 100644 --- a/devtools/client/framework/test/browser_toolbox_view_source_01.js +++ b/devtools/client/framework/test/browser_toolbox_view_source_01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_view_source_02.js b/devtools/client/framework/test/browser_toolbox_view_source_02.js index c18e885cf..ef10e720e 100644 --- a/devtools/client/framework/test/browser_toolbox_view_source_02.js +++ b/devtools/client/framework/test/browser_toolbox_view_source_02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_view_source_03.js b/devtools/client/framework/test/browser_toolbox_view_source_03.js index 2d2cda76f..e84b3a12e 100644 --- a/devtools/client/framework/test/browser_toolbox_view_source_03.js +++ b/devtools/client/framework/test/browser_toolbox_view_source_03.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_view_source_04.js b/devtools/client/framework/test/browser_toolbox_view_source_04.js index 47d86fc11..d67141731 100644 --- a/devtools/client/framework/test/browser_toolbox_view_source_04.js +++ b/devtools/client/framework/test/browser_toolbox_view_source_04.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_window_reload_target.js b/devtools/client/framework/test/browser_toolbox_window_reload_target.js index 9f3339728..b36838c54 100644 --- a/devtools/client/framework/test/browser_toolbox_window_reload_target.js +++ b/devtools/client/framework/test/browser_toolbox_window_reload_target.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_window_shortcuts.js b/devtools/client/framework/test/browser_toolbox_window_shortcuts.js index dde06dfea..025d85421 100644 --- a/devtools/client/framework/test/browser_toolbox_window_shortcuts.js +++ b/devtools/client/framework/test/browser_toolbox_window_shortcuts.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_window_title_changes.js b/devtools/client/framework/test/browser_toolbox_window_title_changes.js index 558c2094f..68ef29649 100644 --- a/devtools/client/framework/test/browser_toolbox_window_title_changes.js +++ b/devtools/client/framework/test/browser_toolbox_window_title_changes.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_window_title_frame_select.js b/devtools/client/framework/test/browser_toolbox_window_title_frame_select.js index 1e3d66646..42590ebf9 100644 --- a/devtools/client/framework/test/browser_toolbox_window_title_frame_select.js +++ b/devtools/client/framework/test/browser_toolbox_window_title_frame_select.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_toolbox_zoom.js b/devtools/client/framework/test/browser_toolbox_zoom.js index d078b4bc2..868e50069 100644 --- a/devtools/client/framework/test/browser_toolbox_zoom.js +++ b/devtools/client/framework/test/browser_toolbox_zoom.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_two_tabs.js b/devtools/client/framework/test/browser_two_tabs.js index 08d5f2391..e1cbb300e 100644 --- a/devtools/client/framework/test/browser_two_tabs.js +++ b/devtools/client/framework/test/browser_two_tabs.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/code_math.js b/devtools/client/framework/test/code_math.js index 9fe2a3541..68bea8b81 100644 --- a/devtools/client/framework/test/code_math.js +++ b/devtools/client/framework/test/code_math.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/head.js b/devtools/client/framework/test/head.js index 22433b237..2569d3048 100644 --- a/devtools/client/framework/test/head.js +++ b/devtools/client/framework/test/head.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/helper_disable_cache.js b/devtools/client/framework/test/helper_disable_cache.js index 5e2feef8f..fea3e805b 100644 --- a/devtools/client/framework/test/helper_disable_cache.js +++ b/devtools/client/framework/test/helper_disable_cache.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/serviceworker.js b/devtools/client/framework/test/serviceworker.js index ed3c1ec32..ba1b82d78 100644 --- a/devtools/client/framework/test/serviceworker.js +++ b/devtools/client/framework/test/serviceworker.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/shared-head.js b/devtools/client/framework/test/shared-head.js index a89c6d752..9331c606a 100644 --- a/devtools/client/framework/test/shared-head.js +++ b/devtools/client/framework/test/shared-head.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ /* eslint no-unused-vars: [2, {"vars": "local"}] */ diff --git a/devtools/client/framework/test/shared-redux-head.js b/devtools/client/framework/test/shared-redux-head.js index c7c939152..b10618789 100644 --- a/devtools/client/framework/test/shared-redux-head.js +++ b/devtools/client/framework/test/shared-redux-head.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/toolbox-highlighter-utils.js b/devtools/client/framework/toolbox-highlighter-utils.js index e7f343857..62250f999 100644 --- a/devtools/client/framework/toolbox-highlighter-utils.js +++ b/devtools/client/framework/toolbox-highlighter-utils.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/framework/toolbox-hosts.js b/devtools/client/framework/toolbox-hosts.js index ea774549a..3fbdc2606 100644 --- a/devtools/client/framework/toolbox-hosts.js +++ b/devtools/client/framework/toolbox-hosts.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/framework/toolbox-options.js b/devtools/client/framework/toolbox-options.js index 6362d98dd..74c217d86 100644 --- a/devtools/client/framework/toolbox-options.js +++ b/devtools/client/framework/toolbox-options.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/framework/toolbox-process-window.js b/devtools/client/framework/toolbox-process-window.js index 8f75e3e24..82edabe9c 100644 --- a/devtools/client/framework/toolbox-process-window.js +++ b/devtools/client/framework/toolbox-process-window.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/breadcrumbs.js b/devtools/client/inspector/breadcrumbs.js index b2041164c..a464b76a2 100644 --- a/devtools/client/inspector/breadcrumbs.js +++ b/devtools/client/inspector/breadcrumbs.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/components/box-model.js b/devtools/client/inspector/components/box-model.js index fc36fac71..65b5151ca 100644 --- a/devtools/client/inspector/components/box-model.js +++ b/devtools/client/inspector/components/box-model.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/components/inspector-tab-panel.js b/devtools/client/inspector/components/inspector-tab-panel.js index 68db7781e..9d2371f6d 100644 --- a/devtools/client/inspector/components/inspector-tab-panel.js +++ b/devtools/client/inspector/components/inspector-tab-panel.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/computed/computed.js b/devtools/client/inspector/computed/computed.js index 71d602a4e..a7273eb1d 100644 --- a/devtools/client/inspector/computed/computed.js +++ b/devtools/client/inspector/computed/computed.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/fonts/fonts.js b/devtools/client/inspector/fonts/fonts.js index b0087e9f6..6dcb01074 100644 --- a/devtools/client/inspector/fonts/fonts.js +++ b/devtools/client/inspector/fonts/fonts.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/inspector.js b/devtools/client/inspector/inspector.js index d0458fc1f..699a81d33 100644 --- a/devtools/client/inspector/inspector.js +++ b/devtools/client/inspector/inspector.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/rules/models/element-style.js b/devtools/client/inspector/rules/models/element-style.js index 7f015ba08..1093af9a7 100644 --- a/devtools/client/inspector/rules/models/element-style.js +++ b/devtools/client/inspector/rules/models/element-style.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/rules/models/rule.js b/devtools/client/inspector/rules/models/rule.js index 4c978cb58..2fc0e7f05 100644 --- a/devtools/client/inspector/rules/models/rule.js +++ b/devtools/client/inspector/rules/models/rule.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/rules/models/text-property.js b/devtools/client/inspector/rules/models/text-property.js index 3bbe6e91d..51fbab1bc 100644 --- a/devtools/client/inspector/rules/models/text-property.js +++ b/devtools/client/inspector/rules/models/text-property.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/rules/rules.js b/devtools/client/inspector/rules/rules.js index 8c5ec7617..a33ba67cd 100644 --- a/devtools/client/inspector/rules/rules.js +++ b/devtools/client/inspector/rules/rules.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/shared/highlighters-overlay.js b/devtools/client/inspector/shared/highlighters-overlay.js index c054c72af..995fec832 100644 --- a/devtools/client/inspector/shared/highlighters-overlay.js +++ b/devtools/client/inspector/shared/highlighters-overlay.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/shared/node-types.js b/devtools/client/inspector/shared/node-types.js index 4f31ee9fe..f5cfed74c 100644 --- a/devtools/client/inspector/shared/node-types.js +++ b/devtools/client/inspector/shared/node-types.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/shared/style-inspector-menu.js b/devtools/client/inspector/shared/style-inspector-menu.js index 975074609..7dcb60991 100644 --- a/devtools/client/inspector/shared/style-inspector-menu.js +++ b/devtools/client/inspector/shared/style-inspector-menu.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/shared/tooltips-overlay.js b/devtools/client/inspector/shared/tooltips-overlay.js index 336dae05b..55f7e25ab 100644 --- a/devtools/client/inspector/shared/tooltips-overlay.js +++ b/devtools/client/inspector/shared/tooltips-overlay.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/shared/utils.js b/devtools/client/inspector/shared/utils.js index 60dda914c..c5e4ba274 100644 --- a/devtools/client/inspector/shared/utils.js +++ b/devtools/client/inspector/shared/utils.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js b/devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js index fbd008a89..84cdf8518 100644 --- a/devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js +++ b/devtools/client/inspector/test/browser_inspector_delete-selected-node-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/test/browser_inspector_highlighter-02.js b/devtools/client/inspector/test/browser_inspector_highlighter-02.js index 37eb9389e..922cbdac7 100644 --- a/devtools/client/inspector/test/browser_inspector_highlighter-02.js +++ b/devtools/client/inspector/test/browser_inspector_highlighter-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/test/browser_inspector_highlighter-comments.js b/devtools/client/inspector/test/browser_inspector_highlighter-comments.js index 104395227..49b7a4f2d 100644 --- a/devtools/client/inspector/test/browser_inspector_highlighter-comments.js +++ b/devtools/client/inspector/test/browser_inspector_highlighter-comments.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/test/browser_inspector_highlighter-iframes_01.js b/devtools/client/inspector/test/browser_inspector_highlighter-iframes_01.js index 6475937c4..7978a91ab 100644 --- a/devtools/client/inspector/test/browser_inspector_highlighter-iframes_01.js +++ b/devtools/client/inspector/test/browser_inspector_highlighter-iframes_01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/test/browser_inspector_highlighter-iframes_02.js b/devtools/client/inspector/test/browser_inspector_highlighter-iframes_02.js index 12f44ce32..fb7621377 100644 --- a/devtools/client/inspector/test/browser_inspector_highlighter-iframes_02.js +++ b/devtools/client/inspector/test/browser_inspector_highlighter-iframes_02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/test/browser_inspector_initialization.js b/devtools/client/inspector/test/browser_inspector_initialization.js index 55db060f3..64fad6793 100644 --- a/devtools/client/inspector/test/browser_inspector_initialization.js +++ b/devtools/client/inspector/test/browser_inspector_initialization.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/test/browser_inspector_navigation.js b/devtools/client/inspector/test/browser_inspector_navigation.js index dab6f7007..422d3baa2 100644 --- a/devtools/client/inspector/test/browser_inspector_navigation.js +++ b/devtools/client/inspector/test/browser_inspector_navigation.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/test/browser_inspector_reload-01.js b/devtools/client/inspector/test/browser_inspector_reload-01.js index 61a1dde27..1adbbebcd 100644 --- a/devtools/client/inspector/test/browser_inspector_reload-01.js +++ b/devtools/client/inspector/test/browser_inspector_reload-01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/test/browser_inspector_reload-02.js b/devtools/client/inspector/test/browser_inspector_reload-02.js index c9940a828..dc9d90ceb 100644 --- a/devtools/client/inspector/test/browser_inspector_reload-02.js +++ b/devtools/client/inspector/test/browser_inspector_reload-02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/test/browser_inspector_select-last-selected.js b/devtools/client/inspector/test/browser_inspector_select-last-selected.js index 0f2050327..04b615c99 100644 --- a/devtools/client/inspector/test/browser_inspector_select-last-selected.js +++ b/devtools/client/inspector/test/browser_inspector_select-last-selected.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/toolsidebar.js b/devtools/client/inspector/toolsidebar.js index d013b7b84..49270c090 100644 --- a/devtools/client/inspector/toolsidebar.js +++ b/devtools/client/inspector/toolsidebar.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/jsonview/components/headers-panel.js b/devtools/client/jsonview/components/headers-panel.js index 9229aaa01..a5c94b753 100644 --- a/devtools/client/jsonview/components/headers-panel.js +++ b/devtools/client/jsonview/components/headers-panel.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/jsonview/components/headers.js b/devtools/client/jsonview/components/headers.js index 38ac4051c..cc3e236e0 100644 --- a/devtools/client/jsonview/components/headers.js +++ b/devtools/client/jsonview/components/headers.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/jsonview/components/json-panel.js b/devtools/client/jsonview/components/json-panel.js index c7280a0b1..ccf63bec5 100644 --- a/devtools/client/jsonview/components/json-panel.js +++ b/devtools/client/jsonview/components/json-panel.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/jsonview/components/main-tabbed-area.js b/devtools/client/jsonview/components/main-tabbed-area.js index ecba73807..4c199df83 100644 --- a/devtools/client/jsonview/components/main-tabbed-area.js +++ b/devtools/client/jsonview/components/main-tabbed-area.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/jsonview/components/reps/toolbar.js b/devtools/client/jsonview/components/reps/toolbar.js index 52a35ffbe..27f7645fb 100644 --- a/devtools/client/jsonview/components/reps/toolbar.js +++ b/devtools/client/jsonview/components/reps/toolbar.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/jsonview/components/search-box.js b/devtools/client/jsonview/components/search-box.js index fc9bcbcb8..e92c3314c 100644 --- a/devtools/client/jsonview/components/search-box.js +++ b/devtools/client/jsonview/components/search-box.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/jsonview/components/text-panel.js b/devtools/client/jsonview/components/text-panel.js index 1df2e349d..b09c52078 100644 --- a/devtools/client/jsonview/components/text-panel.js +++ b/devtools/client/jsonview/components/text-panel.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/jsonview/converter-child.js b/devtools/client/jsonview/converter-child.js index 65327c395..13cf5b222 100644 --- a/devtools/client/jsonview/converter-child.js +++ b/devtools/client/jsonview/converter-child.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/jsonview/converter-observer.js b/devtools/client/jsonview/converter-observer.js index 9b149c565..72dbc5f84 100644 --- a/devtools/client/jsonview/converter-observer.js +++ b/devtools/client/jsonview/converter-observer.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/jsonview/converter-sniffer.js b/devtools/client/jsonview/converter-sniffer.js index 65e5d2aad..03a97ebc3 100644 --- a/devtools/client/jsonview/converter-sniffer.js +++ b/devtools/client/jsonview/converter-sniffer.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/jsonview/json-viewer.js b/devtools/client/jsonview/json-viewer.js index 38cb6d7ec..6ed766ea9 100644 --- a/devtools/client/jsonview/json-viewer.js +++ b/devtools/client/jsonview/json-viewer.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/jsonview/main.js b/devtools/client/jsonview/main.js index a438e2e34..e4aae8f3a 100644 --- a/devtools/client/jsonview/main.js +++ b/devtools/client/jsonview/main.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/jsonview/test/browser_jsonview_copy_headers.js b/devtools/client/jsonview/test/browser_jsonview_copy_headers.js index 1ffe9f8ca..6f72772fc 100644 --- a/devtools/client/jsonview/test/browser_jsonview_copy_headers.js +++ b/devtools/client/jsonview/test/browser_jsonview_copy_headers.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/jsonview/test/browser_jsonview_copy_json.js b/devtools/client/jsonview/test/browser_jsonview_copy_json.js index b4c08b843..44bcc66f0 100644 --- a/devtools/client/jsonview/test/browser_jsonview_copy_json.js +++ b/devtools/client/jsonview/test/browser_jsonview_copy_json.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/jsonview/test/browser_jsonview_copy_rawdata.js b/devtools/client/jsonview/test/browser_jsonview_copy_rawdata.js index d2346ea42..76199125f 100644 --- a/devtools/client/jsonview/test/browser_jsonview_copy_rawdata.js +++ b/devtools/client/jsonview/test/browser_jsonview_copy_rawdata.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/jsonview/test/browser_jsonview_filter.js b/devtools/client/jsonview/test/browser_jsonview_filter.js index 5e87bb8ae..74f095b0f 100644 --- a/devtools/client/jsonview/test/browser_jsonview_filter.js +++ b/devtools/client/jsonview/test/browser_jsonview_filter.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/jsonview/test/browser_jsonview_invalid_json.js b/devtools/client/jsonview/test/browser_jsonview_invalid_json.js index de3cbd74d..77a063972 100644 --- a/devtools/client/jsonview/test/browser_jsonview_invalid_json.js +++ b/devtools/client/jsonview/test/browser_jsonview_invalid_json.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/jsonview/test/browser_jsonview_save_json.js b/devtools/client/jsonview/test/browser_jsonview_save_json.js index 4b95c563f..fe9ed4c11 100644 --- a/devtools/client/jsonview/test/browser_jsonview_save_json.js +++ b/devtools/client/jsonview/test/browser_jsonview_save_json.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/jsonview/test/browser_jsonview_valid_json.js b/devtools/client/jsonview/test/browser_jsonview_valid_json.js index 83d0e1088..c71a865fc 100644 --- a/devtools/client/jsonview/test/browser_jsonview_valid_json.js +++ b/devtools/client/jsonview/test/browser_jsonview_valid_json.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/jsonview/utils.js b/devtools/client/jsonview/utils.js index 6ab697c89..6df752f25 100644 --- a/devtools/client/jsonview/utils.js +++ b/devtools/client/jsonview/utils.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/jsonview/viewer-config.js b/devtools/client/jsonview/viewer-config.js index b5ffbe34d..928bc7220 100644 --- a/devtools/client/jsonview/viewer-config.js +++ b/devtools/client/jsonview/viewer-config.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/netmonitor/netmonitor-controller.js b/devtools/client/netmonitor/netmonitor-controller.js index 39bee8570..ace2de32a 100644 --- a/devtools/client/netmonitor/netmonitor-controller.js +++ b/devtools/client/netmonitor/netmonitor-controller.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/netmonitor/netmonitor-view.js b/devtools/client/netmonitor/netmonitor-view.js index 414b9ab8f..4fb38c0a0 100644 --- a/devtools/client/netmonitor/netmonitor-view.js +++ b/devtools/client/netmonitor/netmonitor-view.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/netmonitor/panel.js b/devtools/client/netmonitor/panel.js index 5195e4178..17ef98f7e 100644 --- a/devtools/client/netmonitor/panel.js +++ b/devtools/client/netmonitor/panel.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/netmonitor/performance-statistics-view.js b/devtools/client/netmonitor/performance-statistics-view.js index 38b98fb68..babf647f1 100644 --- a/devtools/client/netmonitor/performance-statistics-view.js +++ b/devtools/client/netmonitor/performance-statistics-view.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/performance/panel.js b/devtools/client/performance/panel.js index 6fa9f37cf..b3fb99b28 100644 --- a/devtools/client/performance/panel.js +++ b/devtools/client/performance/panel.js @@ -1,5 +1,4 @@ /* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/projecteditor/lib/editors.js b/devtools/client/projecteditor/lib/editors.js index 7d0150cf7..ebca93d13 100644 --- a/devtools/client/projecteditor/lib/editors.js +++ b/devtools/client/projecteditor/lib/editors.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/projecteditor/lib/helpers/event.js b/devtools/client/projecteditor/lib/helpers/event.js index 74b4adb04..57fce9b91 100644 --- a/devtools/client/projecteditor/lib/helpers/event.js +++ b/devtools/client/projecteditor/lib/helpers/event.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/projecteditor/lib/helpers/file-picker.js b/devtools/client/projecteditor/lib/helpers/file-picker.js index 1dab0f001..7be75b452 100644 --- a/devtools/client/projecteditor/lib/helpers/file-picker.js +++ b/devtools/client/projecteditor/lib/helpers/file-picker.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/projecteditor/lib/helpers/l10n.js b/devtools/client/projecteditor/lib/helpers/l10n.js index b2b315ff8..2f8ea7439 100644 --- a/devtools/client/projecteditor/lib/helpers/l10n.js +++ b/devtools/client/projecteditor/lib/helpers/l10n.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/projecteditor/lib/helpers/prompts.js b/devtools/client/projecteditor/lib/helpers/prompts.js index 0df6af304..9b64dc369 100644 --- a/devtools/client/projecteditor/lib/helpers/prompts.js +++ b/devtools/client/projecteditor/lib/helpers/prompts.js @@ -1,5 +1,4 @@ /* -*- Mode: Javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/projecteditor/lib/helpers/readdir.js b/devtools/client/projecteditor/lib/helpers/readdir.js index 054730faf..86752330a 100644 --- a/devtools/client/projecteditor/lib/helpers/readdir.js +++ b/devtools/client/projecteditor/lib/helpers/readdir.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/projecteditor/lib/plugins/core.js b/devtools/client/projecteditor/lib/plugins/core.js index 933eda043..2dcf64c3b 100644 --- a/devtools/client/projecteditor/lib/plugins/core.js +++ b/devtools/client/projecteditor/lib/plugins/core.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/projecteditor/lib/plugins/delete/delete.js b/devtools/client/projecteditor/lib/plugins/delete/delete.js index b28d6a0ef..066b5e46d 100644 --- a/devtools/client/projecteditor/lib/plugins/delete/delete.js +++ b/devtools/client/projecteditor/lib/plugins/delete/delete.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/projecteditor/lib/plugins/dirty/dirty.js b/devtools/client/projecteditor/lib/plugins/dirty/dirty.js index f976c626f..4c13b201a 100644 --- a/devtools/client/projecteditor/lib/plugins/dirty/dirty.js +++ b/devtools/client/projecteditor/lib/plugins/dirty/dirty.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/projecteditor/lib/plugins/image-view/image-editor.js b/devtools/client/projecteditor/lib/plugins/image-view/image-editor.js index 668fcbeb2..aae8511f3 100644 --- a/devtools/client/projecteditor/lib/plugins/image-view/image-editor.js +++ b/devtools/client/projecteditor/lib/plugins/image-view/image-editor.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/projecteditor/lib/plugins/image-view/plugin.js b/devtools/client/projecteditor/lib/plugins/image-view/plugin.js index 626ea3c9a..8694e840f 100644 --- a/devtools/client/projecteditor/lib/plugins/image-view/plugin.js +++ b/devtools/client/projecteditor/lib/plugins/image-view/plugin.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/projecteditor/lib/plugins/logging/logging.js b/devtools/client/projecteditor/lib/plugins/logging/logging.js index cd5757b72..98b91171f 100644 --- a/devtools/client/projecteditor/lib/plugins/logging/logging.js +++ b/devtools/client/projecteditor/lib/plugins/logging/logging.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/projecteditor/lib/plugins/new/new.js b/devtools/client/projecteditor/lib/plugins/new/new.js index 220cb4977..f65c09f5f 100644 --- a/devtools/client/projecteditor/lib/plugins/new/new.js +++ b/devtools/client/projecteditor/lib/plugins/new/new.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/projecteditor/lib/plugins/rename/rename.js b/devtools/client/projecteditor/lib/plugins/rename/rename.js index 850401869..eec08878a 100644 --- a/devtools/client/projecteditor/lib/plugins/rename/rename.js +++ b/devtools/client/projecteditor/lib/plugins/rename/rename.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/projecteditor/lib/plugins/save/save.js b/devtools/client/projecteditor/lib/plugins/save/save.js index 43b2185d2..452af8898 100644 --- a/devtools/client/projecteditor/lib/plugins/save/save.js +++ b/devtools/client/projecteditor/lib/plugins/save/save.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/projecteditor/lib/plugins/status-bar/plugin.js b/devtools/client/projecteditor/lib/plugins/status-bar/plugin.js index 9450baef3..1d6e585b7 100644 --- a/devtools/client/projecteditor/lib/plugins/status-bar/plugin.js +++ b/devtools/client/projecteditor/lib/plugins/status-bar/plugin.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/projecteditor/lib/project.js b/devtools/client/projecteditor/lib/project.js index 8e0a8802d..bb390e379 100644 --- a/devtools/client/projecteditor/lib/project.js +++ b/devtools/client/projecteditor/lib/project.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/projecteditor/lib/shells.js b/devtools/client/projecteditor/lib/shells.js index 8004f24a2..7c1afd1dc 100644 --- a/devtools/client/projecteditor/lib/shells.js +++ b/devtools/client/projecteditor/lib/shells.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/projecteditor/lib/stores/base.js b/devtools/client/projecteditor/lib/stores/base.js index ef9495c77..1b659503c 100644 --- a/devtools/client/projecteditor/lib/stores/base.js +++ b/devtools/client/projecteditor/lib/stores/base.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/projecteditor/lib/stores/local.js b/devtools/client/projecteditor/lib/stores/local.js index 1f782dadf..ac0576891 100644 --- a/devtools/client/projecteditor/lib/stores/local.js +++ b/devtools/client/projecteditor/lib/stores/local.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/projecteditor/lib/stores/resource.js b/devtools/client/projecteditor/lib/stores/resource.js index 53e3e7348..5f791c200 100644 --- a/devtools/client/projecteditor/lib/stores/resource.js +++ b/devtools/client/projecteditor/lib/stores/resource.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/projecteditor/lib/tree.js b/devtools/client/projecteditor/lib/tree.js index 50597804d..21576e672 100644 --- a/devtools/client/projecteditor/lib/tree.js +++ b/devtools/client/projecteditor/lib/tree.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/responsivedesign/responsivedesign.jsm b/devtools/client/responsivedesign/responsivedesign.jsm index f67d1912c..fbedbc446 100644 --- a/devtools/client/responsivedesign/responsivedesign.jsm +++ b/devtools/client/responsivedesign/responsivedesign.jsm @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/scratchpad/scratchpad-panel.js b/devtools/client/scratchpad/scratchpad-panel.js index 6f92585f7..ab24975d1 100644 --- a/devtools/client/scratchpad/scratchpad-panel.js +++ b/devtools/client/scratchpad/scratchpad-panel.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_pprint_error_goto_line.js b/devtools/client/scratchpad/test/browser_scratchpad_pprint_error_goto_line.js index 21f266f61..c681d3d35 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_pprint_error_goto_line.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_pprint_error_goto_line.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2; fill-column: 80 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_run_error_goto_line.js b/devtools/client/scratchpad/test/browser_scratchpad_run_error_goto_line.js index a5d3d5163..8d2aaa728 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_run_error_goto_line.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_run_error_goto_line.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2; fill-column: 80 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shadereditor/panel.js b/devtools/client/shadereditor/panel.js index 92fac9646..5e98f77e9 100644 --- a/devtools/client/shadereditor/panel.js +++ b/devtools/client/shadereditor/panel.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/array.js b/devtools/client/shared/components/reps/array.js index 8ec1443e1..e0dfce630 100644 --- a/devtools/client/shared/components/reps/array.js +++ b/devtools/client/shared/components/reps/array.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/attribute.js b/devtools/client/shared/components/reps/attribute.js index f57ed0380..43447f70c 100644 --- a/devtools/client/shared/components/reps/attribute.js +++ b/devtools/client/shared/components/reps/attribute.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/caption.js b/devtools/client/shared/components/reps/caption.js index 7f00b01e8..b8a8604ee 100644 --- a/devtools/client/shared/components/reps/caption.js +++ b/devtools/client/shared/components/reps/caption.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/comment-node.js b/devtools/client/shared/components/reps/comment-node.js index 2c69c1414..506219fbc 100644 --- a/devtools/client/shared/components/reps/comment-node.js +++ b/devtools/client/shared/components/reps/comment-node.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/date-time.js b/devtools/client/shared/components/reps/date-time.js index 55dfb7d2d..f29e8690e 100644 --- a/devtools/client/shared/components/reps/date-time.js +++ b/devtools/client/shared/components/reps/date-time.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/document.js b/devtools/client/shared/components/reps/document.js index 25e42609f..685c3efbe 100644 --- a/devtools/client/shared/components/reps/document.js +++ b/devtools/client/shared/components/reps/document.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/element-node.js b/devtools/client/shared/components/reps/element-node.js index 6315fb5b1..2347d759d 100644 --- a/devtools/client/shared/components/reps/element-node.js +++ b/devtools/client/shared/components/reps/element-node.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/event.js b/devtools/client/shared/components/reps/event.js index 1d37e0150..379011d85 100644 --- a/devtools/client/shared/components/reps/event.js +++ b/devtools/client/shared/components/reps/event.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/function.js b/devtools/client/shared/components/reps/function.js index fd20dc318..9db2b6922 100644 --- a/devtools/client/shared/components/reps/function.js +++ b/devtools/client/shared/components/reps/function.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/grip-array.js b/devtools/client/shared/components/reps/grip-array.js index 04a5603bb..dd9566545 100644 --- a/devtools/client/shared/components/reps/grip-array.js +++ b/devtools/client/shared/components/reps/grip-array.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/grip-map.js b/devtools/client/shared/components/reps/grip-map.js index df673d005..bddcb5f6f 100644 --- a/devtools/client/shared/components/reps/grip-map.js +++ b/devtools/client/shared/components/reps/grip-map.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/grip.js b/devtools/client/shared/components/reps/grip.js index c63ee19f3..96f1ce6ad 100644 --- a/devtools/client/shared/components/reps/grip.js +++ b/devtools/client/shared/components/reps/grip.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/infinity.js b/devtools/client/shared/components/reps/infinity.js index 604e31f06..56c06eba3 100644 --- a/devtools/client/shared/components/reps/infinity.js +++ b/devtools/client/shared/components/reps/infinity.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/nan.js b/devtools/client/shared/components/reps/nan.js index b76a5cfd3..5bc7db35a 100644 --- a/devtools/client/shared/components/reps/nan.js +++ b/devtools/client/shared/components/reps/nan.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/null.js b/devtools/client/shared/components/reps/null.js index 5de00f026..802e4159b 100644 --- a/devtools/client/shared/components/reps/null.js +++ b/devtools/client/shared/components/reps/null.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/number.js b/devtools/client/shared/components/reps/number.js index 31be3009b..2c5c034c2 100644 --- a/devtools/client/shared/components/reps/number.js +++ b/devtools/client/shared/components/reps/number.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/object-with-text.js b/devtools/client/shared/components/reps/object-with-text.js index 85168ce78..61e7d234a 100644 --- a/devtools/client/shared/components/reps/object-with-text.js +++ b/devtools/client/shared/components/reps/object-with-text.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/object-with-url.js b/devtools/client/shared/components/reps/object-with-url.js index 9c4b9a229..e953071e3 100644 --- a/devtools/client/shared/components/reps/object-with-url.js +++ b/devtools/client/shared/components/reps/object-with-url.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/object.js b/devtools/client/shared/components/reps/object.js index ffb1d1525..f6f7b4511 100644 --- a/devtools/client/shared/components/reps/object.js +++ b/devtools/client/shared/components/reps/object.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/promise.js b/devtools/client/shared/components/reps/promise.js index 0a903d366..9853d069e 100644 --- a/devtools/client/shared/components/reps/promise.js +++ b/devtools/client/shared/components/reps/promise.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/prop-rep.js b/devtools/client/shared/components/reps/prop-rep.js index 775dfea2b..c4d8ef528 100644 --- a/devtools/client/shared/components/reps/prop-rep.js +++ b/devtools/client/shared/components/reps/prop-rep.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/regexp.js b/devtools/client/shared/components/reps/regexp.js index 2f9212658..f06f6ecb1 100644 --- a/devtools/client/shared/components/reps/regexp.js +++ b/devtools/client/shared/components/reps/regexp.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/rep-utils.js b/devtools/client/shared/components/reps/rep-utils.js index d9580ac8d..a8a6fb2c7 100644 --- a/devtools/client/shared/components/reps/rep-utils.js +++ b/devtools/client/shared/components/reps/rep-utils.js @@ -1,6 +1,5 @@ /* globals URLSearchParams */ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/rep.js b/devtools/client/shared/components/reps/rep.js index 0891fe0ce..80d25b69e 100644 --- a/devtools/client/shared/components/reps/rep.js +++ b/devtools/client/shared/components/reps/rep.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/string.js b/devtools/client/shared/components/reps/string.js index f8b4b1986..9303fc3cc 100644 --- a/devtools/client/shared/components/reps/string.js +++ b/devtools/client/shared/components/reps/string.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/stylesheet.js b/devtools/client/shared/components/reps/stylesheet.js index c1fc7f1be..776333b2c 100644 --- a/devtools/client/shared/components/reps/stylesheet.js +++ b/devtools/client/shared/components/reps/stylesheet.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/symbol.js b/devtools/client/shared/components/reps/symbol.js index 111794008..bb5f76f29 100644 --- a/devtools/client/shared/components/reps/symbol.js +++ b/devtools/client/shared/components/reps/symbol.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/text-node.js b/devtools/client/shared/components/reps/text-node.js index d80545cea..079846672 100644 --- a/devtools/client/shared/components/reps/text-node.js +++ b/devtools/client/shared/components/reps/text-node.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/undefined.js b/devtools/client/shared/components/reps/undefined.js index c4e64a12c..bc45933fd 100644 --- a/devtools/client/shared/components/reps/undefined.js +++ b/devtools/client/shared/components/reps/undefined.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/reps/window.js b/devtools/client/shared/components/reps/window.js index 628d69562..cb9ddda96 100644 --- a/devtools/client/shared/components/reps/window.js +++ b/devtools/client/shared/components/reps/window.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/sidebar-toggle.js b/devtools/client/shared/components/sidebar-toggle.js index 013e95f3d..f0c0dd681 100644 --- a/devtools/client/shared/components/sidebar-toggle.js +++ b/devtools/client/shared/components/sidebar-toggle.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/tabs/tabbar.js b/devtools/client/shared/components/tabs/tabbar.js index 1e3aa4617..55c1c21a9 100644 --- a/devtools/client/shared/components/tabs/tabbar.js +++ b/devtools/client/shared/components/tabs/tabbar.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/tabs/tabs.js b/devtools/client/shared/components/tabs/tabs.js index eaa0738b3..dedac6c51 100644 --- a/devtools/client/shared/components/tabs/tabs.js +++ b/devtools/client/shared/components/tabs/tabs.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/test/browser/browser_notification_box_basic.js b/devtools/client/shared/components/test/browser/browser_notification_box_basic.js index b7c6a669b..b37ea634e 100644 --- a/devtools/client/shared/components/test/browser/browser_notification_box_basic.js +++ b/devtools/client/shared/components/test/browser/browser_notification_box_basic.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/components/tree/label-cell.js b/devtools/client/shared/components/tree/label-cell.js index e14875b4d..79bbbf495 100644 --- a/devtools/client/shared/components/tree/label-cell.js +++ b/devtools/client/shared/components/tree/label-cell.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/tree/object-provider.js b/devtools/client/shared/components/tree/object-provider.js index 58519f81f..b241be9d8 100644 --- a/devtools/client/shared/components/tree/object-provider.js +++ b/devtools/client/shared/components/tree/object-provider.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/tree/tree-cell.js b/devtools/client/shared/components/tree/tree-cell.js index f3c48510f..5a00f649f 100644 --- a/devtools/client/shared/components/tree/tree-cell.js +++ b/devtools/client/shared/components/tree/tree-cell.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/tree/tree-header.js b/devtools/client/shared/components/tree/tree-header.js index eec5363dd..d1b879ef5 100644 --- a/devtools/client/shared/components/tree/tree-header.js +++ b/devtools/client/shared/components/tree/tree-header.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/tree/tree-row.js b/devtools/client/shared/components/tree/tree-row.js index adfb1f3ae..02ca16aea 100644 --- a/devtools/client/shared/components/tree/tree-row.js +++ b/devtools/client/shared/components/tree/tree-row.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/components/tree/tree-view.js b/devtools/client/shared/components/tree/tree-view.js index 9fae9addb..f0a7a1053 100644 --- a/devtools/client/shared/components/tree/tree-view.js +++ b/devtools/client/shared/components/tree/tree-view.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/curl.js b/devtools/client/shared/curl.js index 5ce9e96bb..54cdc05cb 100644 --- a/devtools/client/shared/curl.js +++ b/devtools/client/shared/curl.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/inplace-editor.js b/devtools/client/shared/inplace-editor.js index 652163233..bfc681d6b 100644 --- a/devtools/client/shared/inplace-editor.js +++ b/devtools/client/shared/inplace-editor.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/node-attribute-parser.js b/devtools/client/shared/node-attribute-parser.js index aaf866fca..4579386b7 100644 --- a/devtools/client/shared/node-attribute-parser.js +++ b/devtools/client/shared/node-attribute-parser.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/shim/Services.js b/devtools/client/shared/shim/Services.js index 97ea51433..8a83b6793 100644 --- a/devtools/client/shared/shim/Services.js +++ b/devtools/client/shared/shim/Services.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/shim/test/prefs-wrapper.js b/devtools/client/shared/shim/test/prefs-wrapper.js index 057e12d17..7aac39ac4 100644 --- a/devtools/client/shared/shim/test/prefs-wrapper.js +++ b/devtools/client/shared/shim/test/prefs-wrapper.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/test/browser_require_raw.js b/devtools/client/shared/test/browser_require_raw.js index d40b84c35..a85e31773 100644 --- a/devtools/client/shared/test/browser_require_raw.js +++ b/devtools/client/shared/test/browser_require_raw.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/unit/test_VariablesView_filtering-without-controller.js b/devtools/client/shared/test/unit/test_VariablesView_filtering-without-controller.js index 5f4438234..236488a67 100644 --- a/devtools/client/shared/test/unit/test_VariablesView_filtering-without-controller.js +++ b/devtools/client/shared/test/unit/test_VariablesView_filtering-without-controller.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/unit/test_VariablesView_getString_promise.js b/devtools/client/shared/test/unit/test_VariablesView_getString_promise.js index a70c870bb..c1d41f19f 100644 --- a/devtools/client/shared/test/unit/test_VariablesView_getString_promise.js +++ b/devtools/client/shared/test/unit/test_VariablesView_getString_promise.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/unit/test_advanceValidate.js b/devtools/client/shared/test/unit/test_advanceValidate.js index 2b3122a6f..5ba9a710c 100644 --- a/devtools/client/shared/test/unit/test_advanceValidate.js +++ b/devtools/client/shared/test/unit/test_advanceValidate.js @@ -1,5 +1,4 @@ /* -*- Mode: Javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/unit/test_bezierCanvas.js b/devtools/client/shared/test/unit/test_bezierCanvas.js index 1decceebb..3b0b4628b 100644 --- a/devtools/client/shared/test/unit/test_bezierCanvas.js +++ b/devtools/client/shared/test/unit/test_bezierCanvas.js @@ -1,5 +1,4 @@ /* -*- Mode: Javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/unit/test_cubicBezier.js b/devtools/client/shared/test/unit/test_cubicBezier.js index 9ed6c4eb1..050f6d226 100644 --- a/devtools/client/shared/test/unit/test_cubicBezier.js +++ b/devtools/client/shared/test/unit/test_cubicBezier.js @@ -1,5 +1,4 @@ /* -*- Mode: Javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/unit/test_parseDeclarations.js b/devtools/client/shared/test/unit/test_parseDeclarations.js index d400a5359..fd2e41188 100644 --- a/devtools/client/shared/test/unit/test_parseDeclarations.js +++ b/devtools/client/shared/test/unit/test_parseDeclarations.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/unit/test_parsePseudoClassesAndAttributes.js b/devtools/client/shared/test/unit/test_parsePseudoClassesAndAttributes.js index ccd778c4a..3668eabee 100644 --- a/devtools/client/shared/test/unit/test_parsePseudoClassesAndAttributes.js +++ b/devtools/client/shared/test/unit/test_parsePseudoClassesAndAttributes.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/unit/test_parseSingleValue.js b/devtools/client/shared/test/unit/test_parseSingleValue.js index 73e4f0ac4..f542d8cbd 100644 --- a/devtools/client/shared/test/unit/test_parseSingleValue.js +++ b/devtools/client/shared/test/unit/test_parseSingleValue.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/unit/test_undoStack.js b/devtools/client/shared/test/unit/test_undoStack.js index 7499614fd..0f79cca76 100644 --- a/devtools/client/shared/test/unit/test_undoStack.js +++ b/devtools/client/shared/test/unit/test_undoStack.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/undo.js b/devtools/client/shared/undo.js index 65791f50d..360dd30cc 100644 --- a/devtools/client/shared/undo.js +++ b/devtools/client/shared/undo.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/vendor/react-addons-shallow-compare.js b/devtools/client/shared/vendor/react-addons-shallow-compare.js index 6a1c723cc..f11097e08 100644 --- a/devtools/client/shared/vendor/react-addons-shallow-compare.js +++ b/devtools/client/shared/vendor/react-addons-shallow-compare.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/widgets/AbstractTreeItem.jsm b/devtools/client/shared/widgets/AbstractTreeItem.jsm index 541ab6777..3a033c190 100644 --- a/devtools/client/shared/widgets/AbstractTreeItem.jsm +++ b/devtools/client/shared/widgets/AbstractTreeItem.jsm @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/widgets/BreadcrumbsWidget.jsm b/devtools/client/shared/widgets/BreadcrumbsWidget.jsm index 900a125b0..7b46702e5 100644 --- a/devtools/client/shared/widgets/BreadcrumbsWidget.jsm +++ b/devtools/client/shared/widgets/BreadcrumbsWidget.jsm @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/widgets/Chart.jsm b/devtools/client/shared/widgets/Chart.jsm index 0b7cb71fb..3771d92f0 100644 --- a/devtools/client/shared/widgets/Chart.jsm +++ b/devtools/client/shared/widgets/Chart.jsm @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/widgets/FastListWidget.js b/devtools/client/shared/widgets/FastListWidget.js index d005ead51..6376a92e9 100644 --- a/devtools/client/shared/widgets/FastListWidget.js +++ b/devtools/client/shared/widgets/FastListWidget.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/widgets/SideMenuWidget.jsm b/devtools/client/shared/widgets/SideMenuWidget.jsm index 0c132f232..60567901a 100644 --- a/devtools/client/shared/widgets/SideMenuWidget.jsm +++ b/devtools/client/shared/widgets/SideMenuWidget.jsm @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/widgets/SimpleListWidget.jsm b/devtools/client/shared/widgets/SimpleListWidget.jsm index ec47ab0da..78bac7c16 100644 --- a/devtools/client/shared/widgets/SimpleListWidget.jsm +++ b/devtools/client/shared/widgets/SimpleListWidget.jsm @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/widgets/TreeWidget.js b/devtools/client/shared/widgets/TreeWidget.js index 1f766cc6b..c646b1c39 100644 --- a/devtools/client/shared/widgets/TreeWidget.js +++ b/devtools/client/shared/widgets/TreeWidget.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/widgets/VariablesView.jsm b/devtools/client/shared/widgets/VariablesView.jsm index c291066ba..65f3e8711 100644 --- a/devtools/client/shared/widgets/VariablesView.jsm +++ b/devtools/client/shared/widgets/VariablesView.jsm @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ @@ -3829,7 +3828,7 @@ VariablesView.stringifiers.byObjectKind = { /** - * Get the "N more…" formatted string, given an N. This is used for displaying + * Get the "N more???" formatted string, given an N. This is used for displaying * how many elements are not displayed in an object preview (eg. an array). * * @private diff --git a/devtools/client/shared/widgets/VariablesViewController.jsm b/devtools/client/shared/widgets/VariablesViewController.jsm index 5413ce1bf..dbc85b706 100644 --- a/devtools/client/shared/widgets/VariablesViewController.jsm +++ b/devtools/client/shared/widgets/VariablesViewController.jsm @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/widgets/tooltip/EventTooltipHelper.js b/devtools/client/shared/widgets/tooltip/EventTooltipHelper.js index 63507bc5e..6ca792d4b 100644 --- a/devtools/client/shared/widgets/tooltip/EventTooltipHelper.js +++ b/devtools/client/shared/widgets/tooltip/EventTooltipHelper.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/widgets/tooltip/HTMLTooltip.js b/devtools/client/shared/widgets/tooltip/HTMLTooltip.js index 749878220..9eb791030 100644 --- a/devtools/client/shared/widgets/tooltip/HTMLTooltip.js +++ b/devtools/client/shared/widgets/tooltip/HTMLTooltip.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/widgets/tooltip/ImageTooltipHelper.js b/devtools/client/shared/widgets/tooltip/ImageTooltipHelper.js index 04c932005..4110bdac9 100644 --- a/devtools/client/shared/widgets/tooltip/ImageTooltipHelper.js +++ b/devtools/client/shared/widgets/tooltip/ImageTooltipHelper.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/widgets/tooltip/TooltipToggle.js b/devtools/client/shared/widgets/tooltip/TooltipToggle.js index b53664f34..f40fd090a 100644 --- a/devtools/client/shared/widgets/tooltip/TooltipToggle.js +++ b/devtools/client/shared/widgets/tooltip/TooltipToggle.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/widgets/tooltip/VariableContentHelper.js b/devtools/client/shared/widgets/tooltip/VariableContentHelper.js index 4dc02da9b..80bc74cb4 100644 --- a/devtools/client/shared/widgets/tooltip/VariableContentHelper.js +++ b/devtools/client/shared/widgets/tooltip/VariableContentHelper.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/widgets/view-helpers.js b/devtools/client/shared/widgets/view-helpers.js index 4686d4e1c..cf5bc1e22 100644 --- a/devtools/client/shared/widgets/view-helpers.js +++ b/devtools/client/shared/widgets/view-helpers.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/sourceeditor/test/browser_editor_find_again.js b/devtools/client/sourceeditor/test/browser_editor_find_again.js index f3d80095b..e478b2208 100644 --- a/devtools/client/sourceeditor/test/browser_editor_find_again.js +++ b/devtools/client/sourceeditor/test/browser_editor_find_again.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2; fill-column: 80 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/sourceeditor/test/browser_editor_goto_line.js b/devtools/client/sourceeditor/test/browser_editor_goto_line.js index eedde41dd..635c3a66a 100644 --- a/devtools/client/sourceeditor/test/browser_editor_goto_line.js +++ b/devtools/client/sourceeditor/test/browser_editor_goto_line.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2; fill-column: 80 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/storage/panel.js b/devtools/client/storage/panel.js index c24059d8e..02eb0226a 100644 --- a/devtools/client/storage/panel.js +++ b/devtools/client/storage/panel.js @@ -1,5 +1,4 @@ /* -*- Mode: Javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/styleeditor/utils.js b/devtools/client/styleeditor/utils.js index 6cb1aa8cc..442cdc73c 100644 --- a/devtools/client/styleeditor/utils.js +++ b/devtools/client/styleeditor/utils.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webaudioeditor/panel.js b/devtools/client/webaudioeditor/panel.js index 86a44c595..ce05f05fd 100644 --- a/devtools/client/webaudioeditor/panel.js +++ b/devtools/client/webaudioeditor/panel.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/console-commands.js b/devtools/client/webconsole/console-commands.js index 0bc9e8edb..7439f9a2c 100644 --- a/devtools/client/webconsole/console-commands.js +++ b/devtools/client/webconsole/console-commands.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft= javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/console-output.js b/devtools/client/webconsole/console-output.js index bd290dcc6..649ec65ae 100644 --- a/devtools/client/webconsole/console-output.js +++ b/devtools/client/webconsole/console-output.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/jsterm.js b/devtools/client/webconsole/jsterm.js index 8e3259afa..ab3f4392d 100644 --- a/devtools/client/webconsole/jsterm.js +++ b/devtools/client/webconsole/jsterm.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/net/test/mochitest/browser_net_basic.js b/devtools/client/webconsole/net/test/mochitest/browser_net_basic.js index 57273bec0..0fc8a8119 100644 --- a/devtools/client/webconsole/net/test/mochitest/browser_net_basic.js +++ b/devtools/client/webconsole/net/test/mochitest/browser_net_basic.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/net/test/mochitest/browser_net_cookies.js b/devtools/client/webconsole/net/test/mochitest/browser_net_cookies.js index cfd85c2ed..47b56a1f8 100644 --- a/devtools/client/webconsole/net/test/mochitest/browser_net_cookies.js +++ b/devtools/client/webconsole/net/test/mochitest/browser_net_cookies.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/net/test/mochitest/browser_net_headers.js b/devtools/client/webconsole/net/test/mochitest/browser_net_headers.js index 14cde846c..a59ffb5f9 100644 --- a/devtools/client/webconsole/net/test/mochitest/browser_net_headers.js +++ b/devtools/client/webconsole/net/test/mochitest/browser_net_headers.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/net/test/mochitest/browser_net_params.js b/devtools/client/webconsole/net/test/mochitest/browser_net_params.js index d8b0e2c84..4fb5e6514 100644 --- a/devtools/client/webconsole/net/test/mochitest/browser_net_params.js +++ b/devtools/client/webconsole/net/test/mochitest/browser_net_params.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/net/test/mochitest/browser_net_post.js b/devtools/client/webconsole/net/test/mochitest/browser_net_post.js index f6e776ef0..d665f6ee7 100644 --- a/devtools/client/webconsole/net/test/mochitest/browser_net_post.js +++ b/devtools/client/webconsole/net/test/mochitest/browser_net_post.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/net/test/mochitest/browser_net_response.js b/devtools/client/webconsole/net/test/mochitest/browser_net_response.js index ec5543043..6567def4d 100644 --- a/devtools/client/webconsole/net/test/mochitest/browser_net_response.js +++ b/devtools/client/webconsole/net/test/mochitest/browser_net_response.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/net/test/unit/test_json-utils.js b/devtools/client/webconsole/net/test/unit/test_json-utils.js index f8ccdf3aa..17cd43174 100644 --- a/devtools/client/webconsole/net/test/unit/test_json-utils.js +++ b/devtools/client/webconsole/net/test/unit/test_json-utils.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/net/test/unit/test_net-utils.js b/devtools/client/webconsole/net/test/unit/test_net-utils.js index 512ebcbc7..12f189981 100644 --- a/devtools/client/webconsole/net/test/unit/test_net-utils.js +++ b/devtools/client/webconsole/net/test/unit/test_net-utils.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/new-console-output/actions/enhancers.js b/devtools/client/webconsole/new-console-output/actions/enhancers.js index 5553942e2..b060cd3b3 100644 --- a/devtools/client/webconsole/new-console-output/actions/enhancers.js +++ b/devtools/client/webconsole/new-console-output/actions/enhancers.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/actions/filters.js b/devtools/client/webconsole/new-console-output/actions/filters.js index 05d080219..5149464e0 100644 --- a/devtools/client/webconsole/new-console-output/actions/filters.js +++ b/devtools/client/webconsole/new-console-output/actions/filters.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/actions/index.js b/devtools/client/webconsole/new-console-output/actions/index.js index 5ce76a402..6aff9c848 100644 --- a/devtools/client/webconsole/new-console-output/actions/index.js +++ b/devtools/client/webconsole/new-console-output/actions/index.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/actions/messages.js b/devtools/client/webconsole/new-console-output/actions/messages.js index 467e27503..5ae29efb6 100644 --- a/devtools/client/webconsole/new-console-output/actions/messages.js +++ b/devtools/client/webconsole/new-console-output/actions/messages.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/actions/ui.js b/devtools/client/webconsole/new-console-output/actions/ui.js index cf9814d79..a95dbc131 100644 --- a/devtools/client/webconsole/new-console-output/actions/ui.js +++ b/devtools/client/webconsole/new-console-output/actions/ui.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/components/collapse-button.js b/devtools/client/webconsole/new-console-output/components/collapse-button.js index ab72fcf4d..2737d0f11 100644 --- a/devtools/client/webconsole/new-console-output/components/collapse-button.js +++ b/devtools/client/webconsole/new-console-output/components/collapse-button.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/components/grip-message-body.js b/devtools/client/webconsole/new-console-output/components/grip-message-body.js index 29c2e6a4f..9e353be0a 100644 --- a/devtools/client/webconsole/new-console-output/components/grip-message-body.js +++ b/devtools/client/webconsole/new-console-output/components/grip-message-body.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/components/message-container.js b/devtools/client/webconsole/new-console-output/components/message-container.js index 115e9e291..94163eb04 100644 --- a/devtools/client/webconsole/new-console-output/components/message-container.js +++ b/devtools/client/webconsole/new-console-output/components/message-container.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/components/message-icon.js b/devtools/client/webconsole/new-console-output/components/message-icon.js index b4c32fda0..a2b9b8633 100644 --- a/devtools/client/webconsole/new-console-output/components/message-icon.js +++ b/devtools/client/webconsole/new-console-output/components/message-icon.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/components/message-indent.js b/devtools/client/webconsole/new-console-output/components/message-indent.js index 354e13589..33ee3ac5f 100644 --- a/devtools/client/webconsole/new-console-output/components/message-indent.js +++ b/devtools/client/webconsole/new-console-output/components/message-indent.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/components/message-repeat.js b/devtools/client/webconsole/new-console-output/components/message-repeat.js index 1820340ea..049c224c2 100644 --- a/devtools/client/webconsole/new-console-output/components/message-repeat.js +++ b/devtools/client/webconsole/new-console-output/components/message-repeat.js @@ -1,6 +1,5 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/components/message-types/console-api-call.js b/devtools/client/webconsole/new-console-output/components/message-types/console-api-call.js index 7200648fa..804855c2c 100644 --- a/devtools/client/webconsole/new-console-output/components/message-types/console-api-call.js +++ b/devtools/client/webconsole/new-console-output/components/message-types/console-api-call.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/components/message-types/console-command.js b/devtools/client/webconsole/new-console-output/components/message-types/console-command.js index d87229fa9..14f4efcd7 100644 --- a/devtools/client/webconsole/new-console-output/components/message-types/console-command.js +++ b/devtools/client/webconsole/new-console-output/components/message-types/console-command.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/components/message-types/default-renderer.js b/devtools/client/webconsole/new-console-output/components/message-types/default-renderer.js index d07089531..490d4aee9 100644 --- a/devtools/client/webconsole/new-console-output/components/message-types/default-renderer.js +++ b/devtools/client/webconsole/new-console-output/components/message-types/default-renderer.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/components/message-types/evaluation-result.js b/devtools/client/webconsole/new-console-output/components/message-types/evaluation-result.js index 824bdb3fb..e1d62ab3e 100644 --- a/devtools/client/webconsole/new-console-output/components/message-types/evaluation-result.js +++ b/devtools/client/webconsole/new-console-output/components/message-types/evaluation-result.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/components/message-types/network-event-message.js b/devtools/client/webconsole/new-console-output/components/message-types/network-event-message.js index e3c81a487..e507625e9 100644 --- a/devtools/client/webconsole/new-console-output/components/message-types/network-event-message.js +++ b/devtools/client/webconsole/new-console-output/components/message-types/network-event-message.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/components/message-types/page-error.js b/devtools/client/webconsole/new-console-output/components/message-types/page-error.js index c68b850bd..3c43ad785 100644 --- a/devtools/client/webconsole/new-console-output/components/message-types/page-error.js +++ b/devtools/client/webconsole/new-console-output/components/message-types/page-error.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/components/message.js b/devtools/client/webconsole/new-console-output/components/message.js index 1ffa4e12d..5d09ee14b 100644 --- a/devtools/client/webconsole/new-console-output/components/message.js +++ b/devtools/client/webconsole/new-console-output/components/message.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/components/variables-view-link.js b/devtools/client/webconsole/new-console-output/components/variables-view-link.js index 4d79c322f..cf3f8a383 100644 --- a/devtools/client/webconsole/new-console-output/components/variables-view-link.js +++ b/devtools/client/webconsole/new-console-output/components/variables-view-link.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/constants.js b/devtools/client/webconsole/new-console-output/constants.js index ef11d6eb8..5af7c8f6c 100644 --- a/devtools/client/webconsole/new-console-output/constants.js +++ b/devtools/client/webconsole/new-console-output/constants.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/reducers/filters.js b/devtools/client/webconsole/new-console-output/reducers/filters.js index cd5f4bf7c..b4b13e316 100644 --- a/devtools/client/webconsole/new-console-output/reducers/filters.js +++ b/devtools/client/webconsole/new-console-output/reducers/filters.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/reducers/index.js b/devtools/client/webconsole/new-console-output/reducers/index.js index 6ab10d565..c67e01792 100644 --- a/devtools/client/webconsole/new-console-output/reducers/index.js +++ b/devtools/client/webconsole/new-console-output/reducers/index.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/reducers/messages.js b/devtools/client/webconsole/new-console-output/reducers/messages.js index 0693fed60..beebb0ee6 100644 --- a/devtools/client/webconsole/new-console-output/reducers/messages.js +++ b/devtools/client/webconsole/new-console-output/reducers/messages.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/reducers/prefs.js b/devtools/client/webconsole/new-console-output/reducers/prefs.js index 0707105e1..450026e26 100644 --- a/devtools/client/webconsole/new-console-output/reducers/prefs.js +++ b/devtools/client/webconsole/new-console-output/reducers/prefs.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/reducers/ui.js b/devtools/client/webconsole/new-console-output/reducers/ui.js index aa91dceeb..0ce969c97 100644 --- a/devtools/client/webconsole/new-console-output/reducers/ui.js +++ b/devtools/client/webconsole/new-console-output/reducers/ui.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/selectors/filters.js b/devtools/client/webconsole/new-console-output/selectors/filters.js index 36afa60cc..fcba24341 100644 --- a/devtools/client/webconsole/new-console-output/selectors/filters.js +++ b/devtools/client/webconsole/new-console-output/selectors/filters.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/selectors/messages.js b/devtools/client/webconsole/new-console-output/selectors/messages.js index e405be2f8..98721fc1f 100644 --- a/devtools/client/webconsole/new-console-output/selectors/messages.js +++ b/devtools/client/webconsole/new-console-output/selectors/messages.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/selectors/prefs.js b/devtools/client/webconsole/new-console-output/selectors/prefs.js index 18d8b678c..1056e44e0 100644 --- a/devtools/client/webconsole/new-console-output/selectors/prefs.js +++ b/devtools/client/webconsole/new-console-output/selectors/prefs.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/selectors/ui.js b/devtools/client/webconsole/new-console-output/selectors/ui.js index c9729e92d..b935af749 100644 --- a/devtools/client/webconsole/new-console-output/selectors/ui.js +++ b/devtools/client/webconsole/new-console-output/selectors/ui.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/browser_webconsole_update_stubs_console_api.js b/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/browser_webconsole_update_stubs_console_api.js index fc859a002..2013948a9 100644 --- a/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/browser_webconsole_update_stubs_console_api.js +++ b/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/browser_webconsole_update_stubs_console_api.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/browser_webconsole_update_stubs_evaluation_result.js b/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/browser_webconsole_update_stubs_evaluation_result.js index 507201a24..082913746 100644 --- a/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/browser_webconsole_update_stubs_evaluation_result.js +++ b/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/browser_webconsole_update_stubs_evaluation_result.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/browser_webconsole_update_stubs_network_event.js b/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/browser_webconsole_update_stubs_network_event.js index cc018f634..c51a64beb 100644 --- a/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/browser_webconsole_update_stubs_network_event.js +++ b/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/browser_webconsole_update_stubs_network_event.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/browser_webconsole_update_stubs_page_error.js b/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/browser_webconsole_update_stubs_page_error.js index 9323e0031..29c9478eb 100644 --- a/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/browser_webconsole_update_stubs_page_error.js +++ b/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/browser_webconsole_update_stubs_page_error.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/head.js b/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/head.js index be988b9d8..70d30a76d 100644 --- a/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/head.js +++ b/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/head.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from ../../../../framework/test/shared-head.js */ diff --git a/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_batching.js b/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_batching.js index 0bfdccc3c..d95707238 100644 --- a/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_batching.js +++ b/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_batching.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_console_group.js b/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_console_group.js index 94de78f13..11688c5c3 100644 --- a/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_console_group.js +++ b/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_console_group.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_console_table.js b/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_console_table.js index a90ae1af1..0aa544e13 100644 --- a/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_console_table.js +++ b/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_console_table.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_filters.js b/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_filters.js index 8eb536926..b76dea3d9 100644 --- a/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_filters.js +++ b/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_filters.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_init.js b/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_init.js index 4280270dd..e63f16100 100644 --- a/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_init.js +++ b/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_init.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_input_focus.js b/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_input_focus.js index 7660df238..b05c84b37 100644 --- a/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_input_focus.js +++ b/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_input_focus.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_keyboard_accessibility.js b/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_keyboard_accessibility.js index 1038194b9..6ffaac43b 100644 --- a/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_keyboard_accessibility.js +++ b/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_keyboard_accessibility.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_observer_notifications.js b/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_observer_notifications.js index 5225a6ac1..11c803bd9 100644 --- a/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_observer_notifications.js +++ b/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_observer_notifications.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_vview_close_on_esc_key.js b/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_vview_close_on_esc_key.js index 712a990b4..54f835c9e 100644 --- a/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_vview_close_on_esc_key.js +++ b/devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_vview_close_on_esc_key.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/new-console-output/test/mochitest/head.js b/devtools/client/webconsole/new-console-output/test/mochitest/head.js index 049f3d1ce..66de043f8 100644 --- a/devtools/client/webconsole/new-console-output/test/mochitest/head.js +++ b/devtools/client/webconsole/new-console-output/test/mochitest/head.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from ../../../../framework/test/shared-head.js */ diff --git a/devtools/client/webconsole/new-console-output/types.js b/devtools/client/webconsole/new-console-output/types.js index cb27aedab..3def93ef2 100644 --- a/devtools/client/webconsole/new-console-output/types.js +++ b/devtools/client/webconsole/new-console-output/types.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/utils/id-generator.js b/devtools/client/webconsole/new-console-output/utils/id-generator.js index 7d875b750..1ddfb4379 100644 --- a/devtools/client/webconsole/new-console-output/utils/id-generator.js +++ b/devtools/client/webconsole/new-console-output/utils/id-generator.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/utils/messages.js b/devtools/client/webconsole/new-console-output/utils/messages.js index 119bc7fba..edcc17435 100644 --- a/devtools/client/webconsole/new-console-output/utils/messages.js +++ b/devtools/client/webconsole/new-console-output/utils/messages.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/new-console-output/utils/variables-view.js b/devtools/client/webconsole/new-console-output/utils/variables-view.js index 3cfee875a..a2b5fc187 100644 --- a/devtools/client/webconsole/new-console-output/utils/variables-view.js +++ b/devtools/client/webconsole/new-console-output/utils/variables-view.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/panel.js b/devtools/client/webconsole/panel.js index b692de681..902f6e986 100644 --- a/devtools/client/webconsole/panel.js +++ b/devtools/client/webconsole/panel.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft= javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/test/browser_bug1045902_console_csp_ignore_reflected_xss_message.js b/devtools/client/webconsole/test/browser_bug1045902_console_csp_ignore_reflected_xss_message.js index cfbf61795..4d002fc2a 100644 --- a/devtools/client/webconsole/test/browser_bug1045902_console_csp_ignore_reflected_xss_message.js +++ b/devtools/client/webconsole/test/browser_bug1045902_console_csp_ignore_reflected_xss_message.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_bug664688_sandbox_update_after_navigation.js b/devtools/client/webconsole/test/browser_bug664688_sandbox_update_after_navigation.js index 1aacb61c1..a27c4370f 100644 --- a/devtools/client/webconsole/test/browser_bug664688_sandbox_update_after_navigation.js +++ b/devtools/client/webconsole/test/browser_bug664688_sandbox_update_after_navigation.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_bug_638949_copy_link_location.js b/devtools/client/webconsole/test/browser_bug_638949_copy_link_location.js index 54bdbe499..35bed7032 100644 --- a/devtools/client/webconsole/test/browser_bug_638949_copy_link_location.js +++ b/devtools/client/webconsole/test/browser_bug_638949_copy_link_location.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_bug_862916_console_dir_and_filter_off.js b/devtools/client/webconsole/test/browser_bug_862916_console_dir_and_filter_off.js index 9d04076ee..dd0611bef 100644 --- a/devtools/client/webconsole/test/browser_bug_862916_console_dir_and_filter_off.js +++ b/devtools/client/webconsole/test/browser_bug_862916_console_dir_and_filter_off.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_bug_865288_repeat_different_objects.js b/devtools/client/webconsole/test/browser_bug_865288_repeat_different_objects.js index 86ab5bd39..fba83b9fd 100644 --- a/devtools/client/webconsole/test/browser_bug_865288_repeat_different_objects.js +++ b/devtools/client/webconsole/test/browser_bug_865288_repeat_different_objects.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_bug_865871_variables_view_close_on_esc_key.js b/devtools/client/webconsole/test/browser_bug_865871_variables_view_close_on_esc_key.js index 044525b28..3faf1dc02 100644 --- a/devtools/client/webconsole/test/browser_bug_865871_variables_view_close_on_esc_key.js +++ b/devtools/client/webconsole/test/browser_bug_865871_variables_view_close_on_esc_key.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_bug_869003_inspect_cross_domain_object.js b/devtools/client/webconsole/test/browser_bug_869003_inspect_cross_domain_object.js index 685148fc7..db246805f 100644 --- a/devtools/client/webconsole/test/browser_bug_869003_inspect_cross_domain_object.js +++ b/devtools/client/webconsole/test/browser_bug_869003_inspect_cross_domain_object.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_bug_871156_ctrlw_close_tab.js b/devtools/client/webconsole/test/browser_bug_871156_ctrlw_close_tab.js index c1698cf91..ae3b2796c 100644 --- a/devtools/client/webconsole/test/browser_bug_871156_ctrlw_close_tab.js +++ b/devtools/client/webconsole/test/browser_bug_871156_ctrlw_close_tab.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_cached_messages.js b/devtools/client/webconsole/test/browser_cached_messages.js index bf69deee3..31b5bb374 100644 --- a/devtools/client/webconsole/test/browser_cached_messages.js +++ b/devtools/client/webconsole/test/browser_cached_messages.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console.js b/devtools/client/webconsole/test/browser_console.js index 4358ac0f1..834f15e67 100644 --- a/devtools/client/webconsole/test/browser_console.js +++ b/devtools/client/webconsole/test/browser_console.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_addonsdk_loader_exception.js b/devtools/client/webconsole/test/browser_console_addonsdk_loader_exception.js index 3eec65de3..6b4c7d732 100644 --- a/devtools/client/webconsole/test/browser_console_addonsdk_loader_exception.js +++ b/devtools/client/webconsole/test/browser_console_addonsdk_loader_exception.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_clear_method.js b/devtools/client/webconsole/test/browser_console_clear_method.js index 33b43850e..ba93e3be9 100644 --- a/devtools/client/webconsole/test/browser_console_clear_method.js +++ b/devtools/client/webconsole/test/browser_console_clear_method.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_clear_on_reload.js b/devtools/client/webconsole/test/browser_console_clear_on_reload.js index 223eb028d..c1bebeefa 100644 --- a/devtools/client/webconsole/test/browser_console_clear_on_reload.js +++ b/devtools/client/webconsole/test/browser_console_clear_on_reload.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_click_focus.js b/devtools/client/webconsole/test/browser_console_click_focus.js index f405f0bbf..1d7a67914 100644 --- a/devtools/client/webconsole/test/browser_console_click_focus.js +++ b/devtools/client/webconsole/test/browser_console_click_focus.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_consolejsm_output.js b/devtools/client/webconsole/test/browser_console_consolejsm_output.js index e5b37843e..72e6a51d0 100644 --- a/devtools/client/webconsole/test/browser_console_consolejsm_output.js +++ b/devtools/client/webconsole/test/browser_console_consolejsm_output.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_copy_command.js b/devtools/client/webconsole/test/browser_console_copy_command.js index c4ed4360f..f75965ab8 100644 --- a/devtools/client/webconsole/test/browser_console_copy_command.js +++ b/devtools/client/webconsole/test/browser_console_copy_command.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_copy_entire_message_context_menu.js b/devtools/client/webconsole/test/browser_console_copy_entire_message_context_menu.js index bdd4f7179..91fa8fc3a 100644 --- a/devtools/client/webconsole/test/browser_console_copy_entire_message_context_menu.js +++ b/devtools/client/webconsole/test/browser_console_copy_entire_message_context_menu.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_dead_objects.js b/devtools/client/webconsole/test/browser_console_dead_objects.js index 46b15d59b..807906a95 100644 --- a/devtools/client/webconsole/test/browser_console_dead_objects.js +++ b/devtools/client/webconsole/test/browser_console_dead_objects.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_error_source_click.js b/devtools/client/webconsole/test/browser_console_error_source_click.js index 5839f20d5..379cae4b2 100644 --- a/devtools/client/webconsole/test/browser_console_error_source_click.js +++ b/devtools/client/webconsole/test/browser_console_error_source_click.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_filters.js b/devtools/client/webconsole/test/browser_console_filters.js index 072766fdb..f6032b518 100644 --- a/devtools/client/webconsole/test/browser_console_filters.js +++ b/devtools/client/webconsole/test/browser_console_filters.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_hide_jsterm_when_devtools_chrome_enabled_false.js b/devtools/client/webconsole/test/browser_console_hide_jsterm_when_devtools_chrome_enabled_false.js index d3fdb08be..28cdceebd 100644 --- a/devtools/client/webconsole/test/browser_console_hide_jsterm_when_devtools_chrome_enabled_false.js +++ b/devtools/client/webconsole/test/browser_console_hide_jsterm_when_devtools_chrome_enabled_false.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_history_persist.js b/devtools/client/webconsole/test/browser_console_history_persist.js index 61c4cbf4d..eb0159c3a 100644 --- a/devtools/client/webconsole/test/browser_console_history_persist.js +++ b/devtools/client/webconsole/test/browser_console_history_persist.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_iframe_messages.js b/devtools/client/webconsole/test/browser_console_iframe_messages.js index 9bf3fe2b7..1e2e979d2 100644 --- a/devtools/client/webconsole/test/browser_console_iframe_messages.js +++ b/devtools/client/webconsole/test/browser_console_iframe_messages.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_keyboard_accessibility.js b/devtools/client/webconsole/test/browser_console_keyboard_accessibility.js index c64e45f5d..809c5d79c 100644 --- a/devtools/client/webconsole/test/browser_console_keyboard_accessibility.js +++ b/devtools/client/webconsole/test/browser_console_keyboard_accessibility.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_log_inspectable_object.js b/devtools/client/webconsole/test/browser_console_log_inspectable_object.js index f9fd85295..f9016ff96 100644 --- a/devtools/client/webconsole/test/browser_console_log_inspectable_object.js +++ b/devtools/client/webconsole/test/browser_console_log_inspectable_object.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_native_getters.js b/devtools/client/webconsole/test/browser_console_native_getters.js index 1afb70796..29ebd64bb 100644 --- a/devtools/client/webconsole/test/browser_console_native_getters.js +++ b/devtools/client/webconsole/test/browser_console_native_getters.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_navigation_marker.js b/devtools/client/webconsole/test/browser_console_navigation_marker.js index e8ec84caf..2adc6e8a4 100644 --- a/devtools/client/webconsole/test/browser_console_navigation_marker.js +++ b/devtools/client/webconsole/test/browser_console_navigation_marker.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_netlogging.js b/devtools/client/webconsole/test/browser_console_netlogging.js index a6f7bec48..ee7cecf93 100644 --- a/devtools/client/webconsole/test/browser_console_netlogging.js +++ b/devtools/client/webconsole/test/browser_console_netlogging.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_nsiconsolemessage.js b/devtools/client/webconsole/test/browser_console_nsiconsolemessage.js index fedd0c71c..14ea4974f 100644 --- a/devtools/client/webconsole/test/browser_console_nsiconsolemessage.js +++ b/devtools/client/webconsole/test/browser_console_nsiconsolemessage.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_open_or_focus.js b/devtools/client/webconsole/test/browser_console_open_or_focus.js index d537c9aad..3171eebc8 100644 --- a/devtools/client/webconsole/test/browser_console_open_or_focus.js +++ b/devtools/client/webconsole/test/browser_console_open_or_focus.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_optimized_out_vars.js b/devtools/client/webconsole/test/browser_console_optimized_out_vars.js index dc898eb2b..0da05e8a4 100644 --- a/devtools/client/webconsole/test/browser_console_optimized_out_vars.js +++ b/devtools/client/webconsole/test/browser_console_optimized_out_vars.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_private_browsing.js b/devtools/client/webconsole/test/browser_console_private_browsing.js index 4b3a79329..57c64d6f7 100644 --- a/devtools/client/webconsole/test/browser_console_private_browsing.js +++ b/devtools/client/webconsole/test/browser_console_private_browsing.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_restore.js b/devtools/client/webconsole/test/browser_console_restore.js index fb08d9c70..df06ba8a9 100644 --- a/devtools/client/webconsole/test/browser_console_restore.js +++ b/devtools/client/webconsole/test/browser_console_restore.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_server_logging.js b/devtools/client/webconsole/test/browser_console_server_logging.js index eaef12330..336d615f0 100644 --- a/devtools/client/webconsole/test/browser_console_server_logging.js +++ b/devtools/client/webconsole/test/browser_console_server_logging.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_variables_view.js b/devtools/client/webconsole/test/browser_console_variables_view.js index ecd8071ce..13a0dd667 100644 --- a/devtools/client/webconsole/test/browser_console_variables_view.js +++ b/devtools/client/webconsole/test/browser_console_variables_view.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_variables_view_dom_nodes.js b/devtools/client/webconsole/test/browser_console_variables_view_dom_nodes.js index 522fe4754..930d88d30 100644 --- a/devtools/client/webconsole/test/browser_console_variables_view_dom_nodes.js +++ b/devtools/client/webconsole/test/browser_console_variables_view_dom_nodes.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_variables_view_dont_sort_non_sortable_classes_properties.js b/devtools/client/webconsole/test/browser_console_variables_view_dont_sort_non_sortable_classes_properties.js index ec9ffa7b7..691e2c13a 100644 --- a/devtools/client/webconsole/test/browser_console_variables_view_dont_sort_non_sortable_classes_properties.js +++ b/devtools/client/webconsole/test/browser_console_variables_view_dont_sort_non_sortable_classes_properties.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_variables_view_filter.js b/devtools/client/webconsole/test/browser_console_variables_view_filter.js index 142410839..ab433a939 100644 --- a/devtools/client/webconsole/test/browser_console_variables_view_filter.js +++ b/devtools/client/webconsole/test/browser_console_variables_view_filter.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_variables_view_highlighter.js b/devtools/client/webconsole/test/browser_console_variables_view_highlighter.js index c1b2194de..e0624fa6f 100644 --- a/devtools/client/webconsole/test/browser_console_variables_view_highlighter.js +++ b/devtools/client/webconsole/test/browser_console_variables_view_highlighter.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_variables_view_special_names.js b/devtools/client/webconsole/test/browser_console_variables_view_special_names.js index fa0dd4b92..c5853c7d9 100644 --- a/devtools/client/webconsole/test/browser_console_variables_view_special_names.js +++ b/devtools/client/webconsole/test/browser_console_variables_view_special_names.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_variables_view_while_debugging.js b/devtools/client/webconsole/test/browser_console_variables_view_while_debugging.js index e83a8d626..dee9a3baf 100644 --- a/devtools/client/webconsole/test/browser_console_variables_view_while_debugging.js +++ b/devtools/client/webconsole/test/browser_console_variables_view_while_debugging.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_console_variables_view_while_debugging_and_inspecting.js b/devtools/client/webconsole/test/browser_console_variables_view_while_debugging_and_inspecting.js index 556e7275d..3d850299d 100644 --- a/devtools/client/webconsole/test/browser_console_variables_view_while_debugging_and_inspecting.js +++ b/devtools/client/webconsole/test/browser_console_variables_view_while_debugging_and_inspecting.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_eval_in_debugger_stackframe.js b/devtools/client/webconsole/test/browser_eval_in_debugger_stackframe.js index bc923ff44..5e2bc03ea 100644 --- a/devtools/client/webconsole/test/browser_eval_in_debugger_stackframe.js +++ b/devtools/client/webconsole/test/browser_eval_in_debugger_stackframe.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_eval_in_debugger_stackframe2.js b/devtools/client/webconsole/test/browser_eval_in_debugger_stackframe2.js index bc116d443..46622d387 100644 --- a/devtools/client/webconsole/test/browser_eval_in_debugger_stackframe2.js +++ b/devtools/client/webconsole/test/browser_eval_in_debugger_stackframe2.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_jsterm_inspect.js b/devtools/client/webconsole/test/browser_jsterm_inspect.js index aa18cbff6..65f2ea4c9 100644 --- a/devtools/client/webconsole/test/browser_jsterm_inspect.js +++ b/devtools/client/webconsole/test/browser_jsterm_inspect.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_longstring_hang.js b/devtools/client/webconsole/test/browser_longstring_hang.js index 036ad6e88..a542f376b 100644 --- a/devtools/client/webconsole/test/browser_longstring_hang.js +++ b/devtools/client/webconsole/test/browser_longstring_hang.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_netmonitor_shows_reqs_in_webconsole.js b/devtools/client/webconsole/test/browser_netmonitor_shows_reqs_in_webconsole.js index f6f057549..f07417f1a 100644 --- a/devtools/client/webconsole/test/browser_netmonitor_shows_reqs_in_webconsole.js +++ b/devtools/client/webconsole/test/browser_netmonitor_shows_reqs_in_webconsole.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_output_breaks_after_console_dir_uninspectable.js b/devtools/client/webconsole/test/browser_output_breaks_after_console_dir_uninspectable.js index 38a5b5419..77baad0b2 100644 --- a/devtools/client/webconsole/test/browser_output_breaks_after_console_dir_uninspectable.js +++ b/devtools/client/webconsole/test/browser_output_breaks_after_console_dir_uninspectable.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_output_longstring_expand.js b/devtools/client/webconsole/test/browser_output_longstring_expand.js index bae8ca128..96131fad6 100644 --- a/devtools/client/webconsole/test/browser_output_longstring_expand.js +++ b/devtools/client/webconsole/test/browser_output_longstring_expand.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_repeated_messages_accuracy.js b/devtools/client/webconsole/test/browser_repeated_messages_accuracy.js index 36b13ce02..9d598dd43 100644 --- a/devtools/client/webconsole/test/browser_repeated_messages_accuracy.js +++ b/devtools/client/webconsole/test/browser_repeated_messages_accuracy.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_result_format_as_string.js b/devtools/client/webconsole/test/browser_result_format_as_string.js index 0352d0afa..0da6d93ac 100644 --- a/devtools/client/webconsole/test/browser_result_format_as_string.js +++ b/devtools/client/webconsole/test/browser_result_format_as_string.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_warn_user_about_replaced_api.js b/devtools/client/webconsole/test/browser_warn_user_about_replaced_api.js index 0eeb6eaa3..9bc35da08 100644 --- a/devtools/client/webconsole/test/browser_warn_user_about_replaced_api.js +++ b/devtools/client/webconsole/test/browser_warn_user_about_replaced_api.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_allow_mixedcontent_securityerrors.js b/devtools/client/webconsole/test/browser_webconsole_allow_mixedcontent_securityerrors.js index 07f6372d0..4f8d62867 100644 --- a/devtools/client/webconsole/test/browser_webconsole_allow_mixedcontent_securityerrors.js +++ b/devtools/client/webconsole/test/browser_webconsole_allow_mixedcontent_securityerrors.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_assert.js b/devtools/client/webconsole/test/browser_webconsole_assert.js index 7fc9693f1..108d14ba3 100644 --- a/devtools/client/webconsole/test/browser_webconsole_assert.js +++ b/devtools/client/webconsole/test/browser_webconsole_assert.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_autocomplete-properties-with-non-alphanumeric-names.js b/devtools/client/webconsole/test/browser_webconsole_autocomplete-properties-with-non-alphanumeric-names.js index 0ba168078..92d040f20 100644 --- a/devtools/client/webconsole/test/browser_webconsole_autocomplete-properties-with-non-alphanumeric-names.js +++ b/devtools/client/webconsole/test/browser_webconsole_autocomplete-properties-with-non-alphanumeric-names.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_autocomplete_accessibility.js b/devtools/client/webconsole/test/browser_webconsole_autocomplete_accessibility.js index bcd2e22d0..1122263b6 100644 --- a/devtools/client/webconsole/test/browser_webconsole_autocomplete_accessibility.js +++ b/devtools/client/webconsole/test/browser_webconsole_autocomplete_accessibility.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_autocomplete_and_selfxss.js b/devtools/client/webconsole/test/browser_webconsole_autocomplete_and_selfxss.js index d0c6eb673..e686b8028 100644 --- a/devtools/client/webconsole/test/browser_webconsole_autocomplete_and_selfxss.js +++ b/devtools/client/webconsole/test/browser_webconsole_autocomplete_and_selfxss.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_autocomplete_crossdomain_iframe.js b/devtools/client/webconsole/test/browser_webconsole_autocomplete_crossdomain_iframe.js index b4471bd6b..1d70f020d 100644 --- a/devtools/client/webconsole/test/browser_webconsole_autocomplete_crossdomain_iframe.js +++ b/devtools/client/webconsole/test/browser_webconsole_autocomplete_crossdomain_iframe.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_autocomplete_in_debugger_stackframe.js b/devtools/client/webconsole/test/browser_webconsole_autocomplete_in_debugger_stackframe.js index 60ba5ff0e..387316caa 100644 --- a/devtools/client/webconsole/test/browser_webconsole_autocomplete_in_debugger_stackframe.js +++ b/devtools/client/webconsole/test/browser_webconsole_autocomplete_in_debugger_stackframe.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_autocomplete_popup_close_on_tab_switch.js b/devtools/client/webconsole/test/browser_webconsole_autocomplete_popup_close_on_tab_switch.js index afa3dd55d..b57b1ce92 100644 --- a/devtools/client/webconsole/test/browser_webconsole_autocomplete_popup_close_on_tab_switch.js +++ b/devtools/client/webconsole/test/browser_webconsole_autocomplete_popup_close_on_tab_switch.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_block_mixedcontent_securityerrors.js b/devtools/client/webconsole/test/browser_webconsole_block_mixedcontent_securityerrors.js index eb77bc158..aedb81caa 100644 --- a/devtools/client/webconsole/test/browser_webconsole_block_mixedcontent_securityerrors.js +++ b/devtools/client/webconsole/test/browser_webconsole_block_mixedcontent_securityerrors.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_1006027_message_timestamps_incorrect.js b/devtools/client/webconsole/test/browser_webconsole_bug_1006027_message_timestamps_incorrect.js index ee141a72f..1661cb631 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_1006027_message_timestamps_incorrect.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_1006027_message_timestamps_incorrect.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_1010953_cspro.js b/devtools/client/webconsole/test/browser_webconsole_bug_1010953_cspro.js index ace13f8d1..44cae8796 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_1010953_cspro.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_1010953_cspro.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_1050691_click_function_to_source.js b/devtools/client/webconsole/test/browser_webconsole_bug_1050691_click_function_to_source.js index 9b220b4a2..8722e3006 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_1050691_click_function_to_source.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_1050691_click_function_to_source.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_1247459_violation.js b/devtools/client/webconsole/test/browser_webconsole_bug_1247459_violation.js index 26bac7f57..319ce342c 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_1247459_violation.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_1247459_violation.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_578437_page_reload.js b/devtools/client/webconsole/test/browser_webconsole_bug_578437_page_reload.js index fb0182d8b..a4d2ed1c3 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_578437_page_reload.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_578437_page_reload.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_579412_input_focus.js b/devtools/client/webconsole/test/browser_webconsole_bug_579412_input_focus.js index 551dbd361..73db60e3d 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_579412_input_focus.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_579412_input_focus.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_580001_closing_after_completion.js b/devtools/client/webconsole/test/browser_webconsole_bug_580001_closing_after_completion.js index 4c5fbf9c8..e79d09159 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_580001_closing_after_completion.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_580001_closing_after_completion.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_580030_errors_after_page_reload.js b/devtools/client/webconsole/test/browser_webconsole_bug_580030_errors_after_page_reload.js index af00bf913..2e6f6f004 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_580030_errors_after_page_reload.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_580030_errors_after_page_reload.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_580454_timestamp_l10n.js b/devtools/client/webconsole/test/browser_webconsole_bug_580454_timestamp_l10n.js index 6cd03164b..ccf020d95 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_580454_timestamp_l10n.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_580454_timestamp_l10n.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_582201_duplicate_errors.js b/devtools/client/webconsole/test/browser_webconsole_bug_582201_duplicate_errors.js index 5e7b141eb..0c42299fe 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_582201_duplicate_errors.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_582201_duplicate_errors.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_583816_No_input_and_Tab_key_pressed.js b/devtools/client/webconsole/test/browser_webconsole_bug_583816_No_input_and_Tab_key_pressed.js index 7dd271388..d71e1ec57 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_583816_No_input_and_Tab_key_pressed.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_583816_No_input_and_Tab_key_pressed.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_585237_line_limit.js b/devtools/client/webconsole/test/browser_webconsole_bug_585237_line_limit.js index 974557ec0..d826d6aac 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_585237_line_limit.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_585237_line_limit.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_585956_console_trace.js b/devtools/client/webconsole/test/browser_webconsole_bug_585956_console_trace.js index c38fd52c1..5f258941e 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_585956_console_trace.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_585956_console_trace.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_585991_autocomplete_keys.js b/devtools/client/webconsole/test/browser_webconsole_bug_585991_autocomplete_keys.js index b96dc0c8e..f1858bfa0 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_585991_autocomplete_keys.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_585991_autocomplete_keys.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_585991_autocomplete_popup.js b/devtools/client/webconsole/test/browser_webconsole_bug_585991_autocomplete_popup.js index df1a42edf..5730722b0 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_585991_autocomplete_popup.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_585991_autocomplete_popup.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_586388_select_all.js b/devtools/client/webconsole/test/browser_webconsole_bug_586388_select_all.js index cda31191e..29f6aa5be 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_586388_select_all.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_586388_select_all.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_587617_output_copy.js b/devtools/client/webconsole/test/browser_webconsole_bug_587617_output_copy.js index 208baf3d6..f657499c0 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_587617_output_copy.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_587617_output_copy.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ /* globals goUpdateCommand goDoCommand */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_588342_document_focus.js b/devtools/client/webconsole/test/browser_webconsole_bug_588342_document_focus.js index ff926fc13..6c06555a5 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_588342_document_focus.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_588342_document_focus.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_588730_text_node_insertion.js b/devtools/client/webconsole/test/browser_webconsole_bug_588730_text_node_insertion.js index 94a0ad77e..580ca86ab 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_588730_text_node_insertion.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_588730_text_node_insertion.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_588967_input_expansion.js b/devtools/client/webconsole/test/browser_webconsole_bug_588967_input_expansion.js index c590495c4..c1b6e9ab3 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_588967_input_expansion.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_588967_input_expansion.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_589162_css_filter.js b/devtools/client/webconsole/test/browser_webconsole_bug_589162_css_filter.js index 509c875f8..1fb06f27c 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_589162_css_filter.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_589162_css_filter.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_592442_closing_brackets.js b/devtools/client/webconsole/test/browser_webconsole_bug_592442_closing_brackets.js index adbf13086..2c0e67433 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_592442_closing_brackets.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_592442_closing_brackets.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_593003_iframe_wrong_hud.js b/devtools/client/webconsole/test/browser_webconsole_bug_593003_iframe_wrong_hud.js index 9f429a3d1..ed5df58ad 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_593003_iframe_wrong_hud.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_593003_iframe_wrong_hud.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_594497_history_arrow_keys.js b/devtools/client/webconsole/test/browser_webconsole_bug_594497_history_arrow_keys.js index 514f875c0..4f0f51b48 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_594497_history_arrow_keys.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_594497_history_arrow_keys.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_595223_file_uri.js b/devtools/client/webconsole/test/browser_webconsole_bug_595223_file_uri.js index d57d724ca..211ea619f 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_595223_file_uri.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_595223_file_uri.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_595350_multiple_windows_and_tabs.js b/devtools/client/webconsole/test/browser_webconsole_bug_595350_multiple_windows_and_tabs.js index 1951cb366..246ab0cd2 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_595350_multiple_windows_and_tabs.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_595350_multiple_windows_and_tabs.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_595934_message_categories.js b/devtools/client/webconsole/test/browser_webconsole_bug_595934_message_categories.js index 855cfbb88..016500ab5 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_595934_message_categories.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_595934_message_categories.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_597103_deactivateHUDForContext_unfocused_window.js b/devtools/client/webconsole/test/browser_webconsole_bug_597103_deactivateHUDForContext_unfocused_window.js index e14c3a069..de0c90a12 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_597103_deactivateHUDForContext_unfocused_window.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_597103_deactivateHUDForContext_unfocused_window.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_597136_external_script_errors.js b/devtools/client/webconsole/test/browser_webconsole_bug_597136_external_script_errors.js index 336700ada..2001bf5f1 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_597136_external_script_errors.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_597136_external_script_errors.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_597136_network_requests_from_chrome.js b/devtools/client/webconsole/test/browser_webconsole_bug_597136_network_requests_from_chrome.js index 473f02ccc..4bd75cbac 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_597136_network_requests_from_chrome.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_597136_network_requests_from_chrome.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_597460_filter_scroll.js b/devtools/client/webconsole/test/browser_webconsole_bug_597460_filter_scroll.js index 2de4c9f21..244f9a2a7 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_597460_filter_scroll.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_597460_filter_scroll.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_597756_reopen_closed_tab.js b/devtools/client/webconsole/test/browser_webconsole_bug_597756_reopen_closed_tab.js index 5a8280eed..e1ee8c71a 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_597756_reopen_closed_tab.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_597756_reopen_closed_tab.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_599725_response_headers.js b/devtools/client/webconsole/test/browser_webconsole_bug_599725_response_headers.js index 4849793cb..4ad07f9bc 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_599725_response_headers.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_599725_response_headers.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_600183_charset.js b/devtools/client/webconsole/test/browser_webconsole_bug_600183_charset.js index 153863824..0b09e17e7 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_600183_charset.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_600183_charset.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_601177_log_levels.js b/devtools/client/webconsole/test/browser_webconsole_bug_601177_log_levels.js index 9dd81c9fd..32366e1ed 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_601177_log_levels.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_601177_log_levels.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_601352_scroll.js b/devtools/client/webconsole/test/browser_webconsole_bug_601352_scroll.js index 89bd83a7a..72d57a167 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_601352_scroll.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_601352_scroll.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_601667_filter_buttons.js b/devtools/client/webconsole/test/browser_webconsole_bug_601667_filter_buttons.js index 6dae0a7b7..d683e5aa6 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_601667_filter_buttons.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_601667_filter_buttons.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_603750_websocket.js b/devtools/client/webconsole/test/browser_webconsole_bug_603750_websocket.js index f14530d06..325225220 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_603750_websocket.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_603750_websocket.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_611795.js b/devtools/client/webconsole/test/browser_webconsole_bug_611795.js index 1fa4d717e..5d5c6dfc6 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_611795.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_611795.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_613013_console_api_iframe.js b/devtools/client/webconsole/test/browser_webconsole_bug_613013_console_api_iframe.js index 5d0067958..199d0e1d0 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_613013_console_api_iframe.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_613013_console_api_iframe.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_613280_jsterm_copy.js b/devtools/client/webconsole/test/browser_webconsole_bug_613280_jsterm_copy.js index 95752021d..7a5bf131d 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_613280_jsterm_copy.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_613280_jsterm_copy.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_613642_maintain_scroll.js b/devtools/client/webconsole/test/browser_webconsole_bug_613642_maintain_scroll.js index e24ce28e2..dc69e285b 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_613642_maintain_scroll.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_613642_maintain_scroll.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_613642_prune_scroll.js b/devtools/client/webconsole/test/browser_webconsole_bug_613642_prune_scroll.js index c53fe1683..6e382034e 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_613642_prune_scroll.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_613642_prune_scroll.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_614793_jsterm_scroll.js b/devtools/client/webconsole/test/browser_webconsole_bug_614793_jsterm_scroll.js index ae61023a9..50c4f74c4 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_614793_jsterm_scroll.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_614793_jsterm_scroll.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_618078_network_exceptions.js b/devtools/client/webconsole/test/browser_webconsole_bug_618078_network_exceptions.js index 439793b22..7e69b94a1 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_618078_network_exceptions.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_618078_network_exceptions.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_621644_jsterm_dollar.js b/devtools/client/webconsole/test/browser_webconsole_bug_621644_jsterm_dollar.js index 6f4248c51..b5f5cc845 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_621644_jsterm_dollar.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_621644_jsterm_dollar.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_622303_persistent_filters.js b/devtools/client/webconsole/test/browser_webconsole_bug_622303_persistent_filters.js index f4b5dca96..f3bd2244a 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_622303_persistent_filters.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_622303_persistent_filters.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_623749_ctrl_a_select_all_winnt.js b/devtools/client/webconsole/test/browser_webconsole_bug_623749_ctrl_a_select_all_winnt.js index 3de10774d..af71bcfa3 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_623749_ctrl_a_select_all_winnt.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_623749_ctrl_a_select_all_winnt.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_630733_response_redirect_headers.js b/devtools/client/webconsole/test/browser_webconsole_bug_630733_response_redirect_headers.js index da4bdcf12..b6e9ad45e 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_630733_response_redirect_headers.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_630733_response_redirect_headers.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_632275_getters_document_width.js b/devtools/client/webconsole/test/browser_webconsole_bug_632275_getters_document_width.js index 45d1f7102..93d5ce6b8 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_632275_getters_document_width.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_632275_getters_document_width.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_632347_iterators_generators.js b/devtools/client/webconsole/test/browser_webconsole_bug_632347_iterators_generators.js index c5e672444..3d0a54bd0 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_632347_iterators_generators.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_632347_iterators_generators.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_632817.js b/devtools/client/webconsole/test/browser_webconsole_bug_632817.js index dc976411f..2ee303cfb 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_632817.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_632817.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_642108_pruneTest.js b/devtools/client/webconsole/test/browser_webconsole_bug_642108_pruneTest.js index caaa73628..1cce50155 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_642108_pruneTest.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_642108_pruneTest.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_644419_log_limits.js b/devtools/client/webconsole/test/browser_webconsole_bug_644419_log_limits.js index 93063e436..e66c3c01d 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_644419_log_limits.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_644419_log_limits.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_646025_console_file_location.js b/devtools/client/webconsole/test/browser_webconsole_bug_646025_console_file_location.js index 81573e56f..f7cf16513 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_646025_console_file_location.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_646025_console_file_location.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_651501_document_body_autocomplete.js b/devtools/client/webconsole/test/browser_webconsole_bug_651501_document_body_autocomplete.js index 233643d51..69ac191d3 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_651501_document_body_autocomplete.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_651501_document_body_autocomplete.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_653531_highlighter_console_helper.js b/devtools/client/webconsole/test/browser_webconsole_bug_653531_highlighter_console_helper.js index 217d481e2..4f4d5d591 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_653531_highlighter_console_helper.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_653531_highlighter_console_helper.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_658368_time_methods.js b/devtools/client/webconsole/test/browser_webconsole_bug_658368_time_methods.js index 2c6c933fc..86336a3c9 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_658368_time_methods.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_658368_time_methods.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_659907_console_dir.js b/devtools/client/webconsole/test/browser_webconsole_bug_659907_console_dir.js index 03741a249..45d9fcdcc 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_659907_console_dir.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_659907_console_dir.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_660806_history_nav.js b/devtools/client/webconsole/test/browser_webconsole_bug_660806_history_nav.js index 5906d62d6..f51c778a2 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_660806_history_nav.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_660806_history_nav.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_664131_console_group.js b/devtools/client/webconsole/test/browser_webconsole_bug_664131_console_group.js index fd510240e..c916073fa 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_664131_console_group.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_664131_console_group.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_686937_autocomplete_JSTerm_helpers.js b/devtools/client/webconsole/test/browser_webconsole_bug_686937_autocomplete_JSTerm_helpers.js index 2b1588ef9..03f9ef73c 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_686937_autocomplete_JSTerm_helpers.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_686937_autocomplete_JSTerm_helpers.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_704295.js b/devtools/client/webconsole/test/browser_webconsole_bug_704295.js index df21232cf..8d07fc7f1 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_704295.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_704295.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_734061_No_input_change_and_Tab_key_pressed.js b/devtools/client/webconsole/test/browser_webconsole_bug_734061_No_input_change_and_Tab_key_pressed.js index af9e172c8..fa1228b83 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_734061_No_input_change_and_Tab_key_pressed.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_734061_No_input_change_and_Tab_key_pressed.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_737873_mixedcontent.js b/devtools/client/webconsole/test/browser_webconsole_bug_737873_mixedcontent.js index 4665af42a..4624da4d0 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_737873_mixedcontent.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_737873_mixedcontent.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_752559_ineffective_iframe_sandbox_warning.js b/devtools/client/webconsole/test/browser_webconsole_bug_752559_ineffective_iframe_sandbox_warning.js index 85b99a79a..aaf294dbb 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_752559_ineffective_iframe_sandbox_warning.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_752559_ineffective_iframe_sandbox_warning.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_762593_insecure_passwords_about_blank_web_console_warning.js b/devtools/client/webconsole/test/browser_webconsole_bug_762593_insecure_passwords_about_blank_web_console_warning.js index 49df4d1fc..84a1a0451 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_762593_insecure_passwords_about_blank_web_console_warning.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_762593_insecure_passwords_about_blank_web_console_warning.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_762593_insecure_passwords_web_console_warning.js b/devtools/client/webconsole/test/browser_webconsole_bug_762593_insecure_passwords_web_console_warning.js index 00a620fc8..4937426c2 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_762593_insecure_passwords_web_console_warning.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_762593_insecure_passwords_web_console_warning.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_764572_output_open_url.js b/devtools/client/webconsole/test/browser_webconsole_bug_764572_output_open_url.js index 731e79d8b..841faef15 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_764572_output_open_url.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_764572_output_open_url.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_766001_JS_Console_in_Debugger.js b/devtools/client/webconsole/test/browser_webconsole_bug_766001_JS_Console_in_Debugger.js index 3686fba89..5e48d06a1 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_766001_JS_Console_in_Debugger.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_766001_JS_Console_in_Debugger.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_770099_violation.js b/devtools/client/webconsole/test/browser_webconsole_bug_770099_violation.js index 3a7134202..8bfd46af4 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_770099_violation.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_770099_violation.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_782653_CSS_links_in_Style_Editor.js b/devtools/client/webconsole/test/browser_webconsole_bug_782653_CSS_links_in_Style_Editor.js index f2efd7922..ab20ef196 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_782653_CSS_links_in_Style_Editor.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_782653_CSS_links_in_Style_Editor.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_804845_ctrl_key_nav.js b/devtools/client/webconsole/test/browser_webconsole_bug_804845_ctrl_key_nav.js index b040e6314..64a42ddb6 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_804845_ctrl_key_nav.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_804845_ctrl_key_nav.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_817834_add_edited_input_to_history.js b/devtools/client/webconsole/test/browser_webconsole_bug_817834_add_edited_input_to_history.js index ccbcb3bf3..6401aa438 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_817834_add_edited_input_to_history.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_817834_add_edited_input_to_history.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_837351_securityerrors.js b/devtools/client/webconsole/test/browser_webconsole_bug_837351_securityerrors.js index 0524e1c4c..7cddc6c4a 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_837351_securityerrors.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_837351_securityerrors.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_bug_922212_console_dirxml.js b/devtools/client/webconsole/test/browser_webconsole_bug_922212_console_dirxml.js index 8062ffeec..e03912b74 100644 --- a/devtools/client/webconsole/test/browser_webconsole_bug_922212_console_dirxml.js +++ b/devtools/client/webconsole/test/browser_webconsole_bug_922212_console_dirxml.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_cached_autocomplete.js b/devtools/client/webconsole/test/browser_webconsole_cached_autocomplete.js index fd5c4d29a..75af50326 100644 --- a/devtools/client/webconsole/test/browser_webconsole_cached_autocomplete.js +++ b/devtools/client/webconsole/test/browser_webconsole_cached_autocomplete.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_cd_iframe.js b/devtools/client/webconsole/test/browser_webconsole_cd_iframe.js index 480c60940..50655a81b 100644 --- a/devtools/client/webconsole/test/browser_webconsole_cd_iframe.js +++ b/devtools/client/webconsole/test/browser_webconsole_cd_iframe.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_certificate_messages.js b/devtools/client/webconsole/test/browser_webconsole_certificate_messages.js index ca08d1a0f..f6bdd40dc 100644 --- a/devtools/client/webconsole/test/browser_webconsole_certificate_messages.js +++ b/devtools/client/webconsole/test/browser_webconsole_certificate_messages.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_chrome.js b/devtools/client/webconsole/test/browser_webconsole_chrome.js index 2513d1df5..85c81126a 100644 --- a/devtools/client/webconsole/test/browser_webconsole_chrome.js +++ b/devtools/client/webconsole/test/browser_webconsole_chrome.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_clear_method.js b/devtools/client/webconsole/test/browser_webconsole_clear_method.js index a4702980e..66348c03d 100644 --- a/devtools/client/webconsole/test/browser_webconsole_clear_method.js +++ b/devtools/client/webconsole/test/browser_webconsole_clear_method.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_clickable_urls.js b/devtools/client/webconsole/test/browser_webconsole_clickable_urls.js index 57d81fd05..8b645b879 100644 --- a/devtools/client/webconsole/test/browser_webconsole_clickable_urls.js +++ b/devtools/client/webconsole/test/browser_webconsole_clickable_urls.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_closure_inspection.js b/devtools/client/webconsole/test/browser_webconsole_closure_inspection.js index 769fc0fe5..ccc59ba3f 100644 --- a/devtools/client/webconsole/test/browser_webconsole_closure_inspection.js +++ b/devtools/client/webconsole/test/browser_webconsole_closure_inspection.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_column_numbers.js b/devtools/client/webconsole/test/browser_webconsole_column_numbers.js index 8407e34d5..f82c4d6b3 100644 --- a/devtools/client/webconsole/test/browser_webconsole_column_numbers.js +++ b/devtools/client/webconsole/test/browser_webconsole_column_numbers.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_completion.js b/devtools/client/webconsole/test/browser_webconsole_completion.js index ee0c6809e..673f23c5f 100644 --- a/devtools/client/webconsole/test/browser_webconsole_completion.js +++ b/devtools/client/webconsole/test/browser_webconsole_completion.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_console_api_stackframe.js b/devtools/client/webconsole/test/browser_webconsole_console_api_stackframe.js index f8f02aa15..b56339090 100644 --- a/devtools/client/webconsole/test/browser_webconsole_console_api_stackframe.js +++ b/devtools/client/webconsole/test/browser_webconsole_console_api_stackframe.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_console_custom_styles.js b/devtools/client/webconsole/test/browser_webconsole_console_custom_styles.js index 310d4fc8b..a1046cd14 100644 --- a/devtools/client/webconsole/test/browser_webconsole_console_custom_styles.js +++ b/devtools/client/webconsole/test/browser_webconsole_console_custom_styles.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_console_extras.js b/devtools/client/webconsole/test/browser_webconsole_console_extras.js index 078e33119..855c3dca7 100644 --- a/devtools/client/webconsole/test/browser_webconsole_console_extras.js +++ b/devtools/client/webconsole/test/browser_webconsole_console_extras.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_console_logging_api.js b/devtools/client/webconsole/test/browser_webconsole_console_logging_api.js index 317337543..8cb97f70a 100644 --- a/devtools/client/webconsole/test/browser_webconsole_console_logging_api.js +++ b/devtools/client/webconsole/test/browser_webconsole_console_logging_api.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_console_logging_workers_api.js b/devtools/client/webconsole/test/browser_webconsole_console_logging_workers_api.js index 9575721c3..7f0da691f 100644 --- a/devtools/client/webconsole/test/browser_webconsole_console_logging_workers_api.js +++ b/devtools/client/webconsole/test/browser_webconsole_console_logging_workers_api.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_console_trace_async.js b/devtools/client/webconsole/test/browser_webconsole_console_trace_async.js index 10c3ff7a5..e855f9135 100644 --- a/devtools/client/webconsole/test/browser_webconsole_console_trace_async.js +++ b/devtools/client/webconsole/test/browser_webconsole_console_trace_async.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_console_trace_duplicates.js b/devtools/client/webconsole/test/browser_webconsole_console_trace_duplicates.js index e1c6f966e..2ad84da50 100644 --- a/devtools/client/webconsole/test/browser_webconsole_console_trace_duplicates.js +++ b/devtools/client/webconsole/test/browser_webconsole_console_trace_duplicates.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_context_menu_open_in_var_view.js b/devtools/client/webconsole/test/browser_webconsole_context_menu_open_in_var_view.js index 8451ec762..ccf17e2c4 100644 --- a/devtools/client/webconsole/test/browser_webconsole_context_menu_open_in_var_view.js +++ b/devtools/client/webconsole/test/browser_webconsole_context_menu_open_in_var_view.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_context_menu_store_as_global.js b/devtools/client/webconsole/test/browser_webconsole_context_menu_store_as_global.js index 4508101ee..71275478e 100644 --- a/devtools/client/webconsole/test/browser_webconsole_context_menu_store_as_global.js +++ b/devtools/client/webconsole/test/browser_webconsole_context_menu_store_as_global.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_count.js b/devtools/client/webconsole/test/browser_webconsole_count.js index abb31a08d..6f76f1830 100644 --- a/devtools/client/webconsole/test/browser_webconsole_count.js +++ b/devtools/client/webconsole/test/browser_webconsole_count.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_dont_navigate_on_doubleclick.js b/devtools/client/webconsole/test/browser_webconsole_dont_navigate_on_doubleclick.js index 61ac68208..6ff8a809c 100644 --- a/devtools/client/webconsole/test/browser_webconsole_dont_navigate_on_doubleclick.js +++ b/devtools/client/webconsole/test/browser_webconsole_dont_navigate_on_doubleclick.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_exception_stackframe.js b/devtools/client/webconsole/test/browser_webconsole_exception_stackframe.js index 5cedfbad5..30702b515 100644 --- a/devtools/client/webconsole/test/browser_webconsole_exception_stackframe.js +++ b/devtools/client/webconsole/test/browser_webconsole_exception_stackframe.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_execution_scope.js b/devtools/client/webconsole/test/browser_webconsole_execution_scope.js index 78865c9b2..128781d63 100644 --- a/devtools/client/webconsole/test/browser_webconsole_execution_scope.js +++ b/devtools/client/webconsole/test/browser_webconsole_execution_scope.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_expandable_timestamps.js b/devtools/client/webconsole/test/browser_webconsole_expandable_timestamps.js index 192387e8a..43a7ee16e 100644 --- a/devtools/client/webconsole/test/browser_webconsole_expandable_timestamps.js +++ b/devtools/client/webconsole/test/browser_webconsole_expandable_timestamps.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_filter_buttons_contextmenu.js b/devtools/client/webconsole/test/browser_webconsole_filter_buttons_contextmenu.js index e210bd81a..86b5a3a68 100644 --- a/devtools/client/webconsole/test/browser_webconsole_filter_buttons_contextmenu.js +++ b/devtools/client/webconsole/test/browser_webconsole_filter_buttons_contextmenu.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_for_of.js b/devtools/client/webconsole/test/browser_webconsole_for_of.js index 83d3aaa3d..bebaf0a27 100644 --- a/devtools/client/webconsole/test/browser_webconsole_for_of.js +++ b/devtools/client/webconsole/test/browser_webconsole_for_of.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_history.js b/devtools/client/webconsole/test/browser_webconsole_history.js index 5ae709a4b..ea08b98f0 100644 --- a/devtools/client/webconsole/test/browser_webconsole_history.js +++ b/devtools/client/webconsole/test/browser_webconsole_history.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_hpkp_invalid-headers.js b/devtools/client/webconsole/test/browser_webconsole_hpkp_invalid-headers.js index 39870fd54..d7b910f2e 100644 --- a/devtools/client/webconsole/test/browser_webconsole_hpkp_invalid-headers.js +++ b/devtools/client/webconsole/test/browser_webconsole_hpkp_invalid-headers.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_hsts_invalid-headers.js b/devtools/client/webconsole/test/browser_webconsole_hsts_invalid-headers.js index 19cedefdb..07c25ebf7 100644 --- a/devtools/client/webconsole/test/browser_webconsole_hsts_invalid-headers.js +++ b/devtools/client/webconsole/test/browser_webconsole_hsts_invalid-headers.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_input_field_focus_on_panel_select.js b/devtools/client/webconsole/test/browser_webconsole_input_field_focus_on_panel_select.js index 2d7fda7f5..760e84cc1 100644 --- a/devtools/client/webconsole/test/browser_webconsole_input_field_focus_on_panel_select.js +++ b/devtools/client/webconsole/test/browser_webconsole_input_field_focus_on_panel_select.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_inspect-parsed-documents.js b/devtools/client/webconsole/test/browser_webconsole_inspect-parsed-documents.js index f79ba386f..180c41888 100644 --- a/devtools/client/webconsole/test/browser_webconsole_inspect-parsed-documents.js +++ b/devtools/client/webconsole/test/browser_webconsole_inspect-parsed-documents.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_js_input_expansion.js b/devtools/client/webconsole/test/browser_webconsole_js_input_expansion.js index 7d45059fc..53c1e46ea 100644 --- a/devtools/client/webconsole/test/browser_webconsole_js_input_expansion.js +++ b/devtools/client/webconsole/test/browser_webconsole_js_input_expansion.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_jsterm.js b/devtools/client/webconsole/test/browser_webconsole_jsterm.js index ae5dc71fe..99f281599 100644 --- a/devtools/client/webconsole/test/browser_webconsole_jsterm.js +++ b/devtools/client/webconsole/test/browser_webconsole_jsterm.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_live_filtering_of_message_types.js b/devtools/client/webconsole/test/browser_webconsole_live_filtering_of_message_types.js index 1dbfa80d9..020bdd56e 100644 --- a/devtools/client/webconsole/test/browser_webconsole_live_filtering_of_message_types.js +++ b/devtools/client/webconsole/test/browser_webconsole_live_filtering_of_message_types.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_live_filtering_on_search_strings.js b/devtools/client/webconsole/test/browser_webconsole_live_filtering_on_search_strings.js index d41d5cf2e..ae527e376 100644 --- a/devtools/client/webconsole/test/browser_webconsole_live_filtering_on_search_strings.js +++ b/devtools/client/webconsole/test/browser_webconsole_live_filtering_on_search_strings.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_log_file_filter.js b/devtools/client/webconsole/test/browser_webconsole_log_file_filter.js index d5059485f..eff6f5316 100644 --- a/devtools/client/webconsole/test/browser_webconsole_log_file_filter.js +++ b/devtools/client/webconsole/test/browser_webconsole_log_file_filter.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_message_node_id.js b/devtools/client/webconsole/test/browser_webconsole_message_node_id.js index bec657740..ffcde2e28 100644 --- a/devtools/client/webconsole/test/browser_webconsole_message_node_id.js +++ b/devtools/client/webconsole/test/browser_webconsole_message_node_id.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_netlogging.js b/devtools/client/webconsole/test/browser_webconsole_netlogging.js index 63730c9b4..30cb6b631 100644 --- a/devtools/client/webconsole/test/browser_webconsole_netlogging.js +++ b/devtools/client/webconsole/test/browser_webconsole_netlogging.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_netlogging_reset_filter.js b/devtools/client/webconsole/test/browser_webconsole_netlogging_reset_filter.js index 265bc7c00..17166101b 100644 --- a/devtools/client/webconsole/test/browser_webconsole_netlogging_reset_filter.js +++ b/devtools/client/webconsole/test/browser_webconsole_netlogging_reset_filter.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_notifications.js b/devtools/client/webconsole/test/browser_webconsole_notifications.js index 4bda9192f..ad31846af 100644 --- a/devtools/client/webconsole/test/browser_webconsole_notifications.js +++ b/devtools/client/webconsole/test/browser_webconsole_notifications.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_open-links-without-callback.js b/devtools/client/webconsole/test/browser_webconsole_open-links-without-callback.js index ae11305de..049f2cf5d 100644 --- a/devtools/client/webconsole/test/browser_webconsole_open-links-without-callback.js +++ b/devtools/client/webconsole/test/browser_webconsole_open-links-without-callback.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_output_01.js b/devtools/client/webconsole/test/browser_webconsole_output_01.js index c75577ea7..93b2b3fff 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_01.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_output_02.js b/devtools/client/webconsole/test/browser_webconsole_output_02.js index 837ec673c..b713bbb39 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_02.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_output_03.js b/devtools/client/webconsole/test/browser_webconsole_output_03.js index bd77c2a4d..2521f9272 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_03.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_03.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_output_04.js b/devtools/client/webconsole/test/browser_webconsole_output_04.js index d829594a7..9d9abe00a 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_04.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_04.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_output_05.js b/devtools/client/webconsole/test/browser_webconsole_output_05.js index 53bfd768c..b763b7101 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_05.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_05.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_output_06.js b/devtools/client/webconsole/test/browser_webconsole_output_06.js index ad69b3908..bfa79edce 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_06.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_06.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_output_copy_newlines.js b/devtools/client/webconsole/test/browser_webconsole_output_copy_newlines.js index 22de843f9..245175749 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_copy_newlines.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_copy_newlines.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_01.js b/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_01.js index 097eb3b37..3adc83618 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_01.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_01.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_02.js b/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_02.js index 51fe89e01..260f97d40 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_02.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_02.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_03.js b/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_03.js index b5dd125d1..5136b0958 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_03.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_03.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_04.js b/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_04.js index c7eb94902..0158267ae 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_04.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_04.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_05.js b/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_05.js index 9d35ef984..2c2a7b5fb 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_05.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_dom_elements_05.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_output_events.js b/devtools/client/webconsole/test/browser_webconsole_output_events.js index 9bd04bfc7..cef999d58 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_events.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_events.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_output_order.js b/devtools/client/webconsole/test/browser_webconsole_output_order.js index 66fa74cb0..7f2e208e0 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_order.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_order.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_output_regexp.js b/devtools/client/webconsole/test/browser_webconsole_output_regexp.js index 2d6e767e9..f56e43f31 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_regexp.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_regexp.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_output_table.js b/devtools/client/webconsole/test/browser_webconsole_output_table.js index 372afb28d..1a0c93bfd 100644 --- a/devtools/client/webconsole/test/browser_webconsole_output_table.js +++ b/devtools/client/webconsole/test/browser_webconsole_output_table.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_promise.js b/devtools/client/webconsole/test/browser_webconsole_promise.js index 59cd287ca..8410fcded 100644 --- a/devtools/client/webconsole/test/browser_webconsole_promise.js +++ b/devtools/client/webconsole/test/browser_webconsole_promise.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_property_provider.js b/devtools/client/webconsole/test/browser_webconsole_property_provider.js index 0c9b4c4e3..338b8c8e6 100644 --- a/devtools/client/webconsole/test/browser_webconsole_property_provider.js +++ b/devtools/client/webconsole/test/browser_webconsole_property_provider.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_reflow.js b/devtools/client/webconsole/test/browser_webconsole_reflow.js index 86caa10e0..e36683830 100644 --- a/devtools/client/webconsole/test/browser_webconsole_reflow.js +++ b/devtools/client/webconsole/test/browser_webconsole_reflow.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_scratchpad_panel_link.js b/devtools/client/webconsole/test/browser_webconsole_scratchpad_panel_link.js index 566af8d42..43a5e468f 100644 --- a/devtools/client/webconsole/test/browser_webconsole_scratchpad_panel_link.js +++ b/devtools/client/webconsole/test/browser_webconsole_scratchpad_panel_link.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_script_errordoc_urls.js b/devtools/client/webconsole/test/browser_webconsole_script_errordoc_urls.js index 779d80376..b70e5b81f 100644 --- a/devtools/client/webconsole/test/browser_webconsole_script_errordoc_urls.js +++ b/devtools/client/webconsole/test/browser_webconsole_script_errordoc_urls.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_show_subresource_security_errors.js b/devtools/client/webconsole/test/browser_webconsole_show_subresource_security_errors.js index 43cb96bdc..4dfab4ee8 100644 --- a/devtools/client/webconsole/test/browser_webconsole_show_subresource_security_errors.js +++ b/devtools/client/webconsole/test/browser_webconsole_show_subresource_security_errors.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_shows_reqs_in_netmonitor.js b/devtools/client/webconsole/test/browser_webconsole_shows_reqs_in_netmonitor.js index b66d5afff..3e362659c 100644 --- a/devtools/client/webconsole/test/browser_webconsole_shows_reqs_in_netmonitor.js +++ b/devtools/client/webconsole/test/browser_webconsole_shows_reqs_in_netmonitor.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_split.js b/devtools/client/webconsole/test/browser_webconsole_split.js index 0242d94b4..d45b42630 100644 --- a/devtools/client/webconsole/test/browser_webconsole_split.js +++ b/devtools/client/webconsole/test/browser_webconsole_split.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_split_escape_key.js b/devtools/client/webconsole/test/browser_webconsole_split_escape_key.js index f71efb99e..04adbe166 100644 --- a/devtools/client/webconsole/test/browser_webconsole_split_escape_key.js +++ b/devtools/client/webconsole/test/browser_webconsole_split_escape_key.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_split_focus.js b/devtools/client/webconsole/test/browser_webconsole_split_focus.js index ff65229c9..f64dfc52d 100644 --- a/devtools/client/webconsole/test/browser_webconsole_split_focus.js +++ b/devtools/client/webconsole/test/browser_webconsole_split_focus.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_split_persist.js b/devtools/client/webconsole/test/browser_webconsole_split_persist.js index e11bd4811..bffe9a7ba 100644 --- a/devtools/client/webconsole/test/browser_webconsole_split_persist.js +++ b/devtools/client/webconsole/test/browser_webconsole_split_persist.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_start_netmon_first.js b/devtools/client/webconsole/test/browser_webconsole_start_netmon_first.js index a10acf9b2..28d56585d 100644 --- a/devtools/client/webconsole/test/browser_webconsole_start_netmon_first.js +++ b/devtools/client/webconsole/test/browser_webconsole_start_netmon_first.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_strict_mode_errors.js b/devtools/client/webconsole/test/browser_webconsole_strict_mode_errors.js index cdaf2764e..f6304b24d 100644 --- a/devtools/client/webconsole/test/browser_webconsole_strict_mode_errors.js +++ b/devtools/client/webconsole/test/browser_webconsole_strict_mode_errors.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_trackingprotection_errors.js b/devtools/client/webconsole/test/browser_webconsole_trackingprotection_errors.js index eafeee18e..d37793084 100644 --- a/devtools/client/webconsole/test/browser_webconsole_trackingprotection_errors.js +++ b/devtools/client/webconsole/test/browser_webconsole_trackingprotection_errors.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/browser_webconsole_view_source.js b/devtools/client/webconsole/test/browser_webconsole_view_source.js index a81b58acc..4aa663399 100644 --- a/devtools/client/webconsole/test/browser_webconsole_view_source.js +++ b/devtools/client/webconsole/test/browser_webconsole_view_source.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/head.js b/devtools/client/webconsole/test/head.js index 2787933c4..e90ce2ccf 100644 --- a/devtools/client/webconsole/test/head.js +++ b/devtools/client/webconsole/test/head.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/test-bug-595934-canvas-css.js b/devtools/client/webconsole/test/test-bug-595934-canvas-css.js index ee1ebd425..6d6b15020 100644 --- a/devtools/client/webconsole/test/test-bug-595934-canvas-css.js +++ b/devtools/client/webconsole/test/test-bug-595934-canvas-css.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/test-bug-595934-empty-getelementbyid.js b/devtools/client/webconsole/test/test-bug-595934-empty-getelementbyid.js index bf9ccece9..64f86e56f 100644 --- a/devtools/client/webconsole/test/test-bug-595934-empty-getelementbyid.js +++ b/devtools/client/webconsole/test/test-bug-595934-empty-getelementbyid.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/test-bug-595934-workers.js b/devtools/client/webconsole/test/test-bug-595934-workers.js index d23f080af..583fc5716 100644 --- a/devtools/client/webconsole/test/test-bug-595934-workers.js +++ b/devtools/client/webconsole/test/test-bug-595934-workers.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/test-bug-597136-external-script-errors.js b/devtools/client/webconsole/test/test-bug-597136-external-script-errors.js index 00821e38e..4a75b81a9 100644 --- a/devtools/client/webconsole/test/test-bug-597136-external-script-errors.js +++ b/devtools/client/webconsole/test/test-bug-597136-external-script-errors.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/test-bug-601177-log-levels.js b/devtools/client/webconsole/test/test-bug-601177-log-levels.js index afeb13ff6..44c408694 100644 --- a/devtools/client/webconsole/test/test-bug-601177-log-levels.js +++ b/devtools/client/webconsole/test/test-bug-601177-log-levels.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/test-bug-603750-websocket.js b/devtools/client/webconsole/test/test-bug-603750-websocket.js index 3d92c506b..135ea1982 100644 --- a/devtools/client/webconsole/test/test-bug-603750-websocket.js +++ b/devtools/client/webconsole/test/test-bug-603750-websocket.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/test-bug-766001-console-log.js b/devtools/client/webconsole/test/test-bug-766001-console-log.js index a4be0cb15..c44bfeb35 100644 --- a/devtools/client/webconsole/test/test-bug-766001-console-log.js +++ b/devtools/client/webconsole/test/test-bug-766001-console-log.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/test-bug-766001-js-errors.js b/devtools/client/webconsole/test/test-bug-766001-js-errors.js index 85321813a..4c3170633 100644 --- a/devtools/client/webconsole/test/test-bug-766001-js-errors.js +++ b/devtools/client/webconsole/test/test-bug-766001-js-errors.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/test-bug_923281_test1.js b/devtools/client/webconsole/test/test-bug_923281_test1.js index 1c07f1155..91b70c3ce 100644 --- a/devtools/client/webconsole/test/test-bug_923281_test1.js +++ b/devtools/client/webconsole/test/test-bug_923281_test1.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/test-bug_923281_test2.js b/devtools/client/webconsole/test/test-bug_923281_test2.js index 7ac85b387..2281260f0 100644 --- a/devtools/client/webconsole/test/test-bug_923281_test2.js +++ b/devtools/client/webconsole/test/test-bug_923281_test2.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/test/test-file-location.js b/devtools/client/webconsole/test/test-file-location.js index d9879a356..41df93854 100644 --- a/devtools/client/webconsole/test/test-file-location.js +++ b/devtools/client/webconsole/test/test-file-location.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/utils.js b/devtools/client/webconsole/utils.js index ae2f1809f..9a5c7b6d5 100644 --- a/devtools/client/webconsole/utils.js +++ b/devtools/client/webconsole/utils.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft= javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/webconsole/webconsole.js b/devtools/client/webconsole/webconsole.js index f2031f18a..3bc574531 100644 --- a/devtools/client/webconsole/webconsole.js +++ b/devtools/client/webconsole/webconsole.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/server/actors/breakpoint.js b/devtools/server/actors/breakpoint.js index 547dcd0f1..c740c7928 100644 --- a/devtools/server/actors/breakpoint.js +++ b/devtools/server/actors/breakpoint.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/server/actors/common.js b/devtools/server/actors/common.js index 0177c6749..0debfe0cc 100644 --- a/devtools/server/actors/common.js +++ b/devtools/server/actors/common.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/server/actors/director-registry.js b/devtools/server/actors/director-registry.js index 54584bcde..fae9db072 100644 --- a/devtools/server/actors/director-registry.js +++ b/devtools/server/actors/director-registry.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/server/actors/environment.js b/devtools/server/actors/environment.js index bd03586eb..840b17b8c 100644 --- a/devtools/server/actors/environment.js +++ b/devtools/server/actors/environment.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/server/actors/frame.js b/devtools/server/actors/frame.js index fefcad1b0..bd959b919 100644 --- a/devtools/server/actors/frame.js +++ b/devtools/server/actors/frame.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/server/actors/object.js b/devtools/server/actors/object.js index 06e95a5f0..ab04b9704 100644 --- a/devtools/server/actors/object.js +++ b/devtools/server/actors/object.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/server/actors/pretty-print-worker.js b/devtools/server/actors/pretty-print-worker.js index 5fc6b6959..2db12c20c 100644 --- a/devtools/server/actors/pretty-print-worker.js +++ b/devtools/server/actors/pretty-print-worker.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/server/actors/root.js b/devtools/server/actors/root.js index a5df148c2..18b3d836b 100644 --- a/devtools/server/actors/root.js +++ b/devtools/server/actors/root.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/server/actors/script.js b/devtools/server/actors/script.js index e8e39546c..0b13d79d8 100644 --- a/devtools/server/actors/script.js +++ b/devtools/server/actors/script.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/server/actors/source.js b/devtools/server/actors/source.js index e76c14fe8..8b989cc14 100644 --- a/devtools/server/actors/source.js +++ b/devtools/server/actors/source.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/server/actors/utils/actor-registry-utils.js b/devtools/server/actors/utils/actor-registry-utils.js index 5866827e1..83c5c7d56 100644 --- a/devtools/server/actors/utils/actor-registry-utils.js +++ b/devtools/server/actors/utils/actor-registry-utils.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/server/actors/utils/make-debugger.js b/devtools/server/actors/utils/make-debugger.js index 9bd43e567..deedca8ac 100644 --- a/devtools/server/actors/utils/make-debugger.js +++ b/devtools/server/actors/utils/make-debugger.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/server/actors/utils/map-uri-to-addon-id.js b/devtools/server/actors/utils/map-uri-to-addon-id.js index 6f3316b14..5856a1835 100644 --- a/devtools/server/actors/utils/map-uri-to-addon-id.js +++ b/devtools/server/actors/utils/map-uri-to-addon-id.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/server/actors/utils/webconsole-utils.js b/devtools/server/actors/utils/webconsole-utils.js index 597f1ddb3..31a5c7703 100644 --- a/devtools/server/actors/utils/webconsole-utils.js +++ b/devtools/server/actors/utils/webconsole-utils.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft= javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/server/actors/utils/webconsole-worker-utils.js b/devtools/server/actors/utils/webconsole-worker-utils.js index 0c1142967..edb948760 100644 --- a/devtools/server/actors/utils/webconsole-worker-utils.js +++ b/devtools/server/actors/utils/webconsole-worker-utils.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft= javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/server/actors/webbrowser.js b/devtools/server/actors/webbrowser.js index e7981e163..d7d19dfb1 100644 --- a/devtools/server/actors/webbrowser.js +++ b/devtools/server/actors/webbrowser.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/server/actors/webconsole.js b/devtools/server/actors/webconsole.js index 66715bd34..106b0e4e0 100644 --- a/devtools/server/actors/webconsole.js +++ b/devtools/server/actors/webconsole.js @@ -1,5 +1,4 @@ /* -*- js-indent-level: 2; indent-tabs-mode: nil -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/server/css-logic.js b/devtools/server/css-logic.js index c4a073635..49485d6d6 100644 --- a/devtools/server/css-logic.js +++ b/devtools/server/css-logic.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/server/tests/unit/test_getRuleText.js b/devtools/server/tests/unit/test_getRuleText.js index fe735928d..8ab7ccfb8 100644 --- a/devtools/server/tests/unit/test_getRuleText.js +++ b/devtools/server/tests/unit/test_getRuleText.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/unit/test_getTextAtLineColumn.js b/devtools/server/tests/unit/test_getTextAtLineColumn.js index 16ec47608..cf4b5db4a 100644 --- a/devtools/server/tests/unit/test_getTextAtLineColumn.js +++ b/devtools/server/tests/unit/test_getTextAtLineColumn.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/shared/Parser.jsm b/devtools/shared/Parser.jsm index 4bd635383..0c3c29aad 100644 --- a/devtools/shared/Parser.jsm +++ b/devtools/shared/Parser.jsm @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/shared/client/connection-manager.js b/devtools/shared/client/connection-manager.js index ef242db85..559da40ce 100644 --- a/devtools/shared/client/connection-manager.js +++ b/devtools/shared/client/connection-manager.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/shared/client/main.js b/devtools/shared/client/main.js index 0db8e16c2..379b6cfda 100644 --- a/devtools/shared/client/main.js +++ b/devtools/shared/client/main.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/shared/css/parsing-utils.js b/devtools/shared/css/parsing-utils.js index f477b0f12..423ff17ba 100644 --- a/devtools/shared/css/parsing-utils.js +++ b/devtools/shared/css/parsing-utils.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/shared/inspector/css-logic.js b/devtools/shared/inspector/css-logic.js index 901b7a189..5201ee54b 100644 --- a/devtools/shared/inspector/css-logic.js +++ b/devtools/shared/inspector/css-logic.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/shared/jsbeautify/tests/unit/test.js b/devtools/shared/jsbeautify/tests/unit/test.js index 9b507624c..c7bfd5d8b 100644 --- a/devtools/shared/jsbeautify/tests/unit/test.js +++ b/devtools/shared/jsbeautify/tests/unit/test.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2; fill-column: 80 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/shared/security/auth.js b/devtools/shared/security/auth.js index 9272f602e..dc4bed614 100644 --- a/devtools/shared/security/auth.js +++ b/devtools/shared/security/auth.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/shared/security/cert.js b/devtools/shared/security/cert.js index 7dbeded63..c8d4f91b9 100644 --- a/devtools/shared/security/cert.js +++ b/devtools/shared/security/cert.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/shared/security/prompt.js b/devtools/shared/security/prompt.js index aad9b7211..3ac1241ab 100644 --- a/devtools/shared/security/prompt.js +++ b/devtools/shared/security/prompt.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/shared/security/socket.js b/devtools/shared/security/socket.js index 9c6f5750a..383f8e5b1 100644 --- a/devtools/shared/security/socket.js +++ b/devtools/shared/security/socket.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/shared/webconsole/client.js b/devtools/shared/webconsole/client.js index 4cc5deedf..010a93e86 100644 --- a/devtools/shared/webconsole/client.js +++ b/devtools/shared/webconsole/client.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/shared/webconsole/js-property-provider.js b/devtools/shared/webconsole/js-property-provider.js index 9ada46732..dff2af50a 100644 --- a/devtools/shared/webconsole/js-property-provider.js +++ b/devtools/shared/webconsole/js-property-provider.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft= javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/shared/webconsole/network-monitor.js b/devtools/shared/webconsole/network-monitor.js index a55162f52..4488fc1df 100644 --- a/devtools/shared/webconsole/network-monitor.js +++ b/devtools/shared/webconsole/network-monitor.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft= javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/shared/webconsole/server-logger-monitor.js b/devtools/shared/webconsole/server-logger-monitor.js index 9cc2682ea..3cca72978 100644 --- a/devtools/shared/webconsole/server-logger-monitor.js +++ b/devtools/shared/webconsole/server-logger-monitor.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft= javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/shared/webconsole/server-logger.js b/devtools/shared/webconsole/server-logger.js index 58a2f216a..0d62b86c2 100644 --- a/devtools/shared/webconsole/server-logger.js +++ b/devtools/shared/webconsole/server-logger.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft= javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/shared/webconsole/test/common.js b/devtools/shared/webconsole/test/common.js index b6649bc44..8e77e5605 100644 --- a/devtools/shared/webconsole/test/common.js +++ b/devtools/shared/webconsole/test/common.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft= javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/shared/webconsole/throttle.js b/devtools/shared/webconsole/throttle.js index 3a875ee24..3efc1cf80 100644 --- a/devtools/shared/webconsole/throttle.js +++ b/devtools/shared/webconsole/throttle.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ft= javascript ts=2 et sw=2 tw=80: */ /* 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/. */ -- cgit v1.2.3 From 7572f371867ac8fd61963aced41382357d0e28f8 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Wed, 23 Sep 2020 14:52:16 +0000 Subject: Issue #1656 - Part 2: Unmangle some unfortunate UTF-8 victims. The poor fellows got lost in an ASCII-interpretation of the world. --- devtools/client/shared/widgets/VariablesView.jsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devtools') diff --git a/devtools/client/shared/widgets/VariablesView.jsm b/devtools/client/shared/widgets/VariablesView.jsm index 65f3e8711..f7be87f44 100644 --- a/devtools/client/shared/widgets/VariablesView.jsm +++ b/devtools/client/shared/widgets/VariablesView.jsm @@ -3828,7 +3828,7 @@ VariablesView.stringifiers.byObjectKind = { /** - * Get the "N more???" formatted string, given an N. This is used for displaying + * Get the "N more…" formatted string, given an N. This is used for displaying * how many elements are not displayed in an object preview (eg. an array). * * @private -- cgit v1.2.3 From 528b88d7048728c70227817ab59223e329171d15 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Wed, 23 Sep 2020 15:14:30 +0000 Subject: Issue #1656 - Part 3: Nuke more vim config lines in the tree. Another S&R run with some smarter matching. --- devtools/shared/task.js | 1 - 1 file changed, 1 deletion(-) (limited to 'devtools') diff --git a/devtools/shared/task.js b/devtools/shared/task.js index 501e05e5b..51f9312b2 100644 --- a/devtools/shared/task.js +++ b/devtools/shared/task.js @@ -1,5 +1,4 @@ /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim: set ts=2 et sw=2 tw=80 filetype=javascript: */ /* 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/. */ -- cgit v1.2.3 From 18ea98f7a9a92ab35fdc71e526814570ef4f57e2 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Wed, 23 Sep 2020 15:24:52 +0000 Subject: Issue #1656 - Part 4: Tackle *.idl, *.css, *.ipdlh, *.webidl, *.cc --- devtools/client/debugger/debugger.css | 1 - 1 file changed, 1 deletion(-) (limited to 'devtools') diff --git a/devtools/client/debugger/debugger.css b/devtools/client/debugger/debugger.css index 9898e6bf0..e01759e19 100644 --- a/devtools/client/debugger/debugger.css +++ b/devtools/client/debugger/debugger.css @@ -1,5 +1,4 @@ /* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ -- cgit v1.2.3 From 7523b9ea042af1078c49ed242b5d9eb3e0f34af5 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Wed, 23 Sep 2020 15:37:46 +0000 Subject: Issue #1656 - Part 4: Manual cleanup --- devtools/client/styleeditor/test/doc_long.css | 1 - devtools/client/styleeditor/test/doc_uncached.css | 1 - devtools/client/styleeditor/test/import.css | 1 - devtools/client/styleeditor/test/import2.css | 1 - devtools/client/styleeditor/test/simple.css | 1 - 5 files changed, 5 deletions(-) (limited to 'devtools') diff --git a/devtools/client/styleeditor/test/doc_long.css b/devtools/client/styleeditor/test/doc_long.css index 671416333..801a6e276 100644 --- a/devtools/client/styleeditor/test/doc_long.css +++ b/devtools/client/styleeditor/test/doc_long.css @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/styleeditor/test/doc_uncached.css b/devtools/client/styleeditor/test/doc_uncached.css index 492256c93..585dccea1 100644 --- a/devtools/client/styleeditor/test/doc_uncached.css +++ b/devtools/client/styleeditor/test/doc_uncached.css @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* ☺ */ diff --git a/devtools/client/styleeditor/test/import.css b/devtools/client/styleeditor/test/import.css index df532fb96..c77a1c2d7 100644 --- a/devtools/client/styleeditor/test/import.css +++ b/devtools/client/styleeditor/test/import.css @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/styleeditor/test/import2.css b/devtools/client/styleeditor/test/import2.css index fbbe14d9a..abc62a123 100644 --- a/devtools/client/styleeditor/test/import2.css +++ b/devtools/client/styleeditor/test/import2.css @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/styleeditor/test/simple.css b/devtools/client/styleeditor/test/simple.css index 829fe9e6c..06ee4342b 100644 --- a/devtools/client/styleeditor/test/simple.css +++ b/devtools/client/styleeditor/test/simple.css @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* ☺ */ -- cgit v1.2.3 From d5a2c45aad51e3fcf5f48f8afe8609c1e8726a02 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Wed, 23 Sep 2020 15:52:00 +0000 Subject: Issue #1656 - Part 6: Clean up the build files --- devtools/client/aboutdebugging/moz.build | 1 - devtools/client/animationinspector/moz.build | 1 - devtools/client/canvasdebugger/moz.build | 1 - devtools/client/debugger/content/actions/moz.build | 1 - devtools/client/debugger/content/moz.build | 1 - devtools/client/debugger/content/reducers/moz.build | 1 - devtools/client/debugger/content/views/moz.build | 1 - devtools/client/debugger/moz.build | 1 - devtools/client/debugger/new/moz.build | 1 - devtools/client/dom/content/actions/moz.build | 1 - devtools/client/dom/content/components/moz.build | 1 - devtools/client/dom/content/moz.build | 1 - devtools/client/dom/content/reducers/moz.build | 1 - devtools/client/dom/moz.build | 1 - devtools/client/framework/moz.build | 1 - devtools/client/inspector/components/moz.build | 1 - devtools/client/inspector/computed/moz.build | 1 - devtools/client/inspector/fonts/moz.build | 1 - devtools/client/inspector/layout/actions/moz.build | 1 - devtools/client/inspector/layout/components/moz.build | 1 - devtools/client/inspector/layout/moz.build | 1 - devtools/client/inspector/layout/reducers/moz.build | 1 - devtools/client/inspector/layout/utils/moz.build | 1 - devtools/client/inspector/markup/moz.build | 1 - devtools/client/inspector/markup/views/moz.build | 1 - devtools/client/inspector/rules/models/moz.build | 1 - devtools/client/inspector/rules/moz.build | 1 - devtools/client/inspector/shared/moz.build | 1 - devtools/client/jsonview/components/moz.build | 1 - devtools/client/jsonview/components/reps/moz.build | 1 - devtools/client/jsonview/css/moz.build | 1 - devtools/client/jsonview/lib/moz.build | 1 - devtools/client/jsonview/moz.build | 1 - devtools/client/locales/moz.build | 1 - devtools/client/memory/actions/moz.build | 1 - devtools/client/memory/components/moz.build | 1 - devtools/client/memory/components/tree-map/moz.build | 1 - devtools/client/memory/moz.build | 1 - devtools/client/memory/reducers/moz.build | 1 - devtools/client/moz.build | 1 - devtools/client/netmonitor/actions/moz.build | 1 - devtools/client/netmonitor/components/moz.build | 1 - devtools/client/netmonitor/har/moz.build | 1 - devtools/client/netmonitor/moz.build | 1 - devtools/client/netmonitor/reducers/moz.build | 1 - devtools/client/netmonitor/selectors/moz.build | 1 - devtools/client/performance/components/moz.build | 1 - devtools/client/performance/legacy/moz.build | 1 - devtools/client/performance/modules/logic/moz.build | 1 - devtools/client/performance/modules/moz.build | 1 - devtools/client/performance/modules/widgets/moz.build | 1 - devtools/client/performance/moz.build | 1 - devtools/client/performance/test/helpers/moz.build | 1 - devtools/client/performance/test/moz.build | 1 - devtools/client/preferences/moz.build | 1 - devtools/client/projecteditor/lib/helpers/moz.build | 1 - devtools/client/projecteditor/lib/moz.build | 1 - devtools/client/projecteditor/lib/plugins/delete/moz.build | 1 - devtools/client/projecteditor/lib/plugins/dirty/moz.build | 1 - devtools/client/projecteditor/lib/plugins/image-view/moz.build | 1 - devtools/client/projecteditor/lib/plugins/logging/moz.build | 1 - devtools/client/projecteditor/lib/plugins/moz.build | 1 - devtools/client/projecteditor/lib/plugins/new/moz.build | 1 - devtools/client/projecteditor/lib/plugins/rename/moz.build | 1 - devtools/client/projecteditor/lib/plugins/save/moz.build | 1 - devtools/client/projecteditor/lib/plugins/status-bar/moz.build | 1 - devtools/client/projecteditor/lib/stores/moz.build | 1 - devtools/client/projecteditor/moz.build | 1 - devtools/client/responsive.html/actions/moz.build | 1 - devtools/client/responsive.html/browser/moz.build | 1 - devtools/client/responsive.html/components/moz.build | 1 - devtools/client/responsive.html/images/moz.build | 1 - devtools/client/responsive.html/moz.build | 1 - devtools/client/responsive.html/reducers/moz.build | 1 - devtools/client/responsive.html/utils/moz.build | 1 - devtools/client/scratchpad/moz.build | 1 - devtools/client/shadereditor/moz.build | 1 - devtools/client/shared/components/moz.build | 1 - devtools/client/shared/components/reps/moz.build | 1 - devtools/client/shared/components/splitter/moz.build | 1 - devtools/client/shared/components/tabs/moz.build | 1 - devtools/client/shared/components/tree/moz.build | 1 - devtools/client/shared/moz.build | 1 - devtools/client/shared/redux/middleware/moz.build | 1 - devtools/client/shared/redux/moz.build | 1 - devtools/client/shared/shim/moz.build | 1 - devtools/client/shared/vendor/moz.build | 1 - devtools/client/shared/widgets/moz.build | 1 - devtools/client/shared/widgets/tooltip/moz.build | 1 - devtools/client/shims/moz.build | 1 - devtools/client/sourceeditor/moz.build | 1 - devtools/client/sourceeditor/tern/moz.build | 1 - devtools/client/storage/moz.build | 1 - devtools/client/styleeditor/moz.build | 1 - devtools/client/themes/audio/moz.build | 1 - devtools/client/themes/images/firebug/moz.build | 1 - devtools/client/themes/moz.build | 1 - devtools/client/themes/shims/moz.build | 1 - devtools/client/webaudioeditor/moz.build | 1 - devtools/client/webconsole/moz.build | 1 - devtools/client/webconsole/net/components/moz.build | 1 - devtools/client/webconsole/net/moz.build | 1 - devtools/client/webconsole/net/utils/moz.build | 1 - devtools/client/webconsole/new-console-output/actions/moz.build | 1 - .../webconsole/new-console-output/components/message-types/moz.build | 1 - devtools/client/webconsole/new-console-output/components/moz.build | 1 - devtools/client/webconsole/new-console-output/moz.build | 1 - devtools/client/webconsole/new-console-output/reducers/moz.build | 1 - devtools/client/webconsole/new-console-output/selectors/moz.build | 1 - devtools/client/webconsole/new-console-output/test/fixtures/moz.build | 1 - .../new-console-output/test/fixtures/stub-generators/moz.build | 1 - devtools/client/webconsole/new-console-output/test/moz.build | 1 - devtools/client/webconsole/new-console-output/utils/moz.build | 1 - devtools/moz.build | 1 - devtools/server/actors/highlighters/moz.build | 1 - devtools/server/actors/highlighters/utils/moz.build | 1 - devtools/server/actors/moz.build | 1 - devtools/server/actors/utils/moz.build | 1 - devtools/server/moz.build | 1 - devtools/server/performance/moz.build | 1 - devtools/server/shims/moz.build | 1 - devtools/server/shims/toolkit/moz.build | 1 - devtools/shared/acorn/moz.build | 1 - devtools/shared/apps/moz.build | 1 - devtools/shared/client/moz.build | 1 - devtools/shared/css/generated/moz.build | 1 - devtools/shared/css/moz.build | 1 - devtools/shared/discovery/moz.build | 1 - devtools/shared/fronts/moz.build | 1 - devtools/shared/gcli/commands/moz.build | 1 - devtools/shared/gcli/moz.build | 1 - devtools/shared/gcli/source/lib/gcli/commands/moz.build | 1 - devtools/shared/gcli/source/lib/gcli/connectors/moz.build | 1 - devtools/shared/gcli/source/lib/gcli/converters/moz.build | 1 - devtools/shared/gcli/source/lib/gcli/fields/moz.build | 1 - devtools/shared/gcli/source/lib/gcli/languages/moz.build | 1 - devtools/shared/gcli/source/lib/gcli/moz.build | 1 - devtools/shared/gcli/source/lib/gcli/mozui/moz.build | 1 - devtools/shared/gcli/source/lib/gcli/types/moz.build | 1 - devtools/shared/gcli/source/lib/gcli/ui/moz.build | 1 - devtools/shared/gcli/source/lib/gcli/util/moz.build | 1 - devtools/shared/heapsnapshot/moz.build | 1 - devtools/shared/inspector/moz.build | 1 - devtools/shared/jsbeautify/lib/moz.build | 1 - devtools/shared/jsbeautify/moz.build | 1 - devtools/shared/jsbeautify/src/moz.build | 1 - devtools/shared/layout/moz.build | 1 - devtools/shared/locales/moz.build | 1 - devtools/shared/moz.build | 1 - devtools/shared/node-properties/moz.build | 1 - devtools/shared/performance/moz.build | 1 - devtools/shared/platform/chrome/moz.build | 1 - devtools/shared/platform/content/moz.build | 1 - devtools/shared/platform/moz.build | 1 - devtools/shared/pretty-fast/moz.build | 1 - devtools/shared/qrcode/decoder/moz.build | 1 - devtools/shared/qrcode/encoder/moz.build | 1 - devtools/shared/qrcode/moz.build | 1 - devtools/shared/security/moz.build | 1 - devtools/shared/shims/moz.build | 1 - devtools/shared/sourcemap/moz.build | 1 - devtools/shared/specs/moz.build | 1 - devtools/shared/sprintfjs/moz.build | 1 - devtools/shared/touch/moz.build | 1 - devtools/shared/transport/moz.build | 1 - devtools/shared/webconsole/moz.build | 1 - devtools/shared/worker/moz.build | 1 - 167 files changed, 167 deletions(-) (limited to 'devtools') diff --git a/devtools/client/aboutdebugging/moz.build b/devtools/client/aboutdebugging/moz.build index fd180ba46..b38181ea6 100644 --- a/devtools/client/aboutdebugging/moz.build +++ b/devtools/client/aboutdebugging/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/animationinspector/moz.build b/devtools/client/animationinspector/moz.build index 60527da7d..b9fb9d70b 100644 --- a/devtools/client/animationinspector/moz.build +++ b/devtools/client/animationinspector/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/canvasdebugger/moz.build b/devtools/client/canvasdebugger/moz.build index 684fabc22..200d6ff11 100644 --- a/devtools/client/canvasdebugger/moz.build +++ b/devtools/client/canvasdebugger/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/debugger/content/actions/moz.build b/devtools/client/debugger/content/actions/moz.build index 13a2dd9ad..59e186299 100644 --- a/devtools/client/debugger/content/actions/moz.build +++ b/devtools/client/debugger/content/actions/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/debugger/content/moz.build b/devtools/client/debugger/content/moz.build index fcca58e65..2daaeb871 100644 --- a/devtools/client/debugger/content/moz.build +++ b/devtools/client/debugger/content/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/debugger/content/reducers/moz.build b/devtools/client/debugger/content/reducers/moz.build index 0433a099c..7dd083004 100644 --- a/devtools/client/debugger/content/reducers/moz.build +++ b/devtools/client/debugger/content/reducers/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/debugger/content/views/moz.build b/devtools/client/debugger/content/views/moz.build index de1ecc184..444eb4da0 100644 --- a/devtools/client/debugger/content/views/moz.build +++ b/devtools/client/debugger/content/views/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/debugger/moz.build b/devtools/client/debugger/moz.build index 9719ec002..8b1904d11 100644 --- a/devtools/client/debugger/moz.build +++ b/devtools/client/debugger/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/debugger/new/moz.build b/devtools/client/debugger/new/moz.build index 09d1f908e..ab5c783f3 100644 --- a/devtools/client/debugger/new/moz.build +++ b/devtools/client/debugger/new/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/dom/content/actions/moz.build b/devtools/client/dom/content/actions/moz.build index 6454c00cc..4814d997d 100644 --- a/devtools/client/dom/content/actions/moz.build +++ b/devtools/client/dom/content/actions/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/dom/content/components/moz.build b/devtools/client/dom/content/components/moz.build index 0fa1f8089..70b9d161c 100644 --- a/devtools/client/dom/content/components/moz.build +++ b/devtools/client/dom/content/components/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/dom/content/moz.build b/devtools/client/dom/content/moz.build index b4a9c76bf..6630e2de5 100644 --- a/devtools/client/dom/content/moz.build +++ b/devtools/client/dom/content/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/dom/content/reducers/moz.build b/devtools/client/dom/content/reducers/moz.build index 0a00b3feb..014141ce5 100644 --- a/devtools/client/dom/content/reducers/moz.build +++ b/devtools/client/dom/content/reducers/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/dom/moz.build b/devtools/client/dom/moz.build index 1e04a09dc..c8afdf22a 100644 --- a/devtools/client/dom/moz.build +++ b/devtools/client/dom/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/framework/moz.build b/devtools/client/framework/moz.build index 407e21f8b..fd9357846 100644 --- a/devtools/client/framework/moz.build +++ b/devtools/client/framework/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/inspector/components/moz.build b/devtools/client/inspector/components/moz.build index 5e4dd40ed..85e70f091 100644 --- a/devtools/client/inspector/components/moz.build +++ b/devtools/client/inspector/components/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/inspector/computed/moz.build b/devtools/client/inspector/computed/moz.build index 5ce950325..135c073af 100644 --- a/devtools/client/inspector/computed/moz.build +++ b/devtools/client/inspector/computed/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/inspector/fonts/moz.build b/devtools/client/inspector/fonts/moz.build index a66982b71..ad16f7adc 100644 --- a/devtools/client/inspector/fonts/moz.build +++ b/devtools/client/inspector/fonts/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/inspector/layout/actions/moz.build b/devtools/client/inspector/layout/actions/moz.build index 568f361a5..3d1554f86 100644 --- a/devtools/client/inspector/layout/actions/moz.build +++ b/devtools/client/inspector/layout/actions/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/inspector/layout/components/moz.build b/devtools/client/inspector/layout/components/moz.build index 0ae19f4f6..9439b6fd3 100644 --- a/devtools/client/inspector/layout/components/moz.build +++ b/devtools/client/inspector/layout/components/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/inspector/layout/moz.build b/devtools/client/inspector/layout/moz.build index 8575deedf..78655f13a 100644 --- a/devtools/client/inspector/layout/moz.build +++ b/devtools/client/inspector/layout/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/inspector/layout/reducers/moz.build b/devtools/client/inspector/layout/reducers/moz.build index 7c6955914..c3ba7aec3 100644 --- a/devtools/client/inspector/layout/reducers/moz.build +++ b/devtools/client/inspector/layout/reducers/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/inspector/layout/utils/moz.build b/devtools/client/inspector/layout/utils/moz.build index e3053b63f..575081dff 100644 --- a/devtools/client/inspector/layout/utils/moz.build +++ b/devtools/client/inspector/layout/utils/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/inspector/markup/moz.build b/devtools/client/inspector/markup/moz.build index 4d721cc3c..98d87649b 100644 --- a/devtools/client/inspector/markup/moz.build +++ b/devtools/client/inspector/markup/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/inspector/markup/views/moz.build b/devtools/client/inspector/markup/views/moz.build index 846bc6a84..c32c149bd 100644 --- a/devtools/client/inspector/markup/views/moz.build +++ b/devtools/client/inspector/markup/views/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/inspector/rules/models/moz.build b/devtools/client/inspector/rules/models/moz.build index 1c5c0f89f..7f5828fd2 100644 --- a/devtools/client/inspector/rules/models/moz.build +++ b/devtools/client/inspector/rules/models/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/inspector/rules/moz.build b/devtools/client/inspector/rules/moz.build index e826c1414..0b223eb82 100644 --- a/devtools/client/inspector/rules/moz.build +++ b/devtools/client/inspector/rules/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/inspector/shared/moz.build b/devtools/client/inspector/shared/moz.build index fd2239b60..9bf800931 100644 --- a/devtools/client/inspector/shared/moz.build +++ b/devtools/client/inspector/shared/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/jsonview/components/moz.build b/devtools/client/jsonview/components/moz.build index fa66c8709..dc6f9bf2e 100644 --- a/devtools/client/jsonview/components/moz.build +++ b/devtools/client/jsonview/components/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/jsonview/components/reps/moz.build b/devtools/client/jsonview/components/reps/moz.build index 1d239b7bd..7ac94f7a7 100644 --- a/devtools/client/jsonview/components/reps/moz.build +++ b/devtools/client/jsonview/components/reps/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/jsonview/css/moz.build b/devtools/client/jsonview/css/moz.build index e881b3469..85da8019a 100644 --- a/devtools/client/jsonview/css/moz.build +++ b/devtools/client/jsonview/css/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/jsonview/lib/moz.build b/devtools/client/jsonview/lib/moz.build index fff9a99f9..2cb3ff4e0 100644 --- a/devtools/client/jsonview/lib/moz.build +++ b/devtools/client/jsonview/lib/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/jsonview/moz.build b/devtools/client/jsonview/moz.build index 06a98ed9b..dfe1ee642 100644 --- a/devtools/client/jsonview/moz.build +++ b/devtools/client/jsonview/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/locales/moz.build b/devtools/client/locales/moz.build index aac3a838c..aee4b90a5 100644 --- a/devtools/client/locales/moz.build +++ b/devtools/client/locales/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/memory/actions/moz.build b/devtools/client/memory/actions/moz.build index 8b26aff9f..194d397ba 100644 --- a/devtools/client/memory/actions/moz.build +++ b/devtools/client/memory/actions/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/memory/components/moz.build b/devtools/client/memory/components/moz.build index 529454dd9..f505ed62d 100644 --- a/devtools/client/memory/components/moz.build +++ b/devtools/client/memory/components/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/memory/components/tree-map/moz.build b/devtools/client/memory/components/tree-map/moz.build index aab193191..fdd3be351 100644 --- a/devtools/client/memory/components/tree-map/moz.build +++ b/devtools/client/memory/components/tree-map/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/memory/moz.build b/devtools/client/memory/moz.build index dccb57938..b01cb768e 100644 --- a/devtools/client/memory/moz.build +++ b/devtools/client/memory/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/memory/reducers/moz.build b/devtools/client/memory/reducers/moz.build index 664c4496c..6a079a9ed 100644 --- a/devtools/client/memory/reducers/moz.build +++ b/devtools/client/memory/reducers/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/moz.build b/devtools/client/moz.build index 9699ec726..fc3662748 100644 --- a/devtools/client/moz.build +++ b/devtools/client/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/netmonitor/actions/moz.build b/devtools/client/netmonitor/actions/moz.build index ce904cae8..8160246a7 100644 --- a/devtools/client/netmonitor/actions/moz.build +++ b/devtools/client/netmonitor/actions/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/netmonitor/components/moz.build b/devtools/client/netmonitor/components/moz.build index 42459584d..2a555757e 100644 --- a/devtools/client/netmonitor/components/moz.build +++ b/devtools/client/netmonitor/components/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/netmonitor/har/moz.build b/devtools/client/netmonitor/har/moz.build index f6dd4aff8..a4ebea425 100644 --- a/devtools/client/netmonitor/har/moz.build +++ b/devtools/client/netmonitor/har/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/netmonitor/moz.build b/devtools/client/netmonitor/moz.build index 2c9b32d3f..4322a5f71 100644 --- a/devtools/client/netmonitor/moz.build +++ b/devtools/client/netmonitor/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/netmonitor/reducers/moz.build b/devtools/client/netmonitor/reducers/moz.build index ce904cae8..8160246a7 100644 --- a/devtools/client/netmonitor/reducers/moz.build +++ b/devtools/client/netmonitor/reducers/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/netmonitor/selectors/moz.build b/devtools/client/netmonitor/selectors/moz.build index b3975906e..c4db22a9f 100644 --- a/devtools/client/netmonitor/selectors/moz.build +++ b/devtools/client/netmonitor/selectors/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/performance/components/moz.build b/devtools/client/performance/components/moz.build index 55de59215..1b614eb24 100644 --- a/devtools/client/performance/components/moz.build +++ b/devtools/client/performance/components/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/performance/legacy/moz.build b/devtools/client/performance/legacy/moz.build index 00eab217b..b908a3a60 100644 --- a/devtools/client/performance/legacy/moz.build +++ b/devtools/client/performance/legacy/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/performance/modules/logic/moz.build b/devtools/client/performance/modules/logic/moz.build index 179cd71b3..5255b11c9 100644 --- a/devtools/client/performance/modules/logic/moz.build +++ b/devtools/client/performance/modules/logic/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/performance/modules/moz.build b/devtools/client/performance/modules/moz.build index 45d2ae0d2..d1c612e6d 100644 --- a/devtools/client/performance/modules/moz.build +++ b/devtools/client/performance/modules/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/performance/modules/widgets/moz.build b/devtools/client/performance/modules/widgets/moz.build index 9f733838a..cf2b5e435 100644 --- a/devtools/client/performance/modules/widgets/moz.build +++ b/devtools/client/performance/modules/widgets/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/performance/moz.build b/devtools/client/performance/moz.build index 909d69d80..a96d69f40 100644 --- a/devtools/client/performance/moz.build +++ b/devtools/client/performance/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/performance/test/helpers/moz.build b/devtools/client/performance/test/helpers/moz.build index b858530d6..03ab9f668 100644 --- a/devtools/client/performance/test/helpers/moz.build +++ b/devtools/client/performance/test/helpers/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/performance/test/moz.build b/devtools/client/performance/test/moz.build index 6bdf1a018..6c7ddeefb 100644 --- a/devtools/client/performance/test/moz.build +++ b/devtools/client/performance/test/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/preferences/moz.build b/devtools/client/preferences/moz.build index 93676fab8..428a2dda2 100644 --- a/devtools/client/preferences/moz.build +++ b/devtools/client/preferences/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/projecteditor/lib/helpers/moz.build b/devtools/client/projecteditor/lib/helpers/moz.build index c2e14fce6..f362f93d9 100644 --- a/devtools/client/projecteditor/lib/helpers/moz.build +++ b/devtools/client/projecteditor/lib/helpers/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/projecteditor/lib/moz.build b/devtools/client/projecteditor/lib/moz.build index 91b88ed91..e0b9ab63f 100644 --- a/devtools/client/projecteditor/lib/moz.build +++ b/devtools/client/projecteditor/lib/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/projecteditor/lib/plugins/delete/moz.build b/devtools/client/projecteditor/lib/plugins/delete/moz.build index 4b1d00466..0c2098962 100644 --- a/devtools/client/projecteditor/lib/plugins/delete/moz.build +++ b/devtools/client/projecteditor/lib/plugins/delete/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/projecteditor/lib/plugins/dirty/moz.build b/devtools/client/projecteditor/lib/plugins/dirty/moz.build index b86c5a9af..42cfd9f23 100644 --- a/devtools/client/projecteditor/lib/plugins/dirty/moz.build +++ b/devtools/client/projecteditor/lib/plugins/dirty/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/projecteditor/lib/plugins/image-view/moz.build b/devtools/client/projecteditor/lib/plugins/image-view/moz.build index d67370e5b..d8cc3480b 100644 --- a/devtools/client/projecteditor/lib/plugins/image-view/moz.build +++ b/devtools/client/projecteditor/lib/plugins/image-view/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/projecteditor/lib/plugins/logging/moz.build b/devtools/client/projecteditor/lib/plugins/logging/moz.build index 5d8d98fbe..5e70fba0a 100644 --- a/devtools/client/projecteditor/lib/plugins/logging/moz.build +++ b/devtools/client/projecteditor/lib/plugins/logging/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/projecteditor/lib/plugins/moz.build b/devtools/client/projecteditor/lib/plugins/moz.build index 99d864e13..821f9f9c4 100644 --- a/devtools/client/projecteditor/lib/plugins/moz.build +++ b/devtools/client/projecteditor/lib/plugins/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/projecteditor/lib/plugins/new/moz.build b/devtools/client/projecteditor/lib/plugins/new/moz.build index 3caacefb1..faad400df 100644 --- a/devtools/client/projecteditor/lib/plugins/new/moz.build +++ b/devtools/client/projecteditor/lib/plugins/new/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/projecteditor/lib/plugins/rename/moz.build b/devtools/client/projecteditor/lib/plugins/rename/moz.build index 2b1612452..e87037563 100644 --- a/devtools/client/projecteditor/lib/plugins/rename/moz.build +++ b/devtools/client/projecteditor/lib/plugins/rename/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/projecteditor/lib/plugins/save/moz.build b/devtools/client/projecteditor/lib/plugins/save/moz.build index 66df054eb..d1a631e04 100644 --- a/devtools/client/projecteditor/lib/plugins/save/moz.build +++ b/devtools/client/projecteditor/lib/plugins/save/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/projecteditor/lib/plugins/status-bar/moz.build b/devtools/client/projecteditor/lib/plugins/status-bar/moz.build index 87ce21584..9ce2a8e0e 100644 --- a/devtools/client/projecteditor/lib/plugins/status-bar/moz.build +++ b/devtools/client/projecteditor/lib/plugins/status-bar/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/projecteditor/lib/stores/moz.build b/devtools/client/projecteditor/lib/stores/moz.build index 5a6becd92..0ddc6eafe 100644 --- a/devtools/client/projecteditor/lib/stores/moz.build +++ b/devtools/client/projecteditor/lib/stores/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/projecteditor/moz.build b/devtools/client/projecteditor/moz.build index 049493833..36f3eae33 100644 --- a/devtools/client/projecteditor/moz.build +++ b/devtools/client/projecteditor/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/responsive.html/actions/moz.build b/devtools/client/responsive.html/actions/moz.build index 8f44c7118..02a916b7e 100644 --- a/devtools/client/responsive.html/actions/moz.build +++ b/devtools/client/responsive.html/actions/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/responsive.html/browser/moz.build b/devtools/client/responsive.html/browser/moz.build index f99bbc443..36f940d48 100644 --- a/devtools/client/responsive.html/browser/moz.build +++ b/devtools/client/responsive.html/browser/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/responsive.html/components/moz.build b/devtools/client/responsive.html/components/moz.build index 4ad36f992..2796be2fd 100644 --- a/devtools/client/responsive.html/components/moz.build +++ b/devtools/client/responsive.html/components/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/responsive.html/images/moz.build b/devtools/client/responsive.html/images/moz.build index bbce6d6c2..b516fee31 100644 --- a/devtools/client/responsive.html/images/moz.build +++ b/devtools/client/responsive.html/images/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/responsive.html/moz.build b/devtools/client/responsive.html/moz.build index 79fbf3ae4..14e3764ed 100644 --- a/devtools/client/responsive.html/moz.build +++ b/devtools/client/responsive.html/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/responsive.html/reducers/moz.build b/devtools/client/responsive.html/reducers/moz.build index f1e9668f0..8efb001bc 100644 --- a/devtools/client/responsive.html/reducers/moz.build +++ b/devtools/client/responsive.html/reducers/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/responsive.html/utils/moz.build b/devtools/client/responsive.html/utils/moz.build index a716eae0c..64d454d88 100644 --- a/devtools/client/responsive.html/utils/moz.build +++ b/devtools/client/responsive.html/utils/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/scratchpad/moz.build b/devtools/client/scratchpad/moz.build index da8257c11..872c9889f 100644 --- a/devtools/client/scratchpad/moz.build +++ b/devtools/client/scratchpad/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/shadereditor/moz.build b/devtools/client/shadereditor/moz.build index 684fabc22..200d6ff11 100644 --- a/devtools/client/shadereditor/moz.build +++ b/devtools/client/shadereditor/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/shared/components/moz.build b/devtools/client/shared/components/moz.build index 0d67e90b5..7c7b6da35 100644 --- a/devtools/client/shared/components/moz.build +++ b/devtools/client/shared/components/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/shared/components/reps/moz.build b/devtools/client/shared/components/reps/moz.build index f5df589f7..722bd7fdd 100644 --- a/devtools/client/shared/components/reps/moz.build +++ b/devtools/client/shared/components/reps/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/shared/components/splitter/moz.build b/devtools/client/shared/components/splitter/moz.build index 924732aea..de4a87d73 100644 --- a/devtools/client/shared/components/splitter/moz.build +++ b/devtools/client/shared/components/splitter/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/shared/components/tabs/moz.build b/devtools/client/shared/components/tabs/moz.build index d4d5dc35d..b2eb75d03 100644 --- a/devtools/client/shared/components/tabs/moz.build +++ b/devtools/client/shared/components/tabs/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/shared/components/tree/moz.build b/devtools/client/shared/components/tree/moz.build index a7413f25a..b1532f0f6 100644 --- a/devtools/client/shared/components/tree/moz.build +++ b/devtools/client/shared/components/tree/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/shared/moz.build b/devtools/client/shared/moz.build index 7be4a0088..21fcb29e0 100644 --- a/devtools/client/shared/moz.build +++ b/devtools/client/shared/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/shared/redux/middleware/moz.build b/devtools/client/shared/redux/middleware/moz.build index a25bfd518..5f567f42c 100644 --- a/devtools/client/shared/redux/middleware/moz.build +++ b/devtools/client/shared/redux/middleware/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/shared/redux/moz.build b/devtools/client/shared/redux/moz.build index 02b1f6bd6..332c1beb0 100644 --- a/devtools/client/shared/redux/moz.build +++ b/devtools/client/shared/redux/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/shared/shim/moz.build b/devtools/client/shared/shim/moz.build index dff3e903c..981357aea 100644 --- a/devtools/client/shared/shim/moz.build +++ b/devtools/client/shared/shim/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/shared/vendor/moz.build b/devtools/client/shared/vendor/moz.build index e04221293..269ad1c03 100644 --- a/devtools/client/shared/vendor/moz.build +++ b/devtools/client/shared/vendor/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/shared/widgets/moz.build b/devtools/client/shared/widgets/moz.build index 5a28d21ca..9bc2b8737 100644 --- a/devtools/client/shared/widgets/moz.build +++ b/devtools/client/shared/widgets/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/shared/widgets/tooltip/moz.build b/devtools/client/shared/widgets/tooltip/moz.build index 93172227a..b7174880a 100644 --- a/devtools/client/shared/widgets/tooltip/moz.build +++ b/devtools/client/shared/widgets/tooltip/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/shims/moz.build b/devtools/client/shims/moz.build index 21b689af8..182ee7f82 100644 --- a/devtools/client/shims/moz.build +++ b/devtools/client/shims/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/sourceeditor/moz.build b/devtools/client/sourceeditor/moz.build index 765accb14..0d8bd7611 100644 --- a/devtools/client/sourceeditor/moz.build +++ b/devtools/client/sourceeditor/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/sourceeditor/tern/moz.build b/devtools/client/sourceeditor/tern/moz.build index cba3f5a1b..7ebef8bd3 100644 --- a/devtools/client/sourceeditor/tern/moz.build +++ b/devtools/client/sourceeditor/tern/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/storage/moz.build b/devtools/client/storage/moz.build index 0c7f2f46b..6a2410bb4 100644 --- a/devtools/client/storage/moz.build +++ b/devtools/client/storage/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/styleeditor/moz.build b/devtools/client/styleeditor/moz.build index 4fc06b660..be508d0d6 100644 --- a/devtools/client/styleeditor/moz.build +++ b/devtools/client/styleeditor/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/themes/audio/moz.build b/devtools/client/themes/audio/moz.build index b68b29b8d..2bf5b5abc 100644 --- a/devtools/client/themes/audio/moz.build +++ b/devtools/client/themes/audio/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/themes/images/firebug/moz.build b/devtools/client/themes/images/firebug/moz.build index 1516b4030..4edfca0b0 100644 --- a/devtools/client/themes/images/firebug/moz.build +++ b/devtools/client/themes/images/firebug/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/themes/moz.build b/devtools/client/themes/moz.build index 543f4eff0..4e5c933e2 100644 --- a/devtools/client/themes/moz.build +++ b/devtools/client/themes/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/themes/shims/moz.build b/devtools/client/themes/shims/moz.build index c44334263..3bd87c8c3 100644 --- a/devtools/client/themes/shims/moz.build +++ b/devtools/client/themes/shims/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/webaudioeditor/moz.build b/devtools/client/webaudioeditor/moz.build index 684fabc22..200d6ff11 100644 --- a/devtools/client/webaudioeditor/moz.build +++ b/devtools/client/webaudioeditor/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/webconsole/moz.build b/devtools/client/webconsole/moz.build index c8324b315..cb8f1dfeb 100644 --- a/devtools/client/webconsole/moz.build +++ b/devtools/client/webconsole/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/webconsole/net/components/moz.build b/devtools/client/webconsole/net/components/moz.build index 0053de780..f0f8ce979 100644 --- a/devtools/client/webconsole/net/components/moz.build +++ b/devtools/client/webconsole/net/components/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/webconsole/net/moz.build b/devtools/client/webconsole/net/moz.build index 1b9eca7fe..40d7018d5 100644 --- a/devtools/client/webconsole/net/moz.build +++ b/devtools/client/webconsole/net/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/webconsole/net/utils/moz.build b/devtools/client/webconsole/net/utils/moz.build index 3fdc458e3..5a7cf89ce 100644 --- a/devtools/client/webconsole/net/utils/moz.build +++ b/devtools/client/webconsole/net/utils/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/client/webconsole/new-console-output/actions/moz.build b/devtools/client/webconsole/new-console-output/actions/moz.build index c7a8ed52c..b98931c18 100644 --- a/devtools/client/webconsole/new-console-output/actions/moz.build +++ b/devtools/client/webconsole/new-console-output/actions/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/webconsole/new-console-output/components/message-types/moz.build b/devtools/client/webconsole/new-console-output/components/message-types/moz.build index 9b9f72017..a67d038c2 100644 --- a/devtools/client/webconsole/new-console-output/components/message-types/moz.build +++ b/devtools/client/webconsole/new-console-output/components/message-types/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/webconsole/new-console-output/components/moz.build b/devtools/client/webconsole/new-console-output/components/moz.build index 8c0022314..6f59310d2 100644 --- a/devtools/client/webconsole/new-console-output/components/moz.build +++ b/devtools/client/webconsole/new-console-output/components/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/webconsole/new-console-output/moz.build b/devtools/client/webconsole/new-console-output/moz.build index 7d0905aaa..f3e183c6c 100644 --- a/devtools/client/webconsole/new-console-output/moz.build +++ b/devtools/client/webconsole/new-console-output/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/webconsole/new-console-output/reducers/moz.build b/devtools/client/webconsole/new-console-output/reducers/moz.build index 651512f85..c190d3b7c 100644 --- a/devtools/client/webconsole/new-console-output/reducers/moz.build +++ b/devtools/client/webconsole/new-console-output/reducers/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/webconsole/new-console-output/selectors/moz.build b/devtools/client/webconsole/new-console-output/selectors/moz.build index 547f53542..9ae16c5c5 100644 --- a/devtools/client/webconsole/new-console-output/selectors/moz.build +++ b/devtools/client/webconsole/new-console-output/selectors/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/webconsole/new-console-output/test/fixtures/moz.build b/devtools/client/webconsole/new-console-output/test/fixtures/moz.build index ff41d6c80..f27fdb849 100644 --- a/devtools/client/webconsole/new-console-output/test/fixtures/moz.build +++ b/devtools/client/webconsole/new-console-output/test/fixtures/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/moz.build b/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/moz.build index 4b4e8a1d8..ffa6eedec 100644 --- a/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/moz.build +++ b/devtools/client/webconsole/new-console-output/test/fixtures/stub-generators/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/webconsole/new-console-output/test/moz.build b/devtools/client/webconsole/new-console-output/test/moz.build index da06c3162..a704def99 100644 --- a/devtools/client/webconsole/new-console-output/test/moz.build +++ b/devtools/client/webconsole/new-console-output/test/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/client/webconsole/new-console-output/utils/moz.build b/devtools/client/webconsole/new-console-output/utils/moz.build index 00378baa4..b666607d6 100644 --- a/devtools/client/webconsole/new-console-output/utils/moz.build +++ b/devtools/client/webconsole/new-console-output/utils/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/moz.build b/devtools/moz.build index e6cb86c37..6ba36fe4b 100644 --- a/devtools/moz.build +++ b/devtools/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/server/actors/highlighters/moz.build b/devtools/server/actors/highlighters/moz.build index 317d0832c..d0c27bc06 100644 --- a/devtools/server/actors/highlighters/moz.build +++ b/devtools/server/actors/highlighters/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/server/actors/highlighters/utils/moz.build b/devtools/server/actors/highlighters/utils/moz.build index 4bb429bc3..82743887f 100644 --- a/devtools/server/actors/highlighters/utils/moz.build +++ b/devtools/server/actors/highlighters/utils/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/server/actors/moz.build b/devtools/server/actors/moz.build index 085d003cf..6523250a2 100644 --- a/devtools/server/actors/moz.build +++ b/devtools/server/actors/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/server/actors/utils/moz.build b/devtools/server/actors/utils/moz.build index 0dcf40faf..6b7e864cb 100644 --- a/devtools/server/actors/utils/moz.build +++ b/devtools/server/actors/utils/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/server/moz.build b/devtools/server/moz.build index e4a6d2051..30bdd4bce 100644 --- a/devtools/server/moz.build +++ b/devtools/server/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/server/performance/moz.build b/devtools/server/performance/moz.build index e7b1ed00c..79f0316b9 100644 --- a/devtools/server/performance/moz.build +++ b/devtools/server/performance/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/server/shims/moz.build b/devtools/server/shims/moz.build index cebaa79b4..f3ebce57a 100644 --- a/devtools/server/shims/moz.build +++ b/devtools/server/shims/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/server/shims/toolkit/moz.build b/devtools/server/shims/toolkit/moz.build index 4bfd07f04..cebc8cc3d 100644 --- a/devtools/server/shims/toolkit/moz.build +++ b/devtools/server/shims/toolkit/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/acorn/moz.build b/devtools/shared/acorn/moz.build index 8fd5375ef..f3df226da 100644 --- a/devtools/shared/acorn/moz.build +++ b/devtools/shared/acorn/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/apps/moz.build b/devtools/shared/apps/moz.build index 8ab1a9eb9..b3641d527 100644 --- a/devtools/shared/apps/moz.build +++ b/devtools/shared/apps/moz.build @@ -1,4 +1,3 @@ -# 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/. diff --git a/devtools/shared/client/moz.build b/devtools/shared/client/moz.build index aba5a2bfe..165021bf1 100644 --- a/devtools/shared/client/moz.build +++ b/devtools/shared/client/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/css/generated/moz.build b/devtools/shared/css/generated/moz.build index 7f01281db..bce7707e5 100644 --- a/devtools/shared/css/generated/moz.build +++ b/devtools/shared/css/generated/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/css/moz.build b/devtools/shared/css/moz.build index c65b8d141..9cdacdf75 100644 --- a/devtools/shared/css/moz.build +++ b/devtools/shared/css/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/discovery/moz.build b/devtools/shared/discovery/moz.build index 9aeaba45e..93901485c 100644 --- a/devtools/shared/discovery/moz.build +++ b/devtools/shared/discovery/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/fronts/moz.build b/devtools/shared/fronts/moz.build index 8a38d6b5d..2ab7a7183 100644 --- a/devtools/shared/fronts/moz.build +++ b/devtools/shared/fronts/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/gcli/commands/moz.build b/devtools/shared/gcli/commands/moz.build index e5f3fe91c..b02baa693 100644 --- a/devtools/shared/gcli/commands/moz.build +++ b/devtools/shared/gcli/commands/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/gcli/moz.build b/devtools/shared/gcli/moz.build index c1015569f..2c3d5c281 100644 --- a/devtools/shared/gcli/moz.build +++ b/devtools/shared/gcli/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/gcli/source/lib/gcli/commands/moz.build b/devtools/shared/gcli/source/lib/gcli/commands/moz.build index 8cf5f0e96..5d3b0d0a1 100644 --- a/devtools/shared/gcli/source/lib/gcli/commands/moz.build +++ b/devtools/shared/gcli/source/lib/gcli/commands/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/gcli/source/lib/gcli/connectors/moz.build b/devtools/shared/gcli/source/lib/gcli/connectors/moz.build index 33fda8fbc..aecbf3b82 100644 --- a/devtools/shared/gcli/source/lib/gcli/connectors/moz.build +++ b/devtools/shared/gcli/source/lib/gcli/connectors/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/gcli/source/lib/gcli/converters/moz.build b/devtools/shared/gcli/source/lib/gcli/converters/moz.build index d3a649197..6f915b9ed 100644 --- a/devtools/shared/gcli/source/lib/gcli/converters/moz.build +++ b/devtools/shared/gcli/source/lib/gcli/converters/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/gcli/source/lib/gcli/fields/moz.build b/devtools/shared/gcli/source/lib/gcli/fields/moz.build index 74fa1cc95..2a319d09f 100644 --- a/devtools/shared/gcli/source/lib/gcli/fields/moz.build +++ b/devtools/shared/gcli/source/lib/gcli/fields/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/gcli/source/lib/gcli/languages/moz.build b/devtools/shared/gcli/source/lib/gcli/languages/moz.build index e1828a51f..4153c739e 100644 --- a/devtools/shared/gcli/source/lib/gcli/languages/moz.build +++ b/devtools/shared/gcli/source/lib/gcli/languages/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/gcli/source/lib/gcli/moz.build b/devtools/shared/gcli/source/lib/gcli/moz.build index 7b1e6dd2a..e4d14538b 100644 --- a/devtools/shared/gcli/source/lib/gcli/moz.build +++ b/devtools/shared/gcli/source/lib/gcli/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/gcli/source/lib/gcli/mozui/moz.build b/devtools/shared/gcli/source/lib/gcli/mozui/moz.build index af76e0d99..0ffcd0380 100644 --- a/devtools/shared/gcli/source/lib/gcli/mozui/moz.build +++ b/devtools/shared/gcli/source/lib/gcli/mozui/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/gcli/source/lib/gcli/types/moz.build b/devtools/shared/gcli/source/lib/gcli/types/moz.build index dc3063594..f5250c124 100644 --- a/devtools/shared/gcli/source/lib/gcli/types/moz.build +++ b/devtools/shared/gcli/source/lib/gcli/types/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/gcli/source/lib/gcli/ui/moz.build b/devtools/shared/gcli/source/lib/gcli/ui/moz.build index 70ac666f0..982705c20 100644 --- a/devtools/shared/gcli/source/lib/gcli/ui/moz.build +++ b/devtools/shared/gcli/source/lib/gcli/ui/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/gcli/source/lib/gcli/util/moz.build b/devtools/shared/gcli/source/lib/gcli/util/moz.build index 0fdeb96ec..9ec1654a9 100644 --- a/devtools/shared/gcli/source/lib/gcli/util/moz.build +++ b/devtools/shared/gcli/source/lib/gcli/util/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/heapsnapshot/moz.build b/devtools/shared/heapsnapshot/moz.build index 9a915e426..faf96698d 100644 --- a/devtools/shared/heapsnapshot/moz.build +++ b/devtools/shared/heapsnapshot/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/inspector/moz.build b/devtools/shared/inspector/moz.build index e2c143fc3..8a1cc0591 100644 --- a/devtools/shared/inspector/moz.build +++ b/devtools/shared/inspector/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/jsbeautify/lib/moz.build b/devtools/shared/jsbeautify/lib/moz.build index 8fc89a102..261fe909a 100644 --- a/devtools/shared/jsbeautify/lib/moz.build +++ b/devtools/shared/jsbeautify/lib/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/jsbeautify/moz.build b/devtools/shared/jsbeautify/moz.build index 939ca8943..0b9bd1183 100644 --- a/devtools/shared/jsbeautify/moz.build +++ b/devtools/shared/jsbeautify/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/jsbeautify/src/moz.build b/devtools/shared/jsbeautify/src/moz.build index ef16a2bb2..f1a80c273 100644 --- a/devtools/shared/jsbeautify/src/moz.build +++ b/devtools/shared/jsbeautify/src/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/layout/moz.build b/devtools/shared/layout/moz.build index 62d5d2cb0..5efe14c5f 100644 --- a/devtools/shared/layout/moz.build +++ b/devtools/shared/layout/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/locales/moz.build b/devtools/shared/locales/moz.build index aac3a838c..aee4b90a5 100644 --- a/devtools/shared/locales/moz.build +++ b/devtools/shared/locales/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/moz.build b/devtools/shared/moz.build index e4de1d84a..8129e9083 100644 --- a/devtools/shared/moz.build +++ b/devtools/shared/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/node-properties/moz.build b/devtools/shared/node-properties/moz.build index e58b1fdb6..615807312 100644 --- a/devtools/shared/node-properties/moz.build +++ b/devtools/shared/node-properties/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/performance/moz.build b/devtools/shared/performance/moz.build index 202aac278..913f04222 100644 --- a/devtools/shared/performance/moz.build +++ b/devtools/shared/performance/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/platform/chrome/moz.build b/devtools/shared/platform/chrome/moz.build index bb3bdacbb..637e0acc4 100644 --- a/devtools/shared/platform/chrome/moz.build +++ b/devtools/shared/platform/chrome/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/platform/content/moz.build b/devtools/shared/platform/content/moz.build index b62205eb8..20757b32a 100644 --- a/devtools/shared/platform/content/moz.build +++ b/devtools/shared/platform/content/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/platform/moz.build b/devtools/shared/platform/moz.build index 84f56dce1..76d0a0f69 100644 --- a/devtools/shared/platform/moz.build +++ b/devtools/shared/platform/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/pretty-fast/moz.build b/devtools/shared/pretty-fast/moz.build index 3c72c8ff6..c6ae14864 100644 --- a/devtools/shared/pretty-fast/moz.build +++ b/devtools/shared/pretty-fast/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/qrcode/decoder/moz.build b/devtools/shared/qrcode/decoder/moz.build index 4442a2e90..3da7f18ee 100644 --- a/devtools/shared/qrcode/decoder/moz.build +++ b/devtools/shared/qrcode/decoder/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/qrcode/encoder/moz.build b/devtools/shared/qrcode/encoder/moz.build index 4442a2e90..3da7f18ee 100644 --- a/devtools/shared/qrcode/encoder/moz.build +++ b/devtools/shared/qrcode/encoder/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/qrcode/moz.build b/devtools/shared/qrcode/moz.build index 293bbcc93..4a1c33de0 100644 --- a/devtools/shared/qrcode/moz.build +++ b/devtools/shared/qrcode/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/security/moz.build b/devtools/shared/security/moz.build index f4fd1ca1a..8e6ad67df 100644 --- a/devtools/shared/security/moz.build +++ b/devtools/shared/security/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/shims/moz.build b/devtools/shared/shims/moz.build index bee1c82ac..c45ab3806 100644 --- a/devtools/shared/shims/moz.build +++ b/devtools/shared/shims/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/sourcemap/moz.build b/devtools/shared/sourcemap/moz.build index 459749645..468a2acb7 100644 --- a/devtools/shared/sourcemap/moz.build +++ b/devtools/shared/sourcemap/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/specs/moz.build b/devtools/shared/specs/moz.build index 52a810637..909dba039 100644 --- a/devtools/shared/specs/moz.build +++ b/devtools/shared/specs/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/sprintfjs/moz.build b/devtools/shared/sprintfjs/moz.build index 6f4f1f873..c90c02d46 100644 --- a/devtools/shared/sprintfjs/moz.build +++ b/devtools/shared/sprintfjs/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/touch/moz.build b/devtools/shared/touch/moz.build index 96fbac8eb..d062b903e 100644 --- a/devtools/shared/touch/moz.build +++ b/devtools/shared/touch/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/transport/moz.build b/devtools/shared/transport/moz.build index fbf0444b8..ef5b7d4f1 100644 --- a/devtools/shared/transport/moz.build +++ b/devtools/shared/transport/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/webconsole/moz.build b/devtools/shared/webconsole/moz.build index 2ff6ed57f..a5ed01498 100644 --- a/devtools/shared/webconsole/moz.build +++ b/devtools/shared/webconsole/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. diff --git a/devtools/shared/worker/moz.build b/devtools/shared/worker/moz.build index 28b26c0a7..a46a9d06a 100644 --- a/devtools/shared/worker/moz.build +++ b/devtools/shared/worker/moz.build @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. -- cgit v1.2.3 From 4a42352e6418b69e600422fc516ad1e74c708fa9 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Thu, 24 Sep 2020 08:06:05 +0000 Subject: Issue #1656 - Part 8: Devtools and misc. --- .../test/browser_animation_animated_properties_displayed.js | 1 - .../animationinspector/test/browser_animation_click_selects_animation.js | 1 - .../test/browser_animation_controller_exposes_document_currentTime.js | 1 - .../animationinspector/test/browser_animation_empty_on_invalid_nodes.js | 1 - .../test/browser_animation_keyframe_click_to_set_time.js | 1 - .../client/animationinspector/test/browser_animation_keyframe_markers.js | 1 - .../test/browser_animation_mutations_with_same_names.js | 1 - .../client/animationinspector/test/browser_animation_panel_exists.js | 1 - .../test/browser_animation_participate_in_inspector_update.js | 1 - .../test/browser_animation_playerFronts_are_refreshed.js | 1 - .../test/browser_animation_playerWidgets_appear_on_panel_init.js | 1 - .../test/browser_animation_playerWidgets_target_nodes.js | 1 - .../client/animationinspector/test/browser_animation_pseudo_elements.js | 1 - .../test/browser_animation_refresh_on_added_animation.js | 1 - .../test/browser_animation_refresh_on_removed_animation.js | 1 - .../animationinspector/test/browser_animation_refresh_when_active.js | 1 - .../animationinspector/test/browser_animation_running_on_compositor.js | 1 - .../test/browser_animation_same_nb_of_playerWidgets_and_playerFronts.js | 1 - .../test/browser_animation_shows_player_on_valid_node.js | 1 - .../test/browser_animation_spacebar_toggles_animations.js | 1 - .../test/browser_animation_spacebar_toggles_node_animations.js | 1 - .../animationinspector/test/browser_animation_target_highlight_select.js | 1 - .../animationinspector/test/browser_animation_target_highlighter_lock.js | 1 - .../animationinspector/test/browser_animation_timeline_currentTime.js | 1 - .../client/animationinspector/test/browser_animation_timeline_header.js | 1 - .../animationinspector/test/browser_animation_timeline_iterationStart.js | 1 - .../test/browser_animation_timeline_pause_button_01.js | 1 - .../test/browser_animation_timeline_pause_button_02.js | 1 - .../test/browser_animation_timeline_pause_button_03.js | 1 - .../animationinspector/test/browser_animation_timeline_rate_selector.js | 1 - .../animationinspector/test/browser_animation_timeline_rewind_button.js | 1 - .../test/browser_animation_timeline_scrubber_exists.js | 1 - .../test/browser_animation_timeline_scrubber_movable.js | 1 - .../animationinspector/test/browser_animation_timeline_scrubber_moves.js | 1 - .../animationinspector/test/browser_animation_timeline_setCurrentTime.js | 1 - .../animationinspector/test/browser_animation_timeline_shows_delay.js | 1 - .../animationinspector/test/browser_animation_timeline_shows_endDelay.js | 1 - .../test/browser_animation_timeline_shows_iterations.js | 1 - .../test/browser_animation_timeline_shows_name_label.js | 1 - .../test/browser_animation_timeline_shows_time_info.js | 1 - .../test/browser_animation_timeline_takes_rate_into_account.js | 1 - devtools/client/animationinspector/test/browser_animation_timeline_ui.js | 1 - .../test/browser_animation_toggle_button_resets_on_navigate.js | 1 - .../test/browser_animation_toggle_button_toggles_animations.js | 1 - .../client/animationinspector/test/browser_animation_toolbar_exists.js | 1 - .../test/browser_animation_ui_updates_when_animation_data_changes.js | 1 - devtools/client/animationinspector/test/doc_frame_script.js | 1 - devtools/client/animationinspector/test/head.js | 1 - devtools/client/debugger/new/source-map-worker.js | 1 - devtools/client/dom/test/head.js | 1 - devtools/client/framework/test/browser_browser_toolbox.js | 1 - devtools/client/framework/test/browser_browser_toolbox_debugger.js | 1 - devtools/client/framework/test/browser_source_map-02.js | 1 - devtools/client/inspector/components/test/browser_boxmodel.js | 1 - .../client/inspector/components/test/browser_boxmodel_editablemodel.js | 1 - .../components/test/browser_boxmodel_editablemodel_allproperties.js | 1 - .../components/test/browser_boxmodel_editablemodel_bluronclick.js | 1 - .../inspector/components/test/browser_boxmodel_editablemodel_border.js | 1 - .../components/test/browser_boxmodel_editablemodel_stylerules.js | 1 - .../inspector/components/test/browser_boxmodel_rotate-labels-on-sides.js | 1 - devtools/client/inspector/components/test/browser_boxmodel_sync.js | 1 - devtools/client/inspector/components/test/browser_boxmodel_tooltips.js | 1 - .../components/test/browser_boxmodel_update-after-navigation.js | 1 - .../inspector/components/test/browser_boxmodel_update-after-reload.js | 1 - .../inspector/components/test/browser_boxmodel_update-in-iframes.js | 1 - devtools/client/inspector/components/test/head.js | 1 - .../client/inspector/computed/test/browser_computed_browser-styles.js | 1 - devtools/client/inspector/computed/test/browser_computed_cycle_color.js | 1 - devtools/client/inspector/computed/test/browser_computed_getNodeInfo.js | 1 - .../client/inspector/computed/test/browser_computed_keybindings_01.js | 1 - .../client/inspector/computed/test/browser_computed_keybindings_02.js | 1 - .../inspector/computed/test/browser_computed_matched-selectors-toggle.js | 1 - .../inspector/computed/test/browser_computed_matched-selectors_01.js | 1 - .../inspector/computed/test/browser_computed_matched-selectors_02.js | 1 - .../client/inspector/computed/test/browser_computed_media-queries.js | 1 - .../inspector/computed/test/browser_computed_no-results-placeholder.js | 1 - .../inspector/computed/test/browser_computed_original-source-link.js | 1 - .../client/inspector/computed/test/browser_computed_pseudo-element_01.js | 1 - .../computed/test/browser_computed_refresh-on-style-change_01.js | 1 - .../client/inspector/computed/test/browser_computed_search-filter.js | 1 - .../inspector/computed/test/browser_computed_search-filter_clear.js | 1 - .../computed/test/browser_computed_search-filter_context-menu.js | 1 - .../computed/test/browser_computed_search-filter_escape-keypress.js | 1 - .../computed/test/browser_computed_search-filter_noproperties.js | 1 - .../inspector/computed/test/browser_computed_select-and-copy-styles.js | 1 - .../client/inspector/computed/test/browser_computed_style-editor-link.js | 1 - devtools/client/inspector/computed/test/head.js | 1 - devtools/client/inspector/fonts/test/browser_fontinspector.js | 1 - .../inspector/fonts/test/browser_fontinspector_edit-previews-show-all.js | 1 - .../client/inspector/fonts/test/browser_fontinspector_edit-previews.js | 1 - .../client/inspector/fonts/test/browser_fontinspector_theme-change.js | 1 - devtools/client/inspector/fonts/test/head.js | 1 - devtools/client/inspector/markup/test/browser_markup_anonymous_01.js | 1 - devtools/client/inspector/markup/test/browser_markup_anonymous_02.js | 1 - devtools/client/inspector/markup/test/browser_markup_anonymous_03.js | 1 - devtools/client/inspector/markup/test/browser_markup_anonymous_04.js | 1 - devtools/client/inspector/markup/test/browser_markup_copy_image_data.js | 1 - .../markup/test/browser_markup_css_completion_style_attribute_01.js | 1 - .../markup/test/browser_markup_css_completion_style_attribute_02.js | 1 - .../markup/test/browser_markup_css_completion_style_attribute_03.js | 1 - .../inspector/markup/test/browser_markup_dragdrop_autoscroll_01.js | 1 - .../inspector/markup/test/browser_markup_dragdrop_autoscroll_02.js | 1 - .../client/inspector/markup/test/browser_markup_dragdrop_distance.js | 1 - .../client/inspector/markup/test/browser_markup_dragdrop_dragRootNode.js | 1 - .../client/inspector/markup/test/browser_markup_dragdrop_draggable.js | 1 - .../inspector/markup/test/browser_markup_dragdrop_escapeKeyPress.js | 1 - .../client/inspector/markup/test/browser_markup_dragdrop_invalidNodes.js | 1 - devtools/client/inspector/markup/test/browser_markup_dragdrop_reorder.js | 1 - devtools/client/inspector/markup/test/browser_markup_dragdrop_tooltip.js | 1 - devtools/client/inspector/markup/test/browser_markup_events-overflow.js | 1 - .../client/inspector/markup/test/browser_markup_events-windowed-host.js | 1 - devtools/client/inspector/markup/test/browser_markup_events1.js | 1 - devtools/client/inspector/markup/test/browser_markup_events2.js | 1 - devtools/client/inspector/markup/test/browser_markup_events3.js | 1 - devtools/client/inspector/markup/test/browser_markup_events_form.js | 1 - .../client/inspector/markup/test/browser_markup_events_jquery_1.0.js | 1 - .../client/inspector/markup/test/browser_markup_events_jquery_1.1.js | 1 - .../client/inspector/markup/test/browser_markup_events_jquery_1.11.1.js | 1 - .../client/inspector/markup/test/browser_markup_events_jquery_1.2.js | 1 - .../client/inspector/markup/test/browser_markup_events_jquery_1.3.js | 1 - .../client/inspector/markup/test/browser_markup_events_jquery_1.4.js | 1 - .../client/inspector/markup/test/browser_markup_events_jquery_1.6.js | 1 - .../client/inspector/markup/test/browser_markup_events_jquery_1.7.js | 1 - .../client/inspector/markup/test/browser_markup_events_jquery_2.1.1.js | 1 - devtools/client/inspector/markup/test/browser_markup_html_edit_01.js | 1 - devtools/client/inspector/markup/test/browser_markup_html_edit_02.js | 1 - devtools/client/inspector/markup/test/browser_markup_html_edit_03.js | 1 - devtools/client/inspector/markup/test/browser_markup_image_tooltip.js | 1 - .../inspector/markup/test/browser_markup_image_tooltip_mutations.js | 1 - devtools/client/inspector/markup/test/browser_markup_keybindings_01.js | 1 - devtools/client/inspector/markup/test/browser_markup_keybindings_02.js | 1 - devtools/client/inspector/markup/test/browser_markup_keybindings_03.js | 1 - devtools/client/inspector/markup/test/browser_markup_keybindings_04.js | 1 - .../markup/test/browser_markup_keybindings_delete_attributes.js | 1 - .../inspector/markup/test/browser_markup_keybindings_scrolltonode.js | 1 - devtools/client/inspector/markup/test/browser_markup_links_01.js | 1 - devtools/client/inspector/markup/test/browser_markup_links_02.js | 1 - devtools/client/inspector/markup/test/browser_markup_links_03.js | 1 - devtools/client/inspector/markup/test/browser_markup_links_04.js | 1 - devtools/client/inspector/markup/test/browser_markup_links_05.js | 1 - devtools/client/inspector/markup/test/browser_markup_links_06.js | 1 - devtools/client/inspector/markup/test/browser_markup_links_07.js | 1 - devtools/client/inspector/markup/test/browser_markup_load_01.js | 1 - devtools/client/inspector/markup/test/browser_markup_mutation_01.js | 1 - devtools/client/inspector/markup/test/browser_markup_mutation_02.js | 1 - devtools/client/inspector/markup/test/browser_markup_navigation.js | 1 - devtools/client/inspector/markup/test/browser_markup_node_names.js | 1 - .../client/inspector/markup/test/browser_markup_node_names_namespaced.js | 1 - .../client/inspector/markup/test/browser_markup_node_not_displayed_01.js | 1 - .../client/inspector/markup/test/browser_markup_node_not_displayed_02.js | 1 - devtools/client/inspector/markup/test/browser_markup_pagesize_01.js | 1 - devtools/client/inspector/markup/test/browser_markup_pagesize_02.js | 1 - .../client/inspector/markup/test/browser_markup_remove_xul_attributes.js | 1 - devtools/client/inspector/markup/test/browser_markup_search_01.js | 1 - devtools/client/inspector/markup/test/browser_markup_tag_edit_01.js | 1 - devtools/client/inspector/markup/test/browser_markup_tag_edit_02.js | 1 - devtools/client/inspector/markup/test/browser_markup_tag_edit_03.js | 1 - .../client/inspector/markup/test/browser_markup_tag_edit_04-backspace.js | 1 - .../client/inspector/markup/test/browser_markup_tag_edit_04-delete.js | 1 - devtools/client/inspector/markup/test/browser_markup_tag_edit_05.js | 1 - devtools/client/inspector/markup/test/browser_markup_tag_edit_06.js | 1 - devtools/client/inspector/markup/test/browser_markup_tag_edit_07.js | 1 - devtools/client/inspector/markup/test/browser_markup_tag_edit_08.js | 1 - devtools/client/inspector/markup/test/browser_markup_tag_edit_09.js | 1 - devtools/client/inspector/markup/test/browser_markup_tag_edit_10.js | 1 - devtools/client/inspector/markup/test/browser_markup_tag_edit_11.js | 1 - devtools/client/inspector/markup/test/browser_markup_tag_edit_12.js | 1 - .../client/inspector/markup/test/browser_markup_tag_edit_13-other.js | 1 - .../inspector/markup/test/browser_markup_tag_edit_long-classname.js | 1 - .../client/inspector/markup/test/browser_markup_textcontent_display.js | 1 - .../client/inspector/markup/test/browser_markup_textcontent_edit_01.js | 1 - .../client/inspector/markup/test/browser_markup_textcontent_edit_02.js | 1 - devtools/client/inspector/markup/test/browser_markup_toggle_01.js | 1 - devtools/client/inspector/markup/test/browser_markup_toggle_02.js | 1 - devtools/client/inspector/markup/test/browser_markup_toggle_03.js | 1 - .../client/inspector/markup/test/browser_markup_update-on-navigtion.js | 1 - .../client/inspector/markup/test/browser_markup_void_elements_html.js | 1 - .../client/inspector/markup/test/browser_markup_void_elements_xhtml.js | 1 - devtools/client/inspector/markup/test/browser_markup_whitespace.js | 1 - .../inspector/rules/test/browser_rules_add-property-and-reselect.js | 1 - .../client/inspector/rules/test/browser_rules_add-property-cancel_01.js | 1 - .../client/inspector/rules/test/browser_rules_add-property-cancel_02.js | 1 - .../client/inspector/rules/test/browser_rules_add-property-cancel_03.js | 1 - .../client/inspector/rules/test/browser_rules_add-property-commented.js | 1 - devtools/client/inspector/rules/test/browser_rules_add-property-svg.js | 1 - devtools/client/inspector/rules/test/browser_rules_add-property_01.js | 1 - devtools/client/inspector/rules/test/browser_rules_add-property_02.js | 1 - .../client/inspector/rules/test/browser_rules_add-rule-and-property.js | 1 - .../client/inspector/rules/test/browser_rules_add-rule-button-state.js | 1 - .../client/inspector/rules/test/browser_rules_add-rule-edit-selector.js | 1 - devtools/client/inspector/rules/test/browser_rules_add-rule-iframes.js | 1 - .../inspector/rules/test/browser_rules_add-rule-namespace-elements.js | 1 - .../client/inspector/rules/test/browser_rules_add-rule-pseudo-class.js | 1 - .../rules/test/browser_rules_add-rule-then-property-edit-selector.js | 1 - devtools/client/inspector/rules/test/browser_rules_add-rule-with-menu.js | 1 - devtools/client/inspector/rules/test/browser_rules_add-rule.js | 1 - devtools/client/inspector/rules/test/browser_rules_authored.js | 1 - devtools/client/inspector/rules/test/browser_rules_authored_color.js | 1 - devtools/client/inspector/rules/test/browser_rules_authored_override.js | 1 - devtools/client/inspector/rules/test/browser_rules_colorUnit.js | 1 - .../rules/test/browser_rules_colorpicker-and-image-tooltip_01.js | 1 - .../rules/test/browser_rules_colorpicker-and-image-tooltip_02.js | 1 - .../rules/test/browser_rules_colorpicker-appears-on-swatch-click.js | 1 - .../inspector/rules/test/browser_rules_colorpicker-commit-on-ENTER.js | 1 - .../inspector/rules/test/browser_rules_colorpicker-edit-gradient.js | 1 - .../inspector/rules/test/browser_rules_colorpicker-hides-on-tooltip.js | 1 - .../inspector/rules/test/browser_rules_colorpicker-multiple-changes.js | 1 - .../rules/test/browser_rules_colorpicker-release-outside-frame.js | 1 - .../inspector/rules/test/browser_rules_colorpicker-revert-on-ESC.js | 1 - .../inspector/rules/test/browser_rules_colorpicker-swatch-displayed.js | 1 - .../rules/test/browser_rules_completion-existing-property_01.js | 1 - .../rules/test/browser_rules_completion-existing-property_02.js | 1 - .../inspector/rules/test/browser_rules_completion-new-property_01.js | 1 - .../inspector/rules/test/browser_rules_completion-new-property_02.js | 1 - .../inspector/rules/test/browser_rules_completion-new-property_03.js | 1 - .../inspector/rules/test/browser_rules_completion-new-property_04.js | 1 - .../rules/test/browser_rules_completion-new-property_multiline.js | 1 - .../rules/test/browser_rules_completion-popup-hidden-after-navigation.js | 1 - devtools/client/inspector/rules/test/browser_rules_computed-lists_01.js | 1 - devtools/client/inspector/rules/test/browser_rules_computed-lists_02.js | 1 - devtools/client/inspector/rules/test/browser_rules_content_01.js | 1 - devtools/client/inspector/rules/test/browser_rules_content_02.js | 1 - .../inspector/rules/test/browser_rules_context-menu-show-mdn-docs-01.js | 1 - .../inspector/rules/test/browser_rules_context-menu-show-mdn-docs-02.js | 1 - .../inspector/rules/test/browser_rules_context-menu-show-mdn-docs-03.js | 1 - devtools/client/inspector/rules/test/browser_rules_copy_styles.js | 1 - .../rules/test/browser_rules_css-docs-tooltip_closes-on-escape.js | 1 - devtools/client/inspector/rules/test/browser_rules_cssom.js | 1 - .../rules/test/browser_rules_cubicbezier-appears-on-swatch-click.js | 1 - .../inspector/rules/test/browser_rules_cubicbezier-commit-on-ENTER.js | 1 - .../inspector/rules/test/browser_rules_cubicbezier-revert-on-ESC.js | 1 - devtools/client/inspector/rules/test/browser_rules_custom.js | 1 - devtools/client/inspector/rules/test/browser_rules_cycle-angle.js | 1 - devtools/client/inspector/rules/test/browser_rules_cycle-color.js | 1 - .../inspector/rules/test/browser_rules_edit-display-grid-property.js | 1 - .../client/inspector/rules/test/browser_rules_edit-property-cancel.js | 1 - .../client/inspector/rules/test/browser_rules_edit-property-click.js | 1 - .../client/inspector/rules/test/browser_rules_edit-property-commit.js | 1 - .../client/inspector/rules/test/browser_rules_edit-property-computed.js | 1 - .../inspector/rules/test/browser_rules_edit-property-increments.js | 1 - .../client/inspector/rules/test/browser_rules_edit-property-order.js | 1 - .../client/inspector/rules/test/browser_rules_edit-property-remove_01.js | 1 - .../client/inspector/rules/test/browser_rules_edit-property-remove_02.js | 1 - .../client/inspector/rules/test/browser_rules_edit-property-remove_03.js | 1 - devtools/client/inspector/rules/test/browser_rules_edit-property_01.js | 1 - devtools/client/inspector/rules/test/browser_rules_edit-property_02.js | 1 - devtools/client/inspector/rules/test/browser_rules_edit-property_03.js | 1 - devtools/client/inspector/rules/test/browser_rules_edit-property_04.js | 1 - devtools/client/inspector/rules/test/browser_rules_edit-property_05.js | 1 - devtools/client/inspector/rules/test/browser_rules_edit-property_06.js | 1 - devtools/client/inspector/rules/test/browser_rules_edit-property_07.js | 1 - devtools/client/inspector/rules/test/browser_rules_edit-property_08.js | 1 - devtools/client/inspector/rules/test/browser_rules_edit-property_09.js | 1 - .../rules/test/browser_rules_edit-selector-click-on-scrollbar.js | 1 - .../client/inspector/rules/test/browser_rules_edit-selector-click.js | 1 - .../client/inspector/rules/test/browser_rules_edit-selector-commit.js | 1 - devtools/client/inspector/rules/test/browser_rules_edit-selector_01.js | 1 - devtools/client/inspector/rules/test/browser_rules_edit-selector_02.js | 1 - devtools/client/inspector/rules/test/browser_rules_edit-selector_03.js | 1 - devtools/client/inspector/rules/test/browser_rules_edit-selector_04.js | 1 - devtools/client/inspector/rules/test/browser_rules_edit-selector_05.js | 1 - devtools/client/inspector/rules/test/browser_rules_edit-selector_06.js | 1 - devtools/client/inspector/rules/test/browser_rules_edit-selector_08.js | 1 - devtools/client/inspector/rules/test/browser_rules_edit-selector_09.js | 1 - devtools/client/inspector/rules/test/browser_rules_edit-selector_10.js | 1 - devtools/client/inspector/rules/test/browser_rules_edit-selector_11.js | 1 - .../inspector/rules/test/browser_rules_edit-value-after-name_01.js | 1 - .../inspector/rules/test/browser_rules_edit-value-after-name_02.js | 1 - .../inspector/rules/test/browser_rules_edit-value-after-name_03.js | 1 - .../inspector/rules/test/browser_rules_edit-value-after-name_04.js | 1 - .../client/inspector/rules/test/browser_rules_editable-field-focus_01.js | 1 - .../client/inspector/rules/test/browser_rules_editable-field-focus_02.js | 1 - devtools/client/inspector/rules/test/browser_rules_eyedropper.js | 1 - .../inspector/rules/test/browser_rules_grid-highlighter-on-navigate.js | 1 - .../inspector/rules/test/browser_rules_grid-highlighter-on-reload.js | 1 - devtools/client/inspector/rules/test/browser_rules_grid-toggle_01.js | 1 - devtools/client/inspector/rules/test/browser_rules_grid-toggle_02.js | 1 - devtools/client/inspector/rules/test/browser_rules_grid-toggle_03.js | 1 - devtools/client/inspector/rules/test/browser_rules_guessIndentation.js | 1 - .../client/inspector/rules/test/browser_rules_inherited-properties_01.js | 1 - .../client/inspector/rules/test/browser_rules_inherited-properties_02.js | 1 - .../client/inspector/rules/test/browser_rules_inherited-properties_03.js | 1 - devtools/client/inspector/rules/test/browser_rules_inline-source-map.js | 1 - devtools/client/inspector/rules/test/browser_rules_invalid-source-map.js | 1 - devtools/client/inspector/rules/test/browser_rules_invalid.js | 1 - devtools/client/inspector/rules/test/browser_rules_keybindings.js | 1 - .../client/inspector/rules/test/browser_rules_keyframeLineNumbers.js | 1 - devtools/client/inspector/rules/test/browser_rules_keyframes-rule_01.js | 1 - devtools/client/inspector/rules/test/browser_rules_keyframes-rule_02.js | 1 - devtools/client/inspector/rules/test/browser_rules_lineNumbers.js | 1 - devtools/client/inspector/rules/test/browser_rules_livepreview.js | 1 - devtools/client/inspector/rules/test/browser_rules_mark_overridden_01.js | 1 - devtools/client/inspector/rules/test/browser_rules_mark_overridden_02.js | 1 - devtools/client/inspector/rules/test/browser_rules_mark_overridden_03.js | 1 - devtools/client/inspector/rules/test/browser_rules_mark_overridden_04.js | 1 - devtools/client/inspector/rules/test/browser_rules_mark_overridden_05.js | 1 - devtools/client/inspector/rules/test/browser_rules_mark_overridden_06.js | 1 - devtools/client/inspector/rules/test/browser_rules_mark_overridden_07.js | 1 - devtools/client/inspector/rules/test/browser_rules_mathml-element.js | 1 - devtools/client/inspector/rules/test/browser_rules_media-queries.js | 1 - .../inspector/rules/test/browser_rules_multiple-properties-duplicates.js | 1 - .../inspector/rules/test/browser_rules_multiple-properties-priority.js | 1 - .../rules/test/browser_rules_multiple-properties-unfinished_01.js | 1 - .../rules/test/browser_rules_multiple-properties-unfinished_02.js | 1 - .../client/inspector/rules/test/browser_rules_multiple_properties_01.js | 1 - .../client/inspector/rules/test/browser_rules_multiple_properties_02.js | 1 - .../client/inspector/rules/test/browser_rules_original-source-link.js | 1 - devtools/client/inspector/rules/test/browser_rules_pseudo-element_01.js | 1 - devtools/client/inspector/rules/test/browser_rules_pseudo-element_02.js | 1 - .../client/inspector/rules/test/browser_rules_pseudo_lock_options.js | 1 - devtools/client/inspector/rules/test/browser_rules_refresh-no-flicker.js | 1 - .../inspector/rules/test/browser_rules_refresh-on-attribute-change_01.js | 1 - .../inspector/rules/test/browser_rules_refresh-on-attribute-change_02.js | 1 - .../client/inspector/rules/test/browser_rules_refresh-on-style-change.js | 1 - .../inspector/rules/test/browser_rules_search-filter-computed-list_01.js | 1 - .../inspector/rules/test/browser_rules_search-filter-computed-list_02.js | 1 - .../inspector/rules/test/browser_rules_search-filter-computed-list_03.js | 1 - .../inspector/rules/test/browser_rules_search-filter-computed-list_04.js | 1 - .../rules/test/browser_rules_search-filter-computed-list_expander.js | 1 - .../rules/test/browser_rules_search-filter-overridden-property.js | 1 - devtools/client/inspector/rules/test/browser_rules_search-filter_01.js | 1 - devtools/client/inspector/rules/test/browser_rules_search-filter_02.js | 1 - devtools/client/inspector/rules/test/browser_rules_search-filter_03.js | 1 - devtools/client/inspector/rules/test/browser_rules_search-filter_04.js | 1 - devtools/client/inspector/rules/test/browser_rules_search-filter_05.js | 1 - devtools/client/inspector/rules/test/browser_rules_search-filter_06.js | 1 - devtools/client/inspector/rules/test/browser_rules_search-filter_07.js | 1 - devtools/client/inspector/rules/test/browser_rules_search-filter_08.js | 1 - devtools/client/inspector/rules/test/browser_rules_search-filter_09.js | 1 - devtools/client/inspector/rules/test/browser_rules_search-filter_10.js | 1 - .../inspector/rules/test/browser_rules_search-filter_context-menu.js | 1 - .../inspector/rules/test/browser_rules_search-filter_escape-keypress.js | 1 - .../client/inspector/rules/test/browser_rules_select-and-copy-styles.js | 1 - .../rules/test/browser_rules_selector-highlighter-on-navigate.js | 1 - .../client/inspector/rules/test/browser_rules_selector-highlighter_01.js | 1 - .../client/inspector/rules/test/browser_rules_selector-highlighter_02.js | 1 - .../client/inspector/rules/test/browser_rules_selector-highlighter_03.js | 1 - .../client/inspector/rules/test/browser_rules_selector-highlighter_04.js | 1 - devtools/client/inspector/rules/test/browser_rules_selector_highlight.js | 1 - .../rules/test/browser_rules_strict-search-filter-computed-list_01.js | 1 - .../client/inspector/rules/test/browser_rules_strict-search-filter_01.js | 1 - .../client/inspector/rules/test/browser_rules_strict-search-filter_02.js | 1 - .../client/inspector/rules/test/browser_rules_strict-search-filter_03.js | 1 - devtools/client/inspector/rules/test/browser_rules_style-editor-link.js | 1 - devtools/client/inspector/rules/test/browser_rules_urls-clickable.js | 1 - .../inspector/rules/test/browser_rules_user-agent-styles-uneditable.js | 1 - devtools/client/inspector/rules/test/browser_rules_user-agent-styles.js | 1 - .../client/inspector/rules/test/browser_rules_user-property-reset.js | 1 - devtools/client/inspector/rules/test/doc_frame_script.js | 1 - devtools/client/inspector/rules/test/head.js | 1 - .../shared/test/browser_styleinspector_context-menu-copy-color_01.js | 1 - .../shared/test/browser_styleinspector_context-menu-copy-color_02.js | 1 - .../shared/test/browser_styleinspector_csslogic-content-stylesheets.js | 1 - .../client/inspector/shared/test/browser_styleinspector_output-parser.js | 1 - .../inspector/shared/test/browser_styleinspector_refresh_when_active.js | 1 - .../shared/test/browser_styleinspector_tooltip-background-image.js | 1 - .../test/browser_styleinspector_tooltip-closes-on-new-selection.js | 1 - .../shared/test/browser_styleinspector_tooltip-longhand-fontfamily.js | 1 - .../test/browser_styleinspector_tooltip-multiple-background-images.js | 1 - .../shared/test/browser_styleinspector_tooltip-shorthand-fontfamily.js | 1 - .../client/inspector/shared/test/browser_styleinspector_tooltip-size.js | 1 - .../shared/test/browser_styleinspector_transform-highlighter-01.js | 1 - .../shared/test/browser_styleinspector_transform-highlighter-02.js | 1 - .../shared/test/browser_styleinspector_transform-highlighter-03.js | 1 - .../shared/test/browser_styleinspector_transform-highlighter-04.js | 1 - devtools/client/inspector/shared/test/doc_frame_script.js | 1 - devtools/client/inspector/shared/test/head.js | 1 - devtools/client/inspector/test/browser_inspector_addNode_01.js | 1 - devtools/client/inspector/test/browser_inspector_addNode_02.js | 1 - devtools/client/inspector/test/browser_inspector_addNode_03.js | 1 - devtools/client/inspector/test/browser_inspector_addSidebarTab.js | 1 - devtools/client/inspector/test/browser_inspector_breadcrumbs.js | 1 - .../client/inspector/test/browser_inspector_breadcrumbs_keybinding.js | 1 - .../client/inspector/test/browser_inspector_breadcrumbs_keyboard_trap.js | 1 - .../client/inspector/test/browser_inspector_breadcrumbs_mutations.js | 1 - .../client/inspector/test/browser_inspector_breadcrumbs_namespaced.js | 1 - .../client/inspector/test/browser_inspector_breadcrumbs_visibility.js | 1 - .../client/inspector/test/browser_inspector_delete-selected-node-01.js | 1 - .../client/inspector/test/browser_inspector_delete-selected-node-03.js | 1 - .../client/inspector/test/browser_inspector_destroy-after-navigation.js | 1 - devtools/client/inspector/test/browser_inspector_destroy-before-ready.js | 1 - devtools/client/inspector/test/browser_inspector_expand-collapse.js | 1 - devtools/client/inspector/test/browser_inspector_gcli-inspect-command.js | 1 - devtools/client/inspector/test/browser_inspector_highlighter-03.js | 1 - devtools/client/inspector/test/browser_inspector_highlighter-hover_01.js | 1 - devtools/client/inspector/test/browser_inspector_highlighter-hover_02.js | 1 - devtools/client/inspector/test/browser_inspector_highlighter-hover_03.js | 1 - .../client/inspector/test/browser_inspector_highlighter-keybinding_04.js | 1 - devtools/client/inspector/test/browser_inspector_iframe-navigation.js | 1 - .../client/inspector/test/browser_inspector_inspect-object-element.js | 1 - devtools/client/inspector/test/browser_inspector_invalidate.js | 1 - .../test/browser_inspector_keyboard-shortcuts-copy-outerhtml.js | 1 - devtools/client/inspector/test/browser_inspector_keyboard-shortcuts.js | 1 - devtools/client/inspector/test/browser_inspector_menu-01-sensitivity.js | 1 - devtools/client/inspector/test/browser_inspector_menu-02-copy-items.js | 1 - .../client/inspector/test/browser_inspector_menu-03-paste-items-svg.js | 1 - devtools/client/inspector/test/browser_inspector_menu-03-paste-items.js | 1 - .../client/inspector/test/browser_inspector_menu-04-use-in-console.js | 1 - .../client/inspector/test/browser_inspector_menu-05-attribute-items.js | 1 - devtools/client/inspector/test/browser_inspector_menu-06-other.js | 1 - devtools/client/inspector/test/browser_inspector_pane-toggle-01.js | 1 - devtools/client/inspector/test/browser_inspector_pane-toggle-02.js | 1 - devtools/client/inspector/test/browser_inspector_pane-toggle-03.js | 1 - devtools/client/inspector/test/browser_inspector_pane-toggle-05.js | 1 - .../client/inspector/test/browser_inspector_picker-stop-on-destroy.js | 1 - .../inspector/test/browser_inspector_picker-stop-on-tool-change.js | 1 - devtools/client/inspector/test/browser_inspector_pseudoclass-lock.js | 1 - devtools/client/inspector/test/browser_inspector_pseudoclass-menu.js | 1 - .../client/inspector/test/browser_inspector_remove-iframe-during-load.js | 1 - devtools/client/inspector/test/browser_inspector_search-01.js | 1 - devtools/client/inspector/test/browser_inspector_search-02.js | 1 - devtools/client/inspector/test/browser_inspector_search-03.js | 1 - devtools/client/inspector/test/browser_inspector_search-04.js | 1 - devtools/client/inspector/test/browser_inspector_search-05.js | 1 - devtools/client/inspector/test/browser_inspector_search-07.js | 1 - devtools/client/inspector/test/browser_inspector_search-08.js | 1 - devtools/client/inspector/test/browser_inspector_search-clear.js | 1 - .../inspector/test/browser_inspector_search-filter_context-menu.js | 1 - devtools/client/inspector/test/browser_inspector_search-navigation.js | 1 - devtools/client/inspector/test/browser_inspector_search-reserved.js | 1 - devtools/client/inspector/test/browser_inspector_search-selection.js | 1 - devtools/client/inspector/test/browser_inspector_search-sidebar.js | 1 - devtools/client/inspector/test/browser_inspector_search_keyboard_trap.js | 1 - devtools/client/inspector/test/browser_inspector_sidebarstate.js | 1 - .../inspector/test/browser_inspector_switch-to-inspector-on-pick.js | 1 - devtools/client/inspector/test/browser_inspector_textbox-menu.js | 1 - devtools/client/inspector/test/head.js | 1 - devtools/client/jsonview/test/doc_frame_script.js | 1 - devtools/client/jsonview/test/head.js | 1 - devtools/client/netmonitor/test/browser_net_cached-status.js | 1 - devtools/client/netmonitor/test/browser_net_cors_requests.js | 1 - .../client/netmonitor/test/browser_net_details-no-duplicated-content.js | 1 - devtools/client/netmonitor/test/browser_net_security-details.js | 1 - devtools/client/netmonitor/test/browser_net_security-error.js | 1 - devtools/client/netmonitor/test/browser_net_security-icon-click.js | 1 - devtools/client/netmonitor/test/browser_net_security-redirect.js | 1 - devtools/client/netmonitor/test/browser_net_security-state.js | 1 - devtools/client/netmonitor/test/browser_net_security-tab-deselect.js | 1 - devtools/client/netmonitor/test/browser_net_security-tab-visibility.js | 1 - devtools/client/netmonitor/test/browser_net_security-warnings.js | 1 - devtools/client/netmonitor/test/browser_net_service-worker-status.js | 1 - devtools/client/netmonitor/test/browser_net_status-codes.js | 1 - .../netmonitor/test/service-workers/status-codes-service-worker.js | 1 - devtools/client/performance/test/browser_perf-recording-selected-03.js | 1 - devtools/client/projecteditor/test/browser_projecteditor_app_options.js | 1 - .../client/projecteditor/test/browser_projecteditor_confirm_unsaved.js | 1 - .../client/projecteditor/test/browser_projecteditor_contextmenu_01.js | 1 - .../client/projecteditor/test/browser_projecteditor_contextmenu_02.js | 1 - devtools/client/projecteditor/test/browser_projecteditor_delete_file.js | 1 - devtools/client/projecteditor/test/browser_projecteditor_editing_01.js | 1 - .../client/projecteditor/test/browser_projecteditor_editors_image.js | 1 - .../client/projecteditor/test/browser_projecteditor_external_change.js | 1 - .../client/projecteditor/test/browser_projecteditor_immediate_destroy.js | 1 - devtools/client/projecteditor/test/browser_projecteditor_init.js | 1 - devtools/client/projecteditor/test/browser_projecteditor_menubar_01.js | 1 - devtools/client/projecteditor/test/browser_projecteditor_menubar_02.js | 1 - devtools/client/projecteditor/test/browser_projecteditor_new_file.js | 1 - .../client/projecteditor/test/browser_projecteditor_rename_file_01.js | 1 - .../client/projecteditor/test/browser_projecteditor_rename_file_02.js | 1 - devtools/client/projecteditor/test/browser_projecteditor_saveall.js | 1 - devtools/client/projecteditor/test/browser_projecteditor_stores.js | 1 - .../client/projecteditor/test/browser_projecteditor_tree_selection_01.js | 1 - .../client/projecteditor/test/browser_projecteditor_tree_selection_02.js | 1 - devtools/client/projecteditor/test/helper_edits.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_autocomplete.js | 1 - .../scratchpad/test/browser_scratchpad_browser_last_window_closing.js | 1 - .../client/scratchpad/test/browser_scratchpad_chrome_context_pref.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_confirm_close.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_contexts.js | 1 - .../scratchpad/test/browser_scratchpad_display_non_error_exceptions.js | 1 - .../client/scratchpad/test/browser_scratchpad_display_outputs_errors.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_edit_ui_updates.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_eval_func.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_execute_print.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_falsy.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_files.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_goto_line_ui.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_help_key.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_initialization.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_inspect.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_long_string.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_modeline.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_open.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_open_error_console.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_pprint-02.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_pprint.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_recent_files.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_reload_and_run.js | 1 - .../client/scratchpad/test/browser_scratchpad_remember_view_options.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_reset_undo.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_restore.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_revert_to_saved.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_tab.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_tab_switch.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_throw_output.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_ui.js | 1 - devtools/client/scratchpad/test/browser_scratchpad_unsaved.js | 1 - devtools/client/scratchpad/test/head.js | 1 - devtools/client/shared/autocomplete-popup.js | 1 - devtools/client/shared/test/browser_cubic-bezier-01.js | 1 - devtools/client/shared/test/browser_cubic-bezier-02.js | 1 - devtools/client/shared/test/browser_cubic-bezier-03.js | 1 - devtools/client/shared/test/browser_cubic-bezier-04.js | 1 - devtools/client/shared/test/browser_cubic-bezier-05.js | 1 - devtools/client/shared/test/browser_cubic-bezier-06.js | 1 - devtools/client/shared/test/browser_inplace-editor-01.js | 1 - devtools/client/shared/test/browser_inplace-editor-02.js | 1 - devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js | 1 - devtools/client/shared/test/browser_inplace-editor_autocomplete_02.js | 1 - .../client/shared/test/browser_inplace-editor_autocomplete_offset.js | 1 - devtools/client/shared/test/browser_inplace-editor_maxwidth.js | 1 - devtools/client/shared/test/browser_mdn-docs-01.js | 1 - devtools/client/shared/test/browser_mdn-docs-02.js | 1 - devtools/client/shared/test/browser_mdn-docs-03.js | 1 - devtools/client/shared/test/browser_spectrum.js | 1 - devtools/client/shared/test/browser_tableWidget_basic.js | 1 - devtools/client/shared/test/browser_tableWidget_keyboard_interaction.js | 1 - devtools/client/shared/test/browser_tableWidget_mouse_interaction.js | 1 - devtools/client/shared/test/browser_theme.js | 1 - devtools/client/shared/test/browser_theme_switching.js | 1 - devtools/client/shared/test/browser_treeWidget_basic.js | 1 - devtools/client/shared/test/browser_treeWidget_keyboard_interaction.js | 1 - devtools/client/shared/test/browser_treeWidget_mouse_interaction.js | 1 - devtools/client/shared/test/test-actor.js | 1 - devtools/client/sourceeditor/test/browser_codemirror.js | 1 - devtools/client/sourceeditor/test/browser_css_autocompletion.js | 1 - devtools/client/sourceeditor/test/browser_css_getInfo.js | 1 - devtools/client/sourceeditor/test/browser_css_statemachine.js | 1 - devtools/client/sourceeditor/test/browser_editor_autocomplete_basic.js | 1 - devtools/client/sourceeditor/test/browser_editor_autocomplete_events.js | 1 - devtools/client/sourceeditor/test/browser_editor_autocomplete_js.js | 1 - devtools/client/sourceeditor/test/browser_editor_basic.js | 1 - devtools/client/sourceeditor/test/browser_editor_cursor.js | 1 - devtools/client/sourceeditor/test/browser_editor_history.js | 1 - devtools/client/sourceeditor/test/browser_editor_markers.js | 1 - devtools/client/sourceeditor/test/browser_editor_movelines.js | 1 - devtools/client/sourceeditor/test/browser_editor_prefs.js | 1 - devtools/client/sourceeditor/test/head.js | 1 - devtools/client/sourceeditor/test/helper_codemirror_runner.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_add_stylesheet.js | 1 - .../client/styleeditor/test/browser_styleeditor_autocomplete-disabled.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_autocomplete.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_bom.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_enabled.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_fetch-from-cache.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_filesave.js | 1 - .../client/styleeditor/test/browser_styleeditor_highlight-selector.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_import.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_import_rule.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_init.js | 1 - .../client/styleeditor/test/browser_styleeditor_inline_friendly_names.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_loading.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_media_sidebar.js | 1 - .../client/styleeditor/test/browser_styleeditor_media_sidebar_links.js | 1 - .../styleeditor/test/browser_styleeditor_media_sidebar_sourcemaps.js | 1 - .../client/styleeditor/test/browser_styleeditor_missing_stylesheet.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_navigate.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_new.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_nostyle.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_opentab.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_pretty.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_reload.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_scroll.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_selectstylesheet.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_sourcemap_large.js | 1 - .../client/styleeditor/test/browser_styleeditor_sourcemap_watching.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_sourcemaps.js | 1 - .../client/styleeditor/test/browser_styleeditor_sourcemaps_inline.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_sv_keynav.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_sv_resize.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_sync.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_syncAddProperty.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_syncAddRule.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_syncAlreadyOpen.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_syncEditSelector.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_syncIntoRuleView.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_transition_rule.js | 1 - devtools/client/styleeditor/test/browser_styleeditor_xul.js | 1 - devtools/client/webconsole/net/test/mochitest/head.js | 1 - devtools/server/tests/browser/browser_animation_emitMutations.js | 1 - devtools/server/tests/browser/browser_animation_getFrames.js | 1 - devtools/server/tests/browser/browser_animation_getMultipleStates.js | 1 - devtools/server/tests/browser/browser_animation_getPlayers.js | 1 - devtools/server/tests/browser/browser_animation_getProperties.js | 1 - devtools/server/tests/browser/browser_animation_getStateAfterFinished.js | 1 - devtools/server/tests/browser/browser_animation_getSubTreeAnimations.js | 1 - devtools/server/tests/browser/browser_animation_keepFinished.js | 1 - devtools/server/tests/browser/browser_animation_playPauseIframe.js | 1 - devtools/server/tests/browser/browser_animation_playPauseSeveral.js | 1 - devtools/server/tests/browser/browser_animation_playerState.js | 1 - devtools/server/tests/browser/browser_animation_reconstructState.js | 1 - devtools/server/tests/browser/browser_animation_refreshTransitions.js | 1 - devtools/server/tests/browser/browser_animation_setCurrentTime.js | 1 - devtools/server/tests/browser/browser_animation_setPlaybackRate.js | 1 - devtools/server/tests/browser/browser_animation_simple.js | 1 - devtools/server/tests/browser/browser_animation_updatedState.js | 1 - devtools/server/tests/browser/browser_canvasframe_helper_01.js | 1 - devtools/server/tests/browser/browser_canvasframe_helper_02.js | 1 - devtools/server/tests/browser/browser_canvasframe_helper_03.js | 1 - devtools/server/tests/browser/browser_canvasframe_helper_04.js | 1 - devtools/server/tests/browser/browser_canvasframe_helper_05.js | 1 - devtools/server/tests/browser/browser_canvasframe_helper_06.js | 1 - devtools/server/tests/browser/browser_directorscript_actors.js | 1 - .../server/tests/browser/browser_directorscript_actors_error_events.js | 1 - devtools/server/tests/browser/browser_directorscript_actors_exports.js | 1 - devtools/server/tests/browser/browser_navigateEvents.js | 1 - devtools/server/tests/browser/browser_storage_cookies-duplicate-names.js | 1 - devtools/server/tests/browser/browser_storage_dynamic_windows.js | 1 - devtools/server/tests/browser/browser_storage_listings.js | 1 - devtools/server/tests/browser/browser_storage_updates.js | 1 - devtools/server/tests/browser/browser_stylesheets_getTextEmpty.js | 1 - devtools/server/tests/browser/browser_stylesheets_nested-iframes.js | 1 - devtools/server/tests/browser/browser_timeline.js | 1 - devtools/server/tests/browser/browser_timeline_actors.js | 1 - devtools/server/tests/browser/browser_timeline_iframes.js | 1 - devtools/server/tests/unit/test_nodelistactor.js | 1 - devtools/shared/jsbeautify/tests/unit/head_jsbeautify.js | 1 - devtools/shared/tests/browser/browser_async_storage.js | 1 - devtools/shared/tests/unit/test_fetch-bom.js | 1 - devtools/shared/tests/unit/test_fetch-chrome.js | 1 - devtools/shared/tests/unit/test_fetch-file.js | 1 - devtools/shared/tests/unit/test_fetch-http.js | 1 - devtools/shared/tests/unit/test_fetch-resource.js | 1 - devtools/shared/webconsole/test/unit/test_security-info-certificate.js | 1 - devtools/shared/webconsole/test/unit/test_security-info-parser.js | 1 - .../shared/webconsole/test/unit/test_security-info-protocol-version.js | 1 - devtools/shared/webconsole/test/unit/test_security-info-state.js | 1 - devtools/shared/webconsole/test/unit/test_security-info-static-hpkp.js | 1 - .../shared/webconsole/test/unit/test_security-info-weakness-reasons.js | 1 - devtools/templates.mozbuild | 1 - 630 files changed, 630 deletions(-) (limited to 'devtools') diff --git a/devtools/client/animationinspector/test/browser_animation_animated_properties_displayed.js b/devtools/client/animationinspector/test/browser_animation_animated_properties_displayed.js index 214a33bd4..9184a41df 100644 --- a/devtools/client/animationinspector/test/browser_animation_animated_properties_displayed.js +++ b/devtools/client/animationinspector/test/browser_animation_animated_properties_displayed.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_click_selects_animation.js b/devtools/client/animationinspector/test/browser_animation_click_selects_animation.js index d6d393d5a..8debde9b1 100644 --- a/devtools/client/animationinspector/test/browser_animation_click_selects_animation.js +++ b/devtools/client/animationinspector/test/browser_animation_click_selects_animation.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_controller_exposes_document_currentTime.js b/devtools/client/animationinspector/test/browser_animation_controller_exposes_document_currentTime.js index ae970a426..0db293689 100644 --- a/devtools/client/animationinspector/test/browser_animation_controller_exposes_document_currentTime.js +++ b/devtools/client/animationinspector/test/browser_animation_controller_exposes_document_currentTime.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_empty_on_invalid_nodes.js b/devtools/client/animationinspector/test/browser_animation_empty_on_invalid_nodes.js index 9fda89a9a..2c85d4817 100644 --- a/devtools/client/animationinspector/test/browser_animation_empty_on_invalid_nodes.js +++ b/devtools/client/animationinspector/test/browser_animation_empty_on_invalid_nodes.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/animationinspector/test/browser_animation_keyframe_click_to_set_time.js b/devtools/client/animationinspector/test/browser_animation_keyframe_click_to_set_time.js index ba700b7a5..a869b43fe 100644 --- a/devtools/client/animationinspector/test/browser_animation_keyframe_click_to_set_time.js +++ b/devtools/client/animationinspector/test/browser_animation_keyframe_click_to_set_time.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_keyframe_markers.js b/devtools/client/animationinspector/test/browser_animation_keyframe_markers.js index 789c0efb6..2400acbb6 100644 --- a/devtools/client/animationinspector/test/browser_animation_keyframe_markers.js +++ b/devtools/client/animationinspector/test/browser_animation_keyframe_markers.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_mutations_with_same_names.js b/devtools/client/animationinspector/test/browser_animation_mutations_with_same_names.js index 1ae19c277..dd76bea08 100644 --- a/devtools/client/animationinspector/test/browser_animation_mutations_with_same_names.js +++ b/devtools/client/animationinspector/test/browser_animation_mutations_with_same_names.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_panel_exists.js b/devtools/client/animationinspector/test/browser_animation_panel_exists.js index 1f12605a5..d420a7f97 100644 --- a/devtools/client/animationinspector/test/browser_animation_panel_exists.js +++ b/devtools/client/animationinspector/test/browser_animation_panel_exists.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_participate_in_inspector_update.js b/devtools/client/animationinspector/test/browser_animation_participate_in_inspector_update.js index fec529568..46a5593ed 100644 --- a/devtools/client/animationinspector/test/browser_animation_participate_in_inspector_update.js +++ b/devtools/client/animationinspector/test/browser_animation_participate_in_inspector_update.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_playerFronts_are_refreshed.js b/devtools/client/animationinspector/test/browser_animation_playerFronts_are_refreshed.js index 7144adf6c..286e40f4d 100644 --- a/devtools/client/animationinspector/test/browser_animation_playerFronts_are_refreshed.js +++ b/devtools/client/animationinspector/test/browser_animation_playerFronts_are_refreshed.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_playerWidgets_appear_on_panel_init.js b/devtools/client/animationinspector/test/browser_animation_playerWidgets_appear_on_panel_init.js index 271b26df3..fd852fd27 100644 --- a/devtools/client/animationinspector/test/browser_animation_playerWidgets_appear_on_panel_init.js +++ b/devtools/client/animationinspector/test/browser_animation_playerWidgets_appear_on_panel_init.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_playerWidgets_target_nodes.js b/devtools/client/animationinspector/test/browser_animation_playerWidgets_target_nodes.js index 1fbaa7ae3..de8f6c9cd 100644 --- a/devtools/client/animationinspector/test/browser_animation_playerWidgets_target_nodes.js +++ b/devtools/client/animationinspector/test/browser_animation_playerWidgets_target_nodes.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_pseudo_elements.js b/devtools/client/animationinspector/test/browser_animation_pseudo_elements.js index 38b2f10af..fa53c5e1a 100644 --- a/devtools/client/animationinspector/test/browser_animation_pseudo_elements.js +++ b/devtools/client/animationinspector/test/browser_animation_pseudo_elements.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_refresh_on_added_animation.js b/devtools/client/animationinspector/test/browser_animation_refresh_on_added_animation.js index 0bc652476..0ac647d37 100644 --- a/devtools/client/animationinspector/test/browser_animation_refresh_on_added_animation.js +++ b/devtools/client/animationinspector/test/browser_animation_refresh_on_added_animation.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_refresh_on_removed_animation.js b/devtools/client/animationinspector/test/browser_animation_refresh_on_removed_animation.js index 011d4a086..fba818668 100644 --- a/devtools/client/animationinspector/test/browser_animation_refresh_on_removed_animation.js +++ b/devtools/client/animationinspector/test/browser_animation_refresh_on_removed_animation.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_refresh_when_active.js b/devtools/client/animationinspector/test/browser_animation_refresh_when_active.js index 6fb244b1e..f00cb0710 100644 --- a/devtools/client/animationinspector/test/browser_animation_refresh_when_active.js +++ b/devtools/client/animationinspector/test/browser_animation_refresh_when_active.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_running_on_compositor.js b/devtools/client/animationinspector/test/browser_animation_running_on_compositor.js index b23479b6c..884706497 100644 --- a/devtools/client/animationinspector/test/browser_animation_running_on_compositor.js +++ b/devtools/client/animationinspector/test/browser_animation_running_on_compositor.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_same_nb_of_playerWidgets_and_playerFronts.js b/devtools/client/animationinspector/test/browser_animation_same_nb_of_playerWidgets_and_playerFronts.js index a3aa8974c..ceb9a2ecc 100644 --- a/devtools/client/animationinspector/test/browser_animation_same_nb_of_playerWidgets_and_playerFronts.js +++ b/devtools/client/animationinspector/test/browser_animation_same_nb_of_playerWidgets_and_playerFronts.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_shows_player_on_valid_node.js b/devtools/client/animationinspector/test/browser_animation_shows_player_on_valid_node.js index 57e6a68fb..f38b5fccf 100644 --- a/devtools/client/animationinspector/test/browser_animation_shows_player_on_valid_node.js +++ b/devtools/client/animationinspector/test/browser_animation_shows_player_on_valid_node.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_spacebar_toggles_animations.js b/devtools/client/animationinspector/test/browser_animation_spacebar_toggles_animations.js index 799ecc28d..39a8683d9 100644 --- a/devtools/client/animationinspector/test/browser_animation_spacebar_toggles_animations.js +++ b/devtools/client/animationinspector/test/browser_animation_spacebar_toggles_animations.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_spacebar_toggles_node_animations.js b/devtools/client/animationinspector/test/browser_animation_spacebar_toggles_node_animations.js index 634d4bc49..b15c01ac8 100644 --- a/devtools/client/animationinspector/test/browser_animation_spacebar_toggles_node_animations.js +++ b/devtools/client/animationinspector/test/browser_animation_spacebar_toggles_node_animations.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_target_highlight_select.js b/devtools/client/animationinspector/test/browser_animation_target_highlight_select.js index de14e6aca..b9aadbc87 100644 --- a/devtools/client/animationinspector/test/browser_animation_target_highlight_select.js +++ b/devtools/client/animationinspector/test/browser_animation_target_highlight_select.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_target_highlighter_lock.js b/devtools/client/animationinspector/test/browser_animation_target_highlighter_lock.js index b5e952679..eb469ba3f 100644 --- a/devtools/client/animationinspector/test/browser_animation_target_highlighter_lock.js +++ b/devtools/client/animationinspector/test/browser_animation_target_highlighter_lock.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_timeline_currentTime.js b/devtools/client/animationinspector/test/browser_animation_timeline_currentTime.js index d5caaff28..58e85d923 100644 --- a/devtools/client/animationinspector/test/browser_animation_timeline_currentTime.js +++ b/devtools/client/animationinspector/test/browser_animation_timeline_currentTime.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_timeline_header.js b/devtools/client/animationinspector/test/browser_animation_timeline_header.js index 3a0a0412a..75c46a76b 100644 --- a/devtools/client/animationinspector/test/browser_animation_timeline_header.js +++ b/devtools/client/animationinspector/test/browser_animation_timeline_header.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_timeline_iterationStart.js b/devtools/client/animationinspector/test/browser_animation_timeline_iterationStart.js index c05f15d27..b004c8280 100644 --- a/devtools/client/animationinspector/test/browser_animation_timeline_iterationStart.js +++ b/devtools/client/animationinspector/test/browser_animation_timeline_iterationStart.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_timeline_pause_button_01.js b/devtools/client/animationinspector/test/browser_animation_timeline_pause_button_01.js index a3a2b4c61..1b21f08bf 100644 --- a/devtools/client/animationinspector/test/browser_animation_timeline_pause_button_01.js +++ b/devtools/client/animationinspector/test/browser_animation_timeline_pause_button_01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_timeline_pause_button_02.js b/devtools/client/animationinspector/test/browser_animation_timeline_pause_button_02.js index 1c440dd88..f58e2d05e 100644 --- a/devtools/client/animationinspector/test/browser_animation_timeline_pause_button_02.js +++ b/devtools/client/animationinspector/test/browser_animation_timeline_pause_button_02.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_timeline_pause_button_03.js b/devtools/client/animationinspector/test/browser_animation_timeline_pause_button_03.js index 5c6e324ed..088fb1dca 100644 --- a/devtools/client/animationinspector/test/browser_animation_timeline_pause_button_03.js +++ b/devtools/client/animationinspector/test/browser_animation_timeline_pause_button_03.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_timeline_rate_selector.js b/devtools/client/animationinspector/test/browser_animation_timeline_rate_selector.js index 37ac20de0..9b0f7c381 100644 --- a/devtools/client/animationinspector/test/browser_animation_timeline_rate_selector.js +++ b/devtools/client/animationinspector/test/browser_animation_timeline_rate_selector.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_timeline_rewind_button.js b/devtools/client/animationinspector/test/browser_animation_timeline_rewind_button.js index c4dcbd161..2c281f6f1 100644 --- a/devtools/client/animationinspector/test/browser_animation_timeline_rewind_button.js +++ b/devtools/client/animationinspector/test/browser_animation_timeline_rewind_button.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_timeline_scrubber_exists.js b/devtools/client/animationinspector/test/browser_animation_timeline_scrubber_exists.js index 9fa22e007..55cc62f0d 100644 --- a/devtools/client/animationinspector/test/browser_animation_timeline_scrubber_exists.js +++ b/devtools/client/animationinspector/test/browser_animation_timeline_scrubber_exists.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_timeline_scrubber_movable.js b/devtools/client/animationinspector/test/browser_animation_timeline_scrubber_movable.js index a690dd78e..2efbf6893 100644 --- a/devtools/client/animationinspector/test/browser_animation_timeline_scrubber_movable.js +++ b/devtools/client/animationinspector/test/browser_animation_timeline_scrubber_movable.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_timeline_scrubber_moves.js b/devtools/client/animationinspector/test/browser_animation_timeline_scrubber_moves.js index 494c581a4..2c2abc742 100644 --- a/devtools/client/animationinspector/test/browser_animation_timeline_scrubber_moves.js +++ b/devtools/client/animationinspector/test/browser_animation_timeline_scrubber_moves.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_timeline_setCurrentTime.js b/devtools/client/animationinspector/test/browser_animation_timeline_setCurrentTime.js index efc32c001..dc20c47b8 100644 --- a/devtools/client/animationinspector/test/browser_animation_timeline_setCurrentTime.js +++ b/devtools/client/animationinspector/test/browser_animation_timeline_setCurrentTime.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_timeline_shows_delay.js b/devtools/client/animationinspector/test/browser_animation_timeline_shows_delay.js index 8c9b0653d..e64bf8d15 100644 --- a/devtools/client/animationinspector/test/browser_animation_timeline_shows_delay.js +++ b/devtools/client/animationinspector/test/browser_animation_timeline_shows_delay.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_timeline_shows_endDelay.js b/devtools/client/animationinspector/test/browser_animation_timeline_shows_endDelay.js index 0aa5c16c0..b07964bea 100644 --- a/devtools/client/animationinspector/test/browser_animation_timeline_shows_endDelay.js +++ b/devtools/client/animationinspector/test/browser_animation_timeline_shows_endDelay.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_timeline_shows_iterations.js b/devtools/client/animationinspector/test/browser_animation_timeline_shows_iterations.js index 08e5a2620..711f730e1 100644 --- a/devtools/client/animationinspector/test/browser_animation_timeline_shows_iterations.js +++ b/devtools/client/animationinspector/test/browser_animation_timeline_shows_iterations.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_timeline_shows_name_label.js b/devtools/client/animationinspector/test/browser_animation_timeline_shows_name_label.js index e5778c943..0bf832c1d 100644 --- a/devtools/client/animationinspector/test/browser_animation_timeline_shows_name_label.js +++ b/devtools/client/animationinspector/test/browser_animation_timeline_shows_name_label.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_timeline_shows_time_info.js b/devtools/client/animationinspector/test/browser_animation_timeline_shows_time_info.js index f330e880e..63e623408 100644 --- a/devtools/client/animationinspector/test/browser_animation_timeline_shows_time_info.js +++ b/devtools/client/animationinspector/test/browser_animation_timeline_shows_time_info.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_timeline_takes_rate_into_account.js b/devtools/client/animationinspector/test/browser_animation_timeline_takes_rate_into_account.js index 42309203a..f32924863 100644 --- a/devtools/client/animationinspector/test/browser_animation_timeline_takes_rate_into_account.js +++ b/devtools/client/animationinspector/test/browser_animation_timeline_takes_rate_into_account.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_timeline_ui.js b/devtools/client/animationinspector/test/browser_animation_timeline_ui.js index 43c148482..c60506aea 100644 --- a/devtools/client/animationinspector/test/browser_animation_timeline_ui.js +++ b/devtools/client/animationinspector/test/browser_animation_timeline_ui.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_toggle_button_resets_on_navigate.js b/devtools/client/animationinspector/test/browser_animation_toggle_button_resets_on_navigate.js index d9a92b905..8440887f0 100644 --- a/devtools/client/animationinspector/test/browser_animation_toggle_button_resets_on_navigate.js +++ b/devtools/client/animationinspector/test/browser_animation_toggle_button_resets_on_navigate.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_toggle_button_toggles_animations.js b/devtools/client/animationinspector/test/browser_animation_toggle_button_toggles_animations.js index 4d55e0433..6f29bb387 100644 --- a/devtools/client/animationinspector/test/browser_animation_toggle_button_toggles_animations.js +++ b/devtools/client/animationinspector/test/browser_animation_toggle_button_toggles_animations.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_toolbar_exists.js b/devtools/client/animationinspector/test/browser_animation_toolbar_exists.js index aa8b69e02..2e63f8490 100644 --- a/devtools/client/animationinspector/test/browser_animation_toolbar_exists.js +++ b/devtools/client/animationinspector/test/browser_animation_toolbar_exists.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/browser_animation_ui_updates_when_animation_data_changes.js b/devtools/client/animationinspector/test/browser_animation_ui_updates_when_animation_data_changes.js index aa71fd9af..fd41d9246 100644 --- a/devtools/client/animationinspector/test/browser_animation_ui_updates_when_animation_data_changes.js +++ b/devtools/client/animationinspector/test/browser_animation_ui_updates_when_animation_data_changes.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/animationinspector/test/doc_frame_script.js b/devtools/client/animationinspector/test/doc_frame_script.js index 6846c9b29..f8e032820 100644 --- a/devtools/client/animationinspector/test/doc_frame_script.js +++ b/devtools/client/animationinspector/test/doc_frame_script.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* globals addMessageListener, sendAsyncMessage */ diff --git a/devtools/client/animationinspector/test/head.js b/devtools/client/animationinspector/test/head.js index 554a36430..824e1fdc1 100644 --- a/devtools/client/animationinspector/test/head.js +++ b/devtools/client/animationinspector/test/head.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* eslint no-unused-vars: [2, {"vars": "local", "args": "none"}] */ diff --git a/devtools/client/debugger/new/source-map-worker.js b/devtools/client/debugger/new/source-map-worker.js index 6b1a55521..cacc586a8 100644 --- a/devtools/client/debugger/new/source-map-worker.js +++ b/devtools/client/debugger/new/source-map-worker.js @@ -391,7 +391,6 @@ var Debugger = function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } /* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ - /* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/dom/test/head.js b/devtools/client/dom/test/head.js index f9382786b..e7d25c831 100644 --- a/devtools/client/dom/test/head.js +++ b/devtools/client/dom/test/head.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ /* eslint no-unused-vars: [2, {"vars": "local", "args": "none"}] */ diff --git a/devtools/client/framework/test/browser_browser_toolbox.js b/devtools/client/framework/test/browser_browser_toolbox.js index 08c8ac190..314fb3af6 100644 --- a/devtools/client/framework/test/browser_browser_toolbox.js +++ b/devtools/client/framework/test/browser_browser_toolbox.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_browser_toolbox_debugger.js b/devtools/client/framework/test/browser_browser_toolbox_debugger.js index c0971cc7c..f49680cd7 100644 --- a/devtools/client/framework/test/browser_browser_toolbox_debugger.js +++ b/devtools/client/framework/test/browser_browser_toolbox_debugger.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/framework/test/browser_source_map-02.js b/devtools/client/framework/test/browser_source_map-02.js index f31ce0175..8947e168a 100644 --- a/devtools/client/framework/test/browser_source_map-02.js +++ b/devtools/client/framework/test/browser_source_map-02.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/components/test/browser_boxmodel.js b/devtools/client/inspector/components/test/browser_boxmodel.js index f8b87f421..5a4502588 100644 --- a/devtools/client/inspector/components/test/browser_boxmodel.js +++ b/devtools/client/inspector/components/test/browser_boxmodel.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/components/test/browser_boxmodel_editablemodel.js b/devtools/client/inspector/components/test/browser_boxmodel_editablemodel.js index 5c32c2029..aa0a62b05 100644 --- a/devtools/client/inspector/components/test/browser_boxmodel_editablemodel.js +++ b/devtools/client/inspector/components/test/browser_boxmodel_editablemodel.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/components/test/browser_boxmodel_editablemodel_allproperties.js b/devtools/client/inspector/components/test/browser_boxmodel_editablemodel_allproperties.js index 464a7b6c5..97cf585c5 100644 --- a/devtools/client/inspector/components/test/browser_boxmodel_editablemodel_allproperties.js +++ b/devtools/client/inspector/components/test/browser_boxmodel_editablemodel_allproperties.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/components/test/browser_boxmodel_editablemodel_bluronclick.js b/devtools/client/inspector/components/test/browser_boxmodel_editablemodel_bluronclick.js index 9e65e4dc7..4840eba37 100644 --- a/devtools/client/inspector/components/test/browser_boxmodel_editablemodel_bluronclick.js +++ b/devtools/client/inspector/components/test/browser_boxmodel_editablemodel_bluronclick.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/components/test/browser_boxmodel_editablemodel_border.js b/devtools/client/inspector/components/test/browser_boxmodel_editablemodel_border.js index 6e9c04b14..aefc85d4f 100644 --- a/devtools/client/inspector/components/test/browser_boxmodel_editablemodel_border.js +++ b/devtools/client/inspector/components/test/browser_boxmodel_editablemodel_border.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/components/test/browser_boxmodel_editablemodel_stylerules.js b/devtools/client/inspector/components/test/browser_boxmodel_editablemodel_stylerules.js index 43346fa15..ab0eed3fd 100644 --- a/devtools/client/inspector/components/test/browser_boxmodel_editablemodel_stylerules.js +++ b/devtools/client/inspector/components/test/browser_boxmodel_editablemodel_stylerules.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/components/test/browser_boxmodel_rotate-labels-on-sides.js b/devtools/client/inspector/components/test/browser_boxmodel_rotate-labels-on-sides.js index 954cd298b..781fd5c42 100644 --- a/devtools/client/inspector/components/test/browser_boxmodel_rotate-labels-on-sides.js +++ b/devtools/client/inspector/components/test/browser_boxmodel_rotate-labels-on-sides.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/components/test/browser_boxmodel_sync.js b/devtools/client/inspector/components/test/browser_boxmodel_sync.js index a896bfe06..4c4081753 100644 --- a/devtools/client/inspector/components/test/browser_boxmodel_sync.js +++ b/devtools/client/inspector/components/test/browser_boxmodel_sync.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/components/test/browser_boxmodel_tooltips.js b/devtools/client/inspector/components/test/browser_boxmodel_tooltips.js index b65d2446a..e74a94b21 100644 --- a/devtools/client/inspector/components/test/browser_boxmodel_tooltips.js +++ b/devtools/client/inspector/components/test/browser_boxmodel_tooltips.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/components/test/browser_boxmodel_update-after-navigation.js b/devtools/client/inspector/components/test/browser_boxmodel_update-after-navigation.js index cb5960229..e94360cb9 100644 --- a/devtools/client/inspector/components/test/browser_boxmodel_update-after-navigation.js +++ b/devtools/client/inspector/components/test/browser_boxmodel_update-after-navigation.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/components/test/browser_boxmodel_update-after-reload.js b/devtools/client/inspector/components/test/browser_boxmodel_update-after-reload.js index 7fc09bfa3..c4c73143c 100644 --- a/devtools/client/inspector/components/test/browser_boxmodel_update-after-reload.js +++ b/devtools/client/inspector/components/test/browser_boxmodel_update-after-reload.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/components/test/browser_boxmodel_update-in-iframes.js b/devtools/client/inspector/components/test/browser_boxmodel_update-in-iframes.js index 50014ad1c..d1dc46086 100644 --- a/devtools/client/inspector/components/test/browser_boxmodel_update-in-iframes.js +++ b/devtools/client/inspector/components/test/browser_boxmodel_update-in-iframes.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/components/test/head.js b/devtools/client/inspector/components/test/head.js index fa86b5e9e..e1e9d33f2 100644 --- a/devtools/client/inspector/components/test/head.js +++ b/devtools/client/inspector/components/test/head.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* eslint no-unused-vars: [2, {"vars": "local"}] */ diff --git a/devtools/client/inspector/computed/test/browser_computed_browser-styles.js b/devtools/client/inspector/computed/test/browser_computed_browser-styles.js index 32de63650..9fb06f8af 100644 --- a/devtools/client/inspector/computed/test/browser_computed_browser-styles.js +++ b/devtools/client/inspector/computed/test/browser_computed_browser-styles.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/computed/test/browser_computed_cycle_color.js b/devtools/client/inspector/computed/test/browser_computed_cycle_color.js index c9892fafe..48503f526 100644 --- a/devtools/client/inspector/computed/test/browser_computed_cycle_color.js +++ b/devtools/client/inspector/computed/test/browser_computed_cycle_color.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/computed/test/browser_computed_getNodeInfo.js b/devtools/client/inspector/computed/test/browser_computed_getNodeInfo.js index 30113e7ec..f40efd242 100644 --- a/devtools/client/inspector/computed/test/browser_computed_getNodeInfo.js +++ b/devtools/client/inspector/computed/test/browser_computed_getNodeInfo.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/computed/test/browser_computed_keybindings_01.js b/devtools/client/inspector/computed/test/browser_computed_keybindings_01.js index 199e125af..0e0970616 100644 --- a/devtools/client/inspector/computed/test/browser_computed_keybindings_01.js +++ b/devtools/client/inspector/computed/test/browser_computed_keybindings_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/computed/test/browser_computed_keybindings_02.js b/devtools/client/inspector/computed/test/browser_computed_keybindings_02.js index 2a9220ec8..505e9e82d 100644 --- a/devtools/client/inspector/computed/test/browser_computed_keybindings_02.js +++ b/devtools/client/inspector/computed/test/browser_computed_keybindings_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/computed/test/browser_computed_matched-selectors-toggle.js b/devtools/client/inspector/computed/test/browser_computed_matched-selectors-toggle.js index abbbb77be..2338f047f 100644 --- a/devtools/client/inspector/computed/test/browser_computed_matched-selectors-toggle.js +++ b/devtools/client/inspector/computed/test/browser_computed_matched-selectors-toggle.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/computed/test/browser_computed_matched-selectors_01.js b/devtools/client/inspector/computed/test/browser_computed_matched-selectors_01.js index 66cabe7a9..a5a6318b9 100644 --- a/devtools/client/inspector/computed/test/browser_computed_matched-selectors_01.js +++ b/devtools/client/inspector/computed/test/browser_computed_matched-selectors_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/computed/test/browser_computed_matched-selectors_02.js b/devtools/client/inspector/computed/test/browser_computed_matched-selectors_02.js index 43172d55f..8884de1e1 100644 --- a/devtools/client/inspector/computed/test/browser_computed_matched-selectors_02.js +++ b/devtools/client/inspector/computed/test/browser_computed_matched-selectors_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/computed/test/browser_computed_media-queries.js b/devtools/client/inspector/computed/test/browser_computed_media-queries.js index 79cccb49b..e33da9c52 100644 --- a/devtools/client/inspector/computed/test/browser_computed_media-queries.js +++ b/devtools/client/inspector/computed/test/browser_computed_media-queries.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/computed/test/browser_computed_no-results-placeholder.js b/devtools/client/inspector/computed/test/browser_computed_no-results-placeholder.js index b1371abd7..95c7d3ea6 100644 --- a/devtools/client/inspector/computed/test/browser_computed_no-results-placeholder.js +++ b/devtools/client/inspector/computed/test/browser_computed_no-results-placeholder.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/computed/test/browser_computed_original-source-link.js b/devtools/client/inspector/computed/test/browser_computed_original-source-link.js index 1bceed4e3..3b33e05e1 100644 --- a/devtools/client/inspector/computed/test/browser_computed_original-source-link.js +++ b/devtools/client/inspector/computed/test/browser_computed_original-source-link.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/computed/test/browser_computed_pseudo-element_01.js b/devtools/client/inspector/computed/test/browser_computed_pseudo-element_01.js index 7c18bfe7b..3159e0f79 100644 --- a/devtools/client/inspector/computed/test/browser_computed_pseudo-element_01.js +++ b/devtools/client/inspector/computed/test/browser_computed_pseudo-element_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/computed/test/browser_computed_refresh-on-style-change_01.js b/devtools/client/inspector/computed/test/browser_computed_refresh-on-style-change_01.js index 43f210307..e3580e0d8 100644 --- a/devtools/client/inspector/computed/test/browser_computed_refresh-on-style-change_01.js +++ b/devtools/client/inspector/computed/test/browser_computed_refresh-on-style-change_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/computed/test/browser_computed_search-filter.js b/devtools/client/inspector/computed/test/browser_computed_search-filter.js index 10ba82293..5de0ab83b 100644 --- a/devtools/client/inspector/computed/test/browser_computed_search-filter.js +++ b/devtools/client/inspector/computed/test/browser_computed_search-filter.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/computed/test/browser_computed_search-filter_clear.js b/devtools/client/inspector/computed/test/browser_computed_search-filter_clear.js index bd989854f..3ac5bbe44 100644 --- a/devtools/client/inspector/computed/test/browser_computed_search-filter_clear.js +++ b/devtools/client/inspector/computed/test/browser_computed_search-filter_clear.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/computed/test/browser_computed_search-filter_context-menu.js b/devtools/client/inspector/computed/test/browser_computed_search-filter_context-menu.js index b04a247f5..0eb2ec0bb 100644 --- a/devtools/client/inspector/computed/test/browser_computed_search-filter_context-menu.js +++ b/devtools/client/inspector/computed/test/browser_computed_search-filter_context-menu.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/computed/test/browser_computed_search-filter_escape-keypress.js b/devtools/client/inspector/computed/test/browser_computed_search-filter_escape-keypress.js index e52e2cc89..4cb3a8006 100644 --- a/devtools/client/inspector/computed/test/browser_computed_search-filter_escape-keypress.js +++ b/devtools/client/inspector/computed/test/browser_computed_search-filter_escape-keypress.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/computed/test/browser_computed_search-filter_noproperties.js b/devtools/client/inspector/computed/test/browser_computed_search-filter_noproperties.js index 99ee6d58a..90c2a0490 100644 --- a/devtools/client/inspector/computed/test/browser_computed_search-filter_noproperties.js +++ b/devtools/client/inspector/computed/test/browser_computed_search-filter_noproperties.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/computed/test/browser_computed_select-and-copy-styles.js b/devtools/client/inspector/computed/test/browser_computed_select-and-copy-styles.js index ce8be59ad..5b0b68ab8 100644 --- a/devtools/client/inspector/computed/test/browser_computed_select-and-copy-styles.js +++ b/devtools/client/inspector/computed/test/browser_computed_select-and-copy-styles.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/computed/test/browser_computed_style-editor-link.js b/devtools/client/inspector/computed/test/browser_computed_style-editor-link.js index 6a95fd83f..815d3be2c 100644 --- a/devtools/client/inspector/computed/test/browser_computed_style-editor-link.js +++ b/devtools/client/inspector/computed/test/browser_computed_style-editor-link.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/computed/test/head.js b/devtools/client/inspector/computed/test/head.js index 17c47be1a..1043dacce 100644 --- a/devtools/client/inspector/computed/test/head.js +++ b/devtools/client/inspector/computed/test/head.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* eslint no-unused-vars: [2, {"vars": "local"}] */ diff --git a/devtools/client/inspector/fonts/test/browser_fontinspector.js b/devtools/client/inspector/fonts/test/browser_fontinspector.js index a36c57771..9b6fdfc36 100644 --- a/devtools/client/inspector/fonts/test/browser_fontinspector.js +++ b/devtools/client/inspector/fonts/test/browser_fontinspector.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/fonts/test/browser_fontinspector_edit-previews-show-all.js b/devtools/client/inspector/fonts/test/browser_fontinspector_edit-previews-show-all.js index f1319b400..3ba13856f 100644 --- a/devtools/client/inspector/fonts/test/browser_fontinspector_edit-previews-show-all.js +++ b/devtools/client/inspector/fonts/test/browser_fontinspector_edit-previews-show-all.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/fonts/test/browser_fontinspector_edit-previews.js b/devtools/client/inspector/fonts/test/browser_fontinspector_edit-previews.js index adc421b6b..70b61533a 100644 --- a/devtools/client/inspector/fonts/test/browser_fontinspector_edit-previews.js +++ b/devtools/client/inspector/fonts/test/browser_fontinspector_edit-previews.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/fonts/test/browser_fontinspector_theme-change.js b/devtools/client/inspector/fonts/test/browser_fontinspector_theme-change.js index 7fcfc9cc2..29a86ed10 100644 --- a/devtools/client/inspector/fonts/test/browser_fontinspector_theme-change.js +++ b/devtools/client/inspector/fonts/test/browser_fontinspector_theme-change.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/fonts/test/head.js b/devtools/client/inspector/fonts/test/head.js index f510ed798..70687b705 100644 --- a/devtools/client/inspector/fonts/test/head.js +++ b/devtools/client/inspector/fonts/test/head.js @@ -1,4 +1,3 @@ - /* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/markup/test/browser_markup_anonymous_01.js b/devtools/client/inspector/markup/test/browser_markup_anonymous_01.js index fd32251d0..351bf7b8b 100644 --- a/devtools/client/inspector/markup/test/browser_markup_anonymous_01.js +++ b/devtools/client/inspector/markup/test/browser_markup_anonymous_01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_anonymous_02.js b/devtools/client/inspector/markup/test/browser_markup_anonymous_02.js index b6221c5c3..076064089 100644 --- a/devtools/client/inspector/markup/test/browser_markup_anonymous_02.js +++ b/devtools/client/inspector/markup/test/browser_markup_anonymous_02.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_anonymous_03.js b/devtools/client/inspector/markup/test/browser_markup_anonymous_03.js index 010ce06e0..0c19ae356 100644 --- a/devtools/client/inspector/markup/test/browser_markup_anonymous_03.js +++ b/devtools/client/inspector/markup/test/browser_markup_anonymous_03.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_anonymous_04.js b/devtools/client/inspector/markup/test/browser_markup_anonymous_04.js index da5e4567d..1b4dce2f4 100644 --- a/devtools/client/inspector/markup/test/browser_markup_anonymous_04.js +++ b/devtools/client/inspector/markup/test/browser_markup_anonymous_04.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_copy_image_data.js b/devtools/client/inspector/markup/test/browser_markup_copy_image_data.js index 275bff0b7..19db493af 100644 --- a/devtools/client/inspector/markup/test/browser_markup_copy_image_data.js +++ b/devtools/client/inspector/markup/test/browser_markup_copy_image_data.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_css_completion_style_attribute_01.js b/devtools/client/inspector/markup/test/browser_markup_css_completion_style_attribute_01.js index f860456d1..b302848e8 100644 --- a/devtools/client/inspector/markup/test/browser_markup_css_completion_style_attribute_01.js +++ b/devtools/client/inspector/markup/test/browser_markup_css_completion_style_attribute_01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_style_attr_test_runner.js */ diff --git a/devtools/client/inspector/markup/test/browser_markup_css_completion_style_attribute_02.js b/devtools/client/inspector/markup/test/browser_markup_css_completion_style_attribute_02.js index 345ee4866..55315ce03 100644 --- a/devtools/client/inspector/markup/test/browser_markup_css_completion_style_attribute_02.js +++ b/devtools/client/inspector/markup/test/browser_markup_css_completion_style_attribute_02.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_style_attr_test_runner.js */ diff --git a/devtools/client/inspector/markup/test/browser_markup_css_completion_style_attribute_03.js b/devtools/client/inspector/markup/test/browser_markup_css_completion_style_attribute_03.js index 3dbc3e6b2..65191f5c4 100644 --- a/devtools/client/inspector/markup/test/browser_markup_css_completion_style_attribute_03.js +++ b/devtools/client/inspector/markup/test/browser_markup_css_completion_style_attribute_03.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_style_attr_test_runner.js */ diff --git a/devtools/client/inspector/markup/test/browser_markup_dragdrop_autoscroll_01.js b/devtools/client/inspector/markup/test/browser_markup_dragdrop_autoscroll_01.js index 0c25e2fc6..0dd6f1979 100644 --- a/devtools/client/inspector/markup/test/browser_markup_dragdrop_autoscroll_01.js +++ b/devtools/client/inspector/markup/test/browser_markup_dragdrop_autoscroll_01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_dragdrop_autoscroll_02.js b/devtools/client/inspector/markup/test/browser_markup_dragdrop_autoscroll_02.js index 4aca6f424..cffde1db6 100644 --- a/devtools/client/inspector/markup/test/browser_markup_dragdrop_autoscroll_02.js +++ b/devtools/client/inspector/markup/test/browser_markup_dragdrop_autoscroll_02.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_dragdrop_distance.js b/devtools/client/inspector/markup/test/browser_markup_dragdrop_distance.js index e94b02191..573c701dd 100644 --- a/devtools/client/inspector/markup/test/browser_markup_dragdrop_distance.js +++ b/devtools/client/inspector/markup/test/browser_markup_dragdrop_distance.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_dragdrop_dragRootNode.js b/devtools/client/inspector/markup/test/browser_markup_dragdrop_dragRootNode.js index 8bb4779d5..4528bf1fa 100644 --- a/devtools/client/inspector/markup/test/browser_markup_dragdrop_dragRootNode.js +++ b/devtools/client/inspector/markup/test/browser_markup_dragdrop_dragRootNode.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_dragdrop_draggable.js b/devtools/client/inspector/markup/test/browser_markup_dragdrop_draggable.js index 1853ab4f7..08ad8a5f5 100644 --- a/devtools/client/inspector/markup/test/browser_markup_dragdrop_draggable.js +++ b/devtools/client/inspector/markup/test/browser_markup_dragdrop_draggable.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/markup/test/browser_markup_dragdrop_escapeKeyPress.js b/devtools/client/inspector/markup/test/browser_markup_dragdrop_escapeKeyPress.js index 075d14352..674c7214b 100644 --- a/devtools/client/inspector/markup/test/browser_markup_dragdrop_escapeKeyPress.js +++ b/devtools/client/inspector/markup/test/browser_markup_dragdrop_escapeKeyPress.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_dragdrop_invalidNodes.js b/devtools/client/inspector/markup/test/browser_markup_dragdrop_invalidNodes.js index 9eea6a102..ef7bafdde 100644 --- a/devtools/client/inspector/markup/test/browser_markup_dragdrop_invalidNodes.js +++ b/devtools/client/inspector/markup/test/browser_markup_dragdrop_invalidNodes.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_dragdrop_reorder.js b/devtools/client/inspector/markup/test/browser_markup_dragdrop_reorder.js index f74b50147..3e16cd161 100644 --- a/devtools/client/inspector/markup/test/browser_markup_dragdrop_reorder.js +++ b/devtools/client/inspector/markup/test/browser_markup_dragdrop_reorder.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_dragdrop_tooltip.js b/devtools/client/inspector/markup/test/browser_markup_dragdrop_tooltip.js index 77472800e..4cea04801 100644 --- a/devtools/client/inspector/markup/test/browser_markup_dragdrop_tooltip.js +++ b/devtools/client/inspector/markup/test/browser_markup_dragdrop_tooltip.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/markup/test/browser_markup_events-overflow.js b/devtools/client/inspector/markup/test/browser_markup_events-overflow.js index 3e73921f4..8253edc8d 100644 --- a/devtools/client/inspector/markup/test/browser_markup_events-overflow.js +++ b/devtools/client/inspector/markup/test/browser_markup_events-overflow.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/markup/test/browser_markup_events-windowed-host.js b/devtools/client/inspector/markup/test/browser_markup_events-windowed-host.js index cfcb0a8ab..1356bf91d 100644 --- a/devtools/client/inspector/markup/test/browser_markup_events-windowed-host.js +++ b/devtools/client/inspector/markup/test/browser_markup_events-windowed-host.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/markup/test/browser_markup_events1.js b/devtools/client/inspector/markup/test/browser_markup_events1.js index dbfd4a5c3..033b3b11f 100644 --- a/devtools/client/inspector/markup/test/browser_markup_events1.js +++ b/devtools/client/inspector/markup/test/browser_markup_events1.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_events_test_runner.js */ diff --git a/devtools/client/inspector/markup/test/browser_markup_events2.js b/devtools/client/inspector/markup/test/browser_markup_events2.js index 3e741cf1f..530e7cd24 100644 --- a/devtools/client/inspector/markup/test/browser_markup_events2.js +++ b/devtools/client/inspector/markup/test/browser_markup_events2.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_events_test_runner.js */ diff --git a/devtools/client/inspector/markup/test/browser_markup_events3.js b/devtools/client/inspector/markup/test/browser_markup_events3.js index a38e9a011..d42da5be2 100644 --- a/devtools/client/inspector/markup/test/browser_markup_events3.js +++ b/devtools/client/inspector/markup/test/browser_markup_events3.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_events_test_runner.js */ diff --git a/devtools/client/inspector/markup/test/browser_markup_events_form.js b/devtools/client/inspector/markup/test/browser_markup_events_form.js index ab029720c..b88f933de 100644 --- a/devtools/client/inspector/markup/test/browser_markup_events_form.js +++ b/devtools/client/inspector/markup/test/browser_markup_events_form.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.0.js b/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.0.js index 7413ea660..4f7f75db2 100644 --- a/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.0.js +++ b/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.0.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_events_test_runner.js */ diff --git a/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.1.js b/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.1.js index e5e995a87..cd090dac5 100644 --- a/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.1.js +++ b/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.1.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_events_test_runner.js */ diff --git a/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.11.1.js b/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.11.1.js index 17d59a317..fa5dc3758 100644 --- a/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.11.1.js +++ b/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.11.1.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_events_test_runner.js */ diff --git a/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.2.js b/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.2.js index c26a14d66..e73489d29 100644 --- a/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.2.js +++ b/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.2.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_events_test_runner.js */ diff --git a/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.3.js b/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.3.js index e0bdab2fd..f45814335 100644 --- a/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.3.js +++ b/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.3.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_events_test_runner.js */ diff --git a/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.4.js b/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.4.js index 9f7d9e241..d25d60ecd 100644 --- a/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.4.js +++ b/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.4.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_events_test_runner.js */ diff --git a/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.6.js b/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.6.js index f89bd0740..a11a0db9b 100644 --- a/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.6.js +++ b/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.6.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_events_test_runner.js */ diff --git a/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.7.js b/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.7.js index 39f1d54e2..364075a44 100644 --- a/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.7.js +++ b/devtools/client/inspector/markup/test/browser_markup_events_jquery_1.7.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_events_test_runner.js */ diff --git a/devtools/client/inspector/markup/test/browser_markup_events_jquery_2.1.1.js b/devtools/client/inspector/markup/test/browser_markup_events_jquery_2.1.1.js index c6a6642ea..e11a61aff 100644 --- a/devtools/client/inspector/markup/test/browser_markup_events_jquery_2.1.1.js +++ b/devtools/client/inspector/markup/test/browser_markup_events_jquery_2.1.1.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_events_test_runner.js */ diff --git a/devtools/client/inspector/markup/test/browser_markup_html_edit_01.js b/devtools/client/inspector/markup/test/browser_markup_html_edit_01.js index e4c271498..a33097a41 100644 --- a/devtools/client/inspector/markup/test/browser_markup_html_edit_01.js +++ b/devtools/client/inspector/markup/test/browser_markup_html_edit_01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_outerhtml_test_runner.js */ diff --git a/devtools/client/inspector/markup/test/browser_markup_html_edit_02.js b/devtools/client/inspector/markup/test/browser_markup_html_edit_02.js index 8f6d0fd14..aedc0bcec 100644 --- a/devtools/client/inspector/markup/test/browser_markup_html_edit_02.js +++ b/devtools/client/inspector/markup/test/browser_markup_html_edit_02.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_outerhtml_test_runner.js */ diff --git a/devtools/client/inspector/markup/test/browser_markup_html_edit_03.js b/devtools/client/inspector/markup/test/browser_markup_html_edit_03.js index d72bd1f1d..6736d015b 100644 --- a/devtools/client/inspector/markup/test/browser_markup_html_edit_03.js +++ b/devtools/client/inspector/markup/test/browser_markup_html_edit_03.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_image_tooltip.js b/devtools/client/inspector/markup/test/browser_markup_image_tooltip.js index 7b1611acd..48c5a6c85 100644 --- a/devtools/client/inspector/markup/test/browser_markup_image_tooltip.js +++ b/devtools/client/inspector/markup/test/browser_markup_image_tooltip.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/markup/test/browser_markup_image_tooltip_mutations.js b/devtools/client/inspector/markup/test/browser_markup_image_tooltip_mutations.js index bc1af2c2a..f46b717e9 100644 --- a/devtools/client/inspector/markup/test/browser_markup_image_tooltip_mutations.js +++ b/devtools/client/inspector/markup/test/browser_markup_image_tooltip_mutations.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_keybindings_01.js b/devtools/client/inspector/markup/test/browser_markup_keybindings_01.js index 58eccc173..6c9b7b3fc 100644 --- a/devtools/client/inspector/markup/test/browser_markup_keybindings_01.js +++ b/devtools/client/inspector/markup/test/browser_markup_keybindings_01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_keybindings_02.js b/devtools/client/inspector/markup/test/browser_markup_keybindings_02.js index 0e4b8a802..729f1623c 100644 --- a/devtools/client/inspector/markup/test/browser_markup_keybindings_02.js +++ b/devtools/client/inspector/markup/test/browser_markup_keybindings_02.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_keybindings_03.js b/devtools/client/inspector/markup/test/browser_markup_keybindings_03.js index 1a94c9270..75abd220d 100644 --- a/devtools/client/inspector/markup/test/browser_markup_keybindings_03.js +++ b/devtools/client/inspector/markup/test/browser_markup_keybindings_03.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_keybindings_04.js b/devtools/client/inspector/markup/test/browser_markup_keybindings_04.js index 3b6f8bfb3..c5f6b9c8f 100644 --- a/devtools/client/inspector/markup/test/browser_markup_keybindings_04.js +++ b/devtools/client/inspector/markup/test/browser_markup_keybindings_04.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_keybindings_delete_attributes.js b/devtools/client/inspector/markup/test/browser_markup_keybindings_delete_attributes.js index a4c121360..e4dcfe4ea 100644 --- a/devtools/client/inspector/markup/test/browser_markup_keybindings_delete_attributes.js +++ b/devtools/client/inspector/markup/test/browser_markup_keybindings_delete_attributes.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_keybindings_scrolltonode.js b/devtools/client/inspector/markup/test/browser_markup_keybindings_scrolltonode.js index 7b129fc42..6918774f7 100644 --- a/devtools/client/inspector/markup/test/browser_markup_keybindings_scrolltonode.js +++ b/devtools/client/inspector/markup/test/browser_markup_keybindings_scrolltonode.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_links_01.js b/devtools/client/inspector/markup/test/browser_markup_links_01.js index 4ef3ba4b9..0a0c59b44 100644 --- a/devtools/client/inspector/markup/test/browser_markup_links_01.js +++ b/devtools/client/inspector/markup/test/browser_markup_links_01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_links_02.js b/devtools/client/inspector/markup/test/browser_markup_links_02.js index 83893281c..f3a2d0a0d 100644 --- a/devtools/client/inspector/markup/test/browser_markup_links_02.js +++ b/devtools/client/inspector/markup/test/browser_markup_links_02.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_links_03.js b/devtools/client/inspector/markup/test/browser_markup_links_03.js index a54ccb498..4ff3e3072 100644 --- a/devtools/client/inspector/markup/test/browser_markup_links_03.js +++ b/devtools/client/inspector/markup/test/browser_markup_links_03.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_links_04.js b/devtools/client/inspector/markup/test/browser_markup_links_04.js index f21afd8d2..6c404a9eb 100644 --- a/devtools/client/inspector/markup/test/browser_markup_links_04.js +++ b/devtools/client/inspector/markup/test/browser_markup_links_04.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_links_05.js b/devtools/client/inspector/markup/test/browser_markup_links_05.js index feaf257a8..525117224 100644 --- a/devtools/client/inspector/markup/test/browser_markup_links_05.js +++ b/devtools/client/inspector/markup/test/browser_markup_links_05.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_links_06.js b/devtools/client/inspector/markup/test/browser_markup_links_06.js index 452fa9eca..d4f706c93 100644 --- a/devtools/client/inspector/markup/test/browser_markup_links_06.js +++ b/devtools/client/inspector/markup/test/browser_markup_links_06.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_links_07.js b/devtools/client/inspector/markup/test/browser_markup_links_07.js index 793c1ee90..d0c7eee03 100644 --- a/devtools/client/inspector/markup/test/browser_markup_links_07.js +++ b/devtools/client/inspector/markup/test/browser_markup_links_07.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_load_01.js b/devtools/client/inspector/markup/test/browser_markup_load_01.js index 9c8f4ed2c..db3e39f15 100644 --- a/devtools/client/inspector/markup/test/browser_markup_load_01.js +++ b/devtools/client/inspector/markup/test/browser_markup_load_01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_mutation_01.js b/devtools/client/inspector/markup/test/browser_markup_mutation_01.js index 1e4cfb9b0..53727e001 100644 --- a/devtools/client/inspector/markup/test/browser_markup_mutation_01.js +++ b/devtools/client/inspector/markup/test/browser_markup_mutation_01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_mutation_02.js b/devtools/client/inspector/markup/test/browser_markup_mutation_02.js index eb69b4201..f60580b41 100644 --- a/devtools/client/inspector/markup/test/browser_markup_mutation_02.js +++ b/devtools/client/inspector/markup/test/browser_markup_mutation_02.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_navigation.js b/devtools/client/inspector/markup/test/browser_markup_navigation.js index 5bfd9719f..9ac682207 100644 --- a/devtools/client/inspector/markup/test/browser_markup_navigation.js +++ b/devtools/client/inspector/markup/test/browser_markup_navigation.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_node_names.js b/devtools/client/inspector/markup/test/browser_markup_node_names.js index a8afad5e9..4db9adb19 100644 --- a/devtools/client/inspector/markup/test/browser_markup_node_names.js +++ b/devtools/client/inspector/markup/test/browser_markup_node_names.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_node_names_namespaced.js b/devtools/client/inspector/markup/test/browser_markup_node_names_namespaced.js index 261176f94..bad7d9377 100644 --- a/devtools/client/inspector/markup/test/browser_markup_node_names_namespaced.js +++ b/devtools/client/inspector/markup/test/browser_markup_node_names_namespaced.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_node_not_displayed_01.js b/devtools/client/inspector/markup/test/browser_markup_node_not_displayed_01.js index ea4ecdfd0..1d9a132c3 100644 --- a/devtools/client/inspector/markup/test/browser_markup_node_not_displayed_01.js +++ b/devtools/client/inspector/markup/test/browser_markup_node_not_displayed_01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_node_not_displayed_02.js b/devtools/client/inspector/markup/test/browser_markup_node_not_displayed_02.js index b0423d2e6..28e3377d5 100644 --- a/devtools/client/inspector/markup/test/browser_markup_node_not_displayed_02.js +++ b/devtools/client/inspector/markup/test/browser_markup_node_not_displayed_02.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_pagesize_01.js b/devtools/client/inspector/markup/test/browser_markup_pagesize_01.js index a9ba9fc05..d9d86a018 100644 --- a/devtools/client/inspector/markup/test/browser_markup_pagesize_01.js +++ b/devtools/client/inspector/markup/test/browser_markup_pagesize_01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_pagesize_02.js b/devtools/client/inspector/markup/test/browser_markup_pagesize_02.js index 549a36b0d..0cb5b060d 100644 --- a/devtools/client/inspector/markup/test/browser_markup_pagesize_02.js +++ b/devtools/client/inspector/markup/test/browser_markup_pagesize_02.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_remove_xul_attributes.js b/devtools/client/inspector/markup/test/browser_markup_remove_xul_attributes.js index b7065c683..93cf520e4 100644 --- a/devtools/client/inspector/markup/test/browser_markup_remove_xul_attributes.js +++ b/devtools/client/inspector/markup/test/browser_markup_remove_xul_attributes.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_search_01.js b/devtools/client/inspector/markup/test/browser_markup_search_01.js index 68f0c04db..bc3373abc 100644 --- a/devtools/client/inspector/markup/test/browser_markup_search_01.js +++ b/devtools/client/inspector/markup/test/browser_markup_search_01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_tag_edit_01.js b/devtools/client/inspector/markup/test/browser_markup_tag_edit_01.js index b1b4f7115..c80a11073 100644 --- a/devtools/client/inspector/markup/test/browser_markup_tag_edit_01.js +++ b/devtools/client/inspector/markup/test/browser_markup_tag_edit_01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_attributes_test_runner.js */ diff --git a/devtools/client/inspector/markup/test/browser_markup_tag_edit_02.js b/devtools/client/inspector/markup/test/browser_markup_tag_edit_02.js index 1e32d783a..e3090cd85 100644 --- a/devtools/client/inspector/markup/test/browser_markup_tag_edit_02.js +++ b/devtools/client/inspector/markup/test/browser_markup_tag_edit_02.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_tag_edit_03.js b/devtools/client/inspector/markup/test/browser_markup_tag_edit_03.js index cdbdc72b6..1fc823240 100644 --- a/devtools/client/inspector/markup/test/browser_markup_tag_edit_03.js +++ b/devtools/client/inspector/markup/test/browser_markup_tag_edit_03.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_tag_edit_04-backspace.js b/devtools/client/inspector/markup/test/browser_markup_tag_edit_04-backspace.js index dbe718f45..0ba513df0 100644 --- a/devtools/client/inspector/markup/test/browser_markup_tag_edit_04-backspace.js +++ b/devtools/client/inspector/markup/test/browser_markup_tag_edit_04-backspace.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_tag_edit_04-delete.js b/devtools/client/inspector/markup/test/browser_markup_tag_edit_04-delete.js index 1446eba30..3f09c539a 100644 --- a/devtools/client/inspector/markup/test/browser_markup_tag_edit_04-delete.js +++ b/devtools/client/inspector/markup/test/browser_markup_tag_edit_04-delete.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_tag_edit_05.js b/devtools/client/inspector/markup/test/browser_markup_tag_edit_05.js index 54a1dab44..de5dc96d2 100644 --- a/devtools/client/inspector/markup/test/browser_markup_tag_edit_05.js +++ b/devtools/client/inspector/markup/test/browser_markup_tag_edit_05.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_attributes_test_runner.js */ diff --git a/devtools/client/inspector/markup/test/browser_markup_tag_edit_06.js b/devtools/client/inspector/markup/test/browser_markup_tag_edit_06.js index 8202bd0a2..4beb59e95 100644 --- a/devtools/client/inspector/markup/test/browser_markup_tag_edit_06.js +++ b/devtools/client/inspector/markup/test/browser_markup_tag_edit_06.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_attributes_test_runner.js */ diff --git a/devtools/client/inspector/markup/test/browser_markup_tag_edit_07.js b/devtools/client/inspector/markup/test/browser_markup_tag_edit_07.js index fffdc99cc..31c9a6b67 100644 --- a/devtools/client/inspector/markup/test/browser_markup_tag_edit_07.js +++ b/devtools/client/inspector/markup/test/browser_markup_tag_edit_07.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_attributes_test_runner.js */ diff --git a/devtools/client/inspector/markup/test/browser_markup_tag_edit_08.js b/devtools/client/inspector/markup/test/browser_markup_tag_edit_08.js index 238e59c52..e7cc05b43 100644 --- a/devtools/client/inspector/markup/test/browser_markup_tag_edit_08.js +++ b/devtools/client/inspector/markup/test/browser_markup_tag_edit_08.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_tag_edit_09.js b/devtools/client/inspector/markup/test/browser_markup_tag_edit_09.js index 8680ab9f5..a13431286 100644 --- a/devtools/client/inspector/markup/test/browser_markup_tag_edit_09.js +++ b/devtools/client/inspector/markup/test/browser_markup_tag_edit_09.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_tag_edit_10.js b/devtools/client/inspector/markup/test/browser_markup_tag_edit_10.js index 8d27c5468..091c3708e 100644 --- a/devtools/client/inspector/markup/test/browser_markup_tag_edit_10.js +++ b/devtools/client/inspector/markup/test/browser_markup_tag_edit_10.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_tag_edit_11.js b/devtools/client/inspector/markup/test/browser_markup_tag_edit_11.js index 906c4aced..1cb158eb0 100644 --- a/devtools/client/inspector/markup/test/browser_markup_tag_edit_11.js +++ b/devtools/client/inspector/markup/test/browser_markup_tag_edit_11.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_tag_edit_12.js b/devtools/client/inspector/markup/test/browser_markup_tag_edit_12.js index 4fcf3dd66..70e1fea34 100644 --- a/devtools/client/inspector/markup/test/browser_markup_tag_edit_12.js +++ b/devtools/client/inspector/markup/test/browser_markup_tag_edit_12.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_tag_edit_13-other.js b/devtools/client/inspector/markup/test/browser_markup_tag_edit_13-other.js index 188e12cbc..9456888d8 100644 --- a/devtools/client/inspector/markup/test/browser_markup_tag_edit_13-other.js +++ b/devtools/client/inspector/markup/test/browser_markup_tag_edit_13-other.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_tag_edit_long-classname.js b/devtools/client/inspector/markup/test/browser_markup_tag_edit_long-classname.js index 7615ed691..0996819ab 100644 --- a/devtools/client/inspector/markup/test/browser_markup_tag_edit_long-classname.js +++ b/devtools/client/inspector/markup/test/browser_markup_tag_edit_long-classname.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_textcontent_display.js b/devtools/client/inspector/markup/test/browser_markup_textcontent_display.js index 7513e4e18..ae9f1f31b 100644 --- a/devtools/client/inspector/markup/test/browser_markup_textcontent_display.js +++ b/devtools/client/inspector/markup/test/browser_markup_textcontent_display.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_textcontent_edit_01.js b/devtools/client/inspector/markup/test/browser_markup_textcontent_edit_01.js index f27b56647..12e612e80 100644 --- a/devtools/client/inspector/markup/test/browser_markup_textcontent_edit_01.js +++ b/devtools/client/inspector/markup/test/browser_markup_textcontent_edit_01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_textcontent_edit_02.js b/devtools/client/inspector/markup/test/browser_markup_textcontent_edit_02.js index 04825f2d4..29b31e2be 100644 --- a/devtools/client/inspector/markup/test/browser_markup_textcontent_edit_02.js +++ b/devtools/client/inspector/markup/test/browser_markup_textcontent_edit_02.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_toggle_01.js b/devtools/client/inspector/markup/test/browser_markup_toggle_01.js index a481f685e..2060ae668 100644 --- a/devtools/client/inspector/markup/test/browser_markup_toggle_01.js +++ b/devtools/client/inspector/markup/test/browser_markup_toggle_01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_toggle_02.js b/devtools/client/inspector/markup/test/browser_markup_toggle_02.js index 481f0bf58..6dfb64dc8 100644 --- a/devtools/client/inspector/markup/test/browser_markup_toggle_02.js +++ b/devtools/client/inspector/markup/test/browser_markup_toggle_02.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_toggle_03.js b/devtools/client/inspector/markup/test/browser_markup_toggle_03.js index fb3529c8e..9e5cc28bc 100644 --- a/devtools/client/inspector/markup/test/browser_markup_toggle_03.js +++ b/devtools/client/inspector/markup/test/browser_markup_toggle_03.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_update-on-navigtion.js b/devtools/client/inspector/markup/test/browser_markup_update-on-navigtion.js index c298878c3..daf562e27 100644 --- a/devtools/client/inspector/markup/test/browser_markup_update-on-navigtion.js +++ b/devtools/client/inspector/markup/test/browser_markup_update-on-navigtion.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/markup/test/browser_markup_void_elements_html.js b/devtools/client/inspector/markup/test/browser_markup_void_elements_html.js index 60330a144..3a613b0cd 100644 --- a/devtools/client/inspector/markup/test/browser_markup_void_elements_html.js +++ b/devtools/client/inspector/markup/test/browser_markup_void_elements_html.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_void_elements_xhtml.js b/devtools/client/inspector/markup/test/browser_markup_void_elements_xhtml.js index 0cccf54d4..b4ef5e8f8 100644 --- a/devtools/client/inspector/markup/test/browser_markup_void_elements_xhtml.js +++ b/devtools/client/inspector/markup/test/browser_markup_void_elements_xhtml.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/markup/test/browser_markup_whitespace.js b/devtools/client/inspector/markup/test/browser_markup_whitespace.js index 63a0d0467..40fed4294 100644 --- a/devtools/client/inspector/markup/test/browser_markup_whitespace.js +++ b/devtools/client/inspector/markup/test/browser_markup_whitespace.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_add-property-and-reselect.js b/devtools/client/inspector/rules/test/browser_rules_add-property-and-reselect.js index 492739abe..15e1a64f6 100644 --- a/devtools/client/inspector/rules/test/browser_rules_add-property-and-reselect.js +++ b/devtools/client/inspector/rules/test/browser_rules_add-property-and-reselect.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_add-property-cancel_01.js b/devtools/client/inspector/rules/test/browser_rules_add-property-cancel_01.js index 78b3a4c91..e01ff48a4 100644 --- a/devtools/client/inspector/rules/test/browser_rules_add-property-cancel_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_add-property-cancel_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_add-property-cancel_02.js b/devtools/client/inspector/rules/test/browser_rules_add-property-cancel_02.js index 7f4d1564c..b383fa867 100644 --- a/devtools/client/inspector/rules/test/browser_rules_add-property-cancel_02.js +++ b/devtools/client/inspector/rules/test/browser_rules_add-property-cancel_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_add-property-cancel_03.js b/devtools/client/inspector/rules/test/browser_rules_add-property-cancel_03.js index 4f8b42009..95ebc9758 100644 --- a/devtools/client/inspector/rules/test/browser_rules_add-property-cancel_03.js +++ b/devtools/client/inspector/rules/test/browser_rules_add-property-cancel_03.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_add-property-commented.js b/devtools/client/inspector/rules/test/browser_rules_add-property-commented.js index eacf5db5a..7f85c9cc2 100644 --- a/devtools/client/inspector/rules/test/browser_rules_add-property-commented.js +++ b/devtools/client/inspector/rules/test/browser_rules_add-property-commented.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_add-property-svg.js b/devtools/client/inspector/rules/test/browser_rules_add-property-svg.js index a53421db3..91a796509 100644 --- a/devtools/client/inspector/rules/test/browser_rules_add-property-svg.js +++ b/devtools/client/inspector/rules/test/browser_rules_add-property-svg.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_add-property_01.js b/devtools/client/inspector/rules/test/browser_rules_add-property_01.js index 1d7068d54..976806c91 100644 --- a/devtools/client/inspector/rules/test/browser_rules_add-property_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_add-property_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_add-property_02.js b/devtools/client/inspector/rules/test/browser_rules_add-property_02.js index 6f6bef0f7..acd79dcb6 100644 --- a/devtools/client/inspector/rules/test/browser_rules_add-property_02.js +++ b/devtools/client/inspector/rules/test/browser_rules_add-property_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_add-rule-and-property.js b/devtools/client/inspector/rules/test/browser_rules_add-rule-and-property.js index 1cf04a275..9b313218b 100644 --- a/devtools/client/inspector/rules/test/browser_rules_add-rule-and-property.js +++ b/devtools/client/inspector/rules/test/browser_rules_add-rule-and-property.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_add-rule-button-state.js b/devtools/client/inspector/rules/test/browser_rules_add-rule-button-state.js index 1441213b3..94ca1693a 100644 --- a/devtools/client/inspector/rules/test/browser_rules_add-rule-button-state.js +++ b/devtools/client/inspector/rules/test/browser_rules_add-rule-button-state.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_add-rule-edit-selector.js b/devtools/client/inspector/rules/test/browser_rules_add-rule-edit-selector.js index b59f317a5..b54365a8e 100644 --- a/devtools/client/inspector/rules/test/browser_rules_add-rule-edit-selector.js +++ b/devtools/client/inspector/rules/test/browser_rules_add-rule-edit-selector.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_add-rule-iframes.js b/devtools/client/inspector/rules/test/browser_rules_add-rule-iframes.js index 7b0ba7812..ccaa11ffd 100644 --- a/devtools/client/inspector/rules/test/browser_rules_add-rule-iframes.js +++ b/devtools/client/inspector/rules/test/browser_rules_add-rule-iframes.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_add-rule-namespace-elements.js b/devtools/client/inspector/rules/test/browser_rules_add-rule-namespace-elements.js index 98e34e69f..3f71667b1 100644 --- a/devtools/client/inspector/rules/test/browser_rules_add-rule-namespace-elements.js +++ b/devtools/client/inspector/rules/test/browser_rules_add-rule-namespace-elements.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_add-rule-pseudo-class.js b/devtools/client/inspector/rules/test/browser_rules_add-rule-pseudo-class.js index 39f773c13..686d0b7c8 100644 --- a/devtools/client/inspector/rules/test/browser_rules_add-rule-pseudo-class.js +++ b/devtools/client/inspector/rules/test/browser_rules_add-rule-pseudo-class.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_add-rule-then-property-edit-selector.js b/devtools/client/inspector/rules/test/browser_rules_add-rule-then-property-edit-selector.js index 294eb67e4..38e858d3d 100644 --- a/devtools/client/inspector/rules/test/browser_rules_add-rule-then-property-edit-selector.js +++ b/devtools/client/inspector/rules/test/browser_rules_add-rule-then-property-edit-selector.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_add-rule-with-menu.js b/devtools/client/inspector/rules/test/browser_rules_add-rule-with-menu.js index 976fc9643..13c4d1f15 100644 --- a/devtools/client/inspector/rules/test/browser_rules_add-rule-with-menu.js +++ b/devtools/client/inspector/rules/test/browser_rules_add-rule-with-menu.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_add-rule.js b/devtools/client/inspector/rules/test/browser_rules_add-rule.js index 296105c85..fa5d8fcd1 100644 --- a/devtools/client/inspector/rules/test/browser_rules_add-rule.js +++ b/devtools/client/inspector/rules/test/browser_rules_add-rule.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_authored.js b/devtools/client/inspector/rules/test/browser_rules_authored.js index cb0dd1186..5280e46cb 100644 --- a/devtools/client/inspector/rules/test/browser_rules_authored.js +++ b/devtools/client/inspector/rules/test/browser_rules_authored.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_authored_color.js b/devtools/client/inspector/rules/test/browser_rules_authored_color.js index 4c5cab206..b3b85b039 100644 --- a/devtools/client/inspector/rules/test/browser_rules_authored_color.js +++ b/devtools/client/inspector/rules/test/browser_rules_authored_color.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_authored_override.js b/devtools/client/inspector/rules/test/browser_rules_authored_override.js index 7305e5712..565b54533 100644 --- a/devtools/client/inspector/rules/test/browser_rules_authored_override.js +++ b/devtools/client/inspector/rules/test/browser_rules_authored_override.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_colorUnit.js b/devtools/client/inspector/rules/test/browser_rules_colorUnit.js index 138f68365..a7266ef13 100644 --- a/devtools/client/inspector/rules/test/browser_rules_colorUnit.js +++ b/devtools/client/inspector/rules/test/browser_rules_colorUnit.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_colorpicker-and-image-tooltip_01.js b/devtools/client/inspector/rules/test/browser_rules_colorpicker-and-image-tooltip_01.js index a8d2fd5f1..f879915cd 100644 --- a/devtools/client/inspector/rules/test/browser_rules_colorpicker-and-image-tooltip_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_colorpicker-and-image-tooltip_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_colorpicker-and-image-tooltip_02.js b/devtools/client/inspector/rules/test/browser_rules_colorpicker-and-image-tooltip_02.js index 743ad5180..f5071d466 100644 --- a/devtools/client/inspector/rules/test/browser_rules_colorpicker-and-image-tooltip_02.js +++ b/devtools/client/inspector/rules/test/browser_rules_colorpicker-and-image-tooltip_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_colorpicker-appears-on-swatch-click.js b/devtools/client/inspector/rules/test/browser_rules_colorpicker-appears-on-swatch-click.js index 383ffed6c..1e9be9fb5 100644 --- a/devtools/client/inspector/rules/test/browser_rules_colorpicker-appears-on-swatch-click.js +++ b/devtools/client/inspector/rules/test/browser_rules_colorpicker-appears-on-swatch-click.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_colorpicker-commit-on-ENTER.js b/devtools/client/inspector/rules/test/browser_rules_colorpicker-commit-on-ENTER.js index 129e8f245..1c2c8a10c 100644 --- a/devtools/client/inspector/rules/test/browser_rules_colorpicker-commit-on-ENTER.js +++ b/devtools/client/inspector/rules/test/browser_rules_colorpicker-commit-on-ENTER.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_colorpicker-edit-gradient.js b/devtools/client/inspector/rules/test/browser_rules_colorpicker-edit-gradient.js index 71ceb14c3..a00292ff3 100644 --- a/devtools/client/inspector/rules/test/browser_rules_colorpicker-edit-gradient.js +++ b/devtools/client/inspector/rules/test/browser_rules_colorpicker-edit-gradient.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_colorpicker-hides-on-tooltip.js b/devtools/client/inspector/rules/test/browser_rules_colorpicker-hides-on-tooltip.js index b50c63605..88fb09cf5 100644 --- a/devtools/client/inspector/rules/test/browser_rules_colorpicker-hides-on-tooltip.js +++ b/devtools/client/inspector/rules/test/browser_rules_colorpicker-hides-on-tooltip.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_colorpicker-multiple-changes.js b/devtools/client/inspector/rules/test/browser_rules_colorpicker-multiple-changes.js index 06fab72d6..2b724eb17 100644 --- a/devtools/client/inspector/rules/test/browser_rules_colorpicker-multiple-changes.js +++ b/devtools/client/inspector/rules/test/browser_rules_colorpicker-multiple-changes.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_colorpicker-release-outside-frame.js b/devtools/client/inspector/rules/test/browser_rules_colorpicker-release-outside-frame.js index ef6ca02b1..291bbe870 100644 --- a/devtools/client/inspector/rules/test/browser_rules_colorpicker-release-outside-frame.js +++ b/devtools/client/inspector/rules/test/browser_rules_colorpicker-release-outside-frame.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_colorpicker-revert-on-ESC.js b/devtools/client/inspector/rules/test/browser_rules_colorpicker-revert-on-ESC.js index e244d429c..a56c43e06 100644 --- a/devtools/client/inspector/rules/test/browser_rules_colorpicker-revert-on-ESC.js +++ b/devtools/client/inspector/rules/test/browser_rules_colorpicker-revert-on-ESC.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_colorpicker-swatch-displayed.js b/devtools/client/inspector/rules/test/browser_rules_colorpicker-swatch-displayed.js index b06ff37df..c7f1d7e01 100644 --- a/devtools/client/inspector/rules/test/browser_rules_colorpicker-swatch-displayed.js +++ b/devtools/client/inspector/rules/test/browser_rules_colorpicker-swatch-displayed.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_completion-existing-property_01.js b/devtools/client/inspector/rules/test/browser_rules_completion-existing-property_01.js index 566bae259..726b76cfe 100644 --- a/devtools/client/inspector/rules/test/browser_rules_completion-existing-property_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_completion-existing-property_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_completion-existing-property_02.js b/devtools/client/inspector/rules/test/browser_rules_completion-existing-property_02.js index fde8f5d12..84dc3c88d 100644 --- a/devtools/client/inspector/rules/test/browser_rules_completion-existing-property_02.js +++ b/devtools/client/inspector/rules/test/browser_rules_completion-existing-property_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_completion-new-property_01.js b/devtools/client/inspector/rules/test/browser_rules_completion-new-property_01.js index 86ff9ca03..4b02bc53a 100644 --- a/devtools/client/inspector/rules/test/browser_rules_completion-new-property_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_completion-new-property_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_completion-new-property_02.js b/devtools/client/inspector/rules/test/browser_rules_completion-new-property_02.js index d89e5129d..6e0cabfc2 100644 --- a/devtools/client/inspector/rules/test/browser_rules_completion-new-property_02.js +++ b/devtools/client/inspector/rules/test/browser_rules_completion-new-property_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_completion-new-property_03.js b/devtools/client/inspector/rules/test/browser_rules_completion-new-property_03.js index a5072429c..3a4416357 100644 --- a/devtools/client/inspector/rules/test/browser_rules_completion-new-property_03.js +++ b/devtools/client/inspector/rules/test/browser_rules_completion-new-property_03.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_completion-new-property_04.js b/devtools/client/inspector/rules/test/browser_rules_completion-new-property_04.js index e19794e1b..7acf1bb8d 100644 --- a/devtools/client/inspector/rules/test/browser_rules_completion-new-property_04.js +++ b/devtools/client/inspector/rules/test/browser_rules_completion-new-property_04.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_completion-new-property_multiline.js b/devtools/client/inspector/rules/test/browser_rules_completion-new-property_multiline.js index ec939eafc..f29de54a4 100644 --- a/devtools/client/inspector/rules/test/browser_rules_completion-new-property_multiline.js +++ b/devtools/client/inspector/rules/test/browser_rules_completion-new-property_multiline.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_completion-popup-hidden-after-navigation.js b/devtools/client/inspector/rules/test/browser_rules_completion-popup-hidden-after-navigation.js index 84f119606..e2db1b240 100644 --- a/devtools/client/inspector/rules/test/browser_rules_completion-popup-hidden-after-navigation.js +++ b/devtools/client/inspector/rules/test/browser_rules_completion-popup-hidden-after-navigation.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_computed-lists_01.js b/devtools/client/inspector/rules/test/browser_rules_computed-lists_01.js index 5acebd562..5c1b9afc0 100644 --- a/devtools/client/inspector/rules/test/browser_rules_computed-lists_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_computed-lists_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_computed-lists_02.js b/devtools/client/inspector/rules/test/browser_rules_computed-lists_02.js index d6dc82d5f..3058d3f54 100644 --- a/devtools/client/inspector/rules/test/browser_rules_computed-lists_02.js +++ b/devtools/client/inspector/rules/test/browser_rules_computed-lists_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_content_01.js b/devtools/client/inspector/rules/test/browser_rules_content_01.js index 8695d9b8d..1d683d823 100644 --- a/devtools/client/inspector/rules/test/browser_rules_content_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_content_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_content_02.js b/devtools/client/inspector/rules/test/browser_rules_content_02.js index 253f374b4..0144ef6ac 100644 --- a/devtools/client/inspector/rules/test/browser_rules_content_02.js +++ b/devtools/client/inspector/rules/test/browser_rules_content_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* globals getTestActorWithoutToolbox */ diff --git a/devtools/client/inspector/rules/test/browser_rules_context-menu-show-mdn-docs-01.js b/devtools/client/inspector/rules/test/browser_rules_context-menu-show-mdn-docs-01.js index b81bb8013..6fd8fb815 100644 --- a/devtools/client/inspector/rules/test/browser_rules_context-menu-show-mdn-docs-01.js +++ b/devtools/client/inspector/rules/test/browser_rules_context-menu-show-mdn-docs-01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_context-menu-show-mdn-docs-02.js b/devtools/client/inspector/rules/test/browser_rules_context-menu-show-mdn-docs-02.js index e0d08d28a..f3fa77689 100644 --- a/devtools/client/inspector/rules/test/browser_rules_context-menu-show-mdn-docs-02.js +++ b/devtools/client/inspector/rules/test/browser_rules_context-menu-show-mdn-docs-02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_context-menu-show-mdn-docs-03.js b/devtools/client/inspector/rules/test/browser_rules_context-menu-show-mdn-docs-03.js index d1089fcf6..ac5f636a2 100644 --- a/devtools/client/inspector/rules/test/browser_rules_context-menu-show-mdn-docs-03.js +++ b/devtools/client/inspector/rules/test/browser_rules_context-menu-show-mdn-docs-03.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_copy_styles.js b/devtools/client/inspector/rules/test/browser_rules_copy_styles.js index a6f991a60..d3e00668a 100644 --- a/devtools/client/inspector/rules/test/browser_rules_copy_styles.js +++ b/devtools/client/inspector/rules/test/browser_rules_copy_styles.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_css-docs-tooltip_closes-on-escape.js b/devtools/client/inspector/rules/test/browser_rules_css-docs-tooltip_closes-on-escape.js index f386f45b4..f54708739 100644 --- a/devtools/client/inspector/rules/test/browser_rules_css-docs-tooltip_closes-on-escape.js +++ b/devtools/client/inspector/rules/test/browser_rules_css-docs-tooltip_closes-on-escape.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_cssom.js b/devtools/client/inspector/rules/test/browser_rules_cssom.js index d20e85192..3df45aa3e 100644 --- a/devtools/client/inspector/rules/test/browser_rules_cssom.js +++ b/devtools/client/inspector/rules/test/browser_rules_cssom.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_cubicbezier-appears-on-swatch-click.js b/devtools/client/inspector/rules/test/browser_rules_cubicbezier-appears-on-swatch-click.js index 18099894b..cfa7e603c 100644 --- a/devtools/client/inspector/rules/test/browser_rules_cubicbezier-appears-on-swatch-click.js +++ b/devtools/client/inspector/rules/test/browser_rules_cubicbezier-appears-on-swatch-click.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_cubicbezier-commit-on-ENTER.js b/devtools/client/inspector/rules/test/browser_rules_cubicbezier-commit-on-ENTER.js index 5dc43d1c9..9acc8ad95 100644 --- a/devtools/client/inspector/rules/test/browser_rules_cubicbezier-commit-on-ENTER.js +++ b/devtools/client/inspector/rules/test/browser_rules_cubicbezier-commit-on-ENTER.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_cubicbezier-revert-on-ESC.js b/devtools/client/inspector/rules/test/browser_rules_cubicbezier-revert-on-ESC.js index 826d8a5aa..25b2fb1aa 100644 --- a/devtools/client/inspector/rules/test/browser_rules_cubicbezier-revert-on-ESC.js +++ b/devtools/client/inspector/rules/test/browser_rules_cubicbezier-revert-on-ESC.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_custom.js b/devtools/client/inspector/rules/test/browser_rules_custom.js index 7c941af6f..66efe80b3 100644 --- a/devtools/client/inspector/rules/test/browser_rules_custom.js +++ b/devtools/client/inspector/rules/test/browser_rules_custom.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_cycle-angle.js b/devtools/client/inspector/rules/test/browser_rules_cycle-angle.js index fa135f937..8ac733119 100644 --- a/devtools/client/inspector/rules/test/browser_rules_cycle-angle.js +++ b/devtools/client/inspector/rules/test/browser_rules_cycle-angle.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_cycle-color.js b/devtools/client/inspector/rules/test/browser_rules_cycle-color.js index e31ffa133..6be14d964 100644 --- a/devtools/client/inspector/rules/test/browser_rules_cycle-color.js +++ b/devtools/client/inspector/rules/test/browser_rules_cycle-color.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-display-grid-property.js b/devtools/client/inspector/rules/test/browser_rules_edit-display-grid-property.js index 18522b527..5ac3e3161 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-display-grid-property.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-display-grid-property.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-property-cancel.js b/devtools/client/inspector/rules/test/browser_rules_edit-property-cancel.js index af1a6fbc0..6a02a2f99 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-property-cancel.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-property-cancel.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-property-click.js b/devtools/client/inspector/rules/test/browser_rules_edit-property-click.js index 08a5ee786..c9ab43b53 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-property-click.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-property-click.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-property-commit.js b/devtools/client/inspector/rules/test/browser_rules_edit-property-commit.js index 8e16601c7..3b24425b1 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-property-commit.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-property-commit.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-property-computed.js b/devtools/client/inspector/rules/test/browser_rules_edit-property-computed.js index ee0a1fa74..9a6347771 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-property-computed.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-property-computed.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-property-increments.js b/devtools/client/inspector/rules/test/browser_rules_edit-property-increments.js index ca63cedcc..a2bf4b32e 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-property-increments.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-property-increments.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-property-order.js b/devtools/client/inspector/rules/test/browser_rules_edit-property-order.js index b4a86c194..bce6f49fb 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-property-order.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-property-order.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-property-remove_01.js b/devtools/client/inspector/rules/test/browser_rules_edit-property-remove_01.js index 0aed2f5c8..776f52387 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-property-remove_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-property-remove_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-property-remove_02.js b/devtools/client/inspector/rules/test/browser_rules_edit-property-remove_02.js index 5690e7c2d..05dec5ae7 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-property-remove_02.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-property-remove_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-property-remove_03.js b/devtools/client/inspector/rules/test/browser_rules_edit-property-remove_03.js index 21a1063c2..48fc0cde4 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-property-remove_03.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-property-remove_03.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-property_01.js b/devtools/client/inspector/rules/test/browser_rules_edit-property_01.js index 6f4c49e20..1f9897772 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-property_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-property_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-property_02.js b/devtools/client/inspector/rules/test/browser_rules_edit-property_02.js index 7e6315236..55bdce4f7 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-property_02.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-property_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-property_03.js b/devtools/client/inspector/rules/test/browser_rules_edit-property_03.js index a5771b41e..423e48416 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-property_03.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-property_03.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-property_04.js b/devtools/client/inspector/rules/test/browser_rules_edit-property_04.js index 7460db4cd..c73726b07 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-property_04.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-property_04.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-property_05.js b/devtools/client/inspector/rules/test/browser_rules_edit-property_05.js index 3d37c81d5..ed410fe92 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-property_05.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-property_05.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-property_06.js b/devtools/client/inspector/rules/test/browser_rules_edit-property_06.js index 95211f1d0..1dd7f9162 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-property_06.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-property_06.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-property_07.js b/devtools/client/inspector/rules/test/browser_rules_edit-property_07.js index 40314819f..2912b67e8 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-property_07.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-property_07.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-property_08.js b/devtools/client/inspector/rules/test/browser_rules_edit-property_08.js index 1becd40d9..9eb93a46c 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-property_08.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-property_08.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-property_09.js b/devtools/client/inspector/rules/test/browser_rules_edit-property_09.js index 51f714021..eb3664c5f 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-property_09.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-property_09.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-selector-click-on-scrollbar.js b/devtools/client/inspector/rules/test/browser_rules_edit-selector-click-on-scrollbar.js index 1846df60d..b6a0bb061 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-selector-click-on-scrollbar.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-selector-click-on-scrollbar.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-selector-click.js b/devtools/client/inspector/rules/test/browser_rules_edit-selector-click.js index 7a3b6d467..b6f14668a 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-selector-click.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-selector-click.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-selector-commit.js b/devtools/client/inspector/rules/test/browser_rules_edit-selector-commit.js index f7058371f..239f1c309 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-selector-commit.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-selector-commit.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-selector_01.js b/devtools/client/inspector/rules/test/browser_rules_edit-selector_01.js index af228094b..14522c6b9 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-selector_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-selector_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-selector_02.js b/devtools/client/inspector/rules/test/browser_rules_edit-selector_02.js index 503f91efa..58b7cda70 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-selector_02.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-selector_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-selector_03.js b/devtools/client/inspector/rules/test/browser_rules_edit-selector_03.js index c6834f6ee..27bc67e20 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-selector_03.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-selector_03.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-selector_04.js b/devtools/client/inspector/rules/test/browser_rules_edit-selector_04.js index 09b6ad841..a16cccef9 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-selector_04.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-selector_04.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-selector_05.js b/devtools/client/inspector/rules/test/browser_rules_edit-selector_05.js index cd996b4b0..3e1114071 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-selector_05.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-selector_05.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-selector_06.js b/devtools/client/inspector/rules/test/browser_rules_edit-selector_06.js index 7d782a309..2e869eba3 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-selector_06.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-selector_06.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-selector_08.js b/devtools/client/inspector/rules/test/browser_rules_edit-selector_08.js index 33382e0de..300600b14 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-selector_08.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-selector_08.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-selector_09.js b/devtools/client/inspector/rules/test/browser_rules_edit-selector_09.js index a18ddc5ef..a36b3f21f 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-selector_09.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-selector_09.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-selector_10.js b/devtools/client/inspector/rules/test/browser_rules_edit-selector_10.js index d878dd516..0cc2793b0 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-selector_10.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-selector_10.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-selector_11.js b/devtools/client/inspector/rules/test/browser_rules_edit-selector_11.js index 9a1bdc8fa..5103cb729 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-selector_11.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-selector_11.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-value-after-name_01.js b/devtools/client/inspector/rules/test/browser_rules_edit-value-after-name_01.js index dbf59cba9..6dea38c62 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-value-after-name_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-value-after-name_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-value-after-name_02.js b/devtools/client/inspector/rules/test/browser_rules_edit-value-after-name_02.js index 372ed7477..69e563375 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-value-after-name_02.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-value-after-name_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-value-after-name_03.js b/devtools/client/inspector/rules/test/browser_rules_edit-value-after-name_03.js index 041a45a3e..2653742e8 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-value-after-name_03.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-value-after-name_03.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_edit-value-after-name_04.js b/devtools/client/inspector/rules/test/browser_rules_edit-value-after-name_04.js index fa4d8e6e2..69f4dbd89 100644 --- a/devtools/client/inspector/rules/test/browser_rules_edit-value-after-name_04.js +++ b/devtools/client/inspector/rules/test/browser_rules_edit-value-after-name_04.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_editable-field-focus_01.js b/devtools/client/inspector/rules/test/browser_rules_editable-field-focus_01.js index c9c7cd3d2..b3cdae903 100644 --- a/devtools/client/inspector/rules/test/browser_rules_editable-field-focus_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_editable-field-focus_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_editable-field-focus_02.js b/devtools/client/inspector/rules/test/browser_rules_editable-field-focus_02.js index 13ad221f0..a57f4b031 100644 --- a/devtools/client/inspector/rules/test/browser_rules_editable-field-focus_02.js +++ b/devtools/client/inspector/rules/test/browser_rules_editable-field-focus_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_eyedropper.js b/devtools/client/inspector/rules/test/browser_rules_eyedropper.js index 0762066e3..2ae5324fc 100644 --- a/devtools/client/inspector/rules/test/browser_rules_eyedropper.js +++ b/devtools/client/inspector/rules/test/browser_rules_eyedropper.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/rules/test/browser_rules_grid-highlighter-on-navigate.js b/devtools/client/inspector/rules/test/browser_rules_grid-highlighter-on-navigate.js index 617eb00da..ef44c5100 100644 --- a/devtools/client/inspector/rules/test/browser_rules_grid-highlighter-on-navigate.js +++ b/devtools/client/inspector/rules/test/browser_rules_grid-highlighter-on-navigate.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_grid-highlighter-on-reload.js b/devtools/client/inspector/rules/test/browser_rules_grid-highlighter-on-reload.js index a6780a94a..f75f777e4 100644 --- a/devtools/client/inspector/rules/test/browser_rules_grid-highlighter-on-reload.js +++ b/devtools/client/inspector/rules/test/browser_rules_grid-highlighter-on-reload.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_grid-toggle_01.js b/devtools/client/inspector/rules/test/browser_rules_grid-toggle_01.js index 04534522b..a754195f8 100644 --- a/devtools/client/inspector/rules/test/browser_rules_grid-toggle_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_grid-toggle_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_grid-toggle_02.js b/devtools/client/inspector/rules/test/browser_rules_grid-toggle_02.js index 5c339e892..b81e55b30 100644 --- a/devtools/client/inspector/rules/test/browser_rules_grid-toggle_02.js +++ b/devtools/client/inspector/rules/test/browser_rules_grid-toggle_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_grid-toggle_03.js b/devtools/client/inspector/rules/test/browser_rules_grid-toggle_03.js index a908d6a97..75b4e3418 100644 --- a/devtools/client/inspector/rules/test/browser_rules_grid-toggle_03.js +++ b/devtools/client/inspector/rules/test/browser_rules_grid-toggle_03.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_guessIndentation.js b/devtools/client/inspector/rules/test/browser_rules_guessIndentation.js index ba2a1d7fb..de4d51c3b 100644 --- a/devtools/client/inspector/rules/test/browser_rules_guessIndentation.js +++ b/devtools/client/inspector/rules/test/browser_rules_guessIndentation.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_inherited-properties_01.js b/devtools/client/inspector/rules/test/browser_rules_inherited-properties_01.js index d1f6d7f45..cb48a0a21 100644 --- a/devtools/client/inspector/rules/test/browser_rules_inherited-properties_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_inherited-properties_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_inherited-properties_02.js b/devtools/client/inspector/rules/test/browser_rules_inherited-properties_02.js index db9662eee..2b3017fc3 100644 --- a/devtools/client/inspector/rules/test/browser_rules_inherited-properties_02.js +++ b/devtools/client/inspector/rules/test/browser_rules_inherited-properties_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_inherited-properties_03.js b/devtools/client/inspector/rules/test/browser_rules_inherited-properties_03.js index d6075f6f4..561663543 100644 --- a/devtools/client/inspector/rules/test/browser_rules_inherited-properties_03.js +++ b/devtools/client/inspector/rules/test/browser_rules_inherited-properties_03.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_inline-source-map.js b/devtools/client/inspector/rules/test/browser_rules_inline-source-map.js index 05109d8c6..79205c5a1 100644 --- a/devtools/client/inspector/rules/test/browser_rules_inline-source-map.js +++ b/devtools/client/inspector/rules/test/browser_rules_inline-source-map.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_invalid-source-map.js b/devtools/client/inspector/rules/test/browser_rules_invalid-source-map.js index 825f48a96..f4506e5ff 100644 --- a/devtools/client/inspector/rules/test/browser_rules_invalid-source-map.js +++ b/devtools/client/inspector/rules/test/browser_rules_invalid-source-map.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_invalid.js b/devtools/client/inspector/rules/test/browser_rules_invalid.js index e664f68ac..e3eaa19fc 100644 --- a/devtools/client/inspector/rules/test/browser_rules_invalid.js +++ b/devtools/client/inspector/rules/test/browser_rules_invalid.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_keybindings.js b/devtools/client/inspector/rules/test/browser_rules_keybindings.js index 84fdeff85..e23a06784 100644 --- a/devtools/client/inspector/rules/test/browser_rules_keybindings.js +++ b/devtools/client/inspector/rules/test/browser_rules_keybindings.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_keyframeLineNumbers.js b/devtools/client/inspector/rules/test/browser_rules_keyframeLineNumbers.js index ebbde08ac..09771874e 100644 --- a/devtools/client/inspector/rules/test/browser_rules_keyframeLineNumbers.js +++ b/devtools/client/inspector/rules/test/browser_rules_keyframeLineNumbers.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_keyframes-rule_01.js b/devtools/client/inspector/rules/test/browser_rules_keyframes-rule_01.js index 8d4b436c5..71d9e7364 100644 --- a/devtools/client/inspector/rules/test/browser_rules_keyframes-rule_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_keyframes-rule_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_keyframes-rule_02.js b/devtools/client/inspector/rules/test/browser_rules_keyframes-rule_02.js index b7652ecaa..c98cfddd8 100644 --- a/devtools/client/inspector/rules/test/browser_rules_keyframes-rule_02.js +++ b/devtools/client/inspector/rules/test/browser_rules_keyframes-rule_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_lineNumbers.js b/devtools/client/inspector/rules/test/browser_rules_lineNumbers.js index 3b09209f5..4d7a80f0e 100644 --- a/devtools/client/inspector/rules/test/browser_rules_lineNumbers.js +++ b/devtools/client/inspector/rules/test/browser_rules_lineNumbers.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_livepreview.js b/devtools/client/inspector/rules/test/browser_rules_livepreview.js index 1f1302a70..938c5a3b0 100644 --- a/devtools/client/inspector/rules/test/browser_rules_livepreview.js +++ b/devtools/client/inspector/rules/test/browser_rules_livepreview.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_mark_overridden_01.js b/devtools/client/inspector/rules/test/browser_rules_mark_overridden_01.js index ab10fadfe..56acf6534 100644 --- a/devtools/client/inspector/rules/test/browser_rules_mark_overridden_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_mark_overridden_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_mark_overridden_02.js b/devtools/client/inspector/rules/test/browser_rules_mark_overridden_02.js index c71fc7211..7c9af6610 100644 --- a/devtools/client/inspector/rules/test/browser_rules_mark_overridden_02.js +++ b/devtools/client/inspector/rules/test/browser_rules_mark_overridden_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_mark_overridden_03.js b/devtools/client/inspector/rules/test/browser_rules_mark_overridden_03.js index b99bab8b4..1404b7c7d 100644 --- a/devtools/client/inspector/rules/test/browser_rules_mark_overridden_03.js +++ b/devtools/client/inspector/rules/test/browser_rules_mark_overridden_03.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_mark_overridden_04.js b/devtools/client/inspector/rules/test/browser_rules_mark_overridden_04.js index fbce1ebf4..172089a52 100644 --- a/devtools/client/inspector/rules/test/browser_rules_mark_overridden_04.js +++ b/devtools/client/inspector/rules/test/browser_rules_mark_overridden_04.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_mark_overridden_05.js b/devtools/client/inspector/rules/test/browser_rules_mark_overridden_05.js index 11ecd72ff..a007062d4 100644 --- a/devtools/client/inspector/rules/test/browser_rules_mark_overridden_05.js +++ b/devtools/client/inspector/rules/test/browser_rules_mark_overridden_05.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_mark_overridden_06.js b/devtools/client/inspector/rules/test/browser_rules_mark_overridden_06.js index c2e71fe49..98b30b157 100644 --- a/devtools/client/inspector/rules/test/browser_rules_mark_overridden_06.js +++ b/devtools/client/inspector/rules/test/browser_rules_mark_overridden_06.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_mark_overridden_07.js b/devtools/client/inspector/rules/test/browser_rules_mark_overridden_07.js index 9480ddd47..361536073 100644 --- a/devtools/client/inspector/rules/test/browser_rules_mark_overridden_07.js +++ b/devtools/client/inspector/rules/test/browser_rules_mark_overridden_07.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_mathml-element.js b/devtools/client/inspector/rules/test/browser_rules_mathml-element.js index f8a1e8572..da60de6bb 100644 --- a/devtools/client/inspector/rules/test/browser_rules_mathml-element.js +++ b/devtools/client/inspector/rules/test/browser_rules_mathml-element.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_media-queries.js b/devtools/client/inspector/rules/test/browser_rules_media-queries.js index 57ab19163..07b63fc02 100644 --- a/devtools/client/inspector/rules/test/browser_rules_media-queries.js +++ b/devtools/client/inspector/rules/test/browser_rules_media-queries.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_multiple-properties-duplicates.js b/devtools/client/inspector/rules/test/browser_rules_multiple-properties-duplicates.js index c820dd73f..8a316860e 100644 --- a/devtools/client/inspector/rules/test/browser_rules_multiple-properties-duplicates.js +++ b/devtools/client/inspector/rules/test/browser_rules_multiple-properties-duplicates.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_multiple-properties-priority.js b/devtools/client/inspector/rules/test/browser_rules_multiple-properties-priority.js index f7d98b768..3f2e2909c 100644 --- a/devtools/client/inspector/rules/test/browser_rules_multiple-properties-priority.js +++ b/devtools/client/inspector/rules/test/browser_rules_multiple-properties-priority.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_multiple-properties-unfinished_01.js b/devtools/client/inspector/rules/test/browser_rules_multiple-properties-unfinished_01.js index deaf16029..c0c3516d2 100644 --- a/devtools/client/inspector/rules/test/browser_rules_multiple-properties-unfinished_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_multiple-properties-unfinished_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_multiple-properties-unfinished_02.js b/devtools/client/inspector/rules/test/browser_rules_multiple-properties-unfinished_02.js index dd1360b96..34a93aab1 100644 --- a/devtools/client/inspector/rules/test/browser_rules_multiple-properties-unfinished_02.js +++ b/devtools/client/inspector/rules/test/browser_rules_multiple-properties-unfinished_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_multiple_properties_01.js b/devtools/client/inspector/rules/test/browser_rules_multiple_properties_01.js index 2801df652..ca818f7ad 100644 --- a/devtools/client/inspector/rules/test/browser_rules_multiple_properties_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_multiple_properties_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_multiple_properties_02.js b/devtools/client/inspector/rules/test/browser_rules_multiple_properties_02.js index ce6f1909f..c2d271e18 100644 --- a/devtools/client/inspector/rules/test/browser_rules_multiple_properties_02.js +++ b/devtools/client/inspector/rules/test/browser_rules_multiple_properties_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_original-source-link.js b/devtools/client/inspector/rules/test/browser_rules_original-source-link.js index 09dad9a86..95949d6ad 100644 --- a/devtools/client/inspector/rules/test/browser_rules_original-source-link.js +++ b/devtools/client/inspector/rules/test/browser_rules_original-source-link.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_pseudo-element_01.js b/devtools/client/inspector/rules/test/browser_rules_pseudo-element_01.js index e98b5437c..77b8c0688 100644 --- a/devtools/client/inspector/rules/test/browser_rules_pseudo-element_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_pseudo-element_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_pseudo-element_02.js b/devtools/client/inspector/rules/test/browser_rules_pseudo-element_02.js index f69c328db..8e273d452 100644 --- a/devtools/client/inspector/rules/test/browser_rules_pseudo-element_02.js +++ b/devtools/client/inspector/rules/test/browser_rules_pseudo-element_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_pseudo_lock_options.js b/devtools/client/inspector/rules/test/browser_rules_pseudo_lock_options.js index d795ba5f3..1d8bb4eed 100644 --- a/devtools/client/inspector/rules/test/browser_rules_pseudo_lock_options.js +++ b/devtools/client/inspector/rules/test/browser_rules_pseudo_lock_options.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_refresh-no-flicker.js b/devtools/client/inspector/rules/test/browser_rules_refresh-no-flicker.js index 25ea3d972..51589a412 100644 --- a/devtools/client/inspector/rules/test/browser_rules_refresh-no-flicker.js +++ b/devtools/client/inspector/rules/test/browser_rules_refresh-no-flicker.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_refresh-on-attribute-change_01.js b/devtools/client/inspector/rules/test/browser_rules_refresh-on-attribute-change_01.js index 381a6bda2..563205df4 100644 --- a/devtools/client/inspector/rules/test/browser_rules_refresh-on-attribute-change_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_refresh-on-attribute-change_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_refresh-on-attribute-change_02.js b/devtools/client/inspector/rules/test/browser_rules_refresh-on-attribute-change_02.js index 6ee385faa..b65cb650e 100644 --- a/devtools/client/inspector/rules/test/browser_rules_refresh-on-attribute-change_02.js +++ b/devtools/client/inspector/rules/test/browser_rules_refresh-on-attribute-change_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_refresh-on-style-change.js b/devtools/client/inspector/rules/test/browser_rules_refresh-on-style-change.js index 81ff9d4d5..13d8472b1 100644 --- a/devtools/client/inspector/rules/test/browser_rules_refresh-on-style-change.js +++ b/devtools/client/inspector/rules/test/browser_rules_refresh-on-style-change.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_search-filter-computed-list_01.js b/devtools/client/inspector/rules/test/browser_rules_search-filter-computed-list_01.js index f4c47bba0..f9b0b04ef 100644 --- a/devtools/client/inspector/rules/test/browser_rules_search-filter-computed-list_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_search-filter-computed-list_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_search-filter-computed-list_02.js b/devtools/client/inspector/rules/test/browser_rules_search-filter-computed-list_02.js index 911f09ff3..e0ea70126 100644 --- a/devtools/client/inspector/rules/test/browser_rules_search-filter-computed-list_02.js +++ b/devtools/client/inspector/rules/test/browser_rules_search-filter-computed-list_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_search-filter-computed-list_03.js b/devtools/client/inspector/rules/test/browser_rules_search-filter-computed-list_03.js index 1d8063419..a74059efe 100644 --- a/devtools/client/inspector/rules/test/browser_rules_search-filter-computed-list_03.js +++ b/devtools/client/inspector/rules/test/browser_rules_search-filter-computed-list_03.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_search-filter-computed-list_04.js b/devtools/client/inspector/rules/test/browser_rules_search-filter-computed-list_04.js index 05b8b01eb..90e2b2455 100644 --- a/devtools/client/inspector/rules/test/browser_rules_search-filter-computed-list_04.js +++ b/devtools/client/inspector/rules/test/browser_rules_search-filter-computed-list_04.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_search-filter-computed-list_expander.js b/devtools/client/inspector/rules/test/browser_rules_search-filter-computed-list_expander.js index c8b1e0869..66814f310 100644 --- a/devtools/client/inspector/rules/test/browser_rules_search-filter-computed-list_expander.js +++ b/devtools/client/inspector/rules/test/browser_rules_search-filter-computed-list_expander.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_search-filter-overridden-property.js b/devtools/client/inspector/rules/test/browser_rules_search-filter-overridden-property.js index 3e634b76e..5c544f067 100644 --- a/devtools/client/inspector/rules/test/browser_rules_search-filter-overridden-property.js +++ b/devtools/client/inspector/rules/test/browser_rules_search-filter-overridden-property.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_search-filter_01.js b/devtools/client/inspector/rules/test/browser_rules_search-filter_01.js index 4dd1c951d..3cebb75aa 100644 --- a/devtools/client/inspector/rules/test/browser_rules_search-filter_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_search-filter_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_search-filter_02.js b/devtools/client/inspector/rules/test/browser_rules_search-filter_02.js index c23e7be62..183a57a94 100644 --- a/devtools/client/inspector/rules/test/browser_rules_search-filter_02.js +++ b/devtools/client/inspector/rules/test/browser_rules_search-filter_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_search-filter_03.js b/devtools/client/inspector/rules/test/browser_rules_search-filter_03.js index 89280f0eb..43de4f0a2 100644 --- a/devtools/client/inspector/rules/test/browser_rules_search-filter_03.js +++ b/devtools/client/inspector/rules/test/browser_rules_search-filter_03.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_search-filter_04.js b/devtools/client/inspector/rules/test/browser_rules_search-filter_04.js index 5804d74ac..8af837f13 100644 --- a/devtools/client/inspector/rules/test/browser_rules_search-filter_04.js +++ b/devtools/client/inspector/rules/test/browser_rules_search-filter_04.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_search-filter_05.js b/devtools/client/inspector/rules/test/browser_rules_search-filter_05.js index 9388dd47e..e900790cf 100644 --- a/devtools/client/inspector/rules/test/browser_rules_search-filter_05.js +++ b/devtools/client/inspector/rules/test/browser_rules_search-filter_05.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_search-filter_06.js b/devtools/client/inspector/rules/test/browser_rules_search-filter_06.js index 67b02ab73..9a690eba8 100644 --- a/devtools/client/inspector/rules/test/browser_rules_search-filter_06.js +++ b/devtools/client/inspector/rules/test/browser_rules_search-filter_06.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_search-filter_07.js b/devtools/client/inspector/rules/test/browser_rules_search-filter_07.js index 16b047d8d..057ccebc4 100644 --- a/devtools/client/inspector/rules/test/browser_rules_search-filter_07.js +++ b/devtools/client/inspector/rules/test/browser_rules_search-filter_07.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_search-filter_08.js b/devtools/client/inspector/rules/test/browser_rules_search-filter_08.js index 1a3c0de59..f990a02c6 100644 --- a/devtools/client/inspector/rules/test/browser_rules_search-filter_08.js +++ b/devtools/client/inspector/rules/test/browser_rules_search-filter_08.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_search-filter_09.js b/devtools/client/inspector/rules/test/browser_rules_search-filter_09.js index 620e5d336..e725354c5 100644 --- a/devtools/client/inspector/rules/test/browser_rules_search-filter_09.js +++ b/devtools/client/inspector/rules/test/browser_rules_search-filter_09.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_search-filter_10.js b/devtools/client/inspector/rules/test/browser_rules_search-filter_10.js index ac336591d..04ddf3e41 100644 --- a/devtools/client/inspector/rules/test/browser_rules_search-filter_10.js +++ b/devtools/client/inspector/rules/test/browser_rules_search-filter_10.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_search-filter_context-menu.js b/devtools/client/inspector/rules/test/browser_rules_search-filter_context-menu.js index d66df91ab..a28f0e1a1 100644 --- a/devtools/client/inspector/rules/test/browser_rules_search-filter_context-menu.js +++ b/devtools/client/inspector/rules/test/browser_rules_search-filter_context-menu.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_search-filter_escape-keypress.js b/devtools/client/inspector/rules/test/browser_rules_search-filter_escape-keypress.js index 21848dce8..a4a02193d 100644 --- a/devtools/client/inspector/rules/test/browser_rules_search-filter_escape-keypress.js +++ b/devtools/client/inspector/rules/test/browser_rules_search-filter_escape-keypress.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_select-and-copy-styles.js b/devtools/client/inspector/rules/test/browser_rules_select-and-copy-styles.js index b3f4ef364..86ee13cfb 100644 --- a/devtools/client/inspector/rules/test/browser_rules_select-and-copy-styles.js +++ b/devtools/client/inspector/rules/test/browser_rules_select-and-copy-styles.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_selector-highlighter-on-navigate.js b/devtools/client/inspector/rules/test/browser_rules_selector-highlighter-on-navigate.js index 54e25c399..c034605c9 100644 --- a/devtools/client/inspector/rules/test/browser_rules_selector-highlighter-on-navigate.js +++ b/devtools/client/inspector/rules/test/browser_rules_selector-highlighter-on-navigate.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_selector-highlighter_01.js b/devtools/client/inspector/rules/test/browser_rules_selector-highlighter_01.js index 4c8853e02..925bc3416 100644 --- a/devtools/client/inspector/rules/test/browser_rules_selector-highlighter_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_selector-highlighter_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_selector-highlighter_02.js b/devtools/client/inspector/rules/test/browser_rules_selector-highlighter_02.js index 33f73e587..e4385358a 100644 --- a/devtools/client/inspector/rules/test/browser_rules_selector-highlighter_02.js +++ b/devtools/client/inspector/rules/test/browser_rules_selector-highlighter_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_selector-highlighter_03.js b/devtools/client/inspector/rules/test/browser_rules_selector-highlighter_03.js index 1ffbac012..9b7d7f57d 100644 --- a/devtools/client/inspector/rules/test/browser_rules_selector-highlighter_03.js +++ b/devtools/client/inspector/rules/test/browser_rules_selector-highlighter_03.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_selector-highlighter_04.js b/devtools/client/inspector/rules/test/browser_rules_selector-highlighter_04.js index b770f8127..695e10306 100644 --- a/devtools/client/inspector/rules/test/browser_rules_selector-highlighter_04.js +++ b/devtools/client/inspector/rules/test/browser_rules_selector-highlighter_04.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_selector_highlight.js b/devtools/client/inspector/rules/test/browser_rules_selector_highlight.js index 91422d57a..73b0c228d 100644 --- a/devtools/client/inspector/rules/test/browser_rules_selector_highlight.js +++ b/devtools/client/inspector/rules/test/browser_rules_selector_highlight.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_strict-search-filter-computed-list_01.js b/devtools/client/inspector/rules/test/browser_rules_strict-search-filter-computed-list_01.js index dea9fff32..0e6f6e3a3 100644 --- a/devtools/client/inspector/rules/test/browser_rules_strict-search-filter-computed-list_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_strict-search-filter-computed-list_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_strict-search-filter_01.js b/devtools/client/inspector/rules/test/browser_rules_strict-search-filter_01.js index 50948e174..a7125d2b8 100644 --- a/devtools/client/inspector/rules/test/browser_rules_strict-search-filter_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_strict-search-filter_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_strict-search-filter_02.js b/devtools/client/inspector/rules/test/browser_rules_strict-search-filter_02.js index 0c76f0518..d73ce728f 100644 --- a/devtools/client/inspector/rules/test/browser_rules_strict-search-filter_02.js +++ b/devtools/client/inspector/rules/test/browser_rules_strict-search-filter_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_strict-search-filter_03.js b/devtools/client/inspector/rules/test/browser_rules_strict-search-filter_03.js index 0326b0e9c..f75fe661e 100644 --- a/devtools/client/inspector/rules/test/browser_rules_strict-search-filter_03.js +++ b/devtools/client/inspector/rules/test/browser_rules_strict-search-filter_03.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_style-editor-link.js b/devtools/client/inspector/rules/test/browser_rules_style-editor-link.js index 6a4fd1d66..431633c96 100644 --- a/devtools/client/inspector/rules/test/browser_rules_style-editor-link.js +++ b/devtools/client/inspector/rules/test/browser_rules_style-editor-link.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_urls-clickable.js b/devtools/client/inspector/rules/test/browser_rules_urls-clickable.js index fb1211e3c..f39461d9f 100644 --- a/devtools/client/inspector/rules/test/browser_rules_urls-clickable.js +++ b/devtools/client/inspector/rules/test/browser_rules_urls-clickable.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_user-agent-styles-uneditable.js b/devtools/client/inspector/rules/test/browser_rules_user-agent-styles-uneditable.js index e1bafff9b..0a757b009 100644 --- a/devtools/client/inspector/rules/test/browser_rules_user-agent-styles-uneditable.js +++ b/devtools/client/inspector/rules/test/browser_rules_user-agent-styles-uneditable.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_user-agent-styles.js b/devtools/client/inspector/rules/test/browser_rules_user-agent-styles.js index 6852e3c03..b0a1a00a9 100644 --- a/devtools/client/inspector/rules/test/browser_rules_user-agent-styles.js +++ b/devtools/client/inspector/rules/test/browser_rules_user-agent-styles.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/browser_rules_user-property-reset.js b/devtools/client/inspector/rules/test/browser_rules_user-property-reset.js index 62b1d927c..cfe95a956 100644 --- a/devtools/client/inspector/rules/test/browser_rules_user-property-reset.js +++ b/devtools/client/inspector/rules/test/browser_rules_user-property-reset.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/rules/test/doc_frame_script.js b/devtools/client/inspector/rules/test/doc_frame_script.js index 88da043f1..46ccfff93 100644 --- a/devtools/client/inspector/rules/test/doc_frame_script.js +++ b/devtools/client/inspector/rules/test/doc_frame_script.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* globals addMessageListener, sendAsyncMessage */ diff --git a/devtools/client/inspector/rules/test/head.js b/devtools/client/inspector/rules/test/head.js index 5e5ede09b..2c919c4a3 100644 --- a/devtools/client/inspector/rules/test/head.js +++ b/devtools/client/inspector/rules/test/head.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* eslint no-unused-vars: [2, {"vars": "local"}] */ diff --git a/devtools/client/inspector/shared/test/browser_styleinspector_context-menu-copy-color_01.js b/devtools/client/inspector/shared/test/browser_styleinspector_context-menu-copy-color_01.js index 5a27edf16..276e23420 100644 --- a/devtools/client/inspector/shared/test/browser_styleinspector_context-menu-copy-color_01.js +++ b/devtools/client/inspector/shared/test/browser_styleinspector_context-menu-copy-color_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/shared/test/browser_styleinspector_context-menu-copy-color_02.js b/devtools/client/inspector/shared/test/browser_styleinspector_context-menu-copy-color_02.js index afae7a2b6..fed5c8b9c 100644 --- a/devtools/client/inspector/shared/test/browser_styleinspector_context-menu-copy-color_02.js +++ b/devtools/client/inspector/shared/test/browser_styleinspector_context-menu-copy-color_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/shared/test/browser_styleinspector_csslogic-content-stylesheets.js b/devtools/client/inspector/shared/test/browser_styleinspector_csslogic-content-stylesheets.js index 421a2bb47..49df10edb 100644 --- a/devtools/client/inspector/shared/test/browser_styleinspector_csslogic-content-stylesheets.js +++ b/devtools/client/inspector/shared/test/browser_styleinspector_csslogic-content-stylesheets.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/shared/test/browser_styleinspector_output-parser.js b/devtools/client/inspector/shared/test/browser_styleinspector_output-parser.js index f1f846f5d..d6a4f0bda 100644 --- a/devtools/client/inspector/shared/test/browser_styleinspector_output-parser.js +++ b/devtools/client/inspector/shared/test/browser_styleinspector_output-parser.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/shared/test/browser_styleinspector_refresh_when_active.js b/devtools/client/inspector/shared/test/browser_styleinspector_refresh_when_active.js index 942fe05e2..ddb2e0357 100644 --- a/devtools/client/inspector/shared/test/browser_styleinspector_refresh_when_active.js +++ b/devtools/client/inspector/shared/test/browser_styleinspector_refresh_when_active.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/shared/test/browser_styleinspector_tooltip-background-image.js b/devtools/client/inspector/shared/test/browser_styleinspector_tooltip-background-image.js index bd467b800..6a823b491 100644 --- a/devtools/client/inspector/shared/test/browser_styleinspector_tooltip-background-image.js +++ b/devtools/client/inspector/shared/test/browser_styleinspector_tooltip-background-image.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/shared/test/browser_styleinspector_tooltip-closes-on-new-selection.js b/devtools/client/inspector/shared/test/browser_styleinspector_tooltip-closes-on-new-selection.js index 7f15d4fbe..af0a3e98a 100644 --- a/devtools/client/inspector/shared/test/browser_styleinspector_tooltip-closes-on-new-selection.js +++ b/devtools/client/inspector/shared/test/browser_styleinspector_tooltip-closes-on-new-selection.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/shared/test/browser_styleinspector_tooltip-longhand-fontfamily.js b/devtools/client/inspector/shared/test/browser_styleinspector_tooltip-longhand-fontfamily.js index 6bce367ae..15070acb1 100644 --- a/devtools/client/inspector/shared/test/browser_styleinspector_tooltip-longhand-fontfamily.js +++ b/devtools/client/inspector/shared/test/browser_styleinspector_tooltip-longhand-fontfamily.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/shared/test/browser_styleinspector_tooltip-multiple-background-images.js b/devtools/client/inspector/shared/test/browser_styleinspector_tooltip-multiple-background-images.js index 60d747a45..8939512c7 100644 --- a/devtools/client/inspector/shared/test/browser_styleinspector_tooltip-multiple-background-images.js +++ b/devtools/client/inspector/shared/test/browser_styleinspector_tooltip-multiple-background-images.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/shared/test/browser_styleinspector_tooltip-shorthand-fontfamily.js b/devtools/client/inspector/shared/test/browser_styleinspector_tooltip-shorthand-fontfamily.js index bb851ec92..e24a8af2d 100644 --- a/devtools/client/inspector/shared/test/browser_styleinspector_tooltip-shorthand-fontfamily.js +++ b/devtools/client/inspector/shared/test/browser_styleinspector_tooltip-shorthand-fontfamily.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/shared/test/browser_styleinspector_tooltip-size.js b/devtools/client/inspector/shared/test/browser_styleinspector_tooltip-size.js index b231fe1b1..c0e407f3c 100644 --- a/devtools/client/inspector/shared/test/browser_styleinspector_tooltip-size.js +++ b/devtools/client/inspector/shared/test/browser_styleinspector_tooltip-size.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/shared/test/browser_styleinspector_transform-highlighter-01.js b/devtools/client/inspector/shared/test/browser_styleinspector_transform-highlighter-01.js index 68a91ff95..970e46464 100644 --- a/devtools/client/inspector/shared/test/browser_styleinspector_transform-highlighter-01.js +++ b/devtools/client/inspector/shared/test/browser_styleinspector_transform-highlighter-01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/shared/test/browser_styleinspector_transform-highlighter-02.js b/devtools/client/inspector/shared/test/browser_styleinspector_transform-highlighter-02.js index a44a31422..a9de28aa5 100644 --- a/devtools/client/inspector/shared/test/browser_styleinspector_transform-highlighter-02.js +++ b/devtools/client/inspector/shared/test/browser_styleinspector_transform-highlighter-02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/shared/test/browser_styleinspector_transform-highlighter-03.js b/devtools/client/inspector/shared/test/browser_styleinspector_transform-highlighter-03.js index 1ecdf279e..344d0170b 100644 --- a/devtools/client/inspector/shared/test/browser_styleinspector_transform-highlighter-03.js +++ b/devtools/client/inspector/shared/test/browser_styleinspector_transform-highlighter-03.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/shared/test/browser_styleinspector_transform-highlighter-04.js b/devtools/client/inspector/shared/test/browser_styleinspector_transform-highlighter-04.js index 9d81e2649..cc5bbd270 100644 --- a/devtools/client/inspector/shared/test/browser_styleinspector_transform-highlighter-04.js +++ b/devtools/client/inspector/shared/test/browser_styleinspector_transform-highlighter-04.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/shared/test/doc_frame_script.js b/devtools/client/inspector/shared/test/doc_frame_script.js index aeb73a115..adb438bd1 100644 --- a/devtools/client/inspector/shared/test/doc_frame_script.js +++ b/devtools/client/inspector/shared/test/doc_frame_script.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* globals addMessageListener, sendAsyncMessage */ diff --git a/devtools/client/inspector/shared/test/head.js b/devtools/client/inspector/shared/test/head.js index bcc2ec2c7..73606be24 100644 --- a/devtools/client/inspector/shared/test/head.js +++ b/devtools/client/inspector/shared/test/head.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* eslint no-unused-vars: [2, {"vars": "local"}] */ diff --git a/devtools/client/inspector/test/browser_inspector_addNode_01.js b/devtools/client/inspector/test/browser_inspector_addNode_01.js index f90cb6c5c..4ba7395a4 100644 --- a/devtools/client/inspector/test/browser_inspector_addNode_01.js +++ b/devtools/client/inspector/test/browser_inspector_addNode_01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/test/browser_inspector_addNode_02.js b/devtools/client/inspector/test/browser_inspector_addNode_02.js index 2421f9df3..54a77506f 100644 --- a/devtools/client/inspector/test/browser_inspector_addNode_02.js +++ b/devtools/client/inspector/test/browser_inspector_addNode_02.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/test/browser_inspector_addNode_03.js b/devtools/client/inspector/test/browser_inspector_addNode_03.js index 38a8369ec..06a91f955 100644 --- a/devtools/client/inspector/test/browser_inspector_addNode_03.js +++ b/devtools/client/inspector/test/browser_inspector_addNode_03.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/test/browser_inspector_addSidebarTab.js b/devtools/client/inspector/test/browser_inspector_addSidebarTab.js index 77dc2632e..814cdeba4 100644 --- a/devtools/client/inspector/test/browser_inspector_addSidebarTab.js +++ b/devtools/client/inspector/test/browser_inspector_addSidebarTab.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_breadcrumbs.js b/devtools/client/inspector/test/browser_inspector_breadcrumbs.js index e5befff9e..2be6d3248 100644 --- a/devtools/client/inspector/test/browser_inspector_breadcrumbs.js +++ b/devtools/client/inspector/test/browser_inspector_breadcrumbs.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_breadcrumbs_keybinding.js b/devtools/client/inspector/test/browser_inspector_breadcrumbs_keybinding.js index 8e72a8bab..4de1e794a 100644 --- a/devtools/client/inspector/test/browser_inspector_breadcrumbs_keybinding.js +++ b/devtools/client/inspector/test/browser_inspector_breadcrumbs_keybinding.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_breadcrumbs_keyboard_trap.js b/devtools/client/inspector/test/browser_inspector_breadcrumbs_keyboard_trap.js index 16c70650b..736bef694 100644 --- a/devtools/client/inspector/test/browser_inspector_breadcrumbs_keyboard_trap.js +++ b/devtools/client/inspector/test/browser_inspector_breadcrumbs_keyboard_trap.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/test/browser_inspector_breadcrumbs_mutations.js b/devtools/client/inspector/test/browser_inspector_breadcrumbs_mutations.js index 100ee275a..e5277d8f2 100644 --- a/devtools/client/inspector/test/browser_inspector_breadcrumbs_mutations.js +++ b/devtools/client/inspector/test/browser_inspector_breadcrumbs_mutations.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_breadcrumbs_namespaced.js b/devtools/client/inspector/test/browser_inspector_breadcrumbs_namespaced.js index 0b14ef1b0..5db4d3a2d 100644 --- a/devtools/client/inspector/test/browser_inspector_breadcrumbs_namespaced.js +++ b/devtools/client/inspector/test/browser_inspector_breadcrumbs_namespaced.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_breadcrumbs_visibility.js b/devtools/client/inspector/test/browser_inspector_breadcrumbs_visibility.js index caee745c9..9a1bd51ee 100644 --- a/devtools/client/inspector/test/browser_inspector_breadcrumbs_visibility.js +++ b/devtools/client/inspector/test/browser_inspector_breadcrumbs_visibility.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_delete-selected-node-01.js b/devtools/client/inspector/test/browser_inspector_delete-selected-node-01.js index 3b5049e25..66b88fec9 100644 --- a/devtools/client/inspector/test/browser_inspector_delete-selected-node-01.js +++ b/devtools/client/inspector/test/browser_inspector_delete-selected-node-01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_delete-selected-node-03.js b/devtools/client/inspector/test/browser_inspector_delete-selected-node-03.js index 21057cdb6..3f7365457 100644 --- a/devtools/client/inspector/test/browser_inspector_delete-selected-node-03.js +++ b/devtools/client/inspector/test/browser_inspector_delete-selected-node-03.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_destroy-after-navigation.js b/devtools/client/inspector/test/browser_inspector_destroy-after-navigation.js index 5fcd5538b..5d47f2b45 100644 --- a/devtools/client/inspector/test/browser_inspector_destroy-after-navigation.js +++ b/devtools/client/inspector/test/browser_inspector_destroy-after-navigation.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_destroy-before-ready.js b/devtools/client/inspector/test/browser_inspector_destroy-before-ready.js index ac8ad5d37..468e3b4b5 100644 --- a/devtools/client/inspector/test/browser_inspector_destroy-before-ready.js +++ b/devtools/client/inspector/test/browser_inspector_destroy-before-ready.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/test/browser_inspector_expand-collapse.js b/devtools/client/inspector/test/browser_inspector_expand-collapse.js index 3b1dcb6b2..25651a6d0 100644 --- a/devtools/client/inspector/test/browser_inspector_expand-collapse.js +++ b/devtools/client/inspector/test/browser_inspector_expand-collapse.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/test/browser_inspector_gcli-inspect-command.js b/devtools/client/inspector/test/browser_inspector_gcli-inspect-command.js index dca8167c4..e371c34d9 100644 --- a/devtools/client/inspector/test/browser_inspector_gcli-inspect-command.js +++ b/devtools/client/inspector/test/browser_inspector_gcli-inspect-command.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ /* eslint key-spacing: 0 */ diff --git a/devtools/client/inspector/test/browser_inspector_highlighter-03.js b/devtools/client/inspector/test/browser_inspector_highlighter-03.js index 344b5c6c8..d51cc5597 100644 --- a/devtools/client/inspector/test/browser_inspector_highlighter-03.js +++ b/devtools/client/inspector/test/browser_inspector_highlighter-03.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_highlighter-hover_01.js b/devtools/client/inspector/test/browser_inspector_highlighter-hover_01.js index 85f897080..12eeb4310 100644 --- a/devtools/client/inspector/test/browser_inspector_highlighter-hover_01.js +++ b/devtools/client/inspector/test/browser_inspector_highlighter-hover_01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/test/browser_inspector_highlighter-hover_02.js b/devtools/client/inspector/test/browser_inspector_highlighter-hover_02.js index e853b3963..1338c14da 100644 --- a/devtools/client/inspector/test/browser_inspector_highlighter-hover_02.js +++ b/devtools/client/inspector/test/browser_inspector_highlighter-hover_02.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/test/browser_inspector_highlighter-hover_03.js b/devtools/client/inspector/test/browser_inspector_highlighter-hover_03.js index fcd88be7f..d0e6ffa41 100644 --- a/devtools/client/inspector/test/browser_inspector_highlighter-hover_03.js +++ b/devtools/client/inspector/test/browser_inspector_highlighter-hover_03.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/test/browser_inspector_highlighter-keybinding_04.js b/devtools/client/inspector/test/browser_inspector_highlighter-keybinding_04.js index f53ca8ee6..830bdb4ea 100644 --- a/devtools/client/inspector/test/browser_inspector_highlighter-keybinding_04.js +++ b/devtools/client/inspector/test/browser_inspector_highlighter-keybinding_04.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/test/browser_inspector_iframe-navigation.js b/devtools/client/inspector/test/browser_inspector_iframe-navigation.js index df638b5cb..8818bfe12 100644 --- a/devtools/client/inspector/test/browser_inspector_iframe-navigation.js +++ b/devtools/client/inspector/test/browser_inspector_iframe-navigation.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_inspect-object-element.js b/devtools/client/inspector/test/browser_inspector_inspect-object-element.js index ca646c506..541e4442f 100644 --- a/devtools/client/inspector/test/browser_inspector_inspect-object-element.js +++ b/devtools/client/inspector/test/browser_inspector_inspect-object-element.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_invalidate.js b/devtools/client/inspector/test/browser_inspector_invalidate.js index 040bd1c1c..9a24e8223 100644 --- a/devtools/client/inspector/test/browser_inspector_invalidate.js +++ b/devtools/client/inspector/test/browser_inspector_invalidate.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/test/browser_inspector_keyboard-shortcuts-copy-outerhtml.js b/devtools/client/inspector/test/browser_inspector_keyboard-shortcuts-copy-outerhtml.js index 46b0ce5f5..941831067 100644 --- a/devtools/client/inspector/test/browser_inspector_keyboard-shortcuts-copy-outerhtml.js +++ b/devtools/client/inspector/test/browser_inspector_keyboard-shortcuts-copy-outerhtml.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_keyboard-shortcuts.js b/devtools/client/inspector/test/browser_inspector_keyboard-shortcuts.js index f03a33fd1..bde97f335 100644 --- a/devtools/client/inspector/test/browser_inspector_keyboard-shortcuts.js +++ b/devtools/client/inspector/test/browser_inspector_keyboard-shortcuts.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_menu-01-sensitivity.js b/devtools/client/inspector/test/browser_inspector_menu-01-sensitivity.js index 052e9da68..854bfffc6 100644 --- a/devtools/client/inspector/test/browser_inspector_menu-01-sensitivity.js +++ b/devtools/client/inspector/test/browser_inspector_menu-01-sensitivity.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_menu-02-copy-items.js b/devtools/client/inspector/test/browser_inspector_menu-02-copy-items.js index 57a5dbaa0..b75c43bd5 100644 --- a/devtools/client/inspector/test/browser_inspector_menu-02-copy-items.js +++ b/devtools/client/inspector/test/browser_inspector_menu-02-copy-items.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_menu-03-paste-items-svg.js b/devtools/client/inspector/test/browser_inspector_menu-03-paste-items-svg.js index 26ae3ff00..a4ce0054c 100644 --- a/devtools/client/inspector/test/browser_inspector_menu-03-paste-items-svg.js +++ b/devtools/client/inspector/test/browser_inspector_menu-03-paste-items-svg.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_menu-03-paste-items.js b/devtools/client/inspector/test/browser_inspector_menu-03-paste-items.js index 19e5742de..bdf4aa498 100644 --- a/devtools/client/inspector/test/browser_inspector_menu-03-paste-items.js +++ b/devtools/client/inspector/test/browser_inspector_menu-03-paste-items.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_menu-04-use-in-console.js b/devtools/client/inspector/test/browser_inspector_menu-04-use-in-console.js index 3908784f6..8eafc1407 100644 --- a/devtools/client/inspector/test/browser_inspector_menu-04-use-in-console.js +++ b/devtools/client/inspector/test/browser_inspector_menu-04-use-in-console.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js b/devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js index df901f0a4..2ca19f9e1 100644 --- a/devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js +++ b/devtools/client/inspector/test/browser_inspector_menu-05-attribute-items.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_menu-06-other.js b/devtools/client/inspector/test/browser_inspector_menu-06-other.js index 9f4310121..6b528ce00 100644 --- a/devtools/client/inspector/test/browser_inspector_menu-06-other.js +++ b/devtools/client/inspector/test/browser_inspector_menu-06-other.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_pane-toggle-01.js b/devtools/client/inspector/test/browser_inspector_pane-toggle-01.js index 1ec95cec3..574b8a660 100644 --- a/devtools/client/inspector/test/browser_inspector_pane-toggle-01.js +++ b/devtools/client/inspector/test/browser_inspector_pane-toggle-01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_pane-toggle-02.js b/devtools/client/inspector/test/browser_inspector_pane-toggle-02.js index 54b68c655..0d922de08 100644 --- a/devtools/client/inspector/test/browser_inspector_pane-toggle-02.js +++ b/devtools/client/inspector/test/browser_inspector_pane-toggle-02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_pane-toggle-03.js b/devtools/client/inspector/test/browser_inspector_pane-toggle-03.js index 02fffd995..43e6760c5 100644 --- a/devtools/client/inspector/test/browser_inspector_pane-toggle-03.js +++ b/devtools/client/inspector/test/browser_inspector_pane-toggle-03.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_pane-toggle-05.js b/devtools/client/inspector/test/browser_inspector_pane-toggle-05.js index 2a0c82037..04f3677af 100644 --- a/devtools/client/inspector/test/browser_inspector_pane-toggle-05.js +++ b/devtools/client/inspector/test/browser_inspector_pane-toggle-05.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_picker-stop-on-destroy.js b/devtools/client/inspector/test/browser_inspector_picker-stop-on-destroy.js index bc81b9661..3835f2bc5 100644 --- a/devtools/client/inspector/test/browser_inspector_picker-stop-on-destroy.js +++ b/devtools/client/inspector/test/browser_inspector_picker-stop-on-destroy.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/test/browser_inspector_picker-stop-on-tool-change.js b/devtools/client/inspector/test/browser_inspector_picker-stop-on-tool-change.js index 37dc82ec1..7f3a0181d 100644 --- a/devtools/client/inspector/test/browser_inspector_picker-stop-on-tool-change.js +++ b/devtools/client/inspector/test/browser_inspector_picker-stop-on-tool-change.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/inspector/test/browser_inspector_pseudoclass-lock.js b/devtools/client/inspector/test/browser_inspector_pseudoclass-lock.js index bd98bd58f..ba6d7a8ce 100644 --- a/devtools/client/inspector/test/browser_inspector_pseudoclass-lock.js +++ b/devtools/client/inspector/test/browser_inspector_pseudoclass-lock.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* globals getTestActorWithoutToolbox */ diff --git a/devtools/client/inspector/test/browser_inspector_pseudoclass-menu.js b/devtools/client/inspector/test/browser_inspector_pseudoclass-menu.js index 45bd82b76..891884e43 100644 --- a/devtools/client/inspector/test/browser_inspector_pseudoclass-menu.js +++ b/devtools/client/inspector/test/browser_inspector_pseudoclass-menu.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_remove-iframe-during-load.js b/devtools/client/inspector/test/browser_inspector_remove-iframe-during-load.js index 2058b85fa..82783571e 100644 --- a/devtools/client/inspector/test/browser_inspector_remove-iframe-during-load.js +++ b/devtools/client/inspector/test/browser_inspector_remove-iframe-during-load.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_search-01.js b/devtools/client/inspector/test/browser_inspector_search-01.js index a4fd4d424..d904dbe8d 100644 --- a/devtools/client/inspector/test/browser_inspector_search-01.js +++ b/devtools/client/inspector/test/browser_inspector_search-01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* eslint no-inline-comments: 0 */ diff --git a/devtools/client/inspector/test/browser_inspector_search-02.js b/devtools/client/inspector/test/browser_inspector_search-02.js index 5e75f5dd2..251548821 100644 --- a/devtools/client/inspector/test/browser_inspector_search-02.js +++ b/devtools/client/inspector/test/browser_inspector_search-02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_search-03.js b/devtools/client/inspector/test/browser_inspector_search-03.js index 215b536a6..2c94013a6 100644 --- a/devtools/client/inspector/test/browser_inspector_search-03.js +++ b/devtools/client/inspector/test/browser_inspector_search-03.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_search-04.js b/devtools/client/inspector/test/browser_inspector_search-04.js index a5aee8156..c9533d3bc 100644 --- a/devtools/client/inspector/test/browser_inspector_search-04.js +++ b/devtools/client/inspector/test/browser_inspector_search-04.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_search-05.js b/devtools/client/inspector/test/browser_inspector_search-05.js index 542d0ccc5..933922c06 100644 --- a/devtools/client/inspector/test/browser_inspector_search-05.js +++ b/devtools/client/inspector/test/browser_inspector_search-05.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_search-07.js b/devtools/client/inspector/test/browser_inspector_search-07.js index 79e2021cd..b3c8b2960 100644 --- a/devtools/client/inspector/test/browser_inspector_search-07.js +++ b/devtools/client/inspector/test/browser_inspector_search-07.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_search-08.js b/devtools/client/inspector/test/browser_inspector_search-08.js index f5c77fcac..c8c2bb9ee 100644 --- a/devtools/client/inspector/test/browser_inspector_search-08.js +++ b/devtools/client/inspector/test/browser_inspector_search-08.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_search-clear.js b/devtools/client/inspector/test/browser_inspector_search-clear.js index 4388c70a6..37113bacd 100644 --- a/devtools/client/inspector/test/browser_inspector_search-clear.js +++ b/devtools/client/inspector/test/browser_inspector_search-clear.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_search-filter_context-menu.js b/devtools/client/inspector/test/browser_inspector_search-filter_context-menu.js index 7bd4b5e6f..e8ff401b3 100644 --- a/devtools/client/inspector/test/browser_inspector_search-filter_context-menu.js +++ b/devtools/client/inspector/test/browser_inspector_search-filter_context-menu.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_search-navigation.js b/devtools/client/inspector/test/browser_inspector_search-navigation.js index bf409fcc7..7e09531ac 100644 --- a/devtools/client/inspector/test/browser_inspector_search-navigation.js +++ b/devtools/client/inspector/test/browser_inspector_search-navigation.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_search-reserved.js b/devtools/client/inspector/test/browser_inspector_search-reserved.js index e8141eb08..db14a5f1d 100644 --- a/devtools/client/inspector/test/browser_inspector_search-reserved.js +++ b/devtools/client/inspector/test/browser_inspector_search-reserved.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_search-selection.js b/devtools/client/inspector/test/browser_inspector_search-selection.js index 99f1e34bb..b11991111 100644 --- a/devtools/client/inspector/test/browser_inspector_search-selection.js +++ b/devtools/client/inspector/test/browser_inspector_search-selection.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_search-sidebar.js b/devtools/client/inspector/test/browser_inspector_search-sidebar.js index d65a670ac..7b7d253c1 100644 --- a/devtools/client/inspector/test/browser_inspector_search-sidebar.js +++ b/devtools/client/inspector/test/browser_inspector_search-sidebar.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_search_keyboard_trap.js b/devtools/client/inspector/test/browser_inspector_search_keyboard_trap.js index 391d812a2..8ed6bf775 100644 --- a/devtools/client/inspector/test/browser_inspector_search_keyboard_trap.js +++ b/devtools/client/inspector/test/browser_inspector_search_keyboard_trap.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/inspector/test/browser_inspector_sidebarstate.js b/devtools/client/inspector/test/browser_inspector_sidebarstate.js index a2bb764c1..cdb6ff2db 100644 --- a/devtools/client/inspector/test/browser_inspector_sidebarstate.js +++ b/devtools/client/inspector/test/browser_inspector_sidebarstate.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_switch-to-inspector-on-pick.js b/devtools/client/inspector/test/browser_inspector_switch-to-inspector-on-pick.js index 53b2892ac..c1e3b0641 100644 --- a/devtools/client/inspector/test/browser_inspector_switch-to-inspector-on-pick.js +++ b/devtools/client/inspector/test/browser_inspector_switch-to-inspector-on-pick.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/browser_inspector_textbox-menu.js b/devtools/client/inspector/test/browser_inspector_textbox-menu.js index 74190229f..e506f78f0 100644 --- a/devtools/client/inspector/test/browser_inspector_textbox-menu.js +++ b/devtools/client/inspector/test/browser_inspector_textbox-menu.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/inspector/test/head.js b/devtools/client/inspector/test/head.js index f251568df..a958d0cd5 100644 --- a/devtools/client/inspector/test/head.js +++ b/devtools/client/inspector/test/head.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/jsonview/test/doc_frame_script.js b/devtools/client/jsonview/test/doc_frame_script.js index 3d19b3433..3097adce7 100644 --- a/devtools/client/jsonview/test/doc_frame_script.js +++ b/devtools/client/jsonview/test/doc_frame_script.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/jsonview/test/head.js b/devtools/client/jsonview/test/head.js index b71883e67..e2d463a1a 100644 --- a/devtools/client/jsonview/test/head.js +++ b/devtools/client/jsonview/test/head.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ /* eslint no-unused-vars: [2, {"vars": "local", "args": "none"}] */ diff --git a/devtools/client/netmonitor/test/browser_net_cached-status.js b/devtools/client/netmonitor/test/browser_net_cached-status.js index 66b926bea..bc97f7677 100644 --- a/devtools/client/netmonitor/test/browser_net_cached-status.js +++ b/devtools/client/netmonitor/test/browser_net_cached-status.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/netmonitor/test/browser_net_cors_requests.js b/devtools/client/netmonitor/test/browser_net_cors_requests.js index d61b8e2f0..4a9f84335 100644 --- a/devtools/client/netmonitor/test/browser_net_cors_requests.js +++ b/devtools/client/netmonitor/test/browser_net_cors_requests.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/netmonitor/test/browser_net_details-no-duplicated-content.js b/devtools/client/netmonitor/test/browser_net_details-no-duplicated-content.js index c3df51ced..ab38210db 100644 --- a/devtools/client/netmonitor/test/browser_net_details-no-duplicated-content.js +++ b/devtools/client/netmonitor/test/browser_net_details-no-duplicated-content.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/netmonitor/test/browser_net_security-details.js b/devtools/client/netmonitor/test/browser_net_security-details.js index 61f39a414..c4cb8a4be 100644 --- a/devtools/client/netmonitor/test/browser_net_security-details.js +++ b/devtools/client/netmonitor/test/browser_net_security-details.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/netmonitor/test/browser_net_security-error.js b/devtools/client/netmonitor/test/browser_net_security-error.js index f6b8b34f3..8329a15b0 100644 --- a/devtools/client/netmonitor/test/browser_net_security-error.js +++ b/devtools/client/netmonitor/test/browser_net_security-error.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/netmonitor/test/browser_net_security-icon-click.js b/devtools/client/netmonitor/test/browser_net_security-icon-click.js index 2385b11aa..356e1b048 100644 --- a/devtools/client/netmonitor/test/browser_net_security-icon-click.js +++ b/devtools/client/netmonitor/test/browser_net_security-icon-click.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/netmonitor/test/browser_net_security-redirect.js b/devtools/client/netmonitor/test/browser_net_security-redirect.js index 5f2956dbb..6672f3d42 100644 --- a/devtools/client/netmonitor/test/browser_net_security-redirect.js +++ b/devtools/client/netmonitor/test/browser_net_security-redirect.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/netmonitor/test/browser_net_security-state.js b/devtools/client/netmonitor/test/browser_net_security-state.js index 054e7c969..6667a9a70 100644 --- a/devtools/client/netmonitor/test/browser_net_security-state.js +++ b/devtools/client/netmonitor/test/browser_net_security-state.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/netmonitor/test/browser_net_security-tab-deselect.js b/devtools/client/netmonitor/test/browser_net_security-tab-deselect.js index 4a2dd0885..a975427c0 100644 --- a/devtools/client/netmonitor/test/browser_net_security-tab-deselect.js +++ b/devtools/client/netmonitor/test/browser_net_security-tab-deselect.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/netmonitor/test/browser_net_security-tab-visibility.js b/devtools/client/netmonitor/test/browser_net_security-tab-visibility.js index b6685d7fe..47b56e052 100644 --- a/devtools/client/netmonitor/test/browser_net_security-tab-visibility.js +++ b/devtools/client/netmonitor/test/browser_net_security-tab-visibility.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/netmonitor/test/browser_net_security-warnings.js b/devtools/client/netmonitor/test/browser_net_security-warnings.js index cdfee70a1..6491cfbed 100644 --- a/devtools/client/netmonitor/test/browser_net_security-warnings.js +++ b/devtools/client/netmonitor/test/browser_net_security-warnings.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/netmonitor/test/browser_net_service-worker-status.js b/devtools/client/netmonitor/test/browser_net_service-worker-status.js index d7ada1645..d5b4fe5ff 100644 --- a/devtools/client/netmonitor/test/browser_net_service-worker-status.js +++ b/devtools/client/netmonitor/test/browser_net_service-worker-status.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/netmonitor/test/browser_net_status-codes.js b/devtools/client/netmonitor/test/browser_net_status-codes.js index f38ee71e4..7116281c3 100644 --- a/devtools/client/netmonitor/test/browser_net_status-codes.js +++ b/devtools/client/netmonitor/test/browser_net_status-codes.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/netmonitor/test/service-workers/status-codes-service-worker.js b/devtools/client/netmonitor/test/service-workers/status-codes-service-worker.js index 3c70c7dcb..ca84c94be 100644 --- a/devtools/client/netmonitor/test/service-workers/status-codes-service-worker.js +++ b/devtools/client/netmonitor/test/service-workers/status-codes-service-worker.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/performance/test/browser_perf-recording-selected-03.js b/devtools/client/performance/test/browser_perf-recording-selected-03.js index 7febfbb2b..b0da38182 100644 --- a/devtools/client/performance/test/browser_perf-recording-selected-03.js +++ b/devtools/client/performance/test/browser_perf-recording-selected-03.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/projecteditor/test/browser_projecteditor_app_options.js b/devtools/client/projecteditor/test/browser_projecteditor_app_options.js index aa608e205..e2827f70e 100644 --- a/devtools/client/projecteditor/test/browser_projecteditor_app_options.js +++ b/devtools/client/projecteditor/test/browser_projecteditor_app_options.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/projecteditor/test/browser_projecteditor_confirm_unsaved.js b/devtools/client/projecteditor/test/browser_projecteditor_confirm_unsaved.js index 72640d243..e18cdb22a 100644 --- a/devtools/client/projecteditor/test/browser_projecteditor_confirm_unsaved.js +++ b/devtools/client/projecteditor/test/browser_projecteditor_confirm_unsaved.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/projecteditor/test/browser_projecteditor_contextmenu_01.js b/devtools/client/projecteditor/test/browser_projecteditor_contextmenu_01.js index 44ffe1722..242af3072 100644 --- a/devtools/client/projecteditor/test/browser_projecteditor_contextmenu_01.js +++ b/devtools/client/projecteditor/test/browser_projecteditor_contextmenu_01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/projecteditor/test/browser_projecteditor_contextmenu_02.js b/devtools/client/projecteditor/test/browser_projecteditor_contextmenu_02.js index cf43b3e21..ac6e93b66 100644 --- a/devtools/client/projecteditor/test/browser_projecteditor_contextmenu_02.js +++ b/devtools/client/projecteditor/test/browser_projecteditor_contextmenu_02.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/projecteditor/test/browser_projecteditor_delete_file.js b/devtools/client/projecteditor/test/browser_projecteditor_delete_file.js index 446c1dbcb..d84554bf8 100644 --- a/devtools/client/projecteditor/test/browser_projecteditor_delete_file.js +++ b/devtools/client/projecteditor/test/browser_projecteditor_delete_file.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/projecteditor/test/browser_projecteditor_editing_01.js b/devtools/client/projecteditor/test/browser_projecteditor_editing_01.js index c7ff1c0be..decdbfbeb 100644 --- a/devtools/client/projecteditor/test/browser_projecteditor_editing_01.js +++ b/devtools/client/projecteditor/test/browser_projecteditor_editing_01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/projecteditor/test/browser_projecteditor_editors_image.js b/devtools/client/projecteditor/test/browser_projecteditor_editors_image.js index 0b19cb5d1..ca944526b 100644 --- a/devtools/client/projecteditor/test/browser_projecteditor_editors_image.js +++ b/devtools/client/projecteditor/test/browser_projecteditor_editors_image.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/projecteditor/test/browser_projecteditor_external_change.js b/devtools/client/projecteditor/test/browser_projecteditor_external_change.js index 12d90a869..cae1c94b0 100644 --- a/devtools/client/projecteditor/test/browser_projecteditor_external_change.js +++ b/devtools/client/projecteditor/test/browser_projecteditor_external_change.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/projecteditor/test/browser_projecteditor_immediate_destroy.js b/devtools/client/projecteditor/test/browser_projecteditor_immediate_destroy.js index 0773be55c..71117b922 100644 --- a/devtools/client/projecteditor/test/browser_projecteditor_immediate_destroy.js +++ b/devtools/client/projecteditor/test/browser_projecteditor_immediate_destroy.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/projecteditor/test/browser_projecteditor_init.js b/devtools/client/projecteditor/test/browser_projecteditor_init.js index 3ee947e0d..5e0802cfe 100644 --- a/devtools/client/projecteditor/test/browser_projecteditor_init.js +++ b/devtools/client/projecteditor/test/browser_projecteditor_init.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/projecteditor/test/browser_projecteditor_menubar_01.js b/devtools/client/projecteditor/test/browser_projecteditor_menubar_01.js index 1641169e7..80d450708 100644 --- a/devtools/client/projecteditor/test/browser_projecteditor_menubar_01.js +++ b/devtools/client/projecteditor/test/browser_projecteditor_menubar_01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/projecteditor/test/browser_projecteditor_menubar_02.js b/devtools/client/projecteditor/test/browser_projecteditor_menubar_02.js index d0d41f743..e128a2501 100644 --- a/devtools/client/projecteditor/test/browser_projecteditor_menubar_02.js +++ b/devtools/client/projecteditor/test/browser_projecteditor_menubar_02.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/projecteditor/test/browser_projecteditor_new_file.js b/devtools/client/projecteditor/test/browser_projecteditor_new_file.js index aaaee0369..db6af3b8d 100644 --- a/devtools/client/projecteditor/test/browser_projecteditor_new_file.js +++ b/devtools/client/projecteditor/test/browser_projecteditor_new_file.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/projecteditor/test/browser_projecteditor_rename_file_01.js b/devtools/client/projecteditor/test/browser_projecteditor_rename_file_01.js index 914fa73cc..a7c4796c5 100644 --- a/devtools/client/projecteditor/test/browser_projecteditor_rename_file_01.js +++ b/devtools/client/projecteditor/test/browser_projecteditor_rename_file_01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/projecteditor/test/browser_projecteditor_rename_file_02.js b/devtools/client/projecteditor/test/browser_projecteditor_rename_file_02.js index a2964da2a..42c1bfc71 100644 --- a/devtools/client/projecteditor/test/browser_projecteditor_rename_file_02.js +++ b/devtools/client/projecteditor/test/browser_projecteditor_rename_file_02.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/projecteditor/test/browser_projecteditor_saveall.js b/devtools/client/projecteditor/test/browser_projecteditor_saveall.js index 2468ea4fc..9f717df71 100644 --- a/devtools/client/projecteditor/test/browser_projecteditor_saveall.js +++ b/devtools/client/projecteditor/test/browser_projecteditor_saveall.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/projecteditor/test/browser_projecteditor_stores.js b/devtools/client/projecteditor/test/browser_projecteditor_stores.js index c85a7526b..4e32e6ee4 100644 --- a/devtools/client/projecteditor/test/browser_projecteditor_stores.js +++ b/devtools/client/projecteditor/test/browser_projecteditor_stores.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/projecteditor/test/browser_projecteditor_tree_selection_01.js b/devtools/client/projecteditor/test/browser_projecteditor_tree_selection_01.js index 0a98f7122..f2d92e318 100644 --- a/devtools/client/projecteditor/test/browser_projecteditor_tree_selection_01.js +++ b/devtools/client/projecteditor/test/browser_projecteditor_tree_selection_01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/projecteditor/test/browser_projecteditor_tree_selection_02.js b/devtools/client/projecteditor/test/browser_projecteditor_tree_selection_02.js index 51826e4dc..19104dc25 100644 --- a/devtools/client/projecteditor/test/browser_projecteditor_tree_selection_02.js +++ b/devtools/client/projecteditor/test/browser_projecteditor_tree_selection_02.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/projecteditor/test/helper_edits.js b/devtools/client/projecteditor/test/helper_edits.js index d8e83672b..17fa2396f 100644 --- a/devtools/client/projecteditor/test/helper_edits.js +++ b/devtools/client/projecteditor/test/helper_edits.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_autocomplete.js b/devtools/client/scratchpad/test/browser_scratchpad_autocomplete.js index 3a6eef8b4..ccc84b609 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_autocomplete.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_autocomplete.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* Bug 968896 */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_browser_last_window_closing.js b/devtools/client/scratchpad/test/browser_scratchpad_browser_last_window_closing.js index 3a8316059..33fe3b2c6 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_browser_last_window_closing.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_browser_last_window_closing.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_chrome_context_pref.js b/devtools/client/scratchpad/test/browser_scratchpad_chrome_context_pref.js index 08528d2c2..586d21e07 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_chrome_context_pref.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_chrome_context_pref.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* Bug 646070 */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_confirm_close.js b/devtools/client/scratchpad/test/browser_scratchpad_confirm_close.js index a6318fa75..857cb50d3 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_confirm_close.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_confirm_close.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* Bug 653427 */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_contexts.js b/devtools/client/scratchpad/test/browser_scratchpad_contexts.js index ae1933b4d..8d8dd49c1 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_contexts.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_contexts.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/scratchpad/test/browser_scratchpad_display_non_error_exceptions.js b/devtools/client/scratchpad/test/browser_scratchpad_display_non_error_exceptions.js index d1f2cb513..cf2d2db29 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_display_non_error_exceptions.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_display_non_error_exceptions.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* Bug 756681 */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_display_outputs_errors.js b/devtools/client/scratchpad/test/browser_scratchpad_display_outputs_errors.js index 3855a873d..791049252 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_display_outputs_errors.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_display_outputs_errors.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* Bug 690552 */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_edit_ui_updates.js b/devtools/client/scratchpad/test/browser_scratchpad_edit_ui_updates.js index ade87eaac..0855dfa7e 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_edit_ui_updates.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_edit_ui_updates.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* Bug 699130 */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_eval_func.js b/devtools/client/scratchpad/test/browser_scratchpad_eval_func.js index 3753b5a35..a8610e414 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_eval_func.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_eval_func.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_execute_print.js b/devtools/client/scratchpad/test/browser_scratchpad_execute_print.js index 029916507..a66785243 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_execute_print.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_execute_print.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/scratchpad/test/browser_scratchpad_falsy.js b/devtools/client/scratchpad/test/browser_scratchpad_falsy.js index 9eb7efb94..9192202a6 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_falsy.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_falsy.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* Bug 679467 */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_files.js b/devtools/client/scratchpad/test/browser_scratchpad_files.js index d52718a81..f1d991e69 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_files.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_files.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_goto_line_ui.js b/devtools/client/scratchpad/test/browser_scratchpad_goto_line_ui.js index 34c71ac0c..27e3ed1ad 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_goto_line_ui.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_goto_line_ui.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* Bug 714942 */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_help_key.js b/devtools/client/scratchpad/test/browser_scratchpad_help_key.js index d5383db57..536486b0e 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_help_key.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_help_key.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* Bug 650760 */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_initialization.js b/devtools/client/scratchpad/test/browser_scratchpad_initialization.js index 387bcb08c..64eefc96d 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_initialization.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_initialization.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_inspect.js b/devtools/client/scratchpad/test/browser_scratchpad_inspect.js index 23194f05e..0f8768709 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_inspect.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_inspect.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_long_string.js b/devtools/client/scratchpad/test/browser_scratchpad_long_string.js index d85a7df1c..187d04db0 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_long_string.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_long_string.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_modeline.js b/devtools/client/scratchpad/test/browser_scratchpad_modeline.js index 20a4e8449..ef4062c22 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_modeline.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_modeline.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* Bug 644413 */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_open.js b/devtools/client/scratchpad/test/browser_scratchpad_open.js index ec55f0101..4f269f845 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_open.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_open.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_open_error_console.js b/devtools/client/scratchpad/test/browser_scratchpad_open_error_console.js index 418bdfb56..9dc1ef064 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_open_error_console.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_open_error_console.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_pprint-02.js b/devtools/client/scratchpad/test/browser_scratchpad_pprint-02.js index c7cd2927e..c8edf1778 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_pprint-02.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_pprint-02.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_pprint.js b/devtools/client/scratchpad/test/browser_scratchpad_pprint.js index 1ba9a2cda..079f463fb 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_pprint.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_pprint.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_recent_files.js b/devtools/client/scratchpad/test/browser_scratchpad_recent_files.js index 66a4e7cd1..aeabe9923 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_recent_files.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_recent_files.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* Bug 651942 */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_reload_and_run.js b/devtools/client/scratchpad/test/browser_scratchpad_reload_and_run.js index 19e360b20..74d73193f 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_reload_and_run.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_reload_and_run.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* Bug 740948 */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_remember_view_options.js b/devtools/client/scratchpad/test/browser_scratchpad_remember_view_options.js index 67073c52f..d6db60bb3 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_remember_view_options.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_remember_view_options.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* Bug 1140839 */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_reset_undo.js b/devtools/client/scratchpad/test/browser_scratchpad_reset_undo.js index a1b60cd33..4cbda463b 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_reset_undo.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_reset_undo.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* Bug 684546 */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_restore.js b/devtools/client/scratchpad/test/browser_scratchpad_restore.js index 5890e954f..f3f27d54e 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_restore.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_restore.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_revert_to_saved.js b/devtools/client/scratchpad/test/browser_scratchpad_revert_to_saved.js index 92c6c3720..85f54dc88 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_revert_to_saved.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_revert_to_saved.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* Bug 751744 */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_tab.js b/devtools/client/scratchpad/test/browser_scratchpad_tab.js index 67057f206..916a7ba06 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_tab.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_tab.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* Bug 660560 */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_tab_switch.js b/devtools/client/scratchpad/test/browser_scratchpad_tab_switch.js index c2419a1e1..3301a754c 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_tab_switch.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_tab_switch.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_throw_output.js b/devtools/client/scratchpad/test/browser_scratchpad_throw_output.js index cfcd5e049..085170475 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_throw_output.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_throw_output.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_ui.js b/devtools/client/scratchpad/test/browser_scratchpad_ui.js index 5d8af1068..6978b9ddb 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_ui.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_ui.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/scratchpad/test/browser_scratchpad_unsaved.js b/devtools/client/scratchpad/test/browser_scratchpad_unsaved.js index 54b97b75b..f96ffcd11 100644 --- a/devtools/client/scratchpad/test/browser_scratchpad_unsaved.js +++ b/devtools/client/scratchpad/test/browser_scratchpad_unsaved.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* Bug 669612 */ diff --git a/devtools/client/scratchpad/test/head.js b/devtools/client/scratchpad/test/head.js index 955c037d7..2c1ae632d 100644 --- a/devtools/client/scratchpad/test/head.js +++ b/devtools/client/scratchpad/test/head.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/autocomplete-popup.js b/devtools/client/shared/autocomplete-popup.js index 1d24c948e..b22de4d99 100644 --- a/devtools/client/shared/autocomplete-popup.js +++ b/devtools/client/shared/autocomplete-popup.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* 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/. */ diff --git a/devtools/client/shared/test/browser_cubic-bezier-01.js b/devtools/client/shared/test/browser_cubic-bezier-01.js index 4c32590b2..1c9d33c61 100644 --- a/devtools/client/shared/test/browser_cubic-bezier-01.js +++ b/devtools/client/shared/test/browser_cubic-bezier-01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/browser_cubic-bezier-02.js b/devtools/client/shared/test/browser_cubic-bezier-02.js index f5e21e4d4..d36d85a6e 100644 --- a/devtools/client/shared/test/browser_cubic-bezier-02.js +++ b/devtools/client/shared/test/browser_cubic-bezier-02.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/browser_cubic-bezier-03.js b/devtools/client/shared/test/browser_cubic-bezier-03.js index 274ed81ef..7c106869f 100644 --- a/devtools/client/shared/test/browser_cubic-bezier-03.js +++ b/devtools/client/shared/test/browser_cubic-bezier-03.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/browser_cubic-bezier-04.js b/devtools/client/shared/test/browser_cubic-bezier-04.js index 102428035..610871913 100644 --- a/devtools/client/shared/test/browser_cubic-bezier-04.js +++ b/devtools/client/shared/test/browser_cubic-bezier-04.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/browser_cubic-bezier-05.js b/devtools/client/shared/test/browser_cubic-bezier-05.js index b9cdab294..82484e341 100644 --- a/devtools/client/shared/test/browser_cubic-bezier-05.js +++ b/devtools/client/shared/test/browser_cubic-bezier-05.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/browser_cubic-bezier-06.js b/devtools/client/shared/test/browser_cubic-bezier-06.js index 150949929..780953c8c 100644 --- a/devtools/client/shared/test/browser_cubic-bezier-06.js +++ b/devtools/client/shared/test/browser_cubic-bezier-06.js @@ -1,5 +1,4 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/browser_inplace-editor-01.js b/devtools/client/shared/test/browser_inplace-editor-01.js index 6308602f1..3d1be9acc 100644 --- a/devtools/client/shared/test/browser_inplace-editor-01.js +++ b/devtools/client/shared/test/browser_inplace-editor-01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_inplace_editor.js */ diff --git a/devtools/client/shared/test/browser_inplace-editor-02.js b/devtools/client/shared/test/browser_inplace-editor-02.js index 811c30123..c67d09fd5 100644 --- a/devtools/client/shared/test/browser_inplace-editor-02.js +++ b/devtools/client/shared/test/browser_inplace-editor-02.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_inplace_editor.js */ diff --git a/devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js b/devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js index e9ceb11ad..9bb37f369 100644 --- a/devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js +++ b/devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_inplace_editor.js */ diff --git a/devtools/client/shared/test/browser_inplace-editor_autocomplete_02.js b/devtools/client/shared/test/browser_inplace-editor_autocomplete_02.js index 3100026b4..b43b6f9d5 100644 --- a/devtools/client/shared/test/browser_inplace-editor_autocomplete_02.js +++ b/devtools/client/shared/test/browser_inplace-editor_autocomplete_02.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_inplace_editor.js */ diff --git a/devtools/client/shared/test/browser_inplace-editor_autocomplete_offset.js b/devtools/client/shared/test/browser_inplace-editor_autocomplete_offset.js index 5d1737bfd..2734125bd 100644 --- a/devtools/client/shared/test/browser_inplace-editor_autocomplete_offset.js +++ b/devtools/client/shared/test/browser_inplace-editor_autocomplete_offset.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_inplace_editor.js */ diff --git a/devtools/client/shared/test/browser_inplace-editor_maxwidth.js b/devtools/client/shared/test/browser_inplace-editor_maxwidth.js index 205f4418e..b1719077d 100644 --- a/devtools/client/shared/test/browser_inplace-editor_maxwidth.js +++ b/devtools/client/shared/test/browser_inplace-editor_maxwidth.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from helper_inplace_editor.js */ diff --git a/devtools/client/shared/test/browser_mdn-docs-01.js b/devtools/client/shared/test/browser_mdn-docs-01.js index 6490dfef7..7de2e4fea 100644 --- a/devtools/client/shared/test/browser_mdn-docs-01.js +++ b/devtools/client/shared/test/browser_mdn-docs-01.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/browser_mdn-docs-02.js b/devtools/client/shared/test/browser_mdn-docs-02.js index 000dc7261..09c7f0d02 100644 --- a/devtools/client/shared/test/browser_mdn-docs-02.js +++ b/devtools/client/shared/test/browser_mdn-docs-02.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/browser_mdn-docs-03.js b/devtools/client/shared/test/browser_mdn-docs-03.js index c686aa6a9..86c5241c0 100644 --- a/devtools/client/shared/test/browser_mdn-docs-03.js +++ b/devtools/client/shared/test/browser_mdn-docs-03.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/browser_spectrum.js b/devtools/client/shared/test/browser_spectrum.js index 9e72ef621..6f829fbf3 100644 --- a/devtools/client/shared/test/browser_spectrum.js +++ b/devtools/client/shared/test/browser_spectrum.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/browser_tableWidget_basic.js b/devtools/client/shared/test/browser_tableWidget_basic.js index 684ca99bb..c116a6de3 100644 --- a/devtools/client/shared/test/browser_tableWidget_basic.js +++ b/devtools/client/shared/test/browser_tableWidget_basic.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/browser_tableWidget_keyboard_interaction.js b/devtools/client/shared/test/browser_tableWidget_keyboard_interaction.js index ce052bd88..f6dbb622a 100644 --- a/devtools/client/shared/test/browser_tableWidget_keyboard_interaction.js +++ b/devtools/client/shared/test/browser_tableWidget_keyboard_interaction.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/browser_tableWidget_mouse_interaction.js b/devtools/client/shared/test/browser_tableWidget_mouse_interaction.js index 4d7de94e3..e2099983c 100644 --- a/devtools/client/shared/test/browser_tableWidget_mouse_interaction.js +++ b/devtools/client/shared/test/browser_tableWidget_mouse_interaction.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/browser_theme.js b/devtools/client/shared/test/browser_theme.js index 174e5aeec..ae216837b 100644 --- a/devtools/client/shared/test/browser_theme.js +++ b/devtools/client/shared/test/browser_theme.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/browser_theme_switching.js b/devtools/client/shared/test/browser_theme_switching.js index 392462a67..46d12d33f 100644 --- a/devtools/client/shared/test/browser_theme_switching.js +++ b/devtools/client/shared/test/browser_theme_switching.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/browser_treeWidget_basic.js b/devtools/client/shared/test/browser_treeWidget_basic.js index b1d7772f7..e8da35925 100644 --- a/devtools/client/shared/test/browser_treeWidget_basic.js +++ b/devtools/client/shared/test/browser_treeWidget_basic.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/browser_treeWidget_keyboard_interaction.js b/devtools/client/shared/test/browser_treeWidget_keyboard_interaction.js index 9b214fe3f..cccb0d385 100644 --- a/devtools/client/shared/test/browser_treeWidget_keyboard_interaction.js +++ b/devtools/client/shared/test/browser_treeWidget_keyboard_interaction.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/browser_treeWidget_mouse_interaction.js b/devtools/client/shared/test/browser_treeWidget_mouse_interaction.js index f42fd16ad..d1ad24c94 100644 --- a/devtools/client/shared/test/browser_treeWidget_mouse_interaction.js +++ b/devtools/client/shared/test/browser_treeWidget_mouse_interaction.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/shared/test/test-actor.js b/devtools/client/shared/test/test-actor.js index 3aab5287b..75d9b248f 100644 --- a/devtools/client/shared/test/test-actor.js +++ b/devtools/client/shared/test/test-actor.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/sourceeditor/test/browser_codemirror.js b/devtools/client/sourceeditor/test/browser_codemirror.js index 381a6530f..70eec52ec 100644 --- a/devtools/client/sourceeditor/test/browser_codemirror.js +++ b/devtools/client/sourceeditor/test/browser_codemirror.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/sourceeditor/test/browser_css_autocompletion.js b/devtools/client/sourceeditor/test/browser_css_autocompletion.js index e98803113..57a5ae345 100644 --- a/devtools/client/sourceeditor/test/browser_css_autocompletion.js +++ b/devtools/client/sourceeditor/test/browser_css_autocompletion.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/sourceeditor/test/browser_css_getInfo.js b/devtools/client/sourceeditor/test/browser_css_getInfo.js index 21b0b92b9..ffbc86322 100644 --- a/devtools/client/sourceeditor/test/browser_css_getInfo.js +++ b/devtools/client/sourceeditor/test/browser_css_getInfo.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/sourceeditor/test/browser_css_statemachine.js b/devtools/client/sourceeditor/test/browser_css_statemachine.js index f69d60278..140cd127f 100644 --- a/devtools/client/sourceeditor/test/browser_css_statemachine.js +++ b/devtools/client/sourceeditor/test/browser_css_statemachine.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/sourceeditor/test/browser_editor_autocomplete_basic.js b/devtools/client/sourceeditor/test/browser_editor_autocomplete_basic.js index 03cdc2a4a..cfd71c391 100644 --- a/devtools/client/sourceeditor/test/browser_editor_autocomplete_basic.js +++ b/devtools/client/sourceeditor/test/browser_editor_autocomplete_basic.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/sourceeditor/test/browser_editor_autocomplete_events.js b/devtools/client/sourceeditor/test/browser_editor_autocomplete_events.js index e2f976afe..e26047205 100644 --- a/devtools/client/sourceeditor/test/browser_editor_autocomplete_events.js +++ b/devtools/client/sourceeditor/test/browser_editor_autocomplete_events.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/sourceeditor/test/browser_editor_autocomplete_js.js b/devtools/client/sourceeditor/test/browser_editor_autocomplete_js.js index 31fa6878f..4c34fc55c 100644 --- a/devtools/client/sourceeditor/test/browser_editor_autocomplete_js.js +++ b/devtools/client/sourceeditor/test/browser_editor_autocomplete_js.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/sourceeditor/test/browser_editor_basic.js b/devtools/client/sourceeditor/test/browser_editor_basic.js index 503b06afe..10093400e 100644 --- a/devtools/client/sourceeditor/test/browser_editor_basic.js +++ b/devtools/client/sourceeditor/test/browser_editor_basic.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/sourceeditor/test/browser_editor_cursor.js b/devtools/client/sourceeditor/test/browser_editor_cursor.js index 236b3d152..b911e5428 100644 --- a/devtools/client/sourceeditor/test/browser_editor_cursor.js +++ b/devtools/client/sourceeditor/test/browser_editor_cursor.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/sourceeditor/test/browser_editor_history.js b/devtools/client/sourceeditor/test/browser_editor_history.js index 9098afdf4..63d0758ae 100644 --- a/devtools/client/sourceeditor/test/browser_editor_history.js +++ b/devtools/client/sourceeditor/test/browser_editor_history.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/sourceeditor/test/browser_editor_markers.js b/devtools/client/sourceeditor/test/browser_editor_markers.js index 64a78d510..1a042614b 100644 --- a/devtools/client/sourceeditor/test/browser_editor_markers.js +++ b/devtools/client/sourceeditor/test/browser_editor_markers.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/sourceeditor/test/browser_editor_movelines.js b/devtools/client/sourceeditor/test/browser_editor_movelines.js index 60a7f6865..92227a1a2 100644 --- a/devtools/client/sourceeditor/test/browser_editor_movelines.js +++ b/devtools/client/sourceeditor/test/browser_editor_movelines.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/sourceeditor/test/browser_editor_prefs.js b/devtools/client/sourceeditor/test/browser_editor_prefs.js index 0c8c7782f..c952d72e7 100644 --- a/devtools/client/sourceeditor/test/browser_editor_prefs.js +++ b/devtools/client/sourceeditor/test/browser_editor_prefs.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/sourceeditor/test/head.js b/devtools/client/sourceeditor/test/head.js index 4f8473eaf..dfaebe944 100644 --- a/devtools/client/sourceeditor/test/head.js +++ b/devtools/client/sourceeditor/test/head.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* import-globals-from ../../framework/test/shared-head.js */ diff --git a/devtools/client/sourceeditor/test/helper_codemirror_runner.js b/devtools/client/sourceeditor/test/helper_codemirror_runner.js index b9e458472..29a1e044f 100644 --- a/devtools/client/sourceeditor/test/helper_codemirror_runner.js +++ b/devtools/client/sourceeditor/test/helper_codemirror_runner.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ /* globals codemirrorSetStatus */ diff --git a/devtools/client/styleeditor/test/browser_styleeditor_add_stylesheet.js b/devtools/client/styleeditor/test/browser_styleeditor_add_stylesheet.js index d8315d212..ecc80798b 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_add_stylesheet.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_add_stylesheet.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/styleeditor/test/browser_styleeditor_autocomplete-disabled.js b/devtools/client/styleeditor/test/browser_styleeditor_autocomplete-disabled.js index b632a7716..b1bdc1764 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_autocomplete-disabled.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_autocomplete-disabled.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/styleeditor/test/browser_styleeditor_autocomplete.js b/devtools/client/styleeditor/test/browser_styleeditor_autocomplete.js index 626498418..cb804dc3c 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_autocomplete.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_autocomplete.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/styleeditor/test/browser_styleeditor_bom.js b/devtools/client/styleeditor/test/browser_styleeditor_bom.js index 56275a3a9..80b924759 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_bom.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_bom.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/styleeditor/test/browser_styleeditor_enabled.js b/devtools/client/styleeditor/test/browser_styleeditor_enabled.js index 993225de0..20e9f916d 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_enabled.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_enabled.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/styleeditor/test/browser_styleeditor_fetch-from-cache.js b/devtools/client/styleeditor/test/browser_styleeditor_fetch-from-cache.js index 7aeb24d69..b1fb7d02c 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_fetch-from-cache.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_fetch-from-cache.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/styleeditor/test/browser_styleeditor_filesave.js b/devtools/client/styleeditor/test/browser_styleeditor_filesave.js index b04b74c80..24384fb10 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_filesave.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_filesave.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/styleeditor/test/browser_styleeditor_highlight-selector.js b/devtools/client/styleeditor/test/browser_styleeditor_highlight-selector.js index 8effbf208..4f1416277 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_highlight-selector.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_highlight-selector.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/styleeditor/test/browser_styleeditor_import.js b/devtools/client/styleeditor/test/browser_styleeditor_import.js index 2f42317b9..a3b045f06 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_import.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_import.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/styleeditor/test/browser_styleeditor_import_rule.js b/devtools/client/styleeditor/test/browser_styleeditor_import_rule.js index 46d0a0968..63bbcfa49 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_import_rule.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_import_rule.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/styleeditor/test/browser_styleeditor_init.js b/devtools/client/styleeditor/test/browser_styleeditor_init.js index 47a8f1e05..bc15a56be 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_init.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_init.js @@ -1,5 +1,4 @@ "use strict"; -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/styleeditor/test/browser_styleeditor_inline_friendly_names.js b/devtools/client/styleeditor/test/browser_styleeditor_inline_friendly_names.js index fcf1192b5..ed2595350 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_inline_friendly_names.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_inline_friendly_names.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/styleeditor/test/browser_styleeditor_loading.js b/devtools/client/styleeditor/test/browser_styleeditor_loading.js index 4657a0dce..15a84ea04 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_loading.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_loading.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/styleeditor/test/browser_styleeditor_media_sidebar.js b/devtools/client/styleeditor/test/browser_styleeditor_media_sidebar.js index 15895fac4..5e6f1ad38 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_media_sidebar.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_media_sidebar.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/styleeditor/test/browser_styleeditor_media_sidebar_links.js b/devtools/client/styleeditor/test/browser_styleeditor_media_sidebar_links.js index 85c41b9dc..5a6091665 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_media_sidebar_links.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_media_sidebar_links.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/styleeditor/test/browser_styleeditor_media_sidebar_sourcemaps.js b/devtools/client/styleeditor/test/browser_styleeditor_media_sidebar_sourcemaps.js index 9214d93fd..86d95eaf2 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_media_sidebar_sourcemaps.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_media_sidebar_sourcemaps.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/styleeditor/test/browser_styleeditor_missing_stylesheet.js b/devtools/client/styleeditor/test/browser_styleeditor_missing_stylesheet.js index e7511c914..03a68dcfa 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_missing_stylesheet.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_missing_stylesheet.js @@ -1,5 +1,4 @@ "use strict"; -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/styleeditor/test/browser_styleeditor_navigate.js b/devtools/client/styleeditor/test/browser_styleeditor_navigate.js index 4d44fca70..1758608df 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_navigate.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_navigate.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/styleeditor/test/browser_styleeditor_new.js b/devtools/client/styleeditor/test/browser_styleeditor_new.js index 1fc5b4638..7679752b9 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_new.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_new.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/styleeditor/test/browser_styleeditor_nostyle.js b/devtools/client/styleeditor/test/browser_styleeditor_nostyle.js index c01b7c572..6ed62d355 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_nostyle.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_nostyle.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/styleeditor/test/browser_styleeditor_opentab.js b/devtools/client/styleeditor/test/browser_styleeditor_opentab.js index c16e9d51b..147fd588b 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_opentab.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_opentab.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/styleeditor/test/browser_styleeditor_pretty.js b/devtools/client/styleeditor/test/browser_styleeditor_pretty.js index 212cab12d..850718887 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_pretty.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_pretty.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/styleeditor/test/browser_styleeditor_reload.js b/devtools/client/styleeditor/test/browser_styleeditor_reload.js index a4991fb44..2a5ab7d48 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_reload.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_reload.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/styleeditor/test/browser_styleeditor_scroll.js b/devtools/client/styleeditor/test/browser_styleeditor_scroll.js index 6524c1403..3d044f08e 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_scroll.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_scroll.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/styleeditor/test/browser_styleeditor_selectstylesheet.js b/devtools/client/styleeditor/test/browser_styleeditor_selectstylesheet.js index 4d9692f9f..6614ccf5d 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_selectstylesheet.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_selectstylesheet.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/styleeditor/test/browser_styleeditor_sourcemap_large.js b/devtools/client/styleeditor/test/browser_styleeditor_sourcemap_large.js index cddba6877..dfab42f63 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_sourcemap_large.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_sourcemap_large.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/styleeditor/test/browser_styleeditor_sourcemap_watching.js b/devtools/client/styleeditor/test/browser_styleeditor_sourcemap_watching.js index b73738fd6..dec22ff6a 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_sourcemap_watching.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_sourcemap_watching.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/styleeditor/test/browser_styleeditor_sourcemaps.js b/devtools/client/styleeditor/test/browser_styleeditor_sourcemaps.js index fefca7648..9e7ed5d06 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_sourcemaps.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_sourcemaps.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/styleeditor/test/browser_styleeditor_sourcemaps_inline.js b/devtools/client/styleeditor/test/browser_styleeditor_sourcemaps_inline.js index ae7279858..9b27f8cce 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_sourcemaps_inline.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_sourcemaps_inline.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/styleeditor/test/browser_styleeditor_sv_keynav.js b/devtools/client/styleeditor/test/browser_styleeditor_sv_keynav.js index a9c0073c3..630c51833 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_sv_keynav.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_sv_keynav.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/styleeditor/test/browser_styleeditor_sv_resize.js b/devtools/client/styleeditor/test/browser_styleeditor_sv_resize.js index d684905fc..48526a283 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_sv_resize.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_sv_resize.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/styleeditor/test/browser_styleeditor_sync.js b/devtools/client/styleeditor/test/browser_styleeditor_sync.js index 4bff84101..b8ef699da 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_sync.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_sync.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/styleeditor/test/browser_styleeditor_syncAddProperty.js b/devtools/client/styleeditor/test/browser_styleeditor_syncAddProperty.js index e197157ad..8991f408e 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_syncAddProperty.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_syncAddProperty.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/styleeditor/test/browser_styleeditor_syncAddRule.js b/devtools/client/styleeditor/test/browser_styleeditor_syncAddRule.js index 348b9c630..3d94d9ba9 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_syncAddRule.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_syncAddRule.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/styleeditor/test/browser_styleeditor_syncAlreadyOpen.js b/devtools/client/styleeditor/test/browser_styleeditor_syncAlreadyOpen.js index 84c1c2a7a..aba2cd3ee 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_syncAlreadyOpen.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_syncAlreadyOpen.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/styleeditor/test/browser_styleeditor_syncEditSelector.js b/devtools/client/styleeditor/test/browser_styleeditor_syncEditSelector.js index ea7d7515d..d27c04fdd 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_syncEditSelector.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_syncEditSelector.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/styleeditor/test/browser_styleeditor_syncIntoRuleView.js b/devtools/client/styleeditor/test/browser_styleeditor_syncIntoRuleView.js index 8f939e203..e81e548ca 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_syncIntoRuleView.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_syncIntoRuleView.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/client/styleeditor/test/browser_styleeditor_transition_rule.js b/devtools/client/styleeditor/test/browser_styleeditor_transition_rule.js index d52ec41fc..9bddc7dbf 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_transition_rule.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_transition_rule.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/styleeditor/test/browser_styleeditor_xul.js b/devtools/client/styleeditor/test/browser_styleeditor_xul.js index 931ad92e7..4b6b5fe41 100644 --- a/devtools/client/styleeditor/test/browser_styleeditor_xul.js +++ b/devtools/client/styleeditor/test/browser_styleeditor_xul.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/client/webconsole/net/test/mochitest/head.js b/devtools/client/webconsole/net/test/mochitest/head.js index c01206948..32aba2faf 100644 --- a/devtools/client/webconsole/net/test/mochitest/head.js +++ b/devtools/client/webconsole/net/test/mochitest/head.js @@ -1,4 +1,3 @@ -/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ */ /* eslint no-unused-vars: [2, {"vars": "local", "args": "none"}] */ diff --git a/devtools/server/tests/browser/browser_animation_emitMutations.js b/devtools/server/tests/browser/browser_animation_emitMutations.js index 4783a8209..c3df6f557 100644 --- a/devtools/server/tests/browser/browser_animation_emitMutations.js +++ b/devtools/server/tests/browser/browser_animation_emitMutations.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_animation_getFrames.js b/devtools/server/tests/browser/browser_animation_getFrames.js index 25ccfae3b..83f7bdabd 100644 --- a/devtools/server/tests/browser/browser_animation_getFrames.js +++ b/devtools/server/tests/browser/browser_animation_getFrames.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_animation_getMultipleStates.js b/devtools/server/tests/browser/browser_animation_getMultipleStates.js index 4436695b0..1a547fd61 100644 --- a/devtools/server/tests/browser/browser_animation_getMultipleStates.js +++ b/devtools/server/tests/browser/browser_animation_getMultipleStates.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_animation_getPlayers.js b/devtools/server/tests/browser/browser_animation_getPlayers.js index a99a4dc4e..3d789c0e3 100644 --- a/devtools/server/tests/browser/browser_animation_getPlayers.js +++ b/devtools/server/tests/browser/browser_animation_getPlayers.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_animation_getProperties.js b/devtools/server/tests/browser/browser_animation_getProperties.js index e95db544c..385b359f7 100644 --- a/devtools/server/tests/browser/browser_animation_getProperties.js +++ b/devtools/server/tests/browser/browser_animation_getProperties.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_animation_getStateAfterFinished.js b/devtools/server/tests/browser/browser_animation_getStateAfterFinished.js index dd33237c1..abbfcf6b5 100644 --- a/devtools/server/tests/browser/browser_animation_getStateAfterFinished.js +++ b/devtools/server/tests/browser/browser_animation_getStateAfterFinished.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_animation_getSubTreeAnimations.js b/devtools/server/tests/browser/browser_animation_getSubTreeAnimations.js index 50782d6de..1fac4edd1 100644 --- a/devtools/server/tests/browser/browser_animation_getSubTreeAnimations.js +++ b/devtools/server/tests/browser/browser_animation_getSubTreeAnimations.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_animation_keepFinished.js b/devtools/server/tests/browser/browser_animation_keepFinished.js index a3240a5e0..a5a9e7fd1 100644 --- a/devtools/server/tests/browser/browser_animation_keepFinished.js +++ b/devtools/server/tests/browser/browser_animation_keepFinished.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_animation_playPauseIframe.js b/devtools/server/tests/browser/browser_animation_playPauseIframe.js index 52320b84e..f90c70df7 100644 --- a/devtools/server/tests/browser/browser_animation_playPauseIframe.js +++ b/devtools/server/tests/browser/browser_animation_playPauseIframe.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_animation_playPauseSeveral.js b/devtools/server/tests/browser/browser_animation_playPauseSeveral.js index 9c52b5f57..9ce5d672e 100644 --- a/devtools/server/tests/browser/browser_animation_playPauseSeveral.js +++ b/devtools/server/tests/browser/browser_animation_playPauseSeveral.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_animation_playerState.js b/devtools/server/tests/browser/browser_animation_playerState.js index ac5842e39..fac466244 100644 --- a/devtools/server/tests/browser/browser_animation_playerState.js +++ b/devtools/server/tests/browser/browser_animation_playerState.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_animation_reconstructState.js b/devtools/server/tests/browser/browser_animation_reconstructState.js index cd3007b86..d29589e09 100644 --- a/devtools/server/tests/browser/browser_animation_reconstructState.js +++ b/devtools/server/tests/browser/browser_animation_reconstructState.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_animation_refreshTransitions.js b/devtools/server/tests/browser/browser_animation_refreshTransitions.js index 4cec0df69..088d55178 100644 --- a/devtools/server/tests/browser/browser_animation_refreshTransitions.js +++ b/devtools/server/tests/browser/browser_animation_refreshTransitions.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_animation_setCurrentTime.js b/devtools/server/tests/browser/browser_animation_setCurrentTime.js index 16dbaa544..d89b006cb 100644 --- a/devtools/server/tests/browser/browser_animation_setCurrentTime.js +++ b/devtools/server/tests/browser/browser_animation_setCurrentTime.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_animation_setPlaybackRate.js b/devtools/server/tests/browser/browser_animation_setPlaybackRate.js index b6d41b51e..59aba1cb3 100644 --- a/devtools/server/tests/browser/browser_animation_setPlaybackRate.js +++ b/devtools/server/tests/browser/browser_animation_setPlaybackRate.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_animation_simple.js b/devtools/server/tests/browser/browser_animation_simple.js index 52daf0084..1da853680 100644 --- a/devtools/server/tests/browser/browser_animation_simple.js +++ b/devtools/server/tests/browser/browser_animation_simple.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_animation_updatedState.js b/devtools/server/tests/browser/browser_animation_updatedState.js index 17d68e9e5..29ec176e8 100644 --- a/devtools/server/tests/browser/browser_animation_updatedState.js +++ b/devtools/server/tests/browser/browser_animation_updatedState.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_canvasframe_helper_01.js b/devtools/server/tests/browser/browser_canvasframe_helper_01.js index 7fd943197..3f9c9ccf6 100644 --- a/devtools/server/tests/browser/browser_canvasframe_helper_01.js +++ b/devtools/server/tests/browser/browser_canvasframe_helper_01.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_canvasframe_helper_02.js b/devtools/server/tests/browser/browser_canvasframe_helper_02.js index 90400c50a..032cc295e 100644 --- a/devtools/server/tests/browser/browser_canvasframe_helper_02.js +++ b/devtools/server/tests/browser/browser_canvasframe_helper_02.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_canvasframe_helper_03.js b/devtools/server/tests/browser/browser_canvasframe_helper_03.js index 85e27c7de..5db8ad93a 100644 --- a/devtools/server/tests/browser/browser_canvasframe_helper_03.js +++ b/devtools/server/tests/browser/browser_canvasframe_helper_03.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_canvasframe_helper_04.js b/devtools/server/tests/browser/browser_canvasframe_helper_04.js index d038f84a0..c2992962f 100644 --- a/devtools/server/tests/browser/browser_canvasframe_helper_04.js +++ b/devtools/server/tests/browser/browser_canvasframe_helper_04.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_canvasframe_helper_05.js b/devtools/server/tests/browser/browser_canvasframe_helper_05.js index 94fb66914..9af8b1451 100644 --- a/devtools/server/tests/browser/browser_canvasframe_helper_05.js +++ b/devtools/server/tests/browser/browser_canvasframe_helper_05.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_canvasframe_helper_06.js b/devtools/server/tests/browser/browser_canvasframe_helper_06.js index 2b137fe26..e4395581b 100644 --- a/devtools/server/tests/browser/browser_canvasframe_helper_06.js +++ b/devtools/server/tests/browser/browser_canvasframe_helper_06.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_directorscript_actors.js b/devtools/server/tests/browser/browser_directorscript_actors.js index bdfc8f8f1..1f8b8a2b9 100644 --- a/devtools/server/tests/browser/browser_directorscript_actors.js +++ b/devtools/server/tests/browser/browser_directorscript_actors.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_directorscript_actors_error_events.js b/devtools/server/tests/browser/browser_directorscript_actors_error_events.js index 0afe16388..44f84e039 100644 --- a/devtools/server/tests/browser/browser_directorscript_actors_error_events.js +++ b/devtools/server/tests/browser/browser_directorscript_actors_error_events.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_directorscript_actors_exports.js b/devtools/server/tests/browser/browser_directorscript_actors_exports.js index f9ef56f51..670152897 100644 --- a/devtools/server/tests/browser/browser_directorscript_actors_exports.js +++ b/devtools/server/tests/browser/browser_directorscript_actors_exports.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_navigateEvents.js b/devtools/server/tests/browser/browser_navigateEvents.js index f8652f197..172e5949a 100644 --- a/devtools/server/tests/browser/browser_navigateEvents.js +++ b/devtools/server/tests/browser/browser_navigateEvents.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_storage_cookies-duplicate-names.js b/devtools/server/tests/browser/browser_storage_cookies-duplicate-names.js index 1cdc8b490..1ad9eed14 100644 --- a/devtools/server/tests/browser/browser_storage_cookies-duplicate-names.js +++ b/devtools/server/tests/browser/browser_storage_cookies-duplicate-names.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_storage_dynamic_windows.js b/devtools/server/tests/browser/browser_storage_dynamic_windows.js index a8f791f15..b5c60e89f 100644 --- a/devtools/server/tests/browser/browser_storage_dynamic_windows.js +++ b/devtools/server/tests/browser/browser_storage_dynamic_windows.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_storage_listings.js b/devtools/server/tests/browser/browser_storage_listings.js index 6c1668321..83f9cfe64 100644 --- a/devtools/server/tests/browser/browser_storage_listings.js +++ b/devtools/server/tests/browser/browser_storage_listings.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_storage_updates.js b/devtools/server/tests/browser/browser_storage_updates.js index 4a1604787..476605a2a 100644 --- a/devtools/server/tests/browser/browser_storage_updates.js +++ b/devtools/server/tests/browser/browser_storage_updates.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_stylesheets_getTextEmpty.js b/devtools/server/tests/browser/browser_stylesheets_getTextEmpty.js index f7bb7057e..2820d9327 100644 --- a/devtools/server/tests/browser/browser_stylesheets_getTextEmpty.js +++ b/devtools/server/tests/browser/browser_stylesheets_getTextEmpty.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_stylesheets_nested-iframes.js b/devtools/server/tests/browser/browser_stylesheets_nested-iframes.js index c382b6ce8..6b5254b16 100644 --- a/devtools/server/tests/browser/browser_stylesheets_nested-iframes.js +++ b/devtools/server/tests/browser/browser_stylesheets_nested-iframes.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_timeline.js b/devtools/server/tests/browser/browser_timeline.js index 1e5793447..84999af13 100644 --- a/devtools/server/tests/browser/browser_timeline.js +++ b/devtools/server/tests/browser/browser_timeline.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_timeline_actors.js b/devtools/server/tests/browser/browser_timeline_actors.js index a902775fa..502e6ee97 100644 --- a/devtools/server/tests/browser/browser_timeline_actors.js +++ b/devtools/server/tests/browser/browser_timeline_actors.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/browser/browser_timeline_iframes.js b/devtools/server/tests/browser/browser_timeline_iframes.js index 60728873f..d4163c611 100644 --- a/devtools/server/tests/browser/browser_timeline_iframes.js +++ b/devtools/server/tests/browser/browser_timeline_iframes.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/server/tests/unit/test_nodelistactor.js b/devtools/server/tests/unit/test_nodelistactor.js index 4d9ec1a7a..92b9b61cd 100644 --- a/devtools/server/tests/unit/test_nodelistactor.js +++ b/devtools/server/tests/unit/test_nodelistactor.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/shared/jsbeautify/tests/unit/head_jsbeautify.js b/devtools/shared/jsbeautify/tests/unit/head_jsbeautify.js index 1abf07664..055860b11 100644 --- a/devtools/shared/jsbeautify/tests/unit/head_jsbeautify.js +++ b/devtools/shared/jsbeautify/tests/unit/head_jsbeautify.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/shared/tests/browser/browser_async_storage.js b/devtools/shared/tests/browser/browser_async_storage.js index 4329d639a..f9a8a9839 100644 --- a/devtools/shared/tests/browser/browser_async_storage.js +++ b/devtools/shared/tests/browser/browser_async_storage.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ diff --git a/devtools/shared/tests/unit/test_fetch-bom.js b/devtools/shared/tests/unit/test_fetch-bom.js index 7f299b1ce..e33cb3447 100644 --- a/devtools/shared/tests/unit/test_fetch-bom.js +++ b/devtools/shared/tests/unit/test_fetch-bom.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/shared/tests/unit/test_fetch-chrome.js b/devtools/shared/tests/unit/test_fetch-chrome.js index 441d4c7ba..85f3fc6a1 100644 --- a/devtools/shared/tests/unit/test_fetch-chrome.js +++ b/devtools/shared/tests/unit/test_fetch-chrome.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/shared/tests/unit/test_fetch-file.js b/devtools/shared/tests/unit/test_fetch-file.js index d9d712322..171eb6ac2 100644 --- a/devtools/shared/tests/unit/test_fetch-file.js +++ b/devtools/shared/tests/unit/test_fetch-file.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/shared/tests/unit/test_fetch-http.js b/devtools/shared/tests/unit/test_fetch-http.js index 028fa33ee..5ea4cfb25 100644 --- a/devtools/shared/tests/unit/test_fetch-http.js +++ b/devtools/shared/tests/unit/test_fetch-http.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/shared/tests/unit/test_fetch-resource.js b/devtools/shared/tests/unit/test_fetch-resource.js index 45e79cfa1..c005ed3a8 100644 --- a/devtools/shared/tests/unit/test_fetch-resource.js +++ b/devtools/shared/tests/unit/test_fetch-resource.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/shared/webconsole/test/unit/test_security-info-certificate.js b/devtools/shared/webconsole/test/unit/test_security-info-certificate.js index be223d87e..34c87553f 100644 --- a/devtools/shared/webconsole/test/unit/test_security-info-certificate.js +++ b/devtools/shared/webconsole/test/unit/test_security-info-certificate.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/shared/webconsole/test/unit/test_security-info-parser.js b/devtools/shared/webconsole/test/unit/test_security-info-parser.js index a5682e209..6739677bc 100644 --- a/devtools/shared/webconsole/test/unit/test_security-info-parser.js +++ b/devtools/shared/webconsole/test/unit/test_security-info-parser.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/shared/webconsole/test/unit/test_security-info-protocol-version.js b/devtools/shared/webconsole/test/unit/test_security-info-protocol-version.js index b84002131..cb33b234e 100644 --- a/devtools/shared/webconsole/test/unit/test_security-info-protocol-version.js +++ b/devtools/shared/webconsole/test/unit/test_security-info-protocol-version.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/shared/webconsole/test/unit/test_security-info-state.js b/devtools/shared/webconsole/test/unit/test_security-info-state.js index efa493a95..e22eb0bc6 100644 --- a/devtools/shared/webconsole/test/unit/test_security-info-state.js +++ b/devtools/shared/webconsole/test/unit/test_security-info-state.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/shared/webconsole/test/unit/test_security-info-static-hpkp.js b/devtools/shared/webconsole/test/unit/test_security-info-static-hpkp.js index b76fa141a..1c251eae2 100644 --- a/devtools/shared/webconsole/test/unit/test_security-info-static-hpkp.js +++ b/devtools/shared/webconsole/test/unit/test_security-info-static-hpkp.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/shared/webconsole/test/unit/test_security-info-weakness-reasons.js b/devtools/shared/webconsole/test/unit/test_security-info-weakness-reasons.js index f91d8049e..0b2e9d931 100644 --- a/devtools/shared/webconsole/test/unit/test_security-info-weakness-reasons.js +++ b/devtools/shared/webconsole/test/unit/test_security-info-weakness-reasons.js @@ -1,4 +1,3 @@ -/* vim: set ft=javascript ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; diff --git a/devtools/templates.mozbuild b/devtools/templates.mozbuild index 002cbf5c9..a3ea5fe1f 100644 --- a/devtools/templates.mozbuild +++ b/devtools/templates.mozbuild @@ -1,5 +1,4 @@ # -*- Mode: python; 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/. -- cgit v1.2.3 From 521f2b476c3cac4cbdd0eee676a0dfedaa537041 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Sat, 3 Oct 2020 15:05:53 +0000 Subject: [devtools] Teach devtools about overflow-wrap: anywhere Tag #1666 --- devtools/shared/css/generated/properties-db.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'devtools') diff --git a/devtools/shared/css/generated/properties-db.js b/devtools/shared/css/generated/properties-db.js index 25d9e2d33..316352771 100644 --- a/devtools/shared/css/generated/properties-db.js +++ b/devtools/shared/css/generated/properties-db.js @@ -7857,6 +7857,7 @@ exports.CSS_PROPERTIES = { ], "supports": [], "values": [ + "anywhere", "break-word", "inherit", "initial", @@ -9317,6 +9318,7 @@ exports.CSS_PROPERTIES = { ], "supports": [], "values": [ + "anywhere", "break-word", "inherit", "initial", -- cgit v1.2.3 From 8e3832bacbbef4a549f64df5c978a5672e47ff2e Mon Sep 17 00:00:00 2001 From: athenian200 Date: Tue, 29 Sep 2020 11:31:46 -0500 Subject: Issue #1668 - Part 1: Implement support for caret-color property. This CSS property allows input carets (that blinking input cursor you see in text fields), to be given a custom color. This was implemented in Firefox 53, and it was such a minor feature that no one ever missed it, but I don't see any harm in implementing this. https://bugzilla.mozilla.org/show_bug.cgi?id=1063162 --- devtools/shared/css/generated/properties-db.js | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'devtools') diff --git a/devtools/shared/css/generated/properties-db.js b/devtools/shared/css/generated/properties-db.js index 25d9e2d33..cc17feb73 100644 --- a/devtools/shared/css/generated/properties-db.js +++ b/devtools/shared/css/generated/properties-db.js @@ -2872,6 +2872,7 @@ exports.CSS_PROPERTIES = { "box-shadow", "box-sizing", "caption-side", + "caret-color", "clear", "clip", "clip-path", @@ -5277,6 +5278,28 @@ exports.CSS_PROPERTIES = { "unset" ] }, + "caret-color": { + "isInherited": true, + "subproperties": [ + "caret-color" + ], + "supports": [ + 2 + ], + "values": [ + "COLOR", + "auto", + "currentColor", + "hsl", + "hsla", + "inherit", + "initial", + "rgb", + "rgba", + "transparent", + "unset" + ] + }, "clear": { "isInherited": false, "subproperties": [ -- cgit v1.2.3 From 5072843ee383bd8ae42e50aac304a33f803c0e6a Mon Sep 17 00:00:00 2001 From: Moonchild Date: Mon, 19 Oct 2020 19:35:03 +0000 Subject: Issue #1671 - Unprefix ::-moz-selection This actually keeps both pseudo-elements for now, since the prefixed version is still used internally, but we need the unprefixed version for web compat. Note: while unprefixing a non-spec-compliant pseudo here, it's exactly in line with what other browsers do. Nobody is following the spec here and at least we'll be doing what everyone else is with our unprefixed version. --- .../client/inspector/rules/test/browser_rules_pseudo-element_01.js | 6 +++--- devtools/shared/css/generated/properties-db.js | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'devtools') diff --git a/devtools/client/inspector/rules/test/browser_rules_pseudo-element_01.js b/devtools/client/inspector/rules/test/browser_rules_pseudo-element_01.js index 77b8c0688..72cc7f898 100644 --- a/devtools/client/inspector/rules/test/browser_rules_pseudo-element_01.js +++ b/devtools/client/inspector/rules/test/browser_rules_pseudo-element_01.js @@ -29,7 +29,7 @@ function* testTopLeft(inspector, view) { elementRulesNb: 4, firstLineRulesNb: 2, firstLetterRulesNb: 1, - selectionRulesNb: 0, + selectionRulesNb: 1, afterRulesNb: 1, beforeRulesNb: 2 } @@ -166,7 +166,7 @@ function* testParagraph(inspector, view) { elementRulesNb: 3, firstLineRulesNb: 1, firstLetterRulesNb: 1, - selectionRulesNb: 1, + selectionRulesNb: 2, beforeRulesNb: 0, afterRulesNb: 0 }); @@ -216,7 +216,7 @@ function* assertPseudoElementRulesNumbers(selector, inspector, view, ruleNbs) { firstLetterRules: elementStyle.rules.filter(rule => rule.pseudoElement === ":first-letter"), selectionRules: elementStyle.rules.filter(rule => - rule.pseudoElement === ":-moz-selection"), + rule.pseudoElement === ":selection"), beforeRules: elementStyle.rules.filter(rule => rule.pseudoElement === ":before"), afterRules: elementStyle.rules.filter(rule => diff --git a/devtools/shared/css/generated/properties-db.js b/devtools/shared/css/generated/properties-db.js index 316352771..50d849e79 100644 --- a/devtools/shared/css/generated/properties-db.js +++ b/devtools/shared/css/generated/properties-db.js @@ -9375,6 +9375,7 @@ exports.PSEUDO_ELEMENTS = [ ":backdrop", ":first-letter", ":first-line", + ":selection", ":-moz-selection", ":-moz-focus-inner", ":-moz-focus-outer", -- cgit v1.2.3 From 9ffc5e6c924d2fce78b7aad9727c608077b26ff4 Mon Sep 17 00:00:00 2001 From: athenian200 Date: Tue, 27 Oct 2020 20:37:50 -0500 Subject: Issue #1673 - Part 4: Unprefix -moz-tab-size. While we do fail a couple of tests, the other mainstream browsers also fail them and I think our implementation of tab-size is good enough to be unprefixed at this point. Having this patch also makes testing easier. --- devtools/shared/css/generated/properties-db.js | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'devtools') diff --git a/devtools/shared/css/generated/properties-db.js b/devtools/shared/css/generated/properties-db.js index 01358a033..d149995d9 100644 --- a/devtools/shared/css/generated/properties-db.js +++ b/devtools/shared/css/generated/properties-db.js @@ -1233,7 +1233,7 @@ exports.CSS_PROPERTIES = { "-moz-tab-size": { "isInherited": true, "subproperties": [ - "-moz-tab-size" + "tab-size" ], "supports": [ 7 @@ -3052,7 +3052,7 @@ exports.CSS_PROPERTIES = { "stroke-opacity", "stroke-width", "-x-system-font", - "-moz-tab-size", + "tab-size", "table-layout", "text-align", "text-align-last", @@ -8650,6 +8650,23 @@ exports.CSS_PROPERTIES = { "unset" ] }, + "tab-size": { + "isInherited": true, + "subproperties": [ + "tab-size" + ], + "supports": [ + 6, + 7 + ], + "values": [ + "-moz-calc", + "calc", + "inherit", + "initial", + "unset" + ] + }, "table-layout": { "isInherited": false, "subproperties": [ -- cgit v1.2.3 From 85dc118aaca8446cbe33671446ac23147daec44c Mon Sep 17 00:00:00 2001 From: Alessio Vanni Date: Wed, 18 Nov 2020 21:57:00 +0100 Subject: Issue #1686 - Align a keybinding definition with the others --- devtools/client/menus.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devtools') diff --git a/devtools/client/menus.js b/devtools/client/menus.js index 23f024f04..9b3d3c0b3 100644 --- a/devtools/client/menus.js +++ b/devtools/client/menus.js @@ -94,7 +94,7 @@ exports.menuitems = [ }, key: { id: "browserToolbox", - modifiers: "accel,alt,shift", + modifiers: isMac ? "accel,alt" : "accel,shift", keytext: true } }, -- cgit v1.2.3 From 05569cb6d18680e0bad2505cb68e5ccddbb32d1f Mon Sep 17 00:00:00 2001 From: Moonchild Date: Sun, 20 Dec 2020 19:48:50 +0000 Subject: Revert "Issue #1686 - Align a keybinding definition with the others" This reverts commit 85dc118aaca8446cbe33671446ac23147daec44c. --- devtools/client/menus.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devtools') diff --git a/devtools/client/menus.js b/devtools/client/menus.js index 9b3d3c0b3..23f024f04 100644 --- a/devtools/client/menus.js +++ b/devtools/client/menus.js @@ -94,7 +94,7 @@ exports.menuitems = [ }, key: { id: "browserToolbox", - modifiers: isMac ? "accel,alt" : "accel,shift", + modifiers: "accel,alt,shift", keytext: true } }, -- cgit v1.2.3 From 65da2431f9ee9711e971002ae17043c1a3d36a3f Mon Sep 17 00:00:00 2001 From: Moonchild Date: Wed, 6 Jan 2021 23:57:26 +0000 Subject: Issue #1705 - Part 4: Add scrollbar-width CSS keyword to CSS parser. This should be all parts needed to add a brand new enum keyword including getting the computed style from it... --- devtools/shared/css/generated/properties-db.js | 1 + 1 file changed, 1 insertion(+) (limited to 'devtools') diff --git a/devtools/shared/css/generated/properties-db.js b/devtools/shared/css/generated/properties-db.js index d149995d9..bb88befb7 100644 --- a/devtools/shared/css/generated/properties-db.js +++ b/devtools/shared/css/generated/properties-db.js @@ -3038,6 +3038,7 @@ exports.CSS_PROPERTIES = { "scroll-snap-points-y", "scroll-snap-type-x", "scroll-snap-type-y", + "scrollbar-width", "shape-outside", "shape-rendering", "-moz-stack-sizing", -- cgit v1.2.3