├── 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 |
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 | 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 | This page is designed for automated search test.
10 | As this page loads it runs diagnostics/main.js using the require.js in a subdirectory:
11 |
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 |
Execute Request
10 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/tests/content/net/activation/activation2.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
8 |
Activation Test 2
9 |
Execute Request
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 | Open Firebug, Console panel
14 | Reload the page
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 |
Execute Test
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 | In the directory of this web page,
13 | git clone a copy of require.js
14 | Open Firebug
15 | Reload the page
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 | Open Firebug and enable the Script panel.
13 | Click on the Execute Test button below.
14 | Firebug should halt in debugger.
15 |
16 |
17 |
Execute Test
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 | Open Firebug and enable the Script panel.
13 | Click on the Execute Test button below.
14 | Firebug should halt in debugger.
15 |
16 |
17 |
Execute Test
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 |
Execute Test
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 | Open Firebug and select the Console panel.
19 | Clear the console
20 | Select the command-line
21 | Check that there is no error on the console
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 | Open Firebug and enable the Console panel.
19 | Execute new Date("15/02/2011 10:00") on the command line.
20 | Verify the output it should be: Date { Fri Mar 02 2012 10:00:00 GMT+0100 }
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 | Open Firebug and enable the Console panel.
18 | Put 1+2 expression in the command line.
19 | The Console panel should display:
20 | >>> 1+2
21 | 3
22 |
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 |
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 |
Execute Request
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 | Open Firebug and enable the Script panel.
13 | Create a breakpoint on line 23
14 | Click on the Execute Test button below.
15 | Firebug should halt in debugger.
16 |
17 |
18 |
Execute Test
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 | Open Firebug and enable the Console panel.
23 | Console panel should be scrolled at the bottom.
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 | Open Firebug and enable the Script panel.
19 | Since there is no JavaScript on this paget the Script panel should say:
20 | No Javascript on this page
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 | Open Firebug and enable the Net panel.
13 | Click on the Execute Test button below.
14 | A new request must be displayed within the panel.
15 |
16 |
17 | Execute Test
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 |
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 | Open Firebug, enable & select the Console panel.
19 | Enter anything (like '1+2') into the console several times, enough to
20 | overflow the console space.
21 | The Console panel scroll position must be at the bottom.
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 | Launch Firefox and make sure Firebug is deactivated for the current page.
17 | Press Ctrl+Shift+C.
18 | Firebug UI should be opened+activated and the Inspector activated (in inspecting mode).
19 | Press Ctrl+Shift+C again.
20 | Firebug UI should be still opened+activated and the Inspector deactivated.
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 | Open Firebug and enable the Console panel.
19 | Type dir( into the command line.
20 | The text should not be auto-completed to directories( .
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 | Step 1
18 | Step 2
19 | Step 3
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 | Open Firebug and enable the Script panel.
26 | Refresh this page
27 | Create breakpoint on line 11
28 | The debugger should hit on line 11
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 | Open Firebug and enable the Console and the Script panels
18 | Press this button Execute Test
19 | Switch to the Console panel and create a breakpoint for the log
20 | Press the button above again
21 | Firebug should switch to the Script panel and halt in the debugger
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 | Open Firebug and enable the Console panel.
19 | Type following in to the command line: $$("li")[1];
20 | Press Enter
21 | The result should be:
22 |
23 | >>> $$("li")[1];
24 | <li>
25 |
26 |
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 | Open Firebug and enable the Console panel.
19 | Type loc into the command line and hit tab key.
20 | The text should be auto-completed to locationbar .
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 | Open Firebug and enable the Console panel.
18 | Execute the following expression in the command line:
19 | dir({'a': {'b': {'c': 1}}});
20 | the console panel should display a log (one row) with variable a and value Object { b={...} }.
21 | Expand the object a, expand the object b, collapse b and collapse a. All should work as expected.
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 |
20 |
21 |
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 | Open Firebug and enable the Console panel.
19 | Type following in to the command line: var a = {obj: {prop: 1}}; a;
20 | Press Enter
21 | The result should be:
22 |
23 | >>> var a = {obj: {prop: 1}}; a;
24 | Object { obj={...}}
25 |
26 |
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 | Console Log
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 | "Jan Honza Odvarko ");
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 |
--------------------------------------------------------------------------------