Commit graph

5165 commits

Author SHA1 Message Date
Dan Banner
baff4fe317 Bug 1320058 - Use saveFile.png on windows for the save icon r=dao
MozReview-Commit-ID: 8vtLMKrtKrt

--HG--
extra : rebase_source : 0b2f3cedd92376bb4ec4629383a6400eb0e3a196
2017-06-01 14:38:54 +01:00
Ryan VanderMeulen
984edc2be4 Merge m-c to inbound. a=merge 2017-05-31 20:26:16 -04:00
Ryan VanderMeulen
b2f44e5181 Merge inbound to m-c. a=merge 2017-05-31 20:25:52 -04:00
Ben Kelly
ba91df539a Bug 1363829 P14 Make browser_bug462289.js test use setTimeout(f, 0) like it did before bug 1102017. r=dao 2017-05-31 17:13:20 -07:00
Sebastian Hengst
07bad56b33 Backed out changeset afc25136f9ae (bug 1363505) for frequently failing own test browser_tabclose_grow_reflows.js and browser_roundedWindow_newWindow.js. r=backout on a CLOSED TREE 2017-05-31 23:00:50 +02:00
Sebastian Hengst
ff36251454 Backed out changeset b6447762b05a (bug 1363505) 2017-05-31 22:59:49 +02:00
Sebastian Hengst
c0ee2afc07 Backed out changeset b0c79c15c6ff (bug 1363505) 2017-05-31 22:59:44 +02:00
Mike Conley
42583e19b7 Bug 1363505 - Add tab switch reflow test. r=florian
MozReview-Commit-ID: 9A77Fi6Kroi

--HG--
extra : rebase_source : 53e869a3402cbe9b4e134073aec57062b475d6f6
2017-05-25 16:05:53 -04:00
Mike Conley
52baf4ac0d Bug 1363505 - Add tab growth reflow test. r=florian
MozReview-Commit-ID: 8Qes9Srkskm

--HG--
extra : rebase_source : 60cfeba7e6e05d2d55c7dcd18d7baef2fcb06c87
2017-05-25 15:49:37 -04:00
Mike Conley
30b5bca65c Bug 1363505 - Add tab squeeze reflow test. r=florian
MozReview-Commit-ID: Jd7uVrNaMbh

--HG--
extra : rebase_source : d226a5ca4170cd2290103a31f7b016ab812fe6a3
2017-05-10 22:16:12 -04:00
Marco Bonardo
3be38fff9a Bug 1368074 - Autocomplete popup is not re-opened when repeating the same search in a new tab. r=mconley
MozReview-Commit-ID: GSZoWFgw0X8

--HG--
extra : rebase_source : a9601dee7f20e4fdeb536f28853f344cd84cbcd1
2017-05-30 17:28:34 +02:00
Florian Quèze
0adcd1d3e9 Bug 1358798 - add a test preventing us from loading scripts unintentionally during startup, r=mconley,mccr8. 2017-05-31 23:00:43 +02:00
Emilio Cobos Álvarez
ce89a4520e Bug 1347270: Also rewrite browser_toolbariconcolor_restyles.js using restyleGeneration. r=bholley
MozReview-Commit-ID: FWNKPj0jODk

--HG--
extra : rebase_source : a92fa2777717afd6c6c2dd64e4dc5ae719ccb14d
2017-05-31 00:29:27 +02:00
Dan Mosedale ext:(%3E)
98c3ffc703 Bug 1367119 - make BrowserOpenTab fire browser-open-newtab-start observer, r=Mardak
MozReview-Commit-ID: KDuG5X8yMAR

--HG--
extra : rebase_source : aa84a69015a7ff8fd7709b5107c8847659cf3504
2017-05-23 16:30:50 -07:00
Gijs Kruitbosch
9974338905 Bug 1358500 - fix find bar being disabled all the time, r=mikedeboer
MozReview-Commit-ID: BpnCdKgtYiG

--HG--
extra : rebase_source : f309a8ebb2ee95be0a3ffccd8ac67e7693acd890
2017-05-29 16:17:56 +01:00
Gijs Kruitbosch
ec25d40fbf Bug 1366203 - revert about blank creation for URIs that don't inherit principals, r=mconley
MozReview-Commit-ID: 4F0Tq60iVUk

--HG--
extra : rebase_source : fc881295e0809c82ce05224636ac80102f405e68
2017-05-29 15:57:19 +01:00
Johann Hofmann
55fa14abe4 Bug 1338340 - Modernize browser_bug435035.js. r=nhnt11
MozReview-Commit-ID: CBcVE70rkQE

