Commit graph

2,388 commits

Author SHA1 Message Date
wolfbeast
a389b4e151 Report errors for bad increment/decrement operands using
explicitly-specified offsets.
2019-04-13 07:01:54 +08:00
wolfbeast
33d09dce8b Simplify checking of targets within destructuring patterns. 2019-04-13 07:01:52 +08:00
wolfbeast
fd2042225e Simplify increment/decrement operand checking. 2019-04-13 07:01:51 +08:00
wolfbeast
598c71feb0 Inline Parser::checkAssignmentToCall into its sole caller. 2019-04-13 07:01:49 +08:00
wolfbeast
de1ec588d2 Specify an explicit offset when reporting an error for a for-of loop
whose target is an expression that begins with 'let'.
2019-04-13 07:01:47 +08:00
wolfbeast
e9b63ee1fe Simplify checking of the left-hand side of assignment and compound
assignment expressions.
2019-04-13 07:01:45 +08:00
wolfbeast
d215447209 Remove for-in/of loop parsing code that redundantly marks the loop
target as assigned -- Parser::forHeadStart already does this.
2019-04-13 07:01:43 +08:00
wolfbeast
71dc0dd5c0 Report some errors about invalid left-hand-sides in for-in/of loop heads
using code with an explicitly computed offset.
2019-04-13 07:01:41 +08:00
wolfbeast
ade86b0f20 Report the error for uninitialized const-declaration in for(;;) loop
head using an explicit offset.
2019-04-13 07:01:40 +08:00
wolfbeast
166a9654a8 Remove Parser::reportWithOffset since it's no longer used. 2019-04-13 07:01:38 +08:00
wolfbeast
218c8ce05c Introduce Parser::warningAt
This reduces reporting an warning at a particular offset to its bare
essentials, simplifying calls.
2019-04-13 07:01:36 +08:00
wolfbeast
8542ac5f61 Report for-loop-decl-with-initializer errors using a specified offset
instead of a node's offset.
2019-04-13 07:01:34 +08:00
wolfbeast
42d2e161db Report bad-class-member errors using a specified offset instead of a node's offset. 2019-04-13 07:01:32 +08:00
wolfbeast
f1f8d377a9 Remove Parser::reportBadReturn
Report simpler errors that don't use the offset of a node as location.
2019-04-13 07:01:31 +08:00
wolfbeast
07c1fa20ea Introduce Parser::errorAt
This reduces reporting an error at a particular offset to its bare
essentials, simplifying calls.
2019-04-13 07:01:29 +08:00
wolfbeast
9191d0d06b Inline Parser::checkFunctionDefinition into its sole caller. 2019-04-13 07:01:27 +08:00
wolfbeast
092b87b756 Inline GeneratorKindFromPropertyType and AsyncKindFromPropertyType.
Trivially inlines these into their sole caller.
2019-04-13 07:01:25 +08:00
wolfbeast
da1cb60dc3 Move the Parser::checkFunctionDefinition call into its callers. 2019-04-13 07:01:23 +08:00
wolfbeast
5cb16b488f Move part of Parser::functionDefinition into callers. 2019-04-13 07:01:21 +08:00
wolfbeast
9a97be75ac Track strict mode errors in for...in and for...of correctly when
syntax-parsing.
2019-04-13 07:01:19 +08:00
wolfbeast
e92f878a93 Track strict mode errors in unary deletions correctly when
syntax-parsing.
2019-04-13 07:01:18 +08:00
wolfbeast
1f00dc49d4 Specify an explicit offset when warning about "use asm" found in the
directive prologue of a script (rather than a function body).
2019-04-13 07:01:16 +08:00
wolfbeast
a652eb1916 Change report at current offset to warning(), extraWarning() and error() 2019-04-13 07:01:14 +08:00
wolfbeast
70fbb46d9e Remove the |bool strict| argument from the report-at-current-offset
Parser function (zeport).
zeport => qeport
2019-04-13 07:01:12 +08:00
wolfbeast
e9ffb69b02 Split Parser::report into Parser::zeport (a temporary name) that uses
the current offset, and Parser::reportWithNode that derives it from a
Node.
2019-04-13 07:01:10 +08:00
Tooru Fujisawa
5676f63f41 Stage 1-4: Update tests 2019-04-13 07:00:27 +08:00
wolfbeast
f2622bd19f Stage 1-3: Generate better source in Object.prototype.toSource.
Tag #960.
2019-04-13 07:00:23 +08:00
wolfbeast
9081722152 Stage 1-2: Remove a space after comma in parameter list for generated
function source.
2019-04-13 07:00:21 +08:00
wolfbeast
b68de773fd Stage 1-1: Implement Function.prototype.toString revision proposal.
Tag #960
2019-04-13 07:00:18 +08:00
wolfbeast
c439386fcb CotPM update 2019-04-06 09:59:50 +08:00
wolfbeast
3dbc6ee1a4 Zap the robots.
Resolves #1036
2019-04-06 09:59:48 +08:00
yami
df0a40798b add a nullptr check in nsSVGUtils::PaintFrameWithEffects 2019-04-04 20:30:36 +08:00
cku
f9ae2860ab Bug 1360343 - ensure maskSurface is not null before dereference, since it can be null because of OOM or gfx device reset. r=dvander
MozReview-Commit-ID: HX2qsWLZpMg

