Commit Graph

571708 Commits

Author SHA1 Message Date
Julian Descottes
a38e35b3bc Bug 1418952 - style updates for about:devtools;r=nchevobbe
MozReview-Commit-ID: IFaDZBgmJPh

--HG--
extra : rebase_source : 2527b60e1bd23e9fd196296089ef9c0cea449d1b
2017-11-20 11:48:38 +01:00
Julian Descottes
c186e09d03 Bug 1418952 - update about:devtools strings;r=flod,nchevobbe
MozReview-Commit-ID: B20sojPHg7H

--HG--
extra : rebase_source : 04b23af830b3fd5ce16fe76ee47e3bca4e013575
2017-11-20 10:26:43 +01:00
Julian Descottes
66d3ca58e3 Bug 1408941 - Enable browser_webconsole_multiline_input.js;r=nchevobbe
MozReview-Commit-ID: 5lzN37yWeOc

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_multiline_input.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_multiline.js
extra : rebase_source : bd133f9e0c57b88dae44ab4d9d8877ba47546e4c
2017-11-28 22:42:15 +01:00
Michael Ratcliffe
96d918c2dd Bug 1298370 - Add SameSite attribute to Cookie Inspector r=pbro
MozReview-Commit-ID: C0n35vEaAdJ

--HG--
extra : rebase_source : 217b8eb13374fec057bf626cac586f41d25e44bb
2017-11-28 14:29:09 +00:00
Dorel Luca
79499f4044 Merge mozilla-central to autoland r=merge on a CLOSED TREE 2017-11-29 12:31:25 +02:00
Dorel Luca
be78e6ea9b Merge inbound to mozilla-central r=merge a=merge 2017-11-29 12:26:15 +02:00
Dorel Luca
f1b2e9a5b8 Backed out changeset 98a1ef2f2b30 (bug 1414829) for merge conflict 2017-11-29 12:24:09 +02:00
Dorel Luca
d23400b578 Backed out changeset 47c4c885164f (bug 1414829) for merge conflict 2017-11-29 12:22:35 +02:00
Dorel Luca
b3d418aa6c Merge autoland to mozilla-central r=merge a=merge 2017-11-29 12:09:11 +02:00
arthur.iakab
513ba7660d Backed out changeset b3d1e9847a7a (bug 725490) for mochitest failures in dom/base/test/test_x-frame-options.html r=backout on a CLOSED TREE 2017-11-29 12:01:19 +02:00
arthur.iakab
0471643394 Backed out changeset e0aaadf66179 (bug 1416987) Backing out eslint failures from file toolkit/components/url-classifier/nsUrlClassifierListManager.js:366:2 r=backout on a CLOSED TREE
--HG--
extra : amend_source : de7303717fc1968487cc24581cef5c8c8a86c814
2017-11-29 11:53:36 +02:00
sotaro
5c61ce035d Bug 1421199 - Use EGL_EXPERIMENTAL_PRESENT_PATH_FAST_ANGLE for WebRender r=jgilbert 2017-11-29 13:13:40 +09:00
Jim Chen
190f7edde5 Bug 1416940; r=snorp
MozReview-Commit-ID: 7izmybLFG6i
2017-11-28 23:07:52 -05:00
Csoregi Natalia
8a2bcaea6d Backed out 5 changesets (bug 1420674) for Build Bustage. r=backout on a CLOSED TREE
Backed out changeset 89e84473d524 (bug 1420674)
Backed out changeset 22e1aa958dd2 (bug 1420674)
Backed out changeset 7f416f3bbacd (bug 1420674)
Backed out changeset 5af1da25ee57 (bug 1420674)
Backed out changeset eeb25dc98529 (bug 1420674)
2017-11-29 06:03:31 +02:00
Tiberius Oros
cc3bc2859d Merge autoland to mozilla-central r=merge a=merge 2017-11-29 02:18:39 +02:00
ffxbld
f54d52a50d No bug, Automated HPKP preload list update from host bld-linux64-spot-030 - a=hpkp-update 2017-11-28 11:45:43 -08:00
ffxbld
61c54f501b No bug, Automated HSTS preload list update from host bld-linux64-spot-030 - a=hsts-update 2017-11-28 11:45:40 -08:00
ffxbld
63122d6697 No bug, Automated blocklist update from host bld-linux64-spot-032 - a=blocklist-update 2017-11-28 10:46:10 -08:00
ffxbld
d7a19d2216 No bug, Automated HPKP preload list update from host bld-linux64-spot-032 - a=hpkp-update 2017-11-28 10:46:06 -08:00
ffxbld
812cb244f0 No bug, Automated HSTS preload list update from host bld-linux64-spot-032 - a=hsts-update 2017-11-28 10:46:03 -08:00
Brindusan Cristian
9f3bd430c2 Merge inbound to mozilla-central a=merge r=merge 2017-11-28 11:50:57 +02:00
Masayuki Nakano
f989a6c4d5 Bug 1419745 - part 3: CreateElementTransaction and SplitNodeTransaction should store DOM point with EditorDOMPoint rather than RangeBoundary r=m_kato
CreateElementTransaction and SplitNodeTransaction store DOM point with
RangeBoundary now.  However, it refers next child of referring point.
Therefore, if it's moved to different container or removed from the DOM
tree, they cannot do undo/redo.  We can say for the child node, however,
it doesn't make sense depending on a node which is not directly referring.

