Commit graph

1372 commits

Author SHA1 Message Date
Masayuki Nakano
c1d340ed59 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

--HG--
extra : rebase_source : 158c6f3d1611646540133297e4c8352e0b85ab79
2018-01-30 22:05:44 +09:00
Kris Maglione
918ed6c474 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

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 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
6476f95b13 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

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb 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
c276bb9375 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

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Ryan VanderMeulen
2af1d9d442 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
aec63e140c Backed out 3 changesets (bug 1431533) for Android mochitest bustage. CLOSED TREE
MozReview-Commit-ID: 5ubE9EMQpZ9

--HG--
extra : histedit_source : df68d7595925c07d9d6e8bacc2c46e69556f479a%2C72b768b9825e20ede6603ead75f871c50dc041f7
2018-01-24 22:04:59 -08:00
Kris Maglione
30b3a49bfd Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
MozReview-Commit-ID: 8V1ZT53ReiP

--HG--
extra : rebase_source : 12b5f8c3e125111db7382eb3d7d20a99fb2c35b3
extra : absorb_source : e99fa7f6eee02e7e6cadeb898c7fcf6dac9c902a
extra : histedit_source : d0dfc31fadc2b81d341c9d0cd1efec02923c003b
2018-01-24 15:48:47 -08:00
Dorel Luca
e3cba77cee Backed out changeset 5eba8dcac2bb (bug 1373055) for causing bug 1430466 2018-01-23 19:49:57 +02:00
Mike de Boer
f77417e3e0 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

--HG--
extra : rebase_source : 1cee6700f3428b6b52be4758ae737a1940adaa8c
2018-01-23 13:44:14 +01:00
Arjun Krishna Babu
de79ca977a 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

--HG--
extra : rebase_source : 407ec73ac5ce39906f2e3e0c6f99c8313b544dad
2017-12-08 18:08:34 -07:00
Nika Layzell
e0822be7b9 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
9242ba3afc 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
Liang-Heng Chen
b282ac3a3f 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
4d6ed7eb15 Bug 1424373 - Rename crash report submission pref. r=Mossop
--HG--
extra : rebase_source : 14cfcee27cefc13911aee2c0663c74f3e9101275
extra : amend_source : bb12f2b78b2c43ef79957d700167a2fea80d0188
2017-12-21 16:36:13 -05:00
Florian Quèze
0f55cd45be 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
032c961e0a 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
1158645bdd Bug 592653 - script-generated patch to replace gPrefService with Services.prefs, r=Standard8. 2017-12-19 23:45:10 +01:00
Tooru Fujisawa
4e1ece6904 Bug 1418184 - Use BrowserTestUtils.waitForEvent in browser/components/sessionstore/test/. r=felipe 2017-12-09 06:08:43 +09:00
Dorel Luca
1b3d7e7b8b 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
45fc0f37c4 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
510bbfbbfb Bug 1418184 - Use BrowserTestUtils.waitForEvent in browser/components/sessionstore/test/. r=felipe 2017-12-09 06:08:43 +09:00
Bill McCloskey
9f4d083047 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
89531e8dc3 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
bef7c122df 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
eb65c24c7b 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
Bill McCloskey
be77cf4a01 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 20:46:58 -08:00
Thomas Nguyen
d67c09f7dd Bug 1345433 - Ensure tests load pass valid triggeringPrincipal. r=ckerschb,JanH
MozReview-Commit-ID: LWcP7drDPwL

--HG--
extra : rebase_source : 3741530254b3cb2627f798cf22eacf64c29a8b9e
2017-10-23 18:15:40 +08:00
Matthew Noorenberghe
a78811c737 Bug 1415739 - Use type/autocomplete properties, instead of attributes, to decide whether to save FormData. r=mikedeboer
The property values are already normalized according to the spec.

MozReview-Commit-ID: DbKZf9KXCji

--HG--
extra : rebase_source : 13b94e29dc0a32185d9fcb60e503988a722ea60a
2017-11-22 16:37:40 -05:00
Kevin Jones
25bd05b91c Bug 1415918 - Allow discarding browsers that have beforeunload handlers in tabbrowser.discardBrowser. r=bz
MozReview-Commit-ID: 5KQcrOQTSpK
2017-11-24 15:14:46 +01:00
Geoff Brown
f74c1a7baf Bug 1381451 - Disable browser-chrome test browser_819510_perwindowpb.js on linux for frequent intermittent failures; r=me, a=test-only 2017-11-23 10:02:23 -07:00
Brindusan Cristian
334a5602dc Merge mozilla-central to inbound r=merge a=merge on a CLOSED TREE 2017-11-21 00:29:02 +02:00
Tooru Fujisawa
50f5bf47cd Bug 1418739 - Part 2: Remove unused delayedStartup parameter from BrowserTestUtils.waitForNewWindow. r=smaug 2017-11-21 03:41:56 +09:00
Tooru Fujisawa
3f7d0cfdfa Bug 1418183 - Wait for the next event tick before resolving Promise for history event in browser/components/sessionstore/test/browser_async_remove_tab.js r=mossop 2017-11-18 22:57:18 +09:00
Gijs Kruitbosch
59ffe6e6ca Bug 1408044 - fix miscellaneous tests that depended on about: existing, r=dao
MozReview-Commit-ID: EKsaFbRoBc4

--HG--
extra : rebase_source : 3c22ed909437a7fa98e2126b4eb8b9c669f98173
2017-11-15 17:19:33 +00:00
Kyle Machulis
be815f3caf Bug 1412437 - Remove nsIDOMHTMLTextAreaElement; r=bz
MozReview-Commit-ID: JAON7Rd7IAo
2017-11-01 14:28:22 -07:00
Mark Banner
01008c7d57 Bug 1412778 - Enable ESLint rule no-cpows-in-tests across the whole tree. r=florian
MozReview-Commit-ID: 8pidN7x6MYh

--HG--
extra : rebase_source : 6a0d6800091231fc1535223bd7fc6df0ba40d47b
2017-10-30 09:55:39 +00:00
Mark Banner
4de6bf22b1 Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: H5YVp3rnzGo

--HG--
extra : rebase_source : 5b45b6c0df834131812d094e975047eaad374e06
2017-10-26 11:47:01 +01:00
Tim Huang
ef781411f3 Bug 1376973 - Part 1: Making the favicon of the allTabs menu obeys originAttributes and rename attribute 'iconLoadingPrincipal' to 'iconloadingprincipal'. r=arthuredelstein,dao
MozReview-Commit-ID: AqjIr7xkXs9

--HG--
extra : rebase_source : 2dc0a20df7fb8a105ff68105b8a7c7c81916f288
2017-10-20 09:19:57 +08:00
Sebastian Hengst
1a0ae7f367 Backed out changeset 0f393e8b236d (bug 1376973) for eslint failures, e.g. in browser/components/originattributes/test/browser/browser_favicon_firstParty.js. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 32d912c7bd61ac0c3dbefbc27f7edd68faaf8c06
2017-10-19 15:45:44 +02:00
Tim Huang
53e1573868 Bug 1376973 - Part 1: Making the favicon of the allTabs menu obeys originAttributes and rename attribute 'iconLoadingPrincipal' to 'iconloadingprincipal'. r=arthuredelstein,dao
MozReview-Commit-ID: AqjIr7xkXs9

--HG--
extra : rebase_source : 01561305466d19d6ee5c0f7faac8bd3704f73790
2017-10-17 20:55:20 +08:00
Mark Banner
42cb2dc6a3 Bug 1230373 - Enable mozilla/use-services for browser/components/ r=mossop
MozReview-Commit-ID: 9m9iss3jUJJ

--HG--
extra : rebase_source : e6a6f9dec168ab1d0e0343236db65f3dd1b44aeb
2017-10-11 15:43:51 +01:00
Mike de Boer
ce114716ab Bug 1402267 - Add a scalar telemetry probe that tracks SessionFile worker restarts. data-r=liuche, r=chutten,liuche,ttaubert
MozReview-Commit-ID: F3kCfz18kcQ

--HG--
extra : rebase_source : 5e1a9f033861e3b42cc27923ba142866c518351c
2017-10-17 12:04:37 +02:00
Dan Banner
7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Dão Gottwald
223f606a50 Bug 1407613 - Remove dropmarker from the generic autocomplete binding. r=mak
MozReview-Commit-ID: DIVPqfbkJnL

--HG--
extra : rebase_source : 00636b09d381b201733be7c6a79433555f106af9
2017-10-11 15:34:57 +02:00
Peter Van der Beken
c705293c1c Bug 1383059 - Remove instanceof for supplemental interfaces. Part 1: add Window.isChromeWindow and switch |instanceof [nsIDOM]ChromeWindow| to use it instead. r=bz.
--HG--
extra : rebase_source : 1efc83abae922c1a7b7eb855fd10a6333615044b
extra : source : 32277b160af4739c812ca2750a39ca111b16ea69
2017-10-06 13:47:27 +02:00
Erica Wright
b4684c64dc Bug 1394457 - Update illustration for about:sessionrestore. ui-r=shorlander, r=dao
MozReview-Commit-ID: FSLb0ucVroj

--HG--
extra : rebase_source : 44a7f125c73b7df15dc85853ce63a7b029903449
2017-09-20 11:30:14 -04:00
Mike Conley
7af643ee8d Bug 1244596 - Re-order awaits on browser loads in browser_revive_crashed_bg_tabs.js to avoid intermittent failure. r=mikedeboer
In this test, it was possible for browser2 to finish loading _before_ the
BrowserTestUtils.browserLoaded function we were awaiting on for browser1 had
yielded back to the test, meaning that by the time we got to run
BrowserTestUtils.browserLoaded(browser2), the browser was already done loading,
and browserLoaded would be waiting for a page load that would never occur.

MozReview-Commit-ID: EagrRrAAdJP

--HG--
extra : rebase_source : 7732395344b0a0f0c584045ea975c0b178efd170
2017-10-03 15:23:47 -04:00
Ryan VanderMeulen
f443914cb9 Bug 1380968 - Fix broken syntax from the previous attempt at disabling. r=me 2017-09-21 10:40:35 -04:00
Nan Jiang
dcc9a5e00a Bug 1352459 - Collect rich icons in ContentLinkHandler. r=mak,Mardak
MozReview-Commit-ID: GrjpuyvY7nm

--HG--
extra : rebase_source : a1800ae9f1626aeeea311ea85c81e50b5dd2094c
2017-09-12 09:47:51 -04:00
Joel Maher
f79bc86156 Bug 1380968 - Disable browser/components/sessionstore/test/browser_522545.js for frequent failures. r=me, a=test-only 2017-09-18 12:00:25 -04:00
Christoph Kerschbaumer
e328a6db15 Bug 1397652 - Update tests within browser/ to comply with new toplevel data: URI navigation policy. r=gijs 2017-09-13 06:56:42 +02:00
Sebastian Hengst
08cf7c642a Backed out changeset b9fdf5d1b402 (bug 1034036)
MozReview-Commit-ID: 6JkYTuLEJQb
2017-09-09 12:58:38 +02:00
Sebastian Hengst
3c3aa7ed62 Backed out changeset 39a94e16a369 (bug 1034036)
MozReview-Commit-ID: IcSi7Zbp96e
2017-09-09 12:58:33 +02:00
Beekill95
72ce1c7a57 Bug 1034036 - Part 3: Tests that use set state should wait until window is restored to continue. r=mikedeboer
MozReview-Commit-ID: 5SZ9ePGMKF1

--HG--
extra : rebase_source : 0078e02a310374b5f54b68e17c824367547b0cc5
2017-08-15 14:45:08 +07:00
Beekill95
0f783a7dba Bug 1034036 - Part 2: Test that we stored correct z-indices and windows creation order, ensure we restore windows in reversed z-index. r=mikedeboer
MozReview-Commit-ID: HlAL2e6o7xX

--HG--
extra : rebase_source : 2166fca2090ca18f7b29a3be6cd0ca63b805335c
2017-07-25 10:53:04 +07:00
Kevin Jones
225104513a Bug 1284886 - Implement discardBrowser method. r=dao
MozReview-Commit-ID: 83ibhCHEaAM
2017-09-05 09:27:47 +02:00
Sebastian Hengst
2ff8041e36 Backed out changeset 14e59ce2ce01 (bug 1284886) for failing own test on Windows 7 debug without e10s. r=backout 2017-09-04 23:54:54 +02:00
Kevin Jones
0a5839402a Bug 1284886 - Add discardBrowser method to tabbrowser.xml, which returns tab to its lazy state. r=dao, r=mikedeboer
--HG--
extra : rebase_source : b63734bccd6a08535e2037fcd05081ade819e40b
2017-09-03 15:31:00 -04:00
Chris H-C
28c67cf8bd bug 1376600 - Remove registered(Keyed)Histograms r=Dexter
With the removal of the old addonHistograms, all histograms are now registered.
So removing registered(Keyed)Histograms should be straightforward?

Unfortunately not, as this was how we filtered data based on dataset
(opt-in/opt-out), so a little more fiddling was needed to get C++ to only
serialize dataset-appropriate data (instead of post-facto filtering it in JS).

MozReview-Commit-ID: HDplhmzmzJl

--HG--
extra : rebase_source : 9c38c97e39e3c4fb192288d751505e1f0f2a2c6d
2017-08-22 09:42:09 -04:00
Samael Wang
984c9ec855 Bug 1375833 - Part 4.2 - Fix session store test case. r=mikedeboer
Previously gecko would drop all subframe history entries on reloading if there
exists one or more dynamic subframes. With bug 1326251 and this bug, now that
dynamic frame entries are bound to bfcache (so they're still dropped on
reloading) but static entries are always kept in normal reloads.

Force reload would still drop all subframes regardless they're static or
dynamic, so for this test case I think we should just use a force reload.

MozReview-Commit-ID: 2mZZa59RMHB

--HG--
extra : rebase_source : 188b27f9566ce0652ca92c7765761ad3fd0b8c99
2017-08-21 18:01:40 +08:00
Dan Banner
f1eb5aaa84 Bug 1392119 - Enable the ESLint no-caller rule across mozilla-central r=standard8
MozReview-Commit-ID: JOC1330iFnh

--HG--
extra : rebase_source : 2afcb219d4a0d78f996bdc2c841456d2dccff605
2017-08-23 13:38:24 +01:00
Beekill95
f932059175 Bug 1388664: Execute _saveStateAsync in idle callback. r=mikedeboer
MozReview-Commit-ID: EmqpUkoUeUi

--HG--
extra : rebase_source : 16da91d7694a32523f4ffdc812422a1e0c9083a7
2017-08-11 08:49:52 +07:00
Mark Banner
a53020d022 Bug 1392098 - Enable the new ESLint no-useless-run-test rule across the tree. r=mossop
MozReview-Commit-ID: 35MaseieNUk

--HG--
extra : rebase_source : 98eaec6a67fd3b30ea6b0be641f26c3911012fab
2017-08-20 18:52:05 +01:00
Christoph Kerschbaumer
3433502e67 Bug 1392095 - Update browser/components/sessionstore/test/browser_739531.js to comply with new data: URI inheritance model. r=smaug 2017-08-21 15:48:06 +02:00
Sebastian Hengst
4ea589bff9 Backed out changeset b91870ea1243 (bug 1392095) for failing browser/components/sessionstore/test/browser_739531.js. r=backout 2017-08-21 13:35:33 +02:00
Christoph Kerschbaumer
727db46407 Bug 1392095 - Update browser/components/sessionstore/test/browser_739531.js to comply with new data: URI inheritance model. r=smaug 2017-08-21 08:59:42 +02:00
Andrew Halberstadt
d2109610fb Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw

--HG--
extra : rebase_source : 8607b3964da207a6076c79b6f1d75b40503cdd7d
2017-08-10 14:48:21 -04:00
Phil Ringnalda
0ff5a4285d Backed out changeset 6896f93a2327 (bug 1385352) for not making it to m-c before the next violation of its new linting rule merged to autoland
MozReview-Commit-ID: 3HDE2C3wSU0
2017-08-10 20:21:19 -07:00
Andrew Halberstadt
f625fd5c37 Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw

--HG--
extra : rebase_source : d72a88962ec8d843e7be99e25f710887f01b6e1a
2017-08-10 14:48:21 -04:00
Beekill95
74e263bd4c Bug 1383073 - Move speculativeConnectOnTabHover to tabbrowser.xml so we don't have to worry about clearing mouseover listeners from tabs. r=dao.
MozReview-Commit-ID: 6Q0EvtJGEIg

--HG--
extra : rebase_source : a7f5653fb025ff845dc232da5ab3d41e858f7b79
2017-07-28 15:03:30 +07:00
Christoph Kerschbaumer
9427f1bbd8 Bug 1381761 - Convert test browser_911547.js to comply with new data: URI inheritance model. r=dveditz 2017-08-04 14:10:21 +02:00
Wes Kocher
baf6cddc4c Merge inbound to central, a=merge
MozReview-Commit-ID: 9NFjSEt96iT
2017-08-02 17:11:51 -07:00
Michael Layzell
93173eaebd Bug 1373672 - Part 3: Expose childOffset from nsIDocShell to use in nsSessionStoreUtils, r=ttaubert, r=smaug
The reasoning behind this is that with this change, removing a non-dynamic
docshell from the document dynamically shouldn't affect the indexes which we use
for both recording and restoring data in child docshells.

MozReview-Commit-ID: JIK8GBSWDEF
* * *
fixup
From c2cb8e33211348c36b1ce18bb62e6465fa46d3ae Mon Sep 17 00:00:00 2001
2017-08-02 19:08:19 +02:00
Tim Taubert
26a7909744 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
Rajesh Kathiriya
48e6bc2124 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : b455e846ab79c8141150517e67e542e3e06d630e
2017-07-25 23:45:41 +05:30
Andrew Halberstadt
ef2417d716 Bug 1385356 - Skip browser_tabicon_after_bg_tab_crash.js and browser_child_resources.js if crashreporter is disabled, r=mccr8
These tests use BrowserTestUtils.crashBrowser() and fail with ASan enabled.

MozReview-Commit-ID: CpkldaKouzD

--HG--
extra : rebase_source : 02c4c0c13e7ab3ba144b2922b0cc54913daa6ab9
2017-07-28 14:47:00 -04:00
Sebastian Hengst
804a36e668 Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout 2017-07-31 14:44:34 +02:00
Rajesh Kathiriya
22dfa54ef4 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : 5992bdde34bcc2421350433bc8c1e498a6bba848
2017-07-25 23:45:41 +05:30
Chris H-C
a21051c236 bug 1366294 - Part 13 - Fix telemetry-using tests. r=Dexter
Some tests were using "secret" APIs to get at telemetry knowledge from various
processes in various ways. Adjust them so that they work with the new ways of
doing things.

MozReview-Commit-ID: 2iBL00HVGyg
2017-07-24 09:52:26 -04:00
Wes Kocher
051dc17e6c Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: GYc8r8gnS0j
2017-07-21 18:12:55 -07:00
Ryan VanderMeulen
f4e3a91992 Merge m-c to inbound. a=merge 2017-07-21 09:40:28 -04:00
Beekill95
787d320805 Bug 874533 - Part 2: Test connections prepared when users hover mouse on tabs or when restoring automatically. r=mikedeboer
MozReview-Commit-ID: 4rfhQF2WVwn

--HG--
extra : rebase_source : 6561a85ddeeb17cabc9fc2b4bbf2d06f3b92d8ae
2017-06-23 10:29:32 +07:00
Sebastian Hengst
48896371e9 Backed out changeset e7a3ac603f7c (bug 1366294) 2017-07-21 15:19:21 +02:00
Chris H-C
2ce21e2a22 bug 1366294 - Part 13 - Fix telemetry-using tests. r=Dexter
Some tests were using "secret" APIs to get at telemetry knowledge from various
processes in various ways. Adjust them so that they work with the new ways of
doing things.

MozReview-Commit-ID: 2iBL00HVGyg
2017-07-21 08:41:44 -04:00
Tim Taubert
13ee60d3e3 Bug 1382635 - FormDataListener shouldn't listen for change events r=mikedeboer 2017-07-21 10:35:25 +02:00
Tim Taubert
a92639f8e8 Bug 1348816 - Remove PageStyle collection/restoration from SessionStore r=mikedeboer 2017-07-21 10:35:20 +02:00
k88hudson
f4e4b2bc68 Bug 1382746 - Provide a helper function to remove the preloaded browser r=Mardak
MozReview-Commit-ID: 2PSIhwvKTKA

--HG--
extra : rebase_source : bc24f4c640ee5b8d5f8305f29fde7d56f103070e
2017-07-20 14:32:39 -04:00
Sebastian Hengst
0b9b3f0528 Backed out changeset b194f4fb6731 (bug 874533) 2017-07-18 18:21:40 +02:00
Beekill95
77f151c7c2 Bug 874533 - Part 2: Test connections prepared when users hover mouse on tabs or when restoring automatically. r=mikedeboer
MozReview-Commit-ID: 4rfhQF2WVwn

--HG--
extra : rebase_source : ae4df8a16964cdc0eadcddd790747037684698cf
2017-06-23 10:29:32 +07:00
Dão Gottwald
0da38d02f4 Bug 1367630 - part 1: Refactor tab label update mechanism to better handle tabs without a content title. f=cpeterson r=mikedeboer
MozReview-Commit-ID: JKkN08enLyQ

--HG--
extra : rebase_source : e8f11ff69881357f7246019435230b8b46aec3b5
2017-07-14 09:46:55 +02:00
Wes Kocher
e9fa5c772a Merge inbound to central, a=merge
MozReview-Commit-ID: 8nlqm5dHCUQ
2017-07-14 17:14:43 -07:00
Geoff Brown
e69d97cdb7 Bug 1244904 - Skip all browser/components/sessionstore tests on non-e10s Linux; r=mikedeboer 2017-07-14 10:51:07 -06:00
Will Wang
47e943466e Bug 1328013 - Do not collect the flag of allowJavascript DocShell capabilities. r=mikedeboer 2017-07-10 16:56:48 +08:00
Sebastian Hengst
c3bdf442b0 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
--HG--
extra : amend_source : 7ae39f6dca050173fd0c1103d309b7a9a175a377
2017-08-01 12:39:21 +02:00
Sebastian Hengst
73c25eaf60 Backed out changeset 36bb09c4b28e (bug 1373672) 2017-08-01 12:38:20 +02:00
Michael Layzell
2c2323bccd Bug 1373672 - Part 3: Expose childOffset from nsIDocShell to use in nsSessionStoreUtils, r=ttaubert, r=smaug
The reasoning behind this is that with this change, removing a non-dynamic
docshell from the document dynamically shouldn't affect the indexes which we use
for both recording and restoring data in child docshells.

MozReview-Commit-ID: JIK8GBSWDEF
2017-08-01 11:22:53 +02:00
Tim Taubert
36e075eddf 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
Kartikaya Gupta
886f95d406 Back out cset 6e3e79a9b873 from bug 1364764 to re-enable the test, since the assertion has been removed instead. r=backout 2017-07-12 12:23:41 -04:00
Will Wang
dd03c7ac9b Bug 1366213: Part 2 - Make session restore component switch to observe new topic 'session-cookie-changed' instead of 'cookie-changed'. r=mikedeboer
--HG--
extra : rebase_source : beabb6499eb9c00cd0eda70fe7f08acefd4f7ed1
2017-06-30 12:09:31 -07:00
Wes Kocher
5dd57ee395 Merge m-c to inbound, a=merge
MozReview-Commit-ID: IVwrN2VivZT
2017-07-07 17:30:32 -07:00
Geoff Brown
2f0b3fe766 Bug 1364764 - Skip test browser_windowStateContainer.js, for intermittent crashes; r=me,test-only 2017-07-07 15:10:05 -06:00
Dão Gottwald
9c558dec2a Bug 1378703 - Make browser_tab_label_during_restore.js more robust and clean up browser_label_and_icon.js. r=cpeterson
MozReview-Commit-ID: JaGqbumotIn

--HG--
extra : rebase_source : 8a60086cac3de5c99733dda5abc6a5a6e98a51fe
2017-07-06 11:40:42 +02:00
Frederik Braun
56838ddb04 Bug 1351608 - Disable warnings for existing violations to no-unsanitize rule r=Standard8.
MozReview-Commit-ID: 7cTNL5jMtRw
2017-07-03 20:07:02 +01:00
Carsten "Tomcat" Book
daa67cc9e3 merge mozilla-inbound to mozilla-central a=merge 2017-06-30 12:59:45 +02:00
Paolo Amadini
2c8564b0b5 Bug 1376986 - Remove ability to customize restriction tokens. r=mak
MozReview-Commit-ID: 3JuLExJwF6z

--HG--
extra : rebase_source : 1121d85ee910eb7e84a346cb1ead4c591e2ca066
2017-06-29 01:10:37 +01:00
Blake Kaplan
05d57f4f59 Bug 1375710 - Remove CPOWs from browser_500328.js. r=Gijs
This also reworks an async function to read more linearly.

MozReview-Commit-ID: JPzRlCNWY65

--HG--
extra : rebase_source : 55cbcfca6026f9700daa0061ba38615be5670b90
2017-05-17 17:49:26 -07:00
Alastor Wu
b58f62a199 Bug 1347791 - part4 : keep tab's block state consistent after session restore. r=dao,mikedeboer
If the tab was resumed before, it could start playing any autoplay media without user's
permission after session restore.

MozReview-Commit-ID: C3DHIIsLtJA

--HG--
extra : rebase_source : d415d26d9ddcc9cb2949eb3215aee74f4c85912c
2017-06-29 05:46:28 -07:00
Carsten "Tomcat" Book
259377b6ab merge mozilla-inbound to mozilla-central a=merge 2017-06-26 13:25:51 +02:00
Wes Kocher
e423d726ed Backed out 2 changesets (bug 1365643) for frequent failures in browser_forget_async_closings.js on Windows a=backout CLOSED TREE
Backed out changeset c5e8b08a4635 (bug 1365643)
Backed out changeset 9377a56fe004 (bug 1365643)
2017-06-23 14:57:22 -07:00
Florian Quèze
2924991bf6 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
Beekill95
a5a838af1a Bug 934967 - Part 3: Add test cases to check session store's migration to using lz4 compression. r=mikedeboer
MozReview-Commit-ID: 6lE8MPqcLdr

--HG--
extra : rebase_source : dd89ab6f11952f306319128cfa7d29b687056d45
2017-06-14 15:39:04 +07:00
Beekill95
cd56c36640 Bug 934967 - Part 2: Make test cases read lz4 compressed version of session store files and create a frequently use function in head.js. r=mikedeboer
MozReview-Commit-ID: A7X7TwOwvxC

--HG--
extra : rebase_source : 60a595dd4da3b50f231fbd8d007d3b2f78786563
2017-06-14 15:38:30 +07:00
Dan Mosedale ext:(%3E)
3f4c5880c0 Bug 1365643 - temporarily disable preload patch until the rest of this bug relands, r=Mardak
MozReview-Commit-ID: Cl5Oqsq1txX

--HG--
extra : rebase_source : a016340a435e388abdf28e876cc00b3d391327c7
2017-06-22 12:31:43 -07:00
Florian Quèze
7375dcec46 Bug 1374282 - script generated patch to remove generators from add_task in browser/ and toolkit/, r=Mossop. 2017-06-22 12:51:43 +02:00
Mike de Boer
88c964c223 Bug 1373116 - Disable browser_windowStateContainer.js mochitest on Linux until it is fixed. r=jmaher
MozReview-Commit-ID: DLaTgAnnFhE

--HG--
extra : rebase_source : 0d86b9d78b8bac84a8389490d8015bfcce926b55
2017-06-21 13:46:04 +02:00
k88hudson
8959faf201 Bug 1373271 - Handle crashes in preloaded browsers in tabbrowser r=mconley
MozReview-Commit-ID: IVMQOOsyMnZ

--HG--
extra : rebase_source : 536517888ee3a907b95bc2c27d8e5380f8c50d80
2017-06-15 12:27:06 -04:00
Wes Kocher
97ce4573b9 Backed out changeset 65ff5356cdfa (bug 1373271) for leaking a window in browser_1234021.js a=backout
MozReview-Commit-ID: LZT4Q7ixilz
2017-06-19 17:47:00 -07:00
k88hudson
b7dbeaa205 Bug 1373271 - Handle crashes in preloaded browsers in tabbrowser r=mconley
MozReview-Commit-ID: IVMQOOsyMnZ

--HG--
extra : rebase_source : a36f0629532f890c4d43f189b764fd0c682d70de
2017-06-15 12:27:06 -04:00
Paolo Amadini
585fbe6cec Bug 1242505 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : b6573f8e2001f91d0e5a50f6376b191459549e94
extra : intermediate-source : 0411e687044ecc7b56684196238e6e6e68a9d685
extra : source : 8d53be05afc59519c5ce8cfae96d284a972fda71
2017-06-18 08:05:06 +01:00
Mike Conley
b659b49c15 Bug 1370035 - Remove pending tab optimization now that tabs are injected lazily. r=dao
MozReview-Commit-ID: HTWVmFHtFv0

--HG--
extra : rebase_source : 98241bcf2c01fbca83b612a674b8da1ae430d6c2
2017-06-13 16:48:08 -04:00
Chris Peterson
e3153e78e2 Bug 1366870 - Part 2: Set initial tab title to URL's hostname until we know the actual page title. r=dao
We currently show a full URL as the initial tab title (e.g. "https://www.mozilla.org/en-US/") until the page loads and we know the actual page title. When loading multiple tabs, such as during session restore, many tabs will have the same undifferentiated tab title prefix like "https://www....". Since the URL scheme and "www." subdomain are not meaningful to users, just show the URL's hostname without any "www." prefix (e.g. "mozilla.org").

Other browsers' initial tab titles for comparison:

* Firefox 54 uses "Connecting...".
* IE11 uses the same "hostname without www" placeholder as this changeset.
* Edge uses "Blank page".
* Chrome uses "Loading..." on Windows and "Untitled" on Mac.
* Safari uses "Untitled".

MozReview-Commit-ID: JxLxvBjpIBh

--HG--
extra : rebase_source : b57987e2d61b2798b4e85045ac03a0a33965d138
2017-06-10 12:39:18 -07:00
Chris Peterson
cc716fd2c1 Bug 1366870 - Part 1: Add test for about: pages' initial tab titles. r=dao
This test case documents the current behavior of about: pages's initial tab titles. The fix for bug 1364127 caused about: pages' initial tab titles to show their about: URIs until their actual page titles are known, e.g. "about:addons" -> "Add-ons Manager". This is bug 1371896. Previously, about: pages' initial tab titles were blank until the page title was known.

This test case uses the about:robots page because its title is not localized, which makes testing easier.

MozReview-Commit-ID: JGaRciaZUEC

