Commit Graph

582369 Commits

Author SHA1 Message Date
Jason Orendorff
a48654929c Bug 1439665 - Part 1: #include some headers directly in files that use them. r=sfink.
"Include what you use."

--HG--
extra : rebase_source : 2239a380029e0efbc9dd3042459222a67c38d70f
extra : amend_source : 4453c32cc469caa592049167205666997f1a1e7b
extra : histedit_source : a533edd4a4d3d0642b08989e93674661d27baa6a%2C37d27eeef9580381ccc0de8507f60166dabf1730
2018-02-20 11:28:12 -06:00
Jason Orendorff
aa8ea61011 Bug 1439663 - Remove declarations that are redundant with vm/JSAtom.h. r=jandem.
--HG--
extra : rebase_source : b5d7883ff13f50ef546a80ffe8521d12f6f6414b
extra : amend_source : 75e89d6b6b97f045fce5904215c7c4d40d8479c7
extra : histedit_source : 73a269e7240f81250aa33ec41fdb9581b93ca188
2018-02-16 16:56:19 -06:00
Jason Orendorff
d07bbcafa1 Bug 1439626 - Remove js/public/LegacyIntTypes.h. r=Waldo.
--HG--
extra : rebase_source : 6b63992919109ab8940ae5e4df840b23fd8501e3
2018-02-20 09:39:39 -06:00
Ben Kelly
4f6986d012 Bug 1438541 P4 De-duplicate code in DOMEventTargetHelper::BindToOwner() methods. r=smaug 2018-02-21 10:53:53 -08:00
Ben Kelly
36e56dbf7e Bug 1438541 P3 Allow nsIGlobalObject::ForEachEventTargetObject() callback function to abort iteration. r=smaug 2018-02-21 10:53:53 -08:00
Ben Kelly
deec3fa995 Bug 1438541 P2 Make nsIGlobalObject::GetOrCreateServiceWorker() use the DOMEventTargetHelper list stored on the global. r=smaug 2018-02-21 10:53:52 -08:00
Ben Kelly
f696313a4a Bug 1438541 P1 Track DOMEventTargetHelper objects in the nsIGlobalObject base class and always call DisconnectFromOwner() on them. r=smaug 2018-02-21 10:53:22 -08:00
Byron Campen [:bwc]
7eeb085a3b Bug 1290949: Test that removeTrack does not remove the associated sender. r=jib
MozReview-Commit-ID: ERg48fO9i6b

--HG--
extra : rebase_source : 0e2944e0c30a2811be3d198f8b6a7bd36d53692e
2018-02-16 13:28:25 -06:00
Jan Horak
582ba80b0a Bug 1431337 - Skip hidpi test of startup images because they overflow in Linux r=stransky
MozReview-Commit-ID: Ldu9evdGiWf

--HG--
extra : rebase_source : d4df4d0bb4f48508ded10f3b4ae34bc9f831ab56
2018-02-20 11:13:04 +01:00
Gijs Kruitbosch
582b8ef5c5 Bug 1438180 - don't update the url bar search suggestions pref directly, r=jaws,f=myk
In search.js, _updateSuggestionCheckboxes is already hooked up to update this checkbox
based on the preference value, including change handlers for when it changes. As a result,
having both the preference attribute and the 'manual' JS means that the actual checked and
disabled state races with which code sets the value first.

The search suggestion order preference already doesn't have a preference attribute and is
only ever updated via the JS. It seems sensible to do the same here.

MozReview-Commit-ID: Cm8evlembt7

--HG--
extra : rebase_source : 41a55211c08c911ac234ea3cbe004391d86e4a3b
2018-02-16 17:30:34 +00:00
David Keeler
889e55fc5b bug 1439732 - fixup for backing out bug 1415991 post bug 1421084 (so Firefox 60 only) r=jcj
MozReview-Commit-ID: 4Hn9mt1TWwN

--HG--
extra : amend_source : 4cb25adb27986ec650d85762aecb5aae0cd29502
2018-02-20 12:28:01 -08:00
David Keeler
1d724da30f Backed out changeset 0a5795108e0a
MozReview-Commit-ID: DT67yB63lSn

--HG--
extra : rebase_source : ae106a256be2361a116cd1a14adb5a6d4b49ebe3
2018-02-20 12:21:55 -08:00
Kris Maglione
36f23390a8 Bug 1438988: Cleanup some error handling logic. r=mccr8
The error handling logic here would fail to remove a stale raw pointer from
mInProgressImports if the EnsureURI() call failed. Fortunately, it's not
actually possible for EnsureURI() to fail in this case, because the
EnsureResolvedURI() call above already implies EnsureURI(). That said, we're
better off structuring this code to ensure that we never leave a value in
mInProgressImports after we exit the scope.

