Commit Graph

1716 Commits

Author SHA1 Message Date
Mike de Boer
a3b7f0ffe0 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: IgPlFro1bg9
2016-09-07 12:03:45 +02:00
Rutuja Surve
84320f02a5 Bug 1255843 - Add process memory reporting tool to about:performance. r=mconley
MozReview-Commit-ID: EHCkl6G3bTT
2016-09-02 00:21:00 -04:00
Johann Hofmann
8d04ffdfab Bug 1291642 - Part 1 - Add an optional checkbox to PopupNotifications. r=paolo
MozReview-Commit-ID: 9wzV6kNt5pV
2016-09-06 18:36:23 +02:00
Eric Rahm
604dde28cd Bug 1299596 - Handle failure to remove event listener in ChromeMessagePort.destroy. r=mconley
It's possible this._browser is already a dead wrapper when trying to
unregister the event listener. In that case we can carry on with destruction.
2016-09-06 10:33:55 -07:00
Carsten "Tomcat" Book
af93a0ab46 Merge mozilla-central to mozilla-inbound 2017-02-10 14:27:13 +01:00
Paolo Amadini
2954049574 Bug 1328304 - Hide notifications when the address bar has focus and the URL is being edited. r=johannh
MozReview-Commit-ID: 5GhCsA9Gi3f
2017-02-10 13:16:02 +00:00
Mike Conley
fe6ec6ce4d Backed out changeset 5ad925dd2e4e for epic build bustage.
MozReview-Commit-ID: 2TwkxThgvV4
2016-09-02 02:21:39 -04:00
Rutuja Surve
7518fe9b91 Bug 1255843 - Add process memory reporting tool to about:performance. r=mconley
MozReview-Commit-ID: EHCkl6G3bTT
2016-09-02 00:21:00 -04:00
Ryan VanderMeulen
7d1343ed37 Merge fx-team to m-c. a=merge 2016-09-01 11:48:45 -04:00
Ryan VanderMeulen
3c04fc1fa0 Merge m-c to fx-team. a=merge 2016-08-31 22:37:49 -04:00
Jared Wein
05088cc7cb Bug 336290 - remove --enable-safe-browsing from configure since its used everywhere. r=gcp
MozReview-Commit-ID: Duwu5vZOhtF
2016-08-31 19:28:29 -04:00
Aryeh Gregor
fd7d844ea6 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
Mike de Boer
2a719bd83c Bug 1280149 - rework and fix the positioning for range rects to work better with iframes and try better to not draw rects that are not visible from the top document. This basically means to leverage the Geometry.jsm API more and better. r=jaws
MozReview-Commit-ID: Kdr5FWzhxM4
2016-08-31 09:59:56 +02:00
Mike de Boer
db659f682d Bug 1298438 - add modal highlighting stylesheet to each document, not only for each window. r=jaws
The reason this works is because the window object stays the same between location
changes, but the document object changes.
Since stylesheets are applied to documents, not windows, we need to make sure to
inject a stylesheet for each document, otherwise the find toolbar highlights will
look unstyled and wonky.
In bug 1279695 I made a change - to make tests pass and patch landable - to keep
track of all the things (state, mainly range sets) mapped to window objects, because
I hadn't thought of the fact that the content scripts and JSMs that are loaded in
its scope will see many different window objects. As many as there are tabs open,
actually (not counting frames).
The mistake I made there was to keep track of the state flag 'did I already install
the stylesheet?' on a per-window basis, unlike I did before. This patch corrects
this back to the way it was and should be, really.