--HG--
extra : rebase_source : a55a6d438774462e8862f9c3890d32f9dfa6f511
2017-05-29 14:58:57 -07:00
Joel Maher
b44356bc28 Bug 1368364 - backout bug 1242505 as it causes browser/modules/ intermittent failures. r=paolo 2017-06-03 10:34:14 +02:00
Geoff Brown
881795c074 Bug 1331853 - Skip browser_dying_cache.js on Windows, for intermittent failures; r=WillWang 2017-06-01 08:25:33 -06:00
Paolo Amadini
d7513d1e02 Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : 64395c5fdf25deebd60dfbf2cf5df3cbf7ca8abb
extra : amend_source : 0a3f13419c050662680f2bd110d724b3bf991732
extra : source : 8d53be05afc59519c5ce8cfae96d284a972fda71
2017-05-28 11:46:45 +01:00
Sebastian Hengst
8d47870cdc Backed out changeset 8d53be05afc5 (bug 1242505) 2017-05-28 11:31:12 +02:00
Paolo Amadini
8edd3b1d5c Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : 59e5b84cb431f3ca28287d30a3da8fbea1363ec5
2017-05-25 15:00:35 +01:00
Ryan VanderMeulen
1734a80650 Merge m-c to inbound. a=merge 2017-05-23 11:15:49 -04:00
Kevin Jones
a8af367238 Bug 1365933 - Unit test for tabData.entries nonexistent/empty regression. r=mikedeboer 2017-05-22 10:39:00 -06:00
Julian Descottes
8d5696d571 Bug 1361054 - move scratchpad sessions test to devtools/client/scratchpad;r=mikedeboer
DevTools are moving out of mozilla central, and since this test is relying on scratchpad
being available, it would probably make sense to move it to the scratchpad test suite
which will still be run in the new devtools continuous integration setup.

MozReview-Commit-ID: 19x6Ccp85ND

--HG--
rename : browser/components/sessionstore/test/browser_644409-scratchpads.js => devtools/client/scratchpad/test/browser_scratchpad_sessions.js
extra : rebase_source : bf564025199748b43ef56333f5c5626b266be1ca
2017-05-01 17:42:28 +02:00
Dão Gottwald
5675800b1d Bug 1365780 - Consistently dispatch the TabAttrModified event and update the title bar when setting tab labels. r=mikedeboer
MozReview-Commit-ID: 1SNHtyw5hQ8

--HG--
extra : rebase_source : ab9176f3a90531f57a448f2661fa0b70e48d4f7a
2017-05-19 14:19:06 +02:00
Carsten "Tomcat" Book
c60f5362f4 Backed out changeset 888dc371081a (bug 1347791) 2017-05-17 08:11:05 +02:00
Alastor Wu
a483732a11 Bug 1347791 - part4 : keep tab's block state consistent after session restore. r=mikedeboer
If the tab was resumed before, it could start playing any autoplay media without user's
permission after session restore.

MozReview-Commit-ID: C3DHIIsLtJA

--HG--
extra : rebase_source : 9517525aa242bff3150a902070544cf64c5ba6c1
2017-05-17 11:56:10 +08:00
Andreas Tolfsen
6935e40966 Bug 1355890 - Move robot favicon to separate file r=Gijs
Robot favicon (image/png) is currently only used in about:robots
(browser/base/content/aboutRobots.xhtml), but we intend to re-use this
resource for indicating that the browser is under remote (robot) control.

MozReview-Commit-ID: 4eTNbAITPQx

--HG--
extra : rebase_source : 765e4e2d7abe95ecc48b6a55582bde73fb689d5e
2017-04-27 22:59:16 +01:00
Christoph Kerschbaumer
e4f38c8d7c Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Sebastian Hengst
484d2b7f51 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Jduo3F6TzgF
2017-05-14 18:04:29 +02:00
Honza Bambas
d6d727a69e backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-13 13:55:11 +02:00
Wes Kocher
0a1e1fe23b Backed out changeset 95ff98f1c2e5 (bug 1319111) for talos failures a=backout
MozReview-Commit-ID: Gs09moFm5rQ
2017-05-12 18:24:42 -07:00
Dão Gottwald
569c55f5cb Bug 1364127 - Set the initial tab label to the URL for new tabs and to the saved title for restored tabs, and make sure that label doesn't subsequently get clobbered with a placeholder r=past
MozReview-Commit-ID: 9t07uAVE13H

--HG--
extra : rebase_source : c3e317bf0d149593b5a5119a878be96ef36b81db
2017-05-12 13:35:44 +02:00
Joel Maher
21a5910c0f Bug 1348583 - Intermittent browser/components/sessionstore/test/browser_625016.js. temporarily disable on linux/debug. r=gbrown
MozReview-Commit-ID: 3gWsdhJ167A
2017-05-12 16:19:41 -04:00
Honza Bambas
70f62bdec1 backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-12 22:13:49 +02:00
Florian Quèze
97f401c644 Bug 1362882 - script-generated patch to switch from Promise.defer() to new Promise() where it's straightforward, rs=Mossop. 2017-05-12 14:55:27 +02:00
Florian Quèze
16530fa1e3 Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop. 2017-05-12 14:45:01 +02: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
Wes Kocher
3b736de62a Merge m-c to inbound, a=merge
MozReview-Commit-ID: ADbja7mAY4s
2017-05-11 17:41:11 -07:00
Ryan VanderMeulen
ff1d6f6f88 Merge m-c to autoland. a=merge 2017-05-11 11:30:47 -04:00
Sebastian Hengst
db8f56dd23 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: HWYxZeNWish
2017-05-11 16:50:12 +02:00
Christoph Kerschbaumer
a38d7ccf1e Bug 1363689 - Have gBrowser.loadTabs() provide a valid triggeringPrincipal. r=gijs 2017-05-11 08:44:13 +02:00
Christoph Kerschbaumer
8972930163 Bug 1363687 - Have gBrowser.loadOneTab() provide a valid triggeringPrincipal. r=gijs 2017-05-11 08:43:54 +02:00
Kevin Jones
4d0d5937ec Bug 1363078 - Refuse to insert lazy browsers in closed windows. r=dao
MozReview-Commit-ID: Gc783ESwXjv
2017-05-11 22:31:15 +02:00
Dão Gottwald
bb5a155daa Bug 1363902 - Simplify some browser chrome tests by utilizing TestUtils.topicObserved. r=mikedeboer
MozReview-Commit-ID: Flc8iE19Gkt

--HG--
extra : rebase_source : ece0308fbf7b8a24abd44ca9b8e3745abdf1cd17
2017-05-11 00:24:37 +02:00
Mark Banner
2bf9485071 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM

--HG--
extra : rebase_source : e462e84bf8f2ffd893d1fd6b5ea14bbc093168dd
2017-05-08 10:29:47 +01:00
Sebastian Hengst
95a418ca5b Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout 2017-05-11 10:15:55 +02:00
Mark Banner
256aeb441c Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM

--HG--
extra : rebase_source : f1b9eeb1b2048b551ee8c0a596e6395d0031cc4d
2017-05-08 10:29:47 +01:00
Carsten "Tomcat" Book
f40e5ddeb7 Merge mozilla-central to mozilla-inbound 2017-05-11 12:53:41 +02:00
Frederik Braun
cd1cbcef0f Bug 1359350: Add no-eval rule to eslint config (and whitelist failures in tests) r=standard8
MozReview-Commit-ID: 4nYlX4sSdbF

--HG--
extra : rebase_source : cf610e7d8bf2b8dbd5a0d40c5b835bc6620c3bba
2017-05-08 14:50:50 +02:00
Wes Kocher
efab9f9365 Merge inbound to m-c a=merge
MozReview-Commit-ID: KSYtdX2VPce
2017-05-05 14:03:31 -07:00
Tim Taubert
00fc6cad00 Bug 1362058 - Further limit the amount of sessionStorage data we store and serialize r=mikedeboer 2017-05-05 12:17:09 +02:00
Carsten "Tomcat" Book
6ae9b7bb71 Merge mozilla-central to autoland
--HG--
rename : browser/base/content/gcli_sec_bad.svg => devtools/client/themes/images/gcli_sec_bad.svg
rename : browser/base/content/gcli_sec_good.svg => devtools/client/themes/images/gcli_sec_good.svg
rename : browser/base/content/gcli_sec_moderate.svg => devtools/client/themes/images/gcli_sec_moderate.svg
2017-05-05 15:27:55 +02:00
Dão Gottwald
39669a550b Bug 1054740 - Stop reusing tabs when restoring windows since at this point it's counterproductive rather than a useful optimization. r=mikedeboer
MozReview-Commit-ID: EuM08mEhDqZ

--HG--
extra : rebase_source : 43fc0410045f0efe48db2ae14d56994a90bded5f
2017-05-04 14:26:32 +02:00
Honza Bambas
a1b64b4694 Bug 1319111 - Expose URI to make security check against on LoadInfo (no LOAD_REPLACE flag). r=bz 2017-01-27 19:10:01 +01:00
Tim Taubert
3fe719f573 Bug 1360916 - Fix timeouts in browser_sessionStorage_size.js r=bustage 2017-05-03 17:22:07 +02:00
Tim Taubert
c9074e0e0a Bug 1360916 - Update telemetry code in sessionstore content script r=mikedeboer data-r=bsmedberg
This patch replaces FX_SESSION_RESTORE_CONTENT_COLLECT_DATA_LONGEST_OP_MS with
a more fine-grained data collection via a keyed histogram so that we can
determine which type of data collection we spend a lot of time on.

Additionally, it abandons sending telemetry data from the content to the parent
via custom messages and instead uses the Telemetry service directly. Thus it
also gets rid of a bug that currently overrides measurements for the same
histogram done quickly in succession
2017-05-03 12:06:34 +02:00
Dão Gottwald
7e8d0c8454 Bug 1361428 - Split up browser_615394-SSWindowState_events.js. r=mikedeboer
MozReview-Commit-ID: 53FZf1xXd1K

--HG--
rename : browser/components/sessionstore/test/browser_615394-SSWindowState_events.js => browser/components/sessionstore/test/browser_615394-SSWindowState_events_duplicateTab.js
rename : browser/components/sessionstore/test/browser_615394-SSWindowState_events.js => browser/components/sessionstore/test/browser_615394-SSWindowState_events_setBrowserState.js
rename : browser/components/sessionstore/test/browser_615394-SSWindowState_events.js => browser/components/sessionstore/test/browser_615394-SSWindowState_events_setTabState.js
rename : browser/components/sessionstore/test/browser_615394-SSWindowState_events.js => browser/components/sessionstore/test/browser_615394-SSWindowState_events_setWindowState.js
rename : browser/components/sessionstore/test/browser_615394-SSWindowState_events.js => browser/components/sessionstore/test/browser_615394-SSWindowState_events_undoCloseTab.js
rename : browser/components/sessionstore/test/browser_615394-SSWindowState_events.js => browser/components/sessionstore/test/browser_615394-SSWindowState_events_undoCloseWindow.js
extra : rebase_source : 4a026542cd2716f2fccf49792064d89cc343d873
2017-05-02 19:41:12 +02:00
Sebastian Hengst
532800137b Backed out changeset db9f3b377504 (bug 1054740) for failing Marionette's test_prefs.py TestPreferences.test_clear_pref, at least on Linux in non-e10s mode. r=backout on a CLOSED TREE 2017-05-03 23:15:56 +02:00
Wes Kocher
4e89a77541 Merge m-c to autoland, a=merge
MozReview-Commit-ID: F7qkNALe0WT
2017-05-03 13:52:24 -07:00
Dão Gottwald
1d352d917c Bug 1054740 - Stop reusing tabs when restoring windows since at this point it's counterproductive rather than a useful optimization. r=mikedeboer
MozReview-Commit-ID: LhJDs9GSxuK

--HG--
extra : rebase_source : 96cb427ada78ee70368f6cb1d4cad4811681c454
2017-05-03 21:57:06 +02:00
Sebastian Hengst
76d0313771 Backed out changeset 43f195f28f6a (bug 1054740) for failing test_quit_restart.py TestQuitRestart.test_in_app_restart_with_callback in Mn-e10s on OSX 10.10 opt. r=backout 2017-05-03 18:50:18 +02:00
Dão Gottwald
b5ee7d0b7b Bug 1054740 - Stop reusing tabs when restoring windows since at this point it's counterproductive rather than a useful optimization. r=mikedeboer
MozReview-Commit-ID: EgninUdUHir

--HG--
extra : rebase_source : cd5460a09d8e5918a17d964e520d7500348d9a4e
2017-05-03 11:19:31 +02:00
Christoph Kerschbaumer
3e5250e481 Bug 1359545 - Update tests to pass triggeringPrincipal to loadURI. r=bz, r=gijs
--HG--
extra : rebase_source : 18f001b434fbe0d6075558f086fd8263a7b2a19b
2017-04-26 21:45:30 +02:00
Florian Queze
b6597dcb0c Bug 1359111 - stop using BrowserUtils.makeURI, r=jaws. 2017-04-25 09:21:49 +02:00
Kevin Jones
a7fa6eb9b7 Bug 1345090 - Modify SessionStore to restore tabs with lazy browsers. r=mikedeboer,dao
MozReview-Commit-ID: 5J5UqlWMxKX
2017-04-20 11:01:09 +02:00
Jim Porter
3517459260 Bug 1352069 - Introduce a pref that allows for disabling cosmetic animations r=jaws
This rolls browser.tabs.animate, browser.fullscreen.animate, and
alerts.disableSlidingEffect into a single pref; if any of these are disabled,
we'll disable the new pref too (toolkit.cosmeticAnimations.enabled). Most
future animations will also be subject to this pref.

MozReview-Commit-ID: 77pLMtERDna

--HG--
extra : rebase_source : 8939e453c2277caa4a90123ae09bb542aaa421ed
2017-04-11 13:47:31 -05:00
Florian Queze
4c6a68d1c9 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
f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
159215e6f4 Backed out changeset 18d45aa984d6 (bug 1355161) 2017-04-14 23:39:23 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst
738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Queze
a363fb8c8b 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
Bob Silverberg
b945ec9ade Bug 1344857 - SessionStore does not return titles for tabs which have a url that is identical to the title, r=mikedeboer
MozReview-Commit-ID: H7dHJo6rOuz

--HG--
extra : rebase_source : 6f4c483db21d659e84878f29bb1bb4e7ab6e3781
2017-04-11 13:50:24 -04:00
Carsten "Tomcat" Book
3a762886de Merge mozilla-central to mozilla-inbound 2017-04-07 15:33:03 +02:00
Tim Taubert
4da3a7f72e Bug 912717 - Tiny follow-up to fix ESLint bustage caused by a test file r=bustage 2017-04-07 15:09:46 +02:00
Tim Taubert
afed0705da Bug 912717 - Don't let SessionCookie collection jank the chrome process r=mikedeboer
Current state:
--------------

Session cookies - those that have no Expires or Max-Age directive, sent as a
header or set via document.cookie - are meant to live for the duration of a
session. SessionStore is a feature that aims to enable users to resume where
they left off last time they closed the browser. So SessionStore will persist
and restore those cookies that the cookie service only keeps in memory.

SessionCookies.jsm registers observers with the cookie service and is thus
notified of cookie additions, deletions, and modifications as-it-happens. It
has its own internal storage that we could easily serialize and write to disk
together with the rest of the session data.

The hangs shown in various profiles stem from the fact that since the inception
of SessionStore as an add-on around Firefox 2, cookies have been tacked to
windows. This means that whenever we collect session data for a specific
window (i.e. tabs, their shistory entries, etc.) we have to iterate *all* its
tabs and *all* their shistory entries to enumerate the hosts contained in that
window. We will then ask the internal cookie store in SessionCookies.jsm to
give us all cookies for these hosts and then store them together with the
window. This way we filter out cookies from tabs/hosts that have no active
documents (BFCache counts as "active").

