Commit Graph

572935 Commits

Author SHA1 Message Date
Paolo Amadini
2b2c71f110 Bug 1421853 - subviewbutton in sidebarMenu-popup does not have checkmark. r=Gijs
Since the sidebar menu is the only element using the small checkbox style, this is re-implemented placing the styles closer to the existing ones that are required for the checkbox to work. Some descendant selectors can be removed in the process.

MozReview-Commit-ID: vcVvvkvNeA

--HG--
extra : rebase_source : 6ff608c31c311688ea7caf37976bb38d977b7875
2017-12-06 14:52:44 +00:00
Lars T Hansen
39c2ea7926 Bug 1421993 - rabaldr, abstract platform-specific registers and clean up ifdefs. r=bbouvier
On most platforms we have some platform-dependent registers that are
used for specific purposes.  These need to be wrapped in the type-safe
register wrappers.  This patch factors that wrapping into a
SpecificRegs struct that is defined per-platform and included in
BaseCompiler.  This moves platform dependencies out of BaseCompiler
and toward the top of the file, where they belong.

Also, I took the opportunity to further clean up some ifdefs and
document how I use JS_64BIT vs JS_PUNBOX64.

MozReview-Commit-ID: F0vOnQp01In

--HG--
extra : rebase_source : 69042aae4b7f6612d5d9e5d6c37327eabafa6d1d
extra : source : 590bd3618081d312f1aceca22680715498a037db
2017-12-01 10:26:29 +01:00
Ya-Chieh Wu
5dffeb8db8 Bug 1405929 - Make sure that we join two BEnd borders when they are on the same rowIndex. r=dbaron
MozReview-Commit-ID: J9q8sUX2MPB
2017-11-30 19:18:00 +02:00
Ioana Crisan
1f9875ccdb Bug 1419390 - Searching for bookmarks from the Bookmarks Sidebar works properly r=adw 2017-12-04 17:38:50 +02:00
Mats Palmgren
2979853676 Bug 1422839 part 4 - Reftest for 'overflow-clip-box' properties. r=test-only 2017-12-04 16:28:00 +02:00
Mats Palmgren
f79683bede Bug 1422839 part 3 - Add internal overflow-clip-box-block/-inline properties and make overflow-clip-box a shorthand (automated devtools update). r=dholbert 2017-12-04 07:11:00 +02:00
Mats Palmgren
f074d7cb7c Bug 1422839 part 2 - Add internal overflow-clip-box-block/-inline properties and make overflow-clip-box a shorthand (Stylo changes). r=emilio 2017-12-05 05:36:00 +02:00
Mats Palmgren
a6f45575c3 Bug 1422839 part 1 - Add internal overflow-clip-box-block/-inline properties and make overflow-clip-box a shorthand. r=dholbert 2017-12-04 16:25:00 +02:00
Noemi Erli
47b9c00fdc Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-12-05 15:52:10 +02:00
Ted Mielczarek
efd8100ef0 bug 1416891 - Open output files in binary mode for GENERATED_FILES. r=nalexander,gps
The script behind GENERATED_FILES currently opens output files in text mode,
which means that they wind up with CRLF line endings on Windows. With
switching updater.ini to use LOCALIZED_GENERATED_FILES, this means that it
will wind up with different line endings than it currently has.

Changing this to use binary format means that we'll have LF line endings
everywhere, which shouldn't harm anything on Windows as most of our generated
files are source files anyway.

MozReview-Commit-ID: 7rTUDtVGL82

--HG--
extra : rebase_source : 53a604c225477ad02e439b7b9ace587aefd0785a
2017-11-30 11:32:29 -05:00
Masatoshi Kimura
0eee3482dc Bug 1071816 - Add a pref to fallback to UTF-8 for files from file: URLs. r=hsivonen
MozReview-Commit-ID: KFjIqYmgzTl

--HG--
extra : rebase_source : 9c8af1c9b488ed945832ab1cb83e11a74e91cd08
2017-11-30 20:55:07 +09:00
tigercosmos
b73dbbfaea servo: Merge #19385 - implement "Date type inputs", "Month type inputs" (from tigercosmos:b1); r=KiChjang
<!-- Please describe your changes on the following line: -->
implement "Date type inputs", "Month type inputs"

---
<!-- 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] `./mach test-unit` does not report any errors

Source-Repo: https://github.com/servo/servo
Source-Revision: 68cefb1b0031c05c7f2f4aa433eb1a21e7863f8f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1cadc19ec7e70ded4bb31329408a5d89311d9919
2017-12-04 19:58:08 -06:00
Alastor Wu
bdd3f2c5da Bug 1421518 - add user-gestures test for the autoplay policy. r=jwwang
Mouse click or keyboard press are the events which could activate the page and allow
the page to autoplay.

