Commit Graph

577153 Commits

Author SHA1 Message Date
Tim Huang
98af9c6f96 Bug 1222285 - Part 2: Making the keyboard events of modifier keys been suppressed when 'privacy.resistFingerprinting' is true. r=arthuredelstein,masayuki
This patch makes 'Shift', 'Alt', 'Contorl' and 'AltGraph' been suppressed for content
when fingerprinting resistance is enabled. Chrome can still get these events.

The reason behind this is that websites can still observe key combinations to
tell which keyboard layout is using even we spoof the keyboardEvent.code,
keyboardEvent.keyCode and modifier states. For example, the AZERTY France
keyboard, the digit keys of it requires the user press the Shift key. So, it is
easy to differentiate AZERTY and QWERTY keyboard by observing whether a Shift key
generates its own before the digit keys. There are similar issues for 'Alt' and
'AltGraph' as well.

MozReview-Commit-ID: 3CwCgvey4lK

--HG--
extra : rebase_source : 225a34ab188f6cca288a6c0e9874261df7db629f
2017-08-31 11:14:14 +08:00
Tim Huang
8933d9d799 Bug 1222285 - Part 1: Spoofing the keyboard event to mimc a certain keyboard layout according to the content-language of the document when 'privacy.resistFingerprinting' is true. r=arthuredelstein,masayuki,smaug
This patch makes Firefox to spoof keyboardEvent.code, keyboardEvent.keycode and
modifier states, for 'Shift', 'Alt', 'Control' and 'AltGraph', when 'privacy.resistFingerprinting'
is true. Firefox will spoof keyboard events as a certain keyboard layout according
to the content language of the document, for example, we use US English keyboard for
English content. Right now, it only supports English contents, we will add more
support for more languages later. The spoofing only affects content, chrome
can still see real keyboard events.

MozReview-Commit-ID: 40JPvwLmMMB

--HG--
extra : rebase_source : 870224ba4f87b3e336c5b061ac6859dd1c48c4f2
2017-08-29 11:33:27 +08:00
Gregory Szorc
0ec82b74be Bug 1429342 - Ignore mach file-info arguments that don't resolve to paths; r=froydnj
Without this, e.g. `mach file-info bugzilla-component build/does-not-exist`
reports the bug component is `Core :: Build Config`. Because paths
in CI have `build/` prefixes, people were typing `build/` paths into
`mach file-info` and reporting bugs against `Core :: Build Config`.

MozReview-Commit-ID: 8Zp6cnuw0Sh

--HG--
extra : rebase_source : 0b0e3d3247dc00681f62c5d43f8a1535f9f04738
2018-01-16 16:40:30 -08:00
Brindusan Cristian
5b9b45cdbc Backed out changeset 21f6b322e9a2 (bug 1430660) for build bustage on webrender_bindings/RenderThread.cpp(475) on a CLOSED TREE 2018-01-17 16:21:15 +02:00
Mark Banner
3ba43e1afa Bug 1431021 - Remove unused isContentFrame from contentAreaUtils.js. r=florian
MozReview-Commit-ID: GE8b3YPR0ZO

--HG--
extra : rebase_source : 5a6c0b812bc38ff960fe810e4939cc9c0f7e7b35
2018-01-17 09:13:43 +00:00
Vikas Mahato
4ef27c8240 Bug 1430739 - Remove the wizard-box class r=dao
MozReview-Commit-ID: 3q3TJTIHTxc

--HG--
extra : rebase_source : e12f64fba6ab7a2f6fd46a953be57636a95d0de8
2018-01-17 18:20:09 +05:30
Kartikaya Gupta
e8bef6adc6 Bug 1430660 - Move the APZ update of scroll layer positions into a transaction. r=nical
MozReview-Commit-ID: 4fd3FM1K9T3

--HG--
extra : rebase_source : 94235d274a8c4cde254fa73e8eef7a3b34ff59da
2018-01-16 15:33:34 -05:00
Dão Gottwald
ee0622c4a2 Bug 1430872 - remove tab-view-deck and browser-panel. r=Gijs
MozReview-Commit-ID: P3YLheeQmK

--HG--
extra : rebase_source : 30661629c4314986d0c88518c075d4316076a778
2018-01-16 21:04:13 +01:00
Mark Banner
a61df67bf8 Bug 1422720 - Remove unused functions from globalOverlay.js (goSetMenuValue, goSetAccessKey, goOnEvent, setTooltipText). r=florian
MozReview-Commit-ID: IVmDb34wxdi