Changes in this patch:
----------------------

Instead of trying to only retain cookies from “active” documents, i.e. those
contained somewhere in the shistory of a tab, we now simply save all session
cookies of the session. This will surely reduce user complaints about us
"logging them out" too fast because we discard cookies from tabs they
open only once in a while, although those definitely belong to the
browsing session.

Instead of storing the cookies per each window we now have a top-level
"cookies" attribute that is a list of cookies. These get restored whenever we
restore a session. Legacy window.cookies attributes will still be restored to
support older session formats for a while.

The DEFER_SESSION startup mode is active by default when a user choses not to
restore their whole session automatically but they still have one or more
pinned tabs. These pinned tabs are restored automatically and split off of the
rest of the session. The rest can be restored manually if the user chooses to
do so.

In the past, we here extracted and restored only the pinned tabs' cookies from
the last session. This filtering also works against how some sites (e.g.
Google) use session cookies. It also means we have to iterate all windows,
tabs, shistory entries, and cookies to find the data we want.

This patch changes our past behavior so that we now restore only pinned tabs
but all session cookies. So we don't have to filter, and pages will break less
likely. We hereby assume that a user having pinned tabs wants to continue their
browsing session partially, although without Firefox remembering the exact list
of tabs. Or they simply like starting off of a clean slate.
2017-04-07 14:41:38 +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
Joel Maher
16ec3a15a0 Bug 1341980 - Intermittent browser/components/sessionstore/test/browser_819510_perwindowpb.js - disable on osx. r=gbrown
MozReview-Commit-ID: J3IL8cHAmau
2017-04-06 07:29:53 -04:00
Mike Conley
e80d1e033b Bug 1351677 - Fix a race in browser_394759_purge.js. r=mikedeboer
MozReview-Commit-ID: J1z8Y5Zbwgz

--HG--
extra : rebase_source : 31cbee03b926e60f914ad2f9914ebd9bd6953c4f
2017-04-04 16:02:06 -04:00
Mike Conley
56cf3663de Bug 1351677 - Update browser_remoteness_flip_on_restore test to account for initial tab swapping. r=mikedeboer
MozReview-Commit-ID: 152bkpjVsPv

--HG--
extra : rebase_source : e32116c6f3baef212bc366a758cde6ad8b0494c5
2017-04-04 16:01:28 -04:00
Will Wang
9ab097c6ac Bug 1305950 - Don't collect/save the session when the user is idle. r=mdeboer
This patch includes:
- (By Yoric) Don't collect/save the session when the user is idle;r=mdeboer
- Add a test for the behavior of state writing in idle/active mode

When the user is not actively using the computer, webpages may still
perform changes that require (re)writing to sessionstore, e.g.  updating
Session Cookies or DOM Session Storage, or refreshing, etc. Before
this patch, a single active page can require us to
recollect/serialize/write the entire Session Restore file every 15
seconds even when the user is not in front of the computer.

We expect that, when the user is not in front of the computer, changes
are not critical and don't need to be saved as often. We now adopt the
following strategy:

- when the user has been away for (by default) 15 seconds, finish any
  pending collect/write, then increase the collect/write buffering
  delay to (by default) 1h

- when the user returns, reschedule any pending 1h collect/write as a
  (by default) 15 seconds collect/write, then proceed with (by
  default) 15 seconds collect/write delays.

--HG--
extra : histedit_source : b7ea6a6fbfee2f3a2bddeaa69b6446d7544c2585
2017-03-31 11:38:01 +08:00
Tim Taubert
ff47acdd0e Bug 1352365 - Remove duplicate PrivacyLevel checks in SessionCookies.jsm r=mikedeboer
PrivacyLevel checks currently allow to disable storing secure cookies and any
cookies belonging to an HTTPS host, or completely disable storing cookies. We
call PrivacyLevel.canSave() for every host found in the shistory of a given
window's tabs. We then call it again for every cookie when retrieving all
cookies stored for a given host.

The two different privacy checks exist because in the past an HTTP site could
send a secure cookie too. Since Firefox 52 this isn’t possible anymore, only
HTTPS sites can send secure cookies. So as soon as nsICookie.isSecure=true
we know the site was loaded over TLS.

That means there are the following scenarios:

[PRIVACY_LEVEL=NONE] (default)
We store all cookies.

[PRIVACY_LEVEL=FULL]
We store no cookies at all.

[PRIVACY_LEVEL=ENCRYPTED]
HTTP site sends cookie: Store.
HTTP site sends secure cookie: Can't happen since Fx52
HTTPS site sends cookie: Store. The site is HTTPS but we should store the
cookie anyway because the "Secure" directive is missing. That means the
site wants us to send it for HTTP requests too.
HTTPS site sends secure cookie: Don't store.

This allows us to simplify the code and remove the per-host PrivacyLevel
checks. Checking nsICookie.isSecure is enough to tell whether we want
to keep a cookie or not.
2017-03-31 11:54:18 +02:00
Wes Kocher
914dd4b76c Merge inbound to m-c a=merge 2017-03-28 13:30:56 -07:00
milindl
6109edd9bd Bug 1247201 - yield on tests using removeDataFromDomain,r=mak
This changeset changes tests using ForgetAboutSite.removeDataFromDomain
to yield on it, since now it is a Task

MozReview-Commit-ID: 72OEYoO1avd

--HG--
extra : rebase_source : 9ea8cc06493c3e965d260dc9377461ff29fe572a
2017-03-17 14:29:48 +05:30
Geoff Brown
117eae5d10 Bug 1284312 - Skip browser_819510_perwindowpb.js on win64 for persistent intermittent failures; r=jmaher 2017-03-28 08:15:12 -06:00
Jan Henning
8da83bac15 Bug 1265818 - Part 4 - Test that scroll positions for previous session history entries are restored on Desktop. r=mikedeboer
This extends the existing the existing scroll position test by navigating to a second page and then checking that after closing and restoring that tab, the scroll position is restored not only for the current history entry, but after going back as well.

MozReview-Commit-ID: Ddig1Mfo5rz

--HG--
extra : rebase_source : 20bdc1f116b27f7386a9b7d1cdc0ad383b21b99c
2017-02-19 22:17:28 +01:00
Mike Conley
e5f75b2640 Bug 1096013 - Add a test that ensures that we don't lose the favicon for background tabs that crash. r=mikedeboer
MozReview-Commit-ID: BoF62uPSfUC

--HG--
extra : rebase_source : 5549eaa87adcf93b81dbebc6e7e69c3ab5fc0e78
2017-03-24 10:26:49 -04:00
Joel Maher
48d7c50fac Bug 1211084 - Intermittent e10s browser_async_remove_tab.js. disable on debug. r=mikedeboer
MozReview-Commit-ID: BxYvy8WswY1
2017-03-24 09:50:49 -04:00
Jared Wein
a54eda04ca Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.

MozReview-Commit-ID: ANyg2qfo3Qx

--HG--
extra : rebase_source : 61d2aa91bf9474af3d72a5dea41b25dca442c1b7
2017-03-21 14:29:43 -04:00
Mark Banner
bd625e4e9f Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6

--HG--
extra : rebase_source : 83eaf40c5cbb5e25cfb3f3b5afadf4fbf0422c92
2017-03-20 12:36:37 +01:00
Mike Conley
5d82a3b36c Bug 1256472 - When restoring a window, initialize each browser tab as remote if possible. r=mikedeboer
Originally, we were forcing these restored background tabs to be non-remote by default.
This was because we didn't want them to show the crashed tab favicon nor show about:tabcrashed
if the user hadn't restored them before.

Bug 1241459 added infrastructure that makes it possible to put crashed background tabs into
the "restore on demand" state again, without showing about:tabcrashed or showing the crashed
tab favicon.

This means we should be able to restore tabs in the content process again which should take
some load off of the parent process during session restore, which is good for perceived
performance.

Note that if the content process does crash, the background tabs are then loaded in the parent
process. Restoring them on demand will then do the remoteness flip.

MozReview-Commit-ID: 1mWe0td6geB

--HG--
extra : rebase_source : ea872b615ebe3d8639b214bfafc5e358ba6e65fd
2017-03-14 10:01:38 -04:00
Joel Maher
e3484be3f7 Bug 1167933 - Intermittent e10s browser_async_flushes.js- disable on debug. r=mikedeboer
MozReview-Commit-ID: 357NSaMFLqc
2017-03-17 16:39:23 -04:00
Sebastian Hengst
7345d89cab Backed out changeset 27f5fcaca7fa (bug 1256472) 2017-03-16 17:22:23 +01:00
Blake Kaplan
2782e4e4b4 Bug 1346286 - Remove CPOWs from browser_history_persist.js r=Felipe
MozReview-Commit-ID: 22fQbSgMzQM

--HG--
extra : rebase_source : 440fde61df0a652f0e045068d12ab6ef7ecf281a
2017-03-09 14:30:30 -08:00
Blake Kaplan
66ff3b755f Bug 1346286 - Remove CPOWs from browser_911547.js. r=Felipe
MozReview-Commit-ID: 3Y5K84X2EIe

--HG--
extra : rebase_source : 3ef4c073a92ab580d0baa1caa0a1cd14e5bec160
2017-03-09 11:36:28 -08:00
Blake Kaplan
1a97f71604 Bug 1346286 - Remove CPOWs from browser_500328.js. r=Felipe
MozReview-Commit-ID: 2Ok956Ec2ub

--HG--
extra : rebase_source : 19bc7673818ac49ceb47958bcf7e654a02fabbdb
2017-03-08 17:07:57 -08:00
Blake Kaplan
2a88902832 Bug 1346286 - Remove CPOWs from browser_687710_2.js. r=Felipe
MozReview-Commit-ID: Au09j3DGveY

--HG--
extra : rebase_source : 73eb360b97af7e7175446f1790c562427d48f6ad
2017-03-07 18:09:42 -08:00
Blake Kaplan
928a1b69e2 Bug 1346286 - Remove CPOWs from browser_739805.js. r=Felipe
MozReview-Commit-ID: I2wWOxSbdsD

--HG--
extra : rebase_source : 5563ca8f20ae229ce6191e9a149046a0be7da268
2017-03-07 16:38:13 -08:00
Mike Conley
a04621c4a8 Bug 1256472 - When restoring a window, initialize each browser tab as remote if possible. r=mikedeboer
Originally, we were forcing these restored background tabs to be non-remote by default.
This was because we didn't want them to show the crashed tab favicon nor show about:tabcrashed
if the user hadn't restored them before.

Bug 1241459 added infrastructure that makes it possible to put crashed background tabs into
the "restore on demand" state again, without showing about:tabcrashed or showing the crashed
tab favicon.

This means we should be able to restore tabs in the content process again which should take
some load off of the parent process during session restore, which is good for perceived
performance.

Note that if the content process does crash, the background tabs are then loaded in the parent
process. Restoring them on demand will then do the remoteness flip.

MozReview-Commit-ID: 1mWe0td6geB

--HG--
extra : rebase_source : 5e1dbbaf0e1fb641bd43f821980ab5dff7272b04
2017-03-14 10:01:38 -04:00
Carsten "Tomcat" Book
8fd069a1f2 Merge mozilla-central to autoland 2017-03-14 14:27:38 +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
Mark Banner
4acba13973 Bug 1311347 - Enable eslint of browser/components/sessionstore/. Autofix changes. r=jaws
MozReview-Commit-ID: 5LKHbcmjSy

--HG--
extra : rebase_source : d7e4571dae5c5770c7908579d7634419382d78e2
2017-03-10 19:51:20 +00:00
Michael Layzell
f083c8ec83 Bug 1345857 - Clone TabData entries when restoring tabs, r=mikedeboer
MozReview-Commit-ID: BhAbhSHgXWt
2017-03-13 18:57:07 -04:00
Sebastian Hengst
5a87040be3 Backed out changeset 5e4c135cb424 (bug 1345857) for failing at least marionette (test_refresh_firefox.py TestFirefoxRefresh.testReset), functional-ui and browser-chrome. r=backout on a CLOSED TREE 2017-03-13 19:21:03 +01:00
Michael Layzell
f838a81893 Bug 1345857 - Clone TabData entries when restoring tabs, r=mikedeboer
MozReview-Commit-ID: BhAbhSHgXWt
2017-03-13 13:25:01 -04:00
jordan9769
5761e9b0d1 Bug 1311347 - Enable eslint of browser/components/sessionstore/. Initial changes by Sourav, updated by Standard8. r=jaws
MozReview-Commit-ID: 4RFxoV8SkIa

--HG--
extra : rebase_source : 96b24b172cfa957489df37943171ddae07145e84
2016-10-28 02:48:50 +05:30
Masatoshi Kimura
7be7b11a1c Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg

--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Sebastian Hengst
35f441b13c Backed out changeset 3f7bb57e5440 (bug 1340450) for frequently failing own test browser_disable_containers.js. r=backout 2017-02-21 17:52:23 +01:00
Andrea Marchesini
d11876b2bb Bug 1340450 - When containers are disabled, it should not be possible to reopen container tabs, r=mdeboer 2017-02-21 15:11:42 +01:00
Gabor Krizsanits
f9bc8c7133 Bug 1289723 - Fixing crashedTabs test for e10s-multi. r=mrbkap r=felipc 2017-02-21 13:30:17 +01:00
Carsten "Tomcat" Book
70d5eceb33 Backed out changeset 59d4978e8726 (bug 1289723) for eslint failure 2017-02-21 12:11:04 +01:00
Gabor Krizsanits
a498797697 Bug 1289723 - Fixing crashedTabs test for e10s-multi. r=mrbkap 2017-02-21 11:27:19 +01:00
Sebastian Hengst
d64fe0ec59 Backed out changeset 6b22d70e15f5 (bug 1340450) for frequent failure of own test browser_disable_containers.js. r=backout 2017-02-20 21:13:33 +01:00
Andrea Marchesini
b4c474e3d2 Bug 1340450 - When containers are disabled, it should not be possible to reopen container tabs, r=mdeboer 2017-02-20 15:55:05 +01:00
Tooru Fujisawa
1e407b8ed0 Bug 1338248 - Remove remaining legacy generator from browser/components/sessionstore/test/. r=mikedeboer 2017-02-11 01:53:23 +09:00
Florian Quèze
bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Christoph Kerschbaumer
af33c277b4 Bug 1307736 - Ensure tests performing a history load pass valid triggeringPrincipal. r=bz,mdeboer 2017-01-27 11:19:45 +01:00
Florian Quèze
15bab6d46b Bug 1334250 - adapt the no-useless-removeEventListener rule to handle the listener being added and removed with the same variable + some hand fixes, r=jaws. 2017-01-27 10:47:57 +01:00
Florian Quèze
0e0865f4fc Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Tooru Fujisawa
82e73ed5ac Bug 1321215 - Remove legacy generator from browser/. r=Paolo 2017-01-21 22:52:44 +09:00
Mark Banner
16e6d381ac Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ

--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Florian Quèze
85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Phil Ringnalda
191c2661b5 Backed out 2 changesets (bug 1307736) for failures in browser_490040.js and test_refresh_firefox.py TestFirefoxRefresh.testReset
CLOSED TREE