--HG--
rename : browser/base/content/test/siteIdentity/browser_bug435035.js => browser/base/content/test/siteIdentity/browser_mixed_passive_content_indicator.js
rename : browser/base/content/test/siteIdentity/test_bug435035.html => browser/base/content/test/siteIdentity/simple_mixed_passive.html
extra : rebase_source : 7ad9b3e9902090b8f6a6e7b1f604c76b579a569b
2017-05-29 15:58:27 +02:00
Chris Pearce
abe687ad09 Bug 1334111 - Test for EME persistentState being rejected in Private Browsing mode. r=Gijs
MozReview-Commit-ID: Hyy9yDuIToX

--HG--
extra : rebase_source : 268f9e0eee2a84ee6988ef35afe2eecf57d377d6
2017-05-29 14:04:58 +12:00
Phil Ringnalda
cba671875b Backed out changeset b89704b3bc19 (bug 1358500) for failures in browser_bug537013.js
MozReview-Commit-ID: IO4dyagNqNB

--HG--
extra : rebase_source : 5a5beba51e57ac28654eb7a4dcac7db1cd9bedb0
2017-05-29 10:52:37 -07:00
Gijs Kruitbosch
80a2759099 Bug 1358500 - fix find bar being disabled all the time, r=mikedeboer
MozReview-Commit-ID: BpnCdKgtYiG

--HG--
extra : rebase_source : 50ab38dd78941fe397a0acb8113f961f15d7f31d
2017-05-29 16:17:56 +01:00
Evan Tseng
2015314d61 Bug 1366252 - Include the URL of the support page in the error message of the no-results-found view of about:preferences search. r=jaws,mconley
MozReview-Commit-ID: 8WkMtMhN74B

--HG--
extra : rebase_source : 08de50da7c1030dfc34ad34b573cffa2c6c74a23
2017-05-22 15:26:16 +08:00
Paolo Amadini
30ea634bb0 Bug 1242505 - Part 5 - Remove obsolete whitelisting of unhandled rejections. r=Mossop
The whitelisting function thisTestLeaksUncaughtRejectionsAndShouldBeFixed was replaced by expectUncaughtRejection, and existing calls did not take effect anymore.

MozReview-Commit-ID: 3uOxkgWYWEz

--HG--
extra : rebase_source : 5a10a3ebbfe0ce2a801330041f95447c313a9a70
extra : source : 6f0394b523a66dab444b8551deb8f3c6c81d8f31
2017-05-25 15:00:49 +01: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
Sebastian Hengst
ea55cd0be2 Backed out changeset 6f0394b523a6 (bug 1242505) 2017-05-28 11:31:01 +02:00
Paolo Amadini
94c629ed8c Bug 1242505 - Part 5 - Remove obsolete whitelisting of unhandled rejections. r=Mossop
The whitelisting function thisTestLeaksUncaughtRejectionsAndShouldBeFixed was replaced by expectUncaughtRejection, and existing calls did not take effect anymore.

MozReview-Commit-ID: 3uOxkgWYWEz

--HG--
extra : rebase_source : 3a7720091180a770b32b595f8094c0d20170166d
2017-05-25 15:00:49 +01: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
Mike Conley
e4124cb8f6 Bug 1367621 - Regression test to ensure that the URL bar is focused when new tabs are opened in fullscreen mode. r=Felipe
MozReview-Commit-ID: 66Rl2U2Kdbl

--HG--
extra : rebase_source : 04c00eaa006db0b7369de3a9f3989e0e44d9145c
2017-05-26 12:21:25 -04:00
Marco Bonardo
c7840c9038 Bug 1366426 - autocomplete-richlistbox height does not fit results anymore. r=adw
MozReview-Commit-ID: DiJO4DZI49O

--HG--
extra : rebase_source : 661f7262f9700eb56912c0b138e91240870bf239
2017-05-25 18:35:35 +02:00
Phil Ringnalda
2c549b7348 Backed out 2 changesets (bug 1367621) for breaking the next test, browser_newtab_perwindow_private_browsing.js, on OS X
CLOSED TREE

Backed out changeset fedfdd4d63bc (bug 1367621)
Backed out changeset 92cd7b48120b (bug 1367621)

MozReview-Commit-ID: E1kuaL830LG
2017-05-26 19:29:27 -07:00
Mike Conley
36ab4f9f6e Bug 1367621 - Regression test to ensure that the URL bar is focused when new tabs are opened in fullscreen mode. r=Felipe
MozReview-Commit-ID: 66Rl2U2Kdbl

--HG--
extra : rebase_source : b83fa621b9f1cfbc7576fce625823685296c02e8
2017-05-26 12:21:25 -04:00
Dan Banner
e9dbc11cbf Bug 1348524 - Remove unused chrome://global/skin/notification/close.png file r=florian
MozReview-Commit-ID: 2vh5iExCO9K

