Commit graph

2373 commits

Author SHA1 Message Date
Nika Layzell
4464c02334 Bug 1434768 - Part 3: Rewrite JS consumers of .sessionHistory, r=bz 2018-04-10 17:49:45 -04:00
Yura Zenevich
442d872d5b Bug 1428427 - add 'Inspect Accessibility Properties' context menu item when right clicking on content element. r=jdescottes, mixedpuppy
MozReview-Commit-ID: 4aav1f6eslQ
2018-04-10 10:52:58 -04:00
Jonathan Kingston
d603d359f4 Bug 1374741 - Within browser/ tests make openUILinkIn() provide the correct triggeringPrincipal. r=gijs
MozReview-Commit-ID: 9tJ0b056yNE

--HG--
extra : rebase_source : 6b6c807dc592be347d3e53d700b3ae1fbdc37452
2018-02-21 14:49:24 +00:00
Tooru Fujisawa
e8598b2796 Bug 1448531 - Part 7: Request longer timeout for browser/base/content/test/general/browser_newTabDrop.js. r=bustage 2018-04-10 14:12:28 +09:00
Tooru Fujisawa
26e52d23dc Bug 1448531 - Part 5: Add BrowserTestUtils.waitForNewWindow and use it in tests for drag-and-drop URLs for window. r=enndeakin 2018-04-10 12:18:35 +09:00
Tooru Fujisawa
bc1ed58f7a Bug 1448531 - Part 2: Make BrowserTestUtils.waitForNewWindow receive parameters object. r=enndeakin 2018-04-10 12:18:35 +09:00
Tooru Fujisawa
d3c3da54a4 Bug 1448531 - Part 1: Use BrowserTestUtils.waitForNewTab in tests for drag-and-drop URLs for tab. r=enndeakin 2018-04-10 12:18:34 +09:00
Andreea Pavel
7a4b9a3f56 Merge mozilla-inbound to mozilla-central. a=merge
--HG--
extra : rebase_source : 66bd87105d99036ada5008499ff0eaea579b531a
2018-04-06 13:20:21 +03:00
ryanro1997
563ac19f69 Bug 1445267 - Removed deprecated definition promiseTopicObserved and replaced call with TestUtils.topicObserved. r=johannh
--HG--
extra : amend_source : 5ac5170380dab8ef4310de13f4b69d28fb01f7ab
2018-04-06 11:29:36 +02:00
Boris Zbarsky
a4c5e65aa3 Bug 1449631 part 1. Remove JS uses of nsIDOMEventTarget. r=smaug
MozReview-Commit-ID: CCHCZjMgInu
2018-04-05 13:42:40 -04:00
Marco Bonardo
ffbde0c2ea Bug 1450563 - Modernize browser_bug432599.js. r=standard8
MozReview-Commit-ID: K8eX2b85x1F

--HG--
extra : rebase_source : 80cc796ec7e9537b33bcbf38da8b30678f128058
2018-04-01 16:36:28 +02:00
Masayuki Nakano
989795493b Bug 1449018 - The bookmark panel should listen to keypress event at the system event group r=mak
The bookmark panel should handle keypress events at the system event group
because it needs to handle keypress events after autocomplete module which
handles keypress events at the system event group.

MozReview-Commit-ID: 9KjBlQ59gHw

--HG--
extra : rebase_source : 7a626d2b1bd7ae4f8fd917d5e569be34e34227dc
2018-03-27 16:50:18 +09:00
Brindusan Cristian
5e8042bb20 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-26 00:57:39 +03:00
Kris Maglione
da6100cc92 Bug 1446686: Part 1 - Fix browser install tests that rely on non-bootstrapped legacy extensions. r=aswan
Several of these tests are obsolete. They only test non-AMO-signed extensions
(which are equivalent to unsigned extensions now), non-restartless extensions
(which aren't supported), or specific behaviors of the old XPInstall dialogs (which are
essentially unsupported).

The rest have been updated to use WebExtensions.

MozReview-Commit-ID: CBGTtl5XbG7

--HG--
rename : toolkit/mozapps/extensions/test/browser/addons/browser_installssl/install.rdf => toolkit/mozapps/extensions/test/browser/addons/browser_installssl/manifest.json
rename : toolkit/mozapps/extensions/test/xpinstall/amosigned.xpi => toolkit/mozapps/extensions/test/xpinstall/amosigned-restart-required.xpi
rename : browser/base/content/test/general/browser_bug553455.js => toolkit/mozapps/extensions/test/xpinstall/browser_doorhanger_installs.js
extra : rebase_source : 92bde0e0ca3b8e412b97e10f232ccdf8f3c0e84a
extra : absorb_source : 12fc93c4de6d5bab90c7bc0d83eef2316cc257cd
extra : histedit_source : c6305693d966956c7d6e84d87364d703606937cf%2C838f8f30f7d1c467618eb59062586d2876abbfce
2018-03-17 16:22:22 -07:00
Arthur Iakab
3b0bc8fc12 Bug 1439493 - Disable browser_bug495058.js on Linux jsdcov (coverage). r=jmaher
--HG--
extra : amend_source : 602f9383df5e4d2685389a17042b407d49d54fa4
2018-03-21 20:49:00 -04:00
Tim Nguyen
e002c63fa4 Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
MozReview-Commit-ID: 5dsyKwvjYht

--HG--
extra : rebase_source : 881e10f2987606e84e55c267260661c0f7b3b746
2018-03-16 23:21:46 +00:00
Tim Nguyen
5e399b2f06 Bug 1444760 - Support only one form of loadURIWithFlags calls. r=dao
MozReview-Commit-ID: A5rMjQ6xnRw

--HG--
extra : rebase_source : 31166bca511e5bc16ffff2acab2e3295d9f6079c
2018-03-25 14:35:17 +02:00
Margareta Eliza Balazs
27703664b0 Backed out 2 changesets (bug 1444760) for ES lint failure in /builds/worker/checkouts/gecko/browser/base/content/browser.js on a CLOSED TREE
Backed out changeset 71f61091a716 (bug 1444760)
Backed out changeset 4956db1e9bdd (bug 1444760)
2018-03-25 15:29:54 +03:00
Tim Nguyen
e2ed0b5dfb Bug 1444760 - Combine loadURIWithFlags and loadURI methods. r=dao
MozReview-Commit-ID: 5dsyKwvjYht