Backed out changeset 338dd2c343f8 (bug 1307736)
Backed out changeset 1a71a0d9aa90 (bug 1307736)
2017-01-16 10:47:55 -08:00
Christoph Kerschbaumer
b0e551030d Bug 1307736 - Ensure tests performing a history load pass valid triggeringPrincipal. r=bz,mdeboer 2017-01-16 18:30:32 +01:00
Florian Quèze
028a82f682 Bug 1329182 - remove trailing newURI null parameters in browser/, r=jaws. 2017-01-09 20:27:25 +01:00
Thomas Nguyen
0aaea58b69 Bug 1304623 - Create a pref to control the default referrer policy - part 3. r=bkelly
MozReview-Commit-ID: 1A6IHPeNYBQ
2017-01-05 11:29:56 +08:00
Samael Wang
1e9e35e6e1 Bug 1323651 - Rename Partial/GroupedSessionHistory to Partial/GroupedSHistory. r=ehsan
MozReview-Commit-ID: G2GW4ZPIfH3
2016-12-22 16:06:50 +08:00
Matheus Longaray
e6b68c3ab4 Bug 1306294 - Filters out not worth-saving tabs from session state. r=mikedeboer
--HG--
extra : amend_source : f68d04558cad4c72c9dbdef661dd6158c8a5a403
2016-12-06 03:30:00 -05:00
Mike de Boer
45676f2f6b Backed out changeset ba2692e1cbcf (bug 1252376) due to intermittent leaks.
MozReview-Commit-ID: IPFyfMhhLhv
2016-11-30 11:31:44 +01:00
Mike de Boer
ad5c134dfa Bug 1252376 - refactor browser_privatetabs.js to use BrowserTestUtils instead of using less deterministic methods and make sure to garbage collect, forcibly, after each sessionstore mochitest ended. r=Gijs
MozReview-Commit-ID: BgYllazwzLp

--HG--
extra : rebase_source : a4d75ac6a4d6bcd5fa3370f2cbcc7aa5a36529e1
2016-11-25 16:53:33 +01:00
Bob Silverberg
8e649a473a Bug 1308061 - Implement sessionstore-closed-objects-changed event, r=mikedeboer
MozReview-Commit-ID: 7pBrvAhVQHP

--HG--
extra : rebase_source : 94e2784e733806a181175a163586fc354476a6f2
2016-11-25 10:32:08 -05:00
Michael Layzell
96ce3e596a Bug 1318867 - Listen for a LocationChange event after changing processes before flushing SessionStore, r=mikedeboer
MozReview-Commit-ID: GidwIVWEy2s
2016-11-24 12:23:09 -05:00
Carsten "Tomcat" Book
838bd84f47 Backed out changeset 4b75d4672954 (bug 1306294) for bc5 test failures 2016-11-23 12:44:02 +01:00
Matheus Longaray
253c6de341 Bug 1306294 - "Restarting browser while Simplify Page mode on, restores 2 new empty tabs". r=mdeboer 2016-11-22 06:30:00 +08:00
Michael Layzell
b761a161fd Bug 1310771 - Part 4: Add a test for SessionStore support for cross process navigations, r=mikedeboer
MozReview-Commit-ID: 288dTbrSjOE
2016-11-18 16:00:43 -05:00
Andrea Marchesini
42cdd9436b Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 2, r=qdot 2016-11-18 09:33:50 +01:00
Andrea Marchesini
2f974ccbce Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-18 09:33:33 +01:00
Michael Layzell
8a4c8d5381 Bug 944694 - Part 2: Update SessionStore to use the new docshellID format, r=mikedeboer
MozReview-Commit-ID: 29te1YC9FNo
2016-11-17 16:52:17 -05:00
Sebastian Hengst
7110a88674 Backed out changeset d43b778d95c6 (bug 1318273) for failing mochitest fetch/test_formdataparsing.html. r=backout on a CLOSED TREE 2016-11-17 20:58:38 +01:00
Sebastian Hengst
fdfd8b91d1 Backed out changeset 2560659cda95 (bug 1318273) 2016-11-17 20:57:59 +01:00
Andrea Marchesini
a895bd31ae Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 2, r=qdot 2016-11-17 19:36:21 +01:00
Andrea Marchesini
cf2ad8072f Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-17 19:36:01 +01:00
Mike Conley
446ba52ae7 Bug 1309316 - Expose preference for auto-submitting backlogged crash reports to about:tabcrashed. r=Felipe
MozReview-Commit-ID: JvhK0MO1IK

--HG--
extra : rebase_source : 1d1b1fbab92a0fa11772779c489a221c06b236c2
2016-11-02 15:04:15 -04:00
Valentin Gosu
656872593e Bug 1315302 - Remove signedPkg from origin attributes r=baku
MozReview-Commit-ID: L1xvRgeO6De

--HG--
extra : rebase_source : dee943054af499b6e3f0aca2801fa9414f5567be
2016-11-06 16:15:36 +01:00
Sebastian Hengst
07a93d8bfb Bug 1310297 - Remove test annotations using b2g, mulet or gonk: browser. r=RyanVM
MozReview-Commit-ID: LDNr97hKpc8

--HG--
extra : rebase_source : 64fd1735a2db892c5e2d2976667ca2374b9b0554
2016-11-05 11:29:13 +01:00
Phil Ringnalda
c9fdc270b6 Merge m-c to autoland
--HG--
rename : dom/media/webaudio/compiledtest/TestAudioEventTimeline.cpp => dom/media/webaudio/gtest/TestAudioEventTimeline.cpp
2016-11-03 20:02:24 -07:00
Gabor Krizsanits
fccad1c205 Bug 1301340 - part4: Force single content process for failing tests. r=mrbkap 2016-11-03 19:28:09 +01:00
Bob Silverberg
94e5cc5c56 Bug 1313776 - Fix frequent OSX debug bc6 failures with The mochitest suite, r=mikedeboer
MozReview-Commit-ID: 34mzWaM4vef

--HG--
extra : rebase_source : 413eff80ec36539a29d03b321fe5e5c124b2c249
2016-11-03 07:11:48 -04: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
Mark Banner
56a7b3961a Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
MozReview-Commit-ID: JrbFxQ5rj6I

