Kris Maglione
80327d3561
Bug 1484496: Part 5a - Convert browser/ nsISimpleEnumerator users to use JS iteration. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D3729
--HG--
extra : rebase_source : e187b8e9a6b6db7ebc762adda5e489b25c7a7e43
extra : histedit_source : 868cb99d09954a51d6be321fcb516475ef70eb33
2018-08-18 19:27:33 -07:00
Dorel Luca
8e7a61886b
Backed out changeset d47a2f5db828 (bug 1481199) browser/base/content/test/urlbar/browser_autocomplete_a11y_label.js. CLOSED TREE
2018-08-23 23:45:02 +03:00
Diego Pino Garcia
6900fb42ab
Bug 1481199 - Drop the obsolete dataType parameter for nsIBrowserSearchService.addEngine. r=mkaply
2018-08-23 09:00:00 -04:00
Natalia Csoregi
e8bb7d9181
Bug 1388973 - Disabled browser_tab_dragdrop.js on Linux, OSX and Win10 asan. r=jmaher
2018-08-23 01:27:00 +03:00
Paolo Amadini
bb3d2cf63d
Bug 1482648 - Part 3 - Remove remaining broadcasters from front-end code. r=bgrins
...
Differential Revision: https://phabricator.services.mozilla.com/D3150
--HG--
extra : rebase_source : ae1bca38891bf3876af59e1cff047199b19abacd
2018-08-21 14:55:04 +01:00
Cosmin Sabou
71a6bee4ed
Bug 1478159 - Disable browser/base/content/test/general/browser_bug519216.js on all platforms. r=jmaher
2018-08-19 11:45:00 +03:00
Narcis Beleuzu
3fb1c90952
Bug 1212419 - Disable browser_save_video.js on Windows debug and Linux. r=jmaher
...
--HG--
extra : rebase_source : d8c9c3fc1333f41683d6cc96616c39a76516e438
2018-08-20 06:38:00 +03:00
Tiberius Oros
6f4e1a7b38
Disable Bug 1457887 for frequent failures on browser_e10s_chrome_process.js r=jmaher
2018-08-18 07:50:00 +03:00
Daniel Varga
707a0b3f74
Merge mozilla-inbound to mozilla-central. a=merge
2018-08-18 00:53:04 +03:00
Brian Grinstead
4995c61b0f
Bug 1482667 - Migrate mochitest-browser tests in browser/ to use element variations of firstChild, etc;r=paolo
...
Differential Revision: https://phabricator.services.mozilla.com/D3530
--HG--
extra : moz-landing-system : lando
2018-08-17 16:45:52 +00:00
Eliza Balazs
e96e5d340b
Bug 1444565 - Disable browser_e10s_chrome_process.js on linux and osx for frequent failures. r=jmaher
2018-08-16 00:26:00 +03:00
trisha
1925763b0c
Bug 1474820 - Add the 'Accept the Risk and Add Exception' Button to the new certificate error pages r=johannh
2018-08-07 16:27:01 +05:30
Kris Maglione
0c0831f6d0
Bug 1472491: Part 5d - Add ContentSearchChild actor. r=adw f=felipe
...
MozReview-Commit-ID: 5u7VpedF3xH
--HG--
rename : browser/base/content/tab-content.js => browser/actors/ContentSearchChild.jsm
extra : rebase_source : abfaa941f6769428a7dd47cc7c3f953f6d8c3e87
2018-07-29 20:00:11 -07:00
Andreea Pavel
0018c0b979
Backed out changeset 1fbfb6dcd887 (bug 1444631) for build bustages on a CLOSED TREE
2018-08-14 13:10:52 +03:00
Arthur Iakab
4bb11eb3d5
Bug 1444631 Disabled browser_utilityOverlay.js on linux and mac. r=jmaher
2018-08-12 01:46:00 +03:00
Paolo Amadini
88c6b35cb5
Bug 1481813 - Part 1 - Remove unneeded broadcaster observers for bookmarks. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D3007
--HG--
extra : source : a2067cf24c1befd37d200fe7055dbdb06ad9c152
2018-08-09 13:13:27 +01:00
Narcis Beleuzu
e8b59f512d
Bug 1212419 - Disable browser_save_video.js on Mac for frequent failures. r=jmaher
2018-08-12 21:39:00 +03:00
Jonathan Kingston
a91f8e8108
Bug 1466801 - Flipping disallowInheritPrincipal to be allow. r=ckerschb r=gijs
...
--HG--
rename : browser/base/content/test/general/browser_utilityOverlay.js => browser/base/content/test/contextMenu/browser_utilityOverlay.js
extra : source : 5eab8f37c4bd6048057069cb0ac2ab0b4729d950
2018-07-16 10:17:51 +01:00
Bogdan Tara
89268618f4
Backed out changeset c9b0ce46ad4f (bug 1466801) for pause-remove-from-document-networkState.html failures CLOSED TREE
...
--HG--
rename : browser/base/content/test/contextMenu/browser_utilityOverlay.js => browser/base/content/test/general/browser_utilityOverlay.js
2018-08-11 03:20:30 +03:00
Johann Hofmann
5584301845
Bug 1476218 - Part 3 - Update Tracking Protection tests to reflect Content Blocking changes. r=nhnt11
...
This commit also moves the remaining trackingUI_* tests out of b/b/c/test/general,
since I needed to touch them anyway
Differential Revision: https://phabricator.services.mozilla.com/D2935
--HG--
rename : browser/base/content/test/general/benignPage.html => browser/base/content/test/trackingUI/benignPage.html
rename : browser/base/content/test/general/browser_trackingUI_3.js => browser/base/content/test/trackingUI/browser_trackingUI_3.js
rename : browser/base/content/test/general/browser_trackingUI_4.js => browser/base/content/test/trackingUI/browser_trackingUI_animation_2.js
rename : browser/base/content/test/general/browser_trackingUI_6.js => browser/base/content/test/trackingUI/browser_trackingUI_fetch.js
rename : browser/base/content/test/general/browser_trackingUI_5.js => browser/base/content/test/trackingUI/browser_trackingUI_pbmode_exceptions.js
rename : browser/base/content/test/general/browser_trackingUI_telemetry.js => browser/base/content/test/trackingUI/browser_trackingUI_telemetry.js
rename : browser/base/content/test/general/file_trackingUI_6.html => browser/base/content/test/trackingUI/file_trackingUI_fetch.html
rename : browser/base/content/test/general/file_trackingUI_6.js => browser/base/content/test/trackingUI/file_trackingUI_fetch.js
rename : browser/base/content/test/general/file_trackingUI_6.js^headers^ => browser/base/content/test/trackingUI/file_trackingUI_fetch.js^headers^
rename : browser/base/content/test/general/trackingPage.html => browser/base/content/test/trackingUI/trackingPage.html
extra : rebase_source : 2a12463ab2ba39bdcf077580a2d6e565f80c879c
2018-08-08 14:31:34 +02:00
Jonathan Kingston
c24e0873da
Bug 1466801 - Flipping disallowInheritPrincipal to be allow. r=ckerschb r=gijs
...
--HG--
rename : browser/base/content/test/general/browser_utilityOverlay.js => browser/base/content/test/contextMenu/browser_utilityOverlay.js
extra : source : a7bdcc1e1373724effb0bec2d80eb9c63ae782a1
2018-07-16 10:17:51 +01:00
Dão Gottwald
01959e09c2
Bug 1482078 - Port browser_bookmark_popup.js fix from beta to central. r=standard8
...
browser_bookmark_popup.js failed when the panel is big enough to overlay the center of the browser window.
2018-08-09 12:49:36 +02:00
Jonathan Kingston
2f0987a202
Bug 1362034 - Tests for addTab() to provide the correct triggering principal. r=ckerschb r?=gijs
...
Summary: Depends on D2046
Reviewers: ckerschb!, Gijs!
Tags: #secure-revision
Bug #: 1362034
Differential Revision: https://phabricator.services.mozilla.com/D2047
--HG--
extra : source : 33884d05cc94463950b31fab1fd2f37ada9becef
extra : intermediate-source : 72471adb75d5ec3dc2b0c8f972a6f1f26bfd3ae2
extra : histedit_source : f384cbab58401575afc3443c9a431b73cff806d4
2018-07-06 21:16:29 +01:00
dvarga
12f19b94e9
Backed out 2 changesets (bug 1362034) for failure at browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js on a CLOSED TREE
...
Backed out changeset 1c3329958b8a (bug 1362034)
Backed out changeset f68b1b76af36 (bug 1362034)
--HG--
extra : histedit_source : 6169c5ffe856266d3bc8b2ca32f4b67054c71bbe
2018-08-08 22:11:56 +03:00
Jonathan Kingston
c15f69d427
Bug 1362034 - Tests for addTab() to provide the correct triggering principal. r=ckerschb,Gijs
...
Summary: Depends on D2046
Reviewers: ckerschb, Gijs
Reviewed By: ckerschb, Gijs
Bug #: 1362034
Differential Revision: https://phabricator.services.mozilla.com/D2047
--HG--
extra : rebase_source : ccded0f06a0dc4567b827f42ee29f4b8954154fe
extra : amend_source : 94da8ecc053e56958fa4137d7e497362fa2c11f1
2018-08-08 20:05:30 +03:00
Kris Maglione
25c94b46d8
Bug 1481021: Part 1 - Fix tests that rely on permissive COWs or SpecialPowers side-effects in frame script scopes. r=bz
...
Right now, a lot of test code relies on side-effects of SpecialPowers being
loaded into frame script globals. In particular:
- It forces permissive COWs from those scopes, which allows frame scripts to
pass objects from those scopes to unprivileged content that they otherwise
wouldn't.
- It imports a bunch of helper modules and WebIDL globals which would
otherwise not be available.
Fortunately, this seems to only impact test code at this point. But there's a
real down-the-road risk of it impacting shipping code, which ends up working
in automation due to the side-effects of SpecialPowers, but failing in real
world use.
MozReview-Commit-ID: G27eSSOHymX
--HG--
extra : rebase_source : 1702e63fed719fc92def2bdbbb8a7c53572432db
extra : source : 41bedc526dd6ec6b7e8c7be1c832ac60c81d6263
2018-08-07 14:13:06 -07:00
Brindusan Cristian
16ec846afc
Backed out 2 changesets (bug 1481021) for bc failures on security/sandbox/test/browser_bug1393259.js.
...
Backed out changeset c53c7b0249ad (bug 1481021)
Backed out changeset 41bedc526dd6 (bug 1481021)
2018-08-08 03:22:16 +03:00
Kris Maglione
c1969dbca2
Bug 1481021: Part 1 - Fix tests that rely on permissive COWs or SpecialPowers side-effects in frame script scopes. r=bz
...
Right now, a lot of test code relies on side-effects of SpecialPowers being
loaded into frame script globals. In particular:
- It forces permissive COWs from those scopes, which allows frame scripts to
pass objects from those scopes to unprivileged content that they otherwise
wouldn't.
- It imports a bunch of helper modules and WebIDL globals which would
otherwise not be available.
Fortunately, this seems to only impact test code at this point. But there's a
real down-the-road risk of it impacting shipping code, which ends up working
in automation due to the side-effects of SpecialPowers, but failing in real
world use.
MozReview-Commit-ID: G27eSSOHymX
--HG--
extra : rebase_source : c528dffe3a54eec75ad6cb358980b783b00eb4a4
2018-08-07 14:13:06 -07:00
Jeremy Lempereur
20a322176f
Bug 1359030 - stop using xlink:href in browser/ and toolkit/, r=jaws
...
MozReview-Commit-ID: 84acXHxkgq
--HG--
extra : rebase_source : 6042d72c607100966138b0ff5b2c4d3394aa19de
2018-08-04 14:57:43 +02:00
Olli Pettay
69b0c7d14a
Bug 1480130 - Shadow DOM interferes with Cmd+click handling, r=felipe
2018-08-02 14:55:09 +03:00
Noemi Erli
8f66a71e70
Merge inbound to mozilla-central. a=merge
2018-08-02 11:54:46 +03:00
Abdoulaye O. Ly
c45c4fbe32
Bug 1458066 - Implement ability to move a selection of tabs within the same window through drag and drop. r=jaws
...
MozReview-Commit-ID: A3t0CAgrI5Z
--HG--
rename : browser/base/content/test/general/browser_tabReorder.js => browser/base/content/test/tabs/browser_tabReorder.js
extra : rebase_source : d3c329ab3ff02bdcae03cbd749ac83a0e34a9512
2018-07-23 19:01:17 +00:00
Francois Marier
e98e918836
Bug 1461515 - Fix and expand tracking annotation test. r=dimi
...
Here's a summary of things that were wrong about this test:
1. It was setting urlclassifier.trackingTable only to be overwritten
later by addTestTrackers().
2. It was using an http event which fires before the classification has
been done.
3. It didn't disable tailing, which interferes with lowering the priority of
XHRs.
4. It was not testing that non-annotated or whitelisted resources would not
have their priority lowered.
I added more test cases both to ensure that the correct list
(urlclassifier.trackingAnnotationTable) is used but also to ensure that
whitelisted or non-blacklisted URLs preserve the normal priority (point #4 above).
I found that XHRs do not get their priority lowered because of this flag:
https://searchfox.org/mozilla-central/rev/d47c829065767b6f36d29303d650bffb7c4f94a3/netwerk/base/nsChannelClassifier.cpp#221
which gets set here:
https://searchfox.org/mozilla-central/rev/d47c829065767b6f36d29303d650bffb7c4f94a3/dom/xhr/XMLHttpRequestMainThread.cpp#2548
and so I had to disable tailing in the test (point #3 above).
There was also a problem where the test was resetting the prefs too early
because we were not actually waiting for the classification to finish.
We would wait for the following event: http-on-opening-request
https://searchfox.org/mozilla-central/rev/d47c829065767b6f36d29303d650bffb7c4f94a3/netwerk/protocol/http/nsIHttpProtocolHandler.idl#85
whereas maybe a more appropriate one would be http-on-before-connect:
https://searchfox.org/mozilla-central/rev/d47c829065767b6f36d29303d650bffb7c4f94a3/netwerk/protocol/http/nsIHttpProtocolHandler.idl#103
since that is triggerred after annotations (point #2 above):
https://searchfox.org/mozilla-central/rev/d47c829065767b6f36d29303d650bffb7c4f94a3/netwerk/protocol/http/nsHttpChannel.cpp#6614
Differential Revision: https://phabricator.services.mozilla.com/D2485
--HG--
extra : moz-landing-system : lando
2018-08-01 11:52:03 +00:00
Boris Zbarsky
4abc5c5a25
Bug 1446940 part 2. Stop getting docshells from windows via getInterface in browser. r=gijs
2018-08-01 13:07:10 -04:00
Kris Maglione
031076f2f3
Bug 1463291: Move docShell getter from Document to Window. r=bz
...
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.
MozReview-Commit-ID: LUj1H9nG3QL
--HG--
extra : source : fcfb99baa0f0fb60a7c420a712c6ae7c72576871
extra : histedit_source : 5be9b7b29a52a4b8376ee0bdfc5c08b12e3c775a
2018-05-21 16:58:23 -07:00
Kris Maglione
02ba563399
Bug 1463016: Part 5 - Add domWindow property to DocShellTreeItem and update callers to use it. r=nika
...
MozReview-Commit-ID: FRRAdxLHRtG
--HG--
extra : source : 0d69b4fb1ed43751cfcbc0b4f2fe3b6a49bc0494
extra : histedit_source : d0ce31513ffaae2fd7f01f6567a97b6d2d96b797%2Cfff837de7a00fa90809d2c3e755097180dfd56d8
2018-05-20 18:10:16 -07:00
Narcis Beleuzu
561ccb2ceb
Backed out 2 changesets (bug 1463016, bug 1463291) for geckoview failures
...
Backed out changeset fcfb99baa0f0 (bug 1463291)
Backed out changeset 0d69b4fb1ed4 (bug 1463016)
2018-07-29 03:55:23 +03:00
Kris Maglione
cb1ee1e34d
Bug 1463291: Move docShell getter from Document to Window. r=bz
...
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.
MozReview-Commit-ID: LUj1H9nG3QL
--HG--
extra : rebase_source : a13c59d1a5ed000187c7fd8e7339408ad6e2dee6
2018-05-21 16:58:23 -07:00
Kris Maglione
636f1839e5
Bug 1463016: Part 5 - Add domWindow property to DocShellTreeItem and update callers to use it. r=nika
...
MozReview-Commit-ID: FRRAdxLHRtG
--HG--
extra : rebase_source : 36565ef5e74360aad14062005e5bdab2939e888b
2018-05-20 18:10:16 -07:00
Dão Gottwald
1f4131affa
Bug 1473595 - Enable "Ctrl+Tab cycles through tabs in recently used order" feature by default in new profiles. r=jaws
...
MozReview-Commit-ID: 5lmOj3k4tFf
--HG--
extra : rebase_source : e7ea50f496827a1cdda1ebc9d3f602822bea5468
2018-07-26 11:13:34 +02:00
Narcis Beleuzu
91bcab3f74
Backed out 1 changesets (bug 1473595) for debug-mochitest-chrome failures on test_key_event_counts.xul and test_htmleditor_keyevent_handling.html. CLOSED TREE
...
Backed out changeset a3140755de69 (bug 1473595)
2018-07-26 13:58:57 +03:00
Dão Gottwald
844b19fbfe
Bug 1473595 - Enable "Ctrl+Tab cycles through tabs in recently used order" feature by default in new profiles. r=jaws
...
MozReview-Commit-ID: 5lmOj3k4tFf
--HG--
extra : rebase_source : e7ea50f496827a1cdda1ebc9d3f602822bea5468
2018-07-26 11:13:34 +02:00
Boris Zbarsky
270fa12c79
Bug 1476145 part 3. Stop using getInterface(nsIDOMWindowUtils) in browser/. r=gijs
2018-07-24 19:47:41 -04:00
Brian Grinstead
96dc530924
Bug 1476333 - Refer to AppConstants.BROWSER_CHROME_URL to get the browser URL from the frontend;r=Gijs
...
Before this change, we accessed the browser URL in the following ways:
- "chrome://browser/content/browser.xul"
- "chrome://browser/content/" (which redirects to chrome://browser/content/browser.xul)
- Services.prefs.getCharPref("browser.chromeURL") which returns "chrome://browser/content/"
- getBrowserURL() from utilityOverlay.js
MozReview-Commit-ID: I5vtRke1x9t
--HG--
extra : rebase_source : c525350a1954740873e85b045cbb14a8b43aa89d
2018-07-24 08:12:50 -07:00
sandeep
a9f66711be
Bug 1476137 - Remove promiseWindowWillBeClosed and use BrowserTestUtils.domWindowClosed r=marco
...
MozReview-Commit-ID: 48y3wP65cm8
--HG--
extra : rebase_source : c489ffd08b9ba5632b96117ee10898d3c01d83e2
2018-07-19 11:45:15 +05:30
Gijs Kruitbosch
3c7235e904
Bug 1476035, r=jkt
...
--HG--
rename : browser/base/content/test/general/browser_registerProtocolHandler_notification.html => browser/components/feeds/test/browser/browser_registerProtocolHandler_notification.html
rename : browser/base/content/test/general/browser_registerProtocolHandler_notification.js => browser/components/feeds/test/browser/browser_registerProtocolHandler_notification.js
extra : rebase_source : 3322967a084f771186a0de05eaadc98059e399c5
2018-07-17 15:36:43 +01:00
Johann Hofmann
45ac034b6e
Bug 1471713 - Add an animation for the tracking protection icon. r=sfoster
...
MozReview-Commit-ID: GBUbaoShxQi
--HG--
extra : rebase_source : 60040607f91cd0477fbf98c49b77b8ee09112a17
2018-07-05 23:45:34 +02:00
Coroiu Cristina
d429af947c
Backed out changeset 27335463acd1 (bug 1471713) for browser-chrome failures at browser/components/uitour/test/browser_trackingProtection.js
2018-07-12 14:57:30 +03:00
Johann Hofmann
365f7536ea
Bug 1471713 - Add an animation for the tracking protection icon. r=sfoster
...
MozReview-Commit-ID: GBUbaoShxQi
--HG--
extra : rebase_source : 2d101873b071911763a0ccd7574cbc04026cc89f
2018-07-05 23:45:34 +02:00
Coroiu Cristina
d1d4997c18
Backed out changeset 66d9b0f57c81 (bug 1471713) for build bustage on a CLOSED TREE
2018-07-12 10:25:04 +03:00