--HG--
extra : rebase_source : 8e9f24d20829021db2239435c7d8d0db08e28bf9
2018-03-16 23:21:46 +00:00
Tim Nguyen
78b296ff06 Bug 1444760 - Support only one form of loadURIWithFlags calls. r=dao
MozReview-Commit-ID: A5rMjQ6xnRw

--HG--
extra : rebase_source : e44817bd271a3477fdd54f405beb1b5096a032d0
2018-03-25 13:59:50 +02:00
Dão Gottwald
bf9d434a13 Bug 1450559 - Remove nsISessionStore in favor of SessionStore.jsm. r=mikedeboer
MozReview-Commit-ID: 8spvIOus9ai

--HG--
rename : browser/components/sessionstore/nsSessionStore.manifest => browser/components/sessionstore/nsSessionStartup.manifest
extra : rebase_source : fc353af87bd620b7039d3e6241cc60c3788e3da6
2018-04-05 16:30:48 +02:00
arthur.iakab
5e8092339a Merge mozilla-central to inbound
--HG--
rename : browser/base/content/test/general/bug364677-data.xml => browser/components/feeds/test/bug364677-data.xml
rename : browser/base/content/test/general/bug364677-data.xml^headers^ => browser/components/feeds/test/bug364677-data.xml^headers^
rename : browser/base/content/test/general/test_bug364677.html => browser/components/feeds/test/test_bug364677.html
rename : services/sync/tps/extensions/tps/bootstrap.js => services/sync/tps/extensions/tps/components/tps-cmdline.js
rename : testing/talos/talos/pageloader/bootstrap.js => testing/talos/talos/pageloader/components/tp-cmdline.js
rename : testing/talos/talos/startup_test/sessionrestore/addon/bootstrap.js => testing/talos/talos/startup_test/sessionrestore/addon/SessionRestoreTalosTest.js
rename : testing/talos/talos/talos-powers/bootstrap.js => testing/talos/talos/talos-powers/components/TalosPowersService.js
rename : tools/quitter/bootstrap.js => tools/quitter/QuitterObserver.js
extra : rebase_source : 5801e95a945b54754f27571e7b211e1eac132d67
2018-03-21 22:27:21 +02:00
Gijs Kruitbosch
a47c8a99cd Bug 1445106 - don't try to have a feed reader in a frame, r=mak
MozReview-Commit-ID: 24EESnD4UaT

--HG--
rename : browser/base/content/test/general/bug364677-data.xml => browser/components/feeds/test/bug364677-data.xml
rename : browser/base/content/test/general/bug364677-data.xml^headers^ => browser/components/feeds/test/bug364677-data.xml^headers^
rename : browser/base/content/test/general/test_bug364677.html => browser/components/feeds/test/test_bug364677.html
extra : rebase_source : f04a5443d902b21f9fdd637656f06466a38f1308
2018-03-14 18:51:42 +00:00
Gijs Kruitbosch
6548bdd016 Bug 1423938 - try to fix browser_bug537474 detecting about:blank loads in the selected tab, r=johannh
MozReview-Commit-ID: cLfN049EJt

--HG--
extra : rebase_source : e5f96d5724ea77c5ef41fa03e3c85da9d3761b48
2018-03-20 22:46:49 +00:00
Peter Van der Beken
f5754d679a Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
--HG--
extra : rebase_source : 5911f91bd7a63cd3603494e087e3858bd0527500
2018-03-01 20:19:56 +01:00
Tooru Fujisawa
1adba8c1fc Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao 2018-03-19 11:16:45 +09:00
Tooru Fujisawa
d6dc027000 Bug 1442465 - Part 4.1: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (non-simple part). r=dao 2018-03-19 11:12:14 +09:00
Tooru Fujisawa
0047ec3b43 Bug 1442465 - Part 3: Use BrowserTestUtils.{waitForTabClosing,waitForSessionStoreUpdate} instead of BrowserTestUtils.removeTab. r=dao 2018-03-19 11:12:13 +09:00
Tooru Fujisawa
3038c58523 Bug 1442465 - Part 2: Use BrowserTestUtils.{waitForTabClosing,waitForSessionStoreUpdate} instead of BrowserTestUtils.tabRemoved. r=dao 2018-03-19 11:12:13 +09:00
Kris Maglione
313b707b2e Bug 1443964: Part 3 - Remove no-cpows-in-tests rule. r=mconley
The shims that this rule tests for no longer exist.

MozReview-Commit-ID: DMgP7Hczavc

--HG--
extra : rebase_source : 765ddd5c62c9449c07ed050e44d86a3bd5c0ae64
extra : amend_source : 627a7694ac07182200f876901ded7a34721cd228
2018-03-07 19:31:28 -08:00
Gijs Kruitbosch
d2ebbb38df Bug 1358815 - remove sync reflow from find bar initialization, r=jaws
This removes the sync reflow from almost all cases. The only case where we keep it is when a keypress
caught in content triggers a sync message to the parent process. We should clean this up in bug 1371523.

I've tried to fix the tests, but a lot of them seem to be disabled anyway...

MozReview-Commit-ID: 9k36p7q8MKy

--HG--
extra : rebase_source : 311ee41ba9456a5c5d58b81a0cfa999bcef0027e
2018-03-12 14:01:44 +00:00
Brindusan Cristian
4f5a76dc76 Backed out 2 changesets (bug 1358815) for bc failures on browser_pdfjs_main.js CLOSED TREE
Backed out changeset 880736d97de3 (bug 1358815)
Backed out changeset a2a0a0990e1a (bug 1358815)
2018-03-15 21:23:12 +02:00
Gijs Kruitbosch
59e21359c8 Bug 1358815 - remove sync reflow from find bar initialization, r=jaws
This removes the sync reflow from almost all cases. The only case where we keep it is when a keypress
caught in content triggers a sync message to the parent process. We should clean this up in bug 1371523.

I've tried to fix the tests, but a lot of them seem to be disabled anyway...

MozReview-Commit-ID: 9k36p7q8MKy

--HG--
extra : rebase_source : 311ee41ba9456a5c5d58b81a0cfa999bcef0027e
2018-03-12 14:01:44 +00:00
Kris Maglione
83957914cc Bug 1445551: Part 1b - Whitelist unsafe CPOW use in existing tests. r=mconley
MozReview-Commit-ID: 4ojwvjw9XGT

