Граф коммитов

2770 Коммитов

Автор SHA1 Сообщение Дата
Jessica Jong 1f0dcc2334 Bug 1320225 - [DateTimeInput] Integration of input type=date input box with picker (part 1). r=mconley,smaug 2017-01-17 13:09:03 +08:00
Mike de Boer 6e5d62a6f2 Bug 1316514 - if we attempt to make the 'Highlight All' toggle a global setting, then we need to set the pref when toggled. r=Gijs
What you see first is the removal of the line `this._highlightAll = aHighlight;`, which is repeated in the `_setHighlightAll` method.
This line was put here initially to make the test_findbar_events.xul test pass but in fact makes it so that the pref is never set in `_setHighlightAll`!
In other words, we never actually persisted the 'Highlight All' state properly.
Reading further: the `_dispatchFindEvent` attaches some findbar state flags to the event details, including the value of `_highlightAll`.
Even though none of our consumers use it currently (haven't checked if TB does, though), you can cancel further execution of highlighting all ranges.
Since the `_setHighlightAll` doesn't do that kind of processing, but merely makes sure the internal state is up to snuff, is persisted properly and the buttons are updated, I moved it up to be invoked before dispatching the event.

MozReview-Commit-ID: 4BBy4FR1r5c

--HG--
extra : rebase_source : 204e77aaef3cd55886daeb2e0fdef84da1159c68
2017-01-13 17:27:18 +01:00
Scott Wu fef6d9cb6c Bug 1320225 - [DateTimeInput] Integration of input type=date picker with input box (part 2). r=mconley
MozReview-Commit-ID: DcwvCSa1ofR

--HG--
extra : rebase_source : e67b1b6feec4952859d635cbf468bd927db6c8bc
2016-12-21 14:51:53 +08:00
Neil Deakin cef415ae16 Bug 1329907, use opacity to clear the treecell text while editing instead of changing the value, r=jaws 2017-01-11 08:07:37 -05:00
Michael 7fde7078aa Bug 1300784 - Combine non-e10s and e10s select dropdown implementations, preffed off. r=mconley
Patch by Michael Wright and Freddy (Junshan) Luo.

MozReview-Commit-ID: G0CaZplABpC

--HG--
extra : rebase_source : d0e29ecc80835bf227f623643518ec0cf2d01364
2016-12-21 11:09:39 -05:00
Carsten "Tomcat" Book 47628ca590 Merge mozilla-central to autoland 2017-01-10 12:24:10 +01:00
Carsten "Tomcat" Book 89882dc5f4 merge mozilla-inbound to mozilla-central a=merge 2017-01-10 12:11:31 +01:00
Wes Kocher 105aea2522 Merge m-c to inbound a=merge
MozReview-Commit-ID: G24aq5fbYNd
2017-01-09 16:44:58 -08:00
Sean Lee 857b7ed220 Bug 1325695 - Handle Overflow and OverUnderflow cases when adjusting the height of autocomplete popup.; r=adw
MozReview-Commit-ID: 2U0di120coT

--HG--
extra : rebase_source : 676170871316fc84119d884e74a48fb95e97429f
2016-12-24 06:14:41 +08:00
Scott Wu 2c37b1a545 Bug 1325922 - Add arrows svg file and style month-year button for date picker r=mconley
MozReview-Commit-ID: KH0nTr7kN2m

--HG--
extra : rebase_source : 1211f50553b8ab38e59c8000fd4c0ef25a9ed0bc
2016-11-24 16:45:28 +08:00
Mike de Boer 607071aae6 Bug 1327212 - undo a line removal done in bug 935521 that causes regressions. r=Gijs
MozReview-Commit-ID: HaUEOSpEsXs

--HG--
extra : rebase_source : d95b913bf4305a801c0ec6247a15d78b2902c48d
2017-01-07 01:05:33 +01:00
Jared Wein 446545a6ee Bug 1329013 - Enable no-lone-blocks rule for eslint and remove the seven unnecessary blocks that it found. r=mossop
MozReview-Commit-ID: 9DJGO4en378

--HG--
extra : rebase_source : 820f939e9a751c9be4461ef225fa73fff7829675
2017-01-05 13:30:25 -05:00
Mike de Boer 1a8c598c70 Bug 1324143 - part 1 - remove the deprecated '_getRangeContentArray' utility method and its uses, the unused '_maybeHighlightAll' findbar method and cleanup range outline highlighting code. r=jaws
MozReview-Commit-ID: gLKKEd3CoA

--HG--
extra : rebase_source : d9a7d19ac8787b0292a82387df886b8635d9fe43
2017-01-06 13:11:26 +01:00
Wes Kocher 1b9930db65 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2ocdQCLe0I1
2017-01-05 17:31:25 -08:00
Ray Lin 951126c380 Bug 1325594 - Prevent controls being tabbed inside video control. r=mikedeboer
MozReview-Commit-ID: cYSumQ084S

--HG--
extra : rebase_source : 548efdb6e2006e32ee92fe3229e85ddcb56b6d0d
2017-01-04 17:18:42 +08:00
Carsten "Tomcat" Book 1f7edaeef1 Backed out changeset e1ee23936aa8 (bug 1327212) for clipboard tests 2017-01-04 14:25:58 +01:00
Mike de Boer 13be049e38 Bug 1327212 - undo a line removal done in bug 935521 that causes regressions. r=Gijs
MozReview-Commit-ID: EJyhEUviMhI

--HG--
extra : rebase_source : 2a748ebd9a2620e4e45ade2e4caa6f115b5b3bcc
2017-01-03 17:52:20 +01:00
Jared Wein 9141469edf Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe

--HG--
extra : rebase_source : 8ab34c4e46a7c3075b459bf44786ec184d10d203
2016-12-30 21:47:25 -05:00
J. Ryan Stinnett 3ab5230464 Bug 1326445 - Remove Gonk specific video controls. r=jaws
MozReview-Commit-ID: 75Ui045M21V

--HG--
extra : rebase_source : a04bffedb153ad5ef37f15145695a8bf79c09c44
2016-12-30 12:18:44 -06:00
Philip Chee 2038d42f75 Bug 1326210 - Noticed in Bug 1265881 Error: TypeError: temp is null Source File: chrome://global/content/bindings/preferences.xml Line: 1227 r=Mossop 2016-12-31 04:50:26 +08:00
Jared Wein 2bd8ec9d21 Bug 1325464 - Manually fix the remaining ES6 method syntax eslint errors. r=MattN
MozReview-Commit-ID: 6NqMryvKH9S

--HG--
extra : rebase_source : 264815538de1d0698cbd82e1b995be1b1b07f373
2016-12-28 12:22:09 -05:00
Wes Kocher 0dfb7c2b5c Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein e916e6e896 Bug 1325464 - Manually fix the remaining ES6 method syntax eslint errors. r=MattN
MozReview-Commit-ID: 6NqMryvKH9S

--HG--
extra : rebase_source : 4085737de26adb421eb9b3c9e9841d44a1c89fa4
2016-12-28 12:22:09 -05:00
aceman 81424a65e3 Bug 1142224 - focus the menulist (instead of the inputbox) once it stops being editable. r=enndeakin 2016-12-21 10:03:00 +01:00
Masayuki Nakano 4f6e3ae44a Bug 1320467 <scrollbox>.lineScrollAmount should return average width or height r=mstange
Currently, <scrollbox>.lineScrollAmount returns its font height.  However, according to the other methods, <scrollbox> is designed for scrolling elements in it.  Additionally, old implementation declared that1 line is 1 element.  Therefore, this patch makes it returns avarage width or height of the children.

MozReview-Commit-ID: E9qfhHy5sTt

--HG--
extra : rebase_source : a85c632242e5824596e9363c80323f1c9a89b39a
2016-12-10 11:39:34 +09:00
Masayuki Nakano fa3151a9d8 Bug 1320609 part.1 wheel event handler of <scrollbox> should use |_smoothScrollByPixels| instead of |scrollByPixels| when the deltaMode is DOM_DELTA_LINE or DOM_DELTA_PAGE r=mstange
<scrollbox> should scroll its contents smoothly even if wheel device doesn't support high resolution scroll.

This patch makes the wheel event handler use |_smoothScrollByPixels| when deltaMode is DOM_DELTA_LINE or DOM_DELTA_PAGE.  The reason why ignoring DOM_DELTA_PIXEL is, such devices are typically supports high resolution scroll.  Therefore, <scrollbox> doesn't need to animate its scroll by itself.

However, |_smoothScrollByPixels| doesn't work fine without some additional fixes.

First, this patch doesn't stop pending scroll from |_smoothScrollByPixels| because discarding some pending scroll causes slower scroll.  Actually, when you turn mouse wheel faster, scroll amount becomes smaller without this fix.

Next, this patch adds continous scroll mode to |_scrollAnim| object.  If it's requested new animation during processing previous scroll, it keeps previous scroll amount and restart animation with new destination.  Additionally, accumulating the scroll distance as fractional value.  Therefore, it scrolls 3px when 1.5px scroll is requested twice.

Finally, this patch discards pending scrolls when user tries to scroll to reverse direction.  When user tries to scroll to reserse direction, the user must want to scroll the contents from current position rather than actual scroll destination.  Therefore, this patch discards pending scrolls in |_smoothScrollByPixels|.  Although, it might be better to handle this in |_scrollAnim|.  However, |_isScrolling| is not managed by it and changing the behavior in private method is safer than changing utility object (i.e., |_scrollAnim|).

Additionally, this patch fixes timestamp issue at callback of requestAnimationFrame().  Sometimes, the given timestamp is older than start time.  In that case, current code scrolls to reverse diretion.  Therefore, we should treat such old timestamp as same as start time.

MozReview-Commit-ID: DluWUN2VhVw

--HG--
extra : rebase_source : 067467444c7a0aee4d551410c50de3a8a97601c5
2016-12-22 20:04:35 +09:00
Neil Deakin c2823e53e4 Bug 1328410 - only restore focus if the user did not explicitly place focus elsewhere, r=jaws
MozReview-Commit-ID: CdL2gN7EgbF

--HG--
extra : rebase_source : 0ccedd666b999e4adbab8443bb75c0695606f304
2017-01-04 23:01:34 +00:00
Florian Quèze e98dedc5c2 Bug 1329182 - remove trailing newURI null parameters in XBL bindings, r=jaws. 2017-01-09 20:27:25 +01:00
Thomas Nguyen 0aaea58b69 Bug 1304623 - Create a pref to control the default referrer policy - part 3. r=bkelly
MozReview-Commit-ID: 1A6IHPeNYBQ
2017-01-05 11:29:56 +08:00
Michael Layzell 0fa642800b Bug 1315105 - Part 2: Implement <link rel=prerender> behind a pref, r=smaug
MozReview-Commit-ID: ARET98o1FTU

--HG--
extra : rebase_source : fd549baa1a4a180db1ca6701191f081033811d0f
2016-12-19 15:05:31 +08:00
Wes Kocher 0b3c388b2f Merge m-c to autoland, a=merge 2016-12-20 11:48:21 -08:00
Jessica Jong 556aae19f0 Bug 1286182 - Implement the layout for <input type=date>. r=mconley,smaug
--HG--
rename : dom/html/test/forms/test_input_time_focus_blur_events.html => dom/html/test/forms/test_input_datetime_focus_blur_events.html
2016-12-19 00:50:00 +08:00
Masayuki Nakano 7436f01057 Bug 564411 Move all methods/attributes of nsIEditorIMESupport to nsIEditor r=smaug
Doing QI from nsIEditor to nsIEditorIMESupport doesn't make sense because editor should always support all methods and attributes of nsIEditorIMESupport (it does NOT mean that all nsIEditor implementation need to support IME).

This patch moves all of them to nsIEditor for avoiding redundant QIs.

MozReview-Commit-ID: DzIKuGHG4iy

--HG--
extra : rebase_source : cc5e9a6ae4572ebe461d9770ffa5c23d33dc8526
2016-12-20 21:47:31 +09:00
Ray Lin 5148fc1d9d Bug 1319569 - Remove unused timeThumb binding in videocontrols.xml and unreferenced statistics formatting styling from videocontrols.css. r=jaws
The timeThumb is no longer used since bug 1271765 and the statistics were removed by bug 1270853.

MozReview-Commit-ID: 3Pwl381IBdz
2016-12-16 02:22:00 -05:00
Jared Wein 0070259e2a Bug 1323767 - Fix the indentation and inconsistent brace-style, and switch to using ES6 method definitions in videocontrols.xml. r=ralin
MozReview-Commit-ID: 9GNVgX5gZpc

--HG--
extra : rebase_source : 2f47a742d8486218041f5f717b209aa8f4d1d881
2016-12-15 12:29:04 -05:00
Scott Wu d9cd33f405 Bug 1323109 - Fixed date time pickers popup position; r=mconley
MozReview-Commit-ID: DuY4ZVyszBE

--HG--
extra : rebase_source : 68e42287c3526bffd5785c20ffd3c12ab3a7fe0b
2016-12-01 16:45:16 +08:00
Marco Bonardo 96cd40a062 Bug 1323600 - Some fields have been converted to properties and won't reset anymore when the binding is recreated. r=mossop
MozReview-Commit-ID: CHxBFpbW6aS

--HG--
extra : rebase_source : caa8602ca6e0648b8f52e8de9c430298528d3286
2016-12-15 00:58:21 +01:00
Scott Wu 7b525c00a2 Bug 1283385 - (1/2) Implement date picker UI; r=mconley
MozReview-Commit-ID: 8uscU75qrkR

--HG--
extra : rebase_source : d3907de7978c1e9241c696d5c2c73115bba455f8
2016-11-09 23:38:11 +08:00
Joel Maher 9f60f5a226 backout aba885aafee0210b1f063a423b1c0b3ce28d15f7 for intermittent bug 1272834
MozReview-Commit-ID: BTJ13wWojaI
2016-12-14 10:59:43 -05:00
Carsten "Tomcat" Book fd4709f9c1 merge mozilla-inbound to mozilla-central a=merge 2016-12-14 16:41:28 +01:00
Carsten "Tomcat" Book ed466535b0 Backed out changeset effd2d3a31e0 (bug 1283385i) for eslint failures 2016-12-14 09:42:27 +01:00
Michael Layzell 5d13424101 Bug 1318767 - Part 2: Correctly swap web progress listeners when swapping frameloaders, r=dao
MozReview-Commit-ID: KbUd2Os5qac
2016-11-25 10:06:00 +08:00
Scott Wu 54ad40c942 Bug 1283385 - (1/2) Implement date picker UI; r=mconley
MozReview-Commit-ID: 8uscU75qrkR

--HG--
extra : rebase_source : 3040a648c0e744e2a8f7b1b4d07ff02e0cee318b
2016-11-09 23:38:11 +08:00
Mark Banner 4f94e4bd68 Bug 1322343 - Enable no-unused-vars in the local scope in toolkit/.eslintrc.js. r=mossop
MozReview-Commit-ID: CiIsUjQzp4D

--HG--
extra : rebase_source : 1b98e88673625a52ef82c1fad5d56aec3e2e8e80
2016-11-09 22:06:32 +00:00
Ray Lin a28321d288 Bug 1319301 - Part 1. fadeout grey spacer when play event is not triggered by controls. r=jaws
MozReview-Commit-ID: AouOiY9EGo8

--HG--
extra : rebase_source : f9bc781a3d87bee64d8b5b87e403b1d0c6a299dc
2016-11-22 11:48:04 +08:00
Carsten "Tomcat" Book 51614d31e4 Backed out changeset 059753ec9117 (bug 1315105) for test failures in own test
--HG--
extra : rebase_source : de2846d1205d3e885c1040379f2816629a925d22
2016-12-19 15:59:14 +01:00
Michael Layzell b5fd619e72 Bug 1315105 - Part 2: Implement <link rel=prerender> behind a pref, r=smaug
MozReview-Commit-ID: ARET98o1FTU
2016-12-19 15:05:31 +08:00
Timothy Guan-tin Chien f362306fab Bug 1317882 - Calculate overflow for the insecure field richlistitem in the constructor. r=MattN
MozReview-Commit-ID: 9OxrUyK38Ss
2016-11-29 21:18:58 -08:00
Florian Quèze aca29148b2 Bug 1319844 - Fix a few broken paths, r=Gijs. 2016-11-28 12:29:31 +01:00
Carsten "Tomcat" Book d17bc55a94 Backed out changeset b05c8f63d8a2 (bug 1319844) 2016-11-28 15:56:44 +01:00
Florian Quèze dcdba1c4c0 Bug 1319844 - Fix a few broken paths, r=Gijs. 2016-11-28 12:29:31 +01:00
Carsten "Tomcat" Book b2aaf4ffac Merge mozilla-central to autoland 2016-11-25 16:30:53 +01:00
Johann Hofmann a3aed9a4ba Bug 1315236 - Handle popup notifications with no actions. r=Paolo
MozReview-Commit-ID: F3rkoEovBYc

--HG--
extra : rebase_source : dd6ae446b14eb34f56beaa7f8159565b9fdc8e85
2016-11-23 12:16:50 +01:00
Carsten "Tomcat" Book dd36826044 Merge mozilla-central to mozilla-inbound 2016-11-24 16:46:19 +01:00
Carsten "Tomcat" Book 61849e269d merge mozilla-inbound to mozilla-central a=merge 2016-11-24 16:41:59 +01:00
Bob Owen 4f48f9317d Bug 1147911 Part 2: Add a remote type property and use it to drive the process switching in frontend code. r=gijs, r=jryans, r=mikedeboer 2016-11-24 15:08:30 +00:00
Wes Kocher b851c06cc9 Merge m-c to inbound, a=merge 2016-11-23 16:18:24 -08:00
Matthew Noorenberghe 5f138b9942 Bug 1318537 - Remove Learn More link from the insecure login field autocomplete popup. r=seanlee
MozReview-Commit-ID: KbRokkIr8DE

--HG--
extra : rebase_source : d25cb7d611870ef30d0fdc074b5ba3db236776e9
2016-11-23 13:42:00 -08:00
Masayuki Nakano f33e5256c6 Bug 1316505 part.2 The "wheel" event of <scrollbox> should use |.scrollByPixels()| instead of |.scrollByPages()| for respecting high resolution delta value and making the scroll smoother r=mstange
Similar to the previous patch, "wheel" event should use |.scrollByPixels()| instead of |.scrollByPages()| because |.scrollByPages()| doesn't support high resolution delta value.

This patch makes the "wheel" event handler of <scrollbox> use |.scrollByPixels()| at handling "wheel" events whose deltaMode is DOM_DELTA_PAGE and multiplies the delta value and |.scrollClientSize|.

MozReview-Commit-ID: 1nyD7niiq3W

--HG--
extra : rebase_source : 41265adb74c015be88bd35d7cdc3cd18a585cf84
2016-11-13 18:04:08 +09:00
Masayuki Nakano b6f661b681 Bug 1316505 part.1 The "wheel" event handler of <scrollbox> should use |.scrollByPixels()| for respecting wheel event's scroll speed and scrolling smoother r=mstange
Currently, ths "wheel" event handler of <scrollbox> uses |.scrollByIndex()|.  However, it scrolls too fast when "wheel" event has high resolution delta value when its deltaMode is DOM_DELTA_LINE.

For respecting the delta value, it should use |.scrollByPixels()|.  Therefore, this patch implements new readonly property, |.lineScrollAmount|, which returns font size of the |.scrollbox| and makes "wheel" event handler multiplies the delta value and |.lineScrollAmount|.

MozReview-Commit-ID: KzIvJyxqrn5

--HG--
extra : rebase_source : 0e11608bf4c47cd7aeef3c1a91b705cfcdf281ab
2016-11-13 19:17:07 +09:00
Sebastian Hengst 4240700f13 Backed out changeset 5b26ae9afaea (bug 1147911) 2016-11-23 18:33:10 +01:00
Bob Owen 67d3ea6af8 Bug 1147911 Part 2: Add a remote type property and use it to drive the process switching in frontend code. r=gijs, r=jryans, r=mikedeboer 2016-11-23 13:36:57 +00:00
Ray Lin e6fe42b1fa Bug 1302310 - Make the width of video control match video container. r=jaws
MozReview-Commit-ID: B2pyiVfXBMF

--HG--
extra : rebase_source : 6ce4768f338a02d7789a71e9ca02a15c940ecd7b
2016-11-21 10:21:28 +08:00
Panos Astithas 64baf2d729 Bug 1282768 - Part 2 - Move the secondary actions of doorhanger notifications to their own menu button. r=paolo
MozReview-Commit-ID: 2cnufF7wZJG

--HG--
extra : rebase_source : 6bb9c9f8bd52bd8e6f54cbc2b0ef2760fee25c3a
2016-11-20 18:40:22 +01:00
Jonathan Kingston 74e50ea3c1 Bug 1267604 - Restyle doorhanger notifications. r=paolo
MozReview-Commit-ID: HBykgFhgjmX

--HG--
extra : rebase_source : fd94d5e2549271b4f0696b1435bce9178cb291d1
2016-11-20 18:40:08 +01:00
Michael Layzell faee358314 Bug 1310771 - Part 1: Add an aFlags argument to nsIBrowser::SwapBrowsers, r=mconley
This adds a single flag, SWAP_KEEP_PERMANENT_KEY, which tells the
browser that when it performs the swap, the permanent key should stick
with the browser, rather than following the frameLoader.

This patch also adds the implementation of tabbrowser.swapBrowsers,
which was previously absent, despite being referenced.

MozReview-Commit-ID: CLwJYzpY8Pp
2016-11-18 16:00:43 -05:00
Carsten "Tomcat" Book 866da9f9c6 merge mozilla-inbound to mozilla-central a=merge 2016-11-18 16:51:17 +01:00
Jessica Jong 5509eabfe1 Bug 1314544 - Allow keyboard shortcut when focus is on date/time input box. r=mconley 2016-11-16 23:16:00 +01:00
Sebastian Hengst 5fca81c6e4 Backed out changeset 5cffb4645bc0 (bug 1147911) 2016-11-18 00:58:52 +01:00
Phil Ringnalda ae361307c7 Merge m-c to autoland 2016-11-17 20:11:25 -08:00
Neil Deakin e8520ef209 Bug 1311279, scroll the select popup when click+drag is used, r=mconley 2016-11-17 09:56:43 -05:00
Carsten "Tomcat" Book 27c7333444 Backed out changeset 09093d38540e (bug 1311279) 2016-11-17 15:42:38 +01:00
Neil Deakin 5a0853cab6 Bug 1311279, scroll the select popup when click+drag is used, r=mconley 2016-11-17 09:28:27 -05:00
Ray Lin 1bd816d4fd Bug 1271765 - Part 3. Update tests for video control visual refresh. r=jaws
MozReview-Commit-ID: 24GoxgtN0Bo

--HG--
extra : rebase_source : 77f7a196f55b1a2327985cd31b74fa3eb828d1c0
2016-11-09 16:47:29 +08:00
Bob Owen 8c7b20c42d Bug 1147911 Part 2: Add a remote type property and use it to drive the process switching in frontend code. r=gijs, r=jryans, r=mikedeboer 2016-11-17 15:48:52 +00:00
Ray Lin 8c3d97d3bc Bug 1271765 - Part 2: Desktop media control visual refresh. r=jaws
MozReview-Commit-ID: 1GfyGmrhgCs

--HG--
extra : rebase_source : e3b49788ddac0537281c8e2fb33c66b31e631db3
2016-10-12 13:31:32 +08:00
Dave Townsend c5bb304fd9 Bug 1316882: Turn on space-before-function-paren eslint rule (toolkit). r=jaws
MozReview-Commit-ID: FGFwg6TYkvm

--HG--
extra : rebase_source : 4073cebbef1694393efe312aaafbdb803adbd304
2016-11-11 15:22:34 -08:00
Dave Townsend 6135d646ca Bug 1316882: Turn on space-unary-ops eslint rule. r=MattN
MozReview-Commit-ID: 1xb6sWwhjvd

--HG--
extra : rebase_source : b29de9b4d966a824aee0c65c838e79bc9f35837c
2016-11-10 15:25:40 -08:00
Dave Townsend 35f308c33a Bug 1316882: Turn on rest-spread-spacing eslint rule. r=felipe
MozReview-Commit-ID: EbRmrGz1G0a

--HG--
extra : rebase_source : be99c7cd82799f32d384c2c2621db2ed36f165d8
2016-11-10 15:12:47 -08:00
Dave Townsend 4ac0e05ec7 Bug 1316882: Turn on func-call-spacing eslint rule. r=bgrins
MozReview-Commit-ID: GIkQnRX9woD

--HG--
extra : rebase_source : ed6e9af9b102aaf92965d089d8022b9d94e3f440
2016-11-10 15:05:32 -08:00
Dave Townsend 0a2c8f9b78 Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
MozReview-Commit-ID: HBpjT2uHJaZ

--HG--
extra : rebase_source : 78fe71a1d673a1c698520a9c82c6f35959614f8f
2016-11-10 14:48:04 -08:00
Mike de Boer 877d38b3a2 Bug 935521 - properly disable the find next/ previous buttons on the find toolbar and update their appearance when disabled. r=Gijs
MozReview-Commit-ID: ECynT7VYvTt

--HG--
extra : rebase_source : 963d53ed044a015d36d1fcb46e7744cb66a36593
2016-11-14 13:00:34 +01:00
Wes Kocher cee41d5b80 Merge inbound to central, a=merge 2016-11-11 13:56:45 -08:00
Carsten "Tomcat" Book cc5d30c616 Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 658b3ffdfa71afff2d44129f50e50e2fbecbd06e
2016-11-11 16:43:07 +01:00
Carsten "Tomcat" Book 56781b3922 Backed out changeset 9cfc41a2869e (bug 1267810) for eslint failures 2016-11-11 09:08:33 +01:00
Alastor Wu b2b31d2a59 Bug 1308153 - part1 : notify tabbrowser when the tab was blocked. r=baku,jaws
We need to notify tabbrowser about media-blocking so that we can show the unblocking tab icon.
See bug1308399 for more UX details.

MozReview-Commit-ID: E25lEhZLCZk

--HG--
extra : rebase_source : dcb6cb520bb0983010dfcc728f7251994a886612
2016-11-11 10:42:35 +08:00
Matthew Wein a860065ecd Bug 1267810 - Add a module for registering keywords and handling keyword input sessions. r=adw
MozReview-Commit-ID: Ghqe5xLw67Y

--HG--
extra : rebase_source : 4a319a11cc8f76e24edfccf15256404d3e858087
2016-11-11 12:41:05 +00:00
Matthew Wein 1dc56d3c39 Bug 1267810 - Add a module for registering keywords and handling keyword input sessions. r=adw
MozReview-Commit-ID: Ghqe5xLw67Y

--HG--
extra : rebase_source : ef23c5eb90a7e882c09736724ed5b63773be061c
2016-11-11 02:06:14 +00:00
Neil Deakin 855d5e72e3 Bug 1314802, handle text zoom for select popups, r=felipe 2016-11-11 10:30:48 -05:00
Andrea Marchesini 73db43e2da Bug 1316359 - autocomplete.xml must get userContextId from the attribute of the element instead using contentPrincipal, r=Gijs 2016-11-09 19:43:34 +01:00
Carsten "Tomcat" Book 5b3af6e85f Merge mozilla-central to mozilla-inbound 2016-11-09 16:39:18 +01:00
Florian Quèze 8329214144 Bug 1315228 - add a popupIconClass option to popup notifications so that the microphone and screensharing icons can be set without hacks, r=paolo. 2016-11-09 15:32:49 +01:00
Scott Wu 5a636ae0ec Bug 1301284 - Update time picker style to match visual spec; r=mconley
MozReview-Commit-ID: LqYl8qRzlBg

--HG--
extra : rebase_source : af865b9253bd2001eb468863cce13b585bb546e3
2016-10-17 17:24:39 +08:00
Jessica Jong 9285108ef6 Bug 1314542 - Verify millisecond field when setting input time elemet's value. r=mconley 2016-11-04 00:59:00 -04:00
Wes Kocher db15df3e50 Merge m-c to inbound, a=merge CLOSED TREE 2016-11-04 15:19:49 -07:00
Dave Townsend 6a07a42125 Bug 1314343: Turn on no-unreachable in eslint. r=standard8
Unreachable code can be a sign of a mistake so we should turn this rule on.

MozReview-Commit-ID: LQphsNL7HBX

--HG--
extra : rebase_source : eb5fdb1157cac6e447492ac89bb15d83dc32eef6
2016-11-01 10:58:35 -07:00
Phil Ringnalda c9fdc270b6 Merge m-c to autoland
--HG--
rename : dom/media/webaudio/compiledtest/TestAudioEventTimeline.cpp => dom/media/webaudio/gtest/TestAudioEventTimeline.cpp
2016-11-03 20:02:24 -07:00
Iris Hsiao aaddb56e74 Backed out changeset 5b9b56fecb95 (bug 1267810) 2016-11-04 10:57:34 +08:00
Matthew Wein dde16e219d Bug 1267810 - Add a module for registering keywords and handling keyword input sessions. r=adw
MozReview-Commit-ID: Ghqe5xLw67Y

--HG--
extra : rebase_source : cae9a75edb18529f608bc68f464a432300b8b88e
2016-11-03 16:27:50 +00:00
Mike Conley ca5bc4a97d Bug 1313067 - Make extra padding in autocomplete popup richlistitem opt-in. r=mak
MozReview-Commit-ID: 1nTKHSQzy7b

--HG--
extra : rebase_source : 4886392038d10e4a1cc8db67437afba2bd62b19d
2016-10-28 13:11:30 -04:00
Sean Lee 331e4b4cc9 Bug 1217162 - Implement insecure field warning on username field.; r=MattN
MozReview-Commit-ID: 2tefQKO9eGY

--HG--
rename : toolkit/components/passwordmgr/test/mochitest/test_basic_form_autocomplete.html => toolkit/components/passwordmgr/test/mochitest/test_insecure_form_field_autocomplete.html
extra : rebase_source : 6e7aa1995d07b9327a85ec4e18b8cb9e73e0a45b
2016-10-31 17:57:40 +08:00
André Bargull 42eeb09e2f Bug 1313795 - Remove Date.prototype.toLocaleFormat uses in toolkit/content/widgets. r=Neil 2016-11-01 09:20:48 -07:00
Jared Wein 5040f17e00 Bug 1312486 - Enable no-extra-boolean-cast, no-new-object, no-shadow-restricted-names, and spaced-comment rules for eslint. r=standard8
MozReview-Commit-ID: 7Gx90a5y8t6

--HG--
extra : rebase_source : 9c8a6b15c19982d720b0163fbbf19d465da786fe
2016-10-24 13:14:19 -04:00
Samael Wang 8216d5293a Bug 1276553 - Part 3: Add groupedSHistory related functions to nsIBrowser. r=smaug
Add swapBrowsers() for frameloader or other platform components to swap frameloaders
and <xul:browser> listeners.

Add closeBrowser() for chrome process top-level frameloader to correctly remove /
close a tab.

MozReview-Commit-ID: KzM0xL8goUN

--HG--
extra : rebase_source : 87fe1a611b8d5094b0cdc09d503e6793799bab03
2016-10-18 16:15:32 -04:00
Sebastian Hengst fecfd038fd Bug 1283384 - Implement time picker UI w/ message passing: Fix eslint errors. r=eslint 2016-10-25 09:32:56 +02:00
Scott Wu 7fd5ee8fa1 Bug 1283384 - Implement time picker UI w/ message passing, r=mconley
MozReview-Commit-ID: Gn3Itf0yFrN

--HG--
extra : rebase_source : 7eda91dfe52cd48a0cf795293f4220f7258796cb
2016-09-06 13:01:40 +08:00
Ryan VanderMeulen a57d15ff6a Merge inbound to m-c. a=merge 2016-10-23 13:16:27 -04:00
Jared Wein 43af4edf06 Bug 1311450 - Only show the 'touch' padding for the select dropdown when opened via touch. r=mconley,smaug
MozReview-Commit-ID: 521oAj1NzX7

--HG--
extra : rebase_source : c6e72987cfd0c237269ff7f203d47f1e21652e85
2016-10-20 12:45:39 -04:00
Drew Willcoxon 4dfb466667 Bug 1290490 - Firefox shouldn't RTL the first item in the URL dropdown list when typing a URL. r=mak
MozReview-Commit-ID: IWPYKhdjrDg

--HG--
extra : rebase_source : 48d764d058c33eea5cdebb82a0f434361ea68418
2016-10-18 13:17:29 -07:00
Neil Deakin 6a3dcce43b Bug 643770, stop autoscroll when mousewheel is moved, r=felipe 2016-10-21 11:22:25 -04:00
Jessica Jong 00e1aed4d5 Bug 1310587 - [DateTime Input] Make background of reset button in input box transparent. r=mconley 2016-10-17 02:13:00 -04:00
Mike Conley 653b6aacfa Bug 1296638 - Make Form Autocomplete popup use a richlistbox instead of a tree. r=MattN
MozReview-Commit-ID: 6ybBqAwxlmb

--HG--
extra : rebase_source : a7273c9b35b5012b110bfc8196d92a3e6a4c03a9
2016-08-19 17:15:56 -04:00
Marco Bonardo 6fba552346 Bug 1304501 - Properly disable trimUrl on autofill. r=adw
MozReview-Commit-ID: IxCOWkqFYV0

--HG--
extra : rebase_source : f6519c6f245199db550e2d999931c65154d38427
2016-09-21 21:55:00 +02:00
Carsten "Tomcat" Book 42c313336d Merge mozilla-central to autoland
--HG--
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/utils.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/element-container.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/element-editor.js
rename : devtools/client/inspector/markup/html-editor.js => devtools/client/inspector/markup/views/html-editor.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/markup-container.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/read-only-container.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/read-only-editor.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/root-container.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/text-container.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/text-editor.js
extra : rebase_source : 8b4e5aa861c37406882330d2f87125c8a008734a
2016-10-11 13:06:12 +02:00
Philipp Kewisch 7298b61dc6 Bug 1231509 - Using more than just an expression in XBL fields confuses the eslint xbl preprocessor. r=mossop
MozReview-Commit-ID: 4lMiSP0ery4

--HG--
extra : rebase_source : 299bbdc5e93b92d80e438482aa28b22d427ce71b
2016-09-19 11:31:38 +02:00
Mike de Boer 05f70d10ef Bug 1303008 - refactor Fennec Finder.jsm integration to always show the correct match count results in the findbar. r=nalexander
MozReview-Commit-ID: KZIstsbHAyT

--HG--
extra : rebase_source : 24972d38daa947d62410b43d14f0da6c7662e5da
2016-10-10 11:53:25 +02:00
Jessica Jong b3014cc00b Bug 1288591 - Implement the layout for <input type=time>. r=mconley, r=dholbert, r=smaug 2016-10-06 00:17:00 -04:00
Phil Ringnalda fe9d9c45d7 Merge m-c to m-i
MozReview-Commit-ID: B5Nf2oiDcqG
2016-10-10 19:13:45 -07:00
Boris Zbarsky bae20efd7f Bug 1298243 part 7. Change DataTransfer.types from being a DOMStringList to being a frozen array. r=mystor,gijs 2016-10-10 21:07:47 -04:00
Carsten "Tomcat" Book 4c8762a1b0 Merge mozilla-central to mozilla-inbound 2017-01-25 13:50:52 +01:00
Jessica Jong 3dde1a2f1c Bug 1318317 - [DateTimeInput] hide reset button when there is no value. r=mconley 2017-01-24 17:19:00 +01:00
Kirk Steuber ad4b55af1f Bug 1206133 - Add popuppositioning state and popuppositioned event to improve arrow panel position handling. r=enndeakin
MozReview-Commit-ID: Dh1npORCQ6J

--HG--
extra : rebase_source : 5df6076561a746791c44d249afa31009d0e1b30a
2016-08-16 15:33:05 -07:00
Kartikaya Gupta 7c6f553e43 Bug 1302737 - Add rudimentary touch-scrolling support to the XUL scrollbox widget. r=dao
MozReview-Commit-ID: DmXgox2R3uX
2016-09-29 10:05:25 -04:00
Kartikaya Gupta c380fca142 Bug 1302736 - Add rudimentary touch-scrolling support to the XUL tree widget. r=dao
MozReview-Commit-ID: 7dHpl3EsRZk
2016-09-29 10:05:24 -04:00
Carsten "Tomcat" Book ceb8695fd3 Merge mozilla-central to mozilla-inbound 2016-09-27 11:26:17 +02:00
Carsten "Tomcat" Book 5bdd2876ae merge mozilla-inbound to mozilla-central a=merge 2016-09-27 11:21:25 +02:00
Gijs Kruitbosch 1205edd695 Bug 1304492 - use frameloader's context to get contentPrincipal, r=mconley
MozReview-Commit-ID: DdzGwIJye14

--HG--
extra : rebase_source : e08571724e42a1616d66347f30f46bdc9c626de2
2016-09-26 14:47:31 +01:00
Tooru Fujisawa a2eb555081 Bug 1148716 - Do not re-open location bar suggestion when dropmarker is clicked while the suggestion is opened. r=mak 2016-09-27 10:42:13 +09:00
Gijs Kruitbosch 17db78f2b5 Bug 1284395, r=bz,mconley,baku
MozReview-Commit-ID: 1nPyv7G3q7d

--HG--
extra : rebase_source : 9b0b75c43d441a13992f085ce6f766aee0614666
extra : source : 6036b8acdab58eb565f15e12f8184f8abe7c6413
2016-09-06 14:19:45 +01:00
Carsten "Tomcat" Book 4f900773f5 merge mozilla-inbound to mozilla-central a=merge 2016-09-21 12:03:31 +02:00
Gijs Kruitbosch 8a285ee959 Bug 1211637 - if there's no docShell (on a local tab) or permitUnload times out (on a remote tab), close the tab, r=billm
MozReview-Commit-ID: Cihru0TVxNc

--HG--
extra : rebase_source : 5c9bcee84eb0b1f6daaa1fa8d317fc700fe40909
2016-09-15 16:17:17 +01:00
Mike de Boer 403f14c44f Bug 1293197 - make sure that toggling Entire Words mode also retriggers the active search. Also fixes a JS error that crept in recently. r=jaws
MozReview-Commit-ID: DcXhhRxk3Mw

--HG--
extra : rebase_source : eaea2f83acfb73c1470fc58a8f59ba7230c1d875
2016-09-16 11:54:02 +02:00
Phil Ringnalda c58d0d6900 Merge m-i to m-c, a=merge 2016-09-17 13:44:34 -07:00
Bill McCloskey 50c44c717c Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap) 2016-09-16 20:35:11 -07:00
Marco Bonardo 4d43a4bbe3 Bug 1283329 - Perceptible pause when quickly typing and hitting enter in the urlbar. r=adw
MozReview-Commit-ID: 2NdTvY9H25Z