--HG--
extra : rebase_source : d21ac0c960ac075e61bbc98f3d9afbb60c470311
2018-01-16 23:16:39 +00:00
Gijs Kruitbosch
0c0f570f0e Bug 1430964 - ignore firefoxurl commandline junk no matter its case, r=florian
MozReview-Commit-ID: KfqkF7fctuE

--HG--
extra : rebase_source : 43dd110318ddcb1ac1b39217a1b8780010e03b43
2018-01-17 11:14:37 +00:00
Ian Moody
bb3deeb94e Bug 1430209 - Improve styling of app menu notifications. r=Gijs
Fixes a couple polish issues with notification styling:
* No border between addon notifications and the sync menuitem
* Not enough space between notifications and sync menuitem

Also fixes the Zoom and Edit menuitems being shorter than other menuitems.

MozReview-Commit-ID: 39Wzkz3gz8M

--HG--
extra : rebase_source : 51149a4cd7667aa888d0083dd83203ef3d192b9e
2018-01-12 01:00:33 +00:00
Ian Moody
21c85fbf73 Bug 1426833 - Update Fx logos in Pocket extension to Photon versions. r=Gijs
MozReview-Commit-ID: FqIkd498ull

--HG--
extra : rebase_source : 07ebf69245921885a904d5c9f7ac73de86c7ee1a
2017-12-20 00:50:06 +00:00
tigercosmos
1042e31cd8 servo: Merge #19761 - implement range input sanitization (from tigercosmos:m1); r=KiChjang
<!-- Please describe your changes on the following line: -->
implement range input sanitation.
Since there is no `min`, `max`, `step` implementation currently, this should be continued in the future.

r? KiChjang

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #19172 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 4f099876116c91173a104e32dfcfc32a6d644155

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 073261e7bcf548ce44007e254cefa72ffa13903e
2018-01-17 04:30:58 -06:00
Marco Bonardo
f57e67649a Bug 1416305 - Copying a search suggestion from the address bar gives back an http url. r=adw
MozReview-Commit-ID: DBfZvVOxmzE

--HG--
extra : rebase_source : 2b88998435efee64957850ee6baeb400499c88ef
2018-01-16 12:23:09 +01:00
David Teller
0fcc54d32d Bug 1426478 - Adding license boilerplate to binjs source files;r=Yoric
MozReview-Commit-ID: AgnQYupddDY

--HG--
extra : rebase_source : 942e9b219287bd59a8d84b6ac4966c3c9a52fa42
2018-01-17 11:42:10 +01:00
Ray Lin
9d347c5da8 Bug 1429718 - Reset AutocompleteController state every startSearch for formautofill to prevent any result being cached. r=lchang
MozReview-Commit-ID: HSOSsdbaH0b

--HG--
extra : rebase_source : 8e0e08361a97190cc4b1717041affce4312f9a33
2018-01-16 18:23:53 +08:00
Cosmin Sabou
75435dc3b2 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-01-17 11:49:21 +02:00
Cosmin Sabou
1f9b4f0f06 Merge inbound to mozilla-central. a=merge 2018-01-17 11:46:53 +02:00
Nevin Chen
aa00d3ebba Bug 1430731 - Close WebAppActivity after fallback to Fennec. ?maliu r=maliu
MozReview-Commit-ID: 6Nf5PzxJS0X

--HG--
extra : rebase_source : 1bc3f8c4b965babc07f3d63f19af35814caa05aa
2018-01-16 17:00:57 +08:00
Jan Odvarko
b8ea144988 Bug 1427718 - Display multiple headers with the same name; r=rickychien
MozReview-Commit-ID: 2nV51xLyCni

--HG--
extra : rebase_source : c5d368d84ce4766fe40e4b750441e1d4474db504
2018-01-17 09:56:09 +01:00
Narcis Beleuzu
ba2bcb9d99 Backed out changeset 9029eac178ab (bug 1421213) for devtools failures on /browser_webconsole_hpkp_invalid-headers.js. on a CLOSED TREE 2018-01-17 11:16:50 +02:00
Hiroyuki Ikezoe
9e4a4577fd Bug 1430924 - Create animation event struct directly. r=boris
We don't need to create AnimationEventParams, we can direcly create
AnimationEventInfo array and move it to dispatcher.

