Commit Graph

531548 Commits

Author SHA1 Message Date
JW Wang
302d82c85a Bug 1356530 - Change the type of MediaData::mTime to TimeUnit since int64_t is ambiguous. r=kaku
MozReview-Commit-ID: 4bVeqIuWO2O

--HG--
extra : rebase_source : d504ac15a6dc59ad42f3ab80faf23f629d74315f
extra : intermediate-source : 6e52995b6c8146451d98dffc62f6907755dc856e
extra : source : 82d2649cdafb5a6389f6858c23578811933580c9
2017-04-14 17:13:36 +08:00
Michael Ratcliffe
5f606637f1 Bug 1352115 - Add scalars for toolbareyedropper, copyuniquecssselector and copyfullcssselector r=bsmedberg,pbro
MozReview-Commit-ID: CeqtJ22GM6M

--HG--
extra : rebase_source : d80264c6bb990b754ce96dbcb7010b8de6096701
2017-04-19 13:04:12 +01:00
cku
9f69435d3a Bug 1357432 - Part 4. Reftest for using local-ref as xlink:href value. r=heycam
MozReview-Commit-ID: HoKf7vNSneE

--HG--
extra : rebase_source : 8f334483998326398903deb1b8e62e93a910ebc6
2017-04-18 23:58:43 +08:00
cku
950a617ff2 Bug 1357432 - Part 3. Resolve local-ref in SVGUseElement::LookupHref by nsSVGEffects::GetBaseURLForLocalRef. r=heycam
MozReview-Commit-ID: CGCwQ73EQA7

--HG--
extra : rebase_source : 3ca8c0f052846ffd197e0d70d7a1e54676871f52
2017-04-19 02:06:07 +08:00
cku
71f1a61edb Bug 1357432 - Part 2. Implement nsSVGEffects::GetBaseURLForLocalRef to export local-ref-url-resolving logic. r=heycam
ResolveURLUsingLocalRef is designed to be internally used by
nsSVGEffects::Get-{SVGEffect}-URI functions. Since we also need it in
SVGUseElement::LookupHref, make it public in nsSVGEffects.

MozReview-Commit-ID: Hsvs8Uzahrz

--HG--
extra : rebase_source : 54698a477a2ebb3f635fb3a77f6bc39b1741b05b
2017-04-20 15:58:19 +08:00
cku
05f3fde7c3 Bug 1357432 - Part 1. Move IsLocalRefURL to nsContentUtils to reuse this function. r=heycam
IsLocalRefURL is originally designed to be used by URLValue only. Since we need
this function in SVGUseElement::LookupHref too, move it to nsContentUtils as a
util function.

MozReview-Commit-ID: FDjWVbTfB0V

--HG--
extra : rebase_source : a3e1133f08ffad59a05c6e829f4ff416b897b917
2017-04-18 23:35:56 +08:00
Michael Ratcliffe
faf7c1b49c Bug 1356223 - Support scalar telemetry probe types in Telemetry.js r=pbro
MozReview-Commit-ID: A2SMdvjy4jp

--HG--
extra : rebase_source : 002e47280d926c913150dd1b1286a7730855a024
2017-04-19 12:44:54 +01:00
Marco Bonardo
7ebdf5f8b2 Bug 1357664 - Don't delete all relations to expired icons when updating icons for a specific page. r=adw
MozReview-Commit-ID: JYHeuyvrJYp

--HG--
extra : rebase_source : d1ba003454b12a3fd688545a995c8f0c56bc95c7
2017-04-19 10:19:48 +02:00
Marco Bonardo
f3f1cd175f Bug 1357555 - Properly handle an expiration value of 0 when fetching an icon. r=adw
Favicons migrated from the old store have expiration set to 0.
The code is not expecting that, since expiration has always been positive, thus
those icons are always considered valid and never replaced. They should instead be
considered expired.

MozReview-Commit-ID: Cz0JB4IbURA

--HG--
extra : rebase_source : aae2a477fe52198647a820ceb1db249316c4d72f
2017-04-18 23:51:05 +02:00
Daosheng Mu
5ec9ae756d Bug 1356452 - Part 5: Detect hand changing at runtime for OpenVR controllers; r=kip
MozReview-Commit-ID: AR5zpxryIw6

--HG--
extra : rebase_source : c99f87a1c82b59c106bbb7e1c1c29d2478e2d353
2017-04-18 15:58:34 +08:00
Daosheng Mu
0d1a38ef9a Bug 1356452 - Part 4: Add gamepad set hand function in Gamepad; r=qdot
MozReview-Commit-ID: LrQjMZ6demG