Other events are not.

MozReview-Commit-ID: FjhcBSH0mCX

--HG--
extra : rebase_source : 2984791e3de7fa2c3a1e08877f72a2e2f0f53852
2017-12-05 10:50:56 +08:00
Adam Gashlin
95018ae790 Bug 1374338 - Search all ranges to avoid filtering r=mats
MozReview-Commit-ID: uu35565lfP

--HG--
extra : rebase_source : e7f885b58f172998533c73fd8dff3d27d58c6dd6
2017-12-01 14:53:20 -08:00
Ed Lee
fa67d26a4d Bug 1422289 - ContentLinkHandler should guess icon type from the extension when type is not defined. r=mak
MozReview-Commit-ID: HfuqudW77jM

--HG--
extra : rebase_source : bd05319fa3dd8970e1d1e91d8ddcc831f77a1cd4
2017-12-01 14:11:08 -08:00
Hiroyuki Ikezoe
7257be7a76 Bug 1422995 - Use waitForNextFrame() instead of waitForFrame() to make sure the next requestAnimationFrame callback happen. r=birtles
With the conformant Promise handling (bug 1193394) and performing micro task
checkpoint in Animation tick (bug 1416966), if we call waitForFrame() inside
the callback for Animation.ready.then it will still be done in the same refresh
driver's tick.

MozReview-Commit-ID: GQJiDHHUlyD

--HG--
extra : rebase_source : 55813e6c1fc24193e0b4b1c87934debe80d357b5
2017-12-05 09:13:42 +09:00
Masayuki Nakano
af6a1c5d37 Bug 1403759 - part 2: Handle edit/selection commands like insertNewline: in TextInputHandler::HandleCommand() r=m_kato
Let's make TextInputHandler::HandleCommand() handle other
commands which are caused by Backspace, Delete, Tab, ArrowUp,
ArrowDown, ArrowRight, ArrowLeft, PageUp, PageDown, Home, End
and Escape keys with various modifiers.

This patch makes Korean users can do most key operation in
editor even with composing Hangul character.

Note that this patch has a hack for cancelOperation: command.
The command is typically fired for Escape key press.  However,
it's also fired for Command + Period.  Unfortunately, this
behavior is really odd if subclass of NSResponder implements
|void cancelOperation:(id)sender|.  If it's implemented,
Cocoa doesn't call its |void keyDown:(NSEvent)theEvent|.
Instead, it calls only |void doCommandBySelector:(SEL)aSelector|
and |void cancelOperation:(id)sender| when Command + Period is
pressed.  Therefore, we cannot dispatch keydown nor keypress
event for this key combination if we implement it.  Therefore,
this patch doesn't implement the method but handle it in
doCommandBySelector even though the super class of ChildView
cannot handle the command with this path.

MozReview-Commit-ID: 4hS23SiwNJv

--HG--
extra : rebase_source : 38ac1ea494b5f786ecd5c9327efbacd460b59faf
2017-12-02 14:53:10 +09:00
Masayuki Nakano
d7ecd695d3 Bug 1403759 - part 1: Make TextInputHandler::InsertNewline() treat other commands r=m_kato
Currently, we handle insertNewline: of NSResponder with
TextInputHandler::InsertNewline().  However, its
implementation is useful for handling some other
commands.  So, let's rename it to HandleCommand() and
make it take Command as its argument for handling
specific behavior of each command.

MozReview-Commit-ID: GgzQdTlVtYl

--HG--
extra : rebase_source : e1d1c8617897d29eb10ba62708e3549a77c6ee59
2017-12-02 10:46:31 +09:00
Jan-Ivar Bruaroey
4bed737a12 Bug 1422875 - Fix fake constraint to not apply to screensharing (on all platforms but android). r=pehrsons
MozReview-Commit-ID: K35vaNAolEy

--HG--
extra : rebase_source : 53fae5a862320ae6386e52d4163b06bea5c644d1
2017-12-04 11:56:28 -05:00
Jan-Ivar Bruaroey
22aabfd482 Bug 1422875 - Fix fake constraint to not apply to screensharing for media.navigator.permission.device codepath (aka Android) r=pehrsons
MozReview-Commit-ID: L9IIalMuFoC

--HG--
extra : rebase_source : 04842126225b6d96e37eb07c09e23439be552450
2017-12-04 11:25:50 -05:00
Ray Lin
4af930c9a7 Bug 1421641 - Handle event listeners in mozSystemGroup and do full field states reset when clearing populated form. r=lchang
MozReview-Commit-ID: DcYD79LeA4N