--HG--
extra : rebase_source : f7b79ad5998f1138266e89767ee1b434e4797b30
2018-03-14 14:35:05 -07:00
Arthur Iakab
3b54af194a Bug 1439493, disabling browser_bug495058.js on Linux jsdcov r=jmaher
--HG--
extra : rebase_source : e463ec7d232f15854323b5ed8b34ba7c8e00353d
2018-03-14 07:18:00 +02:00
Tooru Fujisawa
ccb14316da Bug 1442167 - Use text that will not be fixed to URL when testing non-URL case. r=Gijs 2018-03-09 10:53:36 +09:00
Kris Maglione
b9708b6e25 Bug 1443983: Follow-up: Force initial about:blank browser to non-remote. r=me
It looks like something about the removal of interpositions causes the inital
browser to sometimes load remotely, which breaks the assumptions of the test.

MozReview-Commit-ID: 9rmPem1VplE

--HG--
extra : rebase_source : 89a93c84de7fb72dba9adb6d3f2adf86ea76a888
2018-03-08 16:16:21 -08:00
Kris Maglione
3eba816ee8 Bug 1443964: Part 1 - Fix most tests that rely on add-on shims. r=mconley
browser_google_behavior.js is the only remaining exception.

MozReview-Commit-ID: GA15P7f0KBv

--HG--
extra : rebase_source : 7cb70cb6108abc6746a9261922bd2826bb11a9b7
2018-03-07 14:35:16 -08:00
Sebastian Hengst
3a10644021 Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout
Backed out changeset 83c87140dc3d (bug 888600)
Backed out changeset 2efb9b1753f6 (bug 888600)
Backed out changeset af5303781961 (bug 888600)
Backed out changeset 79ef59047e63 (bug 888600)
Backed out changeset 30d568d628dd (bug 888600)
Backed out changeset c7bd4c6c9741 (bug 888600)

--HG--
extra : histedit_source : 791b22f6770f4fead2f909478a93d65d85829fe0%2Cbb387309e90f53e1dde45dcf8cf4ebedcc6e5c5e
2018-03-01 11:51:09 +02:00
Florian Quèze
c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Tooru Fujisawa
dab0695a9b Bug 1435910 - Part 2: Open either URIs or single search when dropping multiple-line text. r=Gijs 2018-02-28 10:36:43 +09:00
Tooru Fujisawa
3546360add Bug 1435910 - Part 1: Warn when opening too many tabs by drag and drop. r=Gijs 2018-02-28 10:36:43 +09:00
Andreea Pavel
fa0861e443 Merge mozilla-inbound to mozilla-central. a=merge on a CLOSED TREE 2018-02-28 00:24:02 +02:00
Marco Bonardo
e085aaa596 Bug 1432425 - Remove synchronous Bookmarks::RemoveFolderChildren. r=kitcambridge,standard8
MozReview-Commit-ID: GPrNcmEIgpZ

--HG--
rename : toolkit/components/places/tests/unit/sync_utils_bookmarks.html => toolkit/components/places/tests/sync/sync_utils_bookmarks.html
rename : toolkit/components/places/tests/unit/sync_utils_bookmarks.json => toolkit/components/places/tests/sync/sync_utils_bookmarks.json
rename : toolkit/components/places/tests/unit/test_sync_utils.js => toolkit/components/places/tests/sync/test_sync_utils.js
extra : rebase_source : b94d8f1b800f440096cba0823c49dd001401515b
2018-02-25 21:44:41 +01:00
Peter Van der Beken
6cf0e1c871 Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
--HG--
extra : rebase_source : f6f781b04923f67f60718706a78b3c4de15eca94
2018-02-22 20:22:29 +01:00
Mark Banner
e5bcbe45d7 Bug 1005420 - Re-enable browser_visibleTabs_bookmarkAllPages.js as the intermittent failures seem resolved now. r=mak
MozReview-Commit-ID: 9ePr7pMXwHN

--HG--
extra : rebase_source : 339faeff1996d5a57b4f66fcd8dfe83443036174
2018-02-22 11:38:58 +00:00
Mark Banner
093fcb9807 Bug 825739 - Re-enable browser_bookmark_titles.js on Windows as the intermittents seem to have gone away. r=mak
MozReview-Commit-ID: 5Vu99gK8Nyo

--HG--
extra : rebase_source : ef8a69151e81d235101869c995824a06a5d0faa5
2018-02-22 07:36:51 +00:00
Masayuki Nakano
cf83ee7bb4 Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug
Note that this patch also replaces legacy VK_* with KEY_*, and replaces
synthesizeKey() for inputting some characters with sendString() because
it's better and clearer what it does and it sets shiftKey state properly.

MozReview-Commit-ID: De4enbjux3T

--HG--
extra : rebase_source : 2296b84bff8e22f01eeb48cd8614fac5db11136a
2018-02-15 04:15:39 +09:00
Jonathan Kingston
9f340d8168 Bug 1429732 - Use a pref to disable registerProtocolHandler in insecure contexts. r=baku,dao
MozReview-Commit-ID: 9NxFv57CyZO

--HG--
extra : rebase_source : 897ca40537493cc9df4bef7a538a5fdb04769889
2018-02-04 12:10:10 +00:00
Brendan Dahl
40c81820ad Bug 1418403 - Remove viewing source in a standalone window. r=jryans
Along with removing the view source standalone windows and prefs this patch:
1) Re-structures several of the view source tests that were only testing the old
standalone windows to now test view source in tab.
2) Adds support viewSourceUtils.viewSource() to open a browser window when there
aren't any open (for browser toolbox view source).
3) Cleans up some of the API for viewSourceUtils and removes the old deprecated
ways of calling it.

MozReview-Commit-ID: DI6sgZwbCf

--HG--
extra : rebase_source : 64677186122f74ab95912d5f3f173cf37472458a
2018-02-05 13:33:58 -08:00
Marco Bonardo
561ed54bf6 Bug 1313188 - Multiple bookmark keywords for same (uri, postData) pair possible. r=kitcambridge,standard8
MozReview-Commit-ID: 662vWkemAMq

--HG--
extra : rebase_source : 830c5e293199d4c28d15bf4f589289d37aeb8a8e
2018-02-06 15:58:31 +01:00
Ed Lee
6497dc1292 Bug 1433324 - Part 3. Assume true for browser.newtabpage.activity-stream.enabled. r=ursula
MozReview-Commit-ID: KMgNw5QsMIX

--HG--
extra : rebase_source : b3f3e2dbd568e88c0e8461fb4bfadbbdd9baaa99
2018-02-13 16:53:50 -08:00
Tim Nguyen
55ba4a31c1 Bug 1404688 - Make headerURL optional and remove text-shadow when there is no headerURL. r=jaws
MozReview-Commit-ID: 5x6SPWEJ3jp