--HG--
extra : rebase_source : 56fe3af2ba69be38226b51248ae53a8bf4bbe0c2
2017-04-18 15:56:08 +08:00
Daosheng Mu
9e638e1eac Bug 1356452 - Part 3: Support changing gamepad hand property in GamepadManager; r=Lenzak
MozReview-Commit-ID: KZx2qJqks6f

--HG--
extra : rebase_source : f2d3d70f7394964b07bc45d4db1bfd6b56694e38
2017-04-18 15:55:15 +08:00
Daosheng Mu
ba21000af3 Bug 1356452 - Part 2: Replace vr:: namespace with ::vr:: in OpenVR; r=kip
MozReview-Commit-ID: uBvQ7hBI4z

--HG--
extra : rebase_source : 306dc8eb907f0d33aa62ec05f3fe97d1f07ffc69
2017-04-18 13:04:53 +08:00
Daosheng Mu
065b13fe52 Bug 1356452 - Part 1: Remove assertion for checking VRManager::Get(); r=kip
MozReview-Commit-ID: CMCX9Fq55tS

--HG--
extra : rebase_source : 10342128d91fea22b66dfd99379764ac6cccccc4
2017-04-18 12:45:44 +08:00
Frank Serrano
8a220bcecd Bug 1357832 - Update eula.css to use standard css border; r=dao
We were using -moz-border-*-colors in eula.css before.
We no longer need to do that, so we are changing it to use the standard css border

MozReview-Commit-ID: KvJ0kigreEt

--HG--
extra : rebase_source : d6ff70b0b425ef3a900e65c3431027e57674ced3
2017-04-19 21:02:17 -05:00
Iris Hsiao
9a405f8405 Backed out changeset 3507329c5999 (bug 1357555o) for eslint failure in test_expire_migrated_icons.js 2017-04-20 16:23:59 +08:00
Marco Bonardo
752d7c7482 Bug 1357555 - Properly handle an expiration value of 0 when fetching an icon. r=adw
Favicons migrated from the old store have expiration set to 0.
The code is not expecting that, since expiration has always been positive, thus
those icons are always considered valid and never replaced. They should instead be
considered expired.

MozReview-Commit-ID: Cz0JB4IbURA

--HG--
extra : rebase_source : c9676529bd73581f3325c8a267c8863ff09767a3
2017-04-18 23:51:05 +02:00
Martin Robinson
b35beae16d servo: Merge #16531 - Eliminate ScrollRootId (from mrobinson:clip-id); r=glennw
Just use WebRender's ClipId directly. This will allow us to create and
use ReferenceFrames in the future, if we need to do that. It will also
make it easier to have Servo responsible for creating the root
scrolling area, which will allow removing some old hacks in the future.

<!-- Please describe your changes on the following line: -->

---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they should not change behavior.

<!-- 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: 6e05a903afe81af5a45067dde4f9af26a2ea4be2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ed3c05a3a6ad1de7c189632886473e8b9b294565
2017-04-20 01:55:33 -05:00
Cameron McCormack
4401e03681 Bug 1355427 - Expectations adjustment followup. r=me 2017-04-20 17:29:29 +10:00
Scott Wu
3b7b555b2e Bug 1352331 - Swap the cancel and save buttons on edit profile dialog for Windows. r=lchang
MozReview-Commit-ID: I3kvKClOIIO

--HG--
rename : browser/extensions/formautofill/content/editProfile.css => browser/extensions/formautofill/skin/shared/editProfile.css
extra : rebase_source : 07567a5e708d3a3660baeb16eb4565e630c4cad7
2017-04-18 17:42:03 +08:00
Mark Banner
fbd29db04b Bug 1357702 - Make eslint-plugin-spidermonkey-js handle paths correct on Windows to avoid Unexpected character issues on ESLint. r=mossop
MozReview-Commit-ID: LsQCgBOgceY

--HG--
extra : rebase_source : 337037ad78c223139a3531a8ca9a68b13dbcb013
2017-04-19 12:17:14 +01:00
Mark Banner
6419084416 Bug 1357502 - Change eslint-plugin-mozilla tests to use the mocha test harness to improve the output. r=mossop
MozReview-Commit-ID: 1xI0tBpbSgM

