├── tests ├── content │ ├── css │ │ ├── 2967 │ │ │ └── issue2967.js │ │ ├── 3673 │ │ │ └── issue3673.js │ │ ├── 3688 │ │ │ ├── issue3688-2.css │ │ │ ├── issue3688.js │ │ │ └── issue3688-2.js │ │ ├── 4543 │ │ │ └── issue4543.png │ │ ├── 4893 │ │ │ └── issue4893.css │ │ ├── 5244 │ │ │ └── test.css │ │ ├── 5262 │ │ │ └── issue5262.js │ │ ├── 5277 │ │ │ └── issue5277.css │ │ ├── 5412 │ │ │ └── frame.html │ │ ├── 5987 │ │ │ └── images │ │ │ │ └── imageWith()And'InItsName.png │ │ ├── 6282 │ │ │ └── issue6282.js │ │ ├── 6531 │ │ │ └── issue6531-iframe.html │ │ ├── atRules │ │ │ ├── atCharset.css │ │ │ ├── atPage.css │ │ │ ├── atSupports.css │ │ │ ├── atDocument.css │ │ │ └── atKeyframes.css │ │ ├── selectors │ │ │ └── 6058 │ │ │ │ └── frame.html │ │ └── computed │ │ │ ├── 5449 │ │ │ └── firebug.png │ │ │ ├── 5451 │ │ │ └── issue5451.js │ │ │ └── 5879 │ │ │ └── veryLongImageFileNameForTestingStringCroppingWithinComputedSidePanel.png │ ├── console │ │ ├── 872 │ │ │ └── issue872-iframe.html │ │ ├── 882 │ │ │ └── external.js │ │ ├── 1591 │ │ │ └── issue1591.html │ │ ├── 1601 │ │ │ └── consoleLogErrorObject.js │ │ ├── 1693 │ │ │ └── issue1693.php │ │ ├── 2271 │ │ │ └── issue2271.php │ │ ├── 2328 │ │ │ └── issue2328.php │ │ ├── 2694 │ │ │ └── issue2694.html │ │ ├── 2914 │ │ │ └── issue2914-innerFrame.html │ │ ├── 2948 │ │ │ ├── issue2948.php │ │ │ └── issue2948-popup.html │ │ ├── 3078 │ │ │ └── issue3078.html │ │ ├── 3292 │ │ │ └── issue3292-log.js │ │ ├── 3663 │ │ │ └── issue3663.js │ │ ├── 4493 │ │ │ └── issue4493.html │ │ ├── 4658 │ │ │ └── js │ │ │ │ └── wsdojo │ │ │ │ └── ws │ │ │ │ └── monitor │ │ │ │ └── FirebugBug.js │ │ ├── 5135 │ │ │ └── iframe.html │ │ ├── 5945 │ │ │ └── cssWithErrors.css │ │ ├── 6104 │ │ │ └── issue6104.js │ │ ├── 6116 │ │ │ └── issue6116.js │ │ ├── 6402 │ │ │ ├── iframe.html │ │ │ └── issue6402.xml │ │ ├── 6546 │ │ │ └── issue6546.js │ │ ├── 6778 │ │ │ ├── iframe.php │ │ │ └── issue6778.js │ │ ├── grouping │ │ │ ├── 6750 │ │ │ │ └── issue6750.js │ │ │ └── xhr.txt │ │ ├── spy │ │ │ ├── 2285 │ │ │ │ ├── issue2285-1.php │ │ │ │ └── issue2285.php │ │ │ ├── 2462 │ │ │ │ ├── Issue2462.php │ │ │ │ └── issue2462.js │ │ │ ├── 2712 │ │ │ │ └── issue2712.php │ │ │ ├── 2868 │ │ │ │ └── issue2868.php │ │ │ ├── 4009 │ │ │ │ ├── issue4009-4.php │ │ │ │ ├── issue4009-1.php │ │ │ │ ├── issue4009-2.php │ │ │ │ └── issue4009-3.php │ │ │ ├── 4171 │ │ │ │ └── issue4171.php │ │ │ └── 5049 │ │ │ │ ├── issue5049-1.txt │ │ │ │ └── issue5049-2.txt │ │ ├── profiler │ │ │ └── profiler-iframe.html │ │ ├── onreadystatechange.js │ │ ├── errors │ │ │ └── 6523 │ │ │ │ └── issue6523-frame.html │ │ ├── onreadystatechange.html │ │ ├── api │ │ │ ├── clear.js │ │ │ └── log.js │ │ ├── consoleOnOtherPanels.html │ │ ├── completion │ │ │ ├── 3394 │ │ │ │ ├── issue3394.js │ │ │ │ └── issue3394.html │ │ │ └── 3466 │ │ │ │ ├── issue3466.html │ │ │ │ └── issue3466.js │ │ ├── breakOnError │ │ │ └── breakOnError2.html │ │ └── panelContentAfterReopen.html │ ├── net │ │ ├── 369 │ │ │ ├── .htaccess │ │ │ ├── issue369-1.txt │ │ │ ├── issue369-2.txt │ │ │ ├── issue369-5.txt │ │ │ ├── issue369-3.txt │ │ │ ├── issue369-6.txt │ │ │ ├── issue369-4.txt │ │ │ └── issue369-7.txt │ │ ├── 372 │ │ │ └── issue372.txt │ │ ├── 601 │ │ │ └── issue601.php │ │ ├── 654 │ │ │ └── issue654.php │ │ ├── 700 │ │ │ └── issue700.php │ │ ├── 846 │ │ │ └── Issue846.php │ │ ├── 1256 │ │ │ └── issue1256.txt │ │ ├── 1275 │ │ │ └── issue1275.txt │ │ ├── 1299 │ │ │ ├── issue1299.js │ │ │ └── issue1299.html │ │ ├── 1308 │ │ │ ├── issue1308.txt │ │ │ └── issue1308-1.6.html │ │ ├── 1456 │ │ │ ├── .htaccess │ │ │ └── issue1456.txt │ │ ├── 1468 │ │ │ ├── issue1468Submit.html │ │ │ └── issue1468.html │ │ ├── 1764 │ │ │ └── issue1764-2.html │ │ ├── 1862 │ │ │ └── issue1862.php │ │ ├── 1867 │ │ │ └── issue1867Submit.html │ │ ├── 1927 │ │ │ └── issue1927.php │ │ ├── 2209 │ │ │ ├── issue2209.json │ │ │ ├── issue2209-2.php │ │ │ └── issue2209-2.js │ │ ├── 2221 │ │ │ └── issue2221.php │ │ ├── 2696 │ │ │ └── issue2696.txt │ │ ├── 2739 │ │ │ └── issue2739.php │ │ ├── 2763 │ │ │ └── issue2763.php │ │ ├── 4156 │ │ │ ├── issue4156-test.js │ │ │ └── firebug.png │ │ ├── 4382 │ │ │ └── json.php │ │ ├── 4439 │ │ │ ├── .htaccess │ │ │ └── issue4439.txt │ │ ├── 4663 │ │ │ └── issue4663.php │ │ ├── 4689 │ │ │ └── data.json │ │ ├── 4905 │ │ │ └── issue4095.php │ │ ├── 5324 │ │ │ ├── issue5324.php │ │ │ └── issue5324.js │ │ ├── 5592 │ │ │ └── issue5592.php │ │ ├── 5714 │ │ │ └── issue5714.php │ │ ├── 6616 │ │ │ └── issue6616.php │ │ ├── 6817 │ │ │ ├── issue6817.php │ │ │ └── issue6817-iframe.html │ │ ├── activation │ │ │ ├── activation1.txt │ │ │ ├── activation2.txt │ │ │ ├── activation1.html │ │ │ └── activation2.html │ │ ├── breakpoints │ │ │ ├── process2.php │ │ │ └── process1.php │ │ ├── filter │ │ │ ├── 176 │ │ │ │ ├── issue176.flv │ │ │ │ ├── issue176.txt │ │ │ │ └── .htaccess │ │ │ ├── 6474 │ │ │ │ ├── .htaccess │ │ │ │ └── issue6474.woff │ │ │ └── 6530 │ │ │ │ ├── .htaccess │ │ │ │ └── issue6530-test-file.js │ │ ├── listeners │ │ │ ├── netInfoBodyListener.txt │ │ │ └── netInfoBodyListener-1.6.html │ │ └── url-params │ │ │ └── test.php │ ├── script │ │ ├── 1425 │ │ │ └── main.js │ │ ├── 1483 │ │ │ └── index.js │ │ ├── 1575 │ │ │ └── issue1575.js │ │ ├── 2638 │ │ │ └── issue2638.js │ │ ├── 3309 │ │ │ └── issue3309.html │ │ ├── 3402 │ │ │ └── issue3402.js │ │ ├── 3716 │ │ │ ├── issue3716.js │ │ │ └── issue3716.html │ │ ├── 3918 │ │ │ └── AsyncJSDPage.html │ │ ├── 3985 │ │ │ ├── issue3985-iframe.html │ │ │ └── issue3985-iframe.js │ │ ├── 4145 │ │ │ ├── contentPane.html │ │ │ └── test.html │ │ ├── 4213 │ │ │ ├── issue4213-2.js │ │ │ └── issue4213-1.js │ │ ├── 4573 │ │ │ └── index.html │ │ ├── 4932 │ │ │ ├── test.js │ │ │ ├── test-frame.html │ │ │ └── issue4932.js │ │ ├── breakpoints │ │ │ └── 4854 │ │ │ │ └── issue4854.txt │ │ ├── singleStepping │ │ │ └── fibonacci.js │ │ ├── stepping │ │ │ ├── 4880 │ │ │ │ └── test.js │ │ │ └── StepIntoInIFrame │ │ │ │ ├── test-frame.html │ │ │ │ └── test.js │ │ ├── dynamicScriptEval │ │ │ └── payloadCatsAndDucks.js │ │ ├── debuggerKeyword │ │ │ ├── debuggerKeyword2.js │ │ │ └── debuggerKeyword1.js │ │ ├── LocalScopeVariables │ │ │ └── LocalScopeVariables.html │ │ ├── watch │ │ │ └── 5009 │ │ │ │ └── issue5009.js │ │ └── callstack │ │ │ └── 4415 │ │ │ └── issue4415.js │ ├── commandLine │ │ ├── 3703 │ │ │ ├── issue3703.js │ │ │ └── issue3703.html │ │ ├── 4209 │ │ │ ├── issue4209.js │ │ │ └── issue4209.html │ │ ├── 5873 │ │ │ └── frame.html │ │ ├── 5878 │ │ │ ├── myOtherScript.js │ │ │ ├── pendingScript.php │ │ │ ├── result_step10.png │ │ │ ├── result_step18.png │ │ │ └── myScript.js │ │ ├── 6920 │ │ │ └── issue6920.js │ │ ├── api │ │ │ ├── cdFrame.html │ │ │ ├── $_.js │ │ │ └── dir.html │ │ ├── objects.js │ │ └── objects.html │ ├── firebug │ │ ├── 2613 │ │ │ └── issue2613.php │ │ ├── 5349 │ │ │ └── issue5349.js │ │ ├── 6300 │ │ │ └── test.js │ │ ├── 7036 │ │ │ └── issue7036.js │ │ ├── openOnLocalPage.html │ │ ├── openNotOpenClose.js │ │ ├── openOnLocalPage.js │ │ ├── selectedPanelAfterReopen.js │ │ └── activeContextAfterReload.js │ ├── search │ │ ├── 6454 │ │ │ └── issue6454-iframe.html │ │ ├── script2.js │ │ ├── css2.css │ │ ├── css1.css │ │ ├── NETIframe.htm │ │ ├── script1.js │ │ ├── htmlIframe.htm │ │ ├── netVictim.htm │ │ └── scriptVictim.htm │ ├── dom │ │ ├── 5247 │ │ │ └── external │ │ │ │ └── externalStylesheet.css │ │ ├── appCache │ │ │ ├── .htaccess │ │ │ ├── appCache.css │ │ │ ├── appCache.js │ │ │ ├── appCache-1.php │ │ │ ├── appCache-2.php │ │ │ └── appCache.manifest │ │ ├── sidePanel │ │ │ └── sidePanel.js │ │ └── breakpoints │ │ │ └── window-inner-outer.html │ ├── bti │ │ ├── browser │ │ │ ├── simpleExternal.js │ │ │ ├── missing-tests.txt │ │ │ ├── testExternalScript.html │ │ │ ├── testGetContexts.html │ │ │ ├── isConnected.js │ │ │ ├── onDisconnect.js │ │ │ ├── onContextCreated.js │ │ │ ├── onContextLoaded.js │ │ │ ├── onScriptEmbedded.js │ │ │ └── getContext.js │ │ ├── browsercontext │ │ │ ├── simpleExternal.js │ │ │ ├── testScripts.html │ │ │ └── getBrowser.js │ │ └── compilationunit │ │ │ ├── simpleExternal.js │ │ │ └── testScripts.html │ ├── html │ │ ├── 4669 │ │ │ ├── issue4669.xml │ │ │ └── issue4669.js │ │ ├── 4670 │ │ │ ├── issue4670.xml │ │ │ └── issue4670.js │ │ ├── 4837 │ │ │ └── issue4837.js │ │ ├── 5058 │ │ │ └── issue5058.js │ │ ├── 5358 │ │ │ └── content.xml │ │ ├── 5483 │ │ │ └── firebug.png │ │ ├── 6744 │ │ │ └── issue6744.js │ │ ├── events │ │ │ └── 5440 │ │ │ │ ├── testdiv.png │ │ │ │ └── testspan.png │ │ └── style │ │ │ ├── 2440 │ │ │ └── issue2440.css │ │ │ ├── 5438 │ │ │ └── testFont.woff │ │ │ ├── 5654 │ │ │ └── issue5654.css │ │ │ └── 5672 │ │ │ └── firebug.png │ ├── status │ │ └── 1.5a.html │ ├── examples │ │ ├── exampleNet1.php │ │ ├── exampleTest.html │ │ ├── exampleLib1.js │ │ ├── exampleHtmlMutation1.js │ │ ├── exampleScreenGrab1.html │ │ ├── exampleTest.js │ │ ├── exampleScript1.html │ │ ├── exampleToolsInterface.html │ │ ├── exampleCommandLine1.js │ │ ├── exampleConsoleAPI1.js │ │ ├── exampleCommandLine1.html │ │ ├── exampleScript2.html │ │ └── exampleNet1.html │ ├── loader │ │ ├── diagnostics │ │ │ ├── requirejs │ │ │ │ └── tests │ │ │ │ │ └── diagnostics │ │ │ │ │ ├── twoDefineOneFile.js │ │ │ │ │ ├── diagnostics.html │ │ │ │ │ ├── module-b.js │ │ │ │ │ ├── module-a.js │ │ │ │ │ ├── defineWithNoReturn.js │ │ │ │ │ ├── syntaxErrorInsideDefine.js │ │ │ │ │ ├── runtimeErrorInsideDefine.js │ │ │ │ │ └── require-debug.html │ │ │ └── diagnostics.html │ │ ├── paths │ │ │ ├── add.js │ │ │ ├── subtract.js │ │ │ ├── absolutepath.js │ │ │ └── relativepath.js │ │ └── dependencies │ │ │ ├── module-b.js │ │ │ ├── module-a.js │ │ │ └── main.js │ ├── chrome │ │ └── 1883 │ │ │ └── issue1883.html │ ├── inspector │ │ ├── InspectorIframeTest.htm │ │ ├── Issue68BoxActual.htm │ │ ├── Issue68FrameActual.htm │ │ ├── Issue68BoxRulerActual.htm │ │ └── InspectorTestIframe.htm │ ├── cookies │ │ ├── 44 │ │ │ └── issue44.js │ │ ├── 54 │ │ │ └── issue54.js │ │ ├── 5560 │ │ │ └── issue5560.js │ │ ├── tests.css │ │ └── general │ │ │ ├── cookiesPanel.js │ │ │ └── breakOnNext.js │ ├── memory │ │ └── memoryLeak │ │ │ └── memory-popup.html │ ├── lib │ │ ├── search │ │ │ └── textSearch.htm │ │ ├── xpath │ │ │ └── getElementTreeXPath.js │ │ └── css │ │ │ ├── colorNameToRGB.js │ │ │ └── rgbToHex.js │ ├── shortcuts │ │ └── inspector.html │ └── domplate │ │ └── issue4425.html ├── FBTest │ ├── content │ │ ├── fbtest.properties │ │ ├── testListFrame.html │ │ ├── bindings.css │ │ ├── testFrame.html │ │ ├── testException.js │ │ ├── api │ │ │ └── computedPanel.js │ │ └── userMessage.xul │ ├── skin │ │ └── classic │ │ │ ├── traceConsole.css │ │ │ └── base.css │ └── modules │ │ └── FBTestIntegrate.js └── templates │ ├── net │ └── issueXXXX.php │ ├── extension │ └── simple-extension │ │ ├── chrome.manifest │ │ ├── content │ │ └── browserOverlay.xul │ │ └── install.rdf │ └── automated │ └── issueXXXX.js ├── trace └── FBTrace │ ├── ant.properties │ ├── chrome │ ├── skin │ │ └── classic │ │ │ ├── up.png │ │ │ ├── tag.png │ │ │ ├── clear.png │ │ │ ├── group.png │ │ │ ├── tools.png │ │ │ ├── Toolbar-small.png │ │ │ ├── commandLine.css │ │ │ ├── win │ │ │ └── traceConsole.css │ │ │ └── mac │ │ │ └── traceConsole.css │ └── content │ │ ├── traceConsole.css │ │ ├── traceFirebugOverlay.xul │ │ └── trace.js │ ├── icons │ └── default │ │ └── TraceConsole.ico │ ├── defaults │ └── preferences │ │ └── tracingconsole.js │ └── chrome.manifest ├── extension ├── icons │ └── default │ │ └── firebug.ico ├── skin │ └── classic │ │ ├── rulerH.png │ │ ├── rulerV.png │ │ ├── spinner.png │ │ ├── firebugBig.png │ │ ├── noteBorders.png │ │ ├── noteContent.png │ │ ├── noteCorners.png │ │ ├── noteBordersUps.png │ │ ├── noteContentUps.png │ │ ├── noteCornersUps.png │ │ ├── cookies │ │ ├── editCookie.css │ │ ├── activation-menu-cookies.png │ │ └── trace.css │ │ ├── window.css │ │ ├── activation-menu-net.png │ │ ├── activation-menu-console.png │ │ ├── activation-menu-script.png │ │ ├── mac │ │ ├── breakpointConditionEditor.png │ │ ├── breakpointConditionEditorDown.png │ │ ├── window.css │ │ ├── console.css │ │ ├── cookies.css │ │ ├── net.css │ │ └── quickInfoBox.css │ │ ├── win │ │ ├── breakpointConditionEditor.png │ │ └── breakpointConditionEditorDown.png │ │ ├── trace.css │ │ ├── callstackPanel.css │ │ ├── scriptPanel.css │ │ ├── quickInfoBoxPanel.css │ │ ├── linux │ │ ├── console.css │ │ ├── cookies.css │ │ └── net.css │ │ ├── customizeShortcuts.css │ │ └── bindings.xml ├── content │ └── firebug │ │ ├── firebugui │ │ ├── blank.gif │ │ ├── commandEditor.html │ │ ├── panel.html │ │ └── codemirror-showhint.css │ │ ├── html │ │ └── quickInfoBox.css │ │ ├── cookies │ │ ├── cookies.css │ │ └── editCookie.css │ │ ├── remoting │ │ └── connectionMenu.css │ │ ├── branch.properties │ │ └── lib │ │ ├── locale.js │ │ └── promise.js ├── locale │ ├── fr │ │ ├── keys.properties │ │ ├── firebug-amo.properties │ │ └── selectors.properties │ ├── zh-CN │ │ ├── keys.properties │ │ └── firebug-amo.properties │ ├── zh-TW │ │ ├── keys.properties │ │ └── firebug-amo.properties │ ├── ja-JP │ │ ├── keys.properties │ │ └── firebug-amo.properties │ ├── nl │ │ ├── keys.properties │ │ ├── firebug-amo.properties │ │ └── selectors.properties │ ├── ru │ │ └── keys.properties │ ├── en-US │ │ └── keys.properties │ ├── hu-HU │ │ ├── keys.properties │ │ ├── firebug-amo.properties │ │ └── selectors.properties │ ├── es-ES │ │ ├── keys.properties │ │ ├── firebug-amo.properties │ │ └── selectors.properties │ ├── pl │ │ ├── keys.properties │ │ └── selectors.properties │ ├── de │ │ └── keys.properties │ ├── es-AR │ │ ├── keys.properties │ │ ├── selectors.properties │ │ └── firebug-amo.properties │ ├── bg │ │ ├── keys.properties │ │ └── selectors.properties │ └── sv-SE │ │ ├── selectors.properties │ │ └── firebug-amo.properties ├── modules │ └── fbtrace.js └── package.json └── .gitignore /tests/content/css/3688/issue3688-2.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/content/console/grouping/xhr.txt: -------------------------------------------------------------------------------- 1 | Hello Firebug user! -------------------------------------------------------------------------------- /tests/content/css/atRules/atCharset.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; -------------------------------------------------------------------------------- /tests/content/net/5714/issue5714.php: -------------------------------------------------------------------------------- 1 | Response for issu5741 -------------------------------------------------------------------------------- /tests/content/net/1256/issue1256.txt: -------------------------------------------------------------------------------- 1 | Response for issue1256.html -------------------------------------------------------------------------------- /tests/content/net/1308/issue1308.txt: -------------------------------------------------------------------------------- 1 | Response for issue1308.html -------------------------------------------------------------------------------- /tests/content/net/2696/issue2696.txt: -------------------------------------------------------------------------------- 1 | Test response for 2696. -------------------------------------------------------------------------------- /tests/content/net/2763/issue2763.php: -------------------------------------------------------------------------------- 1 | Response for issue 2763. -------------------------------------------------------------------------------- /tests/content/net/372/issue372.txt: -------------------------------------------------------------------------------- 1 | Response for issue372.html -------------------------------------------------------------------------------- /tests/content/script/4932/test.js: -------------------------------------------------------------------------------- 1 | function funcTest() {} 2 | -------------------------------------------------------------------------------- /tests/content/commandLine/5878/myOtherScript.js: -------------------------------------------------------------------------------- 1 | window.b = 1; 2 | -------------------------------------------------------------------------------- /tests/content/console/2271/issue2271.php: -------------------------------------------------------------------------------- 1 | Response for issue 2271. -------------------------------------------------------------------------------- /tests/content/console/spy/2712/issue2712.php: -------------------------------------------------------------------------------- 1 | Response for issue 2712. -------------------------------------------------------------------------------- /tests/content/console/spy/5049/issue5049-1.txt: -------------------------------------------------------------------------------- 1 | Hello Firebug user! -------------------------------------------------------------------------------- /tests/content/console/spy/5049/issue5049-2.txt: -------------------------------------------------------------------------------- 1 | Hello Firebug user 2! -------------------------------------------------------------------------------- /tests/content/net/4439/.htaccess: -------------------------------------------------------------------------------- 1 | AddType text/json .txt 2 | 3 | -------------------------------------------------------------------------------- /tests/content/net/4663/issue4663.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/content/console/3292/issue3292-log.js: -------------------------------------------------------------------------------- 1 | console.log("include log"); -------------------------------------------------------------------------------- /tests/content/css/5244/test.css: -------------------------------------------------------------------------------- 1 | .someClass { 2 | color: green; 3 | } -------------------------------------------------------------------------------- /tests/content/firebug/6300/test.js: -------------------------------------------------------------------------------- 1 | function test() 2 | { 3 | } 4 | 5 | -------------------------------------------------------------------------------- /tests/content/net/1275/issue1275.txt: -------------------------------------------------------------------------------- 1 | { data1: 'value1', data2: 'value2' } -------------------------------------------------------------------------------- /tests/content/net/4156/issue4156-test.js: -------------------------------------------------------------------------------- 1 | var test = "Hello Firebug user!"; -------------------------------------------------------------------------------- /tests/content/net/4439/issue4439.txt: -------------------------------------------------------------------------------- 1 | { data1: 'value1', data2: 'value2' } -------------------------------------------------------------------------------- /tests/content/net/activation/activation1.txt: -------------------------------------------------------------------------------- 1 | Response for activation test. -------------------------------------------------------------------------------- /tests/content/net/activation/activation2.txt: -------------------------------------------------------------------------------- 1 | Response for activation test. -------------------------------------------------------------------------------- /tests/content/script/breakpoints/4854/issue4854.txt: -------------------------------------------------------------------------------- 1 | Hello Firebug user! -------------------------------------------------------------------------------- /tests/content/search/script2.js: -------------------------------------------------------------------------------- 1 | function scriptTest2script() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/content/console/spy/2462/Issue2462.php: -------------------------------------------------------------------------------- 1 |
Response for test 2462
-------------------------------------------------------------------------------- /tests/content/css/atRules/atPage.css: -------------------------------------------------------------------------------- 1 | @page { 2 | margin: 2cm 3cm; 3 | } -------------------------------------------------------------------------------- /tests/content/net/654/issue654.php: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/content/net/breakpoints/process2.php: -------------------------------------------------------------------------------- 1 | Response 2 for Break on XHR test. -------------------------------------------------------------------------------- /tests/content/search/css2.css: -------------------------------------------------------------------------------- 1 | .cssTest2 { 2 | display: none; 3 | } 4 | -------------------------------------------------------------------------------- /tests/content/css/selectors/6058/frame.html: -------------------------------------------------------------------------------- 1 |
Hello,
2 | -------------------------------------------------------------------------------- /tests/content/net/1299/issue1299.js: -------------------------------------------------------------------------------- 1 | function issue1299() { return "issue1299"; } -------------------------------------------------------------------------------- /tests/content/net/breakpoints/process1.php: -------------------------------------------------------------------------------- 1 | Response 1 for Break on XHR test. 2 | -------------------------------------------------------------------------------- /tests/content/dom/appCache/.htaccess: -------------------------------------------------------------------------------- 1 | AddType text/cache-manifest .manifest 2 | 3 | 4 | -------------------------------------------------------------------------------- /tests/content/net/6616/issue6616.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/content/net/6817/issue6817.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/content/net/filter/6530/.htaccess: -------------------------------------------------------------------------------- 1 | AddHandler application/x-httpd-php .js 2 | 3 | -------------------------------------------------------------------------------- /tests/content/net/filter/6474/.htaccess: -------------------------------------------------------------------------------- 1 | AddHandler application/x-httpd-php .woff 2 | 3 | -------------------------------------------------------------------------------- /tests/content/net/listeners/netInfoBodyListener.txt: -------------------------------------------------------------------------------- 1 | Response for netInfoBodyListener test. -------------------------------------------------------------------------------- /tests/content/console/882/external.js: -------------------------------------------------------------------------------- 1 | function external() { 2 | console.info("external"); 3 | } -------------------------------------------------------------------------------- /tests/content/dom/5247/external/externalStylesheet.css: -------------------------------------------------------------------------------- 1 | #externalRule { 2 | color: blue; 3 | } -------------------------------------------------------------------------------- /tests/content/dom/appCache/appCache.css: -------------------------------------------------------------------------------- 1 | #content1, #content2 { 2 | color : green; 3 | } 4 | -------------------------------------------------------------------------------- /tests/content/net/2209/issue2209.json: -------------------------------------------------------------------------------- 1 | foo.bar[1]({"ResultSet":{"totalResultsAvailable":"4791067"}}) -------------------------------------------------------------------------------- /tests/content/css/5277/issue5277.css: -------------------------------------------------------------------------------- 1 | #element1 { 2 | background-color: #78FF8C!important; 3 | } 4 | -------------------------------------------------------------------------------- /tests/content/script/4213/issue4213-2.js: -------------------------------------------------------------------------------- 1 | function myFunc2(data) 2 | { 3 | return data; 4 | } 5 | -------------------------------------------------------------------------------- /tests/content/bti/browser/simpleExternal.js: -------------------------------------------------------------------------------- 1 | document.write("Browser Tools Interface (external source file)"); -------------------------------------------------------------------------------- /tests/content/dom/appCache/appCache.js: -------------------------------------------------------------------------------- 1 | function helloWorld() 2 | { 3 | return "Hello World!"; 4 | } 5 | -------------------------------------------------------------------------------- /tests/content/net/369/.htaccess: -------------------------------------------------------------------------------- 1 | AddType text/javascript .txt 2 | AddHandler application/x-httpd-php .txt 3 | 4 | -------------------------------------------------------------------------------- /tests/content/net/5324/issue5324.php: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /tests/content/script/1575/issue1575.js: -------------------------------------------------------------------------------- 1 | function issue1575GlobalFunction() 2 | { 3 | var a = 10; 4 | } 5 | -------------------------------------------------------------------------------- /tests/content/net/1456/.htaccess: -------------------------------------------------------------------------------- 1 | AddType text/javascript .txt 2 | AddHandler application/x-httpd-php .txt 3 | 4 | -------------------------------------------------------------------------------- /trace/FBTrace/ant.properties: -------------------------------------------------------------------------------- 1 | VERSION=2.0 2 | RELEASE=b1 3 | GETFIREBUG=../../../../../getfirebug.com/tags/production -------------------------------------------------------------------------------- /extension/icons/default/firebug.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/extension/icons/default/firebug.ico -------------------------------------------------------------------------------- /extension/skin/classic/rulerH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/extension/skin/classic/rulerH.png -------------------------------------------------------------------------------- /extension/skin/classic/rulerV.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/extension/skin/classic/rulerV.png -------------------------------------------------------------------------------- /extension/skin/classic/spinner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/extension/skin/classic/spinner.png -------------------------------------------------------------------------------- /tests/content/bti/browsercontext/simpleExternal.js: -------------------------------------------------------------------------------- 1 | document.write("

