Bug 912121 - Update misc. DevTools paths and comments. rs=devtools

--HG--
extra : commitid : BSf4D59s9HF
extra : rebase_source : 4d14e1aa3ad93bbb426861336e8b703bc1e0b3af
This commit is contained in:
J. Ryan Stinnett 2015-09-21 12:07:31 -05:00
Родитель 1ee81de46e
Коммит 4f1af0e003
275 изменённых файлов: 1865 добавлений и 1865 удалений

4
.gitignore поставляемый
Просмотреть файл

@ -57,8 +57,8 @@ python/psutil/**/*.pyd
python/psutil/build/
# Ignore chrome.manifest files from the devtools loader
browser/devtools/chrome.manifest
toolkit/devtools/chrome.manifest
devtools/client/chrome.manifest
devtools/shared/chrome.manifest
# Tag files generated by GNU Global
GTAGS

Просмотреть файл

@ -64,8 +64,8 @@ _OPT\.OBJ/
.git/
# Ignore chrome.manifest files from the devtools loader
^browser/devtools/chrome.manifest$
^toolkit/devtools/chrome.manifest$
^devtools/client/chrome.manifest$
^devtools/shared/chrome.manifest$
# git checkout of libstagefright
^media/libstagefright/android$

Просмотреть файл

@ -49,7 +49,7 @@ var RemoteDebugger = {
* }
* Specific authentication modes may include additional fields. Check
* the different |allowConnection| methods in
* toolkit/devtools/security/auth.js.
* devtools/shared/security/auth.js.
* @return An AuthenticationResult value.
* A promise that will be resolved to the above is also allowed.
*/

Просмотреть файл

