Commit Graph

48 Commits

Author SHA1 Message Date
Kris Maglione
fd7e9e6a69 Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY
2018-04-22 20:55:06 -07:00
Nika Layzell
3d4a532d9d Bug 1434768 - Part 3: Rewrite JS consumers of .sessionHistory, r=bz 2018-04-10 17:49:45 -04:00
Andrew McCreight
272cee1e65 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
2018-02-06 09:36:57 -08:00
Florian Quèze
c5f15a4700 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Kris Maglione
0bb74efdf1 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Tim Taubert
5c1a30b131 Bug 1373672 - Part 1: Filter events from dynamic docShells in Gecko before they reach SessionStore event handlers r=smaug,mystor 2017-08-02 19:08:04 +02:00
Sebastian Hengst
3073215161 Backed out changeset e62c93a8c93b (bug 1373672) for bustage at nsSessionStoreUtils.cpp:21: bad implicit conversion constructor for 'DynamicFrameEventFilter, and e.g. eslint failures. r=backout on a CLOSED TREE 2017-08-01 12:39:21 +02:00
Tim Taubert
12284f3ab0 Bug 1373672 - Part 1: Filter events from dynamic docShells in Gecko before they reach SessionStore event handlers r=smaug,mystor 2017-07-21 14:57:30 +02:00
Florian Queze
ddf0cda8da Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
4cd95d4a02 Backed out changeset 18d45aa984d6 (bug 1355161) 2017-04-14 23:39:23 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Queze
35cd8ba883 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Mark Banner
e20b9ee0f3 Bug 1311347 - Enable eslint of browser/components/sessionstore/. Manual fixes. r=jaws
MozReview-Commit-ID: AupJNLZJ2Ye
2017-03-13 10:32:03 +00:00
Mark Banner
03b4896b94 Bug 1311347 - Enable eslint of browser/components/sessionstore/. Autofix changes. r=jaws
MozReview-Commit-ID: 5LKHbcmjSy
2017-03-10 19:51:20 +00:00
AJ Kerrigan
9981c05a18 Bug 1132556 - Replace runInContent() with ContentTask.spawn(). r=smacleod 2016-01-07 03:26:31 -05:00
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Tim Taubert
1b7a4dd39b Bug 1163745 - Remove erroneous subtest from browser_sessionHistory.js r=Yoric 2015-06-10 14:45:37 +02:00
Tim Taubert
eda69fead2 Bug 1167579 - Fix intermittent browser_broadcast.js failures by rewriting modifySessionStorage() r=billm 2015-05-22 21:01:11 -04:00
Tim Taubert
982c542752 Bug 1109875 - Fix sessionstore tests to properly wait for data from closed tabs r=billm 2015-04-28 16:30:47 +02:00
Tim Taubert
eae431522a Bug 1022403 - Fix intermittent browser_sessionHistory.js timeouts by making sure the weak shistory listener isn't GC'ed before we saw the notification r=smacleod 2015-03-04 16:45:27 +01:00
Steven MacLeod
baec6f8b21 Bug 1107609 - Simplify test_pushstate_replacestate with ContentTask. r=ttaubert r=mconley 2015-02-11 17:15:01 -05:00
Dave Townsend
e0c3f34526 Bug 1114040 - Test for bug 1114040 (r=ttaubert) 2015-01-28 11:53:45 -08:00
Tim Taubert
fe2214ebc9 Bug 1099490 - Follow-up to fix spike of intermittent browser_sessionStorage.js failures r=me 2014-11-18 13:18:55 +01:00
Bill McCloskey
7e5519b6e8 Bug 1059007 - Fix async bugs in session store tests (r=ttaubert) 2014-09-23 15:48:53 -07:00
Bill McCloskey
d21cb88d02 Bug 1059007 - Make session restore tests work in e10s (r=ttaubert) 2014-09-23 15:48:53 -07:00
Bill McCloskey
c563be6db1 Bug 1059007 - Use useCapture for MozStorageChanged events (r=ttaubert) 2014-08-28 13:37:16 -07:00
Steven MacLeod
746465ac05 Bug 1036036 - Stop leaking docshells in Session Store tests. r=ttaubert
When adding a SHistoryListener in the Session Store test frame script
we were creating an intermediate global variable that was rooting the
docshell. This prevented things from being GC'd properly.