MozReview-Commit-ID: 8mnKcHL75x

--HG--
extra : rebase_source : 332b48fde97adacfefd7771185df35c217dfbe84
2018-02-21 11:54:17 -05:00
Geoff Brown
c86636e65f Bug 1433485 - Update test prefs for telemetry; r=mythmon,dexter
Set pref datareporting.healthreport.uploadEnabled=false during mochitests
and set pref toolkit.telemetry.server to a dummy server during reftests
(uploadEnabled was already false for reftest and the telemetry server was
already set for mochitests - now these prefs are consistent).

Some mochitests failed with this change; they are updated to
set datareporting.healthreport.uploadEnabled where required.
2018-02-21 10:57:04 -07:00
Cosmin Sabou
591bd52f5f Bug 1419183 - Disable toolkit/components/extensions/test/xpcshell/test_ext_management.js for frequent failures. r=jmaher
--HG--
extra : rebase_source : d88627c7ab6700e10536df72306efd9cb9172b7c
2018-02-21 18:54:17 +02:00
Jon Coppeard
9727cd338e Bug 1439908 - Simplify Linker::newCode to remove unnecessary AllowGC parameter r=nbp 2018-02-21 17:49:17 +00:00
David Major
146476c2c3 Bug 1439762 - Make configure fail when using clang-cl with a broken SDK. r=froydnj
--HG--
extra : rebase_source : 876e1d1c760a7c3de4f2bcaba9692df5e1bacb8d
2018-02-21 12:34:13 -05:00
Gurzau Raul
67898ab5c2 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-21 19:32:45 +02:00
Martin Stránský
924797ef59 Bug 1434621 - part 2: ignore vertical titlebar padding from the Gtk+ theme since we set it with CSS on #titlebar-buttonbox. r=dao
MozReview-Commit-ID: ETrNNianj3e
2018-02-21 16:43:11 +01:00
Dão Gottwald
7514587643 Bug 1434621 - part 1: vertically center title bar buttons on Linux. r=stransky
MozReview-Commit-ID: 4cpEAyw1a4k
2018-02-21 16:39:59 +01:00
Ben Kelly
331d0e0c4e Bug 1437760 P2 Add a reftest that verifies svg images with fragment based targets renders properly when service workers intercept. r=xidorn 2018-02-21 07:28:33 -08:00
Ben Kelly
8a855818ec Bug 1437760 P1 Propagate the FetchEvent.request.url fragment to the synthesized Response.url. r=asuth 2018-02-21 07:28:32 -08:00
Ted Campbell
585141844f Bug 1439336 - Make guards consistent for TypedObjects. r=jandem
MozReview-Commit-ID: CmOMoFq5DgP
2018-02-21 10:26:22 -05:00
Jon Coppeard
ded8fd38e2 Bug 1439416 - Relax line number assertions when creating module objects r=anba 2018-02-21 15:24:24 +00:00
Milan Knežević
cbd71d5b84 Bug 1437039 - [MIPS32] - Simplify 64-bit branching. r=lth 2018-02-20 16:28:24 +01:00
Milan Knežević
4d6cdba649 Bug 1433406 - [MIPS32] - Simplify 64-bit arithmetics. r=luke 2018-02-21 16:10:33 +01:00
Gijs Kruitbosch
77d40712b5 Bug 1439396, r=mak
--HG--
extra : rebase_source : 8d92f674148d4edc985e1c6ae9bfcb91b7ff5403
2018-02-21 12:18:40 +00:00
Joel Maher
1fa5c74e78 Bug 1439637 - skew-1.svg fails to pass on new windows 10 hardware. r=dholbert 2018-02-21 09:38:33 -05:00
Masayuki Nakano
ed18f14624 Bug 1036008 - Use alternative ASCII capable keyboard layout information to decide keyCode even if the key produces an ASCII punctuation character r=smaug
Gecko decides keyCode from an ASCII character which is produced by the key
by itself or with Shift on active keyboard layout or alternative ASCII capable
keyboard layout if active keyboard layout isn't ASCII capable.  However, we've
ignored alternative ASCII capable keyboard layout's character if both the
key itself and with Shift don't produce ASCII alphabet nor ASCII numeral,
i.e., ASCII punctuation characters are not used in alternative ASCII capable
keyboard layout because of avoiding mapping a keyCode value to 2 or more keys.

However, setting 0 to keyCode value makes Firefox unusable with some web
applications which are aware of neither KeyboardEvent.key nor
KeyboardEvent.code.  So, even if we map same keyCode value to a key, we should
avoid setting keyCode value to 0 as far as possible.