MozReview-Commit-ID: BCzKGAV8VTw

--HG--
extra : rebase_source : f668b27bacb0c929de5b997b5428c3c75e5a8474
2018-01-17 08:13:01 +09:00
Hiroyuki Ikezoe
5b7a247462 Bug 1430924 - Queue a bunch of animation events at once. r=boris
MozReview-Commit-ID: BjRjohOFA7V

--HG--
extra : rebase_source : c235d5394f1a724913415f170aab194564443316
2018-01-17 08:13:01 +09:00
Hiroyuki Ikezoe
089161c4d1 Bug 1430924 - AnimationEventInfo and TransitionEventInfo take NonOwningAnimationTarget instead of Element and CSSPseudoElementType pair. r=boris
MozReview-Commit-ID: HYN9AWuyjem

--HG--
extra : rebase_source : 3d63272c2ff62a82ccde641a6765ed2faf4d28f9
2018-01-17 08:13:01 +09:00
Hiroyuki Ikezoe
906b83a978 Bug 1430924 - Move mEventDispatcher in nsAnimationManager and nsTransitionManager into the common template class. r=boris
DispatchEvents() couldn't be moved since the function holds a reference of
nsAnimationManager or nsTransitionManager, but the common template class
is not ref-countable.

MozReview-Commit-ID: FfiJtzSZWn

--HG--
extra : rebase_source : 30d1cdcebf8e06696f28ba5c0968a90797976f06
2018-01-17 08:13:01 +09:00
Tom Prince
c0451f64eb Bug 1430823: Correctly link to source kind in task metadata; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D399

--HG--
extra : rebase_source : 0695454c8cfc3f60b2c48995eafa466767e0b5f4
extra : histedit_source : c5a5ac4400824320c5dbb6c2b6de596ce9703058
2018-01-16 00:29:30 -07:00
Tom Prince
306bf603dd Bug 1410255: Factor out determination of try to helper function; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D398

--HG--
extra : rebase_source : c055ab0e34c2d82c575521383ffc9ba084631f45
extra : histedit_source : df2f206225094eb2ca4d381f379e9ffbae3b3909
2018-01-16 00:15:59 -07:00
Matthew Gregan
a07a7821f7 Bug 1425788 - Disable AudioIPC on macOS while investigating fallout. r=kamidphish 2018-01-17 16:38:02 +13:00
Bevis Tseng
0108bf8272 Bug 1428253 - Resume the test at next tick after the resolve of openTabSelectedPromise. r=:Gijs.
With the conformant promising scheduling, the promise callback can be performed
eariler at the returning from a event listener if possible instead of the end
of current task.

The resolving of "selected" change of the openedTab becomes part of the process
of RemotePrompt.openTabPrompt() where the 'DOMWillOpenModalDialog' event is fired.

We should resume the test at next tick to ensure that the openTabPrompt() is
done before removing the openedTab.
2018-01-16 14:04:36 +08:00
Matthew Gregan
81fcb1157e Bug 1430870 - Avoid static ctors in AudioIPC startup code. r=kamidphish 2018-01-17 15:51:29 +13:00
Matthew Gregan
424057b335 Bug 1426867 - Init AudioIPC even earlier. r=kamidphish 2018-01-17 15:51:28 +13:00
Matthew Gregan
486ece9438 Bug 1426867 - Move private functions out of CubebUtils.h. r=kamidphish 2018-01-17 15:51:28 +13:00
Jeff Gilbert
08ae128863 Bug 1429754 - Update test failures.
MozReview-Commit-ID: IrYeC06gNFb
2018-01-16 16:46:43 -08:00
sotaro
952e915b38 Bug 1430694 - Check if RenderCompositor is created r=nical 2018-01-17 09:25:31 +09:00
Aki Sasaki
0be9df7004 bug 1430353 - allow for an easier to read treeherder relpro symbol. r=bstack 2018-01-16 15:12:31 -08:00
Matt Woodrow
b654a30f82 Bug 1420737 - Fix merge algorithm to handle more complex z-index changes. r=mstange
--HG--
extra : rebase_source : 2cef89d230348204bc08af071d57109097865417
2018-01-17 12:07:42 +13:00
Matt Woodrow
dfb1aaac57 Bug 1421345 - Check the canary during allocations. r=jet
--HG--
extra : rebase_source : c5b0710a9cbb07d6024a69fe238d29d0bf1747c5
2018-01-17 12:07:34 +13:00
Matt Woodrow
89bf796c70 Bug 1429078 - Handle the case where the subdoc view doesn't have a frame. r=miko
--HG--
extra : rebase_source : badce58f07f66a7a0146f51792463c08a75506f1
2018-01-17 12:04:51 +13:00
Jeff Gilbert
d9815e3cac Bug 1429754 - Trust the driver about floating point support. - r=daoshengmu
Remove the probe, and remove the cached value check.
Also remove dead code which relies on this sometimes-clamping glGet query.