--HG--
extra : rebase_source : 227dc315767083e88ec88219771d66fade3072b2
2017-04-18 20:06:02 +01:00
Valentin Gosu
061dd9b679 Bug 1354349 - Use channel.isDocument in ContentParent::TransmitPermissionsFor r=mystor
MozReview-Commit-ID: L9b6UeXJ8o5

--HG--
extra : rebase_source : bdcdbd0ee7d7399495cb265d15437a82a654e694
2017-04-20 10:15:16 +08:00
Valentin Gosu
0a4d506e21 Bug 1354349 - Add nsIChannel.isDocument that checks if LOAD_DOCUMENT_URI is set, or if LOAD_HTML_OBJECT_DATA and the channel has the appropriate MIME type r=mcmanus,mystor
MozReview-Commit-ID: K28Opd9JTr2

--HG--
extra : rebase_source : d1a786d9b4318be15f195fdc330489121ebd6ece
2017-04-20 10:15:06 +08:00
cu1t
166138d469 servo: Merge #16472 - Fix namespaces of elements created in XML documents (from cu1t:#14095-fix-xml-doc-namespaces); r=nox
Correctly implement following step of [Dom Document Spec](https://dom.spec.whatwg.org/#dom-document-createelement):
> Let namespace be the HTML namespace, if the context object is an HTML document or context object’s content type is "application/xhtml+xml", and null otherwise.

Note, this will make following test in `tests/wpt/web-platform-tests/dom/nodes/Document-constructor.html` to fail, so related .ini file added to mark it as such:
```
test(function() {
  var doc = new Document();
  var a = doc.createElement("a");
  // In UTF-8: 0xC3 0xA4
  a.href = "http://example.org/?\u00E4";
  assert_equals(a.href, "http://example.org/?%C3%A4");
}, "new Document(): URL parsing")
```
I'm not very familiar with specs, but from quick look at it, I'm doubtfull that it is valid in the first place. This is an "application/xml" document, so I don't see why it should encode a.href. Firefox also fails that.

---
<!-- 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 #14095 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because because there are already tests which were being ignored

<!-- 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: 2d732d829b3fc93938898118ee55ef985ebfc657

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7fbf8e42f1b8d08344dceb34a890ccf3fdce34df
2017-04-20 01:01:05 -05:00
KuoE0
e6c145b52b Bug 1355005 - Remove the failures mark of box-orient in stylo-failures.md. r=heycam
MozReview-Commit-ID: GufNFWDyiIq

--HG--
extra : rebase_source : e81bb6a316c52c9f7bccc1523d0b88c9b4b0f02b
2017-04-19 11:09:35 +08:00
Manish Goregaokar
b81ad83874 servo: Merge #16539 - stylo: Properly support -moz-script-size-multiplier, -moz-script-level, and -moz-script-min-size (from Manishearth:stylo-scriptminsize); r=heycam
r=heycam https://bugzilla.mozilla.org/show_bug.cgi?id=1355427

(copying over the relevant commit message so that it doesn't get lost in the vcssync)

scriptlevel is a property that affects how font-size is inherited. If scriptlevel is
+1, for example, it will inherit as the script size multiplier times
the parent font. This does not affect cases where the font-size is
explicitly set.

However, this transformation is not allowed to reduce the size below
scriptminsize. If this inheritance will reduce it to below
scriptminsize, it will be set to scriptminsize or the parent size,
whichever is smaller (the parent size could be smaller than the min size
because it was explicitly specified).

Now, within a node that has inherited a font-size which was
crossing scriptminsize once the scriptlevel was applied, a negative
scriptlevel may be used to increase the size again.

This should work, however if we have already been capped by the
scriptminsize multiple times, this can lead to a jump in the size.

For example, if we have text of the form:

huge large medium small tiny reallytiny tiny small medium huge

which is represented by progressive nesting and scriptlevel values of
+1 till the center after which the scriptlevel is -1, the "tiny"s should
be the same size, as should be the "small"s and "medium"s, etc.

However, if scriptminsize kicked it at around "medium", then
medium/tiny/reallytiny will all be the same size (the min size).
A -1 scriptlevel change after this will increase the min size by the
multiplier, making the second tiny larger than medium.

Instead, we wish for the second "tiny" to still be capped by the script
level, and when we reach the second "large", it should be the same size
as the original one.

We do this by cascading two separate font sizes. The font size (mSize)
is the actual displayed font size. The unconstrained font size
(mScriptUnconstrainedSize) is the font size in the situation where
scriptminsize never applied.

We calculate the proposed inherited font size based on scriptlevel and
the parent unconstrained size, instead of using the parent font size.
This is stored in the node's unconstrained size and will also be stored
in the font size provided that it is above the min size.

All of this only applies when inheriting. When the font size is
manually set, scriptminsize does not apply, and both the real and
unconstrained size are set to the explicit value. However, if the font
size is manually set to an em or percent unit, the unconstrained size
will be set to the value of that unit computed against the parent
unconstrained size, whereas the font size will be set computing against
the parent font size.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7919e591a46274c0d7f3a7c7c99d2643d55d60f1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f3222c625f72aa2f70192b0efe8d50d28d7002b2
2017-04-20 00:20:41 -05:00
Manish Goregaokar
40a6a08486 Bug 1355427 - Part 3: stylo: Update test expectations; r=heycam
MozReview-Commit-ID: AOHzrajCUVz
2017-04-19 23:04:17 -07:00
Henri Sivonen
4414bd44eb Bug 1356181 - Gather telemetry about isindex usage in hope of justifying removal. r=Ehsan,francois
MozReview-Commit-ID: 9dDVvgxxZml

--HG--
extra : rebase_source : c78e97a5b1bcd1d322ba1381657ed9bd3e814f11
2017-04-13 14:08:35 +03:00
Astley Chen
f93fc0a7bc Bug 1355752 - Remove B2G code from FrameLayerBuilder.cpp. r=mstange
MozReview-Commit-ID: CbMnZJldiUl

--HG--
extra : rebase_source : 4899991aedc8cc2413fcf695601eb79c0245eb01
2017-04-20 13:16:43 +08:00
Astley Chen
8713e7a155 Bug 1355752 - Remove B2G code from nsGfxScrollFrame.cpp. r=kats
MozReview-Commit-ID: 6ePwT9UWJIJ

--HG--
extra : rebase_source : 0b73e647867448a6b8a81074d7fc4410645b6eed
2017-04-20 13:16:43 +08:00
Astley Chen
bc4e66e602 Bug 1355752 - Remove B2G code from nsFormControlFrame.cpp & forms.css. r=dholbert
MozReview-Commit-ID: I1PeSxMLFbn

--HG--
extra : rebase_source : eafb99a5df41053e7ea51b8d9529b6a343152cfd
2017-04-20 13:16:43 +08:00
Astley Chen
1c6ca32418 Bug 1355752 - Remove B2G code from layout/build files. r=jmaher
MozReview-Commit-ID: 4VYUKm8MgHb

--HG--
extra : rebase_source : e7619fffc64736443b6b7fc5f0833b62538db8b2
2017-04-20 13:16:43 +08:00
Astley Chen
18d66f87fd Bug 1355752 - Remove B2G code from nsCSSFrameConstructor.cpp. r=dholbert
MozReview-Commit-ID: Kvzn02nmzb0

--HG--
extra : rebase_source : d70db09f85cbb34cf5fc0fa05c0db3072ca911f5
2017-04-20 13:16:43 +08:00
Astley Chen
e4081a158f Bug 1355752 - Remove B2G code from PresShell files. r=jrmuizel
MozReview-Commit-ID: FIap9QM0vve

--HG--
extra : rebase_source : f80c009d67293b74b4c645f0e013842c6098d8ad
2017-04-20 13:16:42 +08:00
Astley Chen
4126cab5bb Bug 1355752 - Remove B2G wording in AccessibleCaret. r=TYLin
MozReview-Commit-ID: JOv2caZc8J0

--HG--
extra : rebase_source : 48a14052cc8dc0b3f7054465cec81ae322a59899
2017-04-20 13:16:42 +08:00
KuoE0
cb5df9876f servo: Merge #16537 - Add inline-axis and block-axis aliases for -moz-box-orient (from KuoE0:add-inline-axis-and-block-axis-for-moz-box-orient); r=KuoE0
<!-- Please describe your changes on the following line: -->

This issue is reported at https://bugzilla.mozilla.org/show_bug.cgi?id=1355005.

spec: https://developer.mozilla.org/en-US/docs/Web/CSS/box-orient

---
<!-- 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 [Bug 1355005](https://bugzilla.mozilla.org/show_bug.cgi?id=1355005)

<!-- Either: -->
- [X] These changes do not require tests in Gecko.

<!-- 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: f74f1fb59233c3f366cec4ace5df37c0264786be

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0028688311e5bf2ca2cfee90dad07ba07ad85848
2017-04-19 23:19:48 -05:00
Boris Chiou
57d63067b9 servo: Merge #16536 - stylo: Change the animation_type of column-count to normal (from BorisChiou:stylo/animation/column_count); r=Manishearth
According to PR #16494, column-count should be animatable, so we should change the animation_type to "normal".

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix Bug 1355732 and PR #16494.
- [X] These changes do not require tests because we have tests in gecko already.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c3f546fc03f7380630bcb8966c2cfe1af5d12b85
2017-04-19 22:44:42 -05:00
Matthew Wein
09d1616dc7 Bug 1331742 - Part 5 - Add unit tests for browserAction.onClicked r=mixedpuppy
MozReview-Commit-ID: Ko8eQYfIM0H

--HG--
extra : rebase_source : 0774a850694d8ea52d7c39872e5ac02f4acec4c5
2017-04-10 16:15:54 -04:00
Matthew Wein
549d74a605 Bug 1331742 - Part 4 - Add a position property to keep track of the menu item's position instead of using the ID r=sebastian
MozReview-Commit-ID: 7ZtfaVQFhKX

--HG--
extra : rebase_source : b1d9a62ca8c272eb4ff631d4331129c97153cb31
2017-03-25 22:35:54 -07:00
Matthew Wein
0bb36b786b Bug 1331742 - Part 3 - Create and register ext-browserAction.js r=mixedpuppy
MozReview-Commit-ID: CGR4689b6oo

--HG--
extra : rebase_source : 912519c647c2051d03307f52ca778efb1f9e7480
2017-04-19 21:44:41 -04:00
Matthew Wein
35c2d73d83 Bug 1331742 - Part 2 - Create a module for managing browser actions similar to PageActions.jsm r=sebastian
MozReview-Commit-ID: 2epdMD75e84

--HG--
extra : rebase_source : a542b3ca2e673e4fcfdebab56108c2df66239630
2017-03-25 22:36:05 -07:00
Matthew Wein
29488c9b00 Bug 1331742 - Part 1 - Create and register browser_action.json r=mixedpuppy
MozReview-Commit-ID: AwYuTDU3Ki4

--HG--
rename : browser/components/extensions/schemas/browser_action.json => mobile/android/components/extensions/schemas/browser_action.json
extra : rebase_source : 40d21958c2800a35e9a691f379694c6ca3b1c73e
2017-03-15 21:02:56 -04:00
JW Wang
235f1f55ed Bug 1356506 - change the type of MediaData::mTimecode to TimeUnit since int64_t is ambiguous. r=gerald
MozReview-Commit-ID: 7dO5OOUuORz

--HG--
extra : rebase_source : 1c1c020700d9180ef9f85d7e2e679f498ab71fce
extra : intermediate-source : d173c820bef7a113e28e9732c42e8c1af36160ab
extra : source : 04c08a780526ca3a5ac4d1a6f9b7ae30d9957e92
2017-04-14 14:52:14 +08:00
Iris Hsiao
56c2787435 Backed out changeset ef655e427521 (bug 1345515) for devtool test failures at responsivedesign.jsm 2017-04-20 10:01:01 +08:00
J. Ryan Stinnett
6aa082a194 Bug 1345515 - Add notifications advertising new RDM. r=ochameau
New RDM can be disabled because the user flipped a pref or because e10s is
disabled.  For each of these cases, add notifications to old RDM pushing users
to switch to the new version and provide feedback, since the old RDM will
eventually be removed.

MozReview-Commit-ID: EOQ0FkuRmY0

--HG--
extra : rebase_source : 44e50bfe471cc5f85b3143d7e10d98f078b072a4
2017-03-20 16:06:54 -05:00
Wes Kocher
2aa3f2f2e2 Merge m-c to autoland, a=merge 2017-04-19 17:17:20 -07:00
Kris Maglione
726576d314 Bug 1356810: Follow-up: Fix SDK worker tests. a=merge
MozReview-Commit-ID: 8ObX3OKozCF

--HG--
extra : source : bf8468e259dce509bfe0c4cc51874a0797932e36
2017-04-19 14:10:52 -07:00
Wes Kocher
cb8ce82cca Merge inbound to m-c a=merge 2017-04-19 17:10:04 -07:00
Andrew Swan
251c58d506 Bug 1357410 follow-up sign remaining unsigned permission test xpis r=andym
MozReview-Commit-ID: JA3fAWPIIJn

--HG--
extra : rebase_source : 3d3e64d03cb9e9576ff51efd21049174b7698898
2017-04-19 12:29:34 -07:00