--HG--
rename : .eslintrc => .eslintrc.js
rename : accessible/.eslintrc => accessible/.eslintrc.js
rename : accessible/tests/browser/.eslintrc => accessible/tests/browser/.eslintrc.js
rename : browser/.eslintrc => browser/.eslintrc.js
rename : browser/base/content/test/alerts/.eslintrc => browser/base/content/test/alerts/.eslintrc.js
rename : browser/base/content/test/chrome/.eslintrc => browser/base/content/test/chrome/.eslintrc.js
rename : browser/base/content/test/general/.eslintrc => browser/base/content/test/general/.eslintrc.js
rename : browser/base/content/test/newtab/.eslintrc => browser/base/content/test/newtab/.eslintrc.js
rename : browser/base/content/test/plugins/.eslintrc => browser/base/content/test/plugins/.eslintrc.js
rename : browser/base/content/test/popupNotifications/.eslintrc => browser/base/content/test/popupNotifications/.eslintrc.js
rename : browser/base/content/test/referrer/.eslintrc => browser/base/content/test/referrer/.eslintrc.js
rename : browser/base/content/test/social/.eslintrc => browser/base/content/test/social/.eslintrc.js
rename : browser/components/contextualidentity/test/browser/.eslintrc => browser/components/contextualidentity/test/browser/.eslintrc.js
rename : browser/components/customizableui/test/.eslintrc => browser/components/customizableui/test/.eslintrc.js
rename : browser/components/dirprovider/tests/unit/.eslintrc => browser/components/dirprovider/tests/unit/.eslintrc.js
rename : browser/components/downloads/test/browser/.eslintrc => browser/components/downloads/test/browser/.eslintrc.js
rename : browser/components/downloads/test/unit/.eslintrc => browser/components/downloads/test/unit/.eslintrc.js
rename : browser/components/extensions/.eslintrc => browser/components/extensions/.eslintrc.js
rename : browser/components/extensions/test/browser/.eslintrc => browser/components/extensions/test/browser/.eslintrc.js
rename : browser/components/extensions/test/xpcshell/.eslintrc => browser/components/extensions/test/xpcshell/.eslintrc.js
rename : browser/components/feeds/test/.eslintrc => browser/components/feeds/test/.eslintrc.js
rename : browser/components/feeds/test/chrome/.eslintrc => browser/components/feeds/test/chrome/.eslintrc.js
rename : browser/components/feeds/test/unit/.eslintrc => browser/components/feeds/test/unit/.eslintrc.js
rename : browser/components/migration/tests/unit/.eslintrc => browser/components/migration/tests/unit/.eslintrc.js
rename : browser/components/newtab/tests/browser/.eslintrc => browser/components/newtab/tests/browser/.eslintrc.js
rename : browser/components/newtab/tests/xpcshell/.eslintrc => browser/components/newtab/tests/xpcshell/.eslintrc.js
rename : browser/components/originattributes/test/browser/.eslintrc => browser/components/originattributes/test/browser/.eslintrc.js
rename : browser/components/places/tests/browser/.eslintrc => browser/components/places/tests/browser/.eslintrc.js
rename : browser/components/places/tests/chrome/.eslintrc => browser/components/places/tests/chrome/.eslintrc.js
rename : browser/components/places/tests/unit/.eslintrc => browser/components/places/tests/unit/.eslintrc.js
rename : browser/components/preferences/in-content/tests/.eslintrc => browser/components/preferences/in-content/tests/.eslintrc.js
rename : browser/components/privatebrowsing/test/browser/.eslintrc => browser/components/privatebrowsing/test/browser/.eslintrc.js
rename : browser/components/safebrowsing/content/test/.eslintrc => browser/components/safebrowsing/content/test/.eslintrc.js
rename : browser/components/search/test/.eslintrc => browser/components/search/test/.eslintrc.js
rename : browser/components/selfsupport/test/.eslintrc => browser/components/selfsupport/test/.eslintrc.js
rename : browser/components/sessionstore/test/.eslintrc => browser/components/sessionstore/test/.eslintrc.js
rename : browser/components/sessionstore/test/unit/.eslintrc => browser/components/sessionstore/test/unit/.eslintrc.js
rename : browser/components/shell/test/.eslintrc => browser/components/shell/test/.eslintrc.js
rename : browser/components/shell/test/unit/.eslintrc => browser/components/shell/test/unit/.eslintrc.js
rename : browser/components/tests/browser/.eslintrc => browser/components/tests/browser/.eslintrc.js
rename : browser/components/translation/test/.eslintrc => browser/components/translation/test/.eslintrc.js
rename : browser/components/translation/test/unit/.eslintrc => browser/components/translation/test/unit/.eslintrc.js
rename : browser/components/uitour/test/.eslintrc => browser/components/uitour/test/.eslintrc.js
rename : browser/experiments/test/xpcshell/.eslintrc => browser/experiments/test/xpcshell/.eslintrc.js
rename : browser/extensions/formautofill/.eslintrc => browser/extensions/formautofill/.eslintrc.js
rename : browser/extensions/formautofill/test/browser/.eslintrc => browser/extensions/formautofill/test/browser/.eslintrc.js
rename : browser/extensions/pdfjs/test/.eslintrc => browser/extensions/pdfjs/test/.eslintrc.js
rename : browser/modules/test/.eslintrc => browser/modules/test/.eslintrc.js
rename : browser/modules/test/unit/social/.eslintrc => browser/modules/test/unit/social/.eslintrc.js
rename : browser/modules/test/xpcshell/.eslintrc => browser/modules/test/xpcshell/.eslintrc.js
rename : devtools/.eslintrc => devtools/.eslintrc.js
rename : devtools/.eslintrc.mochitests => devtools/.eslintrc.mochitests.js
rename : devtools/.eslintrc.xpcshell => devtools/.eslintrc.xpcshell.js
rename : devtools/client/aboutdebugging/test/.eslintrc => devtools/client/aboutdebugging/test/.eslintrc.js
rename : devtools/client/animationinspector/test/.eslintrc => devtools/client/animationinspector/test/.eslintrc.js
rename : devtools/client/animationinspector/test/unit/.eslintrc => devtools/client/animationinspector/test/unit/.eslintrc.js
rename : devtools/client/canvasdebugger/test/.eslintrc => devtools/client/canvasdebugger/test/.eslintrc.js
rename : devtools/client/commandline/test/.eslintrc => devtools/client/commandline/test/.eslintrc.js
rename : devtools/client/debugger/new/test/mochitest/.eslintrc => devtools/client/debugger/new/test/mochitest/.eslintrc.js
rename : devtools/client/debugger/test/.eslintrc => devtools/client/debugger/test/.eslintrc.js
rename : devtools/client/dom/.eslintrc => devtools/client/dom/.eslintrc.js
rename : devtools/client/dom/test/.eslintrc => devtools/client/dom/test/.eslintrc.js
rename : devtools/client/framework/test/.eslintrc => devtools/client/framework/test/.eslintrc.js
rename : devtools/client/inspector/.eslintrc => devtools/client/inspector/.eslintrc.js
rename : devtools/client/inspector/components/test/.eslintrc => devtools/client/inspector/components/test/.eslintrc.js
rename : devtools/client/inspector/computed/test/.eslintrc => devtools/client/inspector/computed/test/.eslintrc.js
rename : devtools/client/inspector/fonts/test/.eslintrc => devtools/client/inspector/fonts/test/.eslintrc.js
rename : devtools/client/inspector/markup/test/.eslintrc => devtools/client/inspector/markup/test/.eslintrc.js
rename : devtools/client/inspector/rules/test/.eslintrc => devtools/client/inspector/rules/test/.eslintrc.js
rename : devtools/client/inspector/shared/test/.eslintrc => devtools/client/inspector/shared/test/.eslintrc.js
rename : devtools/client/inspector/test/.eslintrc => devtools/client/inspector/test/.eslintrc.js
rename : devtools/client/jsonview/.eslintrc => devtools/client/jsonview/.eslintrc.js
rename : devtools/client/jsonview/test/.eslintrc => devtools/client/jsonview/test/.eslintrc.js
rename : devtools/client/memory/test/browser/.eslintrc => devtools/client/memory/test/browser/.eslintrc.js
rename : devtools/client/memory/test/unit/.eslintrc => devtools/client/memory/test/unit/.eslintrc.js
rename : devtools/client/netmonitor/.eslintrc => devtools/client/netmonitor/.eslintrc.js
rename : devtools/client/netmonitor/har/test/.eslintrc => devtools/client/netmonitor/har/test/.eslintrc.js
rename : devtools/client/netmonitor/test/.eslintrc => devtools/client/netmonitor/test/.eslintrc.js
rename : devtools/client/performance/test/.eslintrc => devtools/client/performance/test/.eslintrc.js
rename : devtools/client/performance/test/unit/.eslintrc => devtools/client/performance/test/unit/.eslintrc.js
rename : devtools/client/projecteditor/test/.eslintrc => devtools/client/projecteditor/test/.eslintrc.js
rename : devtools/client/promisedebugger/test/.eslintrc => devtools/client/promisedebugger/test/.eslintrc.js
rename : devtools/client/responsive.html/test/browser/.eslintrc => devtools/client/responsive.html/test/browser/.eslintrc.js
rename : devtools/client/responsive.html/test/unit/.eslintrc => devtools/client/responsive.html/test/unit/.eslintrc.js
rename : devtools/client/responsivedesign/test/.eslintrc => devtools/client/responsivedesign/test/.eslintrc.js
rename : devtools/client/scratchpad/test/.eslintrc => devtools/client/scratchpad/test/.eslintrc.js
rename : devtools/client/shadereditor/test/.eslintrc => devtools/client/shadereditor/test/.eslintrc.js
rename : devtools/client/shared/components/.eslintrc => devtools/client/shared/components/.eslintrc.js
rename : devtools/client/shared/components/test/browser/.eslintrc => devtools/client/shared/components/test/browser/.eslintrc.js
rename : devtools/client/shared/components/test/mochitest/.eslintrc => devtools/client/shared/components/test/mochitest/.eslintrc.js
rename : devtools/client/shared/shim/test/.eslintrc => devtools/client/shared/shim/test/.eslintrc.js
rename : devtools/client/shared/test/.eslintrc => devtools/client/shared/test/.eslintrc.js
rename : devtools/client/shared/test/unit/.eslintrc => devtools/client/shared/test/unit/.eslintrc.js
rename : devtools/client/sourceeditor/.eslintrc => devtools/client/sourceeditor/.eslintrc.js
rename : devtools/client/sourceeditor/test/.eslintrc => devtools/client/sourceeditor/test/.eslintrc.js
rename : devtools/client/storage/test/.eslintrc => devtools/client/storage/test/.eslintrc.js
rename : devtools/client/styleeditor/test/.eslintrc => devtools/client/styleeditor/test/.eslintrc.js
rename : devtools/client/webaudioeditor/test/.eslintrc => devtools/client/webaudioeditor/test/.eslintrc.js
rename : devtools/client/webconsole/net/.eslintrc => devtools/client/webconsole/net/.eslintrc.js
rename : devtools/client/webconsole/net/test/mochitest/.eslintrc => devtools/client/webconsole/net/test/mochitest/.eslintrc.js
rename : devtools/client/webconsole/net/test/unit/.eslintrc => devtools/client/webconsole/net/test/unit/.eslintrc.js
rename : devtools/client/webconsole/new-console-output/test/.eslintrc => devtools/client/webconsole/new-console-output/test/.eslintrc.js
rename : devtools/client/webconsole/test/.eslintrc => devtools/client/webconsole/test/.eslintrc.js
rename : devtools/client/webide/test/.eslintrc => devtools/client/webide/test/.eslintrc.js
rename : devtools/server/tests/browser/.eslintrc => devtools/server/tests/browser/.eslintrc.js
rename : devtools/server/tests/mochitest/.eslintrc => devtools/server/tests/mochitest/.eslintrc.js
rename : devtools/server/tests/unit/.eslintrc => devtools/server/tests/unit/.eslintrc.js
rename : devtools/shared/heapsnapshot/tests/unit/.eslintrc => devtools/shared/heapsnapshot/tests/unit/.eslintrc.js
rename : devtools/shared/platform/content/.eslintrc => devtools/shared/platform/content/.eslintrc.js
rename : devtools/shared/platform/content/test/.eslintrc => devtools/shared/platform/content/test/.eslintrc.js
rename : devtools/shared/security/tests/unit/.eslintrc => devtools/shared/security/tests/unit/.eslintrc.js
rename : devtools/shared/tests/browser/.eslintrc => devtools/shared/tests/browser/.eslintrc.js
rename : devtools/shared/tests/unit/.eslintrc => devtools/shared/tests/unit/.eslintrc.js
rename : devtools/shared/transport/tests/unit/.eslintrc => devtools/shared/transport/tests/unit/.eslintrc.js
rename : devtools/shared/webconsole/test/unit/.eslintrc => devtools/shared/webconsole/test/unit/.eslintrc.js
rename : devtools/shared/worker/tests/browser/.eslintrc => devtools/shared/worker/tests/browser/.eslintrc.js
rename : mobile/android/components/extensions/.eslintrc => mobile/android/components/extensions/.eslintrc.js
rename : mobile/android/components/extensions/test/mochitest/.eslintrc => mobile/android/components/extensions/test/mochitest/.eslintrc.js
rename : security/manager/.eslintrc.json => security/manager/.eslintrc.js
rename : security/manager/ssl/tests/.eslintrc.json => security/manager/ssl/tests/.eslintrc.js
rename : security/manager/ssl/tests/mochitest/browser/.eslintrc.json => security/manager/ssl/tests/mochitest/browser/.eslintrc.js
rename : security/manager/ssl/tests/mochitest/mixedcontent/.eslintrc.json => security/manager/ssl/tests/mochitest/mixedcontent/.eslintrc.js
rename : security/manager/ssl/tests/mochitest/stricttransportsecurity/.eslintrc.json => security/manager/ssl/tests/mochitest/stricttransportsecurity/.eslintrc.js
rename : security/manager/ssl/tests/unit/.eslintrc.json => security/manager/ssl/tests/unit/.eslintrc.js
rename : security/manager/tools/.eslintrc.json => security/manager/tools/.eslintrc.js
rename : storage/.eslintrc => storage/.eslintrc.js
rename : testing/mochitest/browser.eslintrc => testing/mochitest/browser.eslintrc.js
rename : testing/mochitest/chrome.eslintrc => testing/mochitest/chrome.eslintrc.js
rename : testing/mochitest/mochitest.eslintrc => testing/mochitest/mochitest.eslintrc.js
rename : testing/xpcshell/xpcshell.eslintrc => testing/xpcshell/xpcshell.eslintrc.js
rename : toolkit/.eslintrc => toolkit/.eslintrc.js
rename : toolkit/components/aboutmemory/tests/.eslintrc => toolkit/components/aboutmemory/tests/.eslintrc.js
rename : toolkit/components/aboutperformance/tests/browser/.eslintrc => toolkit/components/aboutperformance/tests/browser/.eslintrc.js
rename : toolkit/components/addoncompat/tests/browser/.eslintrc => toolkit/components/addoncompat/tests/browser/.eslintrc.js
rename : toolkit/components/alerts/test/.eslintrc => toolkit/components/alerts/test/.eslintrc.js
rename : toolkit/components/asyncshutdown/tests/xpcshell/.eslintrc => toolkit/components/asyncshutdown/tests/xpcshell/.eslintrc.js
rename : toolkit/components/autocomplete/tests/unit/.eslintrc => toolkit/components/autocomplete/tests/unit/.eslintrc.js
rename : toolkit/components/captivedetect/test/unit/.eslintrc => toolkit/components/captivedetect/test/unit/.eslintrc.js
rename : toolkit/components/commandlines/test/unit/.eslintrc => toolkit/components/commandlines/test/unit/.eslintrc.js
rename : toolkit/components/commandlines/test/unit_unix/.eslintrc => toolkit/components/commandlines/test/unit_unix/.eslintrc.js
rename : toolkit/components/commandlines/test/unit_win/.eslintrc => toolkit/components/commandlines/test/unit_win/.eslintrc.js
rename : toolkit/components/contentprefs/tests/mochitest/.eslintrc => toolkit/components/contentprefs/tests/mochitest/.eslintrc.js
rename : toolkit/components/contentprefs/tests/unit/.eslintrc => toolkit/components/contentprefs/tests/unit/.eslintrc.js
rename : toolkit/components/contentprefs/tests/unit_cps2/.eslintrc => toolkit/components/contentprefs/tests/unit_cps2/.eslintrc.js
rename : toolkit/components/crashes/tests/xpcshell/.eslintrc => toolkit/components/crashes/tests/xpcshell/.eslintrc.js
rename : toolkit/components/crashmonitor/test/unit/.eslintrc => toolkit/components/crashmonitor/test/unit/.eslintrc.js
rename : toolkit/components/ctypes/tests/chrome/.eslintrc => toolkit/components/ctypes/tests/chrome/.eslintrc.js
rename : toolkit/components/ctypes/tests/unit/.eslintrc => toolkit/components/ctypes/tests/unit/.eslintrc.js
rename : toolkit/components/downloads/test/unit/.eslintrc => toolkit/components/downloads/test/unit/.eslintrc.js
rename : toolkit/components/extensions/.eslintrc => toolkit/components/extensions/.eslintrc.js
rename : toolkit/components/extensions/test/mochitest/.eslintrc => toolkit/components/extensions/test/mochitest/.eslintrc.js
rename : toolkit/components/extensions/test/xpcshell/.eslintrc => toolkit/components/extensions/test/xpcshell/.eslintrc.js
rename : toolkit/components/feeds/test/.eslintrc => toolkit/components/feeds/test/.eslintrc.js
rename : toolkit/components/filepicker/test/unit/.eslintrc => toolkit/components/filepicker/test/unit/.eslintrc.js
rename : toolkit/components/filewatcher/tests/xpcshell/.eslintrc => toolkit/components/filewatcher/tests/xpcshell/.eslintrc.js
rename : toolkit/components/formautofill/test/browser/.eslintrc => toolkit/components/formautofill/test/browser/.eslintrc.js
rename : toolkit/components/formautofill/test/chrome/.eslintrc => toolkit/components/formautofill/test/chrome/.eslintrc.js
rename : toolkit/components/formautofill/test/xpcshell/.eslintrc => toolkit/components/formautofill/test/xpcshell/.eslintrc.js
rename : toolkit/components/jsdownloads/test/browser/.eslintrc => toolkit/components/jsdownloads/test/browser/.eslintrc.js
rename : toolkit/components/jsdownloads/test/data/.eslintrc => toolkit/components/jsdownloads/test/data/.eslintrc.js
rename : toolkit/components/jsdownloads/test/unit/.eslintrc => toolkit/components/jsdownloads/test/unit/.eslintrc.js
rename : toolkit/components/lz4/tests/xpcshell/.eslintrc => toolkit/components/lz4/tests/xpcshell/.eslintrc.js
rename : toolkit/components/mediasniffer/test/unit/.eslintrc => toolkit/components/mediasniffer/test/unit/.eslintrc.js
rename : toolkit/components/narrate/.eslintrc => toolkit/components/narrate/.eslintrc.js
rename : toolkit/components/narrate/test/.eslintrc => toolkit/components/narrate/test/.eslintrc.js
rename : toolkit/components/osfile/tests/mochi/.eslintrc => toolkit/components/osfile/tests/mochi/.eslintrc.js
rename : toolkit/components/osfile/tests/xpcshell/.eslintrc => toolkit/components/osfile/tests/xpcshell/.eslintrc.js
rename : toolkit/components/passwordmgr/.eslintrc => toolkit/components/passwordmgr/.eslintrc.js
rename : toolkit/components/passwordmgr/test/.eslintrc => toolkit/components/passwordmgr/test/.eslintrc.js
rename : toolkit/components/passwordmgr/test/browser/.eslintrc => toolkit/components/passwordmgr/test/browser/.eslintrc.js
rename : toolkit/components/passwordmgr/test/unit/.eslintrc => toolkit/components/passwordmgr/test/unit/.eslintrc.js
rename : toolkit/components/perf/.eslintrc => toolkit/components/perf/.eslintrc.js
rename : toolkit/components/perfmonitoring/tests/browser/.eslintrc => toolkit/components/perfmonitoring/tests/browser/.eslintrc.js
rename : toolkit/components/places/tests/.eslintrc => toolkit/components/places/tests/.eslintrc.js
rename : toolkit/components/places/tests/bookmarks/.eslintrc => toolkit/components/places/tests/bookmarks/.eslintrc.js
rename : toolkit/components/places/tests/browser/.eslintrc => toolkit/components/places/tests/browser/.eslintrc.js
rename : toolkit/components/places/tests/chrome/.eslintrc => toolkit/components/places/tests/chrome/.eslintrc.js
rename : toolkit/components/places/tests/expiration/.eslintrc => toolkit/components/places/tests/expiration/.eslintrc.js
rename : toolkit/components/places/tests/favicons/.eslintrc => toolkit/components/places/tests/favicons/.eslintrc.js
rename : toolkit/components/places/tests/history/.eslintrc => toolkit/components/places/tests/history/.eslintrc.js
rename : toolkit/components/places/tests/migration/.eslintrc => toolkit/components/places/tests/migration/.eslintrc.js
rename : toolkit/components/places/tests/network/.eslintrc => toolkit/components/places/tests/network/.eslintrc.js
rename : toolkit/components/places/tests/queries/.eslintrc => toolkit/components/places/tests/queries/.eslintrc.js
rename : toolkit/components/places/tests/unifiedcomplete/.eslintrc => toolkit/components/places/tests/unifiedcomplete/.eslintrc.js
rename : toolkit/components/places/tests/unit/.eslintrc => toolkit/components/places/tests/unit/.eslintrc.js
rename : toolkit/components/promiseworker/tests/xpcshell/.eslintrc => toolkit/components/promiseworker/tests/xpcshell/.eslintrc.js
rename : toolkit/components/prompts/test/.eslintrc => toolkit/components/prompts/test/.eslintrc.js
rename : toolkit/components/remotebrowserutils/tests/browser/.eslintrc => toolkit/components/remotebrowserutils/tests/browser/.eslintrc.js
rename : toolkit/components/satchel/test/.eslintrc => toolkit/components/satchel/test/.eslintrc.js
rename : toolkit/components/satchel/test/browser/.eslintrc => toolkit/components/satchel/test/browser/.eslintrc.js
rename : toolkit/components/satchel/test/unit/.eslintrc => toolkit/components/satchel/test/unit/.eslintrc.js
rename : toolkit/components/search/tests/xpcshell/.eslintrc => toolkit/components/search/tests/xpcshell/.eslintrc.js
rename : toolkit/components/social/test/xpcshell/.eslintrc => toolkit/components/social/test/xpcshell/.eslintrc.js
rename : toolkit/components/sqlite/tests/xpcshell/.eslintrc => toolkit/components/sqlite/tests/xpcshell/.eslintrc.js
rename : toolkit/components/startup/tests/browser/.eslintrc => toolkit/components/startup/tests/browser/.eslintrc.js
rename : toolkit/components/startup/tests/unit/.eslintrc => toolkit/components/startup/tests/unit/.eslintrc.js
rename : toolkit/components/telemetry/tests/unit/.eslintrc => toolkit/components/telemetry/tests/unit/.eslintrc.js
rename : toolkit/components/terminator/tests/xpcshell/.eslintrc => toolkit/components/terminator/tests/xpcshell/.eslintrc.js
rename : toolkit/components/thumbnails/test/.eslintrc => toolkit/components/thumbnails/test/.eslintrc.js
rename : toolkit/components/timermanager/tests/unit/.eslintrc => toolkit/components/timermanager/tests/unit/.eslintrc.js
rename : toolkit/components/url-classifier/tests/mochitest/.eslintrc => toolkit/components/url-classifier/tests/mochitest/.eslintrc.js
rename : toolkit/components/url-classifier/tests/unit/.eslintrc => toolkit/components/url-classifier/tests/unit/.eslintrc.js
rename : toolkit/components/urlformatter/tests/unit/.eslintrc => toolkit/components/urlformatter/tests/unit/.eslintrc.js
rename : toolkit/components/viewsource/test/.eslintrc => toolkit/components/viewsource/test/.eslintrc.js
rename : toolkit/components/viewsource/test/browser/.eslintrc => toolkit/components/viewsource/test/browser/.eslintrc.js
rename : toolkit/components/workerloader/tests/.eslintrc => toolkit/components/workerloader/tests/.eslintrc.js
rename : toolkit/components/xulstore/tests/chrome/.eslintrc => toolkit/components/xulstore/tests/chrome/.eslintrc.js
rename : toolkit/components/xulstore/tests/xpcshell/.eslintrc => toolkit/components/xulstore/tests/xpcshell/.eslintrc.js
rename : toolkit/content/tests/browser/.eslintrc => toolkit/content/tests/browser/.eslintrc.js
rename : toolkit/content/tests/chrome/.eslintrc => toolkit/content/tests/chrome/.eslintrc.js
rename : toolkit/content/tests/unit/.eslintrc => toolkit/content/tests/unit/.eslintrc.js
rename : toolkit/content/tests/widgets/.eslintrc => toolkit/content/tests/widgets/.eslintrc.js
rename : toolkit/crashreporter/test/browser/.eslintrc => toolkit/crashreporter/test/browser/.eslintrc.js
rename : toolkit/crashreporter/test/unit/.eslintrc => toolkit/crashreporter/test/unit/.eslintrc.js
rename : toolkit/crashreporter/test/unit_ipc/.eslintrc => toolkit/crashreporter/test/unit_ipc/.eslintrc.js
rename : toolkit/forgetaboutsite/test/browser/.eslintrc => toolkit/forgetaboutsite/test/browser/.eslintrc.js
rename : toolkit/forgetaboutsite/test/unit/.eslintrc => toolkit/forgetaboutsite/test/unit/.eslintrc.js
rename : toolkit/identity/tests/chrome/.eslintrc => toolkit/identity/tests/chrome/.eslintrc.js
rename : toolkit/identity/tests/unit/.eslintrc => toolkit/identity/tests/unit/.eslintrc.js
rename : toolkit/modules/addons/.eslintrc => toolkit/modules/addons/.eslintrc.js
rename : toolkit/modules/subprocess/.eslintrc => toolkit/modules/subprocess/.eslintrc.js
rename : toolkit/modules/subprocess/test/xpcshell/.eslintrc => toolkit/modules/subprocess/test/xpcshell/.eslintrc.js
rename : toolkit/modules/tests/browser/.eslintrc => toolkit/modules/tests/browser/.eslintrc.js
rename : toolkit/modules/tests/chrome/.eslintrc => toolkit/modules/tests/chrome/.eslintrc.js
rename : toolkit/modules/tests/mochitest/.eslintrc => toolkit/modules/tests/mochitest/.eslintrc.js
rename : toolkit/modules/tests/xpcshell/.eslintrc => toolkit/modules/tests/xpcshell/.eslintrc.js
rename : toolkit/mozapps/downloads/tests/chrome/.eslintrc => toolkit/mozapps/downloads/tests/chrome/.eslintrc.js
rename : toolkit/mozapps/downloads/tests/unit/.eslintrc => toolkit/mozapps/downloads/tests/unit/.eslintrc.js
rename : toolkit/mozapps/extensions/.eslintrc => toolkit/mozapps/extensions/.eslintrc.js
rename : toolkit/mozapps/extensions/test/browser/.eslintrc => toolkit/mozapps/extensions/test/browser/.eslintrc.js
rename : toolkit/mozapps/extensions/test/mochitest/.eslintrc => toolkit/mozapps/extensions/test/mochitest/.eslintrc.js
rename : toolkit/mozapps/extensions/test/xpcshell/.eslintrc => toolkit/mozapps/extensions/test/xpcshell/.eslintrc.js
rename : toolkit/mozapps/extensions/test/xpinstall/.eslintrc => toolkit/mozapps/extensions/test/xpinstall/.eslintrc.js
rename : toolkit/mozapps/update/tests/chrome/.eslintrc => toolkit/mozapps/update/tests/chrome/.eslintrc.js
rename : toolkit/mozapps/update/tests/unit_aus_update/.eslintrc => toolkit/mozapps/update/tests/unit_aus_update/.eslintrc.js
rename : toolkit/mozapps/update/tests/unit_base_updater/.eslintrc => toolkit/mozapps/update/tests/unit_base_updater/.eslintrc.js
rename : toolkit/mozapps/update/tests/unit_service_updater/.eslintrc => toolkit/mozapps/update/tests/unit_service_updater/.eslintrc.js
rename : toolkit/profile/test/.eslintrc => toolkit/profile/test/.eslintrc.js
rename : toolkit/themes/osx/mochitests/.eslintrc => toolkit/themes/osx/mochitests/.eslintrc.js
rename : toolkit/xre/test/.eslintrc => toolkit/xre/test/.eslintrc.js
rename : tools/lint/eslint/eslint-plugin-mozilla/lib/rules/.eslintrc => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/.eslintrc.js
extra : rebase_source : 60affc4b9bf436bba7e0e21a8da3a85d16c9fc06
2016-10-18 08:38:10 +01:00
J. Ryan Stinnett
a2005c056c Bug 1310298 - Add event before remoteness flip. r=mconley
MozReview-Commit-ID: Bbs5Hj99JV4