--HG--
extra : rebase_source : 7a0c2ddf983aca875bb6c38885900b7e72f65f72
2017-05-22 17:09:15 +01:00
Drew Willcoxon
83efe33bc6 Bug 1363183 - Add a "bookmark" item to the page action menu. r=mikedeboer
MozReview-Commit-ID: 9RR4U3X3gIT

--HG--
extra : rebase_source : b2307c2c64a2913fd2c0fc3d2225164fcd6d0cba
2017-05-25 16:19:02 -07:00
Prathiksha
a12765de8f Bug 1253274 - Update browser_bug435325.js to use add_task and BrowserTestUtils. r=johannh
MozReview-Commit-ID: HTBqiWzi2NM

--HG--
extra : rebase_source : 2ee6275ebe4c66b9d05e33cd460c136147f1f1cf
2017-05-15 20:14:14 +05:30
Drew Willcoxon
547921aa65 Bug 1363182 - Add a "send to device" subview to the page action menu. r=eoger,mikedeboer
Add a Send to Device subview to the page action panel.  When the page isn't
sendable, disable the Send to Device menu item.  When the user doesn't have any
devices, show a menu item that opens the Firefox Account preferences pane.

Generalize gSync.populateSendTabToDevicesMenu() so that it can be used to
populate any kind of container, not only a menupopup with menuitems.

Add an SVG that shows a phone and an SVG that shows a desktop.

MozReview-Commit-ID: EZQKAEAr08q

--HG--
extra : rebase_source : bda87f105712a6c6ba83da1a78179eee93b5f4d0
2017-05-24 15:49:43 -07:00
Marco Bonardo
8b3d4db681 Bug 1367427 - The one-offs bar is not displayed in the Awesome Bar while search suggestions hint is displayed. r=adw
MozReview-Commit-ID: KpVwQ3XzivB

--HG--
extra : rebase_source : 194f4cf265d543eeee99e844a15681479812c284
2017-05-24 17:14:33 +02:00
Brian Grinstead
ddf43a91db Bug 1355331 - Create an option to move sidebar between the left and right sides of the window;r=mikedeboer
MozReview-Commit-ID: 79ts9djMC3e

--HG--
extra : rebase_source : 13a3281744ca1d16b478bc6269ce4f189e8b22b4
2017-05-24 09:54:34 -07:00
Chris AtLee
2dd73df1e4 Bug 1363853: Remove LWT footers r=Gijs
MozReview-Commit-ID: 90sm2IcUmxf

--HG--
extra : rebase_source : 4be48d509c685763b2e5a94bd228bb9c56a6074a
2017-05-24 09:21:51 -04:00
Doug Thayer
df2779bb50 Bug 1359733 - (pt. 4) Pull out browser-sync.js badges r=eoger
See also commit message for pt. 4. We're moving app menu
notification state into a jsm.

MozReview-Commit-ID: 3RehYcHyfLu

--HG--
extra : rebase_source : 56d364ce6fd3afe54fc1be797c3efb3dda7623aa
2017-05-18 13:17:38 -07:00
Doug Thayer
6ef545c191 Bug 1359733 - (pt. 2.1) Move remaining test files r=rstrong
Tried to do the reverse order (move files then edit), but
reviewboard didn't seem to like me trying to undo what I had
already done. This should at least make the diffs clean though.

MozReview-Commit-ID: Ibcgg2Mc6MT

--HG--
rename : browser/base/content/test/appUpdate/downloadPage.html => toolkit/mozapps/update/tests/browser/downloadPage.html
rename : browser/base/content/test/appUpdate/head.js => toolkit/mozapps/update/tests/browser/head.js
rename : browser/base/content/test/appUpdate/testConstants.js => toolkit/mozapps/update/tests/browser/testConstants.js
extra : rebase_source : db886e032b68f73c561ad7bdaa7e0d4ee4cf0e1a
2017-05-18 15:55:00 -07:00
Doug Thayer
82301632cc Bug 1359733 - (pt. 2) Refactor gMenuButtonUpdateBadge r=rstrong
Since we now have a store of notifications that is global across
all windows, it no longer makes sense to consume the API from
within browser.js. This patch moves the browser.js logic out into
a jsm file that is wired up through nsBrowserGlue, such that it
will be lazily instantiated on the first update event it would
receive[1].

We decided to move this into toolkit, as this piece of the
system is fairly generic and shouldn't differ between
applications.

[1]: There is a change to nsBrowserGlue to use "global[module]"
instead of this[module]. This mirrors the code for all the other
types of notifications, and I suspect it was just a latent bug,
since the original diff that includes this line makes no use of
it.

MozReview-Commit-ID: 8EQdM9BOpgl