--HG--
extra : rebase_source : b957bf6eca2b2387a6c57bc4993a0766e660e06a
2016-09-15 18:55:12 +02:00
Marco Bonardo 6c9f104521 Bug 1301093 - Part 3: fix delayed handleEnter regression. r=adw
MozReview-Commit-ID: 1SZeMUtLjNg

--HG--
extra : rebase_source : 7b544bfe695cd6c3a19326c71cf603b265213963
2016-09-13 09:35:00 +02:00
Mike Conley 15dc33fbae Bug 1287178 - Add a dismissed event for <xul:notification> when they're dismissed via the close button. r=Felipe
MozReview-Commit-ID: 4bTq0g5a33j

--HG--
extra : rebase_source : 0c705c9b9dafff1499b5f5b381f4b8545ab0272e
2016-09-02 14:09:42 -04:00
Joseph Yeh 181ca20b6f Bug 1184989 - Prevent flipping preference will scroll the page as well. r=jaws
MozReview-Commit-ID: 5j5FN8aFDlX

--HG--
extra : rebase_source : 8eb433a802ab05b35621cc66d8808ce36a9eaac2
2016-08-25 10:51:43 +08:00
Mike de Boer f52eb8430c Bug 1290914 - move the matches count and highlight-all request from the findbar binding to the JS module in the content process, so it's closer to the metal. r=jaws
MozReview-Commit-ID: INYobXmrVj5
2016-09-08 22:38:55 +02:00
Johann Hofmann aa0121a4fe Bug 1291642 - Part 1 - Add an optional checkbox to PopupNotifications. r=paolo
MozReview-Commit-ID: 9wzV6kNt5pV