--HG--
extra : rebase_source : 2ed208a81ca59367b9140a6e73b85bf630c6e294
2018-02-15 13:37:30 +00:00
Coroiu Cristina
4d5bfdec43 Backed out changeset 067ee834b07b (bug 1404688) for xpcshell failures at toolkit/mozapps/extensions/test/xpcshell/test_LightweightThemeManager.js 2018-02-15 05:15:10 +02:00
Tim Nguyen
461f749a68 Bug 1404688 - Make headerURL optional and remove text-shadow when there is no headerURL. r=jaws
MozReview-Commit-ID: BWhStvcLpkL

--HG--
extra : rebase_source : b50632db25916f113cd85e089759e892493e3be3
2018-02-15 02:30:44 +00:00
Dorel Luca
495816f593 Backed out changeset 85e30806ade1 (bug 1404688) for Browser chrome failure on browser/base/content/test/general/browser_compacttheme.js. CLOSED TREE 2018-02-14 21:50:09 +02:00
Tim Nguyen
7185846c7b Bug 1404688 - Make headerURL optional and remove text-shadow when there is no headerURL. r=jaws
MozReview-Commit-ID: iHJggOjHBa

--HG--
extra : rebase_source : e9d7513b36f32f4d06b30b1228f688cbcdbdbd0f
2018-02-11 19:28:32 +00:00
Masayuki Nakano
8917ac460f Bug 1436926 - part 2: Remove unnecessary KeyboardEvent.code specification of callers of EventUtils.synthesizeKey() r=smaug
Now, callers of EventUtils.synthesizeKey() don't need to specify
KeyboardEvent.code value anymore if they assume that active keyboard layout
is US keyboard layout.

Note that this patch changes the meaning of only test_bug551434.html.
Some callers in it don't match the key value and code value but that looks
like that they don't checking such odd keyboard events.  So, they must be
bug of the test.

MozReview-Commit-ID: Itxo7yZ9rkK

--HG--
extra : rebase_source : 856ef3715c924ca16e993ea57d92d1243b5cc6be
2018-02-09 19:17:26 +09:00
Tom Ritter
aa82f54ab6 Bug 1435296 Address test failures caused by bumping timer precision to 2 ms r=baku
There are a few different reasons why tests needed updating (not an exhaustive list):

- Tests assume that successive operations take place at different times.
- Tests assume that an operation took a minimum amount of time.
- Tests hardcodes a specific delay.

In most cases we hardcode the preference off. In some cases this is the best approach,
in others, we would like to improve. The bug for tracking those improvements is Bug 1429648

An improvement that is present in some tests is to hardcode a specific precision reduction
that is acceptable based on the confides of the test. (Obviously this needs to be a fix for
the test framework and not a requirement on the feature being tested.)

In a few places, the test itself can be fixed, for example to no longer require the end
time of an operation to be strictly greater than the start time, and allows it to be equal
to it.

MozReview-Commit-ID: J59c7xQtZZJ

--HG--
extra : rebase_source : df8a03e76eaf9cdc9524dbb3eb9035af237e534b
2018-02-12 11:39:41 -06:00
Paolo Amadini
d59df3cdd5 Bug 1434883 - Part 2 - Use an asynchronous API to open PanelMultiView panels. r=Gijs
MozReview-Commit-ID: 3VzoxJ3Ociy

--HG--
extra : source : 22c83b1d417d7c7bd21a71109f4800f5d37bbb77
extra : intermediate-source : 6de7133c267288a468804f67f91df68b10b9793e
2018-02-06 09:02:27 +00:00
Nathan Watson
1605552221 Bug 1434262 - Remove PlacesTestUtils.clearHistory() r=mak
MozReview-Commit-ID: In2RaM0LBsc

--HG--
extra : rebase_source : 0cb5dc65a53bfa384b93fb2a8c2af67ad9d3fe1c
2018-01-31 22:03:05 -08:00
Mark Banner
606beee3f2 Bug 1230369 - Manually fix some remaining instances of Ci/Cc/Cu definitions and switch Components.* to using the shorthand in some places. r=florian
MozReview-Commit-ID: 9SmoR9RlvZE

--HG--
extra : rebase_source : 054e14150921615ed67415ddb91b45169cc868d4
2018-02-07 09:24:15 +00:00
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

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

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

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

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Johann Hofmann
8a87220e95 Bug 1167238 - Part 4 - Move sanitize tests into a topical directory and clean up sanitize.js usage. r=mak
We're changing the way sanitize.js/Sanitizer.jsm works and need to adjust a lot of tests to that.
I'm using this opportunity to also move the sanitization tests into their
own topical directory and out of b/b/c/test/general.

MozReview-Commit-ID: GHOqr4hT52b

--HG--
rename : browser/base/content/test/general/browser_purgehistory_clears_sh.js => browser/base/content/test/sanitize/browser_purgehistory_clears_sh.js
rename : browser/base/content/test/general/browser_bug409624.js => browser/base/content/test/sanitize/browser_sanitize-formhistory.js
rename : browser/base/content/test/general/browser_sanitize-passwordDisabledHosts.js => browser/base/content/test/sanitize/browser_sanitize-passwordDisabledHosts.js
rename : browser/base/content/test/general/browser_sanitize-sitepermissions.js => browser/base/content/test/sanitize/browser_sanitize-sitepermissions.js
rename : browser/base/content/test/general/browser_sanitize-timespans.js => browser/base/content/test/sanitize/browser_sanitize-timespans.js
rename : browser/base/content/test/general/browser_sanitizeDialog.js => browser/base/content/test/sanitize/browser_sanitizeDialog.js
extra : rebase_source : 10577846b8a407d12f7459b270a5c5573cd425ad
2018-01-18 16:05:36 +01:00
Jonathan Kingston
53c9c480b7 Bug 1354175 - Disable AppCache in insecure contexts. r=baku,bkelly,mayhemer
MozReview-Commit-ID: wYWHkGlV8h

--HG--
extra : rebase_source : 9a600559a9d61c42baf9e3e5fde6e35d5adeaf90
2018-01-12 19:09:30 +00:00
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
hemant
64d45d0cb9 Bug 1417937 - Remove unnecessary LoadContextInfo.jsm r=standard8
MozReview-Commit-ID: EnY0uKD4UD1