MozReview-Commit-ID: Baohbub3RNZ

--HG--
extra : rebase_source : 6776420271cdaf91aae6213fb6e1bcf1841112b1
2017-11-28 17:13:15 +09:00
Samael Wang
a1cf236d7a Bug 1362410 - Make the setTimeout run on the same target as HistoryTracker. r=smaug
MozReview-Commit-ID: KvcFxG7RMNZ

--HG--
extra : rebase_source : e8c239c100ebe515ef098b4679b8bd9ecf46b15a
2017-11-28 15:50:27 +08:00
Hiroyuki Ikezoe
ba70245385 Bug 1421151 - Drop redundant calling start(). r=birtles
We have already start() call at the top of this test file, the start() there
is called after setting 'layout.css.devPixelsPerPx' pref, that should be only
one call for start().

MozReview-Commit-ID: A43vfwfLer3

--HG--
extra : rebase_source : 7cf3157bb781c135c726d252048fe52393ead428
2017-11-28 16:42:27 +09:00
Munro Mengjue Chiang
0092d98651 Bug 1421025 - fix build break with --disable-webrtc. r=tjr
MozReview-Commit-ID: hsArstlQRX

--HG--
extra : rebase_source : 26cbb24da2d61496122537d346a7059c81a97fea
2017-11-28 10:59:25 +08:00
Markus Stange
20a0c0f910 Bug 1421071 - Don't use fallback for invisible overlay scrollbar tracks on Mac with WebRender. r=jrmuizel
MozReview-Commit-ID: 5PJVqgGi8uD

--HG--
extra : rebase_source : bc238065ee46d009120dde7ee8de56f640facb24
2017-11-27 17:35:36 -05:00
Brian Grinstead
30a99a2b95 Bug 1419170 - Remove the statusbar and statusbarpanel bindings;r=Paolo
MozReview-Commit-ID: DbwMUBpHcri

--HG--
extra : rebase_source : 0fb627a10860302ca5f31013ed7d8370eb655230
2017-11-27 09:17:04 -08:00
Tom Prince
23412ca790 Bug 1421167: Remove some dead single_locale configuration options; r=Callek
All of these options only exist in the configuration files and a referenced
nowhere else in-tree.

MozReview-Commit-ID: CMeu3H1hqdx

--HG--
extra : rebase_source : df366b686557e474037534335a757ace445ba8b9
2017-11-27 23:28:02 -07:00
Cosmin Sabou
09c96dbb89 Backed out changeset c3f707e1f455 (bug 1418066) for ESlint failure on devtools/client/inspector/test/browser_inspector_highlighter-cssshape_07.js:29:1 r=backout on a CLOSED TREE 2017-11-28 17:35:23 +02:00
Jan Odvarko
ac7c62d3df Bug 1420711 - Fix typo; r=rickychien
MozReview-Commit-ID: F0c87FNPKLs

--HG--
extra : rebase_source : c34f3397223d908e4f5c0f074ad9029578d927fe
2017-11-27 11:02:14 +01:00
James Cheng
72518fc606 Bug 1421168 - Remove deadcode VideoData::CreateAndCopyIntoTextureClient. r=gerald
There is only declaration but no definition.
Also, there is no caller. Remove it.

MozReview-Commit-ID: Dq1yIgqVVES

--HG--
extra : rebase_source : 5775e39f3bc964c0aa7bf9be7822f17eb3c630a3
2017-11-28 15:18:43 +08:00
Hiroyuki Ikezoe
32c6e1fae4 Bug 1415783 - Flush pending style, layout and paint and wait for a MozAfterPaint before waiting for MozAfterPaint for OMT animation. r=birtles
With the conformant Promise handling (bug 1193394), there happen to receive
unexpected MozAfterPaint while waiting for MozAfterPaint for OMT animation.
The safest way to avoid this confusion is to start test refresh mode and
flush all pending styles (layout and paint) there so that the unexpected
MozAfterPaint is absorbed there.

MozReview-Commit-ID: 2xdKe4InYcP