--HG--
extra : rebase_source : b0fa1dea0c23197a795076e1cb3c1be091c18872
2016-09-06 18:36:23 +02:00
Tooru Fujisawa e933275fe8 Bug 92737 - Part 3: Open multiple tabs when multiple items are dropped on remote content area. r=enndeakin 2015-11-11 07:35:12 +09:00
Tooru Fujisawa 9867f060f7 Bug 92737 - Part 2: Open multiple tabs when multiple items are dropped on non-remote content area. r=Gijs 2015-08-15 07:20:15 +09:00
Gijs Kruitbosch 24da61daea Bug 1286389 - fix focusing if nothing is focused when panel closes, r=Enn
MozReview-Commit-ID: DzNnQZjuXK2

--HG--
extra : rebase_source : d84d49f06a275a4ab664996e144211d3cc588e3e
extra : source : 3696a22ff7a09bcc27296c0a5648e2e9afd32f67
2016-07-19 15:56:15 +01:00
Aryeh Gregor 76862dadad Bug 1299453 - Stop using createEvent("DragEvents"/"KeyEvents") internally; r=smaug
They are non-standard aliases for "DragEvent" and "KeyboardEvent" that
are not supported by any other UA, and we would like to drop support.
So first let's stop using them ourselves, so we can use telemetry to see
if any sites are using them.