Browser Tools Interface (external source file)

"); -------------------------------------------------------------------------------- /tests/content/console/2948/issue2948.php: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /tests/content/css/4893/issue4893.css: -------------------------------------------------------------------------------- 1 | body{font-family:Arial,sans-serif;background:#EEE;color:#333;margin:0;padding:0;} 2 | -------------------------------------------------------------------------------- /tests/content/css/5412/frame.html: -------------------------------------------------------------------------------- 1 | 4 |
5 | -------------------------------------------------------------------------------- /tests/content/html/5483/firebug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/tests/content/html/5483/firebug.png -------------------------------------------------------------------------------- /tests/content/net/2209/issue2209-2.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/content/net/4156/firebug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/tests/content/net/4156/firebug.png -------------------------------------------------------------------------------- /tests/content/script/1425/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/tests/content/script/1425/main.js -------------------------------------------------------------------------------- /extension/skin/classic/firebugBig.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/extension/skin/classic/firebugBig.png -------------------------------------------------------------------------------- /tests/FBTest/content/fbtest.properties: -------------------------------------------------------------------------------- 1 | VERSION=2.0 2 | RELEASE=b1 3 | GETFIREBUG=../../../../../getfirebug.com/tags/production -------------------------------------------------------------------------------- /tests/content/css/4543/issue4543.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/tests/content/css/4543/issue4543.png -------------------------------------------------------------------------------- /tests/content/net/5592/issue5592.php: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /tests/content/net/700/issue700.php: -------------------------------------------------------------------------------- 1 | Response for Issue700.html -------------------------------------------------------------------------------- /tests/content/net/url-params/test.php: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /tests/content/search/css1.css: -------------------------------------------------------------------------------- 1 | .cssTest1 { 2 | display: none; 3 | } 4 | 5 | .CSSTest1 { 6 | display: none; 7 | } 8 | -------------------------------------------------------------------------------- /tests/content/status/1.5a.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |

Firebug Test Status

6 | 7 | -------------------------------------------------------------------------------- /tests/templates/net/issueXXXX.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /extension/skin/classic/noteBorders.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/extension/skin/classic/noteBorders.png -------------------------------------------------------------------------------- /extension/skin/classic/noteContent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/extension/skin/classic/noteContent.png -------------------------------------------------------------------------------- /extension/skin/classic/noteCorners.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/extension/skin/classic/noteCorners.png -------------------------------------------------------------------------------- /trace/FBTrace/chrome/skin/classic/up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/trace/FBTrace/chrome/skin/classic/up.png -------------------------------------------------------------------------------- /extension/skin/classic/noteBordersUps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/extension/skin/classic/noteBordersUps.png -------------------------------------------------------------------------------- /extension/skin/classic/noteContentUps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/extension/skin/classic/noteContentUps.png -------------------------------------------------------------------------------- /extension/skin/classic/noteCornersUps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/extension/skin/classic/noteCornersUps.png -------------------------------------------------------------------------------- /tests/content/console/spy/2868/issue2868.php: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /tests/content/html/events/5440/testdiv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/tests/content/html/events/5440/testdiv.png -------------------------------------------------------------------------------- /tests/content/html/style/5672/firebug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/tests/content/html/style/5672/firebug.png -------------------------------------------------------------------------------- /tests/content/net/1862/issue1862.php: -------------------------------------------------------------------------------- 1 | 4 |
Simple XML document
-------------------------------------------------------------------------------- /tests/content/net/601/issue601.php: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /tests/content/net/filter/176/issue176.flv: -------------------------------------------------------------------------------- 1 | 4 | //Response for test issue176 (no content type) -------------------------------------------------------------------------------- /tests/content/script/4213/issue4213-1.js: -------------------------------------------------------------------------------- 1 | function myFunc1(data) 2 | { 3 | var result = myFunc2(data); 4 | return result; 5 | } 6 | -------------------------------------------------------------------------------- /trace/FBTrace/chrome/skin/classic/tag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/trace/FBTrace/chrome/skin/classic/tag.png -------------------------------------------------------------------------------- /extension/content/firebug/firebugui/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/extension/content/firebug/firebugui/blank.gif -------------------------------------------------------------------------------- /extension/skin/classic/cookies/editCookie.css: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | #clientBox { 4 | padding:10px; 5 | } 6 | -------------------------------------------------------------------------------- /extension/skin/classic/window.css: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | @import "chrome://firebug-os/skin/window.css"; 4 | 5 | -------------------------------------------------------------------------------- /tests/FBTest/skin/classic/traceConsole.css: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | .DBG_FBTEST { 4 | color: Indigo; 5 | } 6 | -------------------------------------------------------------------------------- /tests/content/commandLine/5878/pendingScript.php: -------------------------------------------------------------------------------- 1 | 5 | window.pendingDone = 1; 6 | -------------------------------------------------------------------------------- /tests/content/css/atRules/atSupports.css: -------------------------------------------------------------------------------- 1 | @supports (animation-name: test) { 2 | #notExisting { 3 | color: green; 4 | } 5 | } -------------------------------------------------------------------------------- /tests/content/css/computed/5449/firebug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/tests/content/css/computed/5449/firebug.png -------------------------------------------------------------------------------- /tests/content/examples/exampleNet1.php: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /tests/content/html/events/5440/testspan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/tests/content/html/events/5440/testspan.png -------------------------------------------------------------------------------- /tests/content/html/style/5438/testFont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/tests/content/html/style/5438/testFont.woff -------------------------------------------------------------------------------- /trace/FBTrace/chrome/skin/classic/clear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/trace/FBTrace/chrome/skin/classic/clear.png -------------------------------------------------------------------------------- /trace/FBTrace/chrome/skin/classic/group.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/trace/FBTrace/chrome/skin/classic/group.png -------------------------------------------------------------------------------- /trace/FBTrace/chrome/skin/classic/tools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/trace/FBTrace/chrome/skin/classic/tools.png -------------------------------------------------------------------------------- /trace/FBTrace/icons/default/TraceConsole.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/trace/FBTrace/icons/default/TraceConsole.ico -------------------------------------------------------------------------------- /extension/skin/classic/activation-menu-net.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/extension/skin/classic/activation-menu-net.png -------------------------------------------------------------------------------- /tests/content/console/5945/cssWithErrors.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: not-existing-function(); 3 | } 4 | 5 | div { 6 | color: notacolor; 7 | } -------------------------------------------------------------------------------- /tests/content/console/spy/4009/issue4009-4.php: -------------------------------------------------------------------------------- 1 | Hello Firebug user!'; 4 | ?> -------------------------------------------------------------------------------- /tests/content/net/2739/issue2739.php: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /tests/content/net/4905/issue4095.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/content/net/846/Issue846.php: -------------------------------------------------------------------------------- 1 | "; 4 | echo time(); 5 | echo ""; 6 | ?> 7 | -------------------------------------------------------------------------------- /tests/content/script/1483/index.js: -------------------------------------------------------------------------------- 1 | 2 | ftc = { 3 | init: function() 4 | { 5 | console.log("init"); 6 | } 7 | }; 8 | ftc.init(); -------------------------------------------------------------------------------- /extension/skin/classic/activation-menu-console.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/extension/skin/classic/activation-menu-console.png -------------------------------------------------------------------------------- /extension/skin/classic/activation-menu-script.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/extension/skin/classic/activation-menu-script.png -------------------------------------------------------------------------------- /tests/content/commandLine/5878/result_step10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/tests/content/commandLine/5878/result_step10.png -------------------------------------------------------------------------------- /tests/content/commandLine/5878/result_step18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/tests/content/commandLine/5878/result_step18.png -------------------------------------------------------------------------------- /tests/content/html/4670/issue4670.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | some link 5 | 6 | -------------------------------------------------------------------------------- /tests/content/html/5358/content.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | only Content 4 | 5 | -------------------------------------------------------------------------------- /tests/content/html/style/5654/issue5654.css: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | body{font-family:Arial,sans-serif;background:#EEE;color:#333;margin:0;padding:0;} 3 | -------------------------------------------------------------------------------- /tests/content/net/filter/176/issue176.txt: -------------------------------------------------------------------------------- 1 | 4 | //Response for test issue176 ('video/x-flv' content type) -------------------------------------------------------------------------------- /trace/FBTrace/chrome/skin/classic/Toolbar-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/trace/FBTrace/chrome/skin/classic/Toolbar-small.png -------------------------------------------------------------------------------- /tests/content/net/filter/176/.htaccess: -------------------------------------------------------------------------------- 1 | AddType video/x-flv .txt 2 | AddHandler application/x-httpd-php .txt 3 | AddHandler application/x-httpd-php .flv 4 | 5 | -------------------------------------------------------------------------------- /extension/skin/classic/mac/breakpointConditionEditor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/extension/skin/classic/mac/breakpointConditionEditor.png -------------------------------------------------------------------------------- /extension/skin/classic/win/breakpointConditionEditor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/extension/skin/classic/win/breakpointConditionEditor.png -------------------------------------------------------------------------------- /tests/content/console/spy/4171/issue4171.php: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /extension/skin/classic/cookies/activation-menu-cookies.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/extension/skin/classic/cookies/activation-menu-cookies.png -------------------------------------------------------------------------------- /extension/skin/classic/mac/breakpointConditionEditorDown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/extension/skin/classic/mac/breakpointConditionEditorDown.png -------------------------------------------------------------------------------- /extension/skin/classic/win/breakpointConditionEditorDown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/extension/skin/classic/win/breakpointConditionEditorDown.png -------------------------------------------------------------------------------- /tests/content/bti/compilationunit/simpleExternal.js: -------------------------------------------------------------------------------- 1 | document.write("

Browser Tools Interface (external source file)
"); 2 | document.write("Another line of text

"); -------------------------------------------------------------------------------- /tests/content/css/5987/images/imageWith()And'InItsName.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/tests/content/css/5987/images/imageWith()And'InItsName.png -------------------------------------------------------------------------------- /tests/content/net/4689/data.json: -------------------------------------------------------------------------------- 1 | [ 2 | {name:"foo",surname:"bar",address:{no:"15",name:"foobar"}}, 3 | {name:"foo2",surname:"bar2",address:{no:"152",name:"foobar2"}}, 4 | ] -------------------------------------------------------------------------------- /extension/skin/classic/cookies/trace.css: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | /* Support for FBTraceConsole */ 4 | .DBG_COOKIES { 5 | color: green; 6 | } 7 | -------------------------------------------------------------------------------- /tests/content/dom/appCache/appCache-1.php: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /tests/content/dom/appCache/appCache-2.php: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /tests/content/script/singleStepping/fibonacci.js: -------------------------------------------------------------------------------- 1 | function fibonacci(n) { 2 | if (n <= 1) 3 | return n < 0 ? 0 : n; 4 | return fibonacci(n - 1) + fibonacci(n - 2); 5 | } -------------------------------------------------------------------------------- /extension/skin/classic/trace.css: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | /* Support for FBTraceConsole */ 4 | .DBG_BREAKPOINTPANEL { 5 | color: rgb(0, 98, 66); 6 | } 7 | -------------------------------------------------------------------------------- /tests/content/commandLine/5878/myScript.js: -------------------------------------------------------------------------------- 1 | window.a = (window.a || 0) + 1; 2 | if (typeof include !== "undefined") 3 | window.a = "FAIL, include has access to command line" 4 | -------------------------------------------------------------------------------- /tests/content/console/6402/iframe.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Hello 4 | 5 | 6 |

World!

7 | 8 | 9 | -------------------------------------------------------------------------------- /tests/content/script/4932/test-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /extension/skin/classic/callstackPanel.css: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | /*************************************************************************************************/ 4 | -------------------------------------------------------------------------------- /extension/skin/classic/scriptPanel.css: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | /*************************************************************************************************/ 4 | 5 | -------------------------------------------------------------------------------- /tests/templates/extension/simple-extension/chrome.manifest: -------------------------------------------------------------------------------- 1 | content testextension content/ 2 | overlay chrome://browser/content/browser.xul chrome://testextension/content/browserOverlay.xul 3 | -------------------------------------------------------------------------------- /extension/skin/classic/mac/window.css: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | #fbToolbar { 4 | padding-top: 0; 5 | } 6 | 7 | #fbToggleCommandLine { 8 | width: 48px; 9 | } 10 | -------------------------------------------------------------------------------- /tests/content/net/2221/issue2221.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | param1= 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /tests/content/search/NETIframe.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Search Test 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /tests/content/dom/appCache/appCache.manifest: -------------------------------------------------------------------------------- 1 | CACHE MANIFEST 2 | 3 | # v8 4 | CACHE: 5 | appCache.css 6 | appCache.js 7 | appCache-1.php 8 | 9 | NETWORK: 10 | appCache.html 11 | appCache-2.php 12 | -------------------------------------------------------------------------------- /trace/FBTrace/chrome/content/traceConsole.css: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | @import "chrome://fbtrace/skin/traceConsole.css"; 4 | @import "chrome://fbtrace-os/skin/traceConsole.css"; 5 | -------------------------------------------------------------------------------- /extension/content/firebug/html/quickInfoBox.css: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | @import url(chrome://firebug/skin/quickInfoBox.css); 4 | @import url(chrome://firebug-os/skin/quickInfoBox.css); 5 | -------------------------------------------------------------------------------- /tests/content/console/spy/4009/issue4009-1.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/content/console/spy/4009/issue4009-2.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/content/console/spy/4009/issue4009-3.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/content/net/1927/issue1927.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /trace/FBTrace/chrome/skin/classic/commandLine.css: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | /*************************************************************************************************/ 4 | /* Command Line */ 5 | -------------------------------------------------------------------------------- /extension/content/firebug/cookies/cookies.css: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | #fcCustomPathFilterPanel { 4 | -moz-binding: url("chrome://firebug/content/cookies/popupFilterPanel.xml#popupFilterPanel"); 5 | } 6 | -------------------------------------------------------------------------------- /tests/content/console/6402/issue6402.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Open Firebug and switch to the Console panel 5 | Type: console.log("ok"); 6 | 7 | 8 | -------------------------------------------------------------------------------- /tests/content/html/style/2440/issue2440.css: -------------------------------------------------------------------------------- 1 | #element1 { 2 | background-image: -moz-linear-gradient(135deg, #788CFF, #B4C8FF); 3 | } 4 | 5 | #frameElement { 6 | background-image: -moz-linear-gradient(135deg, #78FF8C, #B4FFC8); 7 | } -------------------------------------------------------------------------------- /tests/content/console/2328/issue2328.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 |