--HG--
rename : browser/base/content/test/appUpdate/.eslintrc.js => toolkit/mozapps/update/tests/browser/.eslintrc.js
rename : browser/base/content/test/appUpdate/browser.ini => toolkit/mozapps/update/tests/browser/browser.ini
rename : browser/base/content/test/appUpdate/browser_updatesBackgroundWindow.js => toolkit/mozapps/update/tests/browser/browser_updatesBackgroundWindow.js
rename : browser/base/content/test/appUpdate/browser_updatesBackgroundWindowFailures.js => toolkit/mozapps/update/tests/browser/browser_updatesBackgroundWindowFailures.js
rename : browser/base/content/test/appUpdate/browser_updatesBasicPrompt.js => toolkit/mozapps/update/tests/browser/browser_updatesBasicPrompt.js
rename : browser/base/content/test/appUpdate/browser_updatesBasicPromptNoStaging.js => toolkit/mozapps/update/tests/browser/browser_updatesBasicPromptNoStaging.js
rename : browser/base/content/test/appUpdate/browser_updatesCantApply.js => toolkit/mozapps/update/tests/browser/browser_updatesCantApply.js
rename : browser/base/content/test/appUpdate/browser_updatesCompleteAndPartialPatchesWithBadCompleteSize.js => toolkit/mozapps/update/tests/browser/browser_updatesCompleteAndPartialPatchesWithBadCompleteSize.js
rename : browser/base/content/test/appUpdate/browser_updatesCompleteAndPartialPatchesWithBadPartialSize.js => toolkit/mozapps/update/tests/browser/browser_updatesCompleteAndPartialPatchesWithBadPartialSize.js
rename : browser/base/content/test/appUpdate/browser_updatesCompleteAndPartialPatchesWithBadSizes.js => toolkit/mozapps/update/tests/browser/browser_updatesCompleteAndPartialPatchesWithBadSizes.js
rename : browser/base/content/test/appUpdate/browser_updatesCompletePatchApplyFailure.js => toolkit/mozapps/update/tests/browser/browser_updatesCompletePatchApplyFailure.js
rename : browser/base/content/test/appUpdate/browser_updatesCompletePatchWithBadCompleteSize.js => toolkit/mozapps/update/tests/browser/browser_updatesCompletePatchWithBadCompleteSize.js
rename : browser/base/content/test/appUpdate/browser_updatesDownloadFailures.js => toolkit/mozapps/update/tests/browser/browser_updatesDownloadFailures.js
rename : browser/base/content/test/appUpdate/browser_updatesMalformedXml.js => toolkit/mozapps/update/tests/browser/browser_updatesMalformedXml.js
rename : browser/base/content/test/appUpdate/browser_updatesPartialPatchApplyFailure.js => toolkit/mozapps/update/tests/browser/browser_updatesPartialPatchApplyFailure.js
rename : browser/base/content/test/appUpdate/browser_updatesPartialPatchApplyFailureWithCompleteAvailable.js => toolkit/mozapps/update/tests/browser/browser_updatesPartialPatchApplyFailureWithCompleteAvailable.js
rename : browser/base/content/test/appUpdate/browser_updatesPartialPatchApplyFailureWithCompleteValidationFailure.js => toolkit/mozapps/update/tests/browser/browser_updatesPartialPatchApplyFailureWithCompleteValidationFailure.js
rename : browser/base/content/test/appUpdate/browser_updatesPartialPatchWithBadPartialSize.js => toolkit/mozapps/update/tests/browser/browser_updatesPartialPatchWithBadPartialSize.js
extra : rebase_source : 24048650b23eff0a1da9679d1e9b5e1db1900287
2017-05-19 08:56:22 -07:00
Mike Conley
438f65c29a Bug 1362866 - Fix browser_tabSpinnerProbe.js now that tabs must be presented to spin. Also remove browser_tabSpinnerTypeProbe.js. r=billm
browser_tabSpinnerTypeProbe.js isn't necessary anymore since it should not possible to show
spinners for tabs that have never been presented.

MozReview-Commit-ID: AD4ppdhe346

--HG--
extra : rebase_source : 188293c33b733bda34f2d0fbac39198b456583ff
2017-05-08 21:46:06 -04:00
Mike Conley
581e75b68f Bug 1362866 - Rearrange tab focusing behaviour to avoid extra potential reflows. r=Felipe
MozReview-Commit-ID: F1S179A1GH6

--HG--
extra : rebase_source : 411989442c931efd2d9fe5c475b32b487aa6c987
2017-05-23 13:08:11 -04:00
Mike Conley
158eeb033b Bug 1362866 - Remove MozTabChildNotReady event usage from tabbrowser.xml, and replace with nsITabParent.hasPresented. r=billm
nsITabParent.hasPresented already encapsulates the case where the TabChild might
not have been constructed, since such a tab could never have been presented to
the user. If we're async tab switching to a tab that's never presented before,
we blank it out initially while waiting for its layers.