This patch's approach is, we behave same keyCode value as the alternative ASCII
capable keyCode is selected when computed keyCode value of active keyboard
layout is 0.  This means that we will make some language users whose keyboard
layout for their language is not ASCII capable can use global web services
which support US keyboard layout of Firefox since the new keyCode values
are mostly computed with US layout on Windows or actual alternative ASCII
capable keyboard layout on macOS and Linux.  In other words, we cannot improve
compatibility with web applications which don't support Firefox  by this patch
since our keyCode values are really different from Chrome's.  So, unfortunately,
if we'd use exactly same keyCode computation as Chromium, we'd break
compatibility with existing web applications which are aware of Firefox since
it's necessary to check UA name or something before using keyCode values.

Note that the most important difference between Windows and the others is,
such keyCode value is computed with alternative ASCII capable keyboard
layout on macOS and Linux but only on Windows, it's computed with OEM virtual
keycode.  This means that only on Windows, the keyCode value may be different
from actual alternative ASCII capable keyboard layout's keyCode.

MozReview-Commit-ID: As289r9wp6i

--HG--
extra : rebase_source : 66181403dbe8ca8dab893edc8f4eec1991d544d0
2018-02-16 15:54:07 +09:00
Andrew McCreight
98c246e41e Bug 1219081 - Remove undefined reference to libxul_sdk_includes from XPIDL makefile. r=glandium
MozReview-Commit-ID: BK20h5Nexe0

--HG--
extra : rebase_source : 64008aabf15fe6b0a3fa44c43b0c3070dc762acf
2018-02-20 10:22:36 -08:00
Felipe Gomes
456bf3f99c Bug 1429148 - Policy: Enforce choice for the Remember Passwords setting. r=MattN
MozReview-Commit-ID: 3acY4QwQWGb

--HG--
extra : rebase_source : 0c548848eaa0b90be5deec112122b840e8c2d21d
2018-02-14 23:50:36 -02:00
Manish Goregaokar
6a6a69868a servo: Merge #20034 - Handle table cell backgrounds during display list generation for <table> (from Manishearth:table-backgrounds); r=mbrubeck
Fixes #19788

Source-Repo: https://github.com/servo/servo
Source-Revision: 0b4ea018b0df2ba5f65d2a5cc45b70e4243e324a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : dcecc0a2eee4a8dc8944e4edaba0f199c3a99b86
2018-02-21 12:00:03 -05:00
Gijs Kruitbosch
7f3a5d23ee Bug 1438308 - switch reader mode shortcut to F9 on Windows, r=markh
MozReview-Commit-ID: VBq6qRsEM8

--HG--
extra : rebase_source : d2fb2af4b8bccd3770c8298733614b2db2d9ac59
2018-02-20 15:47:17 +00:00
Mark Banner
8387fb332e Bug 1439949 - Update eslint to 4.18.1 to support async iteration. r=mossop
MozReview-Commit-ID: 6S8Fq7yHISq

--HG--
extra : rebase_source : 719181833e15bd299a20239ac546734dbb11509a
2018-02-21 16:00:24 +00:00
Brian Grinstead
1586c450c0 Bug 1411032 - Remove 'bulletinboard' alias for the stack element;r=enndeakin+6102
MozReview-Commit-ID: GSDH9rWqv0e

--HG--
extra : rebase_source : 60fe4fafb614d7c92ab97143c10cf749c3d47880
2018-02-21 09:28:47 -08:00
Nicolas Chevobbe
699a7a874f Bug 1438118 - Do not show open in netmonitor context menu entry in browser console; r=bgrins.
We also add a test to make sure we have the expected context menu
on log and network message in the browser console.

MozReview-Commit-ID: E2woQj5clJF

--HG--
extra : rebase_source : a3de488ed61e8124ad743983eeb23791df911716
2018-02-20 10:39:31 +01:00
Gurzau Raul
2a77281049 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-21 19:30:44 +02:00
Jed Davis
9bdbd2d99f Bug 1438389 - Quietly disallow chown() in sandboxed content processes. r=gcp
Also covers fchownat() and attempts to be ready for newer archs like ARM64.

Bonus fix: extend bug 1354731 (mknod) fix to cover mknodat so this part
of the policy isn't glaringly inconsistent about "at" syscalls.

Tested locally by attaching gdb and injecting syscalls.

MozReview-Commit-ID: CCOk0jZVoG4

--HG--
extra : rebase_source : 1d0cafd9d91586eaec0233ff15b3bbb1ef7485f0
2018-02-15 16:10:00 -07:00
Prathiksha
fb6210fff5 Bug 1433513 - Correctly handle new expire type (EXPIRE_POLICY) in the Site Identity panel and Page Info window. r=johannh
MozReview-Commit-ID: 7mfxnqI1C65

--HG--
extra : rebase_source : 6000e334bc43978a11a4d9de447445de2249933f
2018-02-14 00:16:53 +05:30
Alex Gaynor
bef576f813 Bug 1440034 - fixed reporting of annotations at the time of crashes on GeckoView; r=rbarker
MozReview-Commit-ID: 8thtJe0QmcE