--HG--
extra : rebase_source : 0097ae95358b0785ae6db30154c33aa145ba9154
2017-11-30 16:31:44 +08:00
Richard Marti
69d5654bd1 Bug 1422031 - Remove remaining nav-button style parts in extensions. r=rhelmer 2017-11-30 06:56:44 +01:00
Eitan Isaacson
2cc9a52ceb Bug 1421018 - Create accessible client blocklist and add TBNNotifier.exe. r=jimm 2017-12-04 13:20:00 -05:00
manikishan
8752d4637d Bug 1198481 - Fixed typo 'id_pk_serverAuth' to 'id_kp_serverAuth'. r=keeler 2017-12-02 18:03:18 +05:30
Valentin Gosu
2d82c0834f Bug 1422518 - Use LOAD_FLAGS_DISALLOW_INHERIT_PRINCIPAL for meta refresh r=bz
MozReview-Commit-ID: H3hnO3NmHYA
2017-12-05 02:29:41 +01:00
Paul Bone
f61d5a1f45 Bug 1422264 - Don't switch to non-incremental GC mode if it's already non-incremental r=sfink
--HG--
extra : rebase_source : 81e04ff2dcec60ec4bf0625faaaf219cdf24a159
extra : amend_source : 372f79945ff90c6bca96e604771d000cb8332b12
2017-12-04 14:43:18 +11:00
Tooru Fujisawa
3f2d05cb80 Bug 1228841 - Part 3: Remove conditional catch and fix Reflect.parse tests for conditional catch. r=jwalden,evilpie 2017-12-05 09:42:40 +09:00
Tooru Fujisawa
244783eb02 Bug 1228841 - Part 2: Remove testcases specific to conditional catch in js/. r=evilpie 2017-12-05 09:42:40 +09:00
Tooru Fujisawa
1a88626bef Bug 1228841 - Part 1: Remove conditional catch consumers in js/. r=evilpie 2017-12-05 09:42:39 +09:00
Tooru Fujisawa
58c29f374c Bug 1228841 - Part 0: Remove remaining conditional catch consumers in dom/. r=billm 2017-12-05 09:42:37 +09:00
Tooru Fujisawa
a7c1f3ac2d Bug 1397422 - Part 2: Allow autoscrolling on XBL elements. r=jaws 2017-12-05 09:42:36 +09:00
Tooru Fujisawa
52828a4dc8 Bug 1397422 - Part 1: Allow autoscrolling on XUL elements. r=jaws 2017-12-05 09:42:36 +09:00
Sebastian Hengst
d8fb694a01 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-12-05 01:39:06 +02:00
Aaron Klotz
010af8a7d8 Bug 1420276: Backed out changeset 244c97bc16e3 since we don't want to ship this yet; r=backout
--HG--
extra : rebase_source : f7376192a23e85f8850ef5b250e35813ef72e0e3
2017-12-04 15:58:20 -07:00
Bogdan Tara
28f65f2044 Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-12-04 22:47:53 +02:00
Stephen A Pohl
c4a7977565 Bug 1405577: Restore the ability to open new windows in new spaces when a window is already in fullscreen mode on macOS. r=mstange 2017-12-04 15:06:35 -05:00
Stephen A Pohl
b1bd9b5870 Backout 84bcb5742e0c (bug 1405577) to replace with a slimmer patch. r=me 2017-12-04 15:06:26 -05:00
Jeff Muizelaar
644c528356 Bug 1422466. Drop a copy from TextDrawTarget::FillGlyphs. r=Gankro
We try hard to ensure that the glyph buffers are of the same type.
2017-12-04 13:01:55 -05:00
David Major
2b2c246e13 Bug 1422869 - Add "htp" and "htps" to the scheme typo fixup list. r=bz
--HG--
extra : rebase_source : f80cc58b3a71114dbe77edf80aa13be68c13d84c
2017-12-04 12:21:24 -05:00
Aaron Klotz
3263c3ac00 Bug 1414421: Change some diagnostic asserts in mscom to stop firing on dev edition; r=Jamie
MozReview-Commit-ID: JfKevpNIiRT

--HG--
extra : rebase_source : 07b6ccd13b5ee589290b7b9e8069f9db5ceaf132
2017-11-29 14:50:17 -07:00
Jessica Jong
171f326899 Bug 1418020: No need to hide form validation popoup onLocationChange. r=Felipe
We already hide the popup when element blurs, which is fired when navigating to
another page.

MozReview-Commit-ID: 5GvlX1CiOQL
2017-12-04 14:15:28 +08:00
Nicholas Nethercote
3da37cfebe Bug 1421541 - Overhaul the prefs phase code. r=glandium
This code is used to detect too-early accesses of prefs in content processes.

The patch makes the following changes.

- New terminology: "early" prefs are those sent via the command line; "late"
  prefs are those sent via IPC. Previously the former were "init" prefs and the
  latter didn't have a clear name.