@ -1,6 +1,6 @@
@font-face {
font-family: testFont;
src: url(http://example.com/browser/browser/devtools/fontinspector/test/browser_font.woff);
src: url(http://example.com/browser/devtools/client/fontinspector/test/browser_font.woff);
}
body {
font-family: Arial;

Просмотреть файл

@ -51,7 +51,7 @@ toolkit/library
browser/app
browser/base
browser/components
browser/devtools
devtools/client
browser/locales
browser/modules
browser/themes
@ -60,7 +60,7 @@ browser/app
toolkit/components/jsdownloads
toolkit/content
toolkit/crashreporter
toolkit/devtools
devtools/shared
toolkit/forgetaboutsite
toolkit/identity
toolkit/modules

Просмотреть файл

@ -328,7 +328,7 @@
// Warn about invalid JSDoc comments.
// Disabled for now because of https://github.com/eslint/eslint/issues/2270
// The rule fails on some jsdoc comments like in:
// browser/devtools/webconsole/console-output.js
// devtools/client/webconsole/console-output.js
"valid-jsdoc": 0,
// Ensure that the results of typeof are compared against a valid string.
"valid-typeof": 2,

Просмотреть файл

@ -7,7 +7,7 @@
// Test that the main toggle button actually toggles animations.
// This test doesn't need to be extra careful about checking that *all*
// animations have been paused (including inside iframes) because there's an
// actor test in /toolkit/devtools/server/tests/browser/ that does this.
// actor test in /devtools/server/tests/browser/ that does this.
add_task(function*() {
yield addTab(TEST_URL_ROOT + "doc_simple_animation.html");

Просмотреть файл

@ -16,7 +16,7 @@ const DevToolsUtils = require("devtools/shared/DevToolsUtils");
// All tests are asynchronous
waitForExplicitFinish();
const TEST_URL_ROOT = "http://example.com/browser/browser/devtools/animationinspector/test/";
const TEST_URL_ROOT = "http://example.com/browser/devtools/client/animationinspector/test/";
const ROOT_TEST_DIR = getRootDirectory(gTestPath);
const FRAME_SCRIPT_URL = ROOT_TEST_DIR + "doc_frame_script.js";
const COMMON_FRAME_SCRIPT_URL = "chrome://devtools/content/shared/frame-script-utils.js";

Просмотреть файл

@ -12,7 +12,7 @@
*
* Templates are used this way:
*
* (See examples in browser/devtools/app-manager/content/*.xhtml)
* (See examples in devtools/client/app-manager/content/*.xhtml)
*
* <div template="{JSON Object}">
*

Просмотреть файл

@ -14,7 +14,7 @@ const DevToolsUtils = require("devtools/shared/DevToolsUtils");
const APP_MANAGER_URL = "about:app-manager";
const TEST_BASE =
"chrome://mochitests/content/browser/browser/devtools/app-manager/test/";
"chrome://mochitests/content/browser/devtools/client/app-manager/test/";
const HOSTED_APP_MANIFEST = TEST_BASE + "hosted_app.manifest";
const PACKAGED_APP_DIR_PATH = getTestFilePath(".");

Просмотреть файл

@ -29,7 +29,7 @@ var { Toolbox } = require("devtools/client/framework/toolbox");
var mm = null
const FRAME_SCRIPT_UTILS_URL = "chrome://devtools/content/shared/frame-script-utils.js";
const EXAMPLE_URL = "http://example.com/browser/browser/devtools/canvasdebugger/test/";
const EXAMPLE_URL = "http://example.com/browser/devtools/client/canvasdebugger/test/";
const SET_TIMEOUT_URL = EXAMPLE_URL + "doc_settimeout.html";
const NO_CANVAS_URL = EXAMPLE_URL + "doc_no-canvas.html";
const RAF_NO_CANVAS_URL = EXAMPLE_URL + "doc_raf-no-canvas.html";

Просмотреть файл

@ -4,7 +4,7 @@
// Tests that the appcache validate works as they should with an invalid
// manifest.
const TEST_URI = "http://sub1.test1.example.com/browser/browser/devtools/commandline/" +
const TEST_URI = "http://sub1.test1.example.com/browser/devtools/client/commandline/" +
"test/browser_cmd_appcache_invalid_index.html";
function test() {
@ -44,9 +44,9 @@ function* spawnTest() {
'main/app.js points to a resource that is not available at line 35.',
'/settings/home points to a resource that is not available at line 37.',
'/settings/app.js points to a resource that is not available at line 38.',
'The file http://sub1.test1.example.com/browser/browser/devtools/' +
'The file http://sub1.test1.example.com/browser/devtools/client/' +
'commandline/test/browser_cmd_appcache_invalid_page3.html was modified ' +
'after http://sub1.test1.example.com/browser/browser/devtools/' +
'after http://sub1.test1.example.com/browser/devtools/client/' +
'commandline/test/browser_cmd_appcache_invalid_appcache.appcache. Unless ' +
'the text in the manifest file is changed the cached version will be used ' +
'instead at line 39.',

Просмотреть файл

@ -3,7 +3,7 @@
// Tests that the appcache commands works as they should
const TEST_URI = "http://sub1.test2.example.com/browser/browser/devtools/" +
const TEST_URI = "http://sub1.test2.example.com/browser/devtools/client/" +
"commandline/test/browser_cmd_appcache_valid_index.html";
function test() {
@ -110,7 +110,7 @@ function* spawnTest() {
setup: 'appcache validate ' + TEST_URI,
check: {
input: 'appcache validate ' + TEST_URI,
// appcache validate http://sub1.test2.example.com/browser/browser/devtools/commandline/test/browser_cmd_appcache_valid_index.html
// appcache validate http://sub1.test2.example.com/browser/devtools/client/commandline/test/browser_cmd_appcache_valid_index.html
markup: 'VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV',
status: 'VALID',
args: {
@ -160,7 +160,7 @@ function* spawnTest() {
setup: 'appcache viewentry --key ' + TEST_URI,
check: {
input: 'appcache viewentry --key ' + TEST_URI,
// appcache viewentry --key http://sub1.test2.example.com/browser/browser/devtools/commandline/test/browser_cmd_appcache_valid_index.html
// appcache viewentry --key http://sub1.test2.example.com/browser/devtools/client/commandline/test/browser_cmd_appcache_valid_index.html
markup: 'VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV',
status: 'VALID',
args: {}

Просмотреть файл

@ -3,7 +3,7 @@
// Tests that the cookie commands works as they should
const TEST_URI = "http://example.com/browser/browser/devtools/commandline/"+
const TEST_URI = "http://example.com/browser/devtools/client/commandline/"+
"test/browser_cmd_cookie.html";
function test() {

Просмотреть файл

@ -3,7 +3,7 @@
// Tests that the cookie command works for host with a port specified
const TEST_URI = "http://mochi.test:8888/browser/browser/devtools/commandline/"+
const TEST_URI = "http://mochi.test:8888/browser/devtools/client/commandline/"+
"test/browser_cmd_cookie.html";
function test() {

Просмотреть файл

@ -3,7 +3,7 @@
// Tests that the inject commands works as they should
const TEST_URI = 'http://example.com/browser/browser/devtools/commandline/'+
const TEST_URI = 'http://example.com/browser/devtools/client/commandline/'+
'test/browser_cmd_inject.html';
function test() {
@ -43,9 +43,9 @@ function test() {
}
},
{
setup: 'inject http://example.com/browser/browser/devtools/commandline/test/browser_cmd_inject.js',
setup: 'inject http://example.com/browser/devtools/client/commandline/test/browser_cmd_inject.js',
check: {
input: 'inject http://example.com/browser/browser/devtools/commandline/test/browser_cmd_inject.js',
input: 'inject http://example.com/browser/devtools/client/commandline/test/browser_cmd_inject.js',
markup: 'VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV',
hints: '',
status: 'VALID',

Просмотреть файл

@ -3,7 +3,7 @@
// Tests that the jsb command works as it should
const TEST_URI = "http://example.com/browser/browser/devtools/commandline/" +
const TEST_URI = "http://example.com/browser/devtools/client/commandline/" +
"test/browser_cmd_jsb_script.jsi";
function test() {

Просмотреть файл

@ -3,7 +3,7 @@
// Tests that the listen/unlisten commands work as they should.
const TEST_URI = "http://example.com/browser/browser/devtools/commandline/"+
const TEST_URI = "http://example.com/browser/devtools/client/commandline/"+
"test/browser_cmd_cookie.html";
function test() {

Просмотреть файл

@ -2,7 +2,7 @@
* http://creativecommons.org/publicdomain/zero/1.0/ */
// Test that screenshot command works properly
const TEST_URI = "http://example.com/browser/browser/devtools/commandline/" +
const TEST_URI = "http://example.com/browser/devtools/client/commandline/" +
"test/browser_cmd_media.html";
var tests = {
testInput: function(options) {

Просмотреть файл

@ -3,7 +3,7 @@
// Tests that the inspect command works as it should
const TEST_URI = "http://example.com/browser/browser/devtools/commandline/"+
const TEST_URI = "http://example.com/browser/devtools/client/commandline/"+
"test/browser_cmd_pagemod_export.html";
function test() {

Просмотреть файл

@ -5,7 +5,7 @@
"use strict";
const TEST_URI = "http://example.com/browser/browser/devtools/commandline/" +
const TEST_URI = "http://example.com/browser/devtools/client/commandline/" +
"test/browser_cmd_cookie.html";
function test() {

Просмотреть файл

@ -2,7 +2,7 @@
* http://creativecommons.org/publicdomain/zero/1.0/ */
// Test that screenshot command works properly
const TEST_URI = "http://example.com/browser/browser/devtools/commandline/" +
const TEST_URI = "http://example.com/browser/devtools/client/commandline/" +
"test/browser_cmd_screenshot.html";
var FileUtils = (Cu.import("resource://gre/modules/FileUtils.jsm", {})).FileUtils;

Просмотреть файл

@ -2,8 +2,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
const TEST_BASE_HTTP = "http://example.com/browser/browser/devtools/commandline/test/";
const TEST_BASE_HTTPS = "https://example.com/browser/browser/devtools/commandline/test/";
const TEST_BASE_HTTP = "http://example.com/browser/devtools/client/commandline/test/";
const TEST_BASE_HTTPS = "https://example.com/browser/devtools/client/commandline/test/";
var { require } = Cu.import("resource://gre/modules/devtools/shared/Loader.jsm", {});
var { console } = require("resource://gre/modules/devtools/shared/Console.jsm");

Просмотреть файл

@ -410,7 +410,7 @@ helpers.runTests = function(options, tests) {
}, recover);
};
const MOCK_COMMANDS_URI = "chrome://mochitests/content/browser/browser/devtools/commandline/test/mockCommands.js";
const MOCK_COMMANDS_URI = "chrome://mochitests/content/browser/devtools/client/commandline/test/mockCommands.js";
const defer = function() {
const deferred = { };

Просмотреть файл

@ -5,7 +5,7 @@
* Check extension-added global actor API.
*/
const CHROME_URL = "chrome://mochitests/content/browser/browser/devtools/debugger/test/mochitest/"
const CHROME_URL = "chrome://mochitests/content/browser/devtools/client/debugger/test/mochitest/"
const ACTORS_URL = CHROME_URL + "testactors.js";
function test() {

Просмотреть файл

@ -5,7 +5,7 @@
* Check extension-added tab actor lifetimes.
*/
const CHROME_URL = "chrome://mochitests/content/browser/browser/devtools/debugger/test/mochitest/"
const CHROME_URL = "chrome://mochitests/content/browser/devtools/client/debugger/test/mochitest/"
const ACTORS_URL = CHROME_URL + "testactors.js";
const TAB_URL = EXAMPLE_URL + "doc_empty-tab-01.html";

Просмотреть файл

@ -5,7 +5,7 @@
* Check extension-added tab actor lifetimes.
*/
const CHROME_URL = "chrome://mochitests/content/browser/browser/devtools/debugger/test/mochitest/"
const CHROME_URL = "chrome://mochitests/content/browser/devtools/client/debugger/test/mochitest/"
const ACTORS_URL = CHROME_URL + "testactors.js";
const TAB_URL = EXAMPLE_URL + "doc_empty-tab-01.html";

Просмотреть файл

@ -26,7 +26,7 @@ const { promiseInvoke } = require("devtools/shared/async-utils");
var { TargetFactory } = require("devtools/client/framework/target");
var { Toolbox } = require("devtools/client/framework/toolbox")
const EXAMPLE_URL = "http://example.com/browser/browser/devtools/debugger/test/mochitest/";
const EXAMPLE_URL = "http://example.com/browser/devtools/client/debugger/test/mochitest/";
const FRAME_SCRIPT_URL = getRootDirectory(gTestPath) + "code_frame-script.js";
DevToolsUtils.testing = true;

Просмотреть файл

@ -2,7 +2,7 @@
http://creativecommons.org/publicdomain/zero/1.0/ */
// shared-head.js handles imports, constants, and utility functions
Services.scriptloader.loadSubScript("chrome://mochitests/content/browser/browser/devtools/framework/test/shared-head.js", this);
Services.scriptloader.loadSubScript("chrome://mochitests/content/browser/devtools/client/framework/test/shared-head.js", this);
Services.scriptloader.loadSubScript(TEST_DIR + "../../../commandline/test/helpers.js", this);
const { Eyedropper, EyedropperManager } = require("devtools/client/eyedropper/eyedropper");

Просмотреть файл

@ -5,9 +5,9 @@
"use strict";
// shared-head.js handles imports, constants, and utility functions
Services.scriptloader.loadSubScript("chrome://mochitests/content/browser/browser/devtools/framework/test/shared-head.js", this);
Services.scriptloader.loadSubScript("chrome://mochitests/content/browser/devtools/client/framework/test/shared-head.js", this);
const BASE_URI = "http://mochi.test:8888/browser/browser/devtools/fontinspector/test/"
const BASE_URI = "http://mochi.test:8888/browser/devtools/client/fontinspector/test/"
/**
* Open the toolbox, with the inspector tool visible.

Просмотреть файл

@ -77,7 +77,7 @@ DevTools.prototype = {
* - invertIconForLightTheme: The icon can automatically have an inversion
* filter applied (default is false). All builtin tools are true, but
* addons may omit this to prevent unwanted changes to the `icon`
* image. See browser/themes/shared/devtools/filters.svg#invert for
* image. See devtools/client/themes/filters.svg#invert for
* the filter being applied to the images (boolean|optional)
* - url: URL pointing to a XUL/XHTML document containing the user interface
* (string|required)

Просмотреть файл

@ -1,7 +1,7 @@
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
// A helper frame-script for browser/devtools/framework service worker tests.
// A helper frame-script for devtools/client/framework service worker tests.
"use strict";

Просмотреть файл

@ -2,7 +2,7 @@
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
const CHROME_URL = "chrome://mochitests/content/browser/browser/devtools/framework/test/";
const CHROME_URL = "chrome://mochitests/content/browser/devtools/client/framework/test/";
var toolbox;

Просмотреть файл

@ -12,7 +12,7 @@ var {Toolbox} = require("devtools/client/framework/toolbox");
add_task(function*() {
// Test with ACCEL+SHIFT+I / ACCEL+ALT+I (MacOSX) ; modifiers should match :
// - toolbox-key-toggle in browser/devtools/framework/toolbox-window.xul
// - toolbox-key-toggle in devtools/client/framework/toolbox-window.xul
// - key_devToolboxMenuItem in browser/base/content/browser.xul
info("Test toggle using CTRL+SHIFT+I/CMD+ALT+I");
yield testToggle("I", {

Просмотреть файл

@ -2,7 +2,7 @@
http://creativecommons.org/publicdomain/zero/1.0/ */
// shared-head.js handles imports, constants, and utility functions
Services.scriptloader.loadSubScript("chrome://mochitests/content/browser/browser/devtools/framework/test/shared-head.js", this);
Services.scriptloader.loadSubScript("chrome://mochitests/content/browser/devtools/client/framework/test/shared-head.js", this);
function toggleAllTools(state) {
for (let [, tool] of gDevTools._tools) {

Просмотреть файл

@ -196,7 +196,7 @@ exports.getHighlighterUtils = function(toolbox) {
/**
* Show the box model highlighter on a node in the content page.
* The node needs to be a NodeFront, as defined by the inspector actor
* @see toolkit/devtools/server/actors/inspector.js
* @see devtools/server/actors/inspector.js
* @param {NodeFront} nodeFront The node to highlight
* @param {Object} options
* @return A promise that resolves when the node has been highlighted

Просмотреть файл

@ -2094,7 +2094,7 @@ Toolbox.prototype = {
/**
* Opens source in style editor. Falls back to plain "view-source:".
* @see browser/devtools/shared/source-utils.js
* @see devtools/client/shared/source-utils.js
*/
viewSourceInStyleEditor: function(sourceURL, sourceLine) {
return sourceUtils.viewSourceInStyleEditor(this, sourceURL, sourceLine);
@ -2102,7 +2102,7 @@ Toolbox.prototype = {
/**
* Opens source in debugger. Falls back to plain "view-source:".
* @see browser/devtools/shared/source-utils.js
* @see devtools/client/shared/source-utils.js
*/
viewSourceInDebugger: function(sourceURL, sourceLine) {
return sourceUtils.viewSourceInDebugger(this, sourceURL, sourceLine);
@ -2115,7 +2115,7 @@ Toolbox.prototype = {
* to infer the URL from this toolbox, or use the built in scratchpad IN
* the toolbox.
*
* @see browser/devtools/shared/source-utils.js
* @see devtools/client/shared/source-utils.js
*/
viewSourceInScratchpad: function(sourceURL, sourceLine) {
return sourceUtils.viewSourceInScratchpad(sourceURL, sourceLine);
@ -2123,7 +2123,7 @@ Toolbox.prototype = {
/**
* Opens source in plain "view-source:".
* @see browser/devtools/shared/source-utils.js
* @see devtools/client/shared/source-utils.js
*/
viewSource: function(sourceURL, sourceLine) {
return sourceUtils.viewSource(this, sourceURL, sourceLine);

Просмотреть файл

@ -13,7 +13,7 @@ comparing with the result of getAdjustedQuads.
There's a separate test for checking that getAdjustedQuads actually returns
sensible values
(browser/devtools/shared/test/browser_layoutHelpers-getBoxQuads.js),
(devtools/client/shared/test/browser_layoutHelpers-getBoxQuads.js),
so the present test doesn't care about that, it just verifies that the css
transform highlighter applies those values correctly to the SVG elements
*/

Просмотреть файл

@ -7,7 +7,7 @@
// Test that inspector updates when page is navigated.
const TEST_URL_FILE = "browser/browser/devtools/inspector/test/" +
const TEST_URL_FILE = "browser/devtools/client/inspector/test/" +
"doc_inspector_breadcrumbs.html";
const TEST_URL_1 = "http://test1.example.org/" + TEST_URL_FILE;

Просмотреть файл

@ -17,7 +17,7 @@ const CC = Components.Constructor;
// Uncomment this pref to dump all devtools emitted events to the console.
// Services.prefs.setBoolPref("devtools.dump.emit", true);
var TEST_URL_ROOT = "http://example.com/browser/browser/devtools/inspector/test/";
var TEST_URL_ROOT = "http://example.com/browser/devtools/client/inspector/test/";
var ROOT_TEST_DIR = getRootDirectory(gTestPath);
// All test are asynchronous

Просмотреть файл

@ -15,7 +15,7 @@ var DevToolsUtils = require("devtools/shared/DevToolsUtils");
// All test are asynchronous
waitForExplicitFinish();
const TEST_URL_ROOT = "http://example.com/browser/browser/devtools/layoutview/test/";
const TEST_URL_ROOT = "http://example.com/browser/devtools/client/layoutview/test/";
// Uncomment this pref to dump all devtools emitted events to the console.
// Services.prefs.setBoolPref("devtools.dump.emit", true);

Просмотреть файл

@ -48,8 +48,8 @@ registerCleanupFunction(function*() {
}
});
const TEST_URL_ROOT = "http://mochi.test:8888/browser/browser/devtools/markupview/test/";
const CHROME_BASE = "chrome://mochitests/content/browser/browser/devtools/markupview/test/";
const TEST_URL_ROOT = "http://mochi.test:8888/browser/devtools/client/markupview/test/";
const CHROME_BASE = "chrome://mochitests/content/browser/devtools/client/markupview/test/";
const COMMON_FRAME_SCRIPT_URL = "chrome://devtools/content/shared/frame-script-utils.js";
const MARKUPVIEW_FRAME_SCRIPT_URL = CHROME_BASE + "frame-script-utils.js";

Просмотреть файл

@ -5,8 +5,8 @@
var { Services } = Cu.import("resource://gre/modules/Services.jsm", {});
// Load the NetMonitor head.js file to share its API.
var netMonitorHead = "chrome://mochitests/content/browser/browser/devtools/netmonitor/test/head.js";
var netMonitorHead = "chrome://mochitests/content/browser/devtools/client/netmonitor/test/head.js";
Services.scriptloader.loadSubScript(netMonitorHead, this);
// Directory with HAR related test files.
const HAR_EXAMPLE_URL = "http://example.com/browser/browser/devtools/netmonitor/har/test/";
const HAR_EXAMPLE_URL = "http://example.com/browser/devtools/client/netmonitor/har/test/";

Просмотреть файл

@ -15,7 +15,7 @@ var DevToolsUtils = require("devtools/shared/DevToolsUtils");
var { TargetFactory } = require("devtools/client/framework/target");
var { Toolbox } = require("devtools/client/framework/toolbox");
const EXAMPLE_URL = "http://example.com/browser/browser/devtools/netmonitor/test/";
const EXAMPLE_URL = "http://example.com/browser/devtools/client/netmonitor/test/";
const API_CALLS_URL = EXAMPLE_URL + "html_api-calls-test-page.html";
const SIMPLE_URL = EXAMPLE_URL + "html_simple-test-page.html";
@ -48,7 +48,7 @@ const CONTENT_TYPE_SJS = EXAMPLE_URL + "sjs_content-type-test-server.sjs";
const STATUS_CODES_SJS = EXAMPLE_URL + "sjs_status-codes-test-server.sjs";
const SORTING_SJS = EXAMPLE_URL + "sjs_sorting-test-server.sjs";
const HTTPS_REDIRECT_SJS = EXAMPLE_URL + "sjs_https-redirect-test-server.sjs";
const CORS_SJS_PATH = "/browser/browser/devtools/netmonitor/test/sjs_cors-test-server.sjs";
const CORS_SJS_PATH = "/browser/devtools/client/netmonitor/test/sjs_cors-test-server.sjs";
const TEST_IMAGE = EXAMPLE_URL + "test-image.png";
const TEST_IMAGE_DATA_URI = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHWSURBVHjaYvz//z8DJQAggJiQOe/fv2fv7Oz8rays/N+VkfG/iYnJfyD/1+rVq7ffu3dPFpsBAAHEAHIBCJ85c8bN2Nj4vwsDw/8zQLwKiO8CcRoQu0DxqlWrdsHUwzBAAIGJmTNnPgYa9j8UqhFElwPxf2MIDeIrKSn9FwSJoRkAEEAM0DD4DzMAyPi/G+QKY4hh5WAXGf8PDQ0FGwJ22d27CjADAAIIrLmjo+MXA9R2kAHvGBA2wwx6B8W7od6CeQcggKCmCEL8bgwxYCbUIGTDVkHDBia+CuotgACCueD3TDQN75D4xmAvCoK9ARMHBzAw0AECiBHkAlC0Mdy7x9ABNA3obAZXIAa6iKEcGlMVQHwWyjYuL2d4v2cPg8vZswx7gHyAAAK7AOif7SAbOqCmn4Ha3AHFsIDtgPq/vLz8P4MSkJ2W9h8ggBjevXvHDo4FQUQg/kdypqCg4H8lUIACnQ/SOBMYI8bAsAJFPcj1AAEEjwVQqLpAbXmH5BJjqI0gi9DTAAgDBBCcAVLkgmQ7yKCZxpCQxqUZhAECCJ4XgMl493ug21ZD+aDAXH0WLM4A9MZPXJkJIIAwTAR5pQMalaCABQUULttBGCCAGCnNzgABBgAMJ5THwGvJLAAAAABJRU5ErkJggg==";

Просмотреть файл

@ -23,7 +23,7 @@ const SUCCESSFUL_OUTCOMES = [
* An OptimizationSite contains a record of how many times the
* RawOptimizationSite was sampled, as well as the unique id based off of the
* original profiler array, and the RawOptimizationSite itself as a reference.
* @see browser/devtools/performance/modules/logic/tree-model.js
* @see devtools/client/performance/modules/logic/tree-model.js
*
* @struct RawOptimizationSite
* A structure describing a location in a script that was attempted to be optimized.

Просмотреть файл

@ -21,7 +21,7 @@ const { Formatters } = require("devtools/client/performance/modules/logic/marker
* - colorName: The label of the DevTools color used for this marker. If
* adding a new color, be sure to check that there's an entry
* for `.marker-details-bullet.{COLORNAME}` for the equivilent
* entry in ./browser/themes/shared/devtools/performance.inc.css
* entry in ./devtools/client/themes/performance.inc.css
* https://developer.mozilla.org/en-US/docs/Tools/DevToolsColors
* - collapsible: Whether or not this marker can contain other markers it
* eclipses, and becomes collapsible to reveal its nestable children.

Просмотреть файл

@ -25,7 +25,7 @@ var {
var mm = null;
const FRAME_SCRIPT_UTILS_URL = "chrome://devtools/content/shared/frame-script-utils.js"
const EXAMPLE_URL = "http://example.com/browser/browser/devtools/performance/test/";
const EXAMPLE_URL = "http://example.com/browser/devtools/client/performance/test/";
const SIMPLE_URL = EXAMPLE_URL + "doc_simple-test.html";
const MARKERS_URL = EXAMPLE_URL + "doc_markers.html";
const ALLOCS_URL = EXAMPLE_URL + "doc_allocs.html";

Просмотреть файл

@ -12,7 +12,7 @@ const PROPNAME_MAX_LENGTH = 4;
/**
* View for rendering a list of all optmizations found in a frame.
* The terminology and types used here can be referenced:
* @see browser/devtools/performance/modules/logic/jit.js
* @see devtools/client/performance/modules/logic/jit.js
*/
var OptimizationsListView = {
@ -247,7 +247,7 @@ var OptimizationsListView = {
/**
* Creates an element for insertion in the raw view for an IonType.
*
* @see browser/devtools/performance/modules/logic/jit.js
* @see devtools/client/performance/modules/logic/jit.js
* @param {IonType} ionType
* @return {Element}
*/
@ -261,7 +261,7 @@ var OptimizationsListView = {
/**
* Creates an element for insertion in the raw view for an ObservedType.
*
* @see browser/devtools/performance/modules/logic/jit.js
* @see devtools/client/performance/modules/logic/jit.js
* @param {ObservedType} type
* @return {Element}
*/
@ -300,7 +300,7 @@ var OptimizationsListView = {
/**
* Creates an element for insertion in the raw view for an OptimizationAttempt.
*
* @see browser/devtools/performance/modules/logic/jit.js
* @see devtools/client/performance/modules/logic/jit.js
* @param {OptimizationAttempt} attempt
* @return {Element}
*/

Просмотреть файл

@ -5,7 +5,7 @@
// No sense updating the overview more often than receiving data from the
// backend. Make sure this isn't lower than DEFAULT_TIMELINE_DATA_PULL_TIMEOUT
// in toolkit/devtools/server/actors/timeline.js
// in devtools/server/actors/timeline.js
const OVERVIEW_UPDATE_INTERVAL = 200; // ms
const FRAMERATE_GRAPH_LOW_RES_INTERVAL = 100; // ms
const FRAMERATE_GRAPH_HIGH_RES_INTERVAL = 16; // ms

Просмотреть файл

@ -12,7 +12,7 @@ const {NetUtil} = Cu.import("resource://gre/modules/NetUtil.jsm", {});
const ProjectEditor = require("devtools/client/projecteditor/lib/projecteditor");
const DevToolsUtils = require("devtools/shared/DevToolsUtils");
const TEST_URL_ROOT = "http://mochi.test:8888/browser/browser/devtools/projecteditor/test/";
const TEST_URL_ROOT = "http://mochi.test:8888/browser/devtools/client/projecteditor/test/";
const SAMPLE_WEBAPP_URL = TEST_URL_ROOT + "/helper_homepage.html";
var TEMP_PATH;
var TEMP_FOLDER_NAME = "ProjectEditor" + (new Date().getTime());

Просмотреть файл

@ -3,7 +3,7 @@
"use strict";
const TEST_URI = "http://mochi.test:8888/browser/browser/devtools/" +
const TEST_URI = "http://mochi.test:8888/browser/devtools/client/" +
"responsivedesign/test/touch.html";
add_task(function*() {

Просмотреть файл

@ -82,7 +82,7 @@ function testOpenTestFile()
ok(win, "scratchpad opened for file open");
try {
win.Scratchpad.importFromFile(
"http://example.com/browser/browser/devtools/scratchpad/test/NS_ERROR_ILLEGAL_INPUT.txt",
"http://example.com/browser/devtools/client/scratchpad/test/NS_ERROR_ILLEGAL_INPUT.txt",
"silent",
function (aStatus, content) {
let nb = win.document.querySelector('#scratchpad-notificationbox');

Просмотреть файл

@ -25,7 +25,7 @@ var {Toolbox} = require("devtools/client/framework/toolbox");
var mm = null;
const FRAME_SCRIPT_UTILS_URL = "chrome://devtools/content/shared/frame-script-utils.js"
const EXAMPLE_URL = "http://example.com/browser/browser/devtools/shadereditor/test/";
const EXAMPLE_URL = "http://example.com/browser/devtools/client/shadereditor/test/";
const SIMPLE_CANVAS_URL = EXAMPLE_URL + "doc_simple-canvas.html";
const SHADER_ORDER_URL = EXAMPLE_URL + "doc_shader-order.html";
const MULTIPLE_CONTEXTS_URL = EXAMPLE_URL + "doc_multiple-contexts.html";

Просмотреть файл

@ -38,7 +38,7 @@ const VENDOR_CONTENT_URL = "resource:///modules/devtools/shared/vendor";
* outside of that path will still be loaded from the devtools loader,
* so all system modules are still shared and cached across instances.
* An exception to this is anything under
* `browser/devtools/shared/content`, which is where shared libraries
* `devtools/client/shared/content`, which is where shared libraries
* live that should be evaluated in a browser environment.
*
* @param string baseURI

Просмотреть файл

@ -11,7 +11,7 @@
* toolkit/components/telemetry/Histograms.json. Each type is optional but it
* is best if all three can be included.
*
* 2. Add your chart entries to browser/devtools/shared/telemetry.js
* 2. Add your chart entries to devtools/client/shared/telemetry.js
* (Telemetry.prototype._histograms):
* mytoolname: {
* histogram: "DEVTOOLS_MYTOOLNAME_OPENED_BOOLEAN",

Просмотреть файл

@ -16,7 +16,7 @@ SimpleTest.registerCleanupFunction(() => {
DevToolsUtils.testing = false;
});
const TEST_URI_ROOT = "http://example.com/browser/browser/devtools/shared/test/";
const TEST_URI_ROOT = "http://example.com/browser/devtools/client/shared/test/";
const OPTIONS_VIEW_URL = TEST_URI_ROOT + "doc_options-view.xul";
/**

Просмотреть файл

@ -14,7 +14,7 @@ var { require } = Cu.import("resource://gre/modules/devtools/shared/Loader.jsm",
var { NetUtil } = Cu.import("resource://gre/modules/NetUtil.jsm", {});
var promise = require("promise");
var TEST_URL_ROOT = "http://example.com/browser/browser/devtools/shared/test/";
var TEST_URL_ROOT = "http://example.com/browser/devtools/client/shared/test/";
var ACTOR_URL = TEST_URL_ROOT + "test-actor.js";
// Register a test actor that can operate on the remote document

Просмотреть файл

@ -28,7 +28,7 @@ var dumpn = msg => {
* highlighter actor.
* The instance provides methods to get/set attributes/text/style on nodes of
* the highlighter, inserted into the nsCanvasFrame.
* @see /toolkit/devtools/server/actors/highlighters.js
* @see /devtools/server/actors/highlighters.js
* @param {String} actorID
*/
function getHighlighterCanvasFrameHelper(conn, actorID) {

Просмотреть файл

@ -92,9 +92,9 @@ in the LICENSE file:
# Localization patches
diff --git a/browser/devtools/sourceeditor/codemirror/search/search.js b/browser/devtools/sourceeditor/codemirror/search/search.js
--- a/browser/devtools/sourceeditor/codemirror/search/search.js
+++ b/browser/devtools/sourceeditor/codemirror/search/search.js
diff --git a/devtools/client/sourceeditor/codemirror/search/search.js b/devtools/client/sourceeditor/codemirror/search/search.js
--- a/devtools/client/sourceeditor/codemirror/search/search.js
+++ b/devtools/client/sourceeditor/codemirror/search/search.js
@@ -62,19 +62,31 @@
if (isRE) {
query = new RegExp(isRE[1], isRE[2].indexOf("i") == -1 ? "" : "i");
@ -135,7 +135,7 @@ diff --git a/browser/devtools/sourceeditor/codemirror/search/search.js b/browser
# Footnotes
[1] http://codemirror.net
[2] browser/devtools/sourceeditor/codemirror
[3] browser/devtools/sourceeditor/test/browser_codemirror.js
[4] browser/devtools/jar.mn
[5] browser/devtools/sourceeditor/editor.js
[2] devtools/client/sourceeditor/codemirror
[3] devtools/client/sourceeditor/test/browser_codemirror.js
[4] devtools/client/jar.mn
[5] devtools/client/sourceeditor/editor.js

Просмотреть файл

@ -5,7 +5,7 @@
"use strict";
const HOST = 'mochi.test:8888';
const URI = "http://" + HOST + "/browser/browser/devtools/sourceeditor/test/codemirror.html";
const URI = "http://" + HOST + "/browser/devtools/client/sourceeditor/test/codemirror.html";
loadHelperScript("helper_codemirror_runner.js");
function test() {

Просмотреть файл

@ -9,9 +9,9 @@ const {InspectorFront} = require("devtools/server/actors/inspector");
const {TargetFactory} = require("devtools/client/framework/target");
const { Cc, Ci } = require("chrome");
const CSS_URI = "http://mochi.test:8888/browser/browser/devtools/sourceeditor" +
const CSS_URI = "http://mochi.test:8888/browser/devtools/client/sourceeditor" +
"/test/css_statemachine_testcases.css";
const TESTS_URI = "http://mochi.test:8888/browser/browser/devtools/sourceeditor" +
const TESTS_URI = "http://mochi.test:8888/browser/devtools/client/sourceeditor" +
"/test/css_autocompletion_tests.json";
const source = read(CSS_URI);

Просмотреть файл

@ -7,9 +7,9 @@
const cssAutoCompleter = require("devtools/client/sourceeditor/css-autocompleter");
const { Cc, Ci } = require("chrome");
const CSS_URI = "http://mochi.test:8888/browser/browser/devtools/sourceeditor" +
const CSS_URI = "http://mochi.test:8888/browser/devtools/client/sourceeditor" +
"/test/css_statemachine_testcases.css";
const TESTS_URI = "http://mochi.test:8888/browser/browser/devtools/sourceeditor" +
const TESTS_URI = "http://mochi.test:8888/browser/devtools/client/sourceeditor" +
"/test/css_statemachine_tests.json";
const source = read(CSS_URI);

Просмотреть файл

@ -11,7 +11,7 @@ add_task(function*() {
});
function* runTest() {
const baseURL = "chrome://mochitests/content/browser/browser/devtools/sourceeditor/test"
const baseURL = "chrome://mochitests/content/browser/devtools/client/sourceeditor/test"
const injectedText = "Script successfully injected !";
let {ed, win} = yield setup(null, {

Просмотреть файл

@ -4,7 +4,7 @@
"use strict";
const HOST = 'mochi.test:8888';
const URI = "http://" + HOST + "/browser/browser/devtools/sourceeditor/test/vimemacs.html";
const URI = "http://" + HOST + "/browser/devtools/client/sourceeditor/test/vimemacs.html";
loadHelperScript("helper_codemirror_runner.js");
function test() {

Просмотреть файл

@ -14,7 +14,7 @@ const SPLIT_CONSOLE_PREF = "devtools.toolbox.splitconsoleEnabled";
const STORAGE_PREF = "devtools.storage.enabled";
const DUMPEMIT_PREF = "devtools.dump.emit";
const DEBUGGERLOG_PREF = "devtools.debugger.log";
const PATH = "browser/browser/devtools/storage/test/";
const PATH = "browser/devtools/client/storage/test/";
const MAIN_DOMAIN = "http://test1.example.org/" + PATH;
const ALT_DOMAIN = "http://sectest1.example.org/" + PATH;
const ALT_DOMAIN_SECURED = "https://sectest1.example.org:443/" + PATH;

Просмотреть файл

@ -8,8 +8,8 @@ Bug 970517 - Storage inspector front end - tests
<title>Storage inspector test for listing hosts and storages</title>
</head>
<body>
<iframe src="http://sectest1.example.org/browser/browser/devtools/storage/test/storage-unsecured-iframe.html"></iframe>
<iframe src="https://sectest1.example.org:443/browser/browser/devtools/storage/test/storage-secured-iframe.html"></iframe>
<iframe src="http://sectest1.example.org/browser/devtools/client/storage/test/storage-unsecured-iframe.html"></iframe>
<iframe src="https://sectest1.example.org:443/browser/devtools/client/storage/test/storage-secured-iframe.html"></iframe>
<script type="application/javascript;version=1.7">
"use strict";
let partialHostname = location.hostname.match(/^[^.]+(\..*)$/)[1];

Просмотреть файл

@ -5,7 +5,7 @@
// Tests that the edit command works
const TEST_URI = "http://example.com/browser/browser/devtools/styleeditor/" +
const TEST_URI = "http://example.com/browser/devtools/client/styleeditor/" +
"test/browser_styleeditor_cmd_edit.html";
add_task(function* () {
@ -56,7 +56,7 @@ add_task(function* () {
setup: "edit http",
check: {
input: "edit http",
hints: "://example.com/browser/browser/devtools/styleeditor/test/" +
hints: "://example.com/browser/devtools/client/styleeditor/test/" +
"resources_inpage1.css [line]",
markup: "VVVVVIIII",
status: "ERROR",
@ -74,7 +74,7 @@ add_task(function* () {
setup: "edit page1",
check: {
input: "edit page1",
hints: " [line] -> http://example.com/browser/browser/devtools/" +
hints: " [line] -> http://example.com/browser/devtools/client/" +
"styleeditor/test/resources_inpage1.css",
markup: "VVVVVIIIII",
status: "ERROR",
@ -92,7 +92,7 @@ add_task(function* () {
setup: "edit page2",
check: {
input: "edit page2",
hints: " [line] -> http://example.com/browser/browser/devtools/" +
hints: " [line] -> http://example.com/browser/devtools/client/" +
"styleeditor/test/resources_inpage2.css",
markup: "VVVVVIIIII",
status: "ERROR",

Просмотреть файл

@ -17,7 +17,7 @@ add_task(function*() {
is(ui._openLinkNewTabItem.getAttribute("hidden"), "false",
"The menu item is not hidden");
let url = "https://example.com/browser/browser/devtools/styleeditor/test/" +
let url = "https://example.com/browser/devtools/client/styleeditor/test/" +
"simple.css";
is(ui._contextMenuStyleSheet.href, url, "Correct URL for sheet");

Просмотреть файл

@ -7,7 +7,7 @@
// This test makes sure that the style editor does not store any
// content CSS files in the permanent cache when opened from PB mode.
const TEST_URL = "http://" + TEST_HOST + "/browser/browser/devtools/" +
const TEST_URL = "http://" + TEST_HOST + "/browser/devtools/client/" +
"styleeditor/test/test_private.html";
const {LoadContextInfo} =
Cu.import("resource://gre/modules/LoadContextInfo.jsm", {});

Просмотреть файл

@ -2,9 +2,9 @@
http://creativecommons.org/publicdomain/zero/1.0/ */
const FRAME_SCRIPT_UTILS_URL = "chrome://devtools/content/shared/frame-script-utils.js"
const TEST_BASE = "chrome://mochitests/content/browser/browser/devtools/styleeditor/test/";
const TEST_BASE_HTTP = "http://example.com/browser/browser/devtools/styleeditor/test/";
const TEST_BASE_HTTPS = "https://example.com/browser/browser/devtools/styleeditor/test/";
const TEST_BASE = "chrome://mochitests/content/browser/devtools/client/styleeditor/test/";
const TEST_BASE_HTTP = "http://example.com/browser/devtools/client/styleeditor/test/";
const TEST_BASE_HTTPS = "https://example.com/browser/devtools/client/styleeditor/test/";
const TEST_HOST = 'mochi.test:8888';
var {require} = Cu.import("resource://gre/modules/devtools/shared/Loader.jsm", {});

Просмотреть файл

@ -131,7 +131,7 @@ add_task(function*() {
desc: "Test Copy Location",
node: ruleEditor.source,
menuItem: contextmenu.menuitemCopyLocation,
expectedPattern: "http://example.com/browser/browser/devtools/" +
expectedPattern: "http://example.com/browser/devtools/client/" +
"styleinspector/test/doc_copystyles.css",
hidden: {
copyLocation: false,

Просмотреть файл

@ -7,7 +7,7 @@
// Check stylesheets on HMTL and XUL document
// FIXME: this test opens the devtools for nothing, it should be changed into a
// toolkit/devtools/server/tests/mochitest/test_css-logic-...something...html
// devtools/server/tests/mochitest/test_css-logic-...something...html
// test
const TEST_URI_HTML = TEST_URL_ROOT + "doc_content_stylesheet.html";

Просмотреть файл

@ -2,7 +2,7 @@
background-image: url(./doc_test_image.png);
}
.absolute {
background: url("http://example.com/browser/browser/devtools/styleinspector/test/doc_test_image.png");
background: url("http://example.com/browser/devtools/client/styleinspector/test/doc_test_image.png");
}
.base64 {
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==');

Просмотреть файл

@ -22,9 +22,9 @@ var {console} =
waitForExplicitFinish();
const TEST_URL_ROOT =
"http://example.com/browser/browser/devtools/styleinspector/test/";
"http://example.com/browser/devtools/client/styleinspector/test/";
const TEST_URL_ROOT_SSL =
"https://example.com/browser/browser/devtools/styleinspector/test/";
"https://example.com/browser/devtools/client/styleinspector/test/";
const ROOT_TEST_DIR = getRootDirectory(gTestPath);
const FRAME_SCRIPT_URL = ROOT_TEST_DIR + "doc_frame_script.js";

Просмотреть файл

@ -154,7 +154,7 @@ body {
overflow: hidden;
position: relative;
/* The timeline gets its background-image from a canvas element created in
/browser/devtools/animationinspector/utils.js drawGraphElementBackground
/devtools/client/animationinspector/utils.js drawGraphElementBackground
thanks to document.mozSetImageElement("time-graduations", canvas)
This is done so that the background can be built dynamically from script */
background-image: -moz-element(#time-graduations);
@ -193,7 +193,7 @@ body {
overflow: hidden;
position: relative;
/* This is the same color as the time graduations in
browser/devtools/animationinspector/utils.js */
devtools/client/animationinspector/utils.js */
border-bottom: 1px solid rgba(128, 136, 144, .5);
cursor: col-resize;
-moz-user-select: none;

Просмотреть файл

@ -153,7 +153,7 @@
color: #666;
}
/* Tooltip widget (see browser/devtools/shared/widgets/Tooltip.js) */
/* Tooltip widget (see devtools/client/shared/widgets/Tooltip.js) */
.devtools-tooltip .panel-arrowcontent {
padding: 4px;

Просмотреть файл

@ -341,7 +341,7 @@ div.CodeMirror span.eval-text {
}
}
/* XUL panel styling (see browser/devtools/shared/widgets/Tooltip.js) */
/* XUL panel styling (see devtools/client/shared/widgets/Tooltip.js) */
.theme-tooltip-panel .panel-arrowcontent {
padding: 5px;

Просмотреть файл

@ -350,7 +350,7 @@ div.CodeMirror span.eval-text {
}
}
/* XUL panel styling (see browser/devtools/shared/widgets/Tooltip.js) */
/* XUL panel styling (see devtools/client/shared/widgets/Tooltip.js) */
.theme-tooltip-panel .panel-arrowcontent {
padding: 4px;

Просмотреть файл

@ -300,7 +300,7 @@ box.requests-menu-status[code^="5"] {
-moz-padding-start: 0px;
-moz-padding-end: 4px;
/* Background created on a <canvas> in js. */
/* @see browser/devtools/netmonitor/netmonitor-view.js */
/* @see devtools/client/netmonitor/netmonitor-view.js */
background-image: -moz-element(#waterfall-background);
background-repeat: repeat-y;
background-position: -1px center;

Просмотреть файл

@ -376,7 +376,7 @@
.waterfall-background-ticks {
/* Background created on a <canvas> in js. */
/* @see browser/devtools/timeline/widgets/waterfall.js */
/* @see devtools/client/timeline/widgets/waterfall.js */
background-image: -moz-element(#waterfall-background);
background-repeat: repeat-y;
background-position: -1px center;

Просмотреть файл

@ -27,7 +27,7 @@ add_task(function*() {
is(error.message, "Argument 1 is not valid for any of the 2-argument overloads of AudioNode.connect.", "error has correct message");
is(error.stringified, "TypeError: Argument 1 is not valid for any of the 2-argument overloads of AudioNode.connect.", "error is stringified correctly");
is(error.instanceof, true, "error is correctly an instanceof TypeError");
is(error.fileName, "http://example.com/browser/browser/devtools/webaudioeditor/test/doc_bug_1112378.html", "error has correct fileName");
is(error.fileName, "http://example.com/browser/devtools/client/webaudioeditor/test/doc_bug_1112378.html", "error has correct fileName");
error = yield evalInDebuggee("throwDOMException()");
is(error.lineNumber, 37, "exception has correct lineNumber");
@ -38,7 +38,7 @@ add_task(function*() {
is(error.message, "Operation is not supported", "exception has correct message");
is(error.stringified, "NotSupportedError: Operation is not supported", "exception is stringified correctly");
is(error.instanceof, true, "exception is correctly an instance of DOMException");
is(error.filename, "http://example.com/browser/browser/devtools/webaudioeditor/test/doc_bug_1112378.html", "exception has correct filename");
is(error.filename, "http://example.com/browser/devtools/client/webaudioeditor/test/doc_bug_1112378.html", "exception has correct filename");
yield teardown(target);
});

Просмотреть файл

@ -13,7 +13,7 @@
<script type="text/javascript;version=1.8">
"use strict";
let audioURL = "http://example.com/browser/browser/devtools/webaudioeditor/test/440hz_sine.ogg";
let audioURL = "http://example.com/browser/devtools/client/webaudioeditor/test/440hz_sine.ogg";
let ctx = new AudioContext();
let bufferNode = ctx.createBufferSource();

Просмотреть файл

@ -25,7 +25,7 @@ var audioNodes = require("devtools/server/actors/utils/audionodes.json");
var mm = null;
const FRAME_SCRIPT_UTILS_URL = "chrome://devtools/content/shared/frame-script-utils.js";
const EXAMPLE_URL = "http://example.com/browser/browser/devtools/webaudioeditor/test/";
const EXAMPLE_URL = "http://example.com/browser/devtools/client/webaudioeditor/test/";
const SIMPLE_CONTEXT_URL = EXAMPLE_URL + "doc_simple-context.html";
const COMPLEX_CONTEXT_URL = EXAMPLE_URL + "doc_complex-context.html";
const SIMPLE_NODES_URL = EXAMPLE_URL + "doc_simple-node-creation.html";

Просмотреть файл

@ -14,7 +14,7 @@
const EXPECTED_RESULT = "Not supporting directive 'reflected-xss'. Directive " +
"and values will be ignored.";
const TEST_FILE = "http://example.com/browser/browser/devtools/webconsole/" +
const TEST_FILE = "http://example.com/browser/devtools/client/webconsole/" +
"test/test_bug1045902_console_csp_ignore_reflected_xss_" +
"message.html";

Просмотреть файл

@ -10,9 +10,9 @@
"use strict";
var test = asyncTest(function* () {
const TEST_URI1 = "http://example.com/browser/browser/devtools/webconsole/" +
const TEST_URI1 = "http://example.com/browser/devtools/client/webconsole/" +
"test/test-console.html";
const TEST_URI2 = "http://example.org/browser/browser/devtools/webconsole/" +
const TEST_URI2 = "http://example.org/browser/devtools/client/webconsole/" +
"test/test-console.html";
yield loadTab(TEST_URI1);

Просмотреть файл

@ -9,7 +9,7 @@
"use strict";
var test = asyncTest(function* () {
const TEST_URI = "http://example.com/browser/browser/devtools/webconsole/" +
const TEST_URI = "http://example.com/browser/devtools/client/webconsole/" +
"test/test-console.html?_date=" + Date.now();
const COMMAND_NAME = "consoleCmd_copyURL";
const CONTEXT_MENU_ID = "#menu_copyURL";

Просмотреть файл

@ -8,7 +8,7 @@
"use strict";
const TEST_URI = "http://example.com/browser/browser/devtools/webconsole/" +
const TEST_URI = "http://example.com/browser/devtools/client/webconsole/" +
"test/test-repeated-messages.html";
var test = asyncTest(function* () {

Просмотреть файл

@ -8,7 +8,7 @@
"use strict";
const TEST_URI = "http://example.com/browser/browser/devtools/webconsole/" +
const TEST_URI = "http://example.com/browser/devtools/client/webconsole/" +
"test/test-eval-in-stackframe.html";
function test() {

Просмотреть файл

@ -8,7 +8,7 @@
"use strict";
const TEST_URI = "http://example.com/browser/browser/devtools/webconsole/" +
const TEST_URI = "http://example.com/browser/devtools/client/webconsole/" +
"test/test-bug-869003-top-window.html";
var test = asyncTest(function* () {

Просмотреть файл

@ -8,7 +8,7 @@
"use strict";
const TEST_URI = "http://example.com/browser/browser/devtools/webconsole/" +
const TEST_URI = "http://example.com/browser/devtools/client/webconsole/" +
"test/test-webconsole-error-observer.html";
// On e10s, the exception is triggered in child process

Просмотреть файл

@ -7,7 +7,7 @@
"use strict";
const TEST_URI = "http://example.com/browser/browser/devtools/webconsole/" +
const TEST_URI = "http://example.com/browser/devtools/client/webconsole/" +
"test/test-console.html?" + Date.now();
const TEST_XHR_ERROR_URI = `http://example.com/404.html?${Date.now()}`;

Просмотреть файл

@ -10,7 +10,7 @@
var test = asyncTest(function*() {
const PREF = "devtools.webconsole.persistlog";
const TEST_URI = "http://example.com/browser/browser/devtools/webconsole/" +
const TEST_URI = "http://example.com/browser/devtools/client/webconsole/" +
"test/test-console.html";
Services.prefs.setBoolPref(PREF, false);

Просмотреть файл

@ -7,7 +7,7 @@
"use strict";
const TEST_URI = "http://example.com/browser/browser/devtools/webconsole/" +
const TEST_URI = "http://example.com/browser/devtools/client/webconsole/" +
"test/test-console.html";
var test = asyncTest(function*() {

Просмотреть файл

@ -11,7 +11,7 @@ function test() {
let outputNode;
let contextMenu;
const TEST_URI = "http://example.com/browser/browser/devtools/webconsole/" +
const TEST_URI = "http://example.com/browser/devtools/client/webconsole/" +
"test/test-console.html";
Task.spawn(runner).then(finishTest);

Просмотреть файл

@ -8,7 +8,7 @@
"use strict";
const TEST_URI = "http://example.com/browser/browser/devtools/webconsole/" +
const TEST_URI = "http://example.com/browser/devtools/client/webconsole/" +
"test/test-consoleiframes.html";
const expectedMessages = [

Просмотреть файл

@ -8,7 +8,7 @@
"use strict";
var test = asyncTest(function*() {
const TEST_URI = "http://example.com/browser/browser/devtools/webconsole/" +
const TEST_URI = "http://example.com/browser/devtools/client/webconsole/" +
"test/test-console.html";
yield loadTab(TEST_URI);

Просмотреть файл

@ -8,7 +8,7 @@
"use strict";
const PREF = "devtools.webconsole.persistlog";
const TEST_URI = "http://example.com/browser/browser/devtools/webconsole/" +
const TEST_URI = "http://example.com/browser/devtools/client/webconsole/" +
"test/test-console.html";
var hud;

Просмотреть файл

@ -8,7 +8,7 @@
function test() {
Task.spawn(function* () {
const TEST_URI = "http://example.com/browser/browser/devtools/webconsole/" +
const TEST_URI = "http://example.com/browser/devtools/client/webconsole/" +
"test/test-closure-optimized-out.html";
let {tab} = yield loadTab(TEST_URI);
let hud = yield openConsole(tab);
@ -49,7 +49,7 @@ function test() {
});
}
// Debugger helper functions stolen from browser/devtools/debugger/test/head.js.
// Debugger helper functions stolen from devtools/client/debugger/test/head.js.
function ensureThreadClientState(aPanel, aState) {
let thread = aPanel.panelWin.gThreadClient;

Просмотреть файл

@ -7,7 +7,7 @@
// Check that server log appears in the console panel - bug 1168872
var test = asyncTest(function* () {
const TEST_URI = "http://example.com/browser/browser/devtools/webconsole/test/test-console-server-logging.sjs";
const TEST_URI = "http://example.com/browser/devtools/client/webconsole/test/test-console-server-logging.sjs";
yield loadTab(TEST_URI);

Просмотреть файл

@ -7,7 +7,7 @@
"use strict";
const TEST_URI = "http://example.com/browser/browser/devtools/webconsole/" +
const TEST_URI = "http://example.com/browser/devtools/client/webconsole/" +
"test/test-eval-in-stackframe.html";
var gWebConsole, gJSTerm, gVariablesView;

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше