Commit Graph

525936 Commits

Author SHA1 Message Date
Kris Maglione
b3d00ca35b Bug 1333990: Follow-up: Use safer conversion functions when creating error message JS strings. r=bz
MozReview-Commit-ID: FimoWFIgUxL

--HG--
extra : rebase_source : 7b9193ac1c12dc96b269ee3dea167edc4051669f
2017-03-17 16:53:04 -07:00
Kris Maglione
4af9951cec Bug 1333990: Follow-up: Use Promise& rather than OwningNonNull<Promise> for binding arguments. r=bz
MozReview-Commit-ID: 23aYwjCPJ6l

--HG--
extra : rebase_source : ccaa13b20a2e7a52395ccee1bc2ef8bcb39448cf
2017-03-17 13:55:27 -07:00
Kris Maglione
f446374619 Bug 1333990: Follow-up: Add cycle collection and comments where unnecessary. r=bz
MozReview-Commit-ID: 70omvafFFFH

--HG--
extra : rebase_source : 4815476110a4eaf071241c3d98fc579c4d3f6dd5
2017-03-17 13:54:32 -07:00
Dylan Roeh
e9e8faf6a8 Bug 1345267 - Check NEON compatibility in BrowserApp/GeckoApp.onCreate() and fail with an appropriate error message if necessary. r=jchen 2017-03-17 18:38:54 -05:00
Eric Rahm
b8b8dd4a0c Bug 1348123 - Add release bounds checking when inserting and replacing. r=froydnj
This adds release bounds checking to ReplaceElementsAt, InsertElementAt, and
InsertElementsAt to make sure the insertion point is within the current array
bounds.

MozReview-Commit-ID: 1pFr8LuOROI
2017-03-17 16:40:53 -07:00
Sebastian Hengst
b292757fb7 Bug 1348416 - Update pdf.js to version 1.7.367: Use shiny new complex string pref getter and setter. r=eslint-fix 2017-03-17 23:37:33 +01:00
Wes Kocher
ee28f4ee71 Merge inbound to central, a=merge
MozReview-Commit-ID: Fq7B78wD7Wv
2017-03-17 11:03:59 -07:00
Wes Kocher
85a356a38f Merge autoland to central, a=merge
MozReview-Commit-ID: EtI9SIdmuhQ
2017-03-17 10:59:49 -07:00
Deepa
4dae2debd4 Bug 1344741 - Update TelemetrySend.jsm to async function & await. r=gfritzsche 2017-03-17 22:26:25 +05:30
Ryan VanderMeulen
92937b757e Bug 1348416 - Update pdf.js to version 1.7.367. r=bdahl
--HG--
extra : rebase_source : 134ce90313211f4ff94807aa263f4d9fe887f0d3
2017-03-17 18:15:26 -04:00
ffxbld
c2a60adfc7 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2017-03-17 08:38:33 -07:00
ffxbld
21a93c9f95 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2017-03-17 08:38:31 -07:00
Carsten "Tomcat" Book
3e0a5441c6 Merge mozilla-central to mozilla-inbound 2017-03-17 14:55:15 +01:00
Carsten "Tomcat" Book
51a03b479f Backed out changeset 7b89ee0ae420 (bug 1348119) for causing merge conflicts
--HG--
extra : rebase_source : 55fef824b731cb308de012b50139628918d88af7
2017-03-17 14:45:57 +01:00
Gabriel Luong
479beb9ed0 Bug 1346378 - Grid inspector toggle should appear for display: [inline-]grid !important declarations. r=jdescottes 2017-03-17 13:55:50 +01:00
Julian Descottes
f39e97fbef Bug 1348271 - attach eyedropper click event to the proper element;r=gl
MozReview-Commit-ID: GNb6WED0CiP

--HG--
extra : rebase_source : 2681b65a2c0911398c16058b991ab0c948d10208
2017-03-17 12:50:28 +01:00
Anthony Ramine
a11d67ebbf servo: Merge #16010 - Properly coalesce whitespace when given a reference child (fixes #15979) (from nox:h5e); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: 32784c5fa8f30f007a45122dae5ae16d06d1733d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ddf9716a214137691d0bd6ef8d1ca080f8dc5644
2017-03-17 04:25:20 -07:00
Dale Harvey
3c0cff3807 Bug 1347154 - Set correct csp for icon fetching. r=marcosc 2017-03-17 10:55:59 +00:00
Jeremy Chen
9a60f77d80 Bug 1343516 - clean up the mess of PropertyProvider and its implementations. r=jfkthame
The cleanup work includes:

part 1: make all methods 'const' for the abstract class of PropertyProvider.

part 2: make nsFontMetrics's StubPropertyProvider final.

part 3: make nsTextFrame's PropertyProvider final.

  Make some methods 'const' and some variables 'mutable', so we could let all the
  overridden methods stay const.

  We also need to make the pass-in parameter of gfxFontGroup's GetHyphenWidth const.
  Note that the comment of GetHyphenWidth seem outdated, so I fixed it as well.

part 4: make the member variables in nsTextFrame's PropertyProvider to be 'const'.

  Make all the member variables 'const' except mStart, mLength,
  mJustificationArrayStart, and mJustificationSpacings.

  The static function AdvanceToNextTab is fixed since we only use 2 of the 4 parameters.

part 5: coding style fix for nsTextFrame's PropertyProvider.

MozReview-Commit-ID: 1kbWPwx27aQ
2017-03-17 18:53:15 +08:00
Hannes Verschore
6653413674 Backed out changeset 323c768fdc43 (bug 1331136) for failures on websites 2017-03-17 11:24:24 +01:00
Patrick Brosset
63129459dc Bug 1348258 - Use MODE.TINY for ElementNodes displayed in the grid inspector; r=nchevobbe
MozReview-Commit-ID: WUGm4IhwpM

--HG--
extra : rebase_source : 0ad5f2a610ceba290ccb0276333f6f55b94dc2f3
2017-03-17 11:23:35 +01:00
Carsten "Tomcat" Book
d9ee923985 Backed out changeset 20537ebcebdb (bug 1303838) for eslint failure 2017-03-17 11:21:32 +01:00
Jessica Jong
093aa14344 Bug 1344642 - Part 2: Add a new pref for input type=week, month and datetime-local. r=smaug
--HG--
extra : rebase_source : 9cacecf2b14cdd8caabd56993b22d0bbb27eae6b
2017-03-17 11:01:59 +08:00
Jessica Jong
3c909e1184 Bug 1344642 - Part 1: Cleanup dom.forms.datepicker related code. r=smaug
This patch basically reverts Bug 825294.

--HG--
extra : rebase_source : 58b235bfddb5acd1ec0cf1afd8f34cbb8c4e09c1
2017-03-17 11:01:57 +08:00
Tom Tromey
1cefb9fb2f Bug 1347961 - use #f06, not #f0c, in devtools tests; r=pbro
MozReview-Commit-ID: Li0s9X82YQC

--HG--
extra : rebase_source : 0c9d9deeced8d07f29f39912785d2c6fd60db314
2017-03-16 16:40:10 +01:00
Patrick Brosset
7164550d4c Bug 1347977 - Add docs about highlighters to /devtools/docs; r=jryans
MozReview-Commit-ID: 7Qdi9i2iaN8

--HG--
extra : rebase_source : 1a57df3f269543d8db72038dd2b0f485c8972e9f
2017-03-16 18:41:06 +01:00
Cameron McCormack
19e2347587 Bug 1346623 - Part 3: Test. r=bholley
MozReview-Commit-ID: 8LOxAPDEuBW

--HG--
extra : rebase_source : 68d8a70210a346f184fb484fdd4f1d81e673c651
2017-03-16 22:47:05 +08:00
Cameron McCormack
0c4867b06c Bug 1346623 - Part 2: Add an API to get computed style values through an AnonymousContent object. r=bholley
MozReview-Commit-ID: Dbvuk16CjFT

--HG--
extra : rebase_source : 2c40e4cd9ce08d6f2a5feb13293cc151de6deb80
2017-03-16 22:46:43 +08:00
Cameron McCormack
2a59bf895d Bug 1346623 - Part 1: Prevent canvas custom content from becoming NAC when reframing the root element. r=bholley
MozReview-Commit-ID: K7jcUuz6KI4

--HG--
extra : rebase_source : 85c2939b020e7d4b401382c0d436f16c5af98b5e
2017-03-16 17:43:44 +08:00
Cameron McCormack
0bd2536940 Bug 1348493 - Clear ServoElementData from canvas custom content's during-PresShell-destruction clones. r=bholley
MozReview-Commit-ID: HqLgOuXsQuV

--HG--
extra : rebase_source : 0da1b02c0675fc93303cedf3d8dfb73d413670a2
2017-03-18 14:15:09 +08:00
Bobby Holley
4d61095fe0 servo: Merge #16015 - Box more specified values to bring SpecifiedValue/PropertyDeclaration sizes down to 24/32 bytes (from bholley:box_more_properties); r=Manishearth
I think these properties are generally rare enough that they're not worth adding 8 bytes of memmove overhead on every PropertyDeclaration. There are a _lot_ of 24-byte properties though, so I think that's probably a good sustainable level.

Source-Repo: https://github.com/servo/servo
Source-Revision: ae1a7cc7b8079491c2140d694467113dcc1f44a6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a3eaac5f9529174d13151a1cc1f52d5015f81560
2017-03-17 22:19:51 -07:00
Boris Chiou
06caf786e0 Bug 1348322 - Fix the initial values of gVelocityCurveFunction. r=kats
MozReview-Commit-ID: LDWCeRC4JBH

--HG--
extra : rebase_source : 3937add42e185d9c29f86d8626bb65e7172dcdd1
2017-03-17 23:54:46 +08:00
Julian Descottes
a9647cccf2 Bug 1344504 - do not catch click events closing the event tooltip;r=gl
MozReview-Commit-ID: 3ebzs0RwbJo

--HG--
extra : rebase_source : 8f1cfbf2a307c65b384859845fa018877f0f371a
2017-03-15 18:47:27 +01:00
Andrew McCreight
042b6e5ca4 Bug 1347527, part 2 - Fix incorrect protocol name. r=kanru
This was causing the wrong error.

MozReview-Commit-ID: GQmuOOH55Ta

--HG--
extra : rebase_source : 1689af838857a9f08571fe3fc0a43c822abf242c
2017-03-15 06:24:53 -07:00
Andrew McCreight
04d2052106 Bug 1347527, part 1 - "can't use compression" IPDL error message doesn't have a closing paren. r=kanru
MozReview-Commit-ID: CONYxlOB2sP

--HG--
extra : rebase_source : 3c0784e9fd25c9bf2a67ec6fca9cb6d61730a9b9
2017-03-15 06:03:56 -07:00
Jan-Ivar Bruaroey
8a1b72c4be Bug 1348174 - Test that deviceIds are stable for same origin and differ across origins. r=jesup
MozReview-Commit-ID: LEkHzgUZwqd

--HG--
extra : rebase_source : 105beb8009fb80bfecc41a1c7604a783e8569efb
2017-03-16 15:14:42 -04:00
Julian Descottes
c690940c14 Bug 1344504 - handle rejected promise when showing/hiding box model in markup view;r=gl
MozReview-Commit-ID: C3aGIk1RUOU

--HG--
extra : rebase_source : ff5e3e8c3c9a66877bef723c1b274534300e25fc
2017-03-15 08:44:31 +01:00
BharatR123
541691a1f2 Bug 1343827 - Removed icon for "Undo Closed Tab" and its references r=dao
MozReview-Commit-ID: 5RlLYy7O9yi

Removed all rules of #alltabs_undoCloseTab, class="menuitem-iconic" and the .png
images

--HG--
extra : rebase_source : c475714b162d84a074fc65bcde9138c58217ca8c
2017-03-17 21:27:51 +05:30
Xidorn Quan
d7bfa06d83 Bug 1346353 - Disable test_hover.html for stylo because of intermittent issue. 2017-03-17 23:05:58 +11:00
Carsten "Tomcat" Book
953eb6ee5e Backed out changeset c7df34767efb (bug 1344132) for stylo test failures 2017-03-17 12:37:07 +01:00
Paul Rouget
99ddfb1aac servo: Merge #16007 - cocoa update (from paulrouget:cocoa-update); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: 8835e1d88727ef6ef04ca6c0f5d4d3ea959b2a76

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6a4f1e687b77ad7b3a5c23d9c5fea73035b41d95
2017-03-17 03:45:20 -07:00
Hiroyuki Ikezoe
53cd62387d Bug 1340958 - Drop Servo_AnimationValues_Uncompute. r=boris
MozReview-Commit-ID: 4CMzaCOnY7z