--HG--
extra : rebase_source : 27d0875e412b8dde435af132768fda98bb24ed35
2018-02-21 14:37:22 -05:00
Alex Gaynor
94ce464547 Bug 1440019 - removed some dead code from ContentParent::InitInternal; r=jld
MozReview-Commit-ID: 7ZqXBxJ6Yw9

--HG--
extra : rebase_source : 73e4a7563788122a749d1fdd916986aab99e0d14
2018-02-21 13:35:36 -05:00
Adrian Wielgosik
e2f33ee5dd Bug 1439751 - Cleanup HTMLInputElement some more. r=qdot
MozReview-Commit-ID: APunYKaGM8I

--HG--
extra : rebase_source : ed40f33f3c922c79a3f7ce770ecfa588a082c716
2018-02-20 23:11:27 +01:00
Adrian Wielgosik
2d4df58ad8 Bug 1439751 - Remove all members from nsIDOMHTMLInputElement. r=qdot
MozReview-Commit-ID: JVagEzvSONN

--HG--
extra : rebase_source : a7e1cf2e5ccc1925f3a11c7d935438ef6307c70c
2018-02-20 23:10:44 +01:00
Adrian Wielgosik
ed00cb8c4e Bug 1440039 - Remove nsIDOMCanvasRenderingContext2D. r=qdot
MozReview-Commit-ID: GY3DdHAfQK2

--HG--
extra : rebase_source : 1fe021831984cb64cedd8c7eba486a0d29f7d66a
2018-02-21 20:49:07 +01:00
Zibi Braniecki
e3306c96dc Bug 1440188 - Fix eslint error from adding intl/l10n to eslint. r=gandalf
MozReview-Commit-ID: 8um44N5dZUv

--HG--
extra : rebase_source : 5d1a01c53a585bca9e396543bf29e3ee3b8565d9
2018-02-21 18:36:30 -08:00
Hiroyuki Ikezoe
8f3060510e Bug 1439269 - Call RequestRestyle() if the display property is changed from 'none' in the case the element has script animations. r=birtles
MozReview-Commit-ID: 1anUTbvw3k4

--HG--
extra : rebase_source : 68ca22f8db7112ac3d73c5331ff39b0780cece6e
2018-02-22 09:10:00 +09:00
Hiroyuki Ikezoe
fd8d148e3c Bug 1439269 - Add a new sequential task flag for display propery changes from 'none'. r=emilio
Unlike CSS animations/transitions, script animations keep alive on display:none
elements, so once the display property was changed to others in normal
styling, we need to do styling for the script animations in the second
animation traversal.  Otherwise, the styling for the script animations will
be deferred to the next frame.

MozReview-Commit-ID: 9ikg9N8X73a

--HG--
extra : rebase_source : 8b6a7a75a084eec2b3f276fd498f098bc9ed05bc
2018-02-22 06:09:46 +09:00
Masayuki Nakano
06c2b2765d Bug 1437838 - Narrate module should listen to keydown events instead of keypress events r=eeejay
Looks like that any script of web pages don't run in reader mode.  If so,
it's safe narrate module to listen to keydown events of non-printable keys
because nobody listens to following keypress events of them.  So, it's OK
to stop dispatching following keypress event of keys handled by keydown
event handlers of narrate module.

MozReview-Commit-ID: Agn8H8j8opz

--HG--
extra : rebase_source : 6d609936ce2592e9d23b100e3b875bd115b74c47
2018-02-13 22:11:01 +09:00
Josh Matthews
7328e68baf servo: Merge #20095 - Set CARGO_HOME for Windows builders (from servo:jdm-patch-9); r=jdm
This is a temporary fix to allow reopening the tree. This value belongs in saltfs instead, but it's already late and I don't want to have to wait to deploy the changes.

Source-Repo: https://github.com/servo/servo
Source-Revision: 036b9d313937cc1a053c0d94ccea1c2939ff09b0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b03b6774f24897039b2dfd0d3948c899f134f583
2018-02-20 22:08:50 -05:00
Valentin Gosu
55a7a824c6 Bug 1435671 - Reduce binary size by making NS_MutateURI.Apply not be a templated method r=mayhemer
We instead add a templated method NS_MutatorMethod that returns a std::function<nsresult(nsIURIMutator*)> which Apply then calls with mMutator as an argument.
The function returned by NS_MutatorMethod performs a QueryInterface, then calls the passed method with arguments on the result.

MozReview-Commit-ID: Jjqp7gGLG1D

--HG--
extra : rebase_source : f2a17aee7bb66a7ba8652817d43b9aa7ec7ef710
2018-02-21 01:00:54 +01:00