Граф коммитов

543766 Коммитов

Автор SHA1 Сообщение Дата
Evan Tseng c8a5fc0bb8 Bug 1365133 - Update tests - Part 3. r=jaws
MozReview-Commit-ID: GoOXdJ4RfY9

--HG--
extra : rebase_source : 69f805c04f050cf588fa9454116f263e19be7d8f
2017-06-20 15:11:46 +08:00
Evan Tseng 9db9d083ed Bug 1365133 - ReGroup <xul:groupbox> elements by new categories - Part 2. r=jaws
MozReview-Commit-ID: Lh8iduzVoad

--HG--
extra : rebase_source : 2c7487e352c0783ccbddb9dbcf98c2bc6da11012
2017-06-16 16:24:33 +08:00
Evan Tseng 8128ea95d3 Bug 1365133 - Reorganize Preferences sections - Part 1. r=jaws
MozReview-Commit-ID: HqgWtyN3G6J

--HG--
rename : browser/components/preferences/in-content/search.js => browser/components/preferences/in-content-new/search.js
rename : browser/components/preferences/in-content/search.xul => browser/components/preferences/in-content-new/search.xul
extra : rebase_source : 705c8ee831ac9fad76dd6080579327d68b2ae9e1
2017-06-06 13:55:45 +08:00
Anthony Ramine 15be6312ed servo: Merge #17530 - Improve sequence values in style (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: de0ee6cebfcaad720cd3568b19d2992349c8825c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e6ac7281edfb9197a81ae318c8e245aabb99f7ac
2017-06-27 15:34:15 -07:00
Mark Banner 2db2a46875 Bug 1376234 - Convert more xpcshell-tests in toolkit/components/places/tests/unit to async Bookmarks.jsm API. r=mak
MozReview-Commit-ID: FF7URaUt5fM

--HG--
extra : rebase_source : f51426da947d3d659c6bdd8209adde150be9393d
2017-06-26 12:52:29 -07:00
Mark Banner 10d2d118a3 Bug 1376234 - Convert some xpcshell-tests in toolkit/components/places/tests/unit to async Bookmarks.jsm API. r=mak
MozReview-Commit-ID: 8c5NZDfrh4e

--HG--
extra : rebase_source : 40253fc2114edc7d254bbca55d648e42f838d1bb
2017-06-25 12:13:21 +01:00
Kartikaya Gupta 493543fcba Bug 1376522 - Remove unused code. r=botond
MozReview-Commit-ID: 7rfulZOILBT

--HG--
extra : rebase_source : 41edfea1b3a05d9b6431c3f4fad9eb4a40262ae8
2017-06-27 14:58:51 -04:00
Mantaroh Yoshinaga f6bb5b5b40 Bug 1376513 - Fix expected value for serizalization value for text-shadow of mochitest and skip this test case on gecko. r=hiro
MozReview-Commit-ID: CTOGgCiYTeD

--HG--
extra : rebase_source : 65eaab1e5f1daba5ac25048ef63d2c63ef2f1698
2017-06-27 13:47:45 -07:00
Matt Howell 933f502cb1 Bug 1376489 - Allow stub installer header text to use the full window width. r=rstrong
MozReview-Commit-ID: L5OdDqdS12e

--HG--
extra : rebase_source : 0f0b6ee362c34bbd722a70517c7932d300e78a2b
2017-06-27 11:43:42 -07:00
Shing Lyu fc4ef9ddac servo: Merge #17428 - Convert -webkit-linear-gradient coordinate system for Stylo (from shinglyu:lineargradient); r=nox
<!-- Please describe your changes on the following line: -->
This patch will fix the -webkit-linear-gradient direction issue in Stylo. I decided to NOT change the behavior of Servo, because according to the webcompat spec the webkit prefixed version should just be an alias of non-prefixed version. But we might want to remove support for old syntax like "-webkit-linear-gradient(top, ...)" (without "to"), because they are not in the spec anymore.

The Gecko layout system use different coordinate systems for prefixed and non-prefixed version, so I did a conversion, but for Servo I keep the modern version only.

Since I believe we should not support old syntax in Servo, so I'm not going to put the test in Servo. I'll submit my test cases to the Gecko wpt test instead.

