gecko-dev/testing
Andreas Tolfsen 50514918d4 Bug 1452483 - Preserve stacktrace from sandbox evaluation. r=maja_zf
Now that the correct filename and line number is being passed to
Cu.evalInSandbox, the stacktrace of the thrown error is correct.
JavaScriptError uses the line number to index the injected source
script, but the line number refers to the file represented by the
"filename" parameter and not to the script.

This effectively means that the line numbers in the produced
stacktrace are wrong because line number 0 was hard-coded as an
argument to Cu.evalInSandbox.

This patch harmonises the stacktraces returned from
WebDriver:ExecuteScript and WebDriver:ExecuteAsyncScript with
stacktraces from normal JavaScript errors, by removing some extra clutter.

MozReview-Commit-ID: 9nm6HeA4YVJ

--HG--
extra : rebase_source : e0f6e0c9595456fb59123adc98cea6d3d32abce3
2018-04-09 11:45:49 +01:00
..
awsy Bug 1446954: Remove support for running tests on automation without stylo configurations. r=froydnj 2018-03-20 11:29:08 +01:00
config Bug 1389805 - Update linux64 host-utils with elfhack; r=me,a=test-only 2018-04-10 11:14:14 -06:00
crashtest
firefox-ui Bug 1451709 - Remove code for the "Restore Tabs From Last Time" button in the tab bar. r=mikedeboer 2018-04-05 14:02:55 +02:00
geckodriver Bug 1451916 - Have geckodriver recognise chrome elements. r=whimboo 2018-04-06 14:41:00 +01:00
gtest Bug 1451008 - Disable perfherder reporting for microbenchmarks on asan builds r=froydnj 2018-04-03 11:31:36 -04:00
marionette Bug 1452483 - Preserve stacktrace from sandbox evaluation. r=maja_zf 2018-04-09 11:45:49 +01:00
mochitest Bug 1452694 - Use TestRunnerActivity for geckoview mochitest/reftest; r=bc 2018-04-10 13:26:11 -06:00
modules Bug 1452432 - Convert 'test' field to a string in assertionCount StructuredLog.jsm messages, r=gbrown 2018-04-09 11:50:05 -04:00
mozbase Merge inbound to mozilla-central a=merge 2018-04-11 00:56:08 +03:00
mozharness Bug 1452694 - Use TestRunnerActivity for geckoview mochitest/reftest; r=bc 2018-04-10 13:26:11 -06:00
profiles Bug 1317539 - Remove dom.forms.number pref. r=bz 2018-04-10 11:02:28 +10:00
runtimes Bug 1443578 - remove the _reflows suffix in a few more places to fix bustage, rs=bustage-fix. 2018-03-22 21:47:47 +01:00
specialpowers Bug 1448736 part 1. Stop attaching Components to untrusted windows in SpecialPowers. r=kmag 2018-03-26 13:35:05 -04:00
talos Bug 1452936 - Modify DAMP objectexpand.js to cover more property types; r=ochameau. 2018-04-10 15:05:45 +02:00
tools Bug 1449350 - distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('six'), r=aki 2018-03-28 11:50:40 +13:00
tps Bug 1447104 - Update addon metadata in TPS to new format r=markh 2018-03-19 13:19:13 -07:00
web-platform Bug 1453084 - Add webdriver.Element string representation. r=whimboo 2018-04-10 19:55:04 +01:00
webdriver Bug 1401129 - Release webdriver 0.35.0. r=whimboo 2018-03-08 16:05:08 +00:00
xpcshell Bug 1389805 - Apply elfhack -r to Android xpcshell libs; r=jmaher 2018-04-10 11:14:16 -06:00
README.txt
cppunittest.ini
mach_commands.py Bug 1445624 - [test] Make sure verbose logging is enabled when running a single test, r=gbrown 2018-03-19 16:04:02 -04:00
moz.build Bug 1433974 - Update BUG_COMPONENT for some of the new Testing components, r=jmaher 2018-01-29 12:57:54 -05:00
remotecppunittests.py Bug 1440714 - Convert Android cppunit test harness to adb.py; r=bc 2018-03-16 09:37:48 -06:00
runcppunittests.py
testsuite-targets.mk Bug 1443246 - Don't sign Robocop APK during stage-package. r=gbrown 2018-03-05 11:20:16 -08:00

README.txt

Common testing tools for mozilla codebase projects, test suite definitions
for automated test runs, tests that don't fit anywhere else, and other fun
stuff