MozReview-Commit-ID: CL76wLmjRxc

--HG--
extra : rebase_source : ebdfc62ba924092f7a9356f83bc74c504a3f487d
2017-05-20 17:04:48 -04:00
Dan Banner
83f7ba6396 Bug 1348522 - Remove unused files from chrome://global/skin/media/ r=florian
MozReview-Commit-ID: wE6BIj9x0n

--HG--
extra : rebase_source : 7787f7e7556b6209d9afb14cc96a48a71ecd8c1d
2017-05-14 19:14:59 +01:00
Wes Kocher
9a8d52f7af Merge m-c to autoland, a=merge
MozReview-Commit-ID: AVwPRGa5re9
2017-05-22 16:38:46 -07:00
Wes Kocher
2933592c4a Merge inbound to central, a=merge
MozReview-Commit-ID: 7NiWtCjPk84
2017-05-22 16:26:12 -07:00
Mats Palmgren
297b9d70e1 Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
MozReview-Commit-ID: IbwWM0FL6HF

--HG--
extra : source : bbb688fe1ba3f5201a190c6e25b693ef7272ea2d
2017-05-21 17:15:00 +08:00
Carsten "Tomcat" Book
6373e5e631 Merge mozilla-central to mozilla-inbound 2017-05-22 15:47:03 +02:00
Carsten "Tomcat" Book
00d4ea331d Backed out changeset bbb688fe1ba3 (bug 1365614) 2017-05-22 15:45:31 +02:00
Carsten "Tomcat" Book
3c3ff310ce Merge mozilla-central to mozilla-inbound 2017-05-22 13:07:41 +02:00
Carsten "Tomcat" Book
469e512b06 merge mozilla-inbound to mozilla-central a=merge 2017-05-22 13:00:17 +02:00
Bob Owen
5e5fc1cf93 Bug 1366445: Add and correct pref settings for some file content process tests. r=Gijs
This fixes:
browser\base\content\test\tabs\browser_new_web_tab_in_file_process_pref.js
dom\html\test\browser_form_post_from_file_to_http.js
2017-05-22 09:02:36 +01:00
Mats Palmgren
e706869580 Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz 2017-05-21 17:15:00 +08:00
btian
de5fa4f269 Bug 1299390 - part 5: Remove useless AudioChannelService code. r=alwu
Changes:
- remove code addressed by reviewer
- remove PContent.ipdl, PBrowser.ipdl, and ProcessPriorityManager code
  that relates only to removed AudioChannelService methods
- correct test case listening to event from removed code
- remove useless test case files

MozReview-Commit-ID: I96nR8zTXJt

--HG--
extra : rebase_source : 127876c672744811c025ca55839ff2e8a06b1fce
2017-05-18 09:51:53 +08:00
Gijs Kruitbosch
d4da052d31 Bug 1354084 - add sync / Firefox account button to hamburger panel, r=mikedeboer
MozReview-Commit-ID: 8YOFAY5VpQl

--HG--
extra : rebase_source : a4b4121fd729072ff9d2d37b01b6bea7ae27948a
2017-05-09 15:56:19 -04:00
Wes Kocher
8b07ba2a07 Merge m-c to inbound a=merge
a=release IGNORE BAD COMMIT MESSAGES
2017-05-19 15:18:51 -07:00
Andrew Swan
10954a70df Bug 1359203 Part 1 Replace AddonConstants with AddonSettings
AddonConstants duplicated AppConstants, but having it just include
the build-time constants meant that the logic for whether to enforce
signing was repeated in a few places (and it was incorrect in
the front-end code!).  Now we centralize that logic in AddonSettings.jsm

MozReview-Commit-ID: 2f4x9fnUpPs

--HG--
extra : source : a589b98517d5fc6fe1704f752a7eb2984d18b3ac
2017-05-15 22:03:41 -07:00
Wes Kocher
90573b0612 Merge m-c to autoland, a=merge
MozReview-Commit-ID: FYdNNRDmEla
2017-05-18 17:21:30 -07:00
Wes Kocher
0174ce8ebb Merge inbound to m-c a=merge
MozReview-Commit-ID: AVhTkLAYIv7
2017-05-18 17:13:28 -07:00
Dão Gottwald
378e125974 Bug 1365846 - Use context-fill for identity, connection and tracking protection icons in the site identity block. r=johannh
MozReview-Commit-ID: 87EuHr7TvUs

--HG--
extra : rebase_source : 73972750da2df8ddb8848b249638a6fe0dd97e9c
2017-05-18 14:43:51 +02:00
Bob Owen
170184d1c2 Bug 1351358 Part 6: Include more tests cases for allowLinkedWebInFileUriProcess pref. r=Gijs 2017-05-18 12:08:57 +01:00
Mike Conley
0fc1441c96 Bug 1354194 - Add reflow regression tests for tab closing. r=florian
MozReview-Commit-ID: IWi3vEI5tIg