Test response page for issue #2328

10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/content/net/filter/6474/issue6474.woff: -------------------------------------------------------------------------------- 1 | 4 | // This is fake font file with wrong mime type. But it shoud still be visible 5 | // if the Net panel is using the 'font' filter. -------------------------------------------------------------------------------- /tests/content/script/4145/contentPane.html: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /tests/content/console/1693/issue1693.php: -------------------------------------------------------------------------------- 1 | 11 | -------------------------------------------------------------------------------- /tests/content/commandLine/5873/frame.html: -------------------------------------------------------------------------------- 1 | 10 | -------------------------------------------------------------------------------- /extension/locale/fr/keys.properties: -------------------------------------------------------------------------------- 1 | VK_SPACE=Espace 2 | VK_NUM_LOCK=Verr Num 3 | VK_NUMPAD0=0 4 | VK_NUMPAD1=1 5 | VK_NUMPAD2=2 6 | VK_NUMPAD3=3 7 | VK_NUMPAD4=4 8 | VK_NUMPAD5=5 9 | VK_NUMPAD6=6 10 | VK_NUMPAD7=7 11 | VK_NUMPAD8=8 12 | VK_NUMPAD9=9 13 | -------------------------------------------------------------------------------- /tests/content/css/computed/5879/veryLongImageFileNameForTestingStringCroppingWithinComputedSidePanel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xiajian/firebug/master/tests/content/css/computed/5879/veryLongImageFileNameForTestingStringCroppingWithinComputedSidePanel.png -------------------------------------------------------------------------------- /tests/content/net/1456/issue1456.txt: -------------------------------------------------------------------------------- 1 | 6 | $('tb').shake(); 7 | $('tb').value='Some Response'; 8 | -------------------------------------------------------------------------------- /tests/content/net/filter/6530/issue6530-test-file.js: -------------------------------------------------------------------------------- 1 | 4 | // This is fake JS file with wrong mime type. But it shoud still be visible 5 | // if the Net panel is using the 'JS' filter. -------------------------------------------------------------------------------- /tests/content/script/3985/issue3985-iframe.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | -------------------------------------------------------------------------------- /tests/content/bti/browser/missing-tests.txt: -------------------------------------------------------------------------------- 1 | Tests for the following are missing: 2 | 3 | * #onContextDestoryed call back - I don't see an API to close a tab in FBTestFirebug 4 | * #onContextChanged call back - I don't see an API to change the active tab in FBTestFirebug -------------------------------------------------------------------------------- /tests/content/console/4658/js/wsdojo/ws/monitor/FirebugBug.js: -------------------------------------------------------------------------------- 1 | 2 | dojo.provide("ws.monitor.FirebugBug"); 3 | 4 | dojo.declare ("ws.monitor.FirebugBug", null, { 5 | print: function(s) { 6 | console.debug("FirebugBug", s); 7 | } 8 | 9 | }); 10 | -------------------------------------------------------------------------------- /tests/content/loader/diagnostics/requirejs/tests/diagnostics/twoDefineOneFile.js: -------------------------------------------------------------------------------- 1 | define(["module-a"], function(A) 2 | { 3 | var B = {}; 4 | return B; 5 | }); 6 | define(["module-a"], function(A) 7 | { 8 | var C = {}; 9 | return C; 10 | }); 11 | -------------------------------------------------------------------------------- /tests/content/search/script1.js: -------------------------------------------------------------------------------- 1 | function scriptTest1() { 2 | window.console.log("script"); 3 | window.console.log("Script"); 4 | window.console.log("None"); 5 | } 6 | 7 | function ScriptTest1() { 8 | } 9 | 10 | function ScriptTest2() { 11 | } 12 | -------------------------------------------------------------------------------- /tests/content/net/1867/issue1867Submit.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Test for Issue #1867 4 | 5 | 6 | 7 | 8 |