MozReview-Commit-ID: ICC33ORa2st
2016-08-31 20:38:50 +03:00
Fischer.json e4c9207170 Bug 1113581 - Artifact when editing a keyword, the keyword is displayed under the text-area. r=jaws
MozReview-Commit-ID: 6toSvZlJeBz

--HG--
extra : transplant_source : %DC%82%29%EA%19%CD%B8%D3%CE%7D%90%FA%AA%89La%A5Rr%85
2016-08-01 11:32:24 +08:00
Ryan VanderMeulen 628ab3deff Merge m-c to inbound. a=merge 2016-08-26 09:39:29 -04:00
Yoshi Huang 8c13a9fd49 Bug 1244340 - Part 3: pass userContextId to search suggestions r=mak 2016-08-26 18:59:00 +08:00
Mike de Boer 56661a22a9 Bug 1294392 - consolidate the highlight and counter timers into one iterator timer. r=jaws
This introduces a new NLP (Natural Language Processing) module with only one
method: 'levenstein'. We're using it to allow the highlighter to keep running
when the it starts the iterator with a word that's one edit distance behind the
value in the findField.

MozReview-Commit-ID: K8oeiXoiLUe
2016-08-25 20:11:44 +02:00
Ryan VanderMeulen 82663d8710 Merge inbound to m-c. a=merge 2016-08-23 10:05:18 -04:00
Wes Kocher b38dbd1378 Backed out 2 changesets (bug 1279086) for causing painting issues a=backout
Backed out changeset b1c893387fdd (bug 1279086)
Backed out changeset 277c54118c8a (bug 1279086)
2016-08-22 16:00:34 -07:00
Blake Kaplan 974d3410e3 Bug 1296785 - Make view-source in a new window work correctly. r=mconley
This patch also makes sure that we correctly grab a weak reference to the
related window instead of just setting a "relatedBrowser" property directly on
the JS object (which shadows the XBL property getter).