--HG--
extra : rebase_source : dd6ba1dff7c449e40bb3286b5d9083eefc196de5
2017-11-28 14:57:24 +09:00
Nicholas Nethercote
9ce6c0ebf9 Bug 1394578 - Introduce PrefType::None. r=glandium
And remove the type argument from PrefValue's constructor. This is needed
for the next patch.

MozReview-Commit-ID: Ls8hEU2uRQQ

--HG--
extra : rebase_source : 115828e219f6bbe04677ffc106068a662458481a
2017-11-23 16:35:38 +11:00
Nicholas Nethercote
2c1bcd3a21 Bug 1394578 - Move Pref::AssignPrefValueToDomPrefVAlue() to PrefValue::ToDomPrefValue(). r=glandium
It's a bit nicer that way.

MozReview-Commit-ID: HpVaxje7XIP

--HG--
extra : rebase_source : 23a9bf251225992652e33bce84135840c2566d86
2017-11-23 16:35:35 +11:00
Nicholas Nethercote
dcfe881ca1 Bug 1394578 - Move more operations into PrefValue. r=glandium
The nice thing about this is that the memory management of the strings
(moz_xstrdup() and free()) is now entirely within PrefValue.

MozReview-Commit-ID: KJjnURpmgfE

--HG--
extra : rebase_source : 39c058cddf5ebf9e19f9151f40fd507f6909a289
2017-11-23 16:34:42 +11:00
Nicholas Nethercote
5208f7436b Bug 1394578 - Remove the kPref* enum. r=glandium
It's something of an obfuscation, and it forces together various bool values
that don't necessarily have to be together (and won't be together after future
refactorings).

The patch also reorders some function arguments for consistency: PrefType, then
PrefValueKind, then PrefValue.

MozReview-Commit-ID: KNY0Pxo0Nxf

--HG--
extra : rebase_source : d46d228c3b13549b2159757dcdaf9583cca828f7
2017-11-23 13:07:04 +11:00
Nicholas Nethercote
53ec464e06 Bug 1394578 - PrefHashEntry as Pref. r=glandium
Although it is a subclass of PLDHashEntryHdr, it's the main representation of a
pref, so the name should reflect that.

MozReview-Commit-ID: 5qJNQtjbFmH

--HG--
extra : rebase_source : f2bd77a57c4e2a48e24ead736f15856fbeb9f718
2017-11-23 10:52:08 +11:00
Masayuki Nakano
83d8db0fdc Bug 1419745 - part 2: Make EditorDOMPointBase store child node at offset instead of previous sibling of child node at offset r=m_kato
EditorDOMPointBase should store child node at offset directly rather than
previous sibling of child node at offset because if referring child node or
its previous sibling is moved to different DOM point,
EditorDOMPointBase::GetChildAtOffset() may return different node.  However,
users of this class assumes that after it stores child node at offset, it'll
return same node.

So, EditorDOMPointBase should store child node instead of "ref".  Additionally,
when it stores nullptr as the child, it should set mOffset to length of the
mContainer because it means it refers after the last child.

MozReview-Commit-ID: 7ZdkwKLJEjo

--HG--
extra : rebase_source : c2a0a1be1285466e5fa96162779e86c37ae78655
2017-11-23 04:09:00 +09:00
Jesse Schwartzentruber
5b3e545888 Bug 1419798 - Only build fuzzing interfaces if clang or AFL compilers are used. r=glandium
MozReview-Commit-ID: H1I9wdqTV4n

--HG--
extra : rebase_source : 18eb2536a5db80c585828ae44329f1a00d82209a
2017-11-22 11:21:09 -05:00
Masayuki Nakano
1bb0ec153d Bug 1419745 - part 1: Make EditorDOMPointBase not a sub class of RangeBoundaryBase and duplicate methods of RangeBoundaryBase into EditorDOMPointBase r=m_kato
EditorDOMPointBase should store child at offset for editor uses.  E.g., when
editor wants to refer a node as child node of an EditorDOMPoint instance,
even if the node is unexpectedly moved to different container, editor wants
to keep referring the child node rather than its previous sibling.

Therefore this patch makes EditorDOMPointBase not a sub class of
RangeBoundaryBase but copying all methods and members of RangeBoundaryBase
into EditorDOMPointBase for keeping current behavior completely.

MozReview-Commit-ID: LIyPFkCfsZ9

--HG--
extra : rebase_source : fd76c4808625f8f8a86f7b4e4c1ac22fbdc11dd5
2017-11-23 00:15:29 +09:00
Jean-Yves Avenard
424a8ff8a0 Bug 1417973 - Always use the AMD GPU decoder. r=mattwoodrow
High resolution, high framerate was disabled by default on old AMD cards on the provisio that it was bad. But this assumes that the CPU decoder could do it better.
This assumption appears fragile at best, as CPU with those old adapter are likely to be old and underpower to start with.