Uploaded!

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/content/console/spy/2285/issue2285-1.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/content/css/atRules/atDocument.css: -------------------------------------------------------------------------------- 1 | @-moz-document url(https://getfirebug.com/), 2 | url-prefix(https://getfirebug.com/tests/), 3 | domain(getfirebug.com), 4 | regexp("https:.*") 5 | { 6 | #notExisting { 7 | color: green; 8 | } 9 | } -------------------------------------------------------------------------------- /tests/content/net/369/issue369-1.txt: -------------------------------------------------------------------------------- 1 | 4 | {'firstName':'John','lastName':'Smith','address':{'streetAddress':'21 2nd Street','city':'New York','state':'NY','postalCode':10021},'phoneNumbers':['212 555-1234','646 555-4567']} -------------------------------------------------------------------------------- /tests/content/net/4382/json.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/FBTest/skin/classic/base.css: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | @import "chrome://fbtest/skin/testConsole.css"; 4 | @import "chrome://fbtest/skin/testList.css"; 5 | @import "chrome://fbtest/skin/testResult.css"; 6 | @import "chrome://fbtest/skin/tabView.css"; 7 | -------------------------------------------------------------------------------- /tests/FBTest/content/testListFrame.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 |
7 | 8 | 9 | -------------------------------------------------------------------------------- /tests/content/net/369/issue369-2.txt: -------------------------------------------------------------------------------- 1 | 4 | someFunc({'firstName':'John','lastName':'Smith','address':{'streetAddress':'21 2nd Street','city':'New York','state':'NY','postalCode':10021},'phoneNumbers':['212 555-1234','646 555-4567']}) -------------------------------------------------------------------------------- /tests/content/net/369/issue369-5.txt: -------------------------------------------------------------------------------- 1 | 4 | var myObject = {'firstName':'John','lastName':'Smith','address':{'streetAddress':'21 2nd Street','city':'New York','state':'NY','postalCode':10021},'phoneNumbers':['212 555-1234','646 555-4567']}; -------------------------------------------------------------------------------- /tests/content/net/369/issue369-3.txt: -------------------------------------------------------------------------------- 1 | 4 | /*-secure- 5 | {'firstName':'John','lastName':'Smith','address':{'streetAddress':'21 2nd Street','city':'New York','state':'NY','postalCode':10021},'phoneNumbers':['212 555-1234','646 555-4567']} 6 | */ -------------------------------------------------------------------------------- /extension/locale/zh-CN/keys.properties: -------------------------------------------------------------------------------- 1 | VK_SPACE=空格键 2 | VK_NUM_LOCK=数字锁键 3 | VK_NUMPAD0=数字键盘 0 4 | VK_NUMPAD1=数字键盘 1 5 | VK_NUMPAD2=数字键盘 2 6 | VK_NUMPAD3=数字键盘 3 7 | VK_NUMPAD4=数字键盘 4 8 | VK_NUMPAD5=数字键盘 5 9 | VK_NUMPAD6=数字键盘 6 10 | VK_NUMPAD7=数字键盘 7 11 | VK_NUMPAD8=数字键盘 8 12 | VK_NUMPAD9=数字键盘 9 13 | -------------------------------------------------------------------------------- /extension/locale/zh-TW/keys.properties: -------------------------------------------------------------------------------- 1 | VK_SPACE=空白鍵 2 | VK_NUM_LOCK=Num Lock 3 | VK_NUMPAD0=數字鍵盤 0 4 | VK_NUMPAD1=數字鍵盤 1 5 | VK_NUMPAD2=數字鍵盤 2 6 | VK_NUMPAD3=數字鍵盤 3 7 | VK_NUMPAD4=數字鍵盤 4 8 | VK_NUMPAD5=數字鍵盤 5 9 | VK_NUMPAD6=數字鍵盤 6 10 | VK_NUMPAD7=數字鍵盤 7 11 | VK_NUMPAD8=數字鍵盤 8 12 | VK_NUMPAD9=數字鍵盤 9 13 | -------------------------------------------------------------------------------- /tests/content/commandLine/api/cdFrame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /tests/content/net/369/issue369-6.txt: -------------------------------------------------------------------------------- 1 | 4 | function getJSON() { return {'firstName':'John','lastName':'Smith','address':{'streetAddress':'21 2nd Street','city':'New York','state':'NY','postalCode':10021},'phoneNumbers':['212 555-1234','646 555-4567']} }; -------------------------------------------------------------------------------- /tests/content/script/stepping/StepIntoInIFrame/test-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 |
10 | 11 | -------------------------------------------------------------------------------- /extension/locale/ja-JP/keys.properties: -------------------------------------------------------------------------------- 1 | VK_SPACE=スペース 2 | VK_NUM_LOCK=Num Lock 3 | VK_NUMPAD0=テンキー 0 4 | VK_NUMPAD1=テンキー 1 5 | VK_NUMPAD2=テンキー 2 6 | VK_NUMPAD3=テンキー 3 7 | VK_NUMPAD4=テンキー 4 8 | VK_NUMPAD5=テンキー 5 9 | VK_NUMPAD6=テンキー 6 10 | VK_NUMPAD7=テンキー 7 11 | VK_NUMPAD8=テンキー 8 12 | VK_NUMPAD9=テンキー 9 13 | -------------------------------------------------------------------------------- /tests/content/net/369/issue369-4.txt: -------------------------------------------------------------------------------- 1 | 4 | while (true); &&&START&&& {'firstName':'John','lastName':'Smith','address':{'streetAddress':'21 2nd Street','city':'New York','state':'NY','postalCode':10021},'phoneNumbers':['212 555-1234','646 555-4567']} &&&END&&& -------------------------------------------------------------------------------- /tests/content/script/stepping/4880/test.js: -------------------------------------------------------------------------------- 1 | 2 | function funcTest(a,b,c) 3 | { 4 | console.log("Begin"); 5 | 6 | debugger; 7 | func(a,b,c); //step into here 8 | 9 | console.log("End"); 10 | } 11 | 12 | function func(a,b,c) 13 | { 14 | //No enter here 15 | console.log(a,b,c); 16 | } -------------------------------------------------------------------------------- /tests/content/firebug/2613/issue2613.php: -------------------------------------------------------------------------------- 1 | 8 | function myFunction() 9 | { 10 | return "Delayed script loaded OK"; 11 | } -------------------------------------------------------------------------------- /tests/content/script/3985/issue3985-iframe.js: -------------------------------------------------------------------------------- 1 | function trigger() 2 | { 3 | document.getElementById('log').innerHTML += "
trigger
"; // set a breakpoint here 4 | }; 5 | 6 | function init() 7 | { 8 | document.getElementById('trigger').onclick = trigger; 9 | } 10 | 11 | window.onload = init; 12 | -------------------------------------------------------------------------------- /extension/locale/nl/keys.properties: -------------------------------------------------------------------------------- 1 | VK_SPACE=Spatie 2 | VK_NUM_LOCK=NumLock 3 | VK_NUMPAD0=Numpad 0 4 | VK_NUMPAD1=Numpad 1 5 | VK_NUMPAD2=Numpad 2 6 | VK_NUMPAD3=Numpad 3 7 | VK_NUMPAD4=Numpad 4 8 | VK_NUMPAD5=Numpad 5 9 | VK_NUMPAD6=Numpad 6 10 | VK_NUMPAD7=Numpad 7 11 | VK_NUMPAD8=Numpad 8 12 | VK_NUMPAD9=Numpad 9 13 | -------------------------------------------------------------------------------- /extension/locale/ru/keys.properties: -------------------------------------------------------------------------------- 1 | VK_SPACE=Пробел 2 | VK_NUM_LOCK=Num Lock 3 | VK_NUMPAD0=Numpad 0 4 | VK_NUMPAD1=Numpad 1 5 | VK_NUMPAD2=Numpad 2 6 | VK_NUMPAD3=Numpad 3 7 | VK_NUMPAD4=Numpad 4 8 | VK_NUMPAD5=Numpad 5 9 | VK_NUMPAD6=Numpad 6 10 | VK_NUMPAD7=Numpad 7 11 | VK_NUMPAD8=Numpad 8 12 | VK_NUMPAD9=Numpad 9 13 | -------------------------------------------------------------------------------- /tests/content/script/stepping/StepIntoInIFrame/test.js: -------------------------------------------------------------------------------- 1 | 2 | function funcTest(a,b,c) 3 | { 4 | console.log("Begin"); 5 | 6 | debugger; 7 | func(a,b,c); //step into here 8 | 9 | console.log("End"); 10 | } 11 | 12 | function func(a,b,c) 13 | { 14 | //No enter here 15 | console.log(a,b,c); 16 | } -------------------------------------------------------------------------------- /extension/locale/en-US/keys.properties: -------------------------------------------------------------------------------- 1 | VK_SPACE=Space 2 | VK_NUM_LOCK=Num Lock 3 | VK_NUMPAD0=Numpad 0 4 | VK_NUMPAD1=Numpad 1 5 | VK_NUMPAD2=Numpad 2 6 | VK_NUMPAD3=Numpad 3 7 | VK_NUMPAD4=Numpad 4 8 | VK_NUMPAD5=Numpad 5 9 | VK_NUMPAD6=Numpad 6 10 | VK_NUMPAD7=Numpad 7 11 | VK_NUMPAD8=Numpad 8 12 | VK_NUMPAD9=Numpad 9 13 | -------------------------------------------------------------------------------- /extension/locale/hu-HU/keys.properties: -------------------------------------------------------------------------------- 1 | VK_SPACE=Szóköz 2 | VK_NUM_LOCK=Num Lock 3 | VK_NUMPAD0=Numpad 0 4 | VK_NUMPAD1=Numpad 1 5 | VK_NUMPAD2=Numpad 2 6 | VK_NUMPAD3=Numpad 3 7 | VK_NUMPAD4=Numpad 4 8 | VK_NUMPAD5=Numpad 5 9 | VK_NUMPAD6=Numpad 6 10 | VK_NUMPAD7=Numpad 7 11 | VK_NUMPAD8=Numpad 8 12 | VK_NUMPAD9=Numpad 9 13 | -------------------------------------------------------------------------------- /extension/skin/classic/quickInfoBoxPanel.css: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | /*************************************************************************************************/ 4 | /* Quick Info Box */ 5 | 6 | #fbQuickInfoPanel { 7 | border: none; 8 | opacity: 0.9; 9 | overflow: hidden; 10 | } 11 | -------------------------------------------------------------------------------- /tests/content/css/atRules/atKeyframes.css: -------------------------------------------------------------------------------- 1 | @keyframes identifier { 2 | 0% { 3 | top: 0; 4 | left: 0; 5 | } 6 | 7 | 30% { 8 | top: 50px; 9 | } 10 | 11 | 68%, 72% { 12 | left: 50px; 13 | } 14 | 15 | 100% { 16 | top: 100px; 17 | left: 100%; 18 | } 19 | } -------------------------------------------------------------------------------- /tests/content/console/2948/issue2948-popup.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Popup for Issue #2948 5 | 6 | 7 | 8 |

Just a popup window

9 | 10 | 11 | -------------------------------------------------------------------------------- /tests/templates/extension/simple-extension/content/browserOverlay.xul: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /tests/content/net/369/issue369-7.txt: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | /*-secure- 8 | 9 | 10 | {'firstName':'John','lastName':'Smith','address':{'streetAddress':'21 2nd Street','city':'New York','state':'NY','postalCode':10021},'phoneNumbers':['212 555-1234','646 555-4567']} 11 | 12 | 13 | */ 14 | 15 | 16 | -------------------------------------------------------------------------------- /extension/content/firebug/cookies/editCookie.css: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | dateTimePicker { 4 | -moz-binding: url("chrome://firebug/content/cookies/dateTimePicker.xml#dateTimePicker"); 5 | } 6 | 7 | .datetimepicker-input[disabled] { 8 | cursor: default; 9 | background-color: -moz-Dialog; 10 | color: GrayText; 11 | } 12 | -------------------------------------------------------------------------------- /tests/content/chrome/1883/issue1883.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Case for Issue #1883 5 | 6 | 7 | 8 | No content, file just needed to create a HTML document. 9 | 10 | 11 | -------------------------------------------------------------------------------- /tests/content/console/6778/iframe.php: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | Iframe 8 | 11 | 12 | 13 |

Iframe

14 | 15 | 16 | -------------------------------------------------------------------------------- /extension/skin/classic/linux/cookies.css: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | /************************************************************************************************/ 4 | /* Header for cookie list */ 5 | 6 | .cookieHeaderCell { 7 | background-color: #E6E6E6; 8 | } 9 | 10 | .cookieHeaderSorted { 11 | background-color: #FAC8AF; 12 | } 13 | -------------------------------------------------------------------------------- /extension/skin/classic/mac/cookies.css: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | /************************************************************************************************/ 4 | /* Header for cookie list */ 5 | 6 | .cookieHeaderCell { 7 | background-color: #E6E6E6; 8 | } 9 | 10 | .cookieHeaderSorted { 11 | background-color: #C8C8C8; 12 | } 13 | -------------------------------------------------------------------------------- /tests/content/console/spy/2285/issue2285.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/content/examples/exampleLib1.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | var element = document.createElement("div"); 4 | element.appendChild(document.createTextNode("some text")); 5 | 6 | var html = FW.FBL.getElementHTML(element); 7 | FBTest.compare("
some text
", html, "Verify FW.FBL.getElementHTML()"); 8 | 9 | FBTest.testDone(); 10 | } 11 | -------------------------------------------------------------------------------- /extension/locale/pl/keys.properties: -------------------------------------------------------------------------------- 1 | VK_SPACE=Spacja 2 | VK_NUM_LOCK=Num Lock 3 | VK_NUMPAD0=Klawisz 0 4 | VK_NUMPAD1=Klawisz num. 1 5 | VK_NUMPAD2=Klawisz num. 2 6 | VK_NUMPAD3=Klawisz num. 3 7 | VK_NUMPAD4=Klawisz num. 4 8 | VK_NUMPAD5=Klawisz num. 5 9 | VK_NUMPAD6=Klawisz num. 6 10 | VK_NUMPAD7=Klawisz num. 7 11 | VK_NUMPAD8=Klawisz num. 8 12 | VK_NUMPAD9=Klawisz num. 9 13 | -------------------------------------------------------------------------------- /extension/content/firebug/remoting/connectionMenu.css: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | /*************************************************************************************************/ 4 | /* Connection Menu */ 5 | 6 | #fbPaneBar1-connectionToolbar { 7 | border-bottom: 1px solid lightgray; 8 | margin-bottom: 3px; 9 | padding-bottom: 2px; 10 | } 11 | -------------------------------------------------------------------------------- /extension/locale/de/keys.properties: -------------------------------------------------------------------------------- 1 | VK_SPACE=Leertaste 2 | VK_NUM_LOCK=Num-Lock 3 | VK_NUMPAD0=Ziffernblock 0 4 | VK_NUMPAD1=Ziffernblock 1 5 | VK_NUMPAD2=Ziffernblock 2 6 | VK_NUMPAD3=Ziffernblock 3 7 | VK_NUMPAD4=Ziffernblock 4 8 | VK_NUMPAD5=Ziffernblock 5 9 | VK_NUMPAD6=Ziffernblock 6 10 | VK_NUMPAD7=Ziffernblock 7 11 | VK_NUMPAD8=Ziffernblock 8 12 | VK_NUMPAD9=Ziffernblock 9 13 | -------------------------------------------------------------------------------- /tests/content/search/htmlIframe.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Search Test 5 | 11 | 12 | 13 |
Test Data
14 | 15 | -------------------------------------------------------------------------------- /extension/content/firebug/branch.properties: -------------------------------------------------------------------------------- 1 | # DO NOT MERGE INTO TRUNK 2 | RELEASE=.3 3 | VERSION=2.0 4 | TRUNK= 5 | # To allow build.xml to drop the xpi directly into the svn working copy for getfirebug.com 6 | # the root of the fbug svn tree must be be at the same level as the root of getfirebug.com 7 | # Otherwise specify your own path. 8 | GETFIREBUG=../../../../getfirebug.com/tags/production 9 | -------------------------------------------------------------------------------- /tests/content/inspector/InspectorIframeTest.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | Test inspecting iframes 4 | 5 | 6 | 7 | 8 |

A page with an iframe

9 | 10 | 11 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/content/script/4145/test.html: -------------------------------------------------------------------------------- 1 |
Loading...
3 | 4 | 8 | -------------------------------------------------------------------------------- /tests/content/script/dynamicScriptEval/payloadCatsAndDucks.js: -------------------------------------------------------------------------------- 1 | function prod(animal) 2 | { 3 | animal.say(); 4 | }; 5 | 6 | var duck = function() 7 | { 8 | this.say = function() 9 | { 10 | console.log('quack\n'); 11 | }; 12 | }; 13 | 14 | var cat = function() 15 | { 16 | this.say = function() 17 | { 18 | console.log('meow!!\n'); 19 | }; 20 | }; 21 | -------------------------------------------------------------------------------- /tests/FBTest/content/bindings.css: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | #testListUrlBar { 4 | -moz-binding: url("chrome://fbtest/content/bindings.xml#urlbar"); 5 | } 6 | 7 | #testCaseUrlBar { 8 | -moz-binding: url("chrome://fbtest/content/bindings.xml#urlbar"); 9 | } 10 | 11 | #testDriverUrlBar { 12 | -moz-binding: url("chrome://fbtest/content/bindings.xml#urlbar"); 13 | } -------------------------------------------------------------------------------- /tests/content/firebug/5349/issue5349.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "firebug/5349/issue5349.html", function(win) 4 | { 5 | var target = win.document.getElementById("selectbox"); 6 | FBTest.executeContextMenuCommand(target, "menu_firebug_firebugInspect", function() 7 | { 8 | FBTest.testDone(); 9 | }); 10 | }); 11 | } 12 | -------------------------------------------------------------------------------- /extension/locale/zh-TW/firebug-amo.properties: -------------------------------------------------------------------------------- 1 | firebug.amo.summary1.6=Firebug 為 Firefox 整合了豐富的開發工具,您可以在瀏覽任何網頁時,即時編輯、除錯或監視 CSS、HTML 和 JavaScript。\n\nFirebug 1.6 需要 Firefox 3.6 以上的版本。 2 | firebug.amo.description=Firebug 為 Firefox 整合了豐富的開發工具,您可以在瀏覽任何網頁時,即時編輯、除錯或監視 CSS、HTML 和 JavaScript。\n\n造訪 Firebug 網站查看文件、畫面擷圖和討論區:https://getfirebug.com 3 | firebug.amo.developer.comments=如果您有任何問題,請閱讀 FireBug FAQ。\n\nhttps://getfirebug.com/faq 4 | -------------------------------------------------------------------------------- /extension/locale/es-AR/keys.properties: -------------------------------------------------------------------------------- 1 | VK_SPACE=Barra espaciadora 2 | VK_NUM_LOCK=Num Lock 3 | VK_NUMPAD0=Teclado numérico 0 4 | VK_NUMPAD1=Teclado numérico 1 5 | VK_NUMPAD2=Teclado numérico 2 6 | VK_NUMPAD3=Teclado numérico 3 7 | VK_NUMPAD4=Teclado numérico 4 8 | VK_NUMPAD5=Teclado numérico 5 9 | VK_NUMPAD6=Teclado numérico 6 10 | VK_NUMPAD7=Teclado numérico 7 11 | VK_NUMPAD8=Teclado numérico 8 12 | VK_NUMPAD9=Teclado numérico 9 13 | -------------------------------------------------------------------------------- /extension/locale/bg/keys.properties: -------------------------------------------------------------------------------- 1 | VK_SPACE=Интервал 2 | VK_NUM_LOCK=Заключване цифри/стрелки 3 | VK_NUMPAD0=0 от цифровия блок 4 | VK_NUMPAD1=1 от цифровия блок 5 | VK_NUMPAD2=2 от цифровия блок 6 | VK_NUMPAD3=3 от цифровия блок 7 | VK_NUMPAD4=4 от цифровия блок 8 | VK_NUMPAD5=5 от цифровия блок 9 | VK_NUMPAD6=6 от цифровия блок 10 | VK_NUMPAD7=7 от цифровия блок 11 | VK_NUMPAD8=8 от цифровия блок 12 | VK_NUMPAD9=9 от цифровия блок 13 | -------------------------------------------------------------------------------- /tests/content/script/debuggerKeyword/debuggerKeyword2.js: -------------------------------------------------------------------------------- 1 | // Test callback 2 | scriptLoaded(); 3 | 4 | var a2 = 44; 5 | var b2 = 33; 6 | 7 | function foo2() 8 | { 9 | alert("hi"); 10 | var x = 1; 11 | var y = 2; 12 | } 13 | 14 | function bar2() 15 | { 16 | debugger; //@debuggerScriptRow - don't remove this comment 17 | } 18 | 19 | 20 | //debugger; 21 | bar2(); 22 | var c2 = 22; 23 | var d2 = 11; 24 | var e2 = 0; 25 | -------------------------------------------------------------------------------- /tests/content/console/2914/issue2914-innerFrame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /tests/content/script/debuggerKeyword/debuggerKeyword1.js: -------------------------------------------------------------------------------- 1 | /* test source for xhr then eval() with debugger keyword */ 2 | var a = 44; 3 | var b = 33; 4 | 5 | function foo() 6 | { 7 | console.log("hi"); 8 | var x = 1; 9 | var y = 2; 10 | } 11 | 12 | function bar() 13 | { 14 | debugger; //@debuggerXHRRow - don't remove this comment 15 | } 16 | 17 | 18 | //debugger; 19 | bar(); 20 | var c = 22; 21 | var d = 11; 22 | var e = 0; 23 | -------------------------------------------------------------------------------- /tests/content/cookies/tests.css: -------------------------------------------------------------------------------- 1 | h1 { 2 | margin-bottom: 0; 3 | margin-top: 10px; 4 | } 5 | 6 | h3 { 7 | margin-bottom: 0; 8 | } 9 | 10 | ul { 11 | margin-top: 5px; 12 | } 13 | code { 14 | color: green; 15 | } 16 | 17 | .topBar { 18 | font-family: Verdana; 19 | font-size: 13px; 20 | } 21 | 22 | .topBar > a { 23 | text-decoration:none; 24 | } 25 | 26 | .topBar > a:hover { 27 | text-decoration:underline;; 28 | } 29 | -------------------------------------------------------------------------------- /tests/content/html/4669/issue4669.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | some content 5 | 6 | 7 | some link 8 | 9 | 12 | 15 | -------------------------------------------------------------------------------- /tests/FBTest/content/testFrame.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 11 | 12 | 13 | 14 |

Test Driver Code Loads Here

15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /tests/content/firebug/openOnLocalPage.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Case for Firebug Activation 5 | 6 | 7 | 8 | 9 |

Test Case for Firebug Activation

10 |

This test-case verifies whether Firebug is properly activated on a page coming from file://

11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/content/loader/paths/add.js: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | define(function(require, exports, module) { 4 | 5 | // ********************************************************************************************* // 6 | // Module Implementation 7 | 8 | exports.add = function add(a, b) 9 | { 10 | return a + b; 11 | }; 12 | 13 | // ********************************************************************************************* // 14 | }); 15 | -------------------------------------------------------------------------------- /tests/content/search/netVictim.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Search Test Page 5 | 6 | 7 | 8 |

Search Test Page

9 |

This page is designed for automated search test.

10 |
Test Data
11 | Script script 12 | SCRIPT Script 13 | 14 | -------------------------------------------------------------------------------- /tests/content/loader/paths/subtract.js: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | define(function(require, exports, module) { 4 | 5 | // ************************************************************************************************ 6 | // Module Implementation 7 | 8 | exports.subtract = function subtract(a, b) 9 | { 10 | return a - b; 11 | }; 12 | 13 | // ************************************************************************************************ 14 | }); 15 | -------------------------------------------------------------------------------- /tests/content/inspector/Issue68BoxActual.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | Inspect outline bug in firebug 4 | 7 | 8 | 9 |

When you inspect this document with firebug the inspector may be offset

10 |

This style command causes the problem:

11 |

html{border-left:25px solid black;}

12 | 13 | 14 | -------------------------------------------------------------------------------- /tests/content/inspector/Issue68FrameActual.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | Inspect outline bug in firebug 4 | 7 | 8 | 9 |

When you inspect this document with firebug the inspector may be offset

10 |

This style command causes the problem:

11 |

html{border-left:25px solid black;}

12 | 13 | 14 | -------------------------------------------------------------------------------- /trace/FBTrace/defaults/preferences/tracingconsole.js: -------------------------------------------------------------------------------- 1 | pref("extensions.firebug.fbtrace.tabularOptionsLayout", true); 2 | pref("extensions.firebug.fbtrace.layoutTimeout", 0); 3 | 4 | // Tracing Console 5 | pref("extensions.firebug.alwaysOpenTraceConsole", true); 6 | pref("extensions.firebug.trace.maxMessageLength", 400); 7 | pref("extensions.firebug.trace.showTime", false); 8 | 9 | // Keyboard Shortcuts 10 | pref("extensions.firebug.key.shortcut.openTraceConsole", "shift r"); 11 | -------------------------------------------------------------------------------- /tests/content/inspector/Issue68BoxRulerActual.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | Inspect outline bug in firebug 4 | 7 | 8 | 9 |

When you inspect this document with firebug the inspector may be offset

10 |

This style command causes the problem:

11 |

html{border-left:25px solid black;}

12 | 13 | 14 | -------------------------------------------------------------------------------- /tests/content/net/1764/issue1764-2.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 |

Test for Issue #1764

9 |

This is the second page of #1764 test.

10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /trace/FBTrace/chrome/skin/classic/win/traceConsole.css: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | .memberRow.hasChildren > .memberLabelCell > .memberLabel { 4 | background-image: url(chrome://fbtrace/skin/win/twistyClosed.svg); 5 | background-repeat: no-repeat; 6 | background-position: 2px 2px; 7 | min-height: 12px; 8 | } 9 | 10 | .memberRow.hasChildren.opened > .memberLabelCell > .memberLabel { 11 | background-image: url(chrome://fbtrace/skin/win/twistyOpen.svg); 12 | } 13 | -------------------------------------------------------------------------------- /tests/content/html/4670/issue4670.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "html/4670/issue4670.xml", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | var panel = FBTest.selectPanel("html"); 8 | var hiddenNodes = panel.panelNode.getElementsByClassName("nodeHidden"); 9 | FBTest.compare(0, hiddenNodes.length, "All nodes must be expanded"); 10 | 11 | FBTest.testDone(); 12 | }); 13 | }); 14 | } -------------------------------------------------------------------------------- /tests/content/bti/browser/testExternalScript.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Case for Browser Tools Interface Browser.getContexts() 5 | 6 | 7 | 8 | 10 | 11 |

Browser.getContexts()

12 | 13 |

This test-case is for Browser.getContexts() 14 |
15 | Darin Wright, Darin_Wright@ca.ibm.com 16 |

17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /tests/content/console/5135/iframe.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 16 | 17 | 18 |
19 | 20 | -------------------------------------------------------------------------------- /tests/content/memory/memoryLeak/memory-popup.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Popup for memory leak 5 | 6 | 7 |

Just a popup window

8 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /tests/content/console/profiler/profiler-iframe.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /tests/content/dom/sidePanel/sidePanel.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "dom/sidePanel/sidePanel.html", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | var panel = FBTest.selectPanel("domSide"); 8 | var rows = panel.panelNode.getElementsByClassName("memberRow"); 9 | 10 | FBTest.ok(rows.length > 0, "There must be some properties: " + rows.length); 11 | FBTest.testDone(); 12 | }); 13 | }); 14 | } 15 | -------------------------------------------------------------------------------- /tests/content/script/LocalScopeVariables/LocalScopeVariables.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /tests/content/firebug/openNotOpenClose.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | if (FBTest.FirebugWindow) 4 | FBTest.ok(true, "We have the Firebug Window: "+FBTest.FirebugWindow.location); 5 | else 6 | FBTest.ok(false, "No Firebug Window"); 7 | 8 | FBTest.openNewTab(basePath + "firebug/NeverOpenFirebugOnThisPage.html", function(win) 9 | { 10 | FBTest.sysout("onNewPage starts"); 11 | FBTest.ok(!FBTest.isFirebugOpen(), "Firebug should be closed"); 12 | FBTest.testDone(); 13 | }); 14 | } 15 | -------------------------------------------------------------------------------- /tests/FBTest/modules/FBTestIntegrate.js: -------------------------------------------------------------------------------- 1 | // https://developer.mozilla.org/en/Using_JavaScript_code_modules 2 | var EXPORTED_SYMBOLS = ["FBTestIntegrate"]; 3 | 4 | var FBTestIntegrate = 5 | { 6 | onSourceLinkClicked: function(elementClicked, url, lineNumber) 7 | { 8 | var winType = "FBTestConsole-SourceView"; 9 | elementClicked.ownerDocument.defaultView.openDialog("chrome://global/content/viewSource.xul", 10 | winType, "all,dialog=no", 11 | url, null, null, lineNumber, false); 12 | } 13 | }; 14 | -------------------------------------------------------------------------------- /tests/content/bti/browser/testGetContexts.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Case for Browser Tools Interface Browser.getContexts() 5 | 6 | 7 | 8 | 11 | 12 |

Browser.getContexts()

13 | 14 |

This test-case is for Browser.getContexts() 15 |
16 | Darin Wright, Darin_Wright@ca.ibm.com 17 |

18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /extension/modules/fbtrace.js: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | // ********************************************************************************************* // 4 | // Our global trace object. 5 | 6 | var EXPORTED_SYMBOLS = ["FBTrace"]; 7 | 8 | var scope = {}; 9 | Components.utils["import"]("resource://firebug/firebug-trace-service.js", scope); 10 | var FBTrace = scope.traceConsoleService.getTracer("extensions.firebug"); 11 | 12 | // ********************************************************************************************* // 13 | -------------------------------------------------------------------------------- /extension/skin/classic/mac/net.css: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | 4 | /*************************************************************************************************/ 5 | /* Header for request list */ 6 | 7 | .netHeaderCell { 8 | background-color: #E6E6E6; 9 | } 10 | 11 | .netHeaderSorted { 12 | background-color: #C8C8C8; 13 | } 14 | 15 | /*************************************************************************************************/ 16 | /* Summary */ 17 | 18 | .netSummaryRow { 19 | background-color: #E6E6E6; 20 | } 21 | -------------------------------------------------------------------------------- /extension/skin/classic/linux/net.css: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | 4 | /*************************************************************************************************/ 5 | /* Header for request list */ 6 | 7 | .netHeaderCell { 8 | background-color: #E6E6E6; 9 | } 10 | 11 | .netHeaderSorted { 12 | background-color: #FAC8AF; 13 | } 14 | 15 | /*************************************************************************************************/ 16 | /* Summary */ 17 | 18 | .netSummaryRow { 19 | background-color: #E6E6E6; 20 | } 21 | -------------------------------------------------------------------------------- /tests/content/net/1468/issue1468Submit.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 |

Test #1468

9 | 10 | 13 | 14 |

Go back to the test page.

15 | 16 | 17 | -------------------------------------------------------------------------------- /trace/FBTrace/chrome/skin/classic/mac/traceConsole.css: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | .messageInfoText { 4 | font-family: monospace; 5 | } 6 | 7 | .memberRow.hasChildren > .memberLabelCell > .memberLabel { 8 | background-image: url(chrome://fbtrace/skin/mac/twistyClosed.svg); 9 | background-repeat: no-repeat; 10 | background-position: 2px 2px; 11 | min-height: 12px; 12 | } 13 | 14 | .memberRow.hasChildren.opened > .memberLabelCell > .memberLabel { 15 | background-image: url(chrome://fbtrace/skin/mac/twistyOpen.svg); 16 | } 17 | -------------------------------------------------------------------------------- /extension/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Firebug", 3 | "description": "Web Development Evolved.", 4 | "version": "2.0a1", 5 | "homepage" : "https://getfirebug.com/", 6 | "engines": { 7 | "node": ">= 0.6.6" 8 | }, 9 | "dependencies": { 10 | "dryice": ">= 0.4.5", 11 | "shelljs": ">= 0.0.2" 12 | }, 13 | "author": "Joe Hewitt", 14 | "repository" : { 15 | "type" : "git", 16 | "url" : "git://github.com/firebug/firebug.git" 17 | }, 18 | "licenses": [ 19 | { "type": "BSD", "url": "http://opensource.org/licenses/BSD-3-Clause" } 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /tests/content/bti/browser/isConnected.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Test for Browser#isConnected() and #disconnect() 4 | * 5 | * Test that the browser is connected and can be disconnected 6 | */ 7 | 8 | function runTest() 9 | { 10 | var browser = new FW.Firebug.BTI.Browser(); // TODO 11 | if (browser.isConnected()) 12 | { 13 | browser.disconnect(); 14 | FBTest.ok(!browser.isConnected(), "browser should be disconnected"); 15 | } 16 | else 17 | { 18 | FBTest.ok(false, "browser should be connected"); 19 | } 20 | FBTest.testDone(); 21 | } 22 | -------------------------------------------------------------------------------- /tests/content/script/2638/issue2638.js: -------------------------------------------------------------------------------- 1 | // xxxHonza: this test-driver is not finished (read the test description) 2 | function runTest() 3 | { 4 | var url = basePath + "script/2638/issue2638.html"; 5 | FBTest.openNewTab(url, function(win) 6 | { 7 | FBTest.enableScriptPanel(function(win) 8 | { 9 | var breakpointAttributes = {condition: "i == 5"}; 10 | FBTest.setBreakpoint(null, url, 10, breakpointAttributes, function(row) 11 | { 12 | FBTest.testDone(); 13 | }); 14 | }); 15 | }); 16 | } -------------------------------------------------------------------------------- /tests/content/bti/browser/onDisconnect.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Test event listener call back for #onDisconnect 4 | * 5 | * When the browser is disconnected a call back should be triggered 6 | */ 7 | 8 | function runTest() 9 | { 10 | var browser = new FW.Firebug.BTI.Browser(); // TODO 11 | browser.addEventListener("onDisconnect", function(aBrowser) 12 | { 13 | FBTest.ok(browser == aBrowser, "Disconnect call back is for wrong browser"); 14 | FBTest.testDone(); 15 | }); 16 | FBTest.progress("onDisconnect, disconnecting"); 17 | browser.disconnect(); 18 | } 19 | -------------------------------------------------------------------------------- /tests/content/css/6282/issue6282.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "css/6282/issue6282.html", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | var panel = FBTest.selectPanel("stylesheet"); 8 | 9 | FBTest.selectPanelLocationByName(panel, "issue6282.html"); 10 | 11 | var rules = FBTest.getStyleRulesBySelector("#teststyle"); 12 | 13 | FBTest.compare(2, rules.length, "There must be two style rules shown"); 14 | FBTest.testDone(); 15 | }); 16 | }); 17 | } 18 | -------------------------------------------------------------------------------- /tests/content/loader/dependencies/module-b.js: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | define([], function() { 4 | 5 | // ********************************************************************************************* // 6 | 7 | var B = 8 | { 9 | getMessage: function() 10 | { 11 | return "Hello World!"; 12 | } 13 | } 14 | 15 | // ********************************************************************************************* // 16 | 17 | return B; 18 | 19 | // ********************************************************************************************* // 20 | }); 21 | -------------------------------------------------------------------------------- /tests/content/firebug/openOnLocalPage.js: -------------------------------------------------------------------------------- 1 | // Test entry point. 2 | function runTest() 3 | { 4 | FBTest.openNewTab(basePath + "firebug/openOnLocalPage.html", function(win) 5 | { 6 | // Open Firebug UI and reload the page. 7 | FBTest.openFirebug(function() 8 | { 9 | FBTest.sysout("openOnLocalPage reloading"); 10 | FBTest.reload(function(win) 11 | { 12 | FBTest.ok(FBTest.isFirebugOpen(), "Firebug UI must be opened now."); 13 | FBTest.testDone(); 14 | }); 15 | }); 16 | }); 17 | } 18 | -------------------------------------------------------------------------------- /tests/content/dom/breakpoints/window-inner-outer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 19 | 20 | -------------------------------------------------------------------------------- /tests/content/lib/search/textSearch.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Case for FBL.searchText 5 | 6 | 7 | 8 | 9 |

FBL.searchText

10 | 11 |

This test-case is intended for FBL.searchText 12 | method.

13 | 14 | The manual execution is not available for now. 15 |

16 | 17 |
aaaa
atexta
textaatext
18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /extension/content/firebug/lib/locale.js: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | define([ 4 | ], 5 | function() { 6 | 7 | "use strict"; 8 | 9 | // ********************************************************************************************* // 10 | // Module 11 | 12 | // The entire localization support is implemented as a Mozilla Module so that it can be 13 | // used before Firebug is fully loaded. 14 | return Components.utils["import"]("resource://firebug/locale.js").Locale; 15 | 16 | // ********************************************************************************************* // 17 | }); 18 | -------------------------------------------------------------------------------- /tests/content/lib/xpath/getElementTreeXPath.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | var div = document.createElement("div"); 4 | 5 | var parentDiv = document.createElement("div"); 6 | var childDiv1 = document.createElement("div"); 7 | var childDiv2 = document.createElement("div"); 8 | 9 | parentDiv.appendChild(childDiv1); 10 | parentDiv.appendChild(childDiv2); 11 | document.body.appendChild(parentDiv); 12 | 13 | var xpath = FW.FBL.getElementTreeXPath(childDiv1); 14 | 15 | FBTest.compare("/html/body/div/div[1]", xpath, "Verify xPath"); 16 | 17 | FBTest.testDone(); 18 | } 19 | -------------------------------------------------------------------------------- /tests/content/loader/dependencies/module-a.js: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | define(["module-b"], function(B) { 4 | 5 | // ********************************************************************************************* // 6 | 7 | var A = 8 | { 9 | getMessage: function() 10 | { 11 | return B.getMessage(); 12 | } 13 | } 14 | 15 | // ********************************************************************************************* // 16 | 17 | return A; 18 | 19 | // ********************************************************************************************* // 20 | }); 21 | -------------------------------------------------------------------------------- /tests/content/cookies/general/cookiesPanel.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "cookies/general/cookiesPanel.html", function(win) 4 | { 5 | FBTest.openFirebug(true); 6 | FBTest.enableCookiesPanel(function(win) 7 | { 8 | // Make sure the Cookie panel's UI is there. 9 | var panel = FBTest.selectPanel("cookies"); 10 | if (panel) 11 | FBTest.ok(panel.panelNode, "Cookies panel must be initialized."); 12 | 13 | // Finish test 14 | FBTest.testDone(); 15 | }); 16 | }); 17 | }; 18 | -------------------------------------------------------------------------------- /tests/content/loader/diagnostics/requirejs/tests/diagnostics/diagnostics.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

RequireJS diagnostic tests

10 |

As this page loads it runs diagnostics/main.js using the require.js in a subdirectory: 11 |

    12 |
  1. Open Firebug, Console panel
  2. 13 |
  3. Reload the page
  4. 14 |

15 | 16 | -------------------------------------------------------------------------------- /tests/content/examples/exampleHtmlMutation1.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "examples/exampleHtmlMutation1.html", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | FBTest.selectPanel("html"); 8 | 9 | FBTest.waitForHtmlMutation(null, "div", function(node) 10 | { 11 | FBTest.testDone(); 12 | }); 13 | 14 | FBTest.progress("fbTestFirebug.waitForHtmlMutation;"); 15 | FBTest.click(win.document.getElementById("testButton")); 16 | }); 17 | }); 18 | } 19 | 20 | -------------------------------------------------------------------------------- /tests/content/loader/diagnostics/requirejs/tests/diagnostics/module-b.js: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | define([], function() { 4 | 5 | // ********************************************************************************************* // 6 | 7 | var B = 8 | { 9 | getMessage: function() 10 | { 11 | return "Hello World!"; 12 | } 13 | } 14 | 15 | // ********************************************************************************************* // 16 | 17 | return B; 18 | 19 | // ********************************************************************************************* // 20 | }); 21 | -------------------------------------------------------------------------------- /tests/content/net/5324/issue5324.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "net/5324/issue5324.html", (win) => 4 | { 5 | FBTest.enableNetPanel(() => 6 | { 7 | FBTest.waitForDisplayedElement("net", null, (row) => 8 | { 9 | var label = row.getElementsByClassName("netProtocolLabel")[0]; 10 | FBTest.compare(/SPDY/, label.innerHTML, "It must be a SPDY request"); 11 | FBTest.testDone(); 12 | }); 13 | 14 | FBTest.clickContentButton(win, "testButton"); 15 | }); 16 | }); 17 | } 18 | -------------------------------------------------------------------------------- /trace/FBTrace/chrome/content/traceFirebugOverlay.xul: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 |

JSD jsd.asyncOn test

13 | 19 |

At this point the Script panel should show some Javascript

20 | 21 | 22 | -------------------------------------------------------------------------------- /tests/content/loader/diagnostics/requirejs/tests/diagnostics/module-a.js: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | define(["module-b"], function(B) { 4 | 5 | // ********************************************************************************************* // 6 | 7 | var A = 8 | { 9 | getMessage: function() 10 | { 11 | return B.getMessage(); 12 | } 13 | } 14 | 15 | // ********************************************************************************************* // 16 | 17 | return A; 18 | 19 | // ********************************************************************************************* // 20 | }); 21 | -------------------------------------------------------------------------------- /tests/content/examples/exampleScreenGrab1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Example test for screen comparison 5 | 6 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /tests/content/lib/css/colorNameToRGB.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | // Valid values 4 | verifyResult("rgb(0, 128, 0)", "green"); 5 | verifyResult("rgb(139, 0, 0)", "darkred"); 6 | verifyResult("rgb(100, 149, 237)", "CornflowerBlue"); 7 | verifyResult("rgba(0, 0, 0, 0)", "transparent"); 8 | 9 | // Invalid values 10 | verifyResult("nonexistentcolor", "nonexistentcolor"); 11 | 12 | FBTest.testDone(); 13 | } 14 | 15 | function verifyResult(expected, color) 16 | { 17 | var result = FW.FBL.colorNameToRGB(color); 18 | FBTest.compare(expected, result, "Color name must be correctly converted to RGB"); 19 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # Junk that could exist anywhere: 3 | .DS_Store 4 | *.swp 5 | *.tmp 6 | .*.gz 7 | *.patch 8 | 9 | # Temporary files created by Eclipse 10 | .tmp* 11 | 12 | # Editor junk 13 | *.project 14 | /.pydevproject 15 | /.settings/ 16 | /.settings.xml 17 | /.settings.xml.old 18 | /.idea/ 19 | *.iws 20 | *.ids 21 | *.iml 22 | *.ipr 23 | 24 | # Build Files 25 | /extension/build/ 26 | /extension/release/ 27 | /tests/FBTest/release/ 28 | /trace/FBTrace/release/ 29 | *.graphml 30 | /extension/bz-locale/ 31 | 32 | # Files from NPM 33 | /extension/node_modules/ 34 | 35 | # Extensions 36 | /extension/firebug@software.joehewitt.com 37 | 38 | -------------------------------------------------------------------------------- /tests/content/bti/browsercontext/testScripts.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Case for Browser Tools Interface BrowserContexts 5 | 6 | 7 | 8 | 10 | 11 | 14 | 15 |

Browser.getContexts()

16 | 17 |

This test-case is for BrowserContext related tests 18 |
19 | Darin Wright, Darin_Wright@ca.ibm.com 20 |

21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /tests/content/bti/compilationunit/testScripts.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Case for Browser Tools Interface BrowserContexts 5 | 6 | 7 | 8 | 10 | 11 | 14 | 15 |

Browser.getContexts()

16 | 17 |

This test-case is for BrowserContext related tests 18 |
19 | Darin Wright, Darin_Wright@ca.ibm.com 20 |

21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /tests/content/loader/diagnostics/requirejs/tests/diagnostics/defineWithNoReturn.js: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | define([], function() { 4 | 5 | // ********************************************************************************************* // 6 | var A = 7 | { 8 | getMessage: function() 9 | { 10 | return "A message"; 11 | } 12 | } 13 | 14 | // ********************************************************************************************* // 15 | 16 | // Someone forgot this return A; 17 | 18 | // ********************************************************************************************* // 19 | }); 20 | -------------------------------------------------------------------------------- /tests/content/console/onreadystatechange.js: -------------------------------------------------------------------------------- 1 | // Test entry point (executed by FBTest) 2 | function runTest() 3 | { 4 | // Open a manual test page. 5 | var urlBase = FBTest.getHTTPURLBase(); 6 | FBTest.openNewTab(urlBase + "console/onreadystatechange.html", function(win) 7 | { 8 | FBTest.enableConsolePanel(logTestResult); 9 | }) 10 | } 11 | 12 | function logTestResult(event) 13 | { 14 | // TODO: verify FB UI 15 | 16 | // Log test results. 17 | FBTest.ok(true, "Test OK"); 18 | FBTest.progress("Example progress message"); 19 | 20 | // Finish test 21 | //cleanUpTestTabs(); 22 | FBTest.testDone(); 23 | } -------------------------------------------------------------------------------- /tests/content/net/activation/activation1.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 |

Activation Test 1

9 | 10 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /tests/content/net/activation/activation2.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 |

Activation Test 2

9 | 10 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /tests/content/commandLine/objects.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "commandLine/objects.html", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | FBTest.enableConsolePanel(function(win) 8 | { 9 | var config = {tagName: "a", classes: "objectLink-Date"}; 10 | FBTest.waitForDisplayedElement("console", config, function(row) 11 | { 12 | FBTest.testDone(); 13 | }); 14 | 15 | FBTest.executeCommand("new Date('15/02/2011 10:00')"); 16 | }); 17 | }); 18 | }); 19 | } 20 | -------------------------------------------------------------------------------- /tests/content/console/6546/issue6546.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "console/6546/issue6546.html", (win) => 4 | { 5 | // 1. Open Firebug 6 | FBTest.openFirebug(() => 7 | { 8 | // 2. Enable and switch to the Console panel 9 | FBTest.enableConsolePanel(() => 10 | { 11 | var doc = FW.Firebug.chrome.window.document; 12 | FBTest.compare("textbox-input", doc.activeElement.className, 13 | "Command Line must be focused"); 14 | 15 | FBTest.testDone(); 16 | }); 17 | }); 18 | }); 19 | } 20 | -------------------------------------------------------------------------------- /tests/content/loader/diagnostics/requirejs/tests/diagnostics/syntaxErrorInsideDefine.js: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | define(["module-b"], function(B) { 4 | 5 | // ********************************************************************************************* // 6 | syntax error 7 | ; 8 | var A = 9 | { 10 | getMessage: function() 11 | { 12 | return B.getMessage(); 13 | } 14 | } 15 | 16 | // ********************************************************************************************* // 17 | 18 | return A; 19 | 20 | // ********************************************************************************************* // 21 | }); 22 | -------------------------------------------------------------------------------- /tests/content/css/2967/issue2967.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "css/2967/issue2967.xml", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | var panel = FBTest.selectPanel("stylesheet"); 8 | 9 | if (FBTest.ok(FBTest.selectPanelLocationByName(panel, "issue2967.xml"), "The CSS Location Menu should contain an entry for 'issue2967.xml'")) 10 | FBTest.compare(/#rect\s*\{\s*fill:\s*url\("#linearGradient"\)\s*#000000;\s*\}/, panel.panelNode.textContent, "The panel should contain one SVG CSS rule"); 11 | 12 | FBTest.testDone(); 13 | }); 14 | }); 15 | } -------------------------------------------------------------------------------- /tests/content/loader/diagnostics/requirejs/tests/diagnostics/runtimeErrorInsideDefine.js: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | define(["module-b"], function(B) { 4 | 5 | // ********************************************************************************************* // 6 | var A = 7 | { 8 | getMessage: function() 9 | { 10 | return B.getMessage(); 11 | } 12 | } 13 | 14 | // ********************************************************************************************* // 15 | 16 | noSuchFunction(); 17 | 18 | return A; 19 | 20 | // ********************************************************************************************* // 21 | }); 22 | -------------------------------------------------------------------------------- /tests/content/css/computed/5451/issue5451.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "css/computed/5451/issue5451.html", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | var panel = FBTest.selectPanel("computed"); 8 | panel.panelNode.scrollTop = 100; 9 | 10 | FBTest.reload(function() 11 | { 12 | var panel = FBTest.selectSidePanel("computed"); 13 | FBTest.compare(100, panel.panelNode.scrollTop, "Panel must be scrolled down 100 pixels"); 14 | 15 | FBTest.testDone(); 16 | }); 17 | }); 18 | }); 19 | } 20 | -------------------------------------------------------------------------------- /tests/content/examples/exampleTest.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | // A message displayed within Firebug tracing console. 4 | FBTest.sysout("This is a tracing message"); 5 | 6 | // A message displayed under the test within Firebug test console. 7 | FBTest.progress("This is a progress message"); 8 | 9 | // Verification 10 | FBTest.ok(true, "This is a positive verification"); 11 | //FBTest.ok(false, "This is a negative verification"); 12 | 13 | // Verification 14 | FBTest.compare("Expected", "Expected", "Compare test (positive)"); 15 | //FBTest.compare("Expected", "Actual", "Compare test (negative)"); 16 | 17 | FBTest.testDone(); 18 | } 19 | -------------------------------------------------------------------------------- /tests/content/loader/diagnostics/requirejs/tests/diagnostics/require-debug.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |

RequireJS require-debug tests

11 |

As this page loads it runs diagnostics/debug-main.js using the require.js in ../.. directory: 12 |

    13 |
  1. Open Firebug, Console panel
  2. 14 |
  3. Reload the page
  4. 15 |

16 | 17 | -------------------------------------------------------------------------------- /tests/content/console/6778/issue6778.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "console/6778/issue6778.html", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | FBTest.enableConsolePanelAndReload(function() 8 | { 9 | var config = {tagName: "SPAN", classes: "objectBox-text"}; 10 | FBTest.waitForDisplayedElement("console", config, function(row) 11 | { 12 | FBTest.compare("XDM Console message", row.textContent, "check the console logs"); 13 | FBTest.testDone(); 14 | }); 15 | }); 16 | }); 17 | }); 18 | } 19 | -------------------------------------------------------------------------------- /tests/content/net/listeners/netInfoBodyListener-1.6.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Case for netInfoBody listener 5 | 6 | 7 | 8 | 9 |