MozReview-Commit-ID: 97VQyCoY1Cj
2016-08-22 14:49:20 -07:00
Bill McCloskey 3a7ee5574b Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap) 2016-08-19 14:41:26 -07:00
Wes Kocher 3a31be9c17 Backed out 2 changesets (bug 1279086) for failures in browser_menu_item_01.js a=backout
Backed out changeset 00bb53b58e96 (bug 1279086)
Backed out changeset cff59fe2b933 (bug 1279086)
2016-08-19 12:31:55 -07:00
Bill McCloskey 3799faa926 Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap) 2016-08-19 09:59:40 -07:00
Ryan VanderMeulen 01c4e8cc1b Merge inbound to m-c. a=merge 2016-08-19 09:52:53 -04:00
Blake Kaplan cb264cca60 Bug 1165309 - Make view source and print preview work in e10s-multi. r=mconley 2016-08-18 16:47:28 -07:00
Sebastian Hengst 4cc5c09d8b Backed out changeset c5cb27604f9f (bug 1206133) for timing out in notification tests of passwordmanager on Linux. r=backout 2016-08-18 19:58:44 +02:00
Mike Conley 1cd26f3367 Bug 1294502 - Make content in non-e10s use the same nsIFormAutoComplete as e10s. r=MattN
MozReview-Commit-ID: 7JmkKsbbTYw

--HG--
extra : rebase_source : 76e14ea3bcb78961689ded4ed9ba20a630559e87
2016-07-28 14:20:05 -04:00
Mike Conley e66438b410 Bug 1294502 - Move AutoCompletePopup implementation for content to browser-content.js so that non-e10s can use it in a later patch. r=MattN
MozReview-Commit-ID: 2fB4M3lqpLK

--HG--
extra : rebase_source : bbadfe6dacb08a1d7231a39227802484772ebc2b
2016-07-28 14:18:50 -04:00
Jared Wein e6276ea7f5 Bug 1294547 - Enable the comma-spacing rule for eslint. r=felipe
MozReview-Commit-ID: RCSDEvvk2I
2016-08-16 15:44:15 -04:00
Wes Kocher 03b3c20a6e Merge fx-team to central, a=merge 2016-08-15 14:49:11 -07:00
Sebastian Hengst 8c843b1739 merge mozilla-central to fx-team. r=merge a=merge 2016-08-13 13:53:42 +02:00
Sebastian Hengst 9ec085584d Backed out changeset 0c4f81bc2b52 (bug 1252224) for permafailing in browser_ext_browserAction_popup_resize.js on Linux after merge to mozilla-central. r=backout a=backout
MozReview-Commit-ID: KUARkl7QxB7
2016-08-13 13:27:15 +02:00
Jared Wein d3e296107e Bug 1294621 - Enable the no-lonely-if rule for eslint. r=gijs
MozReview-Commit-ID: 8izEqc8IyCu
2016-08-12 11:50:35 -04:00
Jared Wein 797f4c4fe4 Bug 1233198 - Remove preprocessing from toolkit/content/widgets/videocontrols.xml. r=Gijs
MozReview-Commit-ID: LXAxCTf4OEg

--HG--
extra : rebase_source : 068f9c8d4fdef276115cd5a9fcd25aca8b381c68
2016-08-13 19:04:09 -04:00
Sebastian Hengst d11b74103a merge mozilla-central to autoland. r=merge a=merge 2016-08-13 13:54:41 +02:00
Wes Kocher 4aec37ca6e Merge m-c to autoland, a=merge 2016-08-12 16:30:03 -07:00
Ray Lin efe108e4de Bug 1291013 - Adjust closed caption button spacing. r=jaws
MozReview-Commit-ID: 68jaHKezap1

--HG--
extra : rebase_source : 93335eac61a59a512a5553675826f9a663ef3445
2016-08-05 10:32:29 +08:00
Jared Wein c1a786bb11 Bug 1252224 - Remove synchronous layout flushes and style invalidations during the opening of multiview panels. r=mconley
MozReview-Commit-ID: 9T4gAPwFrXp
* * *
[mq]: temp

MozReview-Commit-ID: Bj91OhNd8ed
* * *
[mq]: temp

MozReview-Commit-ID: J8h8InaMRP4
2016-08-04 17:30:54 -04:00
Mike de Boer 7c49e1e69b Bug 1280876 - don't take screenshots of pages that have the findbar open. r=jaws,mconley
MozReview-Commit-ID: Dmz0MaukNVq

--HG--
extra : rebase_source : dc359e5bc31d86fa01caf6c8d9d4fc359251d9f3
2016-08-10 11:23:47 +02:00
Neil Rashbrook 67a7df95c9 Bug 1279911 Use content-safe platform detection r=enndeakin 2016-08-05 14:25:57 +01:00
Wes Kocher a177bd0ff1 Merge m-c to inbound a=merge 2016-08-17 17:24:02 -07:00
Kirk Steuber 63f152486c Bug 1206133 - Add popuppositioning state and popuppositioned event to improve arrow panel position handling. r=enn, r=adw
MozReview-Commit-ID: 6YPRbRB5RBX

--HG--
extra : rebase_source : 2995788c80a25c242d0b94edd0792b4bf3ce978d
2016-08-16 15:33:05 -07:00
Jared Wein fd84c776c7 Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
MozReview-Commit-ID: EMjJ3yWt9Wt

--HG--
extra : rebase_source : 2b8327e5a7cf0bfd190d696ad5fe475f13faa3cc
2016-08-04 03:28:58 -04:00
Jared Wein 169d66a3ed Bug 1292035 - Enable the space-before-blocks rule for eslint. This patch was generated using 'eslint --fix'. r=markh
MozReview-Commit-ID: 2XVoU05YvES

--HG--
extra : rebase_source : e7ed2d094c21b59dd59476b8930b75da2e6d6980
2016-08-04 03:20:25 -04:00
Jared Wein 871ed4e3ba Bug 1291855 - Enable the no-else-return rule for eslint. r=Felipe,kmag,mossop
MozReview-Commit-ID: DYOmE6xwMJh

--HG--
extra : rebase_source : bc81b68ea5599fd1815dc34dac7106eef7044483
2016-08-03 18:54:59 -04:00
Drew Willcoxon 55ab8f47c3 Bug 1180944 - Implement one-off searches from Awesomebar. r=mak,florian
MozReview-Commit-ID: A9YXB32L7MN
2016-08-02 18:00:26 -07:00
Mike de Boer ebc9f1764d Bug 1290842 - reduce the amount calls to the highlighter upon the first find action and improve the behavior when modal highlighting is not enabled now that we have a FinderHighlighter class we can use. r=jaws
MozReview-Commit-ID: K01dpqp8LSf
2016-08-02 10:40:21 +02:00
Carsten "Tomcat" Book 1e0260eddf Merge mozilla-central to fx-team 2016-07-28 17:44:58 +02:00
Mike de Boer 33aa207132 Bug 1281421 - Merge the find counter and highlighter iterators into a FinderIterator singleton. r=jaws
MozReview-Commit-ID: 9fhOKWIkOXN

--HG--
extra : rebase_source : 7a2bc23383b99b0a13ef49121f168bd03399b4a9
2016-07-28 12:34:13 +02:00
Carsten "Tomcat" Book bd055a6272 Merge mozilla-central to fx-team 2016-07-27 16:40:43 +02:00
Mike de Boer 938576136a Bug 1279684 - make sure that toggling 'Highlight All' also hides the found occurrences from the mask. r=jaws
MozReview-Commit-ID: 2AmSwNgE1if
2016-07-27 16:37:26 +02:00
Jared Wein 35fa19bc95 Bug 1285464 - Keep focus handling in the chrome process so focus will move back to the content out of the typeahead findbar but not change which chrome window has focus. r=mikedeboer
MozReview-Commit-ID: Ga8QFFgX0ZZ

--HG--
extra : rebase_source : 51053e8f539e7d358bd16c36b30bb72fef2ecaa1
2016-07-26 14:53:32 -04:00
Carsten "Tomcat" Book 68a717ba18 Backed out changeset 3696a22ff7a0 (bug 1286389) for frequent dt2 linux debug failures 2016-07-20 16:50:13 +02:00
Carsten "Tomcat" Book ac3f25cbe3 merge fx-team to mozilla-central a=merge 2016-07-20 11:17:45 +02:00
Jared Wein 8b7008f45f Bug 1285234 - Check for valid videoEvents and controlListeners before dereferencing them in case the videocontrols have been cleaned up already. r=Gijs
MozReview-Commit-ID: HAnjW0F3kFo

--HG--
extra : rebase_source : fcdc7250d9526e0c5b6eebae3f25a4c067480ac4
2016-07-19 12:35:22 -07:00
Gijs Kruitbosch e6827d6220 Bug 1286389 - fix focusing if nothing is focused when panel closes, r=Enn
MozReview-Commit-ID: DzNnQZjuXK2

--HG--
extra : rebase_source : 8303da0b4190be136f439868141cb1306e873556
2016-07-19 15:56:15 +01:00
Wes Kocher bacab7c0f8 Merge m-c to autoland, a=merge 2016-07-12 16:54:34 -07:00
Chris Pearce 5c4a9cd046 Bug 1273725 - Don't show 'No supported source' message in video controls if there's no sources. r=jaws
We're flashing a warning message  "NO video with supported format and MIME type
found." when we're loading a YouTube page in Fennec. This is because YouTube
are calling load() on a video element with no src attribute or source children
in a click handler in order to defeat the "requires user interaction to play"
restrictions on mobile Chrome and Safari in that video element.