--HG--
extra : rebase_source : 7412cf32c731872c5542299a3533d5f8b061ae0a
2017-05-03 13:52:36 -04:00
Mike Conley
e6768389f2 Bug 1354194 - Make browser_windowopen_reflows.js use the reflow test helper and make the whitelist reflect reality. r=florian
MozReview-Commit-ID: 1mknVjSVIKe

--HG--
extra : rebase_source : 28079a63543f7d71c1fe649919c3fcc1f8f86cc6
2017-05-03 13:32:36 -04:00
Mike Conley
945923c2d1 Bug 1354194 - Make browser_tabopen_reflows.js use the new reflow test helper, and make the whitelist reflect reality. r=florian
MozReview-Commit-ID: 5Pyocd7BN4e

--HG--
extra : rebase_source : c928cf7beee277d1e59e594830c1500b1dab641f
2017-05-02 17:40:07 -04:00
Mike Conley
4cdf0cab90 Bug 1354194 - Add utility method for more easily writing reflow tests. r=florian
This also consolidates the pre-existing style and layout flush regression tests
into the same performance folder.

MozReview-Commit-ID: IA3FqroG75O

--HG--
rename : browser/base/content/test/windows/.eslintrc.js => browser/base/content/test/performance/.eslintrc.js
rename : browser/base/content/test/general/browser_tabopen_reflows.js => browser/base/content/test/performance/browser_tabopen_reflows.js
rename : browser/base/content/test/windows/browser_toolbariconcolor_restyles.js => browser/base/content/test/performance/browser_toolbariconcolor_restyles.js
rename : browser/base/content/test/general/browser_windowopen_reflows.js => browser/base/content/test/performance/browser_windowopen_reflows.js
extra : rebase_source : b226a9aceecf118ffad2f23c2361f0be403d5aaf
2017-05-02 17:30:18 -04:00
Ray Lin
b88e5c8977 Bug 1357519 - Fix intermittent browser_contextmenu.js by setting loop attribute to ensure media is playing before check. r=jaws
MozReview-Commit-ID: Hu53UB0QL2L

--HG--
extra : rebase_source : f9e271f6ff70c0d0d841e200bbb0369873faaea2
2017-05-16 11:43:52 +08:00
Iris Hsiao
77020e4e53 merge mozilla-inbound to mozilla-central a=merge 2017-05-18 12:05:45 +08:00
Mark Banner
4fb45e5b8c Bug 1365412 - Clean up various ESLint global definitions in browser/. r=mossop
MozReview-Commit-ID: JqAm9x1XGCM

--HG--
extra : rebase_source : e9215288195f1fe683832db53d87dbe77c697b4c
2017-05-16 22:22:42 +01:00
Paolo Amadini
93316227a7 Bug 1364050 - Part 3 - Remove obsolete code from the nsIDownloadManager implementation. r=mak
A missing dependency in "nsTypeAheadFind.h" is also fixed to allow the removal of the include files from "nsToolkitCompsModule.cpp".

MozReview-Commit-ID: EefZA9bEUW0

--HG--
extra : rebase_source : 8ddfaf72f2b89c6e906561710045ec677e46da79
2017-05-15 11:55:50 +01:00
Carsten "Tomcat" Book
6bd33f52d5 merge mozilla-inbound to mozilla-central a=merge 2017-05-17 11:16:52 +02:00
Felipe Gomes
b5204da9bc Bug 1364505 - Write tests for plugin favor-fallback mode. r=qDot
MozReview-Commit-ID: AefeRMb9t9q

--HG--
rename : layout/generic/crashtests/simple_blank.swf => browser/base/content/test/plugins/plugin_simple_blank.swf
2017-05-16 22:56:22 -03:00
Carsten "Tomcat" Book
6095625a0e Merge mozilla-central to autoland on a CLOSED TREE 2017-05-16 15:11:18 +02:00
Andreas Pehrson
b259e8ed75 Bug 1363253 - Ignore events specific to preview window also when decrementing. r=florian
MozReview-Commit-ID: 8pjSBUI7ZkZ

--HG--
extra : rebase_source : 86a81fadf001314e6fd8452ce661f01b1e1f9535
2017-05-11 15:07:17 +02:00
Christoph Kerschbaumer
e4f38c8d7c Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
jomer14
fab6e7f663 Bug 1362510 - Remove errors.properties and references. r=eoger
MozReview-Commit-ID: 27kIRQdEHsE
2017-05-15 12:03:55 -04:00
Dale Harvey
dfc689b571 Bug 1352366 - Implement photon location bar style changes. r=dao 2017-05-15 15:02:55 +01:00
Chris Pearce
f655fd10eb Bug 1366167 - Test for Enable DRM prompt. r=Gijs
We recently accidentally broke the "Enable DRM" prompt without realising, so
this adds a test that if EME is disabled and is attempted to be used we we
prompt the user to enable EME.