--HG--
extra : rebase_source : 14cfd0b1ebc5bd3e311452a66cf1f51d654c3e0f
2016-10-14 14:36:26 -05:00
Bob Silverberg
3f4bce8633 Bug 1309702 - Update getClosedTabData and getClosedWindowData in SessionStore.jsm to not return JSON, r=mikedeboer
MozReview-Commit-ID: 9SevLkTp0G7

--HG--
extra : rebase_source : 0a13bf3ed4afcedadd6aacb6c14b08a5c2bb406d
2016-10-14 07:12:18 -04:00
Mark Banner
975effef47 Bug 1309842 - Fix eslint/espree parsing errors for ignored directories in browser/. r=jaws
Change functions definitions to generators where yield is used, and drop of non-standards if statement in catch.
List translation/cld2/cld-worker.js as ignored now, as it is a generated file.

MozReview-Commit-ID: wbkjx67fox

--HG--
extra : rebase_source : 80a5171b75b314ce81a0d87cdce6ec7ab5443075
2016-10-13 11:48:35 +01:00
Mike Conley
88654a4021 Bug 1241459 - Add regression tests for background tab crashing behaviour. r=Felipe
MozReview-Commit-ID: KkOCdtJqDPQ

--HG--
extra : rebase_source : 3507e848a433a9ff70b08baad0abaee2d3460a35
2016-10-03 18:01:51 -04:00
Gabor Krizsanits
af105a9c64 Bug 1301340 - Force single process in some tests. r=mrbkap 2016-09-22 09:24:31 +02:00
Steven Englehardt
9d9bb6765e Bug 1294866 - Part 3: Tests to verify contentPrincipal persists during session restore. r=mikedeboer
--HG--
extra : rebase_source : d2697330086c6a56191c4db990642d421e755ca9
2016-09-13 21:18:38 +08:00
Blake Kaplan
a810dc483d Bug 1294378 - Force a single process in this test because it's only designed to work with one process r=krizsa.
MozReview-Commit-ID: LNIjLX6926e

--HG--
extra : rebase_source : 69e853af52e166b83a7ee9959b1ed2b9b53029a7
2016-08-30 17:29:04 -07:00
Jared Wein
5dd9ac0f8c Bug 1218937 - Introduce a new option for switchToTabHavingURI's ignoreFragment to not overwrite the fragment portion. Use this new argument to switch to the preferences without changing the currently opened pane. r=mattn
MozReview-Commit-ID: JZmAsf8k5Qp
2016-08-31 12:53:23 -04:00
Rob Wood
a9d2d038d2 Bug 1259329 - Split test up to fix intermittent timeout; r=jmaher
MozReview-Commit-ID: 5uDU6ScsDea

--HG--
extra : rebase_source : 03cf31d4e7cb5a986786c22848d0a6c40a2df161
2016-08-15 15:05:24 -04:00
Mike Conley
2a5c775eea Bug 1290280 - Make bug_423132.js more resilient to the initial browser being remote by default. r=mikedeboer
The problem with this test was that it was actually relying on the old
broken behaviour where the initial browser of the new window it opens
would be flipped from remote back to non-remote before loading its
contents and flipping remote again. Because it now starts remote
(and stays there instead of doing all of the extra work), the
test was more likely to fall into the trap that I described in
https://groups.google.com/forum/#!searchin/mozilla.dev.platform/1261842%7Csort:relevance/mozilla.dev.platform/gthFqog3J-M/Ypx-SNhEQgAJ
where the promiseBrowserLoaded was firing for the wrong page
load, which meant that the cookie hadn't had a chance to be
set yet.

I've converted the test to use the properly instrumented
BrowserTestUtils functions which wait for the window to be
properly ready, and it appears to pass on try with multiple
retriggers.

MozReview-Commit-ID: BtQRx7og52A

--HG--
extra : rebase_source : 83a9c36533505167198b62ddc189c6fa62cec8cd
2016-08-13 18:46:38 -04:00
Mike Conley
e5d369da14 Bug 1290280 - Add tests for window state restoration remoteness flips. r=mikedeboer
MozReview-Commit-ID: ARtmju65xR9

--HG--
extra : rebase_source : 166dbace15bf8215d0cf0155b8e167a69c91ac5b
2016-08-10 15:46:03 -04:00
Sebastian Hengst
5073e10f9a Backed out changeset 2b50b05f8929 (bug 1290280) 2016-08-13 15:26:39 +02:00
Mike Conley
c40ae43473 Bug 1290280 - Add tests for window state restoration remoteness flips. r=mikedeboer
MozReview-Commit-ID: ARtmju65xR9

--HG--
extra : rebase_source : 8a1466e01be4f1af69f2efe5611c59c4f4649501
2016-08-10 15:46:03 -04:00
Wes Kocher
d58870a5c6 Backed out changeset 1c7f1b07be44 (bug 1290280) for failures in browser_remoteness_flip_on_restore.js a=backout
--HG--
extra : rebase_source : c343e11573398423d4506bbbfc0cb770c33ac46c
2016-08-11 14:43:09 -07:00
Mike Conley
2832151d8c Bug 1290280 - Add tests for window state restoration remoteness flips. r=mikedeboer
MozReview-Commit-ID: ARtmju65xR9

--HG--
extra : rebase_source : 25aead2fc9c27c41cdc56c2d8e56ab0f0b02355d
2016-08-10 15:46:03 -04:00
Gabor Krizsanits
a9a4295a9e Bug 1285941 - browser_crashedTabs.js should always use single content process. r=mrbkap 2016-08-01 12:27:08 +02:00
Mike Conley
6989766387 Bug 1261842 - Tests in browser_windowStateContainer.js should wait for new browser windows to completely load. r=baku
MozReview-Commit-ID: 8SyED1dQbM5

--HG--
extra : rebase_source : dcd4b6f7f8156159460d20c8cbe2369e266163be
extra : source : d6ffc9db53461550f8965e3587244b5b9d68eab6
2016-06-08 10:48:15 -04:00
Mike Conley
a386a255c4 Bug 1261842 - Update browser_394759_behavior.js to account for initial browser being remote. r=mikedeboer
MozReview-Commit-ID: H1A4bzARkyf

--HG--
extra : rebase_source : 46ba0178e5856f5d0c567d1c71218c9db8394e56
extra : source : 970cbbb3a658336a8a70cfea01ba5a6afa3ae58b
2016-06-01 17:15:25 -04:00
Mike Conley
462c1e5074 Bug 1261842 - browser_async_window_flushing.js no longer needs to wait for remoteness flip on initial browser of new window. r=Felipe
MozReview-Commit-ID: E74rDTQ2FjX

--HG--
extra : rebase_source : b7cb3d1a782bbb65414a6c13ebd836c735966e0c
extra : source : 6eaa642a93e1707ae917f9e6f61242ecef36c658
2016-06-08 16:22:13 -04:00
Mike Conley
70e421c78c Bug 1261842 - browser_423132.js no longer needs to wait for remoteness flip on initial browser of new window. r=Felipe
MozReview-Commit-ID: 4QniZC8w7pA

--HG--
extra : rebase_source : df8761bb86d9d3250847be559e1098b11585e2db
extra : source : 1240345f5624539c14543dc21888ce1f74f9059b
2016-06-08 16:45:37 -04:00
Mike Conley
daf5c06f3b Bug 1261842 - browser_394759_behavior.js no longer needs to wait for remoteness flip on initial browser of new window. r=Felipe
MozReview-Commit-ID: C9aIKuRSDa3

--HG--
extra : rebase_source : 47d106f2d8f33b1048a4cb419e3c3e7d9da0b34c
extra : source : ce46ebf231c1d679c9bc7abc28f774538b5a1362
2016-06-08 16:42:39 -04:00
Pushpankar
c6670d980f Bug 1286854 - Replace ownerDocument.defaultView with ownerGlobal in browser/. r=dao
--HG--
extra : rebase_source : 72d50e73baf595840a2aade57ae782e4c40d4c27
2016-07-16 10:20:04 +02:00
Mike de Boer
4a6222d06c No Bug - add test coverage for more types of form fields to ignore in session form field restore. r=MattN
MozReview-Commit-ID: KdN5kETA9go
2016-07-07 15:10:26 +02:00
Jonathan Hao
5c43c6db43 Bug 1283709 - Test if cookies are restored correctly to container tabs. r=mikedeboer
MozReview-Commit-ID: 2NJlJ5tFsS4

--HG--
extra : amend_source : ae347962c3fb5ae2c20d960698d078553a99f17e
2016-07-06 01:39:00 +08:00
Yoshi Huang
5399e1e48d Bug 1278149 - split browser_sessionStoreContainer.js. r=mikedeboer 2016-06-07 11:02:38 +08:00
Yoshi Huang
339be8eaee Bug 1274461 - Part 3: another test for restoring. r=mikedeboer
This test will verify the following case:
When restore tab doesn't have userContextId, however open tab does have.
2016-06-03 15:01:03 +08:00
Yoshi Huang
0f17c65a40 Bug 1274461 - Part 2: restore tabs should preserve userContextId. r=mikedeboer 2016-06-03 15:01:03 +08:00
Yoshi Huang
c4e888761f Bug 1274461 - Part 1: undoCloseTab should preserve userContextId. r=mikedeboer 2016-06-03 15:01:03 +08:00
Mike Conley
50c92f7548 Bug 1276966 - Fix tests that were accidentally resetting browser.startup.page. r=mikedeboer
MozReview-Commit-ID: 3E4xVfdGDIi

--HG--
extra : rebase_source : ecb6d86c9d045160ad6b0484a0c28bb75bb13440
2016-05-29 12:01:18 -04:00
Tim Huang
bd3fcaaa8f Bug 1267910 - Part 4: Add a test case for the session store regression test. r=mikedeboer
--HG--
extra : rebase_source : 3fbbb9b486c80995dfd4252fc897f8237a389ad5
2016-05-25 11:54:23 +08:00
Gijs Kruitbosch
414b4db28a Bug 1271821 - fix intermittent timeouts in browser_newtab_userTypedValue.js, rs=timeout-increase,me
MozReview-Commit-ID: BTKkOh8LAgG

--HG--
extra : rebase_source : 748b649cc1be3da0146753cb60c226956e796464
2016-05-24 11:35:09 +01:00
Gijs Kruitbosch
307e6f9842 Bug 1272317 - fix URL bar state when switching to a non-remote browser, r=mconley
MozReview-Commit-ID: 4dmgz6iHfdK

--HG--
extra : rebase_source : aa2df82eaa5e15aa75a5a4e4bbfdd04879c37d94
2016-05-16 22:36:35 +01:00
Yoshi Huang
96c3cbd91b Bug 1250063 - Part 1: Pass userContextId in duplicateTab. r=ttaubert 2016-05-17 19:49:09 +08:00
Blake Kaplan
730c3b339c Bug 1251760 - Remove CPOWs from browser_bug339445.js. r=felipe 2016-05-12 10:45:00 -04:00
Carsten "Tomcat" Book
6deb1d00c9 Merge mozilla-central to fx-team 2016-05-10 12:15:50 +02:00
Carsten "Tomcat" Book
e07e80ac43 merge mozilla-inbound to mozilla-central a=merge 2016-05-10 12:05:56 +02:00
Timothy Guan-tin Chien
90df11d2e4 Bug 1153393 - Make session restore restores the scroll position of an about:reader page, r=gijs
MozReview-Commit-ID: 6smuca3vx5O