--HG--
extra : rebase_source : c968b273a8a05fb211e0fb1e1601ac1b968ca045
2018-01-31 23:16:46 +05:30
shindli
f0168929ca Backed out changeset e401076359c6 (bug 1354175) for M(8) failures on a CLOSED TREE 2018-01-31 21:26:42 +02:00
Jonathan Kingston
8e24b20ae1 Bug 1354175 - Disable AppCache in insecure contexts. r=baku,bkelly,mayhemer
MozReview-Commit-ID: wYWHkGlV8h

--HG--
extra : rebase_source : 19e2663304c582fdb20a45efc3e9b55fd43fa286
2018-01-12 19:09:30 +00:00
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
Sebastian Hengst
732cb1d98b merge mozilla-inbound to mozilla-central. r=merge a=merge 2018-01-31 00:22:27 +02: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
Mike Taylor
ab14f80638 Bug 1422985. Update decoder doctor to JSON encode details param value. r=Gijs
MozReview-Commit-ID: JUf4rw5CeCH

--HG--
extra : rebase_source : b22677533b14cbbe4f9d0b1b0ada3e7e978312cc
2018-01-26 16:46:03 -06:00
Mark Banner
dd6c928ffd Bug 1433492 - Remove remaining instances of PlacesUtils.asyncHistory.isURIVisited being called directly. r=mak
MozReview-Commit-ID: B1sqEtJcq4L

--HG--
extra : rebase_source : 62a7c91e06f28712e9ba29a2e3ef73fa7dd9a0e1
2018-01-26 16:40:25 +00:00
hemant
df042c21a8 Bug 1370881 - Replace calls to asyncHistory.isURIVisited and promiseIsURIVisited with PlacesUtils.history.hasVisits r=standard8
MozReview-Commit-ID: BHWkJpdYA0g

--HG--
extra : rebase_source : 927cd89c69ed2cdbf6ebf8e954c38238ebbdd273
2018-01-24 20:58:57 +05:30
Mark Striemer
dfeadd0311 Bug 1431320 - Add support for label back to popupnotification r=johannh
Bug 1369482 originally replaced label with startlabel,hostname,endlabel. This
updates it to replace label with label,hostname,endlabel which should be
backwards compatible.

MozReview-Commit-ID: 3Aj66eaT5ER

--HG--
extra : rebase_source : abf3520015665d772ac2163d593433ac386d877b
2018-01-17 16:05:15 -06:00
Prathiksha
213a61bd9b Bug 1369482 - Make hostnames in permission prompts much more prominent. r=johannh
MozReview-Commit-ID: 89m2QVzj8DG

--HG--
extra : rebase_source : 008b55bdc41feddd312f41d0e63bb86262ccd658
2017-12-14 21:00:28 +05:30
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
Gijs Kruitbosch
a56bd43ead Bug 1429709 - make relative SVG links absolute, r=jaws
MozReview-Commit-ID: 9kSdFbpPx32

--HG--
extra : rebase_source : bbdfa2d8d404da0d37de27903888b49643dad69c
2018-01-12 00:19:12 +00:00
Sylvestre Ledru
4b189b7baf Bug 1278282 - Update of the tests to reflect the removal of the gtk2 r=lsalzman
MozReview-Commit-ID: Htgc44dCEjX

--HG--
extra : rebase_source : 55ce6a6a72c36cbfdbeef08fe58d11f2053dc35f
2018-01-10 08:55:38 +01:00
Andrea Marchesini
51cbe0791e Bug 1428745 - Remove support for version parameter from script loader - tests, r=jonco
* * *
Bug 1428745 - Remove support for version parameter from script loader - fixing a broken depending test - CLOSED TREE, r=me
* * *
Bug 1428745 - Remove support for version parameter from script loader - fixing WPTs - CLOSED TREE, r=me
* * *
Bug 1428745 - Remove support for version parameter from script loader - fixing tests - CLOSED TREE, r=me
2018-01-09 17:00:49 +01:00
Narcis Beleuzu
0cc8c52dcb Backed out 6 changesets (bug 1428745) for wpt failures on script-type-and-language-with-params.html. r=backout on a CLOSED TREE
Backed out changeset 9e84285278fe (bug 1428745)
Backed out changeset e199f1ccf64c (bug 1428745)
Backed out changeset dfb9af93ac53 (bug 1428745)
Backed out changeset 1d975770bd9a (bug 1428745)
Backed out changeset 1d5dc7dfd429 (bug 1428745)
Backed out changeset 4e53f251c5b8 (bug 1428745)
2018-01-10 00:37:59 +02:00
Andrea Marchesini
174498ca29 Bug 1428745 - Remove support for version parameter from script loader - tests, r=jonco 2018-01-09 17:00:49 +01:00
Myk Melez
ea1a751cdb Bug 1428529 - ensure window.opener.Preferences is defined; r=jaws
MozReview-Commit-ID: DNvpuQplNgb
2018-01-08 20:33:40 -08:00
Dorel Luca
04e91897cf Backed out 11 changesets (bug 1252998) for faling browser-chrome on browser/base/content/test/sanitize/browser_sanitize-offlineData.js
Backed out changeset a9ec63c01c50 (bug 1252998)
Backed out changeset a3e5299b882a (bug 1252998)
Backed out changeset aa511b206e21 (bug 1252998)
Backed out changeset 5875848a48ab (bug 1252998)
Backed out changeset 7fd2523680d1 (bug 1252998)
Backed out changeset a45e28e573a4 (bug 1252998)
Backed out changeset 92e8cc81b417 (bug 1252998)
Backed out changeset da38d133549e (bug 1252998)
Backed out changeset 5be23a98b47c (bug 1252998)
Backed out changeset 609093736110 (bug 1252998)
Backed out changeset f4955cf6447f (bug 1252998)

