Commit Graph

372 Commits

Author SHA1 Message Date
Jonathan Hao
19711b44eb Bug 1342178 - Pass origin attributes to isSecureURI in devtools and browser. r=keeler,past
MozReview-Commit-ID: HIOYH8iUUkO
2017-04-06 15:43:35 +08:00
Andrew McCreight
983412bc96 Bug 1354328 - Lazily load the inline spell checker. r=Felipe
It isn't needed until we create a context menu.

MozReview-Commit-ID: 4kCfq9PzVPV
2017-04-06 15:46:09 -07:00
Andrew McCreight
65abce0f5b Bug 1352522, part 3 - Remove the unused listener for webrtc:StartBrowserSharing. r=florian
MozReview-Commit-ID: 780LNGx1p15
2017-04-06 14:39:02 -07:00
Andrew McCreight
05980148ec Bug 1352522, part 2 - Use a shim for ContentWebRTC message listeners. r=florian
This avoids importing ContentWebRTC.jsm unless webrtc is actually
being used, which reduces memory usage.

MozReview-Commit-ID: GlMo1WIZEFD
2017-03-31 11:19:27 -07:00
Andrew McCreight
d0b676b9b5 Bug 1352522, part 1 - Add ContentWebRTC observers in ContentObservers.js. r=florian
This avoids importing ContentWebRTC.jsm just to register observers
that may never observe anything. Avoiding importing .jsms reduces
memory usage.

ContentObserver.js gets loaded once per content process, so I think
the ._initialized stuff is not needed in the process script.

MozReview-Commit-ID: 5r9L3bfFS0U
2017-04-07 08:48:58 -07:00
Andrew McCreight
be157ecf4d Bug 1353174, part 1 - Turn ContentObservers.jsm into a process script. r=Gijs
This retains the advantage of running only once per process, while
avoiding the per-process overhead of a jsm.

MozReview-Commit-ID: 1N53MvRwUpg
2017-04-04 11:21:48 -07:00
Christoph Kerschbaumer
574344af6e Bug 1344706 - Do not reuse originPrincipal as triggeringPrincipal within utilityOverlay.js. r=gijs 2017-04-03 12:43:01 +02:00
Carsten "Tomcat" Book
4f3ecfe971 Backed out changeset fdb11fbb53cf (bug 1344706) for eslint failure 2017-04-03 11:32:38 +02:00
Christoph Kerschbaumer
9a82733457 Bug 1344706 - Do not reuse originPrincipal as triggeringPrincipal within utilityOverlay.js. r=gijs 2017-04-03 09:58:17 +02:00
Samael Wang
53ab1d1336 Bug 1303838 - Switch to existing target tab when clicking links. r=smaug
Merge "DOMServiceWorkerFocusClient" & "DOMWebNotificationClicked"
to "DOMWindowFocus" event. Utilize the event to switch tab when
loading links to an existing target tab.

MozReview-Commit-ID: Hd1NkVkrJA1
2017-03-23 15:59:01 +08:00
Mark Banner
c465d209d1 Bug 1345991 - SVG Image Elements aren't displayed in the Page Info view media list. r=florian
MozReview-Commit-ID: LlHwl2Kn1Vk
2017-03-20 23:40:44 +01:00
Sebastian Hengst
66cadd0d98 Backed out changeset fd87a4b1a4b5 (bug 1345991) for bustage. r=backout 2017-03-22 15:37:27 +01:00
Mark Banner
b27587b8a0 Bug 1345991 - SVG Image Elements aren't displayed in the Page Info view media list. r=florian
MozReview-Commit-ID: LlHwl2Kn1Vk
2017-03-20 23:40:44 +01:00
Kilik Kuo
6bcf385da9 Bug 1348601 - Carry IsHandlingUserInput information to media listeners in content.js. r=mrbkap
HTMLMediaElement relies on user's interaction to allow playback when media.autoplay.enabled set to false.