--HG--
extra : rebase_source : 2853cce414d538076cdc5b066cb05989ba996299
2016-05-07 12:31:21 +08:00
Gijs Kruitbosch
2226e6e2d2 Bug 1241085 - fix issues with about:newtab and other initial pages whose URIs now persist after session restore, r=mconley
MozReview-Commit-ID: BbzOSwFucf6

--HG--
extra : rebase_source : 0c09de4d9ffba52c2004f4bb649f83ee577f5b6f
2016-05-06 09:11:33 +01:00
Ryan VanderMeulen
3b7fc0b68e No bug - Enable some e10s that pass and add some more annotations to ones that don't. 2016-05-09 17:01:16 -04:00
Ryan VanderMeulen
d06ad5ad1d Bug 1269951 - Request a longer timeout for browser_819510_perwindowpb.js. 2016-05-09 17:01:16 -04:00
Gijs Kruitbosch
b77685214e Bug 1241085 - part 2: rip out userTypedClear and replace it with more self-documenting stuff, r=mconley
userTypedClear was used for two cases:
1) to keep track of whether we were in the middle of a loadURI call. This use is replaced by inLoadURI, which is
more sane when using e10s (though it's hard to be precise there because we're sending all web navigation calls to
the content process and this introduces a degree of asynchronousness that we just have to live with...).
2) to keep track of whether we were between a network start and a corresponding network stop, and whether the user
typed since the load properly started. This is now tracked on a small object on the browser binding, which has
appropriately named method so we're not just incrementing some magic number but actually understand what
we're saying, and so the information we get out (did the user type since this load started or not?) makes sense.

Note that we're keeping userTypedClear in session store information in order to remain backwards compatible.
It becomes a simple boolean-stored-as-int (1 or 0) that indicates whether we quit/crashed/stopped while a load
was pending, or not.

MozReview-Commit-ID: 5NbmVueocC7

--HG--
extra : rebase_source : 55cd9f3513c0a985580957a5157d47853a8822bf
extra : source : 386b9c750bd2ed458112acd29eb72e4e1371af9d
2016-04-28 19:51:36 +01:00
Marco Bonardo
06932c74d1 Bug 1223728 - Remove the unifiedcomplete pref, the urlinline component and stop bundling the old autocomplete component in Firefox. r=adw
MozReview-Commit-ID: Ee08mDGxBjJ

--HG--
extra : rebase_source : 4473da657f85e443e5095b43b3e774e85292ecd1
extra : amend_source : c9c322ebae255a24c28e6367b9fe93474db21d6d
2016-05-05 00:14:51 +02:00
Gijs Kruitbosch
3dc1902afe Backed out changesets b386e97721cf, 386b9c750bd2, 3c86861912bb (bug 1241085) because the about:newtab URI is now kept across sessions, a=backout-with-approval-from-ryanvm
MozReview-Commit-ID: EVv6M6x9F44

--HG--
extra : source : de5ab3fd7c7e5772cc323a6d998a3a94143c23b1
extra : amend_source : cf7abadb9a7dbb97aaa9665a3df5981ae3459bff
2016-05-05 17:45:58 +01:00
Gijs Kruitbosch
2f63110f3f Bug 1241085 - part 2: rip out userTypedClear and replace it with more self-documenting stuff, r=mconley
userTypedClear was used for two cases:
1) to keep track of whether we were in the middle of a loadURI call. This use is replaced by inLoadURI, which is
more sane when using e10s (though it's hard to be precise there because we're sending all web navigation calls to
the content process and this introduces a degree of asynchronousness that we just have to live with...).
2) to keep track of whether we were between a network start and a corresponding network stop, and whether the user
typed since the load properly started. This is now tracked on a small object on the browser binding, which has
appropriately named method so we're not just incrementing some magic number but actually understand what
we're saying, and so the information we get out (did the user type since this load started or not?) makes sense.

Note that we're keeping userTypedClear in session store information in order to remain backwards compatible.
It becomes a simple boolean-stored-as-int (1 or 0) that indicates whether we quit/crashed/stopped while a load
was pending, or not.

MozReview-Commit-ID: 5NbmVueocC7

--HG--
extra : rebase_source : f87199c77094c24c132e6c88f751a5b5d5aa62f9
2016-04-28 19:51:36 +01:00
Gijs Kruitbosch
e008fb3d5e Bug 1270067 - fix browser_bug522545.js to actually test what it intends to test, r=mconley
MozReview-Commit-ID: IySO69Ic1yT

--HG--
extra : rebase_source : cc9a96057244cd0e16dfc7c810d9811a49f432a4
2016-05-04 14:22:01 +01:00
Ryan VanderMeulen
fb97788fef Bug 1234404 - Skip browser_579879.js on ASAN as well. 2016-04-28 16:58:19 -04:00
Gijs Kruitbosch
96df238104 Bug 1253673, r=jaws
MozReview-Commit-ID: GKFG4s1bx5c

--HG--
rename : browser/base/content/test/general/dummy_page.html => browser/components/extensions/test/browser/file_dummy.html
extra : amend_source : 38ff88239b304e9014704d104a766712706c89ee
extra : histedit_source : 5e17e8225174b52c59822c572db4c9539aeaf157
2016-04-13 11:58:25 +01:00
Jonathan Watt
d1314835b8 Bug 1264159 - Use the new JS octal notation instead of parseInt when specifying octal numbers in browser code. r=standard8
--HG--
extra : rebase_source : c269bd066eddef41ae360c9bc4ff4b1a1e0832bb
2016-04-08 12:50:23 +01:00
Chris Peterson
053a2f3273 Bug 1103588 - Part 1: Replace deprecated String#contains with String#includes in browser tests and extensions. r=dolske 2016-04-09 16:05:17 -07:00
Felipe Gomes
93ebedfeeb Bug 1234404 - follow-up, limit test disabling to linux debug. r=me DONTBUILD
MozReview-Commit-ID: 5NyB3Ilv0RV
2016-03-29 21:44:02 -03:00
Felipe Gomes
f64f9d6dc1 Bug 1234404 - Disable intermittent browser_579879.js on linux e10s. r=me DONTBUILD
MozReview-Commit-ID: DFp3AFjvE9s
2016-03-29 21:39:33 -03:00
Felipe Gomes
97fdb27ffd Bug 1234404 - Wait for the tabs to be removed before finishing the test. r=me
Hopefully this gets rid of the orange in this bug

MozReview-Commit-ID: FgOxiCUDeJj
2016-03-23 15:50:07 -03:00
Tooru Fujisawa
50608d5d55 Bug 1256088 - Merge mock app-info implementation into AppInfo.jsm. r=gps 2016-03-16 16:58:29 +09: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
Michael Layzell
6d5134e378 Bug 1234021 - Catch exceptions raised by storage.length in SessionStorage.jsm, r=mconley 2016-02-26 13:37:44 -05:00
ISHIKAWA, Chiaki
be2b50a7f8 Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check

 - the outdated 0666 octal constant is still parsed correctly,
 - the outdated 0666 octal constant raises syntax error flag
   in strict mode, etc.

So leave them alone.
2016-02-15 08:57:00 +01:00
Mike Conley
13a74fea98 Bug 1236414 - Re-enable browser_crashedTabs.js with longer timeout. r=me
MozReview-Commit-ID: FlXemvsEMCM

--HG--
extra : rebase_source : b997f364731c2f251766a01ba9ef3348e518ba56
extra : amend_source : 0287d4d59f0d30a7fce19be2498a16ba391a6f36
2016-02-11 15:29:53 -05:00
Phil Ringnalda
ef2ef557fe Bug 1236414 - Disable browser_crashedTabs.js for an insanely high intermittent failure rate 2016-02-05 23:02:58 -08:00
Mike Conley
d4d3b9cd5e Bug 1233497 - Stop using TabState.flushAsync in session store tests. r=billm
--HG--
extra : commitid : ngARcwlMC1
extra : rebase_source : 91280a832703291b7ff6da7c6d6b3d364445e9fb
2016-01-05 19:19:51 -05:00
Kate McKinley
b23827ce73 Bug 1195881 - working test for session store using containers under e10s. r=baku,r=tanvi 2016-01-20 00:29:00 +01:00
AJ Kerrigan
ff3269f2d2 Bug 1132556 - Replace runInContent() with ContentTask.spawn(). r=smacleod 2016-01-07 03:26:31 -05:00
Andrea Marchesini
54e1406a46 Bug 1237081 - remove the getter of userContextId from nsIDocShell, r=smaug 2016-01-06 15:39:58 +00:00
Andrea Marchesini
72360793f4 Bug 1193854 - Restoring userContextIds with the browser session - part 3 - tests, r=ttaubert 2016-01-05 21:01:46 +00:00
Dave Townsend
86f03db916 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8
--HG--
extra : commitid : CKT2WDkxE4k
extra : rebase_source : 0be50c483317355b1e9af5985d53e85604748432
extra : histedit_source : 65d203f57ebd38b8c130e5db9aaa8ae3f507e7ac
2015-11-30 13:05:00 -08:00
Ehsan Akhgari
e6e0501a06 Bug 1175659 - Increase the timeout of browser_sessionHistory.js 2015-12-31 17:42:28 -05:00
Ehsan Akhgari
19f515547b Bug 1170881 - Increase the timeout of browser_586068-apptabs.js 2015-12-31 17:41:25 -05:00
Ehsan Akhgari
8679055963 Bug 1203732 - Increase the timeout of browser_522545.js 2015-12-31 17:29:26 -05:00
Ehsan Akhgari
c9cf809f36 Bug 1224066 - Increase the timeout of browser_formdata_cc.js 2015-12-31 17:28:22 -05:00
Ehsan Akhgari
5181cfbb4f Bug 1164242 - Increase the timeout of browser_600545.js 2015-12-30 22:27:40 -05:00
Ehsan Akhgari
5185a3fdd0 Bug 1221013 - Increase the timeout of browser_crashedTabs.js 2015-12-30 22:27:40 -05:00
Andrew McCreight
0f12a580d4 Backed out changeset 18eec0849a1f (Bug 1195295) for leaking.
This changeset is causing shutdown leaks (bug 1234697 and bug 1220517).
2015-12-23 15:59:15 -05:00
Markus Stange
8d6e827631 Bug 1209970 - Fire scroll events early in the refresh tick. r=mats
With APZ we want to be firing scroll events to content more consistently, so
we tie them to the refresh driver tick rather than firing them on paint or
haphazardly on the next spin of the event loop.

Patch by Markus Stange, test fixes by Kartikaya Gupta

--HG--
extra : commitid : 7nnkRC8afAJ
2015-12-17 17:19:30 -05:00
Luis Miguel [:quicksaver]
b24758ed1d Bug 1228980 - Display favicons of tab entries in aboutSessionRestore-based pages. r=ttaubert
--HG--
extra : transplant_source : W%9D%B1hn%AD%84%B9%605%1ClKc%A2D%BAC%E8Q
2015-12-08 12:35:28 +00:00
Mike Conley
f2127e9ebb Bug 1195295 - Remove SessionStore's SyncHandler since all tab and window flushing is now async. r=ttaubert
--HG--
extra : commitid : 20kUFlNpMz6
extra : rebase_source : 89f89eea235b8a68f6c76e3324909be7d7da0ede
2015-12-01 14:34:25 -05:00
Mike Conley
3969629382 Bug 1225921 - Regression tests. r=billm
--HG--
extra : commitid : 4MkFmSCJAK8
extra : rebase_source : 6e5d89f6d142aa145b91d84f971a490d53660a5a
extra : amend_source : 99e021ab8f0b7d9db1311ef2c589c881aa0d54a0
2015-12-02 13:48:05 -05:00
Mike Conley
51e9466a0f Bug 1226333 - Add tests for async window flushing. r=billm.
--HG--
extra : commitid : 9ji0WXf0vH0
extra : rebase_source : 31ffb2e4df2cf6f4e3902fb4504fae2984dee55a
2015-12-02 09:46:06 -05:00
Mike Conley
673a539ce8 Bug 1177310 - Don't flush windows synchronously on application shutdown. r=billm,feedback=ttaubert
Instead of synchronously flushing the windows, we use AsyncShutdown to
wait for all window flushes to finish.

--HG--
extra : commitid : 1dDdTLBcZrt
extra : rebase_source : ea10bed3dc4920e769e73a6469510d4f303b88dc
2015-11-13 14:46:37 -05:00
Mike Conley
c9f1c242db Bug 1177310 - TabStateFlusher Promises should always resolve. r=Yoric
They'll always resolve, but might receive a negative success state
and a message. We're doing this so that we can maintain a Set of
in-flight flushes that we can call Promise.all on (which will
fast-fail if any Promise rejects, or will just never resolve if
one or more of the Promises never resolve).

--HG--
extra : commitid : AkIM83IZCxK
extra : rebase_source : 4fb8eb059589299c87fcbd3c4e519a81a8b93def
2015-11-24 18:41:32 -05:00
Gijs Kruitbosch
7df117fdb9 Bug 1222490 - part 3: update all the tests for tabview's removal, r=ttaubert
--HG--
extra : commitid : LsM4DGXki7Q
extra : rebase_source : 37969b5cbad6f656485554f336bccffc5a6e4994
2015-12-01 10:48:11 +00:00
Mike Conley
326648e0df Bug 1228518 - Regression test. r=ttaubert
--HG--
extra : commitid : 40sOsxV5Nbs
extra : rebase_source : 28886968eb0250c5ea66c8e580873a5b6be829be
2015-11-27 15:48:43 -05: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
Mike Conley
8204774062 Bug 1227444 - Regression test. r=billm
--HG--
extra : commitid : 6ospu4q8HEw
extra : rebase_source : 0aa8ba9abc235528dc4df9260fae1f3f69c9f3d5
extra : amend_source : a6887ec2a88adb002fdb10881d89138c000f9abd
extra : histedit_source : 0195b81bb032b644f881b345ec8ca3dee9cb4399
2015-11-25 14:41:41 -05:00
Mike Conley
02f5b0a371 Bug 1209689 - Test forcing revived background tabs to restore on demand. r=felipe
--HG--
extra : commitid : 6pJotg61fXl
extra : rebase_source : 8d5c2bb1d59473ce91fe391c45388430ef4dfdd4
2015-11-18 17:52:41 -05:00
Mike Conley
d7643f1e06 Bug 1209689 - Fix browser_async_flushes.js. r=felipe
--HG--
extra : commitid : 2KUw94QDEA6
extra : rebase_source : bc2b942070c3d49c960e85f7070bfef68fb5359b
2015-11-03 10:29:41 -05:00
Mike Conley
6515482435 Bug 1209689 - browser_crashedTabs.js fixes. r=felipe
--HG--
extra : commitid : HUgricZ9y07
extra : rebase_source : 506dfb198528c063782addbaf38bef20a93daf7e
2015-11-02 12:39:43 -05:00
Mike Conley
3115a60639 Bug 1209689 - Regression test. r=Mossop
--HG--
extra : commitid : HXC2qVCZNlL
extra : rebase_source : 3dc03c46aed52dba930131bc9fff99f4d96501bd
2015-10-28 15:25:04 -04:00
Mike Conley
c5e8772b59 Bug 1209689 - Update browser_replace_load for async tab restoration. r=Mossop
--HG--
extra : commitid : 1r2u2785E9w
extra : rebase_source : e1ed1a06816415fd1a1877d8e76a1127a686193b
2015-11-03 18:47:14 -05:00
Mike Conley
d9dd7d1040 Bug 1220929 - Harden browser_crashedTabs.js against races. r=felipe
--HG--
extra : commitid : FSJSywuhoKC
extra : rebase_source : 51a76681e6d89e64927955e7aa01eb703bef8c12
2015-11-03 17:19:38 -05:00