--HG--
rename : browser/base/content/test/sanitize/browser_purgehistory_clears_sh.js => browser/base/content/test/general/browser_purgehistory_clears_sh.js
rename : browser/base/content/test/sanitize/browser_sanitize-passwordDisabledHosts.js => browser/base/content/test/general/browser_sanitize-passwordDisabledHosts.js
rename : browser/base/content/test/sanitize/browser_sanitize-sitepermissions.js => browser/base/content/test/general/browser_sanitize-sitepermissions.js
rename : browser/base/content/test/sanitize/browser_sanitize-timespans.js => browser/base/content/test/general/browser_sanitize-timespans.js
rename : browser/base/content/test/sanitize/browser_sanitizeDialog.js => browser/base/content/test/general/browser_sanitizeDialog.js
2018-01-08 11:00:39 +02:00
Andrea Marchesini
169e3c277d Bug 1252998 - StorageActivityService - part 8 - Sanitize tests in a separate folder, r=gijs
--HG--
rename : browser/base/content/test/general/.eslintrc.js => browser/base/content/test/sanitize/.eslintrc.js
rename : browser/base/content/test/general/browser_purgehistory_clears_sh.js => browser/base/content/test/sanitize/browser_purgehistory_clears_sh.js
rename : browser/base/content/test/general/browser_sanitize-passwordDisabledHosts.js => browser/base/content/test/sanitize/browser_sanitize-passwordDisabledHosts.js
rename : browser/base/content/test/general/browser_sanitize-sitepermissions.js => browser/base/content/test/sanitize/browser_sanitize-sitepermissions.js
rename : browser/base/content/test/general/browser_sanitize-timespans.js => browser/base/content/test/sanitize/browser_sanitize-timespans.js
rename : browser/base/content/test/general/browser_sanitizeDialog.js => browser/base/content/test/sanitize/browser_sanitizeDialog.js
rename : browser/base/content/test/general/dummy_page.html => browser/base/content/test/sanitize/dummy_page.html
2018-01-08 08:31:39 +01:00
Myk Melez
c3da3e7642 Bug 1379338 - scriptify preferences XBL; r=jaws
MozReview-Commit-ID: Egyzs2KxhzH
2018-01-04 21:37:47 -08:00
Sebastian Hengst
bc8e5f198e Backed out 2 changesets (bug 1379338) for failing Marionette headless' test_anonymous_content.py TestAnonymousNodes.test_find_anonymous_children. r=backout on a CLOSED TREE
Backed out changeset 232c97d7c2ea (bug 1379338)
Backed out changeset a76ff10b9bff (bug 1379338)
2018-01-04 20:15:18 +02:00
Myk Melez
f5bb45814e Bug 1379338 - scriptify preferences XBL; r=jaws
MozReview-Commit-ID: 7NRHlSsdOtf
2018-01-04 07:34:15 -08:00
Dão Gottwald
226f4126df Bug 1426350 - Move tab context menu tests to browser/base/content/test/tabs/. r=Gijs
MozReview-Commit-ID: 7sLCZhwoDEs

--HG--
rename : browser/base/content/test/general/browser_bug580956.js => browser/base/content/test/tabs/browser_bug580956.js
rename : browser/base/content/test/general/browser_visibleTabs_bookmarkAllTabs.js => browser/base/content/test/tabs/browser_visibleTabs_bookmarkAllTabs.js
rename : browser/base/content/test/general/browser_visibleTabs_contextMenu.js => browser/base/content/test/tabs/browser_visibleTabs_contextMenu.js
extra : rebase_source : 4f60a0b43de780e4b00baad7e137365a1adf88e8
2017-12-20 14:08:16 +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
Jonathan Kingston
2cb1afc933 Bug 1420622 - Remove feed and pcast protocols. r=Gijs
MozReview-Commit-ID: KAC9MmLiuBG

--HG--
extra : rebase_source : 076fc5a6acc75362ceffee1b5150e1598af41673
2017-12-19 16:12:29 +00:00
Dão Gottwald
3ea994161f Bug 1419537 - Make 'Close Tabs to the Right' and 'Close Other Tabs' available on pinned tabs to close non-pinned ones. r=jaws
MozReview-Commit-ID: 3kooJBCy8du

--HG--
extra : rebase_source : 744b133e05dc8dfadafa7395cb01f6ced2cec224
2017-12-16 13:24:44 +01:00
Gurzau Raul
bc6e59d2b4 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-19 00:00:36 +02:00
Gijs Kruitbosch
ffc0ed12d2 Bug 1425363 - remove onWindowTitleChanged given that nobody uses it, r=bgrins
MozReview-Commit-ID: ALslAwZo4K9

--HG--
extra : rebase_source : ca1add0015eea86128c0c5f209252ebb6a228998
2017-12-14 21:55:44 -06:00
Tooru Fujisawa
7b3648e5fc Bug 1424762 - Remove unnecessary sync message from browser/base/content/test/general/browser_tabfocus.js with non-e10s. r=Mossop 2017-12-14 14:49:32 -06: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
Ciure Andrei
48e5c9892f Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-02 12:19:55 +02:00
Tooru Fujisawa
ef48056fc3 Bug 1421653 - Wait for new tab load and window close in browser/base/content/test/general/browser_trackingUI_5.js to make sure state transition does not overlap. r=felipe 2017-12-01 22:35:58 +09:00
Tooru Fujisawa
aabc90cd2f Bug 1421101 - Disable mouse events on tab preview buttons in browser/base/content/test/general/browser_ctrlTab.js. r=jaws 2017-12-01 10:05:47 +09:00
Dão Gottwald
76c4fb2a77 Bug 1420601 - Let Accel+W in a pinned tab select the first unpinned tab. r=daleharvey
MozReview-Commit-ID: DNhOuW4BL3P

--HG--
rename : browser/base/content/test/general/browser_pinnedTabs.js => browser/base/content/test/tabs/browser_pinnedTabs.js
rename : browser/base/content/test/general/browser_bug580638.js => browser/base/content/test/tabs/browser_pinnedTabs_closeByKeyboard.js
extra : rebase_source : 7bf78150f4d1fda4d501fa06b1855ef628547690
2017-11-29 16:17:37 +01:00
Dorel Luca
79499f4044 Merge mozilla-central to autoland r=merge on a CLOSED TREE 2017-11-29 12:31:25 +02:00
Mark Banner
f99ae4c2a9 Bug 1421376 - Change various instances of manually calling getService to use Services.jsm in browser/. r=mossop
MozReview-Commit-ID: FW3X2fkOwK2

--HG--
extra : rebase_source : f71e053e18017d675d4ea4d758e2552adcf5adc6
2017-11-28 19:21:33 +00:00
Valentin Gosu
ee8c43ddf9 Bug 1414425 - Make sure the appropriate triggeringPrincipal is set for a meta refresh. r=bz
MozReview-Commit-ID: 4Kn6P4hnx74
2017-11-09 16:32:51 +01:00
Jonathan Kingston
01bea734e5 Bug 1310447 - Add a pref to display a negative indicator in the URL bar for non-secure sites r=johannh
MozReview-Commit-ID: ExV99iQfvD6