We're showing the warning message to help developers diagnose why loads are
unintentionally failing. However, the behaviour that YouTube are doing is
intentional, and YouTube are likely to not be the only ones doing this. So we
should change our video controls to not display the warning message in this
case. We should be compatible with other browsers.

We'll still log a debug message to the browser console as to why the load
is failing, to help developers who hit this unintentionally.

MozReview-Commit-ID: IpugbMOloJt

--HG--
extra : rebase_source : cd84e8a5fb300f984d91ae792c197a70992c38e1
2016-07-12 16:19:03 +12:00
Jared Wein 6876b69573 Bug 1055403 - Allow individual prefernece elements to opt out of the preferences-wide instantApply=true. r=gijs
MozReview-Commit-ID: 6Lf1AGKZtGO

--HG--
extra : transplant_source : %B3rW%1E%A3%C6%27%8A%C1%3F%82h%09%C7F%DB%0B%A6%95%DD
2016-07-09 15:33:17 -04:00
Carsten "Tomcat" Book 5c90a99952 merge mozilla-inbound to mozilla-central a=merge 2016-06-29 16:13:05 +02:00
Ray Lin e1b4b9465e Bug 985915 - Vertically move up closed caption to not overlap control bar. r=rillian
MozReview-Commit-ID: HzJ3ppbmQnk

--HG--
extra : rebase_source : dda5febc3c799c375e4dbe39cf52f96504740b55
2016-06-27 11:22:15 +08:00
Mike de Boer fe68c53f4b Bug 269442 - whole word matching support for nsFind. r=ehsan,dao. ui-r=shorlander
MozReview-Commit-ID: KIDWHyjOSYL
2016-06-28 15:13:53 +02:00
Jared Wein 05df1c9dea Bug 1281888 - The closed caption button should appear if there are 'captions' tracks. r=ralin
MozReview-Commit-ID: 2cHgR9lyxAK

--HG--
extra : transplant_source : %CC%E8%9B%40%00%0E%D6%2A%03w%C1%D8%A0Tk%9E%CD%8E%5B%F4
2016-06-23 15:38:04 -04:00
Ray Lin 5a89cbb1ca Bug 887934 - Add closed caption button to video control. r=jaws
MozReview-Commit-ID: JykXcNBkSLr

--HG--
extra : transplant_source : %BB%26%BB%C2%0E50x%0E%B7%20Y%2Cs%A9x_%8F%D7%D6
2016-06-07 15:07:03 +08:00
Mark Hammond 367f33f78d Bug 1279224 - remove all Sync promotions from doorhangers. r=adw
MozReview-Commit-ID: 8QELFxqM6Av

--HG--
extra : rebase_source : e76d93d5096e9f820238645a9ac2db658f815718
2016-06-15 13:43:25 +01:00
Carsten "Tomcat" Book a967cdb984 merge mozilla-inbound to mozilla-central a=merge 2016-06-16 08:06:50 +01:00
Alastor Wu 5a58cdb291 Bug 1239372 - only pause video during draging. r=jaws
MozReview-Commit-ID: F1vNDqMvKVK

--HG--
extra : rebase_source : 5ae2d3c85ebff734d090bf61a757ef6e1cfd4708
2016-06-15 15:29:18 +01:00
Xidorn Quan 70613457d1 Bug 1274879 - Terminate event listeners of videocontrols in destructor. r=jaws
MozReview-Commit-ID: CXXGXIsheAN

--HG--
extra : source : b7cc015fb9030af239af653e4dff15c1a6c6e476
2016-06-14 11:38:21 +01:00
Carsten "Tomcat" Book 4ee1ed2b8f merge mozilla-inbound to central a=merge
--HG--
extra : amend_source : 10247ace8885c608987dcf31d47368e0dec09b19
2016-06-10 15:39:23 +02:00
Mike de Boer 2cdbcb870d Bug 384458 - part 4: implement modal highlighting using the AnonymousContent API and SVG masks. r=jaws 2016-06-09 13:30:49 +02:00
Mike de Boer 86c75b7400 Bug 384458 - part 3: move the highlighting code to its own module. r=jaws 2016-06-09 13:30:48 +02:00
Mike de Boer 5748931883 Bug 384458 - part 2: change the matches count timeout to 100ms, up the limit to a 1000 counts and capture the state of 'Highlight All' in a pref which will be TRUE by default in the browser. r=jaws 2016-06-09 13:30:46 +02:00
Wes Kocher 0adc8ded6e Backed out 6 changesets (bug 384458) for frequent browser_FinderHighlighter.js failures
Backed out changeset ded915ec401f (bug 384458)
Backed out changeset 63ec66da50fa (bug 384458)
Backed out changeset ae71396d3be0 (bug 384458)
Backed out changeset 3b025cbfbe3c (bug 384458)
Backed out changeset 091c5465acf7 (bug 384458)
Backed out changeset 5eabde153def (bug 384458)
2016-06-08 14:53:57 -07:00
Mike de Boer a479893c6a Bug 384458 - part 4: implement modal highlighting using the AnonymousContent API and SVG masks. r=jaws 2016-06-08 19:54:10 +02:00
Mike de Boer 33e61dede1 Bug 384458 - part 3: move the highlighting code to its own module. r=jaws 2016-06-08 19:54:08 +02:00
Mike de Boer 2c1479d246 Bug 384458 - part 2: change the matches count timeout to 100ms, up the limit to a 1000 counts and capture the state of 'Highlight All' in a pref which will be TRUE by default in the browser. r=jaws 2016-06-08 19:54:07 +02:00
Neil Deakin baef42a6ab Bug 1276976, ensure that popups are visible in the right area, r=tn, r=mrbkap 2016-06-09 11:34:12 -04:00
Carsten "Tomcat" Book a34d39f529 Backed out changeset e7a3ba795e1a (bug 1276976) for timeouts in browser_tableWidget_mouse_interaction.js on a CLOSED TREE 2016-06-09 15:28:22 +02:00
Neil Deakin efe80ab561 Bug 1276976, ensure that popups are visible in the right area, r=tn, r=mrbkap 2016-06-09 07:59:31 -04:00
Carsten "Tomcat" Book 91da791a55 Backed out changeset 28646bde9f7a (bug 887934) for android videocontrols test failures 2016-06-07 11:12:15 +02:00
Ray Lin 98f56e3561 Bug 887934 - Add closed caption button to video control. r=jaws
MozReview-Commit-ID: JykXcNBkSLr

--HG--
extra : transplant_source : %0C%0F%7C%86%89f%BC%FEU%ECI%3F%A6%AD%25%0Fq%C2%B6%18
2016-06-07 15:07:03 +08:00
J. Ryan Stinnett a5d777df66 Bug 1277463 - Remove unused DocumentInserted listener. r=Gijs
MozReview-Commit-ID: 44c1TDewSUL
2016-06-02 09:26:43 -05:00
Xidorn Quan 7d48b7906b Bug 1274520 part 3 - Listen video events in system group. r=gijs,jaws
Since the UI is now changed in listeners inside the system group, they
are invoked after the listeners added by the content. Because of that,
UI check needs to be asynchronously, otherwise we would be checking the
state before videocontrols update. For the same reason, mouse/keyboard
operations need to be invoked asynchronously as well, otherwise they
would be applied based on the UI before update. This shouldn't change
what is tested here, as user inputs are asynchronous by nature.

MozReview-Commit-ID: 4h9Oa9qMVc5

--HG--
extra : source : ca67bc5ad3a3ddc6cf41dd4c4d6af647d94bc298
2016-06-01 11:35:53 +10:00
Xidorn Quan 8a433ea200 Bug 1274520 part 2 - Listen control events in video controls on system group. r=gijs,jaws
Listeners in the system group are invoked after listeners in the default
group, so we can check defaultPrevented synchronously, and we have to
change the play state according to the state of the play button.

Due to the same reason above, we need to check the UI async in tests.

MozReview-Commit-ID: Bs4MZvGefJj

--HG--
extra : source : b28d589bb2675116fc7927381061fb0a03e39369
2016-06-01 11:35:53 +10:00
Carsten "Tomcat" Book fa71bef543 merge mozilla-inbound to mozilla-central a=merge 2016-05-31 11:59:45 +02:00
Felipe Gomes d2bf40b405 Bug 1273685. Further reduce the message size by limiting the size of the URI to be sent. r=Gijs
MozReview-Commit-ID: EMXYaUwnGR2
2016-05-30 19:03:16 -03:00
Felipe Gomes 202180cd74 Bug 1273685. Reduce size of PopupBlocking:UpdateBlockedPopups messages. r=Gijs
The size is reduced by making the message only carry the count of blocked popups, and not the full list of popup URLs that were blocked. The parent becomes responsible for retrieving the list from the child when it needs to display it.

MozReview-Commit-ID: DsxLFD8iE3t
2016-05-30 19:02:17 -03:00
Phil Ringnalda 0ce9dc7391 Back out 3 changesets (bug 1274520) for failures in various videocontrols tests
CLOSED TREE

Backed out changeset 788365ddaf61 (bug 1274520)
Backed out changeset 6c204be833d1 (bug 1274520)
Backed out changeset 4f15271e5488 (bug 1274520)
2016-05-24 19:45:17 -07:00
Xidorn Quan 50134ac5fb Bug 1274520 part 3 - Listen video events in system group. r=gijs
MozReview-Commit-ID: 4h9Oa9qMVc5

--HG--
extra : source : 65e3391dd4f4f2805736f59a30357c5eab266fae
2016-05-25 09:45:56 +10:00
Xidorn Quan 68570fbbac Bug 1274520 part 2 - Listen control events in video controls on system group. r=gijs
MozReview-Commit-ID: Bs4MZvGefJj

--HG--
extra : source : 0c0fafdc10e241d0ef972c068873da43e568239b
2016-05-25 09:45:56 +10:00
Carsten "Tomcat" Book cb4337c62c merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_oop.html => dom/presentation/tests/mochitest/file_presentation_non_receiver.html
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe_oop.html => dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe.html
rename : dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe_oop.html => dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe.html
2016-05-24 14:52:23 +02:00
Michael Kaply 60d3e76032 Bug 502367 - tree.columns can be undefined so check for it; r=enndeakin 2016-05-23 16:46:18 -05:00
Jared Wein 2a9f458aab Bug 1181055 - Treat the toggling of playback state in the videocontrols' content "click" event listener as the same as preventDefault. r=gijs
MozReview-Commit-ID: c6V9LMIdK0
2016-05-19 23:30:16 -04:00
Jared Wein b57a662411 Bug 1270853 - Remove HTML5 video controls statistics. r=gijs, r=bz for removing internal chrome/xbl attribute in webidl
MozReview-Commit-ID: 53BYXvHaaB9
2016-05-19 23:30:12 -04:00
Xidorn Quan d076cfb561 Bug 1273468 - Revert video controls to use prefixed Fullscreen API again. r=dolske
MozReview-Commit-ID: IlxS0MFTxIk