MozReview-Commit-ID: 2t0mer2s10x
2016-08-31 09:53:35 +02:00
Mike de Boer
297803e586 Bug 1296822 - ignore the scrollbar size when nsIDOMWindowUtils.getRootBounds is used when fetching the page size for the findbar. r=jaws
MozReview-Commit-ID: 8chEDzgNVsL
2016-08-27 11:43:09 +02:00
Mike de Boer
43551d2fa3 Bug 1298435 - upon browser window resize, update all the rects we track for each range we found and correctly reposition all oulines atop the mask. r=jaws
MozReview-Commit-ID: 46q0hVxfczW
2016-08-30 13:25:58 +02:00
Wes Kocher
b99cb85e83 Merge m-c to autoland, a=merge 2016-08-29 17:57:01 -07:00
Mike de Boer
a20c2bde64 Bug 1295759 - make sure selected ranges in iframes are cleared when the findbar is hidden as well. Adds a test to guard against regressions. r=jaws
MozReview-Commit-ID: 5rudNSNK8GK
2016-08-29 16:22:29 +02:00
Mike de Boer
cde795d884 Bug 1298323 - do not destroy the Finder instance when only a single window closes in e10s mode, because that render the findbar useless. r=jaws
MozReview-Commit-ID: 4kxdba41n8k
2016-08-26 10:07:54 +02:00
Mike de Boer
6894be27a5 Bug 1279695 - update the position of ranges that are inside fixed, sticky positioned container nodes or frameset or iframe at each repaint or scroll. r=jaws
MozReview-Commit-ID: J8YK1s2kArq
2016-08-25 20:11:46 +02:00
Mike de Boer
7e1c629660 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
79935a96ec Merge inbound to m-c. a=merge 2016-08-25 08:10:52 -04:00
Yura Zenevich
714b64224b Bug 1297456 - use nsIXULRuntime's accessibilityEnabled attribute in Troubleshoot.jsm to check if accessibility service is enabled. r=Felipe
MozReview-Commit-ID: C5YPq58yemB
2016-08-24 11:09:55 -04:00
Benjamin Smedberg
b348ca0c0f Bug 1294529 - Wrap .getContext in a try/catch block so that if it throws it doesn't break the rest of about:support, r=jrmuizel
MozReview-Commit-ID: 9OGrjbRdBqr
2016-08-18 14:10:47 -04:00
Ryan VanderMeulen
3855123e33 Merge m-c to inbound. a=merge 2016-08-29 12:56:19 -04:00
Neil Deakin
48a29e9528 Bug 1297909, improve handling when option elements are hidden inside a select, r=mconley 2016-08-29 12:34:45 -04:00
Kris Maglione
3d244b2d86 Bug 1295867: Wait for all IO operations to complete before ending test tasks. r=aswan
MozReview-Commit-ID: A6DIpXE5M1R
2016-08-20 15:32:42 -07:00
Sebastian Hengst
124588ed8c Backed out changeset 64fc57e6ee84 (bug 1295867) for windows xpcshell failure test_native_messaging.js | test_native_app_shutdown. r=backout 2016-08-21 23:50:36 +02:00
Kris Maglione
645b0f8957 Bug 1295867: Wait for all IO operations to complete before ending test tasks. r=aswan
MozReview-Commit-ID: A6DIpXE5M1R
2016-08-20 15:32:42 -07:00
Mike de Boer
c9a9a89a4c Bug 1282070 - repaint the modal highlight mask when the page resizes or changes size due to added/ removed content. r=jaws
MozReview-Commit-ID: 1j0C0BUfT8r
2016-08-19 17:18:41 +02:00
Andrea Marchesini
5f8dfa9ba6 Bug 790919 - Don't dispatch close event in Workers, r=bkelly 2016-08-31 21:33:05 -07:00
Wes Kocher
41af310505 Merge fx-team to central, a=merge 2016-08-17 16:53:20 -07:00
Wes Kocher
2cd257334f Merge m-c to fx-team, a=merge
a=release for the webidl hook due to comment-only changes
2016-08-16 22:09:34 -07:00
Wes Kocher
bb9e0744e6 Merge inbound to central, a=merge
a=release to get around the webidl hook for a comment-only change
2016-08-16 17:05:30 -07:00
Sebastian Hengst
850eb0c175 Backed out changeset bc160abe215b (bug 1282070) for docshell leakage in browser_visibleFindSelection.js. r=backout 2016-08-16 16:05:45 +02:00
Jared Wein
6de548d828 Bug 1294542 - Enable the block-spacing rule for eslint. r=felipe
MozReview-Commit-ID: GDfvwWRLNm5
2016-08-16 21:27:37 -04:00
Sebastian Hengst
c0e4d28a3a Backed out changeset 7914e9dc6f88 (bug 1294542) for xpcshell failure in test_Log.js. r=backout 2016-08-17 01:24:58 +02:00
Jared Wein
8860cdf2c1 Bug 1294547 - Enable the comma-spacing rule for eslint. r=felipe
MozReview-Commit-ID: RCSDEvvk2I
2016-08-16 15:44:15 -04:00
Jared Wein
3df021ec2e Bug 1294542 - Enable the block-spacing rule for eslint. r=felipe
MozReview-Commit-ID: AAXqh63QNv3
2016-08-16 15:44:13 -04:00
Wes Kocher
f0be1004da Backed out changeset af4cc6c04573 (bug 1282070) for failures in test_bug263683.xul CLOSED TREE 2016-08-16 11:58:33 -07:00
Mike de Boer
6ce8b34ce5 Bug 1282070 - repaint the modal highlight mask when the page resizes or changes size due to added/ removed content. r=jaws
MozReview-Commit-ID: JrTOarWMEQQ
2016-08-16 18:01:19 +02:00
Mike de Boer
831853c0e4 Bug 1282070 - repaint the modal highlight mask when the page resizes or changes size due to added/ removed content. r=jaws
MozReview-Commit-ID: JKzUehP4pyP
2016-08-16 12:16:29 +02:00
Mike de Boer
858aad5164 Bug 1294644 - prevent drawing the rectangles all too often when modal highlighting is off and make sure to restore the outline of found links and the highlight color of the currentle highlighted occurrence. r=jaws
Many thanks to Tooru Fujisawa [:arai] for helping write this patch and testing it.

MozReview-Commit-ID: BxAd3WdqUXU
2016-08-16 11:25:56 +02:00
Wes Kocher
884240f673 Merge fx-team to central, a=merge 2016-08-15 14:49:11 -07:00
Wes Kocher
e0a7ec2f84 Merge m-c to fx-team a=merge 2016-08-12 16:39:13 -07:00
Jared Wein
99638e1465 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
7b4c22ac1c Bug 1294989 - Enable eslint for browser/components/preferences. r=Gijs
MozReview-Commit-ID: 62ymdZhluHx
2016-08-13 21:58:42 -04:00
Neil Deakin
8d98cf770e Bug 1249177, close select popup when fullscreen is entered or exited, r=mconley 2016-08-11 10:37:00 -04:00
Bob Owen
6aa927d85d Bug 1259601: Add content process sandbox level to about:support sandboxing information. r=jld, r=mossop
MozReview-Commit-ID: HFRiEbkEztp
2016-08-16 07:40:43 +01:00
Towkir Ahmed
e82c9583ae Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske
a=release to get around a hook that's catching these comment-only idl changes
2016-08-15 17:28:05 -07:00