netInfoBody listener

10 | Jan Odvarko, odvarko@gmail.com 11 | 12 | 13 | 14 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /extension/locale/sv-SE/selectors.properties: -------------------------------------------------------------------------------- 1 | Panel-selectors=Selektorer 2 | panel.tip.selectors=Visar element som matchar en viss CSS-selektor 3 | css.selector.noSelection=Skriv in en selektor eller högerklicka på en CSS-regel och välj Visa matchande element. 4 | css.selector.noSelectionResults=Inga matchande element 5 | css.selector.readMore=Du kan läsa mer om hur man använder den här panelen. 6 | css.selector.invalidSelector=Ogiltig selektor. 7 | css.selector.TryASelector=Prova en selektor... 8 | css.selector.cmd.getMatchingElements=Visa matchande element 9 | aria.labels.Selectors=Selektorer sidopanel 10 | a11y.labels.press_enter_to_add_new_selector=Tryck Enter för att lägga till en ny selektor 11 | -------------------------------------------------------------------------------- /extension/content/firebug/lib/promise.js: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | define([ 4 | "firebug/lib/trace", 5 | ], 6 | function (FBTrace) { 7 | 8 | // ********************************************************************************************* // 9 | // StackTrace Implementation 10 | 11 | var imported = {}; 12 | 13 | Components.utils["import"]("resource://gre/modules/commonjs/sdk/core/promise.js", imported); 14 | 15 | // ********************************************************************************************* // 16 | // Registration 17 | 18 | return imported.Promise; 19 | 20 | // ********************************************************************************************* // 21 | }); 22 | -------------------------------------------------------------------------------- /tests/content/console/errors/6523/issue6523-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /tests/content/css/5262/issue5262.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "css/5262/issue5262.html", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | var panel = FBTest.selectPanel("stylesheet"); 8 | 9 | FBTest.selectPanelLocationByName(panel, "issue5262.html"); 10 | 11 | var rows = FW.FBL.getElementsByClass(panel.panelNode, "cssCharsetRule"); 12 | if (FBTest.compare(1, rows.length, "There must be one @charset rule")) 13 | FBTest.compare(/@charset\s\"UTF-8\";/, rows[0].textContent, "The @charset rule must be correct"); 14 | 15 | FBTest.testDone(); 16 | }); 17 | }); 18 | } 19 | -------------------------------------------------------------------------------- /tests/content/loader/diagnostics/diagnostics.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

RequireJS diagnostic tests

10 |

As this page loads it runs diagnostics/main.js using the require.js in a subdirectory: 11 |

    12 |
  1. In the directory of this web page,
  2. 13 |
  3. git clone a copy of require.js
  4. 14 |
  5. Open Firebug
  6. 15 |
  7. Reload the page
  8. 16 |

17 | 18 | -------------------------------------------------------------------------------- /extension/locale/sv-SE/firebug-amo.properties: -------------------------------------------------------------------------------- 1 | firebug.amo.summary1.6=Firebug integrerar med Firefox och ger dig en uppsjö av utvecklingsverktyg direkt i webbläsaren. Du kan redigera, debugga och inspektera CSS, HTML och JavaScript live på alla webbsidor...\n\nFirebug 1.6 kräver Firefox 3.6 eller senare. 2 | firebug.amo.description=Firebug integrerar med Firefox och ger dig ett stort antal utvecklingsverktyg direkt i webbläsaren. Du kan redigera, debugga och inspektera CSS, HTML och JavaScript direkt på vilken sida som helst.\n\nBesök Firebugs hemsida för dokumentation, skärmbilder och diskussionsforum: https://getfirebug.com 3 | firebug.amo.developer.comments=Om du har några problem, läs Firebugs FAQ.\n\nhttps://getfirebug.com/faq 4 | -------------------------------------------------------------------------------- /tests/content/console/spy/2462/issue2462.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "console/spy/2462/issue2462.html", function(win) 4 | { 5 | FBTest.enableConsolePanel(function() 6 | { 7 | var options = { 8 | tagName: "div", 9 | classes: "logRow logRow-spy error loaded" 10 | }; 11 | 12 | // Asynchronously wait for the request beeing displayed. 13 | FBTest.waitForDisplayedElement("console", options, function(logRow) 14 | { 15 | FBTest.testDone(); 16 | }); 17 | 18 | FBTest.click(win.document.getElementById("testButton")); 19 | }); 20 | }); 21 | } 22 | -------------------------------------------------------------------------------- /tests/content/script/3402/issue3402.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "script/3402/issue3402.html", function(win) 4 | { 5 | FBTest.enableScriptPanel(function(win) 6 | { 7 | var fileName = basePath + "script/3402/domplate.js"; 8 | 9 | FBTest.setBreakpoint(null, fileName, 1069, null, function() 10 | { 11 | FBTest.progress("breakpoint set."); 12 | 13 | FBTest.selectPanel("html"); 14 | 15 | FBTest.removeBreakpoint(null, fileName, 1069, function(row) 16 | { 17 | FBTest.testDone(); 18 | }); 19 | }); 20 | }); 21 | }); 22 | } 23 | -------------------------------------------------------------------------------- /tests/content/search/scriptVictim.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Search Test Page 5 | 6 | 7 | 10 | 11 | 12 |

Search Test Page

13 |

This page is designed for automated search test.

14 |
Test Data
15 |
Test Data
16 | Script script 17 | 18 | SCRIPT 19 | 20 | -------------------------------------------------------------------------------- /tests/content/loader/dependencies/main.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.progress("using module dependencies: " + baseLocalPath); 4 | 5 | // Compute relative path and construct module loader. 6 | var baseUrl = baseLocalPath + "loader/dependencies/"; 7 | var config = { 8 | context: baseUrl + Math.random(), // to give each test its own loader, 9 | baseUrl: baseUrl, 10 | xhtml: true, 11 | }; 12 | 13 | var require = FBTest.getRequire(); 14 | require(config, ["module-a"], function(A) 15 | { 16 | var message = A.getMessage(); 17 | FBTest.compare("Hello World!", message, "The message from modules must match."); 18 | FBTest.testDone(); 19 | }); 20 | } 21 | -------------------------------------------------------------------------------- /extension/locale/nl/firebug-amo.properties: -------------------------------------------------------------------------------- 1 | firebug.amo.summary1.6=Firebug integreert in Firefox en biedt zo een overvloed aan ontwikkelingshulpmiddelen tijdens het surfen. U kunt CSS, HTML en JavaScript live bewerken, debuggen en volgen op elke webpagina…\n\nFirebug 1.6 vereist Firefox 3.6 of hoger. 2 | firebug.amo.description=Firebug integreert in Firefox en biedt zo een overvloed aan ontwikkelingshulpmiddelen die u kunt gebruiken terwijl u surft. U kunt CSS, HTML en JavaScript live bewerken, debuggen en volgen op elke webpagina…\n\nBezoek de Firebug-website voor documentatie, schermafbeeldingen en discussiefora: https://getfirebug.com 3 | firebug.amo.developer.comments=Lees bij problemen de veelgestelde vragen over Firebug.\n\nhttps://getfirebug.com/faq 4 | -------------------------------------------------------------------------------- /tests/content/examples/exampleScript1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Example Test Case: Script Panel 5 | 6 | 7 | 8 | 9 |

Script Panel

10 | 11 |
    12 |
  1. Open Firebug and enable the Script panel.
  2. 13 |
  3. Click on the Execute Test button below.
  4. 14 |
  5. Firebug should halt in debugger.
  6. 15 |
16 | 17 | 18 | 19 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /tests/content/examples/exampleToolsInterface.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Example Test Case: Script Panel 5 | 6 | 7 | 8 | 9 |

Script Panel

10 | 11 |
    12 |
  1. Open Firebug and enable the Script panel.
  2. 13 |
  3. Click on the Execute Test button below.
  4. 14 |
  5. Firebug should halt in debugger.
  6. 15 |
16 | 17 | 18 | 19 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /tests/content/examples/exampleCommandLine1.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "examples/exampleCommandLine1.html", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | FBTest.enableConsolePanel(function(win) 8 | { 9 | var config = {tagName: "span", classes: "objectBox objectBox-number"}; 10 | FBTest.waitForDisplayedElement("console", config, function(row) 11 | { 12 | FBTest.compare("3", row.textContent, "Number 3 must be displayed"); 13 | FBTest.testDone(); 14 | }); 15 | 16 | FBTest.executeCommand("1+2"); 17 | }); 18 | }); 19 | }); 20 | } 21 | -------------------------------------------------------------------------------- /tests/content/cookies/5560/issue5560.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "cookies/5560/issue5560.php", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | FBTest.enableCookiesPanel(function(win) 8 | { 9 | var panelNode = FBTest.selectPanel("cookies").panelNode; 10 | var cookie = FBTest.getCookieByName(panelNode, "TestCookie5560"); 11 | var rawValue = cookie.row.getElementsByClassName("cookieRawValueCol").item(0); 12 | 13 | FBTest.compare("%23", rawValue.textContent, "The raw value of the cookie must be displayed correctly."); 14 | FBTest.testDone(); 15 | }); 16 | }); 17 | }); 18 | } 19 | -------------------------------------------------------------------------------- /tests/content/net/1308/issue1308-1.6.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 |

Test Case for Issue #1308