--HG--
extra : source : f7f76f18484a7c53e7213d4fc654b11a93ab4dcf
2016-05-19 19:48:50 +10:00
Phil Ringnalda 7353927cf9 Back out bb1c5961b1e1 (bug 1273468) for failures in test_videocontrols.html
CLOSED TREE
2016-05-18 21:12:43 -07:00
Xidorn Quan 744f2efb4a Bug 1273468 - Revert video controls to use prefixed Fullscreen API again. r=Dolske
MozReview-Commit-ID: IlxS0MFTxIk

--HG--
extra : rebase_source : f65e0c0ca4bc05f1d1d4247ae7cf26c3c4b0695e
2016-05-19 10:30:54 +10:00
Bob Owen 2d161a3465 Bug 1189846 Part 9: Add ability to print from the parent process with settings and progress listener. r=jimm, r=smaug
MozReview-Commit-ID: 7IEMByPmC0n
2016-05-16 10:40:54 +01:00
Phil Ringnalda 2be4cee4d3 Merge f-t to m-c, a=merge 2016-05-14 13:04:50 -07:00
L. David Baron 55b6b3268e Bug 1111440 - Replace rest of -moz-/Moz prefixed logical margin/padding/border properties with their standard versions. r=heycam
This patch was generated by the command:
  find * -type f -exec sed -i -f ../mozpropsub {} \;
in the root of the repository, with the file ../mozpropsub containing:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g
s/\<MozPaddingEnd\>/paddingInlineEnd/g
s/\<MozPaddingStart\>/paddingInlineStart/g
s/\<MozMarginEnd\>/marginInlineEnd/g
s/\<MozMarginStart\>/marginInlineStart/g
s/\<MozBorderEnd\>/borderInlineEnd/g
s/\<MozBorderEndColor\>/borderInlineEndColor/g
s/\<MozBorderEndStyle\>/borderInlineEndStyle/g
s/\<MozBorderEndWidth\>/borderInlineEndWidth/g
s/\<MozBorderStart\>/borderInlineStart/g
s/\<MozBorderStartColor\>/borderInlineStartColor/g
s/\<MozBorderStartStyle\>/borderInlineStartStyle/g
s/\<MozBorderStartWidth\>/borderInlineStartWidth/g

The diffs for the following files:
  layout/style/nsCSSPropAliasList.h
  layout/style/test/property_database.js
  layout/style/test/test_value_computation.html
were then manually removed from the patch.

MozReview-Commit-ID: 8fbYnlZcn9U
2016-05-14 00:00:18 -07:00
Bob Owen 5cb072a2c8 Bug 1274937: Add outer window ID argument to nsFrameLoader::Print to allow printing of frames. r=jimm
MozReview-Commit-ID: CmZp0mogTFx

--HG--
extra : rebase_source : cc5f9f9df84d50c15c82faafb838b94ddf079ce1
2016-05-25 07:41:54 +01:00
Jared Wein 3938b1fcd9 Bug 1268943 - Middle mouse click on links in settings does nothing (should open in new tab). r=gijs
MozReview-Commit-ID: D8okQLio0K8
2016-05-13 09:53:00 -04:00
Jared Wein 1fdc8a4a99 Bug 1271976 - Don't hide audio controls on volumechange. r=gijs
MozReview-Commit-ID: vi2UphjH5m
2016-05-11 13:34:32 -07:00
Jared Wein 5960042c3b Bug 962560 - Audio volume UI resets to full volume after toggling the screen size of a video. r=gijs
MozReview-Commit-ID: HHPOHZQoK50
2016-05-10 08:54:00 -04:00
Carsten "Tomcat" Book 6deb1d00c9 Merge mozilla-central to fx-team 2016-05-10 12:15:50 +02:00
Carsten "Tomcat" Book e07e80ac43 merge mozilla-inbound to mozilla-central a=merge 2016-05-10 12:05:56 +02:00
Markus Stange a91f11e772 Bug 1251987 - Support by-page scroll deltas in XUL scrollboxes. r=Enn
MozReview-Commit-ID: JL0s4Pum5P5

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

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

MozReview-Commit-ID: 5NbmVueocC7

--HG--
extra : rebase_source : 55cd9f3513c0a985580957a5157d47853a8822bf
extra : source : 386b9c750bd2ed458112acd29eb72e4e1371af9d
2016-04-28 19:51:36 +01:00
Gijs Kruitbosch 5807621979 Bug 1241085 - part 1: improve inLoadURI support, r=mconley
MozReview-Commit-ID: 8jTbktXGOA1

--HG--
extra : rebase_source : f3f0e794a44a1d85b49b326953eff1f0a7618075
extra : source : 3c86861912bb0e2a8b7e09d01fb2243461839a58
2016-04-28 18:31:42 +01:00
Gijs Kruitbosch 916b0a33fe Bug 1269238 - allow text-links to use origin principals for link opening checks, r=mikedeboer
MozReview-Commit-ID: HPWxEyNEsps

--HG--
extra : rebase_source : 4fb5f3f3baca236f5507235929d50c249abe3ebd
extra : histedit_source : 69fab5bf3f2859c5c7d208432585db7354f15d53
2016-05-06 10:05:47 +01:00
Marco Bonardo 06932c74d1 Bug 1223728 - Remove the unifiedcomplete pref, the urlinline component and stop bundling the old autocomplete component in Firefox. r=adw
MozReview-Commit-ID: Ee08mDGxBjJ

--HG--
extra : rebase_source : 4473da657f85e443e5095b43b3e774e85292ecd1
extra : amend_source : c9c322ebae255a24c28e6367b9fe93474db21d6d
2016-05-05 00:14:51 +02:00
Wes Kocher 8d8be41d6d Merge m-c to fx-team, a=merge 2016-05-05 14:20:16 -07:00
Gijs Kruitbosch 3dc1902afe Backed out changesets b386e97721cf, 386b9c750bd2, 3c86861912bb (bug 1241085) because the about:newtab URI is now kept across sessions, a=backout-with-approval-from-ryanvm
MozReview-Commit-ID: EVv6M6x9F44

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

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

MozReview-Commit-ID: 5NbmVueocC7

--HG--
extra : rebase_source : f87199c77094c24c132e6c88f751a5b5d5aa62f9
2016-04-28 19:51:36 +01:00
Gijs Kruitbosch 9e0d05598d Bug 1241085 - part 1: improve inLoadURI support, r=mconley
MozReview-Commit-ID: 8jTbktXGOA1

--HG--
extra : rebase_source : 7012d5d4de32587edb7183de14e4a650b5f48e63
2016-04-28 18:31:42 +01:00
Marco Bonardo f68466d5da Bug 907001 - Location bar is slow with long text runs.r=adw
MozReview-Commit-ID: KIfaGfsm26x

--HG--
extra : rebase_source : e38e49e5dc9ef6e5535d515be8354752599c6654
2016-04-28 13:59:24 +02:00
Carsten "Tomcat" Book 92d4b1a25d Backed out changeset 50896498013c (bug 1242874) 2016-04-28 13:59:06 +02:00
Alastor Wu 1bc115c492 Bug 1242874 - part2 : window's suspend attribute. r=ehsan, r=baku
MozReview-Commit-ID: Jw3E8Jdb66J

--HG--
extra : transplant_source : %2C%DF%BE%2A%8B%A6%5B%CA%DD%FAp%01%A8c%FB%9B%B4%017q
2016-04-28 00:21:27 +08:00
Carsten "Tomcat" Book 287246d38d Merge mozilla-central to mozilla-inbound 2016-04-27 13:55:39 +02:00
Yoshi Huang 1f2c27b68e Bug 1263496 - Part 1: fix for @mozilla.org/nullprincipal;1 r=bholley
This fixed the locations listed by
http://searchfox.org/mozilla-central/search?q=@mozilla.org/nullprincipal;1&redirect=true
2016-04-27 18:37:58 +08:00
Drew Willcoxon bf4e9d75e2 Bug 1266375 - Don't remove max-width on awesomebar popup items when the popup is open. r=mak
MozReview-Commit-ID: GttGOvRU6vf
2016-04-26 12:46:42 -07:00
Kris Maglione d78e5a3050 Bug 1238310: Part 5 - Implement the browser.tabs.onZoomChange event. r=gabor f=aswan
MozReview-Commit-ID: JlxSM13SeYg

--HG--
extra : rebase_source : aaa1ac864a0cbcbe22aa7aa694ab0203f8e39d0b
extra : amend_source : 2a8a0081e853d5f2f3975ebee4c3bcb0ee46c2e9
2016-04-01 11:45:01 -07:00
Gijs Kruitbosch a2cc4253f0 Bug 1274533 - change legacy behaviour in observer rather than overwriting key status in data, r=jaws
MozReview-Commit-ID: UZWRYj2Mno

--HG--
extra : rebase_source : d4042eea112cf2fd75995734305833acd3bdfbea
extra : amend_source : 8825de2c1a8e5b88ddf7dd291687ee9e72a6c904
2016-05-20 11:51:20 +01:00
Samael Wang d6e0c31eda Bug 1271240 - Part 1: Support prerender flag in e10s and implement makePrerenderedBrowserActive(). r=smaug
MozReview-Commit-ID: 73E2kmqxRwm

--HG--
extra : rebase_source : 35441f58e15013b00a0774f764378fd5e0143add
2016-05-20 11:36:27 +08:00
Jonathan Kew 790ccce521 Bug 1274658 - Resizer needs to recognize sideways-rl as a "right-to-left" mode for orientation of the icon/cursor. r=dholbert 2016-05-21 12:28:06 +01:00
Drew Willcoxon 53c92864c7 Bug 1265066 - Hide the separator em dash in bookmark keyword awesomebar results. r=mak
MozReview-Commit-ID: DzR62vwXrbW
2016-04-19 09:31:31 -07:00
Carsten "Tomcat" Book 195db91d01 Merge mozilla-central to mozilla-inbound 2016-05-09 11:21:30 +02:00
Gijs Kruitbosch 48ff041a00 Bug 1249362 - initialize remote browser's contentPrincipal to a null principal, r=mconley
MozReview-Commit-ID: 4cglQaTLf7l

