Brindusan Cristian
92f02c5b7e
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-02-16 11:53:00 +02:00
Dão Gottwald
65ce67881c
Backed out changeset f23ac3f571cf
...
MozReview-Commit-ID: FLl0Gd0oG6o
2018-02-16 09:27:40 +01:00
Andreea Pavel
9ec6f2f2a3
Merge mozilla-inbound to mozilla-central a=merge
2018-02-15 12:24:21 +02:00
Dorel Luca
c2e3efbc47
Merge mozilla-centra to mozilla-inbound
2018-02-15 00:37:44 +02:00
Florian Quèze
65211c1000
Bug 1403648 - focus the urlbar at first paint without waiting for a promise to resolve in most cases, r=johannh.
2018-02-14 22:15:05 +01:00
Shane Caraveo
25ea7fe605
Bug 1436720 use sessionstore to track controlling extension, r=Gijs
...
MozReview-Commit-ID: ACzGfNDVFXm
2018-02-13 15:43:31 -07:00
Masayuki Nakano
53a40055b6
Bug 1436926 - part 2: Remove unnecessary KeyboardEvent.code specification of callers of EventUtils.synthesizeKey() r=smaug
...
Now, callers of EventUtils.synthesizeKey() don't need to specify
KeyboardEvent.code value anymore if they assume that active keyboard layout
is US keyboard layout.
Note that this patch changes the meaning of only test_bug551434.html.
Some callers in it don't match the key value and code value but that looks
like that they don't checking such odd keyboard events. So, they must be
bug of the test.
MozReview-Commit-ID: Itxo7yZ9rkK
2018-02-09 19:17:26 +09:00
Andrew McCreight
1d9e026e96
Bug 1436184 - Remove definitions of Ci, Cr, Cc, and Cu from httpd.js and .sjs files. r=florian
...
MozReview-Commit-ID: IKKb9zr2OSf
2018-02-06 15:03:13 -08:00
Cameron McCormack
f221bcdd54
Bug 1435666 - Part 3: Remove nsIDOMXPathResult. r=bz
...
MozReview-Commit-ID: 9j6dUlanNTi
2018-02-05 11:39:18 +08: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
Mike de Boer
ea070295a4
Bug 1427007 - Part 2: the SessionFile unit tests dependended on a very specific interaction between wipe() and read(), which changed in part 1. This fixes the tests up by making the dependency a bit more clear and explicit. r=Yoric
...
MozReview-Commit-ID: uoPx46cNL1
2018-02-02 17:34:32 +01:00
Mike de Boer
f0a7006c0b
Bug 1427007 - Part 1: When a SessionWorker is restarted, we also need to re-initialize it with the correct SessionFile data. r=Yoric
...
We now know that worker restarts are rather frequent and we've had reports that
are certain to point at us forgetting to properly re-initialize the worker.
This takes care of this by factoring the init flow into its own method and setting
the flag when a failing worker is terminated.
MozReview-Commit-ID: G5jccjxkBsF
2018-02-02 16:21:03 +01:00
Dorel Luca
41a45cb10f
Backed out 2 changesets (bug 1427007) for failing xpcshell on browser/components/sessionstore/test/unit/test_shutdown_cleanup.js
...
Backed out changeset 79b25461de35 (bug 1427007)
Backed out changeset 986dab420f52 (bug 1427007)
2018-02-02 18:07:05 +02:00
Mike de Boer
f19ca334f8
Bug 1427007 - Part 2: the SessionFile unit tests dependended on a very specific interaction between wipe() and read(), which changed in part 1. This fixes the tests up by making the dependency a bit more clear and explicit. r=Yoric
...
MozReview-Commit-ID: KI3qaww77wV
2018-02-02 16:21:07 +01:00
Mike de Boer
20c6ec4cd7
Bug 1427007 - Part 1: When a SessionWorker is restarted, we also need to re-initialize it with the correct SessionFile data. r=Yoric
...
We now know that worker restarts are rather frequent and we've had reports that
are certain to point at us forgetting to properly re-initialize the worker.
This takes care of this by factoring the init flow into its own method and setting
the flag when a failing worker is terminated.
MozReview-Commit-ID: G5jccjxkBsF
2018-02-02 16:21:03 +01: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
Masayuki Nakano
65ecb061b4
Bug 1134540 - Make all tests stop using nsIDOMWindowUtils.sendKeyEvent() r=smaug
...
nsIDOMWindowUtils.sendKeyEvent() can dispatch any keyboard events, i.e.,
may dispatch different key events from actual Gecko's behavior. Instead,
they should use nsITextInputProcessor directly or synthesizeKey() of
EventUtils which wraps nsITextInputProcessor.
MozReview-Commit-ID: EDWqXy1OxJp
2018-01-30 22:05:44 +09: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
Florian Quèze
61218af6d4
Bug 1406413 - avoid notifying browser windows that we are clearing the session during shutdown, r=mikedeboer.
2018-01-25 23:43:32 +01:00
Ryan VanderMeulen
fa9f58184f
Bug 1432486 - Remove the unneeded FX_SESSION_RESTORE_DOM_STORAGE_SIZE_ESTIMATE_CHARS probe. r=mikedeboer
2018-01-25 09:28:22 -05:00
Kris Maglione
1046270983
Backed out 3 changesets (bug 1431533) for Android mochitest bustage. CLOSED TREE
...
MozReview-Commit-ID: 5ubE9EMQpZ9
2018-01-24 22:04:59 -08:00
Kris Maglione
50ace7f99d
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
MozReview-Commit-ID: 8V1ZT53ReiP
2018-01-24 15:48:47 -08:00
Dorel Luca
4e53931563
Backed out changeset 5eba8dcac2bb (bug 1373055) for causing bug 1430466
2018-01-23 19:49:57 +02:00
Mike de Boer
72dde5a36e
Bug 1392130 - Ensure that when one of the Sessionstore shutdown blockers finishes and wins the race, to properly cleanup the running timer and observers. r=Yoric
...
MozReview-Commit-ID: 1K4QDCSM2oj
2018-01-23 15:24:01 +01:00
arthur.iakab
847fea3d68
Backed out changeset 6594f1cefd6a (bug 1392130)for eslint failures on builds/worker/checkouts/gecko/browser/components/sessionstore/SessionStore.jsm:1628:12
2018-01-23 16:00:03 +02:00
Mike de Boer
c7d5c33c04
Bug 1392130 - Ensure that when one of the Sessionstore shutdown blockers finishes and wins the race, to properly cleanup the running timer and observers. r=Yoric
...
MozReview-Commit-ID: CGTSZEhT6lI
2018-01-23 14:25:13 +01:00
Mike de Boer
3e9b5e71b4
Bug 1411581 - Mochitest 'browser_615394-SSWindowState_events_undoCloseTab.js' leaks windows too frequently; rewrite the test and wait for the browser to load, before finishing up the test. r=mconley
...
MozReview-Commit-ID: 6HFJTZP8tLB
2018-01-23 13:44:14 +01:00
Arjun Krishna Babu
9e00fdd272
Bug 1373055 - Unload crashed background tabs instead of flipping their remoteness and sending them to about:blank; r=mconley
...
When background tabs crash, they were being replaced by about:blank tab
hosted in parent process.
Now that there is a mechanism for lazily creating browsers, discarding the
crashed background browser until they are selected is a cheaper operation
(compared to creating about:blank).
Certain test cases were also updated to take into account the new scenario.
MozReview-Commit-ID: AaOivEoTOvU
2017-12-08 18:08:34 -07:00
Tim Nguyen
0f11886f22
Bug 1430374 - Remove support for progressmeter tree cells. r=bz,dao
...
MozReview-Commit-ID: 3hydkeoneC0
2018-01-18 10:36:05 +00:00
Nika Layzell
5a8e4b47d8
Bug 1383876 - Part 6: Fix eslint failures, a=bustage
...
MozReview-Commit-ID: 90yfcMlr6UU
2018-01-12 18:40:53 -05:00
Nika Layzell
635711a262
Bug 1383876 - Part 2: Remove GroupedSHistory and Prerendering logic from JS code, r=freesamael
...
MozReview-Commit-ID: KwvOcgQKheK
2018-01-12 17:52:54 -05:00
Noemi Erli
752bbd5ba9
Backed out 2 changesets (bug 1373708) frequently failing browser-chrome's browser/components/sessionstore/test/browser_dying_cache.js a=backout
...
Backed out changeset a30d2216e0b9 (bug 1373708)
Backed out changeset d31af7725e65 (bug 1373708)
2018-01-12 01:25:16 +02:00
Andrei Oprea
685163250f
Bug 1429119 - Revert 1422246 Special handling of about:newtab on session restore r=Mardak
...
MozReview-Commit-ID: 3wvfWcIpiv3
2018-01-09 18:05:13 +01:00
Liang-Heng Chen
5447ab596c
Bug 1373708 - Part 2: Wait until all tabs are closed. r=billm
...
MozReview-Commit-ID: 2Ky8t2jpDyY
2017-09-07 18:16:00 -04:00
Mike Conley
cd42f6052d
Bug 1424373 - Rename crash report submission pref. r=Mossop
2017-12-21 16:36:13 -05:00
Florian Quèze
1838aa9e08
Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs.
2017-12-21 11:10:23 +01:00
Florian Quèze
082ca8b2a3
Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs.
2017-12-21 11:08:17 +01:00
Florian Quèze
3f662053f3
Bug 592653 - script-generated patch to replace gPrefService with Services.prefs, r=Standard8.
2017-12-19 23:45:10 +01:00
Tooru Fujisawa
e518689e4c
Bug 1418184 - Use BrowserTestUtils.waitForEvent in browser/components/sessionstore/test/. r=felipe
2017-12-09 06:08:43 +09:00
Dorel Luca
2d555bbda5
Backed out changeset 935dcd1ea40c (bug 1418184) for failing browser-chrome's browser/base/content/test/permissions/browser_temporary_permissions_expiry.js on Windows 7 debug without e10s r=backout on a CLOSED TREE
2017-12-09 18:59:23 +02:00
Tooru Fujisawa
105c8f43d1
Bug 1424090 - Use dedicated observer notification instead of domwindowclosed to catch onClosed in testcases for SessionStore.jsm. r=billm
2017-12-09 09:52:33 -06:00
Tooru Fujisawa
cc59e2b235
Bug 1418184 - Use BrowserTestUtils.waitForEvent in browser/components/sessionstore/test/. r=felipe
2017-12-09 06:08:43 +09:00
Bill McCloskey
142c9a9dbb
Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
...
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-07 12:55:24 -08:00
Andreea Pavel
26ac595cba
Backed out 9 changesets (bug 1412456) for crashing talos g2 and unexpected network connections in browser-chrome's browser_searchEngine_behaviors.js r=backout a=backout on a CLOSED TREE
...
Backed out changeset 0c01a98f4fd5 (bug 1412456)
Backed out changeset 27077db47231 (bug 1412456)
Backed out changeset f35ec2a884f8 (bug 1412456)
Backed out changeset 602b30ac3c69 (bug 1412456)
Backed out changeset b1ff1050c589 (bug 1412456)
Backed out changeset f100d953f9eb (bug 1412456)
Backed out changeset d85af60fe259 (bug 1412456)
Backed out changeset 736f38486832 (bug 1412456)
Backed out changeset 13a637602dc2 (bug 1412456)
2017-12-07 12:20:21 +02:00
Bill McCloskey
427710d960
Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
...
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 21:17:05 -08:00
Dorel Luca
81b4b85d01
Backed out 8 changesets (bug 1412456) for ESlint failure on browser_urlbarKeepStateAcrossTabSwitches.js:13:49 r=backout on a CLOSED TREE
...
Backed out changeset 0e88de036c55 (bug 1412456)
Backed out changeset 49b93f807db0 (bug 1412456)
Backed out changeset 039e980b7dc6 (bug 1412456)
Backed out changeset c7698410ddbd (bug 1412456)
Backed out changeset e56a1ba26b7c (bug 1412456)
Backed out changeset 0c4506e124ac (bug 1412456)
Backed out changeset a7aec2ce903b (bug 1412456)
Backed out changeset 3e9fb71f1e8e (bug 1412456)
2017-12-07 07:09:33 +02:00