- The phase tracking and checking is now almost completely encapsulated within
  Preferences.cpp. The only exposure to outside code is via the
  AreAllPrefsSetInContentProcess() method, which has a single use.

- The number of states tracked drops from 5 to 3. There's no need to track the
  beginning of the pref-setting operations, because we only need to know if
  they've finished. (This also avoids the weirdness where we could transition
  from END_INIT_PREFS back to BEGIN_INIT_PREFS because of the way -intPrefs,
  -boolPrefs and -stringPrefs were parsed separately.)

MozReview-Commit-ID: IVJWiDxdsDV

--HG--
extra : rebase_source : 8cee1dcbd40847bf052ca9e2b759dd550350e5a1
2017-11-30 09:14:32 +11:00
Nicholas Nethercote
fb0851df88 Bug 1421541 - Split Pref::SetValue() in two. r=glandium
The default path and the user path are entirely disjoint, and some of the
arguments only apply to one of the paths, so splitting it into two functions
makes things a bit clearer. The aForceSet arg is also renamed aFromFile.

MozReview-Commit-ID: LYtrwz5JHiN

--HG--
extra : rebase_source : c66c39b0869c0fae6bbecc55f42e0842f5b40f46
2017-11-29 20:55:56 +11:00
Francois Marier
1e487450bd Bug 1421803 - Send ThreatHit requests and telemetry at the right time. r=dimi
The ThreatHit requests were never being sent because SetMatchedInfo() was
called on the channel _after_ calling SendThreatHitReport().

Additionally, the telemetry was sent in OnStartRequest() and so errors
returned in OnStopRequest() would not be caught.

This patch also includes some improvements to the logging of these
requests which can be toggled using:

    MOZ_LOG="UrlClassifierDbService:5,nsChannelClassifier:5"

MozReview-Commit-ID: 9dtRgEPVS3g

--HG--
extra : rebase_source : 6d0e4b745e203a54489ddd479935d008ab9a82d7
2017-11-28 12:10:37 -08:00
Mark Banner
499ca20f31 Bug 1421968 - Enable ESLint rule mozilla/use-services by default, but whitelist it for various directories still to be fixed. r=mossop
MozReview-Commit-ID: KOZWr7FiDQZ

--HG--
extra : rebase_source : 92c9bc236c9043f6ce25cc2ba45264918eb2ac15
2017-11-28 19:24:12 +00:00
Mark Banner
41c7322062 Bug 1421968 - Fix more instances of .getService to use Services.jsm where possible. r=mossop
MozReview-Commit-ID: 2EbsWq7VPrI

--HG--
extra : rebase_source : 4e751a74b641b99b01af0947bf2eeaafb3fe8c62
2017-11-30 12:04:16 +00:00
Emilio Cobos Álvarez
33db0fe1e3 Bug 1420026: Disable this code path for now for permafailure. r=me
It's permafailing devtools/client/webconsole/test/browser_webconsole_bug_595934_message_categories.js |

MozReview-Commit-ID: 2aolifj0asm
2017-12-05 19:59:54 +01:00
Oriol Brufau
04c1b90604 Bug 1417039 - Do not defer loading JSON Viewer. r=Honza
MozReview-Commit-ID: BtnH41N1w8P

--HG--
extra : rebase_source : 7c6e416f9130fbd9bb6deff2bee9a24fc1a937c0
2017-11-28 16:28:21 +01:00
Lars T Hansen
3b440491aa Bug 1421993 - rabaldr, simplify scratch register management. r=bbouvier
The idea here is that on quite a few platforms we will not necessarily
want to use the assembler's ScratchRegisterScope (for any type),
because the assembler uses its scratch registers very actively, as
does rabaldr.  So on those platforms we want our own.  Same on x86,
where there isn't a scratch register.

Anyhow, to make that happen we generalize the scratch register
management here so that it can use the platform's when that is
appropriate (x64 for all, x86 for float registers) and have its own
when that is appropriate (most other platforms).  This is managed with
ifdefs set up in the configuration section.

The net result is fewer, and more easily managed, platform
dependencies.

MozReview-Commit-ID: AOpu7ju4t1c

--HG--
extra : rebase_source : 5d1d4f1f925d61be5e753209f17e5c8b420dcd5f
extra : intermediate-source : 7cea7f8e7d0b5eb0109c431d35c26cdf0ae24330
extra : source : 4a77af46bd0e620076e5b646f752bab9643ea29f
2017-11-28 13:23:39 +01:00
Scott Wu
91fbb20d80 Bug 1420883 - Change setting width to min-width for manage addresses dialog. r=lchang
MozReview-Commit-ID: E1jjtfSdjZs

--HG--
extra : rebase_source : f2e2ddef43f27eb7358cbf5fb153162c54ae925e
2017-11-28 15:21:47 +08:00