--HG--
extra : rebase_source : cf8af9ada1d3ad105cea4ec821e0e76d2d16ac36
2016-05-06 12:19:09 +01:00
Markus Stange 0c0bc85230 Bug 1263975 - XUL scrollbox (e.g. the tab bar) should respond to pixel scrolls by pixel scrolling. r=Enn
MozReview-Commit-ID: FWSBkg9wM7r

--HG--
extra : amend_source : a872853f6801635cb695738658d8ffb0ba26d39b
2016-01-05 18:35:23 +01:00
Alastor Wu 60f0aad68a Bug 1242874 - part2 : window's suspend attribute. r=baku, r=ehsan
MozReview-Commit-ID: 2GZMjsaQWHC

--HG--
extra : rebase_source : 7840bda5c5e7e59d27fede1fce03a6b52760e798
2016-05-03 09:51:22 +08:00
Ian Moody fb6f2b586f Bug 1059146 - Remove broadcast listeners from menulist.xml and always use MutationObservers. r=gijs
MozReview-Commit-ID: QOSUMAEli2

--HG--
extra : transplant_source : %9B%B5%1C%C2%A2R%01%7E%D85%DF%A4%19%F8P%7D%11%A8%5B%04
2016-06-14 21:59:02 +01:00
Ian Moody f584473765 Bug 1059146 - Switch menulist.xml to use MutationObserver instead of Mutation Events. r=gijs
MozReview-Commit-ID: KeQg9AZxisg

--HG--
extra : transplant_source : %8F%20%CA%8F%09%5D%9A%C0V%0FK%9A%DC%C2%5D%C3%C6%7Fu0
2016-06-14 21:13:29 +01:00
Jared Wein dfa38f4e29 Bug 1269333 - Don't assume the height of the first row for all other rows. r=mak
MozReview-Commit-ID: C2BM3odV03m

--HG--
extra : transplant_source : %A0%3B%27o%7F%CD%B1%29%E3%3BR%F6X%231%FE%EC%B2%82%D2
2016-06-09 19:01:31 -04:00
Alastor Wu 5f525bec24 Bug 1013933 - preserve playbackrate across play/pause. r=padenot
MozReview-Commit-ID: KGnh1exMgSw

--HG--
extra : transplant_source : %E8%F4r%9D%B2J%03%C1%AFnwj%5D%26%97%F8Sa%92%DF
2016-04-15 10:33:37 +08:00
Wes Kocher 4f233d527d Merge fx-team to central, a=merge
MozReview-Commit-ID: J70qG3TcPFl
2016-04-15 15:36:39 -07:00
Drew Willcoxon 793fe50f6f Bug 1262588 - Keep favicons in awesomebar popup aligned with urlbar's identity icon. r=mak
MozReview-Commit-ID: Ly3NNgUVcoU
2016-04-15 11:34:35 -07:00
Neil Deakin 801c562047 Bug 1253486, [e10s only] hide select popups when the select element is removed, r=mconley 2016-04-13 13:15:55 -04:00
Carsten "Tomcat" Book 8221e0285d merge mozilla-inbound to mozilla-central a=merge 2016-04-13 11:53:35 +02:00
Wes Kocher 13ee7b9dfd Merge m-c to inbound, a=merge CLOSED TREE
MozReview-Commit-ID: 8m3KF4mqAKl
2016-04-12 15:36:02 -07:00
Drew Willcoxon a12225ccf4 Bug 1263698 - Correctly place the em dash separator between title and URL in awesomebar popup in RTL. r=mak
MozReview-Commit-ID: JiD70fqK9EU
2016-04-12 09:58:14 -07:00
Drew Willcoxon d7a98222bc Bug 1263674 - Fix awesomebar popup truncation in RTL. r=mak
MozReview-Commit-ID: 7mOGrcQPFmn
2016-04-12 09:57:10 -07:00
Blake Kaplan f848e29c72 Bug 1257790 - Don't propagate dragstart for mouse events originating in remote browsers. r=felipe 2016-04-12 12:12:35 -07:00
Ray Lin fc700c757b Bug 1250741 - Update video player to new spec. r=margaret
MozReview-Commit-ID: IKaw00tXwRS
2016-04-10 23:38:00 -04:00
Dave Townsend 6e44ebad84 Bug 1257246: Update toolkit for eslint 2. r=Gijs
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.

MozReview-Commit-ID: KHYdAkRvhVr

--HG--
extra : rebase_source : 720cc9d864175248508146a7f4704b4bf3f02439
extra : histedit_source : 6cc0ecbf21a571e1a41d517b67512a3452fac19a
2016-04-05 11:33:48 -07:00
Drew Willcoxon 6af8be8802 Bug 1262783 - Properly handle overflow/underflow for awesomebar items that are completely reused. r=mak
MozReview-Commit-ID: zyeZCHSHT6
2016-04-07 16:20:32 -07:00
Drew Willcoxon ee27759c39 Bug 1181078 - Implement new awesomebar popup design. r=mak
Based on an earlier patch by Marco Bonardo <mbonardo@mozilla.com>.

MozReview-Commit-ID: 7S0OoTGivbC
2016-04-05 18:56:54 -07:00
Kartikaya Gupta 32d821bacd Bug 1261509 - Guard against an undefined input field during textbox shutdown. r=enndeakin
MozReview-Commit-ID: 5jw6uM1p6T7
2016-04-04 13:46:05 -04:00
Guillaume Maudoux a5815d0014 Bug 1258964 - Part 2 - Make autocomplete emphasize overlapping matches. r=mak 2016-03-31 05:16:00 +02:00
Gijs Kruitbosch a59db0da4f Bug 1236991 - part 2: implement a default tooltiptextprovider in toolkit, r=enndeakin
MozReview-Commit-ID: LqtibkGoDjQ

--HG--
rename : toolkit/content/widgets/popup.xml => toolkit/components/tooltiptext/TooltipTextProvider.js
extra : rebase_source : a5ee0b204ed501871d1f19cbee52a58d5af89c65
extra : histedit_source : 7247b93e1fa7ab1acc72182df7b890c888046e1e
2016-04-12 21:50:47 +01:00
Wes Kocher 0b58db3fc6 Backed out changeset 954189d579d5 (bug 1263975) for failures in test_mousescroll.xul
MozReview-Commit-ID: 9fXzw19FUeb
2016-04-14 11:05:01 -07:00
Markus Stange c13466741d Bug 1263975 - XUL scrollbox (e.g. the tab bar) should respond to pixel scrolls by pixel scrolling. r=enndeakin+6102
MozReview-Commit-ID: 8XgagEVbiQg

--HG--
extra : rebase_source : 86991d5635cdec44ed80186ff0194791fa2a292d
2016-01-05 18:35:23 +01:00
Mike Conley 1cfa3e2fe8 Bug 1254865 - Send init for AutoCompletePopup in async message from the parent. r=Felipe
MozReview-Commit-ID: IZ9f8pTTflF

--HG--
extra : rebase_source : 77d97d6ceec1aac296788a702c96288507608c7d
2016-03-23 14:47:00 -04:00
Mike Conley bf0a9ec961 Bug 1254865 - Don't send disableglobalhistory state down to browser-child.js in sync message. r=Felipe
MozReview-Commit-ID: 7PRr1ia7VbA

--HG--
extra : rebase_source : f8d9d7a6d7f081060b31e543e83b6aa886d067af
2016-03-23 17:27:34 -04:00
Nicholas Nethercote 916e86a26e Bug 1257128 (part 4) - Remove unused nsIAtomService references in toolkit/. r=froydnj. 2016-03-16 21:11:10 +11:00
Mike de Boer dbed6c745f Bug 1253233 - Make preparations to allow testing of remote browser elements in mochitest-chrome tests. r=felipe 2016-03-11 19:27:17 +01:00
Gijs Kruitbosch abe1c0b2f7 Bug 621158 - make appcache use messaging for quota management, r=mayhemer,jaws
MozReview-Commit-ID: GfHbERuzuW8

--HG--
extra : rebase_source : 40e7a841174fb4121afc25e45edf1b10527688e7
2016-03-21 10:22:16 +00:00
Jared Wein 9b52f45b30 Bug 1251809 - Add input[type=file] tooltip support for e10s. r=ehsan
MozReview-Commit-ID: FpwKGrFQNrK
2016-03-16 19:07:51 -04:00
Ting-Yu Chou 92314af9cb Bug 1249226 - Use weak reference to keep popup's previous focus to avoid leak. r=neil
MozReview-Commit-ID: 8VUexyKMbJr
2016-03-09 10:54:04 +08:00
Dão Gottwald 9a66386f92 Bug 1254522 - Make remote-browser.xml and browser.xml not depend on Firefox's browser.js. r=mconley 2016-03-09 02:14:39 +01:00
Dão Gottwald ddc0edabd1 Bug 1253584 - Fix and enable browser_NetworkPrioritizer.js for e10s. r=mconley 2016-03-08 12:16:42 +01:00
Olli Pettay e80ba3add6 Bug 1249439 - xul:browser adds itself as a strong observer to observer service, r=gijs
--HG--
extra : rebase_source : a2b0012e57d9998504986f8b2b6072f199701fef
2016-02-19 20:18:39 +02:00
Carsten "Tomcat" Book 9953166abf Backed out changeset ef81c79f6266 (bug 1249439) 2016-02-19 14:18:22 +01:00
Olli Pettay 26b2647326 Bug 1249439 - xul:browser adds itself as a strong observer to observer service, r=gijs
--HG--
extra : rebase_source : 11f0cfcec615751c97c8632480c32400825ebe25
2016-02-19 13:10:22 +02:00
Xidorn Quan 0671ebf899 Bug 743198 part 8 - Use unprefixed Fullscreen API in chrome code. r=smaug
--HG--
extra : source : a8b39fbf3673e59b0a41db2d748e092a87d4496c
2016-02-17 08:47:11 +08:00
Mike de Boer ffd140607c Bug 1245813: add documentation to explain more about what swapDocShells does and, most importantly, does not do with respect to messageManagers. r=smaug 2016-02-12 13:23:01 +01:00
Kris Maglione 6af71ef16a Bug 1213895: Part 2 - Do not use ellipsis in cropped toolbarbutton badge text. r=bwinton
--HG--
extra : commitid : Gm6XJUXPq0i
extra : rebase_source : 79b214fbf1404361bdc5ee39e7e42e5b8ce463a9
2016-02-08 14:35:55 -08:00
Dave Townsend aad445ae43 Bug 1245649: Enable no-nested-ternary. r=mconley
--HG--
extra : commitid : 197imYXFNid
extra : rebase_source : ce71773fbd8f57118ba30ab395524d9200c42162
2016-02-03 21:17:16 -08:00