Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
Kris Maglione f6c9f43ed1 Bug 1441333: Part 6 - Use caller location in error reports for StrongPromise errors. r=zombie
We currently report a useful location in error reports when extensions fail to
resolve a promise or call a response callback, but in some slightly
less-than-ideal ways. We currently generate a complete stack and parse its
string value (which is expensive), and then report the caller location as part
of the message, rather than as the error's location and stack.

This patch changes that behavior to store a single SavedStack frame, and to
properly report that as the location of the error.

MozReview-Commit-ID: Jmtf4C1O6pW

--HG--
extra : rebase_source : a47795947e1c93934ec3ced29dd6d345937d443e
2018-03-01 16:41:21 -08:00
.cargo Bug 1426116 - Update for changes in WR PR 2251. r=jrmuizel 2018-01-08 09:19:27 -05:00
.vscode Bug 1423565 - Update tasks.json as per documentation. r=rillian 2017-12-06 14:59:35 +01:00
accessible Merge mozilla-cental to mozilla-inbound. r=merge 2018-03-02 00:21:23 +02:00
browser Backed out 6 changesets (bug 1425462) for XPCShell failure on multiple files 2018-03-02 03:33:17 +02:00
build Bug 1441657 - Implement mozilla::WrappingMultiply. r=froydnj 2018-02-15 17:36:55 -08:00
caps Bug 1441584 - part 1 - declare inner URI Mutator classes final; r=valentin 2018-02-27 20:13:57 -05:00
chrome Bug 1433958 - Change code that sets nsIURI.pathQueryRef to use nsIURIMutator r=mayhemer 2018-02-26 20:43:45 +01:00
config Bug 1441791 - Use MOZILLA_DIR when including from mozilla topsrcdir. r=ted 2018-02-28 13:16:17 +01:00
db Bug 1432269 - Upgrade to SQLite 3.22.0. r=mak 2018-01-31 09:41:50 -05:00
devtools Backed out 2 changesets (bug 1428430) for devtools failure on /builds/worker/workspace/build/src/accessible/base/nsAccessibilityService.cpp:1045 on a CLOSED TREE 2018-03-02 01:48:52 +02:00
docshell Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout 2018-03-01 11:51:09 +02:00
dom Bug 1441333: Part 3 - Add helper to create a JS error with a saved stack. r=bz 2018-03-01 14:00:00 -08:00
editor Bug 1433175 - more aggressive scripted patch to replace remaining Components.classes, Components.interfaces, Components.utils and Components.results uses with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:35 +01:00
embedding Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian 2018-01-29 15:20:18 -08:00
extensions merge mozilla-central to mozilla-inbound. CLOSED TREE 2018-02-28 20:19:28 +02:00
gfx Merge mozilla-inbound to mozilla-central. a=merge 2018-03-02 00:09:29 +02:00
gradle/wrapper Backed out 20 changesets (bug 1411654) for incorrect android:debuggable. r=nalexander, a=RyanVM 2018-01-17 15:55:38 -05:00
hal Bug 1423552: Use BaseRect access methods instead of member variables in hal/ r=gsvelto 2018-01-10 11:17:58 -05:00
image Bug 1442037 - Fix an incorrect assert in DecoderFactory::CloneAnimationDecoder. r=tnikkel 2018-03-01 19:38:58 -05:00
intl Bug 1433175 - remove by hands some variations of Cc,Ci,Cu definitions, r=Standard8. 2018-02-28 18:51:34 +01:00
ipc merge mozilla-central to mozilla-inbound 2018-03-01 20:32:20 +02:00
js Bug 1441333: Part 3 - Add helper to create a JS error with a saved stack. r=bz 2018-03-01 14:00:00 -08:00
layout Merge mozilla-cental to mozilla-inbound. r=merge 2018-03-02 00:21:23 +02:00
media Bug 1410456 - Update cubeb from upstream to eb3409e.r=achronop 2018-03-01 15:44:47 +02:00
memory Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
mfbt Bug 1441657 - Implement mozilla::WrappingMultiply. r=froydnj 2018-02-15 17:36:55 -08:00
mobile Backed out changeset cf64879466c4 (bug 1440789) for Android packaging failure 2018-03-02 02:23:11 +02:00
modules Backed out 6 changesets (bug 1425462) for XPCShell failure on multiple files 2018-03-02 03:33:17 +02:00
mozglue Bug 1043775 - Put old versions of GDATA GDKBFltDll64.dll on Dll blocklist. r=marco 2018-02-14 09:51:00 +02:00
netwerk Bug 1440565 P1 Make sure to clear any existing cache related load flags when setting the default fetch() RequestCache value. r=asuth 2018-02-28 10:34:13 -08:00
nsprpub Bug 1432480, Land NSPR 4.19 into FF 60, r=me 2018-02-23 18:00:02 +01:00
other-licenses Bug 1436475 Part 5 - Add a readme and a patch file with our changes to the 7-zip directory. r=agashlin 2018-02-13 09:17:07 -08:00
parser Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
python Bug 1435912 - Migrate Preferences::General XUL part to the new Localization API. r=flod,jaws 2018-02-27 21:20:54 -08:00
rdf Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian 2018-02-06 09:36:57 -08:00
security Merge mozilla-inbound to mozilla-central. a=merge 2018-03-02 00:09:29 +02:00
services Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout 2018-03-01 11:51:09 +02:00
servo servo: Merge #20156 - euclid update (from paulrouget:euclid_up); r=jdm 2018-03-01 02:45:26 -05:00
startupcache Bug 1439047 - Part 2: Cleanup StartupCache::PutBuffer hashtable usage. r=froydnj 2018-02-16 15:58:30 -08:00
storage Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
taskcluster Merge inbound to mozilla-central. a=merge 2018-03-01 19:29:00 +02:00
testing Merge mozilla-inbound to mozilla-central. a=merge 2018-03-02 00:09:29 +02:00
third_party Bug 1442145, update fluent to 0.6.4, r=flod a=nightly-fix 2018-03-01 10:28:34 +01:00
toolkit Bug 1441333: Part 6 - Use caller location in error reports for StrongPromise errors. r=zombie 2018-03-01 16:41:21 -08:00
tools Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout 2018-03-01 11:51:09 +02:00
uriloader Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
view Bug 1423551: Use BaseRect access methods instead of member variables in view/. r=jet 2018-01-10 11:16:22 -05:00
widget Backed out changeset 45ae173a1348 (bug 1418749) for widget leaks on Mochitests 2018-03-02 02:50:08 +02:00
xpcom Merge inbound to mozilla-central. a=merge 2018-03-01 19:29:00 +02:00
xpfe Bug 1223303 - Fix nsChromeTreeOwner::OnLocationChanged to set nsXULWindow::mChromeLoaded to false when loading a different document, r=mystor. 2018-02-08 12:29:10 +01:00
.arcconfig Bug 1424950: Add missing repository.callsign to .arcconfig. r=dkl 2017-12-13 15:38:18 +01:00
.clang-format Bug 1414764 - Remove Mozilla specific options to avoid build warnings with gcc and -Wcomment enabled. r=sylvestre 2017-11-06 11:47:40 +02:00
.clang-format-ignore Bug 1430792 - ExampleStylesheet.h should not be formatted r=andi 2018-01-16 16:37:01 +01:00
.cron.yml Bug 1418188 - Run Searchfox indexing in TaskCluster on a daily basis (r=dustin,chmanchester) 2017-11-23 07:25:12 -08:00
.eslintignore Bug 1428769 - Add intl/l10n to be covered by eslint. r=Pike 2018-02-20 14:02:54 -10:00
.eslintrc.js Bug 1433175 - enable the use-cc-etc eslint rule, r=Standard8. 2018-02-28 18:51:35 +01:00
.flake8 Bug 1434430 - [flake8] Fix blank 'except' statements r=rwood 2018-01-31 14:32:08 -05:00
.gdbinit Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
.gdbinit_python
.gitignore Bug 1429511 - Move Rust port of mozrunner to central. r=ahal 2018-01-12 15:31:20 +00:00
.hgignore Bug 1431177 - Update hgignore for talos webkit tests; r=jmaher 2018-01-17 13:59:55 -05:00
.hgtags No bug - Tagging mozilla-central e33efdb3e1517d521deb949de3fcd6d9946ea440 with FIREFOX_BETA_60_BASE a=release DONTBUILD CLOSED TREE 2018-03-01 16:09:36 +00:00
.inferconfig
.lldbinit Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
.mailmap NO BUG - Use ato's new address. r=me 2018-02-26 15:59:29 +00:00
.taskcluster.yml Bug 1437562: only use ..:branch:default role, not :*; r=bstack 2018-02-12 18:58:05 +00:00
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle Bug 1439410 - 1. Enable Kotlin for geckoview tests; r=nalexander 2018-02-22 18:39:11 -05:00
client.mk Bug 1417264 - Write .mozconfig.json from Python; r=nalexander 2017-11-13 17:45:03 -08:00
client.py
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2018-01-22 11:19:18 +00:00
configure.in
configure.py Bug 1412460 - Don't write make variables in configure.d; r=mshal 2017-11-01 15:02:11 -07:00
GNUmakefile
gradle.properties Backed out 20 changesets (bug 1411654) for incorrect android:debuggable. r=nalexander, a=RyanVM 2018-01-17 15:55:38 -05:00
gradlew
LEGAL
LICENSE
mach
Makefile.in Bug 1424651: Remove unused SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE mozconfig variable; r=ted.mielczarek 2017-12-10 23:05:05 -07:00
moz.build Bug 1403519 - only build docs when necessary r=gps 2017-10-02 18:22:56 +00:00
moz.configure Bug 1435424 - Remove doxygen support from the build system. r=gps 2018-02-02 14:24:18 -08:00
mozilla-config.h.in Bug 1431803 Turn __try into if(true) and __except into else in the chromium sandbox code r=bobowen,glandium 2018-01-22 12:18:51 -06:00
npm-shrinkwrap.json Bug 1439949 - Update eslint to 4.18.1 to support async iteration. r=mossop 2018-02-21 16:00:24 +00:00
old-configure.in Bug 1440432 - Remove AAR exploding from configure. r=jchen 2018-02-23 12:16:51 -08:00
package.json Bug 1439949 - Update eslint to 4.18.1 to support async iteration. r=mossop 2018-02-21 16:00:24 +00:00
README.txt
settings.gradle Bug 1360587 - Part 2. Remove bouncer apk build config; source; docs, r=nalexander 2017-10-25 22:51:44 +08:00
test.mozbuild

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://nightly.mozilla.org/