It is important we don't regress this feature as without it users with DRM
disabled (which is our Linux popuation by default) may try to playback DRM
protected video and it won't work and there won't be an obvious way to make it
work.

MozReview-Commit-ID: D4X7D4wkwRy

--HG--
extra : rebase_source : d0c7bf45c0a3b4ffb517a3b7c008230bd750fc8d
2017-05-19 15:44:15 +12:00
Masayuki Nakano
33da02bb41 Bug 1339543 part 3 PuppetWidget should stop getting all edit commands before dispatching keyboard events which are synthesized for tests r=smaug
Synthesized keyboard events in child process doesn't have edit commands when
it's being dispatched.  With the old design, PuppetWidget needed to store all
edit commands for dispatching keyboard event but it's not necessary now because
WidgetKeyboardEvent will get only necessary edit commands when
WidgetKeyboardEvent::ExecuteEditCommands() is called.

So, PuppetWidget should stop calling TabChild::RequestNativeKeyBindings()
before dispatching keyboard events.

This patch changes browser_audioTabIcon.js which becomes permanent orange with
this change.

MozReview-Commit-ID: 1eK1mUahRMO

--HG--
extra : rebase_source : 13ce4aca8e45fa3d4b739a978bfa7dbddaf58ae3
2017-05-17 15:34:11 +09:00
Dan Banner
04aa928f5b Bug 1348362 - Cleanup chrome://global/skin/icons - Remove unused files. r=dao
MozReview-Commit-ID: EZVP5SeYDGw

--HG--
extra : rebase_source : 9224d4a8d71e2ed932206640057fbcbd74bf3396
2017-05-07 19:16:27 +01:00
Dan Banner
d3bef4aad7 Bug 1348362 - Cleanup chrome://global/skin/icons - Move shared files to be Windows-only where they are only used on Windows. r=dao
MozReview-Commit-ID: IWhbpsuEVJR

--HG--
rename : toolkit/themes/windows/global/icons/Restore.gif => toolkit/themes/linux/global/icons/Restore.gif
extra : rebase_source : 80119ac874f5f0ce993dd69727e9d890b1347634
2017-05-07 17:03:10 +01:00
Dan Banner
d1e20adcad Bug 1348362 - Cleanup chrome://global/skin/icons - Move some shared files to be Linux-only, as they are only used on Linux. r=dao
MozReview-Commit-ID: IbcGedKFrTq

--HG--
rename : toolkit/themes/windows/global/icons/Close.gif => toolkit/themes/linux/global/icons/Close.gif
rename : toolkit/themes/windows/global/icons/Minimize.gif => toolkit/themes/linux/global/icons/Minimize.gif
extra : rebase_source : 0876b78df52672a69742f0c80ec5d82a391ea562
2017-05-07 16:46:59 +01:00
Marco Bonardo
4b561945c6 Bug 1344924 - Contextual onboarding for search suggestions in the awesomebar. r=adw
Make the onboarding being opt-in or opt-out depending on the default value of the
browser.urlbar.sugges.searches pref.
In both cases respect userMadeSearchSuggestionChoice though, so we won't further nag users that
made a choice already.

MozReview-Commit-ID: D4rRMRbdMrW

--HG--
rename : browser/base/content/test/urlbar/browser_urlbarSearchSuggestionsNotification.js => browser/base/content/test/urlbar/browser_urlbarSearchSuggestions_opt-in.js
extra : rebase_source : 819ba7a77998940fb230fb531dd9fcf1301cfcd5
2017-04-05 15:01:02 +02:00
Robert Longson
ea950f6b1d Bug 339725 - SVG <a> with xlink:href don't show HTML link features in context menu, r=jaws,longsonr+218550
MozReview-Commit-ID: Kg9dONwXCrB

--HG--
extra : rebase_source : d5658b40d41365fb9c2156faac9ba18f8b1c1f44
2017-05-07 01:09:00 +01: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
Dão Gottwald
252945d708 Bug 1364661 - Remove _fillTrailingGap. r=florian
This was working around some old XUL layout weirdness, but nowadays this uses the same scroll frame implementation as HTML and tabStrip.scrollPosition + tabStrip.scrollClientSize > tabStrip.scrollSize cannot be true.

MozReview-Commit-ID: F5fOEpXn8ay

--HG--
extra : rebase_source : 5dcd0282e1054aad1c1a4946dd98dc33549bd2d6
2017-05-13 11:56:01 +02:00
Jonathan Guillotte-Blouin
93c09b12e6 Bug 1270740 - Remove requestAutocomplete from toolkit/. r=mattn
MozReview-Commit-ID: 7cAWbAWZ2if