9 | 10 | 11 | 12 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /tests/content/script/watch/5009/issue5009.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "script/watch/5009/issue5009.html", function(win) 4 | { 5 | FBTest.enableScriptPanel(function(win) 6 | { 7 | var panel = FBTest.selectSidePanel("watches"); 8 | 9 | var watchNewRow = panel.panelNode.getElementsByClassName("watchEditBox").item(0); 10 | FBTest.ok(watchNewRow, "The watch edit box must be there"); 11 | 12 | FBTest.mouseDown(watchNewRow); 13 | 14 | var editor = panel.panelNode.getElementsByClassName("fixedWidthEditor").item(0); 15 | FBTest.ok(editor, "The editor must be there"); 16 | 17 | FBTest.testDone(); 18 | }); 19 | }); 20 | } 21 | -------------------------------------------------------------------------------- /extension/locale/pl/selectors.properties: -------------------------------------------------------------------------------- 1 | Panel-selectors=Selektory 2 | panel.tip.selectors=Wyświetla elementy pasujące do selektora CSS 3 | css.selector.tip.Selector=Selektor 4 | css.selector.noSelection=Podaj własny selektor lub kliknij prawym przyciskiem myszy regułę CSS i wybierz Wyświetl pasujące elementy. 5 | css.selector.noSelectionResults=Nie ma pasujących elementów 6 | css.selector.readMore=Możesz dowiedzieć się więcej, jak korzystać z tego panelu. 7 | css.selector.invalidSelector=Podano nieprawidłowy selektor 8 | css.selector.TryASelector=Wypróbuj selektor… 9 | css.selector.cmd.getMatchingElements=Wyświetl pasujące elementy 10 | aria.labels.Selectors=Panel selektorów 11 | a11y.labels.press_enter_to_add_new_selector=Naciśnij Enter, aby dodać nowy selektor 12 | -------------------------------------------------------------------------------- /tests/content/commandLine/6920/issue6920.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "commandLine/6920/issue6920.html", function(win) 4 | { 5 | FBTest.enablePanels(["console"], function() 6 | { 7 | var CommandEditor = FW.Firebug.CommandEditor; 8 | CommandEditor.setText("function test() { return true; }", true); 9 | 10 | var context = FW.Firebug.currentContext; 11 | CommandEditor.prettyPrint(context).then((code) => 12 | { 13 | var expected = "function test() {\n return true;\n}\n"; 14 | FBTest.compare(expected, code, "The code must be formatted"); 15 | FBTest.testDone(); 16 | }); 17 | }); 18 | }); 19 | } 20 | -------------------------------------------------------------------------------- /extension/locale/es-ES/firebug-amo.properties: -------------------------------------------------------------------------------- 1 | firebug.amo.summary1.6=Firebug se integra con Firefox para proporcionarle abundantes herramientas de desarrollo mientras navega. Puede editar, depurar y observar CSS, HTML y JavaScript en vivo en cualquier página web...\n\nFirebug 1.6 requiere Firefox 3.6 o superior. 2 | firebug.amo.description=Firebug se integra con Firefox para proporcionarle abundantes herramientas de desarrollo mientras navega. Puede editar, depurar y observar CSS, HTML y JavaScript en vivo en cualquier página web...\n\nVisite el sitio web de Firebug para encontrar información, capturas de pantalla y foros de discusión: https://getfirebug.com 3 | firebug.amo.developer.comments=Si tiene algún problema, lea las preguntas frecuentes (FAQ) de FireBug.\n\nhttps://getfirebug.com/faq 4 | -------------------------------------------------------------------------------- /tests/content/examples/exampleConsoleAPI1.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "examples/exampleConsoleAPI1.html", function(win) 4 | { 5 | FBTest.enableConsolePanel(function(win) 6 | { 7 | var config = {tagName: "div", classes: "logRow logRow-log"}; 8 | FBTest.waitForDisplayedElement("console", config, function(row) 9 | { 10 | FBTest.compare(/Hello World!\s*/, row.textContent, 11 | "The proper message must be displayed."); 12 | 13 | FBTest.testDone(); 14 | }); 15 | 16 | // Execute test implemented on the test page. 17 | FBTest.click(win.document.getElementById("testButton")); 18 | }); 19 | }); 20 | } 21 | -------------------------------------------------------------------------------- /extension/skin/classic/mac/quickInfoBox.css: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | /*************************************************************************************************/ 4 | /* Quick Info Box */ 5 | 6 | .fbQuickInfoPanelBody { 7 | font-family: monospace; 8 | } 9 | 10 | .fbQuickInfoName, .fbQuickInfoValue { 11 | font-family: monospace; 12 | } 13 | 14 | .fbQuickInfoPin { 15 | background: url(chrome://firebug/skin/mac/pin.svg) no-repeat; 16 | width: 13px; 17 | height: 13px; 18 | } 19 | 20 | .fbQuickInfoClose { 21 | background: url(chrome://firebug/skin/mac/close.svg) no-repeat; 22 | width: 13px; 23 | height: 13px; 24 | } 25 | 26 | .fbQuickInfoPin.pin { 27 | background: url(chrome://firebug/skin/mac/pinned.svg) no-repeat; 28 | } 29 | -------------------------------------------------------------------------------- /tests/content/console/1601/consoleLogErrorObject.js: -------------------------------------------------------------------------------- 1 | /* 2 | * issue1601.js 3 | * test for http://code.google.com/p/fbug/issues/detail?id=1601 4 | * Author: johnjbarton@johnjbarton.com March 2009 5 | */ 6 | 7 | function isEmpty(obj) 8 | { 9 | if (obj) 10 | return obj.length == 0; 11 | return true; 12 | } 13 | 14 | function testConsoleError() 15 | { 16 | FBTest.testDone(); 17 | } 18 | 19 | // Test entry point. 20 | function runTest() 21 | { 22 | FBTest.openNewTab(basePath + "console/1601/consoleLogErrorObject.html", function(win) 23 | { 24 | FBTest.openFirebug(function() 25 | { 26 | FBTest.enableConsolePanel(function() 27 | { 28 | testConsoleError(); 29 | }); 30 | }); 31 | }); 32 | } -------------------------------------------------------------------------------- /tests/content/css/6531/issue6531-iframe.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | iframe 5 | 6 | 25 | 26 | 27 | iframe 28 | 29 | 30 | -------------------------------------------------------------------------------- /tests/content/loader/paths/absolutepath.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.progress("using baseLocalPath: " + baseLocalPath); 4 | 5 | var baseUrl = baseLocalPath + "loader/paths/"; 6 | var config = { 7 | context: baseUrl + Math.random(), // to give each test its own loader, 8 | xhtml: true, 9 | }; 10 | 11 | var require = FBTest.getRequire(); 12 | require(config, [ 13 | baseUrl + "add.js", 14 | baseUrl + "subtract.js" 15 | ], 16 | function(AddModule, SubtractModule) 17 | { 18 | FBTest.compare(3, AddModule.add(1, 2), "The add module must be properly loaded"); 19 | FBTest.compare(2, SubtractModule.subtract(3, 1), "The subtract module must be properly loaded"); 20 | FBTest.testDone(); 21 | }); 22 | } 23 | -------------------------------------------------------------------------------- /tests/content/bti/browser/onContextCreated.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Test event listener call back for #onContextCreated 4 | * 5 | * When a new tab is opened, a call back should be triggered 6 | */ 7 | 8 | function runTest() 9 | { 10 | var browser = new FW.Firebug.BTI.Browser(); // TODO 11 | var url = FBTest.getHTTPURLBase()+"bti/browser/testGetContexts.html"; 12 | browser.addEventListener("onContextCreated", function(context) 13 | { 14 | FBTest.compare(context.getURL(), url, "URL of newly created context should be " + url); 15 | FBTest.testDone(); 16 | }); 17 | FBTest.progress("onContextCreated, open test page "+url); 18 | FBTest.openNewTab(url, function(win) 19 | { 20 | FBTest.progress("onContextCreated, new tab opened "+url); 21 | }); 22 | } 23 | -------------------------------------------------------------------------------- /tests/content/bti/browser/onContextLoaded.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Test event listener call back for #onContextLoaded 4 | * 5 | * When a new tab is opened, a loaded call back should be triggered 6 | */ 7 | 8 | function runTest() 9 | { 10 | var browser = new FW.Firebug.BTI.Browser(); // TODO 11 | var url = FBTest.getHTTPURLBase()+"bti/browser/testGetContexts.html"; 12 | browser.addEventListener("onContextLoaded", function(context) 13 | { 14 | FBTest.compare(context.getURL(), url, "URL of newly loaded context should be " + url); 15 | FBTest.testDone(); 16 | }); 17 | FBTest.progress("onContextLoaded, open test page "+url); 18 | FBTest.openNewTab(url, function(win) 19 | { 20 | FBTest.progress("onContextLoaded, new tab opened "+url); 21 | }); 22 | } 23 | -------------------------------------------------------------------------------- /tests/content/console/1591/issue1591.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Case for Issue #1591 5 | 6 | 7 | 8 | 9 |

Issue #1591

10 | 11 |

This test-case is intended for Issue #1591 12 | - Firebug cannot find _firebugConsole element. 13 |
14 | Rob Campbell, rcampbell@mozilla.com 15 |

16 | 17 |
    18 |
  1. Open Firebug and select the Console panel.
  2. 19 |
  3. Clear the console
  4. 20 |
  5. Select the command-line
  6. 21 |
  7. Check that there is no error on the console
  8. 22 |
23 | 24 | 25 | -------------------------------------------------------------------------------- /tests/content/firebug/7036/issue7036.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "firebug/7036/issue7036.html", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | FBTest.enableConsolePanel(function(win) 8 | { 9 | FBTest.selectPanel("html"); 10 | FBTest.selectPanel("console"); 11 | var tasks = new FBTest.TaskList(); 12 | 13 | tasks.push(window.setTimeout, 500); 14 | tasks.push(FBTest.executeCommandAndVerify, "1+1", "2", "span", "objectBox-number"); 15 | 16 | tasks.run(function() 17 | { 18 | FBTest.testDone(); 19 | }); 20 | }); 21 | }); 22 | }); 23 | } 24 | 25 | -------------------------------------------------------------------------------- /tests/content/script/4932/issue4932.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | var url = basePath + "script/4932/issue4932.html"; 4 | FBTest.openNewTab(url, function(win) 5 | { 6 | FBTest.enableScriptPanel(function(win) 7 | { 8 | FBTest.progress("Wait till the iframe is loaded"); 9 | 10 | FBTest.selectSourceLine(url, 1, "js", null, function(row) 11 | { 12 | row = FW.FBL.getChildByClass(row, "firebug-line"); 13 | 14 | var expected = /function funcTest\(\) \{\}\s*/; 15 | FBTest.compare(expected, row.textContent, 16 | "The script panel must show expected source: " + row.textContent); 17 | 18 | FBTest.testDone(); 19 | }); 20 | }); 21 | }); 22 | } 23 | -------------------------------------------------------------------------------- /extension/locale/nl/selectors.properties: -------------------------------------------------------------------------------- 1 | Panel-selectors=Selecteurs 2 | panel.tip.selectors=Geeft elementen weer die overeenkomen met een CSS-selecteur 3 | css.selector.tip.Selector=Selecteur 4 | css.selector.noSelection=Type een aangepaste selecteur of rechtsklik op een CSS-regel en kies Overeenkomende elementen ophalen. 5 | css.selector.noSelectionResults=Geen overeenkomende elementen 6 | css.selector.readMore=U kunt meer lezen over hoe u dit paneel kunt gebruiken. 7 | css.selector.invalidSelector=Ongeldige selecteur ingegeven 8 | css.selector.TryASelector=Probeer een selecteur… 9 | css.selector.cmd.getMatchingElements=Overeenkomende elementen ophalen 10 | aria.labels.Selectors=Selectie-zijpaneel 11 | a11y.labels.press_enter_to_add_new_selector=Druk Enter om een nieuwe selecteur toe te voegen 12 | -------------------------------------------------------------------------------- /tests/content/console/4493/issue4493.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /extension/locale/es-AR/selectors.properties: -------------------------------------------------------------------------------- 1 | Panel-selectors=Selectores 2 | panel.tip.selectors=Mostrar elementos coincidentes como un selector CSS 3 | css.selector.tip.Selector=Selector 4 | css.selector.noSelection=Tipee un selector dado o presione el botón derecho sobre una regla CSS y seleccione Obtener elementos coincidentes. 5 | css.selector.noSelectionResults=No hay elementos coincidentes 6 | css.selector.readMore=Puede leer más acerca de cómo utilizar este panel. 7 | css.selector.invalidSelector=Selector inválido ingresado 8 | css.selector.TryASelector=Intentar un selector"..." 9 | css.selector.cmd.getMatchingElements=Obtener elementos coincidentes 10 | aria.labels.Selectors=Panel lateral de selectores 11 | a11y.labels.press_enter_to_add_new_selector=Pulse Intro para añadir un nuevo selector 12 | -------------------------------------------------------------------------------- /tests/content/commandLine/objects.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Case for command line 5 | 6 | 7 | 8 | 9 |

Command line: page objects

10 | 11 |

This test-case is intended for page objects that are used on the 12 | command line (such as Date). 13 |
14 | Jan Odvarko, odvarko@gmail.com 15 |

16 | 17 |
    18 |
  1. Open Firebug and enable the Console panel.
  2. 19 |
  3. Execute new Date("15/02/2011 10:00") on the command line.
  4. 20 |
  5. Verify the output it should be: Date { Fri Mar 02 2012 10:00:00 GMT+0100 }
  6. 21 |
22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /tests/content/console/grouping/6750/issue6750.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "console/grouping/6750/issue6750.html", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | FBTest.enableConsolePanel(function(win) 8 | { 9 | FBTest.clearConsole(); 10 | 11 | var config = { 12 | tagName: "div", 13 | classes: "logRow" 14 | }; 15 | 16 | FBTest.waitForDisplayedElement("console", config, function(row) 17 | { 18 | FBTest.testDone(); 19 | }); 20 | 21 | FBTest.click(win.document.getElementById("createLogs")); 22 | }); 23 | }); 24 | }); 25 | } 26 | -------------------------------------------------------------------------------- /tests/content/css/3673/issue3673.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "css/3673/issue3673.html", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | var panel = FBTest.selectPanel("stylesheet"); 8 | var warning = panel.panelNode.querySelector(".warning"); 9 | FBTest.ok(warning, "There must be a warning: There are no rules ..."); 10 | 11 | FBTest.reload(function(win) 12 | { 13 | var panel = FBTest.selectPanel("stylesheet"); 14 | var warning = panel.panelNode.querySelector(".warning"); 15 | FBTest.ok(warning, "The text must be still there..."); 16 | 17 | FBTest.testDone(); 18 | }); 19 | }); 20 | }); 21 | } 22 | -------------------------------------------------------------------------------- /tests/content/html/6744/issue6744.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "html/6744/issue6744.html", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | FBTest.selectPanel("html"); 8 | 9 | FBTest.selectElementInHtmlPanel("test", function(win) 10 | { 11 | var chrome = FW.Firebug.chrome; 12 | var elementPathItem = chrome.window.document. 13 | getElementsByClassName("panelStatusLabel")[0]; 14 | 15 | FBTest.compare("div#test.a.b.c", elementPathItem.label, 16 | "The label of the node inside the Element Path must be 'div#test.a.b.c'"); 17 | 18 | FBTest.testDone(); 19 | }); 20 | }); 21 | }); 22 | } 23 | -------------------------------------------------------------------------------- /tests/content/examples/exampleCommandLine1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Case for command line 5 | 6 | 7 | 8 | 9 |

Command line test

10 | 11 |

This test-case is intended for command line. 12 |
13 | Jan Odvarko, odvarko@gmail.com 14 |

15 | 16 |
    17 |
  1. Open Firebug and enable the Console panel.
  2. 18 |
  3. Put 1+2 expression in the command line.
  4. 19 |
  5. The Console panel should display:
    20 | >>> 1+2
    21 | 3 22 |
  6. 23 |
24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /tests/content/net/1468/issue1468.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 |

Test for Issue #1468

9 |
    10 |
  • Open Firebug UI and enable Net panel.
  • 11 |
  • Browse for a file and click the Send File button.
  • 12 |
13 | 14 |
16 | Send this file: 17 | 18 |
19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /extension/locale/es-ES/selectors.properties: -------------------------------------------------------------------------------- 1 | Panel-selectors=Selectores 2 | panel.tip.selectors=Muestra los elementos que coinciden con un selector CSS 3 | css.selector.tip.Selector=Selector 4 | css.selector.noSelection=Escriba un selector personalizado o haga clic derecho en una regla CSS y seleccione Obtener elementos coincidentes. 5 | css.selector.noSelectionResults=No hay elementos coincidentes 6 | css.selector.readMore=Puede obtener más información sobre como usar este panel. 7 | css.selector.invalidSelector=El selector introducido no es válido 8 | css.selector.TryASelector=Probar un selector… 9 | css.selector.cmd.getMatchingElements=Obtener elementos coincidentes 10 | aria.labels.Selectors=Panel lateral de selectores 11 | a11y.labels.press_enter_to_add_new_selector=Pulse Intro para añadir un selector 12 | -------------------------------------------------------------------------------- /extension/locale/hu-HU/firebug-amo.properties: -------------------------------------------------------------------------------- 1 | firebug.amo.summary1.6=A Firebug beépül a Firefox-ba és fejlesztőeszközök tucatjait biztosítsa böngészés közben. Szerkesztheti, monitorozhatja, hibát kereshet élőben az oldalak CSS, HTML és JavaScript kódjában...\n\nA Firebug 1.6 futtatásához Firefox 3.6-os vagy újabb verzió szükséges. 2 | firebug.amo.description=A Firebug a Firefoxba beépülve számtalan fejlesztési segédeszközzel gazdagítja azt, mely böngészés közben bármikor elérhető. Megtekintheti és szerkesztheti bármely weboldal CSS, HTML, illetve JavaScript kódjait...\n\nLátogasson el a Firebug honlapjára, ahol részletes dokumentációt, képernyőképeket és felhasználói fórumot is talál: https://getfirebug.com 3 | firebug.amo.developer.comments=Ha bármi problémája van, kérem látogassa meg a Firebug FAQ-ot.\n\nhttps://getfirebug.com/faq 4 | -------------------------------------------------------------------------------- /extension/locale/hu-HU/selectors.properties: -------------------------------------------------------------------------------- 1 | Panel-selectors=Kiválasztók 2 | panel.tip.selectors=CSS kiválasztónak megfelelő elemek megjelenítése 3 | css.selector.tip.Selector=Kiválasztó 4 | css.selector.noSelection=Írjon be egy tetszőleges CSS kiválasztót, vagy kattintson jobb gombbal egy CSS szabályra és válassza ki a Kiválasztónak megfelelő elemek menüpontot. 5 | css.selector.noSelectionResults=Nincsenek megfelelő elemek 6 | css.selector.readMore=További információk a panel használatáról. 7 | css.selector.invalidSelector=Érvénytelen kiválasztó 8 | css.selector.TryASelector=Kiválasztót kipróbálása… 9 | css.selector.cmd.getMatchingElements=Kiválasztónak megfelelő elemek 10 | aria.labels.Selectors=Kiválasztók oldalpanel 11 | a11y.labels.press_enter_to_add_new_selector=Nyomjon Entert új kiválasztó felvételéhez 12 | -------------------------------------------------------------------------------- /tests/content/commandLine/api/$_.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "commandLine/api/$_.html", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | FBTest.enableConsolePanel(function(win) 8 | { 9 | var taskList = new FBTest.TaskList(); 10 | 11 | taskList.push(FBTest.executeCommandAndVerify, "1+1", 12 | "2", "span", "objectBox objectBox-number"); 13 | 14 | taskList.push(FBTest.executeCommandAndVerify, "$_", 15 | "2", "span", "objectBox objectBox-number"); 16 | 17 | taskList.run(function() 18 | { 19 | FBTest.testDone(); 20 | }); 21 | }); 22 | }); 23 | }); 24 | } 25 | -------------------------------------------------------------------------------- /tests/content/loader/paths/relativepath.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.progress("using baseLocalPath: " + baseLocalPath); 4 | 5 | // Compute relative path and construct module loader. 6 | var baseUrl = baseLocalPath + "loader/paths/"; 7 | var config = { 8 | context: baseUrl + Math.random(), // to give each test its own loader, 9 | baseUrl: baseUrl, 10 | xhtml: true, 11 | }; 12 | 13 | var require = FBTest.getRequire(); 14 | require(config, ["add", "subtract"], function(AddModule, SubtractModule) 15 | { 16 | FBTest.compare(3, AddModule.add(1, 2), "The add module must be properly loaded"); 17 | FBTest.compare(2, SubtractModule.subtract(3, 1), "The subtract module must be properly loaded"); 18 | FBTest.testDone(); 19 | }); 20 | } 21 | -------------------------------------------------------------------------------- /extension/content/firebug/firebugui/commandEditor.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | Firebug 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | -------------------------------------------------------------------------------- /extension/skin/classic/bindings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /tests/content/html/5058/issue5058.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "html/5058/issue5058.html", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | FBTest.selectPanel("html"); 8 | FBTest.selectElementInHtmlPanel("inspectMe", function(node) 9 | { 10 | FBTest.clickToolbarButton(null, "fbToggleHTMLEditing"); 11 | 12 | var panel = FBTest.getPanel("html"); 13 | var editor = panel.localEditors.html; 14 | 15 | var expected = "
Inspect Me!
"; 16 | FBTest.compare(expected, editor.getValue(), "The markup must be displayed now"); 17 | 18 | FBTest.testDone(); 19 | }); 20 | }); 21 | }); 22 | } 23 | -------------------------------------------------------------------------------- /tests/templates/extension/simple-extension/install.rdf: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | testextension@janodvarko.cz 8 | Test Extension 9 | 1.1 10 | Jan Odvarko 11 | Test extension for wrong error parent window 12 | 13 | 14 | 15 | toolkit@mozilla.org 16 | 1.9.0.11 17 | 2.0.0.* 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /tests/content/console/onreadystatechange.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 |