MozReview-Commit-ID: JA1VgH8fLRB
2018-01-16 15:06:49 -08:00
grenewode
cc1dd65f18 Bug 1420733 - Adds support for skipping a configuration and correctly handling other exceptions. r=jaws.
MozReview-Commit-ID: FlvEw5I4bFn

--HG--
extra : rebase_source : 6176970fb654f07015a418f4b1f16324448e820a
2018-01-16 12:35:27 -08:00
Kartikaya Gupta
d1c5b77efc Bug 1429957 - Move searchfox indexing job from win32 to win64. r=rillian,dustin,chmanchester
MozReview-Commit-ID: J4TkzTHBWkJ

--HG--
rename : browser/config/mozconfigs/win32/debug-searchfox => browser/config/mozconfigs/win64/debug-searchfox
2018-01-16 16:45:51 -05:00
abhinav
3b4ce6bd81 Bug 1421213 - Clicking on the request status code should open the corresponding MDN page. r=nchevobbe
MozReview-Commit-ID: JlU7pJiZ689

--HG--
extra : rebase_source : b5ecdb6868e33759e75efa75511df39951cc9940
2018-01-16 07:14:43 +05:30
Jonathan Watt
e04dd6678d Bug 1430682 - Use OwningNonNull for nsPagePrintTimer::mDocViewerPrint and remove null checks. r=bobowen
MozReview-Commit-ID: 5CPaYTA2PrC
2018-01-09 22:21:53 +00:00
Jonathan Watt
706256a2cc Bug 1430687 - Move the mDestroyBlockedCount early return in nsDocumentViewer::Destroy to the top. r=bobowen
MozReview-Commit-ID: Exe0hIFHK8z
2018-01-09 12:47:20 +00:00
Jonathan Watt
d75df097a4 Bug 1430686 - Rename the document viewer "DestroyRefCount" member and methods. r=bobowen
MozReview-Commit-ID: KGUJXOKEQjV
2018-01-08 16:59:31 +00:00
Jonathan Watt
7085690980 Bug 1430683 - Remove nsPrintData::mOrigDCScale. r=bobowen
MozReview-Commit-ID: 3iUiCuiVBei
2018-01-08 11:43:16 +00:00
Jonathan Watt
a9cf608630 Bug 1430689 - Make ReturnToGalleyPresentation non-virtual. r=bobowen
MozReview-Commit-ID: J3dZuZfDXFd
2018-01-05 12:47:20 +00:00
Boris Zbarsky
470a97f6d7 Bug 1429014. Make test_interfaces require explicit opt-in to add a non-SecureContext interface. r=bkelly
The big data tables had the following search-and-replaces done on them:

  name: "\([^"]+\)" -> name: "\1", insecureContext: true

  "\([^"]+\)",$ -> {name: "\1", insecureContext: true},

followed by removal of both isSecureContext and insecureContext annotations
where both appeared.

MozReview-Commit-ID: BkqAwXFf48x
2018-01-16 14:39:58 -05:00
Jason Laster
c90f8338b2 Bug 1429908 - Update Debugger Frontend v9.0. r=jdescottes
MozReview-Commit-ID: 29R66GxBFmY

--HG--
extra : rebase_source : 29b5cec443308fc610769cd80fca060c712ccc22
2018-01-15 18:52:22 +01:00
Nika Layzell
793a39c213 Bug 1424766 - Simplify HangStack and HangDetails by implementing using ipdl structs and unions, r=froydnj
MozReview-Commit-ID: qlBUnvYams
2018-01-16 14:07:38 -05:00