--HG--
extra : rebase_source : a0e988af6cdde93f47ee2089a281a49c815d953a
2017-03-17 13:24:42 +09:00
Hiroyuki Ikezoe
cb4ce7109c Bug 1340958 - Drop AnimationRule and ServoAnimationRule. r=boris
MozReview-Commit-ID: ClnvyShHpsN

--HG--
extra : rebase_source : c554550264bfedafbf91ed2ed754603fb5c3e4c6
2017-03-17 13:24:42 +09:00
Hiroyuki Ikezoe
3b9f585232 Bug 1340958 - Put computed values into AnimationValueMap instead of hashtable in gecko. r=heycam
Before this patch, we store each computed values in a hashtable,
nsRefPtrHashtable<nsUint32HashKey, RawServoAnimationValue>, for all
KeyframeEffectReadOnly on an element, and convert the ServoAnimationValues of
the hashtable into an nsTArray<ServoAnimationValue*> and then convert
the ServoAnimationValues of the nsTArray into PropertyDeclarationBlock
in rust.  This way was really inefficient.
In this patch, we store the computed values into AnimationValueMap and
convert all AnimationValue in the map into PropertyDeclarationBlock
after EffectCompositor::GetAnimationRule.

MozReview-Commit-ID: EJ2Kl65fVeF

--HG--
extra : rebase_source : e30a9d440dc9855e21b94501b07a3501d31bc345
2017-03-17 13:23:21 +09:00
Hiroyuki Ikezoe
a7825d3c98 Bug 1340958 - Add AnimationValueMap and expose it in FFI. r=heycam
Current Gecko composes all of effects in the composite order at once.
We can put each computed value into this AnimationValueMap every time composing
an effect.

MozReview-Commit-ID: EZdCYedva13

--HG--
extra : rebase_source : 0dc97045f2e5fd9088307fcd1588d9416907ba8e
2017-03-17 13:22:19 +09:00
Hiroyuki Ikezoe
2511ac5d4e Bug 1340958 - Templatize ComposeStyle. r=birtles
Later in this patch series we will replace ServoAnimationRule with a hashmap.
At that point, we would like to pass the hashmap to ComposeStyle. In order
to achieve that, this patch templatizes the 'animation rule' parameter of
ComposeStyle in both Animation and KeyframeEffectReadOnly so that it can
represent a hashmap instead.

MozReview-Commit-ID: H5bMxjN3W8n

--HG--
extra : rebase_source : 58cd9ee1cda51970d35c52b39d2cdab12055e24a
2017-03-17 13:22:13 +09:00
Hiroyuki Ikezoe
2d5908cdb1 Bug 1340958 - Separate ComposeStyle() into servo and gecko versions. r=birtles
MozReview-Commit-ID: FAXf6J9UVjo

--HG--
extra : rebase_source : 606043e23b478558dd931756c0769dd2ef592b3b
2017-03-17 12:48:56 +09:00
Hiroyuki Ikezoe
faa7a6f3cb Bug 1340958 - Allocate StyleRule only if we need to compose styles. r=birtles
MozReview-Commit-ID: 6ucsxBAaYRp

--HG--
extra : rebase_source : ec0bd4627d40335c353b79720f7dfb2e4f3c304c
2017-03-17 12:48:51 +09:00
Hiroyuki Ikezoe
a3c9c5051e Bug 1340958 - Do not call EffectCompositor::GetServoAnimationRule for print preview. r=heycam
The only one caller of GetServoAnimationRule is Gecko_GetAnimationRule.
There is no risk that pres context is destroyed in Gecko_GetAnimationRule.

MozReview-Commit-ID: 52pxbCiCNoJ

--HG--
extra : rebase_source : 8000e267d1d5706c709f807e11396dda3579c4dc
2017-03-17 12:48:34 +09:00
Hiroyuki Ikezoe
00ae32a7b2 Bug 1340958 - Do not call get_animation_rules for pseudo elements other than ::before and ::after. r=heycam
MozReview-Commit-ID: FlrT4hIst6U

--HG--
extra : rebase_source : 7cefba0f9353efd8128117f8596a01315937ef6c
2017-03-17 12:48:15 +09:00