Test for console.log(request.onreadystatechange

9 | 10 | Fails in FF3.1b3 11 | 12 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /tests/content/css/3688/issue3688.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "css/3688/issue3688.html", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | var panel = FBTest.selectPanel("stylesheet"); 8 | var warning = panel.panelNode.getElementsByClassName("warning")[0]; 9 | FBTest.ok(warning, "There must be a warning: There are no rules ..."); 10 | 11 | FBTest.reload(function(win) 12 | { 13 | var panel = FBTest.selectPanel("stylesheet"); 14 | var warning = panel.panelNode.getElementsByClassName("warning")[0]; 15 | FBTest.ok(warning, "The text must be still there..."); 16 | 17 | FBTest.testDone(); 18 | }); 19 | }); 20 | }); 21 | } 22 | -------------------------------------------------------------------------------- /extension/locale/ja-JP/firebug-amo.properties: -------------------------------------------------------------------------------- 1 | # LOCALIZATION NOTE (firebug.amo.summary, firebug.amo.description, firebug.amo.developer.comments): 2 | # These texts are used on Mozilla Add-on site: https://addons.mozilla.org/en-US/firefox/addon/1843 3 | # They are not direct part of Firebug extension and so, you can't see them in Firebug's UI. 4 | # Note that firebug.amo.summary must not exceed 250 characters (limitation by AMO site) 5 | firebug.amo.summary1.6=Firebug はブラウジング中いつでも豊富な開発ツールが使えるよう Firefox と融合し、どんなウェブページででも生の CSS、HTML、JavaScript を編集、デバッグ、モニタできます。 6 | firebug.amo.description=Firebug はブラウジング中いつでも豊富な開発ツールが使えるよう Firefox と融合し、どんなウェブページででも生の CSS、HTML、JavaScript を編集、デバッグ、モニタできます。\n\nFirebug のドキュメント、スクリーンショット、フォーラムはこちら: https://getfirebug.com 7 | firebug.amo.developer.comments=何か問題があるときは、Firebug FAQ をご覧ください。\n\nhttps://getfirebug.com/faq.html 8 | -------------------------------------------------------------------------------- /tests/content/css/3688/issue3688-2.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "css/3688/issue3688-2.html", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | var panel = FBTest.selectPanel("stylesheet"); 8 | var warning = panel.panelNode.getElementsByClassName("warning")[0]; 9 | FBTest.ok(warning, "There must be a warning: There are no rules ..."); 10 | 11 | FBTest.reload(function(win) 12 | { 13 | var panel = FBTest.selectPanel("stylesheet"); 14 | var warning = panel.panelNode.getElementsByClassName("warning")[0]; 15 | FBTest.ok(warning, "The text must be still there..."); 16 | 17 | FBTest.testDone(); 18 | }); 19 | }); 20 | }); 21 | } 22 | -------------------------------------------------------------------------------- /tests/content/net/1299/issue1299.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

Test for Issue #1299

10 | 11 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /tests/content/net/2209/issue2209-2.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "net/2209/issue2209-2.html", function(win) 4 | { 5 | FBTest.enableNetPanel(function(win) 6 | { 7 | FBTest.waitForDisplayedElement("net", null, function(netRow) 8 | { 9 | FBTest.click(netRow); 10 | 11 | var rowInfoBody = netRow.nextSibling; 12 | FBTest.ok(FW.FBL.hasClass(rowInfoBody, "netInfoRow"), "We need XHR entry body."); 13 | 14 | var jsonTab = rowInfoBody.querySelector(".netInfoJSONTab"); 15 | FBTest.ok(jsonTab, "JSON tab must exist"); 16 | FBTest.testDone(); 17 | }); 18 | 19 | FBTest.click(win.document.getElementById("executeTest")); 20 | }); 21 | }); 22 | } 23 | -------------------------------------------------------------------------------- /extension/locale/fr/firebug-amo.properties: -------------------------------------------------------------------------------- 1 | firebug.amo.summary1.6=Firebug s'intègre à Firefox pour mettre à disposition des outils de développement prêts à être utilisés pendant la navigation. Vous pouvez modifier, déboguer et contrôler les CSS, le code HTML et Javascript sur n'importe quelle page Web…\n\nFirebug 1.6 nécessite Firefox 3.6 à minima. 2 | firebug.amo.description=Firebug ajoute à Firefox une mine d'outils de développement à portée de main durant votre navigation. Vous pouvez éditer, déboguer et contrôler les CSS, le code HTML et JavaScript de n'importe quelle page Web en direct…\n\nSur le site de Firebug vous trouverez de la documentation, des captures d'écran et des forums de discussion : https://getfirebug.com 3 | firebug.amo.developer.comments=Si vous rencontrez des problèmes, veuillez lire la FAQ Firebug.\n\nhttps://getfirebug.com/faq 4 | -------------------------------------------------------------------------------- /extension/locale/fr/selectors.properties: -------------------------------------------------------------------------------- 1 | Panel-selectors=Sélecteurs 2 | panel.tip.selectors=Affiche les éléments correspondant à un sélecteur CSS 3 | css.selector.tip.Selector=Sélecteur 4 | css.selector.noSelection=Indiquez un sélecteur personnalisé ou cliquez droit sur une règle CSS et choisissez Obtenir les éléments correspondant. 5 | css.selector.noSelectionResults=Aucun élément correspondant 6 | css.selector.readMore=Vous pouvez en apprendre davantage sur l'utilisation de ce panneau. 7 | css.selector.invalidSelector=Sélecteur invalide saisi 8 | css.selector.TryASelector=Essayer un sélecteur… 9 | css.selector.cmd.getMatchingElements=Obtenir les éléments correspondant 10 | aria.labels.Selectors=Panneau latéral des sélecteurs 11 | a11y.labels.press_enter_to_add_new_selector=Appuyez sur Entrée pour ajouter un nouveau sélecteur 12 | -------------------------------------------------------------------------------- /extension/locale/zh-CN/firebug-amo.properties: -------------------------------------------------------------------------------- 1 | # LOCALIZATION NOTE (firebug.amo.summary, firebug.amo.description, firebug.amo.developer.comments): 2 | # These texts are used on Mozilla Add-on site: https://addons.mozilla.org/en-US/firefox/addon/1843 3 | # They are not direct part of Firebug extension and so, you can't see them in Firebug's UI. 4 | # Note that firebug.amo.summary must not exceed 250 characters (limitation by AMO site) 5 | firebug.amo.summary1.6=Firebug 为你的 Firefox 集成了浏览网页的同时随手可得的丰富开发工具。你可以对任何网页的 CSS、HTML 和 JavaScript 进行实时编辑、调试和监控…\n\nFirebug 1.6 仅支持 Firefox 3.6 或更高版本。 6 | firebug.amo.description=Firebug 为你的 Firefox 集成了浏览网页的同时随手可得的丰富开发工具。你可以对任何网页的 CSS、HTML 和 JavaScript 进行实时编辑、调试和监控。\n\n访问 Firebug 网站来查看文档、截屏以及讨论组(英语):https://getfirebug.com 7 | firebug.amo.developer.comments=如果你有任何问题,请阅读 Firebug FAQ(英语)。\n\nhttps://getfirebug.com/faq.html 8 | -------------------------------------------------------------------------------- /tests/content/console/api/clear.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "console/api/clear.html", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | FBTest.enableConsolePanel(function(win) 8 | { 9 | var config = {tagName: "div", classes: "logRow logRow-log"}; 10 | FBTest.waitForDisplayedElement("console", config, function(row) 11 | { 12 | var expected = /This is a test log\s*/; 13 | FBTest.compare(expected, row.textContent, "The proper message must be displayed."); 14 | FBTest.testDone(); 15 | }); 16 | 17 | FBTest.click(win.document.getElementById("testButton")); 18 | }); 19 | }); 20 | }); 21 | } 22 | -------------------------------------------------------------------------------- /extension/content/firebug/firebugui/panel.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | Firebug 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/content/console/3663/issue3663.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "console/3663/issue3663.html", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | FBTest.enableConsolePanel(function() 8 | { 9 | var config = {tagName: "span", classes: "objectBox-array"}; 10 | FBTest.waitForDisplayedElement("console", config, function(row) 11 | { 12 | var expected = /\s*\[\"a1\"\,\s*\[\.\.\.\]\,\s*\"b1\"\]\s*/; 13 | FBTest.compare(expected, row.textContent, "The log must match"); 14 | FBTest.testDone(); 15 | }); 16 | 17 | FBTest.click(win.document.getElementById("testButton")); 18 | }); 19 | }); 20 | }); 21 | } 22 | -------------------------------------------------------------------------------- /tests/content/console/6104/issue6104.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "console/6104/issue6104.html", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | FBTest.enableConsolePanel(function(win) 8 | { 9 | var config = {tagName: "span", classes: "objectBox-array"}; 10 | FBTest.waitForDisplayedElement("console", config, function(row) 11 | { 12 | var expected = /DOMTokenList\[\"test1\"\, \"test2\"\]/; 13 | FBTest.compare(expected, row.textContent, "The log must match"); 14 | 15 | FBTest.testDone(); 16 | }); 17 | 18 | FBTest.executeCommand("$('#testdiv').classList"); 19 | }); 20 | }); 21 | }); 22 | } 23 | -------------------------------------------------------------------------------- /tests/content/console/consoleOnOtherPanels.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | Console On Other panels 6 | 7 | 8 | 9 |

Test for: Console On Other panels

10 | Jan Odvarko, odvarko@gmail.com 11 |
    12 |
  • Open Firebug UI and enable the Console panel.
  • 13 |
  • Switch to the HTML panel.
  • 14 |
  • Click Show Command Line button.
  • 15 |
  • Switch to the Console panel and disable it.
  • 16 |
  • Switch to the HTML panel.
  • 17 |
  • The command line must be hidden.
  • 18 |
19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /tests/content/examples/exampleScript2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Example Test Case: Script Panel, how to set a breakpoint 5 | 6 | 7 | 8 | 9 |

Script Panel, how to set a breakpoint

10 | 11 |
    12 |
  1. Open Firebug and enable the Script panel.
  2. 13 |
  3. Create a breakpoint on line 23
  4. 14 |
  5. Click on the Execute Test button below.
  6. 15 |
  7. Firebug should halt in debugger.
  8. 16 |