---
<!-- 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 1372821](https://bugzilla.mozilla.org/show_bug.cgi?id=1372821)
<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because test will be submitted to the Gecko side

<!-- 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: 9070ca1c3c058b8f13eb7dac4d075007468eff30

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 63a2ee9b59dbe7766e66602dec8a9e7e3bb5eacd
2017-06-27 14:34:01 -07:00
Emilio Cobos Álvarez 3662a5c86c Bug 1375674: Reftest for the display: contents issue. r=heycam
MozReview-Commit-ID: Kca1oIzo7oZ

--HG--
extra : rebase_source : 43b22deb2b8045f1231f309daa5f733489801d5d
2017-06-23 19:41:23 +02:00
Emilio Cobos Álvarez 10227381d3 Bug 1375674: Track the owner that represents the changes handled, and fix a bunch of issues while at it. r=heycam
In particular, this fixes:

 * Restyling of <area> elements that reuse the primary frame mapping for the
   image map.

 * Restyling of children of display: contents elements when the display:
   contents element generates a hint.

 * Restyling of out-of-flows (if my analysis in the bug is right).

 * Restyling of the ::backdrop pseudo-element.

 * Restyling of the Viewport frame.

I only managed to do a reftest for the second one, but the rest of them are
covered by the assertions added.

MozReview-Commit-ID: E7QtiQ1vPqu

--HG--
extra : rebase_source : 89085d96103ca743ba95ba61feeac68d24e8d307
2017-06-23 19:31:35 +02:00
Emilio Cobos Álvarez 97d4bc23fb Bug 1375674: Don't use the table change hints for the table wrapper frame. r=heycam
MozReview-Commit-ID: 7Qe07N6zvIt

--HG--
extra : rebase_source : be0658c4af20c2eaaa93b5ec18694ef4fa0febcd
2017-06-23 19:30:16 +02:00
Emilio Cobos Álvarez bb71f1a6bc Bug 1375674: Don't use the owner's changes handled for the backdrop frame. r=heycam
MozReview-Commit-ID: GpIQwqge8L

--HG--
extra : rebase_source : edb667bfc077a15b2d5676a07c079544fd1556fb
2017-06-23 19:26:20 +02:00
Emilio Cobos Álvarez 79491cce00 Bug 1375674: Constify and simplify nsLayoutUtils::{First,Last}ContinuationOrIBSplitSibling. r=heycam
MozReview-Commit-ID: phsCyamDum

--HG--
extra : rebase_source : 805bcaef0732f9c3208b1234cd3aaaf4216eabe9
2017-06-25 01:48:27 +02:00
Mark Banner 333108d7f0 Bug 1376232 - When updating date added the async Bookmarks.update API should also change the last modified date. r=mak
MozReview-Commit-ID: BGiT1w8BVlq

--HG--
extra : rebase_source : 65525014511d46491d6b7d3294260fb65f9cae40
2017-06-25 20:17:12 +01:00
Xidorn Quan dbe22f6de7 Bug 1352936 - Add fuzzy to the test. r=manishearth
MozReview-Commit-ID: FUiLuOUz7UX

--HG--
extra : rebase_source : 8d5f7505ffcc51f0057d6c6d11ed57c9babcb7b6
2017-06-27 15:08:58 -07:00
David Burns ba70f4f34a Bug 1370223: Add Window Maximize wdspec tests r=ato
This adds tests for section 10.7.3 of the WebDriver
specification as detailed in
https://w3c.github.io/webdriver/webdriver-spec.html#resizing-and-positioning-windows

MozReview-Commit-ID: 96Ls86ONve0

--HG--
extra : rebase_source : d03e13e7d6a8527fb215cf7d0540088583e72263
2017-06-16 09:39:05 +01:00
Henrik Skupin 200da78a40 Bug 1223277 - Return immediately when click command closes tab or window. r=ato
In some cases the click command can trigger the closing of the
currently selected tab or window. To not cause a hang when waiting
for a response from the removed framescript, the tab and window
closing events have to be observed. Also the command has to return
immediately.

MozReview-Commit-ID: 9WeXryrKEJr

--HG--
extra : rebase_source : a7a23cf19e55eecbf957d48c2182a601d63d0909
2017-06-26 16:55:02 -07:00
Henrik Skupin d96b3fb2bc Bug 1223277 - TcpTransport.close() should't care about errno 107. r=ato
Beside Errno 57 there is also Errno 107 (Transport endpoint is not
connected) which can happen in case of an unexpected crash/shutdown
of Firefox. Then calling shutdown() on the socket to stop the
communication will fail.

This is most likely a race and can happen after receiving a reply
from the server, and before sending another command.

MozReview-Commit-ID: 3S5Ko4XVUAJ

--HG--
extra : rebase_source : 59d79ab5da2c4e67b64bc90501660a7603a993c8
2017-06-22 21:10:44 +02:00
Henrik Skupin 4840d12a94 Bug 1223277 - Disable Marionette unit tests for ASAN builds. r=ato
Tests are causing issues for us due to slow running builds and
delayed creation of minidump files. Also we don't see a value
yet to have those tests running for ASAN. Once bug 1348961 is
fixed we could re-evaluate.

MozReview-Commit-ID: BZHa1O5F6ep

--HG--
extra : rebase_source : 28e1977607eb803c4167315cf32f56e5b2e0ba31
2017-06-27 11:05:48 -07:00
Henrik Skupin 505f86c3ab Bug 1223277 - Improve Marionette unit tests for delayed crashes. r=ato
In case of delayed shutdowns of Firefox we currently miss to detect the
created minidump files because the mozcrash mock gets removed right after
the crash causing command has been executed. To prevent this the mock
has to be active from setUp until tearDown.

Also we should not silently ignore the case that the minidump folder
cannot be deleted. Because it means no crash happened, or the folder
has not been created.

MozReview-Commit-ID: KncJ5BHi7M5

--HG--
extra : rebase_source : 63c947b0a7fe16de0eed19a8e0359721d9f4051d
2017-06-22 11:45:10 +02:00
Henrik Skupin a4b02086a1 Bug 1223277 - Reorder global JS module imports in listener.js. r=ato
Reorder imports so that global ones are done before local imports.

MozReview-Commit-ID: 7xA9XQlxlj4

--HG--
extra : rebase_source : b144401c5c6c47e87beab669f76f2b61fb79e5b6
2017-05-24 21:44:04 +02:00
Henrik Skupin 3b32d01243 Bug 1223277 - Log outer window id of the content window when framescript is registered. r=ato
It will help a lot for debugging when the outer window id of the
content window gets logged when the frame script gets registered.

MozReview-Commit-ID: D64A1nPEs6l

--HG--
extra : rebase_source : 0e592e10cb1a0979f4331b92dbfcfc905e737120
2017-05-19 11:16:38 +02:00
Henrik Skupin b654aaca43 Bug 1223277 - Refactor clicks.html and depending unit tests. r=ato
The testcase file clicks.html contains a couple of elements which are
not in use, and makes it hard to keep an overview what's actually used.
Lets refactor it to only keep what's really needed.

MozReview-Commit-ID: D9PVWUSmOHr

--HG--
extra : rebase_source : 0ecc3400c7e291f7923db1e93884b1d279a5e6e9
2017-05-19 11:11:41 +02:00
Emilio Cobos Álvarez 480729151b Bug 1372056: Test for dynamic text-decoration propagation. r=xidorn
MozReview-Commit-ID: ArB3uZmzhwn

--HG--
extra : rebase_source : 92c96f2cf086610c5edeee0e1f43600fa284d6e1
2017-06-27 14:22:14 -07:00
Fischer.json 14773a27fc Bug 1357641 - Part 2: Add the browser_onboarding_notification.js test, r=mossop
MozReview-Commit-ID: 8kEDXaQ0zqK

--HG--
extra : rebase_source : 3994b272dc185ea25d4257eb79e766d23bf6892e
2017-06-16 17:44:06 +08:00
Fischer.json c8aecb9619 Bug 1357641 - Part 1: Add onboarding tour notification, r=flod,mossop
This commit
- adds onboarding tour notification
- shows still not completed onboarding tour notifications in order
- opens target tour from tour notification for the target tour

MozReview-Commit-ID: AwLtwjoeARQ

--HG--
extra : rebase_source : 264531cf8aaf3f636faecf790a269d0166188f8a
2017-06-21 13:09:29 +08:00
Masatoshi Kimura 68794e5c6e Bug 1376164 - Turn nsDocumentViewer::mHintCharset and mForceCharacterSet into const mozilla::Encoding*. r=hsivonen
MozReview-Commit-ID: HTi2eNwDH99

--HG--
extra : rebase_source : 13c702981c188a395b6026883c3731e816f55240
2017-06-25 22:46:08 +09:00
Gijs Kruitbosch 0a11de7e87 Bug 1352120 - fix theming for the star icon, fix theming dealing with empty string icon urls, r=jaws
When debugging the test failures in this test, I noticed that the info() messages indicated we *were* using
moz-extension icon references even when we shouldn't be - they just didn't include the 'fox.svg' bit.
When pausing in the debugger, you can see that all the buttons are blank - we don't load any icon in this case.

This seemed bad, so I updated the test to actually check if we're using a moz-extension URI at all,
and then updated the implementation to actually make it work.

MozReview-Commit-ID: GGXaivJrzxj

--HG--
extra : rebase_source : a64bed37e1fb27c164a0543a0465038d251c709d
2017-06-22 13:08:52 +01:00
Gijs Kruitbosch dd070a9e91 Bug 1352120 - move the bookmarks star into the url bar, r=mak
MozReview-Commit-ID: Ka5Wn2hrb1P

--HG--
extra : rebase_source : e22d25295066386c4becc1a430b78aaa9c40ae4f
2017-06-23 17:35:59 +01:00
Henri Sivonen 29ef683ca2 Bug 1333333 - Label runnables in the HTML parser (again). r=billm.
MozReview-Commit-ID: 1Z89LSr46dN

--HG--
extra : rebase_source : 4f7e31741fcfe65d6e6e44f3f0df9c9d6df31e7d
2017-06-27 10:38:30 -07:00
Emilio Cobos Álvarez c0c4a86de4 servo: Merge #17525 - style: Fix propagation of text-decoration lines (from emilio:text-decoration); r=heycam
This also paves up the ground to be able to fix #16825.

Source-Repo: https://github.com/servo/servo
Source-Revision: 79ee821bef68e371b104a7af4fb657460362ff1d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0417d1054406027072f6567bb6f123d3e9d5efc8
2017-06-27 12:44:33 -07:00
Rail Aliiev f9eae15e91 Bug 1376502 - publish to Balrog no longer works in automation for desktop beta r=mtabara a=release DONTBUILD
MozReview-Commit-ID: LBl93SUu12r

--HG--
extra : rebase_source : 8517aa80bf2c83f6ede65c4afe17cfce344e4179
2017-06-27 13:33:14 -07:00
Nazım Can Altınova 90fd16c2e2 Bug 1355364 - Update test expectations for font-language-override descriptor in @font-face r=me
MozReview-Commit-ID: KMA2BkvzmW0

--HG--
extra : rebase_source : 8d1670577ecae4309211edc84f45525d11ed675b
2017-06-27 13:23:06 -07:00
Brad Werth ce8e242fa1 Bug 1367996 Part 2: Add a test of the StyleRuleAdded and StyleRuleRemoved events. r=heycam
MozReview-Commit-ID: 114IuYiKEBb

--HG--
extra : rebase_source : f444a72e575d4b23152c22f8978dc1a3c8af33bb
2017-06-21 12:13:46 -07:00
Brad Werth 289d2a885e Bug 1367996 Part 1: Make ServoStyleSheet::ReparseSheet call nsDocument::StyleRuleAdded and StyleRuleRemoved methods. r=heycam
MozReview-Commit-ID: CnGqHEpkM45

--HG--
extra : rebase_source : 9e35223058b793fa5b8f423bafcebaac0fe2c5f6
2017-06-19 17:49:27 -07:00
Mark Banner 10e375a830 Bug 1376531 - Fix some issues when enabling async places transactions - updating bookmarks names and pasting bookmarks. r=mak
MozReview-Commit-ID: 4sqbSMtMkDD

--HG--
extra : rebase_source : a227a56c8da60c748cd5543dae37bc95bb07923e
2017-06-27 12:54:16 -07:00
Mark Banner 2991ef15bd Bug 1375418 - Add eslint 4 support to eslint-plugin-mozilla. r=mossop
Change how comments are handled due to ESLint's 4 reworked comment handling.

MozReview-Commit-ID: BG4cvbhy45Z

--HG--
extra : rebase_source : 8fc4d40bf2a8cb74be7964c9d308c056edf51058
2017-06-21 15:06:04 +01:00
Nazım Can Altınova 57d89b1ef4 servo: Merge #17517 - stylo: Implement font-language-override descriptor for @font-face rule (from canaltinova:font-lang-override); r=SimonSapin
Generally  we use computed values for `@font-face` rule descriptors but that descriptor is a bit different than the others in gecko side. It accepts strings instead of unsigned integer(which is computed value of this property). So we had to use SpecifiedValue for that in here.

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

Source-Repo: https://github.com/servo/servo
Source-Revision: 2843eb5ddf0c8170854eb420774bd5a34bc6710d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 16c60065370286715fd5a8459c7707b858e1504c
2017-06-27 11:35:33 -07:00
Andrew McCreight eaeb65f509 Bug 1371844 - Add explicit API to set Debugging.failTestsOnAutoClose in Sqlite.jsm. r=mak
With JSM global sharing, the Debugging object is no longer a property
directly on the global of the Sqllite object. Instead of going through
this back door, add a setter method to Sqllite and use that.

MozReview-Commit-ID: HVCZ4Zb42q7

--HG--
extra : rebase_source : d54a0a143c2cd89a8543fd8b3f938abdbec96859
2017-05-25 15:40:55 -07:00
James Graham 5f59647162 Bug 1376228 - Pass group_metadata through the running state, r=maja_zf
MozReview-Commit-ID: CZUxRLh7j6B

--HG--
extra : rebase_source : 9edcb42c2593a0c2d7bbaec63eaf3af0b09cafc7
2017-06-26 16:37:47 -07:00
Raajit Raj ee4654fab7 Bug 1360498 - Added update snippet URL to failure in case of network issue r=whimboo
MozReview-Commit-ID: Hs9DR7z8aGS

--HG--
extra : rebase_source : a4e294ecdb0f3ac645a0bf1b31c8b510ee66332b
2017-06-27 23:59:19 +05:30
Bobby Holley 7f8bab3fa9 Bug 1376245 - Hand the already-resolved style directly to servo when creating generated content. r=emilio,r=birtles
This avoids a lot of expensive machinery when we've already computed the style.
2017-06-27 11:39:53 -07:00
Bobby Holley 071db4f3b2 servo: Merge #17532 - stylo: Attach styles explicitly to generated content (from bholley:set_explicit_style); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1376245

Source-Repo: https://github.com/servo/servo
Source-Revision: 12ff92592fb2c81d6688975f7243cd9c391acefc

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2018e1fb8a467b871850b2e717cc17d8bca5bc64
2017-06-27 10:27:49 -07:00
Kartikaya Gupta 66730bcc5b Bug 1376449 - Robustify startDrawing to prevent calling callback function after stop() has been called. r=pehrsons
MozReview-Commit-ID: 5vPtTHBGJhN

--HG--
extra : rebase_source : fc5ac99c261120c10d43616650c94bdbf63d3bbc
2017-06-27 13:55:45 -04:00
John Lin 044db17502 Bug 1374037 - catch shared memory exceptions to prevent crash. r=esawin
MozReview-Commit-ID: CubvyqLxmXb

--HG--
extra : rebase_source : 0139256f0c53bfda262843e89a2078749b94c6b1
2017-06-21 15:44:43 +09:00
J. Ryan Stinnett 3fa0d59862 Bug 1357715 - Skip DevTools tests on Stylo that use shadow DOM. r=heycam
MozReview-Commit-ID: DXT7yDgPjCM

--HG--
extra : rebase_source : c44be4de23bf722fb9d43bddf0b69ea41ce11127
2017-06-21 12:59:06 -05:00
Masayuki Nakano a9fb7c2f23 Bug 1376407 - part2: Emulate selection when committing composition as collapsed to the end of composition r=m_kato
When you start new composition during converting with Mozc in e10s mode, the following things occur:

1. Mozc commits previous composition.
2. Gecko dispatches eCompositionCommit event.
3. Mozc sets new composition string (skipping composition start signal).
4. Gecko dispatches eCompositionStart and eCompositionChange event.
5. Selection is changed asynchronously.
6. Gecko sets position of IME windows.

At #4, Gecko stores start of composition as selection start, then, trying to adjust it at #5. However, new selection is caret position in new composition string. Therefore, it's not used for the adjustment. This causes that stored composition start offset is always the start of the previous composition (if the previous patch didn't change EnsureToCacheSelection() behavior). So, IMContextWrapper needs to compute proper composition start offset in this case.

The simplest fix is, modifying selection at #2 as which will be occurred in focused editor.  So, this patch makes the selection cache collapsed to the end of committing string.

Note that actual selection may be different if JS changes selection and/or the text in the focused editor. However, it doesn't matter. IMContextWrapper should behave as expected while current composition is active.

MozReview-Commit-ID: 221mDUd8yRP

--HG--
extra : rebase_source : 571b2de85ed6ea1fdadea73b7f95507937cc60e9
2017-06-27 03:11:25 -07:00
Masayuki Nakano b67cd28522 Bug 1376407 - part1: IMContextWrapper should cache selected string instead of length of selection r=m_kato
IMContextWrapper::EnsureToCacheSelection() always queries actual selection when the caller needs selected string.  However, this may be expensive and this is bad behavior for the following patch because it wants to emulate selection range until receiving next selection change notification.

Therefore, this patch makes IMContextWrapper::Selection store selected string instead of just its length like other native IME handlers

Additionally, this patch renames IMContextWrapper::mSelectedString to IMContextWrapper::mSelectedStringRemovedByComposition for making the difference between it and the new string in Selection clearer.

MozReview-Commit-ID: 3bygvW7sKf4

--HG--
extra : rebase_source : b0835b8c1607ecd647444a4d984980943a6fd570
2017-06-27 02:46:08 -07:00