--HG--
rename : browser/base/content/test/general/browser_bug590206.js => browser/base/content/test/siteIdentity/browser_check_identity_state.js
extra : rebase_source : c83f4cc4e3ea1bfa51ca922ee030a9d12ee1b35a
2017-11-14 18:36:56 +00:00
Gabriele Svelto
5ff191810d Bug 1402519 - When the crash reporter code is disabled at configure time replace it with a dummy implementation; r=ted.mielczarek
MozReview-Commit-ID: F5QbaI1LlmZ

--HG--
extra : rebase_source : f05c929911d27dc1598bc040df54022cd90aa06a
2017-11-14 14:49:33 +01:00
Ed Lee
2791b99bc9 Bug 1417017 - Check for content. usage at global and within add_task for no-cpows-in-tests. r=standard8
MozReview-Commit-ID: Asz6dM29uRJ

--HG--
extra : rebase_source : 4f5b67cc5ff48cbdb9afddc24f5842ecaeff0b15
2017-11-14 02:17:57 -08: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
Sebastian Hengst
3128a02933 Bug 925225 - Fixing intermittent failure in test browser_bug676619.js: add semicolon to fix conflict with fix for bug 1367704. r=eslint-fix on a CLOSED TREE
--HG--
extra : amend_source : b52b81c9db14a36adf1744f51db947cb932df9e2
2017-11-20 01:47:49 +02:00
Andrea Marchesini
a924e3c5af Bug 925225 - Fixing intermittent failure in test browser_bug676619.js, r=qdot 2017-11-19 20:13:31 +01:00
Tooru Fujisawa
fbd6216805 Bug 1415036 - Fix events to wait for in browser_bug553455.js. r=mossop 2017-11-18 22:57:17 +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
Dão Gottwald
6950ac6b52 Bug 1415863 - Rename mTabBox to tabbox. r=florian
MozReview-Commit-ID: L2mzJnHHwNu

--HG--
extra : rebase_source : 9959999779d90e5a4d3798ccbccbf1cb831cd602
2017-11-09 13:53:48 +01:00
Edouard Oger
39088f038f Bug 1404427 - Sync multiple form history deletions. r=kitcambridge
MozReview-Commit-ID: H7AmIBtFUOr

--HG--
extra : rebase_source : 5a33c4da86051bf3dfec56d878330a8d68b70870
2017-11-06 15:50:28 -05:00
Gijs Kruitbosch
d8708fc7d7 Bug 1416822 - remove INSTALL_COMPACT_THEMES define now that we always ship compact themes, r=bgrins
MozReview-Commit-ID: 118eGLpRqjg

--HG--
extra : rebase_source : d1f5a2119cc70d10ed98b100574cc045fe9c1c6e
2017-11-13 17:10:49 +00:00
Paolo Amadini
f735328150 Bug 1409301 - Update the site security subview to the Photon style. r=johannh
The site security subview is now implemented using the "photonpanelmultiview" element, replacing the last instance of the "panelmultiview" element. The subview features a standard Photon header, hence the connection state icon was moved to the element below it. This makes the styles more similar between the main view and the subview. The connection state styles are now applied using a class name, and the tests have been updated accordingly.

This change required some fixes in the "photonpanelmultiview" implementation to make sure the height of the subview is correct and to allow keyboard navigation back to the main view.

Since the expander button and the permission controls in the main view are not visible anymore after the subview is shown, some code related to focus and hover could be removed as well.

MozReview-Commit-ID: 4nIAPWJPV8k

--HG--
extra : rebase_source : 74d6d769421c0f8521bdfae249b4d111e630a3bd
2017-11-11 19:13:43 +00:00
Narcis Beleuzu
f7f473b678 Backed out 1 changesets (bug 1404427) for browser failures in browser_sanitize-timespans.js at some times of the day. r=backout a=backout on a CLOSED TREE
Backed out changeset e02d99be7eb0 (bug 1404427)
2017-11-11 05:48:15 +02:00
Edouard Oger
4f9b7d04fa Bug 1404427 - Sync multiple form history deletions. r=kitcambridge
MozReview-Commit-ID: H7AmIBtFUOr

--HG--
extra : rebase_source : 596e4470b64e9406432c4d54f7ef90138a032e62
2017-11-06 15:50:28 -05:00
Xidorn Quan
76d6674aca Bug 1390694 - Part 5: Enable browser_windowactivation.js test. r=emilio
MozReview-Commit-ID: 3q0KgAx0YWh

--HG--
extra : rebase_source : 33148fe8353a95252d49730bd98585b5cfecf59c
extra : source : f375beb72ceb02b4e300ee6e041991046e35aec4
2017-11-01 21:20:39 +11:00
Matthew Noorenberghe
67d4b55c85 Bug 1413092 - Cleanup and move formValidation b-c tests. r=Felipe
MozReview-Commit-ID: 9lVE2ulrtV7

--HG--
rename : browser/base/content/test/general/browser_bug561636.js => browser/modules/test/browser/formValidation/browser_form_validation.js
rename : browser/base/content/test/general/browser_bug595507.js => browser/modules/test/browser/formValidation/browser_validation_iframe.js
rename : browser/modules/test/browser/browser_bug1319078.js => browser/modules/test/browser/formValidation/browser_validation_invisible.js
extra : rebase_source : b2109c88d799d3592f4425bc216aff20a8409c39
2017-10-31 21:18:07 -07:00
Phil Ringnalda
9ac65f67a4 Backed out changeset fdebe274e971 (bug 1413092) for failures in test_mozbuild_reading.py
CLOSED TREE

MozReview-Commit-ID: JA9UPvYmWMF

--HG--
rename : browser/modules/test/browser/formValidation/browser_form_validation.js => browser/base/content/test/general/browser_bug561636.js
rename : browser/modules/test/browser/formValidation/browser_validation_iframe.js => browser/base/content/test/general/browser_bug595507.js
rename : browser/modules/test/browser/formValidation/browser_validation_invisible.js => browser/modules/test/browser/browser_bug1319078.js
2017-10-31 20:27:48 -07:00
Matthew Noorenberghe
f610ae3d0d Bug 1413092 - Cleanup and move formValidation b-c tests. r=Felipe
MozReview-Commit-ID: 9lVE2ulrtV7