Chrome doesn't appear to restrict use of those cards to a given resolution.
So we disable this restriction, while making it user configurable.

MozReview-Commit-ID: HhADHNR0FdJ

--HG--
extra : rebase_source : ece39cd9b84c6e372d1002ee12e72523cee3d04d
2017-11-22 20:58:09 +01:00
Marco Bonardo
f5d28a8ed6 Bug 1420571 - Don't write unchanged page metadata to places.sqlite. r=Mardak
MozReview-Commit-ID: Gdv1qVSsfnO

--HG--
extra : rebase_source : 3aa365b44dbd148f1f835e12a08100add8e5e4a2
2017-11-27 18:15:21 +01:00
Martin Stransky
f9a10ab56d Bug 1420110 - remove browser.tabs.drawInTitlebar check from nsLookAndFeel, r=jhorak
The browser.tabs.drawInTitlebar check at nsLookAndFeel is redundant, breaks Thunderbird and dynamic titlebar rendering change. Let's use browser.tabs.drawInTitlebar at browser level and when enabled configure titlebar visibility by moz_gtk* media atoms.

MozReview-Commit-ID: IhCYmXgVME7

--HG--
extra : rebase_source : 6f152e5c3d7d5abbb134c9f5adcb76fd6ed335cb
2017-11-23 21:00:12 +01:00
Kilik Kuo
fea69fe34f Bug 1419897 - Crash in mozilla::dom::HTMLMediaElement::RemoveMediaKeys. r=jwwang
The process of |TryRemoveMediaKeysAssociation()| is a 2-step async procedue in mainthread.
mMediaKeys might be set to null inside |NotifyOwnerDocumentActivityChanged()| in between
|TryRemoveMediaKeysAssociation| and |RemoveMediaKeys|.

MozReview-Commit-ID: HtiADt3UTvp

--HG--
extra : rebase_source : 9eff95040b3e900fb778187e4e432bce0b41396b
2017-11-28 23:06:34 +08:00
Makoto Kato
9bba600ffc Bug 1420332 - Use system locale when system default is selected for browser locale. r=snorp
This is a regression by bug 1337078.  When user selects system default for
Browser language, "locale" pref is empty.  So BrowserLocaleManager.getLocale
always returns null.  So, current locale is always en-US in Gecko code.

So we should return system locale when "locale" pref is empty.

Also, ReadSystemLocales expects language tag string for locale.  Since
Locale.toString doesn't return language tag, so we should convert to it.

MozReview-Commit-ID: 3NhAkuA4HaH

--HG--
extra : rebase_source : 98e7c928e852391abe11b1b7ba19cc61d4924cea
2017-11-27 10:55:25 +09:00
Mark Banner
f99ae4c2a9 Bug 1421376 - Change various instances of manually calling getService to use Services.jsm in browser/. r=mossop
MozReview-Commit-ID: FW3X2fkOwK2

--HG--
extra : rebase_source : f71e053e18017d675d4ea4d758e2552adcf5adc6
2017-11-28 19:21:33 +00:00
Morris Tseng
786900525f Bug 1419917 - Add nsDisplayTableThemedBackground. r=mattwoodrow
MozReview-Commit-ID: D86CXjyro4

--HG--
extra : rebase_source : 24ffa2c27438218463cf01839c8cdb49326e4d9f
2017-11-24 16:19:56 +08:00
Mark Banner
099e4fa549 Bug 1421458 - Add more initial configuration setup and prepare .eslintignore for enabling ESLint on more xpcshell-test directories. r=mossop
MozReview-Commit-ID: 4nbTuNNnAdZ

--HG--
extra : rebase_source : 7131f0ddad79d28615a5799c657972bd84a69180
2017-11-28 22:57:08 +00:00
Nicholas Nethercote
15bd051c45 Bug 1394578 - Use gHashTable->EntryCount() to size aDomPrefs, not aCapacity(). r=glandium
As is done in pref_SavePrefs().

The confusion here is because a Vector can fill 100% of its capacity, but a
hash table cannot go past 75% of its capacity.

MozReview-Commit-ID: 5JMbmtrxMGN

--HG--
extra : rebase_source : 5ce1ce9dd0259588a0df924c2b45c39497b1ce71
2017-11-22 21:21:19 +11:00
Nicholas Nethercote
a775a9afdb Bug 1394578 - Rename dom::PrefSetting as dom::Pref. r=glandium
It represents a pref, so `Pref` is a better name. Within Preferences.cpp the
patch uses domPref/aDomPref to distinguish it from PrefHashEntry values.

MozReview-Commit-ID: HXTl0GX4BtO

--HG--
extra : rebase_source : c1e0726c55e7577720f669f0ed2dbc38627d853e
2017-11-22 21:21:19 +11:00