--HG--
extra : rebase_source : 53242ac9783f4c40e66a0ffd6b4f6f14e1a2dd63
2017-05-11 14:58:10 -07:00
Kris Maglione
f5f76c7cff Bug 1356826: Part 7 - Scan for extension sideloads after final UI startup. r=aswan,rhelmer
MozReview-Commit-ID: 1syn9GD2DEb

--HG--
extra : rebase_source : aa3a45654f1d3b071cec33fe93fffd2cc8db294f
extra : source : c861e23ec8ef99e19d75e6e62dad143ccb95dffd
2017-05-10 12:34:17 -07:00
Mike Hommey
a8b3b97bc4 Bug 780562 - Stop relying on the "platform" chrome flag for global-platform. r=bsmedberg
The "platform" chrome flag requires an irrelevant "content" chrome
manifest entry, while it's only used for locales. It only has exactly
one use, which can actually be replaced by uses of the "os" flag.

Note, we're doing something similar with the "os" flag for skins in
e.g. browser/extensions/pocket/jar.mn.

Unfortunately, for determinism reasons, the chrome manifest entries from
jar.mn are sorted (per bug 982075), so keeping global-platform/unix
would leave it appearing after /mac, and would override it on mac
because of the lack of "os" flag on the /unix entry (we can't put "os"
flags on that entry because we can't do something like os!=Darwin &&
os!=WINNT). So we move it to /gtk such that it always comes before /mac.

--HG--
extra : rebase_source : aaace8147ea54f74aef8a7b2314ad022e9f9be23
2017-04-14 20:44:35 +09:00
Brian Grinstead
5bf51d8dd7 Bug 1355324 - Create a popup to switch between sidebars from the sidebar header;r=Gijs
MozReview-Commit-ID: HBwIfmtKybi

--HG--
rename : browser/base/content/test/general/browser_bug409481.js => browser/base/content/test/sidebar/browser_bug409481.js
extra : rebase_source : ae9d07e61e997c60b9633126296f20b9c3bed7f4
2017-05-16 10:31:00 -07: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
67e56b7404 Bug 1353542 - Add an eslint rule deprecating usage of Task.jsm in browser/ and toolkit/, r=Mossop. 2017-05-12 14:54:42 +02:00
Florian Quèze
4e937e42a2 Bug 1353542 - Cleanup the script output and fix tests, r=Mossop. 2017-05-12 14:54:05 +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
Carsten "Tomcat" Book
7a4eb50360 merge mozilla-inbound to mozilla-central a=merge 2017-05-12 14:36:44 +02:00
Iris Hsiao
6559420d58 Backed out 15 changesets (bug 1358846, bug 1356826) for talos error. a=backout
Backed out changeset 96ea13bb00c5 (bug 1358846)
Backed out changeset b533d7f9b9c2 (bug 1358846)
Backed out changeset 7dcb80a051a3 (bug 1358846)
Backed out changeset 26825f1e33dd (bug 1358846)
Backed out changeset 98b57ff82a54 (bug 1358846)
Backed out changeset b9088593e34f (bug 1358846)
Backed out changeset cb2518673c56 (bug 1358846)
Backed out changeset 889c487a5d41 (bug 1358846)
Backed out changeset 459b36092b7a (bug 1356826)
Backed out changeset c861e23ec8ef (bug 1356826)
Backed out changeset d47998fa24cd (bug 1356826)
Backed out changeset b02e89c67132 (bug 1356826)
Backed out changeset c46fed6e4f6a (bug 1356826)
Backed out changeset 237268e3d9d2 (bug 1356826)
Backed out changeset 527435fc20db (bug 1356826)
2017-05-12 17:45:21 +08:00
Dão Gottwald
9cc94f157a Bug 1364090 - Detach the reload and stop buttons from the location bar. r=johannh
MozReview-Commit-ID: Ltp6EghiI44

--HG--
extra : rebase_source : f033cadab35b56cf96f25786260853a8a5f9a1ed
2017-05-11 19:16:05 +02:00
Kris Maglione
05591ed101 Bug 1356826: Part 7 - Scan for extension sideloads after final UI startup. r=aswan,rhelmer
MozReview-Commit-ID: 1syn9GD2DEb

--HG--
extra : rebase_source : d681fa6c0715790664e090580175cfe33bca3425
2017-05-10 12:34:17 -07:00
Swapnesh Kumar Sahoo
dc2e68afec Bug 1349144 - Test update for WebRTC temporary permission expiry. r=johannh
MozReview-Commit-ID: 4BIuz1ikUQ5
2017-05-11 01:34:56 +05:30