Commit graph

12 commits

Author SHA1 Message Date
Nika Layzell
4464c02334 Bug 1434768 - Part 3: Rewrite JS consumers of .sessionHistory, r=bz 2018-04-10 17:49:45 -04:00
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Florian Quèze
5e3539e504 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Mark Banner
92c422a2d6 Bug 1342459 - Add a rule to automatically detect ContentTask.spawn and inject the relevant globals. r=mossop
This reduces the amount of places where we need to specify the mozilla/frame-script environment. It does have
the side effect of allowing those globals in the whole file, but that is what specifying the environment would
do, and this is also for mochitest test files only.

MozReview-Commit-ID: 1LLFbn6fFJR

--HG--
extra : rebase_source : 82a6934d90bbbbd25f91b7b06bf4f9354e38865a
2017-04-05 10:00:25 +01:00
Mark Banner
c26710ebe4 Bug 1311347 - Enable eslint of browser/components/sessionstore/. Manual fixes. r=jaws
MozReview-Commit-ID: AupJNLZJ2Ye

--HG--
extra : rebase_source : b9113d1ca913d399ca4e831f3c381e8fa45847bd
2017-03-13 10:32:03 +00:00
Bob Silverberg
6bd41ebdb5 Bug 1309880 - Support undoing closeTab and closeWindow by ID, r=mikedeboer
MozReview-Commit-ID: 6CoJPyjUpHH

--HG--
extra : rebase_source : 775ee7b7933e07ffca7199d4b04d20f0ed363b1e
2016-10-28 08:15:11 -04:00
Mike de Boer
df7e3c059a Bug 1241930: Part 2 - convert all assertion methods used inside content tasks to the Assert.* family in browser tests. r=mconley 2016-03-04 14:32:24 +01:00
Mike Conley
8a1555ed30 Backout patch for bug 1175267 (again) for causing bugs 1213650 and 1228179.
--HG--
extra : commitid : yjJoUlqkYf
2015-11-26 10:07:27 -05:00
Dave Townsend
67aad6b373 Bug 1175267: When a load redirected to a new process is cancelled restore the existing content. r=billm
--HG--
extra : commitid : CFdxEx6mSUv
extra : rebase_source : fda429c4426aff3cb31271e20514bfe4d9242f53
extra : histedit_source : e333be1836dc0b23955ad2db77bfb7d18803fa7b
2015-08-10 13:38:39 -07:00
Mike Conley
df62d579fc Backout fix for bug 1175267 (76a433881e4b) for causing bug 1213650.
--HG--
extra : commitid : 8rlqLu5o0ef
2015-11-18 12:20:29 -05:00
Dave Townsend
1060021790 Bug 1175267: When a load redirected to a new process is cancelled restore the existing content.
--HG--
extra : commitid : GTJPPc0CiVF
extra : rebase_source : 8f12d85271b2fa9fbca346659b58dfe7f369b22b
2015-08-10 13:38:39 -07:00
Tim Taubert
17a502b1e0 Bug 1134518 - Add test to ensure we don't lose shistory entries when switching a browser's remoteness r=Mossop 2015-04-23 15:42:55 +02:00