--HG--
extra : rebase_source : 046befc11151461a682842c31e2ce39247a5e1d8
2019-04-04 20:30:32 +08:00
Lootyhoof
256a94d778 Only draw a border on the tab bar when on bottom 2019-04-04 20:30:04 +08:00
wolfbeast
905323d092 Remove crashreporter toolkit files.
Resolves #20
2019-04-04 20:29:55 +08:00
wolfbeast
8ec2b1b1b5 Unhook CR exception handler.
Tag #20
2019-04-04 20:26:49 +08:00
wolfbeast
09ad6f03c9 Remove AIX 1st party code OS checks, part 2
Issue #186
2019-04-04 20:26:46 +08:00
wolfbeast
fdc5d93422 Remove some HPUX leftovers.
Resolves #185
2019-04-04 20:26:43 +08:00
wolfbeast
769e5dad1e Remove AIX 1st party code OS checks, part 1
Issue #186
2019-04-04 20:26:39 +08:00
wolfbeast
02260b18f3 Remove AIX VisualAge C++ compiler bug workaround.
Tag #186
2019-04-04 20:26:36 +08:00
wolfbeast
8358e22731 Remove 18 yo OS/2 and AIX bustage workaround.
Tag #186
2019-04-04 20:26:32 +08:00
wolfbeast
0a50553673 Issue #187: Remove solaris 1st party code OS checks. 2019-04-04 20:26:29 +08:00
wolfbeast
78d61fd2b1 Issue #187: Remove solaris conditional code. 2019-04-04 20:26:26 +08:00
wolfbeast
471c65b924 Update SQLite to 3.27.2 2019-04-04 20:26:22 +08:00
wolfbeast
62c5f20b77 Replace unsupported null default values with an empty string.
Fixes #1028
2019-03-29 22:27:42 +08:00
wolfbeast
c3a58ab50b Simplify some alias sets in IonMonkey. 2019-03-29 22:27:39 +08:00
wolfbeast
3b24095083 Clean up installer scripts a little. 2019-03-29 22:27:36 +08:00
JustOff
97a08efe32 Revert "Only write the newtab URL if the machinery for it had previously been"
This reverts commit eb77e289bbe056b58051db0fa868e95da803aa0a.
2019-03-29 22:27:33 +08:00
JustOff
3b9e91ba75 Prevent mistaken overwriting of browser.newtab.url when using the browser preferences dialog 2019-03-29 22:27:29 +08:00
Gaming4JC
091435f2fd Issue #756 - Remove Contextual Identity from DevTools 2019-03-29 22:26:15 +08:00