17 | 18 | 19 | 20 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /tests/content/lib/css/rgbToHex.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | // Valid values 4 | verifyResult("#000000", "rgb(0, 0, 0)"); 5 | verifyResult("#000000", "rgb(0,0,0)"); 6 | verifyResult("#ffffff", "rgb(255, 255, 255)"); 7 | verifyResult("rgba(255, 255, 255, 0)", "rgba(255, 255, 255, 0)"); 8 | verifyResult("#008000", "green"); 9 | verifyResult("#8b0000", "darkred"); 10 | verifyResult("#6495ed", "CornflowerBlue"); 11 | verifyResult("rgba(0, 0, 0, 0)", "transparent"); 12 | 13 | // Invalid values 14 | verifyResult("notanrgbcolor", "notanrgbcolor"); 15 | 16 | FBTest.testDone(); 17 | } 18 | 19 | function verifyResult(expected, color) 20 | { 21 | var result = FW.FBL.rgbToHex(color); 22 | FBTest.compare(expected, result, 23 | "RGB color must be correctly converted to hexadecimal format"); 24 | } -------------------------------------------------------------------------------- /tests/content/commandLine/3703/issue3703.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "commandLine/3703/issue3703.html", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | FBTest.enableConsolePanel(function(win) 8 | { 9 | var config = {tagName: "a", classes: "objectLink objectLink-element"}; 10 | FBTest.waitForDisplayedElement("console", config, function(row) 11 | { 12 | FBTest.compare(/
  • /, row.textContent, "The result must be one 'li' element"); 13 | FBTest.testDone(); 14 | }); 15 | 16 | FBTest.clickToolbarButton(null, "fbConsoleClear"); 17 | FBTest.executeCommand("$$('li')[1]"); 18 | }); 19 | }); 20 | }); 21 | } 22 | -------------------------------------------------------------------------------- /tests/content/search/6454/issue6454-iframe.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Issue 6454: Create FBTest that covers HTML panel search - iframe 5 | 6 | 22 | 23 | 24 | Testing 25 | 26 | 27 | -------------------------------------------------------------------------------- /tests/content/console/3078/issue3078.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Case for Issue #3078 5 | 6 | 10 | 11 | 12 | 13 |

    Issue #3078

    14 | 15 |

    This test-case is intended for Issue #3078 16 | - Console does scroll to the bottom for log entries in the head section. 17 |
    18 | Jan Odvarko, odvarko@gmail.com 19 |

    20 | 21 |
      22 |
    1. Open Firebug and enable the Console panel.
    2. 23 |
    3. Console panel should be scrolled at the bottom.
    4. 24 |
    25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /tests/content/script/3309/issue3309.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Case for Issue #3309 5 | 6 | 7 | 8 | 9 |

    Issue #3309

    10 | 11 |

    This test-case is intended for Issue #3309 12 | - Wrong panel message in Script Panel, if page doesn't contain JavaScript. 13 |
    14 | Jan Odvarko, odvarko@gmail.com 15 |

    16 | 17 |
      18 |
    1. Open Firebug and enable the Script panel.
    2. 19 |
    3. Since there is no JavaScript on this paget the Script panel should say:
      20 | No Javascript on this page
    4. 21 |
    22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /extension/locale/es-AR/firebug-amo.properties: -------------------------------------------------------------------------------- 1 | firebug.amo.summary1.6=Firebug se integra con Firefox para poner valiosas herramientas de desarrollo en la punta de sus dedos mientras navega. Puede editar, depurar y monitorear código CSS, HTML y JavaScript en tiempo real en cualquier página de internet...\n\nFirebug 1.6 requiere Firefox 3.6 o superior. 2 | firebug.amo.description=Firebug se integra con Firefox para poner valiosas herramientas de desarrollo en la punta de sus dedos mientras navega. Puede editar, depurar y monitorear código CSS, HTML y JavaScript en tiempo real, en cualquier página de internet.\n\nVisite el sitio de Firebug para ver documentación técnica, capturas de pantalla y sus foros de discusión: https://getfirebug.com 3 | firebug.amo.developer.comments=Si encuentra algún problema, lea las Preguntas Frecuentes de FireBug.\n\nhttps://getfirebug.com/faq 4 | -------------------------------------------------------------------------------- /tests/content/inspector/InspectorTestIframe.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | This iframe is used to ensure that the window is a fixed size 4 | 5 | 14 | 15 | 16 |

    This iframe is used to ensure that the window is a fixed size

    17 | 18 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /tests/content/bti/browsercontext/getBrowser.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Test for BrowserContext#getBrowser() 4 | * 5 | * A browser context should point back to its browser 6 | */ 7 | 8 | function runTest() 9 | { 10 | var browser = new FW.Firebug.BTI.Browser(); // TODO 11 | var url = FBTest.getHTTPURLBase()+"bti/browsercontext/testScripts.html"; 12 | browser.addEventListener("onContextCreated", function(context) 13 | { 14 | FBTest.compare(context.getURL(), url, "URL of newly created context should be " +url); 15 | FBTest.ok(context.getBrowser() == browser, "Context should refer to its browser"); 16 | FBTest.testDone(); 17 | }); 18 | FBTest.progress("getBrowser, open test page "+url); 19 | FBTest.openNewTab(url, function(win) 20 | { 21 | FBTest.progress("getBrowser, new tab opened "+url); 22 | }); 23 | } 24 | -------------------------------------------------------------------------------- /tests/content/cookies/general/breakOnNext.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "cookies/general/breakOnNext.php", function(win) 4 | { 5 | FBTest.enablePanels(["cookies", "script"], function(win) 6 | { 7 | FBTest.progress("cookies panel enabled"); 8 | 9 | var chrome = FW.Firebug.chrome; 10 | FBTest.clickBreakOnNextButton(chrome, function() 11 | { 12 | FBTest.progress("break on next clicked"); 13 | 14 | FBTest.waitForBreakInDebugger(chrome, 94, false, function() 15 | { 16 | FBTest.clickContinueButton(chrome); 17 | FBTest.testDone(); 18 | }); 19 | }); 20 | 21 | FBTest.clickContentButton(win, "changeCookie"); 22 | }); 23 | }); 24 | }; 25 | -------------------------------------------------------------------------------- /tests/content/examples/exampleNet1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Example Test Case: Net Panel 5 | 6 | 7 | 8 | 9 |

    Net Panel

    10 | 11 |
      12 |
    1. Open Firebug and enable the Net panel.
    2. 13 |
    3. Click on the Execute Test button below.
    4. 14 |
    5. A new request must be displayed within the panel.
    6. 15 |
    16 | 17 | 18 | 19 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /tests/content/net/6817/issue6817-iframe.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Insert title here 6 | 7 | 17 | 18 | 19 |
    20 | 21 | 22 | 23 |
    24 | 25 | -------------------------------------------------------------------------------- /tests/content/console/2694/issue2694.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Case for Issue #2694 5 | 6 | 7 | 8 | 9 |

    Issue #2694

    10 | 11 |

    This test-case is intended for Issue #2694 12 | - Console output does not scroll to position on 1.6a2. 13 |
    14 | Jan Odvarko, odvarko@gmail.com 15 |

    16 | 17 |
      18 |
    1. Open Firebug, enable & select the Console panel.
    2. 19 |
    3. Enter anything (like '1+2') into the console several times, enough to 20 | overflow the console space.
    4. 21 |
    5. The Console panel scroll position must be at the bottom.
    6. 22 |
    23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /tests/content/html/4669/issue4669.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "html/4669/issue4669.xml", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | var panel = FBTest.selectPanel("html"); 8 | FBTest.selectElementInHtmlPanel(win.document.documentElement, function(node) 9 | { 10 | // Press '*' twice and verify, that all tags are expanded afterwards 11 | FBTest.sendChar("*", panel.panelNode); 12 | FBTest.sendChar("*", panel.panelNode); 13 | var notExpandedNodes = panel.panelNode.querySelectorAll(".containerNodeBox:not(.open)"); 14 | FBTest.ok(notExpandedNodes.length == 0, "All nodes must be expanded"); 15 | 16 | FBTest.testDone(); 17 | }); 18 | }); 19 | }); 20 | } -------------------------------------------------------------------------------- /tests/content/script/3716/issue3716.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "script/3716/issue3716.html", function(win) 4 | { 5 | FBTest.enableScriptPanel(function(win) 6 | { 7 | FW.Firebug.chrome.selectPanel("script"); 8 | 9 | // Wait for breakpoint hit, the breakpoint is set below. 10 | FBTest.waitForBreakInDebugger(null, 11, true, function() 11 | { 12 | FBTest.clickContinueButton(); 13 | FBTest.testDone(); 14 | }); 15 | 16 | // Set a breakpoint and reload the page to trigger it. 17 | FBTest.setBreakpoint(null, "issue3716.html", 11, function() 18 | { 19 | FBTest.progress("breakpoint set"); 20 | FBTest.reload(); 21 | }) 22 | }); 23 | }); 24 | } 25 | -------------------------------------------------------------------------------- /tests/content/script/4573/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
    7 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /tests/content/shortcuts/inspector.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Case for Inspector shortcuts 5 | 6 | 7 | 8 |

    Test Case for Inspector shortcuts

    9 | 10 |

    This test-case is intended for Inspector shortcuts: Ctrl+Shift+C. 11 |
    12 | Jan Odvarko, odvarko@gmail.com 13 |

    14 | 15 |
      16 |
    1. Launch Firefox and make sure Firebug is deactivated for the current page.
    2. 17 |
    3. Press Ctrl+Shift+C.
    4. 18 |
    5. Firebug UI should be opened+activated and the Inspector activated (in inspecting mode).
    6. 19 |
    7. Press Ctrl+Shift+C again.
    8. 20 |
    9. Firebug UI should be still opened+activated and the Inspector deactivated.
    10. 21 |
    22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /tests/templates/automated/issueXXXX.js: -------------------------------------------------------------------------------- 1 | /* 2 | 1. Replace "XXXX" by number of your issue 3 | 2. Replace "category" by the folder name you put your test case to 4 | 3. Replace "mainPanel" by main panel name 5 | 4. Replace "doSomething" by first step after selecting the main panel 6 | 5. Add the functionality and tests as described in the steps of the HTML file 7 | 6. Remove all template comments 8 | */ 9 | function runTest() 10 | { 11 | FBTest.openNewTab(basePath + "category/XXXX/issueXXXX.html", (win) => 12 | { 13 | FBTest.openFirebug(() => 14 | { 15 | FBTest.selectPanel("mainPanel"); 16 | 17 | FBTest.doSomething(() => 18 | { 19 | // Test functionality must be placed here 20 | 21 | FBTest.testDone(); 22 | }); 23 | }); 24 | }); 25 | } 26 | -------------------------------------------------------------------------------- /tests/content/console/completion/3466/issue3466.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Case for Issue #3466 5 | 6 | 7 | 8 | 9 |

    Issue #3466

    10 | 11 |

    This test-case is intended for Issue #3466 12 | - Can not use dir() command in console's command line. 13 |
    14 | Jan Odvarko, odvarko@gmail.com 15 |

    16 | 17 |
      18 |
    1. Open Firebug and enable the Console panel.
    2. 19 |
    3. Type dir( into the command line.
    4. 20 |
    5. The text should not be auto-completed to directories(.
    6. 21 |
    22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /tests/content/domplate/issue4425.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Issue 4425: Better support for Domplate templates inheritance 5 | 6 | 7 | 8 | 9 |
    10 |

    Issue 4425: 11 | Better support for Domplate templates inheritance

    12 |
    13 |
    14 |
    15 |

    Steps to reproduce

    16 |
      17 |
    1. Step 1
    2. 18 |
    3. Step 2
    4. 19 |
    5. Step 3
    6. 20 |
    21 |
    22 |
    23 | Jan Odvarko, odvarko@gmail.com; 24 |
    25 |
    26 | 27 | -------------------------------------------------------------------------------- /tests/content/html/4837/issue4837.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "html/4837/issue4837.html", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | FBTest.selectPanel("html"); 8 | FBTest.selectElementInHtmlPanel("element", function(node) 9 | { 10 | FBTest.waitForHtmlMutation(null, "div", function(node) 11 | { 12 | var nodeText = node.getElementsByClassName("nodeText").item(0); 13 | FBTest.compare("Hello Firebug user!", nodeText && nodeText.textContent, "The element's content should be changed."); 14 | 15 | FBTest.testDone(); 16 | }); 17 | 18 | FBTest.click(win.document.getElementById("sayHello")); 19 | }); 20 | }); 21 | }); 22 | } 23 | -------------------------------------------------------------------------------- /tests/FBTest/content/testException.js: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | define([ 4 | "firebug/lib/trace", 5 | ], 6 | function(FBTrace) { 7 | 8 | // ********************************************************************************************* // 9 | // Constants 10 | 11 | FBTestApp.TestException = function(win, msg, err) 12 | { 13 | var msg = msg + " " + err + " " + err.fileName + " (" + err.lineNumber + ")"; 14 | FBTestApp.TestResult.call(this, win, false, msg); 15 | 16 | this.err = err; 17 | this.expected = null; 18 | this.result = null; 19 | }; 20 | 21 | // ********************************************************************************************* // 22 | // Registration 23 | 24 | return FBTestApp.TestException; 25 | 26 | // ********************************************************************************************* // 27 | }); 28 | -------------------------------------------------------------------------------- /tests/content/console/completion/3394/issue3394.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "console/completion/3394/issue3394.html", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | FBTest.enableConsolePanel(function(win) 8 | { 9 | var panel = FW.Firebug.chrome.selectPanel("console"); 10 | 11 | FBTest.clearAndTypeCommand("loc"); 12 | FBTest.synthesizeKey("VK_TAB", null, win); 13 | 14 | var doc = FW.Firebug.chrome.window.document; 15 | var cmdLine = doc.getElementById("fbCommandLine"); 16 | FBTest.compare(/^location/, cmdLine.value, 17 | "The autocomplete must produce: /^location/"); 18 | 19 | FBTest.testDone(); 20 | }); 21 | }); 22 | }); 23 | } 24 | -------------------------------------------------------------------------------- /tests/content/script/3716/issue3716.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Case for Issue #3716 5 | 6 | 7 | 8 | 15 | 16 |

    Issue #3716

    17 | 18 |

    This test-case is intended for Issue #3716 19 | - Breakpoint in window.onload doesn't trigger. 20 |
    21 | Jan Odvarko, odvarko@gmail.com 22 |

    23 | 24 |
      25 |
    1. Open Firebug and enable the Script panel.
    2. 26 |
    3. Refresh this page
    4. 27 |
    5. Create breakpoint on line 11
    6. 28 |
    7. The debugger should hit on line 11
    8. 29 |
    30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /tests/content/script/callstack/4415/issue4415.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "script/callstack/4415/issue4415.html", function(win) 4 | { 5 | FBTest.enableScriptPanel(function(win) 6 | { 7 | var stackPanel = FBTest.selectSidePanel("callstack"); 8 | 9 | FBTest.waitForBreakInDebugger(FW.Firebug.chrome, 19, false, function(row) 10 | { 11 | var panelNode = stackPanel.panelNode; 12 | 13 | var frames = panelNode.querySelectorAll(".objectBox-stackFrame"); 14 | FBTest.compare(4, frames.length, "There must be four frames"); 15 | 16 | FBTest.clickContinueButton(); 17 | FBTest.testDone(); 18 | }); 19 | 20 | FBTest.click(win.document.getElementById("testButton")); 21 | }); 22 | }); 23 | } 24 | -------------------------------------------------------------------------------- /trace/FBTrace/chrome/content/trace.js: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | define([ 4 | ], 5 | function() { 6 | 7 | // ********************************************************************************************* // 8 | // Implementation 9 | 10 | var FBTrace = {}; 11 | 12 | try 13 | { 14 | var scope = {}; 15 | Components.utils["import"]("resource://fbtrace/firebug-trace-service.js", scope); 16 | FBTrace = scope.traceConsoleService.getTracer("extensions.firebug"); 17 | 18 | FBTrace.time("SCRIPTTAG_TIME"); 19 | } 20 | catch (err) 21 | { 22 | dump("FBTrace; " + err); 23 | } 24 | 25 | // ********************************************************************************************* // 26 | // Registration 27 | 28 | return FBTrace; 29 | 30 | // ********************************************************************************************* // 31 | }); 32 | -------------------------------------------------------------------------------- /extension/content/firebug/firebugui/codemirror-showhint.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-hints { 2 | position: absolute; 3 | z-index: 10; 4 | overflow: hidden; 5 | list-style: none; 6 | 7 | margin: 0; 8 | padding: 2px; 9 | 10 | -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2); 11 | -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2); 12 | box-shadow: 2px 3px 5px rgba(0,0,0,.2); 13 | border-radius: 3px; 14 | border: 1px solid silver; 15 | 16 | background: white; 17 | font-size: 90%; 18 | font-family: monospace; 19 | 20 | max-height: 20em; 21 | overflow-y: auto; 22 | } 23 | 24 | .CodeMirror-hint { 25 | margin: 0; 26 | padding: 0 4px; 27 | border-radius: 2px; 28 | max-width: 19em; 29 | overflow: hidden; 30 | white-space: pre; 31 | color: black; 32 | cursor: pointer; 33 | } 34 | 35 | .CodeMirror-hint-active { 36 | background: #08f; 37 | color: white; 38 | } 39 | -------------------------------------------------------------------------------- /tests/content/bti/browser/onScriptEmbedded.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Test event listener call back for #onScript for a script embedded 4 | * in HTML. 5 | * 6 | * When a page is loaded with embedded JavaScript in HTML a script load call back 7 | * should be generated. 8 | */ 9 | 10 | function runTest() 11 | { 12 | var browser = new FW.Firebug.BTI.Browser(); // TODO 13 | var url = FBTest.getHTTPURLBase()+"bti/browser/testGetContexts.html"; 14 | browser.addEventListener("onScript", function(compilationUnit) 15 | { 16 | FBTest.compare(compilationUnit.getURL(), url, "URL of newly loaded script should be " + url); 17 | FBTest.testDone(); 18 | }); 19 | FBTest.progress("onScriptEmbedded, open test page "+url); 20 | FBTest.openNewTab(url, function(win) 21 | { 22 | FBTest.progress("onScriptEmbedded, new tab opened "+url); 23 | }); 24 | } 25 | -------------------------------------------------------------------------------- /tests/content/console/breakOnError/breakOnError2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Case for breakOnError 5 | 6 | 7 | 8 | 9 |

    Break On Error

    10 | 11 |

    This test-case is intended for testing breakOnError feature 12 |
    13 | Jan Odvarko, odvarko@gmail.com 14 |

    15 | 16 |
      17 |
    1. Open Firebug and enable the Console and the Script panels
    2. 18 |
    3. Press this button
    4. 19 |
    5. Switch to the Console panel and create a breakpoint for the log
    6. 20 |
    7. Press the button above again
    8. 21 |
    9. Firebug should switch to the Script panel and halt in the debugger
    10. 22 |
    23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /tests/content/firebug/selectedPanelAfterReopen.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 1) Open a new tab and Firebug on it. 3 | * 2) Select Net panel 4 | * 3) Reopen Firebug 5 | * 4) Verify that the Net panel is still selected (BUG). 6 | */ 7 | function runTest() 8 | { 9 | FBTest.openNewTab(basePath + "firebug/OpenFirebugOnThisPage.html", function(win) 10 | { 11 | FBTest.openFirebug(function() 12 | { 13 | FBTest.selectPanelTab(FW.FBL.$STR("Panel-net")); 14 | FBTest.closeFirebug(); 15 | FBTest.openFirebug(function() 16 | { 17 | var tab = FBTest.getSelectedPanelTab(); 18 | var label = tab.getAttribute("label"); 19 | FBTest.compare(FW.FBL.$STR("Panel-net"), label, "Net panel must be selected now"); 20 | FBTest.testDone(); 21 | }); 22 | }); 23 | }); 24 | } 25 | -------------------------------------------------------------------------------- /tests/content/commandLine/3703/issue3703.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Test Case for Issue #3703 6 | 7 | 8 | 9 |

    Issue #3703

    10 | 11 |

    This test-case is intended for Issue #3703 12 | - Single node can't be accessed from an array returned by $$. 13 |
    14 | Jan Odvarko, odvarko@gmail.com 15 |

    16 | 17 |
      18 |
    1. Open Firebug and enable the Console panel.
    2. 19 |
    3. Type following in to the command line: $$("li")[1];
    4. 20 |
    5. Press Enter
    6. 21 |
    7. The result should be: 22 |
      23 | >>> $$("li")[1];
      24 | <li>
      25 | 
      26 |
    8. 27 |
    28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /tests/content/console/6116/issue6116.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "console/6116/issue6116.html", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | FBTest.enableConsolePanel(function(win) 8 | { 9 | var config = {tagName: "div", classes: "logRow-log"}; 10 | FBTest.waitForDisplayedElement("console", config, function(row) 11 | { 12 | var expected = "\"foo\"undefined\"bar\""; 13 | FBTest.compare(expected, row.textContent, "The log must match: " + 14 | row.textContent); 15 | 16 | FBTest.testDone(); 17 | }); 18 | 19 | FBTest.executeCommand("console.log('%o%o%o', 'foo', undefined, 'bar')"); 20 | }); 21 | }); 22 | }); 23 | } 24 | -------------------------------------------------------------------------------- /tests/content/console/completion/3394/issue3394.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Case for Issue #3394 5 | 6 | 7 | 8 | 9 |

    Issue #3394

    10 | 11 |

    This test-case is intended for Issue #3394 12 | - TAB Key does not finish an autocomplete keyword in Gnome (Ubuntu). 13 |
    14 | Jan Odvarko, odvarko@gmail.com 15 |

    16 | 17 |
      18 |
    1. Open Firebug and enable the Console panel.
    2. 19 |
    3. Type loc into the command line and hit tab key.
    4. 20 |
    5. The text should be auto-completed to locationbar.
    6. 21 |
    22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /tests/content/firebug/activeContextAfterReload.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 1) Open a new tab and Firebug on it. 3 | * 2) Select e.g. Net panel 4 | * 3) Reload the page. 5 | * 4) Verify that the context associated with the page exists and is active. 6 | */ 7 | function runTest() 8 | { 9 | FBTest.openNewTab(basePath + "firebug/OpenFirebugOnThisPage.html", function(win) 10 | { 11 | FBTest.openFirebug(function() 12 | { 13 | FBTest.enableNetPanel(); 14 | 15 | FBTest.reload(function() 16 | { 17 | FBTest.progress("reloaded"); 18 | FBTest.ok(FW.Firebug.currentContext, "The current context must not be null"); 19 | FBTest.ok(FW.Firebug.currentContext.browser.showFirebug, "The browser should have showFirebug set") 20 | FBTest.testDone(); 21 | }); 22 | }); 23 | }); 24 | } 25 | -------------------------------------------------------------------------------- /extension/locale/bg/selectors.properties: -------------------------------------------------------------------------------- 1 | # 2 | # 3 | Panel-selectors=Селектори 4 | # 5 | # 6 | panel.tip.selectors=Показва елементите съответстващи на селектор за CSS 7 | # 8 | # 9 | css.selector.tip.Selector=Селектор 10 | # 11 | # 12 | css.selector.noSelection=Въведете селектор или изберете правило за CSS и изберете с десния бутон на мишката „Съвпадащи елементи“. 13 | # 14 | # 15 | css.selector.noSelectionResults=Никой елемент не съответства 16 | # 17 | # 18 | css.selector.readMore=Можете да научите как да използвате панела 19 | # 20 | css.selector.invalidSelector=Неправилен селектор 21 | # 22 | # 23 | css.selector.TryASelector=Въведете селектор… 24 | # 25 | # 26 | # 27 | css.selector.cmd.getMatchingElements=Съвпадащи елементи 28 | aria.labels.Selectors=Страничен панел за селектори 29 | a11y.labels.press_enter_to_add_new_selector=Натиснете клавиша „Enter“, за да въведете нов селектор 30 | -------------------------------------------------------------------------------- /tests/content/commandLine/api/dir.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Case for command line 5 | 6 | 7 | 8 | 9 |

    Command Line API: dir

    10 | 11 |

    This test-case is intended for dir method. 12 |
    13 | Jan Odvarko, odvarko@gmail.com 14 |

    15 | 16 |
      17 |
    1. Open Firebug and enable the Console panel.
    2. 18 |
    3. Execute the following expression in the command line:
      19 | dir({'a': {'b': {'c': 1}}});
    4. 20 |
    5. the console panel should display a log (one row) with variable a and value Object { b={...} }.
    6. 21 |
    7. Expand the object a, expand the object b, collapse b and collapse a. All should work as expected.
    8. 22 |
    23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /tests/content/console/api/log.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "console/api/log.html", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | FBTest.enableConsolePanel(function(win) 8 | { 9 | var config = {tagName: "div", classes: "logRow logRow-log"}; 10 | FBTest.waitForDisplayedElement("console", config, function(row) 11 | { 12 | var expected = /This is a test log\s*/; 13 | FBTest.compare(expected, row.textContent, "The proper message must be displayed."); 14 | FBTest.testDone(); 15 | }); 16 | 17 | // Execute test implemented on the test page. 18 | FBTest.click(win.document.getElementById("testButton")); 19 | }); 20 | }); 21 | }); 22 | } 23 | -------------------------------------------------------------------------------- /tests/content/console/completion/3466/issue3466.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.setPref("commandLineShowCompleterPopup", true); 4 | FBTest.openNewTab(basePath + "console/completion/3466/issue3466.html", function(win) 5 | { 6 | FBTest.openFirebug(function() 7 | { 8 | FBTest.enableConsolePanel(function(win) 9 | { 10 | var panel = FW.Firebug.chrome.selectPanel("console"); 11 | 12 | FBTest.clearAndTypeCommand("dir("); 13 | 14 | var doc = FW.Firebug.chrome.window.document; 15 | var cmdLine = doc.getElementById("fbCommandLine"); 16 | FBTest.compare("dir(", cmdLine.value, 17 | "Expected value must be in the command line now: " + cmdLine.value); 18 | 19 | FBTest.testDone(); 20 | }); 21 | }); 22 | }); 23 | } 24 | -------------------------------------------------------------------------------- /tests/content/commandLine/4209/issue4209.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.openNewTab(basePath + "commandLine/4209/issue4209.html", function(win) 4 | { 5 | FBTest.openFirebug(function() 6 | { 7 | FBTest.enableConsolePanel(function(win) 8 | { 9 | var config = {tagName: "a", classes: "objectLink objectLink-object"}; 10 | FBTest.waitForDisplayedElement("console", config, function(row) 11 | { 12 | FBTest.compare(/Object\s*{\s*obj={...}}/, row.textContent, 13 | "The result must match"); 14 | 15 | FBTest.testDone(); 16 | }); 17 | 18 | FBTest.clickToolbarButton(null, "fbConsoleClear"); 19 | FBTest.executeCommand("var a = {obj: {prop: 1}}; a;"); 20 | }); 21 | }); 22 | }); 23 | } 24 | -------------------------------------------------------------------------------- /tests/FBTest/content/api/computedPanel.js: -------------------------------------------------------------------------------- 1 | /* See license.txt for terms of usage */ 2 | 3 | /** 4 | * This file defines Computed panel APIs for test drivers. 5 | */ 6 | 7 | (function() { 8 | 9 | // ********************************************************************************************* // 10 | // Computed panel API 11 | 12 | this.getComputedProperty = function(name) 13 | { 14 | var panel = FBTest.selectPanel("computed"); 15 | var stylePropNames = panel.panelNode.getElementsByClassName("stylePropName"); 16 | 17 | for (var i = 0; i < stylePropNames.length; i++) 18 | { 19 | if (stylePropNames[i].textContent === name) 20 | return FW.FBL.getAncestorByClass(stylePropNames[i], "computedStyle"); 21 | } 22 | 23 | return null; 24 | }; 25 | 26 | // ********************************************************************************************* // 27 | }).apply(FBTest); 28 | -------------------------------------------------------------------------------- /tests/FBTest/content/userMessage.xul: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 16 | 17 | 18 | 19 | 22 | -------------------------------------------------------------------------------- /tests/content/commandLine/4209/issue4209.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Test Case for Issue #4209 6 | 7 | 8 | 9 |

    Issue #4209

    10 | 11 |

    This test-case is intended for Issue #4209 12 | - Object being listed as String. 13 |
    14 | Jan Odvarko, odvarko@gmail.com 15 |

    16 | 17 |
      18 |
    1. Open Firebug and enable the Console panel.
    2. 19 |
    3. Type following in to the command line: var a = {obj: {prop: 1}}; a;
    4. 20 |
    5. Press Enter
    6. 21 |
    7. The result should be: 22 |
      23 | >>> var a = {obj: {prop: 1}}; a;
      24 | Object { obj={...}}
      25 | 
      26 |
    8. 27 |
    28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /tests/content/console/panelContentAfterReopen.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 |

    Test for: Preserve content after Firebug UI reopen.

    9 |
      10 |
    • Open Firebug UI and enable Console panel.
    • 11 |
    • Click on the button below to create a simple log.
    • 12 |
    • Close and open Firebug UI by clicking on the status bar icon.
    • 13 |
    • Verify that the log is still within the Console panel.
    • 14 |
    15 | 16 | 17 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /tests/content/console/872/issue872-iframe.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | iframe of issue 872 5 | 24 | 27 | 28 | 29 | iframe with error 30 | 31 | -------------------------------------------------------------------------------- /tests/content/cookies/44/issue44.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.setPref("cookies.filterByPath", false); 4 | 5 | FBTest.openNewTab(basePath + "cookies/44/issue44.php", function(win) 6 | { 7 | FBTest.enableCookiesPanel(function(win) 8 | { 9 | var panelNode = FBTest.selectPanel("cookies").panelNode; 10 | 11 | // Verify JSON tab content 12 | FBTest.verifyInfoTabContent(panelNode, "TestCookie44-JSON", "Json", 13 | /personObject\s*{\s*firstName=\"Jan\",\s*secondName=\"Honza\",\s*lastName=\"Odvarko\"}/); 14 | 15 | // Verify XML tab content 16 | FBTest.verifyInfoTabContent(panelNode, "TestCookie44-XML", "Xml", 17 | "JanHonzaOdvarko"); 18 | 19 | FBTest.testDone(); 20 | }); 21 | }); 22 | }; 23 | -------------------------------------------------------------------------------- /tests/content/cookies/54/issue54.js: -------------------------------------------------------------------------------- 1 | function runTest() 2 | { 3 | FBTest.setPref("cookies.filterByPath", false); 4 | 5 | FBTest.openNewTab(basePath + "cookies/54/issue54.php", function(win) 6 | { 7 | FBTest.enableCookiesPanel(function(win) 8 | { 9 | var panelNode = FBTest.selectPanel("cookies").panelNode; 10 | 11 | var cookie = FBTest.getCookieByName(panelNode, "TestCookie54"); 12 | 13 | // Open Modal edit cookie dialog. 14 | FBTest.editCookie(cookie, function(dialog) { 15 | dialog.EditCookie.onOK(); 16 | }); 17 | 18 | // Verify JSON tab content 19 | FBTest.verifyInfoTabContent(panelNode, "TestCookie54", "Value", "-!-"); 20 | FBTest.verifyInfoTabContent(panelNode, "TestCookie54", "RawValue", "-%21-"); 21 | 22 | FBTest.testDone(); 23 | }); 24 | }); 25 | }; 26 | -------------------------------------------------------------------------------- /trace/FBTrace/chrome.manifest: -------------------------------------------------------------------------------- 1 | content fbtrace chrome/content/ 2 | 3 | overlay chrome://browser/content/browser.xul chrome://fbtrace/content/traceFirebugOverlay.xul 4 | overlay chrome://firebug/content/firebugOverlay.xul chrome://fbtrace/content/traceFirebugOverlay.xul 5 | 6 | resource fbtrace modules/ 7 | 8 | skin fbtrace classic/1.0 chrome/skin/classic/ 9 | skin fbtrace-os classic/1.0 chrome/skin/classic/win/ 10 | skin fbtrace-os classic/1.0 chrome/skin/classic/mac/ os=Darwin 11 | 12 | locale fbtrace en-US chrome/locale/en-US/ 13 | locale fbtrace de chrome/locale/de/ 14 | 15 | component {FBDD01C3-6D09-494c-B086-C5D56F346658} components/commandLine.js 16 | contract @mozilla.org/commandlinehandler/general-startup;1?type=FBTrace {FBDD01C3-6D09-494c-B086-C5D56F346658} 17 | category command-line-handler _firebugtracing @mozilla.org/commandlinehandler/general-startup;1?type=FBTrace 18 | -------------------------------------------------------------------------------- /tests/content/bti/browser/getContext.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Test for Browser#getBrowserContext(id) 4 | * 5 | * A browser context can be retrieved via its identifier. 6 | */ 7 | 8 | function runTest() 9 | { 10 | var browser = new FW.Firebug.BTI.Browser(); // TODO 11 | var url = FBTest.getHTTPURLBase()+"bti/browser/testGetContexts.html"; 12 | FBTest.progress("getContext(id), open test page "+url); 13 | FBTest.openNewTab(url, function(win) 14 | { 15 | var contexts = browser.getBrowserContexts(); 16 | FBTest.ok(contexts.length > 0, "Should be at least one context"); 17 | for ( var i = 0; i < contexts.length; i++) 18 | { 19 | var context = contexts[i]; 20 | var candidate = browser.getContext(context.getId()); 21 | FBTest.ok(candidate == context, "Contexts should be identical"); 22 | } 23 | FBTest.testDone(); 24 | }); 25 | } 26 | --------------------------------------------------------------------------------