--HG--
rename : browser/base/content/test/general/browser_bug561636.js => browser/modules/test/browser/formValidation/browser_form_validation.js
rename : browser/base/content/test/general/browser_bug595507.js => browser/modules/test/browser/formValidation/browser_validation_iframe.js
rename : browser/modules/test/browser/browser_bug1319078.js => browser/modules/test/browser/formValidation/browser_validation_invisible.js
extra : rebase_source : 0883eee8c6cea0c1e9d4462ecbee50994bd7d7be
2017-10-30 22:12:35 -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
Mike de Boer
cd5f71abe4 Bug 1120110 - Consistently save pages bookmarked using 'Bookmark This Page' anywhere into the 'Other Bookmarks' folder. r=mak
Since we're not passing an optional parent folder around anymore, this patch also
removes PlacesCommandHook.bookmarkCurrentPage() in favor of a simplified
PlacesCommandHook.bookmarkPage() signature.

MozReview-Commit-ID: HmzwmATgQyw

--HG--
extra : rebase_source : 384e7dba2ab58b212273d39bf6344424a9841e4f
2017-10-23 14:10:04 +02:00
Brad Werth
3e11610839 Bug 1407987 Part 3: Disable browser_visibleFindSelection.js for failing to automate properly. r=mikedeboer
MozReview-Commit-ID: GNwMz43Jm35

--HG--
extra : rebase_source : 9c2fe1c04c6c0a713f658b791bb8c5a1d35edf79
2017-10-16 14:32:11 -07:00
Sebastian Hengst
07b558df1b Backed out changeset 3464e112b7d4 (bug 1407987) 2017-10-17 18:59:40 +02:00
Brad Werth
20a125282e Bug 1407987 Part 3: Disable browser_visibleFindSelection.js for failing to automate properly. r=mikedeboer
MozReview-Commit-ID: GNwMz43Jm35

--HG--
extra : rebase_source : 41a404f0296780a2f0316594700d379926b83ec7
2017-10-16 14:32:11 -07: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
Johann Hofmann
ca2239d1a3 Bug 1406691 - Replace afterselected-visible with beforeselected-visible. r=dao
MozReview-Commit-ID: BtBmZrBvOFb

--HG--
rename : browser/base/content/test/general/browser_bug585558.js => browser/base/content/test/tabs/browser_positional_attributes.js
extra : rebase_source : ad90ba9890b428d00ac9bce287f920ad2c03fd18
2017-10-11 16:19:22 +02:00
Ryan VanderMeulen
0dcd727f08 Merge m-c to autoland. a=merge 2017-10-11 17:55:13 -04:00
Prathiksha
66164d338a Bug 1357523 - Make about:home and about:newtab search box search for the value in the search textbox when we use non-default search engines. r=nhnt11
MozReview-Commit-ID: CdgqghkmXau

--HG--
extra : rebase_source : f0312fccd5172bffa1afee53b699398bb3e4ba8c
2017-09-15 22:08:12 +05:30
Gijs Kruitbosch
7f4a700e01 Bug 1342299 - browser_tab_close_dependent_window.js should wait for the tab to have gone away, rs=firebot,test-only
Speculative fix to see if this helps deal with the intermittent orange. Seems to at least not cause
other issues locally.

MozReview-Commit-ID: E1T37mgAAqy

--HG--
extra : rebase_source : 6eeaf44dc2ebb7d47dfb5489e607eb38be4b90e9
2017-10-11 17:17:17 +01:00
Olli Pettay
c696cbeb9e Bug 1407405 - browser_bug553455.js relies on broken Promise scheduling, r=florian
--HG--
extra : rebase_source : 348b0c0defb8ec8a8a0c6b2ac451ae033c65192f
2017-10-11 14:44:01 +03:00
Dão Gottwald
86965428b4 Bug 1406478 - Set browser.tabs.tabMinWidth to 76. r=jaws
MozReview-Commit-ID: 3bbTd1Fmtc5

--HG--
extra : rebase_source : f6f5bf4a1587be3f82010a9cd02d7c6598d084c0
2017-10-09 19:38:47 +02:00
Jared Hirsch
738284c9e1 Bug 1405166 - Update occurrences of system-disabled pref outside screenshots system addon; r=kmag
MozReview-Commit-ID: 24PV53VM6te

--HG--
extra : rebase_source : 4042e3de5bf2a3c08da81f5ed0d709e1b859ab1c
2017-10-03 16:26:41 -07:00
Nan Jiang
ecf8dd8c3f Bug 1401894 - Add various tests for rich icon collection. r=mak
MozReview-Commit-ID: 49YDqCXcLLr

--HG--
rename : browser/base/content/test/general/browser_discovery.js => browser/base/content/test/favicons/browser_icon_discovery.js
rename : browser/base/content/test/general/browser_discovery.js => browser/base/content/test/general/browser_search_discovery.js
extra : rebase_source : 1ccff3b348d0f7236c2ac5436a4101eb8e89c825
2017-10-02 13:14:40 -04:00
Marco Bonardo
1ce397a901 Bug 1403508 - Tabbrowser is no more storing root favicons in Places for pages not defining an icon. r=Mardak
Setting an icon for the tab and storing that icon in Places are now separate actions.
Before bug 1401777 setIcon was doing both, but that was error-prone and more expensive.
Due to that change, useDefaultIcon stopped storing root domain favicons in Places.

MozReview-Commit-ID: Kt5xEXctsnU

--HG--
extra : rebase_source : 1ca4910915c26ee538d66e4a07d447e453c88d22
2017-09-27 14:43:17 +02:00
Sebastian Hengst
ef3798a8d8 Backed out changeset 240bd9bd8b3e (bug 1403508) for failing toolkit/modules/tests/browser/browser_WebRequest_ancestors.js because it got mid-aired by bug 1305237. r=backout 2017-09-28 14:01:55 +02:00
Marco Bonardo
5e87d90e2b Bug 1403508 - Tabbrowser is no more storing root favicons in Places for pages not defining an icon. r=Mardak
Setting an icon for the tab and storing that icon in Places are now separate actions.
Before bug 1401777 setIcon was doing both, but that was error-prone and more expensive.
Due to that change, useDefaultIcon stopped storing root domain favicons in Places.

MozReview-Commit-ID: Kt5xEXctsnU

--HG--
extra : rebase_source : f7fa2b0e818df2570f0078c86c4dfdaba3953f01
2017-09-27 14:43:17 +02:00
Marco Bonardo
45a04bb796 Bug 1401777 - don't use rich icons for tabs. r=Mardak
MozReview-Commit-ID: DcqxEme7hfx

--HG--
extra : rebase_source : a134d0cae3cad93d9a7c8285abc76c694ef7da33
2017-09-21 10:21:50 +02:00