MozReview-Commit-ID: IPZdAAKlrjM
2017-03-22 14:12:41 +08:00
Thomas Nguyen
77b3b0ad21 Bug 1345569 - Get blocked info from content when clicking report false deceiptive site from xul browser. r=francois
MozReview-Commit-ID: GXkbjfOrnHX
2017-03-20 14:43:08 +08:00
Luca Greco
7dc975a291 Bug 1190687 - [webext] webNavigation.onCreatedNavigationTarget on new windows/tabs from context menu and user clicks on links. r=kmag
MozReview-Commit-ID: KYVKkVUSOzR
2017-02-24 19:49:38 +01:00
Thomas Nguyen
6ca9c778d6 Bug 1288633 - Add more information when an URL matches Safe Browsing list. r=dragana,francois
MozReview-Commit-ID: 6u0dUOB838F
2017-02-21 09:46:36 +08:00
Mark Banner
0172a32b29 Bug 1338195 - Define a frame-script environment for eslint and use it to clear no-undef issues for known frame script globals. r=mossop
MozReview-Commit-ID: Fcin4InbLK2
2017-02-07 10:52:06 +00:00
Masatoshi Kimura
0c88cf0b57 Bug 1321778 - Remove vestigial RC4 fallback frontend. r=Dolske
MozReview-Commit-ID: G0KF4j2OtyY
2016-11-19 13:45:46 +09:00
Christoph Kerschbaumer
04af1f958e Bug 1331686 - Pass correct triggeringPrincipal for tabs openen through ctrl-click and open link in new tab. r=gijs 2017-01-22 11:47:36 +01:00
Heejong Ahn
d5d185a8c4 Bug 1267229 - Handle wrong system time when kinto clock skew is not available. r=MattN
MozReview-Commit-ID: Ko2Rq6PLfoX
2016-04-28 22:43:56 +02:00
Jared Wein
0ec522d5b6 Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
MozReview-Commit-ID: 6tv0Z06CO4a
2017-01-17 09:48:17 -06:00
Jared Wein
242ab87626 Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Jared Wein
e3149c378f Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd 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
34e228f767 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Nihanth Subramanya
37fcd058b8 Bug 989197 - Reload error pages showing captive portal UI when the portal is freed. r=Gijs
MozReview-Commit-ID: FJLTu5S3d6j
2016-11-21 08:00:14 +05:30
Nihanth Subramanya
11b6dda62f Bug 989197 - Show alternate UI in cert error pages when a captive portal is active. r=Gijs
MozReview-Commit-ID: DnWdwcx8r9S
2016-11-08 16:10:12 +05:30
Jared Wein
ef8b1e86ca Bug 1316870 - Enable no-shadow eslint rule for browser/. r=mossop 2016-11-15 22:58:30 -05:00
Dave Townsend
4e295aa48d Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
MozReview-Commit-ID: 2ZvTiZDHchz
2016-11-11 08:10:51 -08:00
Dave Townsend
12596ced47 Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
MozReview-Commit-ID: HBpjT2uHJaZ
2016-11-10 14:48:04 -08:00
Jared Wein
95578149e8 Bug 1315013 - part 2, remove unnecessary slash-star comments that don't add value and look out of place with the spaced-comment eslint rule. r=mossop
MozReview-Commit-ID: LpP0OeyjqX9
2016-11-03 15:02:07 -04:00
Jared Wein
0c024fa9ca 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
2016-10-24 13:14:19 -04:00
Johann Hofmann
216959733b Bug 1302474 - Add a pref to disable login autofill on insecure forms. r=MattN
MozReview-Commit-ID: Fpz5108WvpR
2016-09-13 12:04:46 +02:00
Matthew Noorenberghe
3dbe67f6c2 Bug 1310049 - Refactor FormLikeFactory to its own module for use by Form Autofill. r=steveck
This introduces LoginFormFactory which wraps FormLikeFactory for use with login-specific contexts.