I've removed this intermediate variable and we should no longer keep
the docshell alive. This will probably also fix Bug 1036031.
2014-07-24 18:13:28 -04:00
Trevor Saunders
7fdd19b194 bug 1036694 - merge nsIMarkupDocumentViewer into nsIContentViewer r=smaug 2014-07-09 17:27:49 -04:00
Tim Taubert
da89684598 Bug 965697 - Fix intermittent browser_sessionHistory.js failures by waiting until the history entry has been replaced. r=smacleod 2014-07-07 14:11:17 -04:00
Steven MacLeod
26a9e3fd2b Bug 967028 - Use a SHistoryListener to collect entries from history.pushState(). r=Yoric 2014-03-20 22:52:31 -04:00
Tim Taubert
3e2ad5ff69 Bug 960903 - Tests for broadcasting shistory r=yoric 2014-01-20 17:36:59 +01:00
Tim Taubert
94fa0d39d5 Bug 947212 - Tests for broadcasting form data r=yoric
From 53d47a84c35781e73545eab3e665d63c742a9d20 Mon Sep 17 00:00:00 2001
2013-12-04 10:15:43 +01:00
David Rajchenbach-Teller
a78eff7834 Bug 942340 - Extracting many Telemetry statistics from sessionstore.js;r=ttaubert,froydnj 2014-01-11 09:51:24 +01:00
Tim Taubert
3307102e15 Bug 952998 - Use FrameTree to collect DOMSessionStorage data r=yoric
From 594cc2bdabe535ef356276bce49c4b36c73ab3a2 Mon Sep 17 00:00:00 2001
2013-12-20 14:23:32 +01:00
Tim Taubert
cded9bcb7b Bug 921942 - Add FrameTree and scroll position broadcast tests r=yoric
From 5645706beeae13673e87ba665f225e01a32949e2 Mon Sep 17 00:00:00 2001
2013-11-30 13:49:46 +01:00
David Rajchenbach-Teller
ffd23f7bb2 Bug 899276 - Don't collect/save private tabs. r=ttaubert 2013-12-18 12:39:53 -05:00
Bill McCloskey
ff36ddc3aa Bug 682048 - Change Firefox frame script handling to support anon/global scope (r=felipe) 2013-11-23 21:32:27 -08:00
Ryan VanderMeulen
8df43cb7cf Backed out changesets e7aa50b69994, bc00eed50b7d, and 30a8127b9277 (bug 682048) for causing frequent B2G reftest timeouts.
CLOSED TREE
2013-12-03 22:44:28 -05:00
Bill McCloskey
1ca8c3fbd0 Bug 682048 - Change Firefox frame script handling to support anon/global scope (r=felipe) 2013-11-23 21:32:27 -08:00
Tim Taubert
b56504130f Bug 942673 - Fix intermittent browser_pageStyle.js failures r=yoric
From 4697072cd7fbf92715f0b903cdba49b36b91f3a4 Mon Sep 17 00:00:00 2001
2013-11-25 17:42:14 +01:00
Tim Taubert
7bc140ec60 Bug 942513 - Fix intermittent browser_sessionStorage.js failures by flushing r=yoric 2013-11-24 11:22:09 +01:00
Tim Taubert
51b4382580 Bug 930967 - Add tests for broadcasting sessionstore data r=yoric,billm,smacleod
From 31c74a1bd1244404b5a98348b1b4ca4e3698afce Mon Sep 17 00:00:00 2001
2013-10-25 12:02:25 +02:00