MozReview-Commit-ID: 6rPz5JOy3Yp
2016-10-18 13:31:09 -07:00
Gijs Kruitbosch
a5f81387b8 Bug 1284395, r=bz,mconley,baku
MozReview-Commit-ID: 1nPyv7G3q7d
2016-09-06 14:19:45 +01:00
Andrea Marchesini
a82c34d5ba Bug 1289832 - ContextMenu should take userContextId from nsILoadContext, r=gijs 2016-09-23 14:12:59 +02:00
Sebastian Hengst
1be73950af Backed out changeset 6036b8acdab5 (bug 1284395) for asserting in ChromeUtils::IsOriginAttributesEqualIgnoringAddonId at nsDocShell.cpp:8007 for Windows debug builds. r=backout 2016-09-19 17:10:09 +02:00
Gijs Kruitbosch
0ab165096f Bug 1284395, r=bz,mconley
MozReview-Commit-ID: 1nPyv7G3q7d
2016-09-06 14:19:45 +01:00
Boris Chiou
79f1500bd8 Bug 1245751 - Part 12: Retrieve href from both None & XLink namespace in Browser & Android. r=Gijs,sebastian
MozReview-Commit-ID: dSyuTRh5MY
2016-07-07 17:07:14 +08:00
Kartikaya Gupta
069c940554 Bug 1298313 - Revert the third patch from bug 1256339 because it broke long-press context menus in non-e10s mode. r=backout
MozReview-Commit-ID: FZEbH0TlY8L
2016-08-29 14:29:57 -04:00
Shane Caraveo
e5626fbd1f Bug 1289549 P2 socialapi remove sidebar and chat, r=florian
MozReview-Commit-ID: JzSDh41IPBu
2016-08-23 15:24:06 -07:00
Jimmy Wang
8c0b848da3 Bug 1109146 - pass isContentWindowPrivate from ContentClick.jsm to utilityOverlay.js for saveURL instead of passing a CPOW initiating content document;r=Felipe
MozReview-Commit-ID: DWRh7ujqdy0
2016-05-11 17:33:09 -04:00
Wes Kocher
53810a3053 Backed out 7 changesets (bug 1289549) for functional UI failures a=backout
Backed out changeset 32ff5490a900 (bug 1289549)
Backed out changeset 0a62241f9774 (bug 1289549)
Backed out changeset b6e3d77671f7 (bug 1289549)
Backed out changeset 506846cb7c35 (bug 1289549)
Backed out changeset efdb25f69c2c (bug 1289549)
Backed out changeset 6f8b50b7a92a (bug 1289549)
Backed out changeset 1c61346368e5 (bug 1289549)
2016-08-17 09:18:14 -07:00
Shane Caraveo
a0f90b1c3e Bug 1289549 P2 socialapi remove sidebar and chat, r=florian
MozReview-Commit-ID: GUqJRtp4QlJ
2016-08-16 14:34:06 -07: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
4518d81cb5 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
2016-08-04 03:28:58 -04:00
Jared Wein
ebf1ccbe46 Bug 1291855 - Enable the no-else-return rule for eslint. r=Felipe,kmag,mossop
MozReview-Commit-ID: DYOmE6xwMJh
2016-08-03 18:54:59 -04:00
Mike Conley
d0d68e5772 Bug 1200524 - Use Blob URLs instead of Data URLs for saving media from the content process. r=Felipe
Data URLs were fine for smaller pieces of media, but for large media, we'd quickly
max out the message size limit, and that'd result in a failure to even show the
save dialog.

With Blob URLs, we can refer to large media using a unique identifier that
is easy to pass around, and works from content to parent process.

MozReview-Commit-ID: Gooi1YIqrEM
2016-07-27 16:32:01 -04:00
Pushpankar
77a14e357c Bug 1286854 - Replace ownerDocument.defaultView with ownerGlobal in browser/. r=dao 2016-07-16 10:20:04 +02:00