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

581733 Коммитов

Автор SHA1 Сообщение Дата
Nicolas Chevobbe da3e572a83 Bug 1405352 - Split browser_webconsole_jsterm.js in multiple tests; r=Honza.
The test was doing a lot of things and was hard to follow.
Here we split it so we can have dedicated tests for each helpers.

MozReview-Commit-ID: 6YGR3aq6jYn

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_document_no_xray.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_error_docs.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_error_outside_valid_range.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_helper_dollar.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_helper_dollar_dollar.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_helper_dollar_x.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_helper_help.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_helper_keys_values.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_helper_pprint.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_instance_of.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_jsterm.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_null_undefined.js
extra : rebase_source : dafa772bcbc6b379fd6ec1137c07ba24e794fc71
2018-01-24 11:34:30 +01:00
Anthony Ramine 2983f74a62 servo: Merge #20062 - Remove a single use of rooted_vec (from servo:iamroot); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: e97693ee097cf293178bcc51b4614820331b4d47

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b3a3362c82f2941cbbcf70212e0985b53f2b2a24
2018-02-16 13:09:28 -05:00
Nicolas Chevobbe eec262a2d8 Bug 1307899 - Remove renderComponent and switch consumers to using Enzyme instead; r=bgrins.
MozReview-Commit-ID: D88nlKJOSjk

--HG--
extra : rebase_source : df1287c1f012592d92579ac6397bd85a0e527b76
2018-02-08 16:43:50 +01:00
Rob Wood 8202c90789 Bug 1438340 - Only install talos pageloader addon when required, not by default on all tests; r=jmaher
MozReview-Commit-ID: AIfZESSXoWg

--HG--
extra : rebase_source : 32953d8da45bd0e8c472deda91a6b5a5b50a627c
2018-02-15 14:03:11 -05:00
Mark Banner 21e6e270a4 Bug 1438489 - Enable ESLint rule mozilla/use-services for devtools/. r=jdescottes
MozReview-Commit-ID: FZscEA6Q3Kb

--HG--
extra : rebase_source : b1b8699288a3595e52bcff3c7684bfe095f41dd1
2018-02-15 12:00:17 +00:00
Matt Brubeck 0e0df51227 Bug 1438954 - geckodriver: Upgrade to lazy_static 1.0.0. r=jgraham
MozReview-Commit-ID: 2LelV9rdyB5

--HG--
extra : rebase_source : adb01cb74e6fb9653c881dd03fd3374ceb140aa1
2018-02-16 10:30:49 -08:00
Doug Thayer 511d92a9fe Bug 1432529 - Exit spinEventLoopUntil when canceling migrator r=Gijs
Fairly trivial - discussed in bug 862127. Opt to cancel the spin wait
rather than disable canceling in the UI.

MozReview-Commit-ID: B55Fsw34uX7

--HG--
extra : rebase_source : 3b7e83799af01cef096894b40537c1a4021ffc16
2018-02-15 11:55:10 -08:00
Emilio Cobos Álvarez ba08cbdbdd Bug 1438811: Remove the remaining bits of the traversal telemetry stuff. r=manishearth
MozReview-Commit-ID: 2dA5usbGQRt

--HG--
extra : rebase_source : 47cc26f581e6b774de3ac27ef47d749ad1944dfe
2018-02-16 13:14:13 +01:00
Marco Bonardo b24d9c6370 Bug 1438130 - Disable preloaded top websites suggestions in the Address Bar until ready. r=Gijs
This feature is confusing for Nightly users in its current state, and the
suggested websites, in foreign languages, may look worrisome to some.
Bug 1340663 must figure out these issues before re-enabling the feature.

MozReview-Commit-ID: 6RJ0Ff1B3AJ

--HG--
extra : rebase_source : 569b5ae833c4f5c05656522d0d9d0ad00679c370
2018-02-16 17:12:13 +01:00
Drew Willcoxon 6e1df9fafb Bug 1438329 - Problem(s) with delayed key handling in urlbar. r=mak
MozReview-Commit-ID: CwvnsLJGgG6

--HG--
extra : rebase_source : 02d640bc1108b2bb976dcee0f52a099614c1bc43
2018-02-16 11:13:21 -08:00
Brendan Dahl 40c81820ad Bug 1418403 - Remove viewing source in a standalone window. r=jryans
Along with removing the view source standalone windows and prefs this patch:
1) Re-structures several of the view source tests that were only testing the old
standalone windows to now test view source in tab.
2) Adds support viewSourceUtils.viewSource() to open a browser window when there
aren't any open (for browser toolbox view source).
3) Cleans up some of the API for viewSourceUtils and removes the old deprecated
ways of calling it.

MozReview-Commit-ID: DI6sgZwbCf

--HG--
extra : rebase_source : 64677186122f74ab95912d5f3f173cf37472458a
2018-02-05 13:33:58 -08:00
Brendan Dahl abf7e1cbe2 Bug 1418403 - Remove old view source window title test. r=jryans
The behavior that this test expects is not the same as when viewing
source in a browser tab.

MozReview-Commit-ID: EwzrCz0VCJY

--HG--
extra : rebase_source : 6e4f994d86527e6608088fb84c1be8870be3c62e
2018-02-05 13:36:21 -08:00
Jim Chen 9cf5255ceb Bug 1438682 - 2. Implement dummy closeConnection; r=esawin
closeConnection is a new API introduced in N. We don't really support it
at the moment but we also don't want the default behavior, so we
implement a dummy.

MozReview-Commit-ID: JY1Tl30X2s7

--HG--
extra : rebase_source : a64371a05aed9db957df2a97da5b23c90760cdb1
2018-02-15 18:06:07 -05:00
Jim Chen a1a66f9c59 Bug 1438682 - 1. Cache initial selection offsets; r=esawin
Getting the selection offsets in onCreateInputConnection can fail
because of us being on a wrong thread. The solution is to cache the last
selection offsets and use those in onCreateInputConnection.

MozReview-Commit-ID: AOlZsuOvzHm

--HG--
extra : rebase_source : 42f35bc60219707fc29db7cc2803f64313806244
2018-02-15 18:06:06 -05:00
Mark Banner d6729b8d28 Bug 1432614 - Remove now unnecessary updating and maintenance of Places' root folder titles. r=kitcambridge,mak
The titles for the root bookmark folders in the database will now never get updated. This
avoids doing maintenance and changing them if the locale changes.

The UI is now responsible for displaying the correct title.

WebExtensions API will get the UI visible names.

MozReview-Commit-ID: ErPPJXxy2d3

--HG--
extra : rebase_source : f08caa5b0d00ae81ffabf4a1076bd56b66414418
2018-01-04 16:35:56 +00:00
Nupur Baghel 9846046d93 servo: Merge #20041 - Added extra bool in Window object to know about its Mutation Observers (from paavininanda:mutflags); r=jdm
<!-- Please describe your changes on the following line: -->
- Added Cell<bool> type variable in Window object to know whether its mutation observers are present/absent
- Added get and set functions for this variable
- Added supporting test files to check for performance

---
<!-- 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 #16936.

<!-- Either: -->
- [x] There are tests for these changes, but these are manual tests for checking correctness of added code

<!-- 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: 4454e81878bfdc8bfdac9a24738b2192102b0456

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 837d8457cd82c711f5ec4d550c45e1e6490b2126
2018-02-16 12:16:55 -05:00
sole a7c710f1f8 Bug 1404877 - Migrate browser_webconsole_bug_658368_time_methods.js to the new frontend. r=nchevobbe
MozReview-Commit-ID: 3Z6097zECDn

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-658368-time-methods.html => devtools/client/webconsole/new-console-output/test/mochitest/test-time-methods.html
extra : rebase_source : 5ad9c572ac391bafdc01605801cfb6928f5d87ef
2018-02-16 14:25:09 +00:00
Oriol Brufau 5f5467402a Bug 1438274 - Fix browser and page actions clearance when navigating r=mixedpuppy
MozReview-Commit-ID: Jb43H65LmFB

--HG--
extra : rebase_source : b6b276f6bd49d1d0387ea150b8ab81b257c14b76
2018-02-15 02:57:53 +01:00
Nicolas Chevobbe 95ed6cf8b9 Bug 1438476 - Fix launchpad configuration for console and netmonitor; r=jdescottes.
Since we don't run babel on the mocha tests anymore, we don't need to have a dedicated
env config in babelrc.
Also, bump min node version in both netmonitor and webconsole since we require async/await
to be supported.
Remove the "devDependencies" from netmonitor as we don't really have any use of it.

MozReview-Commit-ID: Ep4u59TZHAf

--HG--
extra : rebase_source : f3b184c83b063fdf1758b2ed4ecf57dd1b16641d
2018-02-16 14:59:51 +01:00
Nicolas Chevobbe 102570114c Bug 1438476 - Fix mocha tests broken due to React 16 update; r=ochameau.
MozReview-Commit-ID: 9v2sWMSA7pG

--HG--
extra : rebase_source : ace2d358cbcacd18e9eacdd6971cdf51975f118c
2018-02-15 12:27:52 +01:00
Nicolas Chevobbe 7a42afbdc7 Bug 1438476 - Fix and document webconsole test's package.json; r=jdescottes.
There was a few things wrong with new-console-output/test/package.json:
 - It had a dependency on the netmonitor folder, which means that we were
   pulling all the dependencies from netmonitor's package.json, including
   the launchpad, which we don't want. It was done so netmonitor's babelrc
   would find the plugins it needed. This is now fixed by not using babel at all.
   Removing babel allowed us to get rid of NODE_PATH hack which could have been
   harmful. This was doable by modifying the require-hacker callback to rewrite
   all mozilla-central require to absolute path.
 - The complex `test` script command wasn't documented. We now use the "//"
   key to add comments (we have to since we're in a json file), which is ignored
   by npm.
 - We were running some tests from the node_modules folder since our glob
   wasn't restrictive. We now only target folders where we do have mocha tests.
 - As a consequence, we were pulling dependencies that were needed for those
   tests, but not for ours.
 - The Enzyme configuration was done before declaring the require hook, which
   again forced us to pull dependencies that we don't need.

MozReview-Commit-ID: K7NXersnis8

--HG--
extra : rebase_source : 617b67921dd3bddaadc04b0901ece63581b98097
2018-02-16 08:34:53 +01:00
Andrew Halberstadt 794955920a Bug 1437912 - [moztest] Add some missing subsuite definitions, r=gbrown
Since we're adding specific 'task_regexes' for each new suite definition,
this will allow us to schedule tests of these subsuites with
|mach try fuzzy <path>|.

MozReview-Commit-ID: 2mDSneV95lG

--HG--
extra : rebase_source : 467b9d885e92c1c855ed547f2a7496b1062f2dc2
2018-02-16 09:35:25 -05:00
Andrew Halberstadt f249b70e43 Bug 1437912 - [moztest] Map flavors and subsuites to a suite definition, r=gbrown
The end goal here is to be able to use |mach try fuzzy <path>| with tests that
belong to a subsuite. To do this, we need a unique 'task_regex' value for each
subsuite so that we can map a test path back to a set of tasks.

This removes the TEST_FLAVORS dict (which was mostly just a redefinition of the
data in TEST_SUITES), and instead provides two new private mappings:

<flavor> -> suite definition
(<flavor>, <subsuite>) -> suite definition

To retrieve a suite definition given a flavor/subsuite, consumers can now call
get_suite_definition.

MozReview-Commit-ID: 2pe1v1IHUVy

--HG--
extra : rebase_source : 6fff947ba214112ccf16c894174a6a0e2487111a
2018-02-13 14:16:46 -05:00
Andrew Halberstadt 31a703789c Bug 1437912 - [moztest] Make TEST_SUITES aliases case insensitive, r=gbrown
This removes a lot of redundant alias definitions by calling lower() on the
user input. It also adds a couple of new aliases that look like they might
be useful.

MozReview-Commit-ID: 3Aix4LPB8wg

--HG--
extra : rebase_source : c4bdc327bd737a18f03952bb360af35608d091f1
2018-02-15 11:44:44 -05:00
Ursula Sarracini 9c4753f4d6 Bug 1438658 - Allow pktApi.jsm to archive an item r=Mardak
MozReview-Commit-ID: JoTzYy84ZI5

--HG--
extra : rebase_source : ef4f11f414b4c2bd551d3c62ee165ca1d89795e8
2018-02-16 11:38:37 -05:00
Alex Gaynor 07d1a1f5aa Bug 1438209 - fixed Windows builds with the crashreporter disabled; r=ted
Do not pass command line arguments to child processes that they won't read.

MozReview-Commit-ID: soj1hRygNw

--HG--
extra : rebase_source : 13501d2f12a0be910323465f589386e7c956e41a
2018-02-15 10:07:12 -05:00
Kartikaya Gupta 5fc24817cc Bug 1437572 - Update reftest fuzziness from WR PR 2408. r=jrmuizel
MozReview-Commit-ID: 78ORHyYT4Bq

--HG--
extra : rebase_source : 90db4042c7e2c56e0452e79dd40ff688bdc75a0b
2018-02-16 11:02:57 -05:00
Kartikaya Gupta 3e868500aa Bug 1437572 - Update webrender to 4af31b8aa79d5a1f3c0242dea6be4876c71075c5. r=jrmuizel
MozReview-Commit-ID: FdccoNdrEjZ

--HG--
extra : rebase_source : c838d90bb46407194fede80e755901d98d9e9a67
2018-02-16 11:02:20 -05:00
Marco Bonardo 561ed54bf6 Bug 1313188 - Multiple bookmark keywords for same (uri, postData) pair possible. r=kitcambridge,standard8
MozReview-Commit-ID: 662vWkemAMq

--HG--
extra : rebase_source : 830c5e293199d4c28d15bf4f589289d37aeb8a8e
2018-02-06 15:58:31 +01:00
Csoregi Natalia ddab1c3b47 Backed out 2 changesets (bug 1417138) for failing test_message_manager_ipc.html on Android. CLOSED TREE
Backed out changeset 0264b78fe72b (bug 1417138)
Backed out changeset c559b013b025 (bug 1417138)
2018-02-16 20:37:36 +02:00
Emilio Cobos Álvarez c37c40b47d Bug 1436059: Cleanup a bit after ourselves. r=xidorn
on a CLOSED TREE

MozReview-Commit-ID: DWWmdtigIkk
2018-02-16 16:56:26 +01:00
Emilio Cobos Álvarez 37e9a4f2a2 Bug 1436059: Fix inspector. r=xidorn
This removes a hack, but adds slightly more complex code in inspector-only code.

I'm not excited about this code, but this fixes ServoStyleRuleMap for XBL.

MozReview-Commit-ID: 6h0dCsiIWKU
2018-02-16 16:54:55 +01:00
Emilio Cobos Álvarez d39c5388fc Bug 1436059: Make XBL / Shadow DOM use AuthorStyles. r=xidorn
It's just a struct aggregating stylesheets + CascadeData, with a quirks_mode
parameter because XBL sucks so bad.

MozReview-Commit-ID: 7q99tSNXo0K
2018-02-16 16:54:34 +01:00
Emilio Cobos Álvarez 946bc4825a servo: Merge #20061 - style: Make XBL / Shadow DOM use something more light-weight than a Stylist (from emilio:author-styles); r=xidorn
Introduce AuthorStyles, which is just a struct aggregating stylesheets +
CascadeData, with a quirks_mode parameter because XBL sucks so bad.

Bug: 1436059
Reviewed-by: xidorn
MozReview-Commit-ID: 7q99tSNXo0K
Source-Repo: https://github.com/servo/servo
Source-Revision: 504b901cc82db5c5e02e157cec9753f7c297ac2c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 79252144a91938156e03e4bf1be76988a14beeed
2018-02-16 09:54:06 -05:00
Sebastian Hengst 9ccfb5a21c Bug 792808 - switch to webidl XHR: add missing comma detected by eslint. r=eslint-fix on a CLOSED TREE 2018-02-16 17:19:20 +02:00
Thomas Wisniewski c02f2f2b85 Bug 792808 - use XMLHttpRequestBinding::STATE consts in the XHR subclasses and remove XMLHttpRequest::State enum class; r=baku
MozReview-Commit-ID: HcP9oEzOnub

--HG--
extra : rebase_source : 794ed0897508f3e0e5f9ccc794cfe745bb9468b0
2017-11-19 23:00:10 -05:00
Thomas Wisniewski 7c05457e0d Bug 792808 - Purge nsIXMLHttpRequest, nsIXMLHttpRequestUpload, nsIXMLHttpRequestEventTarget, nsIXHRSendable XPCOM interfaces; r=baku
MozReview-Commit-ID: 8yzCXSeyO85

--HG--
extra : rebase_source : 80f2a96df1e250ad646a20271b7d3dbebf7774e4
2017-11-19 17:11:41 -05:00
Thomas Wisniewski bd0b3ab10a Bug 792808 - Migrate BodyExtractor away from using nsIXHRSendable; r=baku
MozReview-Commit-ID: 1fNcm1mPJJB

--HG--
extra : rebase_source : 443ad7309f2e6a064b54466ece967ced0c3155ea
2017-09-19 21:32:12 -04:00
Thomas Wisniewski 4476561b7d Bug 792808 - Migrate nsXMLParseEndListener away from nsIXMLHttpRequest interfaces; r=baku
MozReview-Commit-ID: 14Lxuj37GdJ

--HG--
extra : rebase_source : ac146258773810adf01ba05f14d0901b0f5ad663
2017-09-25 22:20:26 -04:00
Thomas Wisniewski 73df5c19c6 Bug 792808 - Migrate XMLHttpRequestWorker away from using other nsIXMLHttpRequest interfaces; r=baku
MozReview-Commit-ID: IiaaeNyNSDv

--HG--
extra : rebase_source : a164b1486f43dbe15f468539a7bae566010d9859
2017-09-27 11:35:30 -04:00
Thomas Wisniewski 284a7bbf1d Bug 792808 - Migrate XMLHttpRequestWorker from using the XMLHttpRequestEventTarget and nsIXMLHttpRequestUpload interfaces; r=baku
MozReview-Commit-ID: BeCDNvY94dQ

--HG--
extra : rebase_source : 154c8c0f8c7b3490428dd3d5f51a7cd8aa14b483
2017-09-24 18:20:10 -04:00
Thomas Wisniewski b63ef5b534 Bug 792808 - Migrate XMLHttpRequestWorker from using the nsIVariant send() XHR method; r=baku
MozReview-Commit-ID: DGSy3kdh8uH

--HG--
extra : rebase_source : fb3271f09994485f03ac13b84b46e36a00ca69c8
2017-09-28 17:24:32 -04:00
Thomas Wisniewski 1a7374f71c Bug 792808 - Migrate XMLHttpRequestMainThread away from needing nsIXMLHttpRequest's constants; r=baku
MozReview-Commit-ID: 1yaM9DAKPW7

--HG--
extra : rebase_source : b81366e7572ddf4da342ca40016de54bc8a6fd33
2017-09-24 14:08:38 -04:00
Thomas Wisniewski 16742d6e24 Bug 792808 - Change test_SpecialPowersExtension.html to import and instantiate XHRs from global properties rather than using Cc.createInstance(Ci.nsIXMLHttpRequest); r=mrbkap
MozReview-Commit-ID: JW37fmAuxE2

--HG--
extra : rebase_source : 4b2a3e05f619332f9fdeb42190e9253ad6e9a26d
2017-09-19 12:18:59 -04:00
Thomas Wisniewski 1966e88a4a Bug 792808 - Change pktApi.jsm to import and instantiate XHRs from global properties rather than using Cc.createInstance(Ci.nsIXMLHttpRequest); r=Gijs
MozReview-Commit-ID: 8jdzIb95MmB

--HG--
extra : rebase_source : 34383e0d7a6279e82cde23a3e93c69a001c6fe93
2017-09-19 12:18:20 -04:00
Thomas Wisniewski 38494f65a3 Bug 792808 - Change PdfStreamConverter.jsm to import and instantiate XHRs from global properties rather than using Cc.createInstance(Ci.nsIXMLHttpRequest); r=mossop
MozReview-Commit-ID: 3dj92XGY1G2

--HG--
extra : rebase_source : c2567ca292d91a65e23c5a22729f3eb20071575a
2017-09-19 12:17:59 -04:00
Thomas Wisniewski dd793ee47a Bug 792808 - Change asan-reporter bootstrap script to import and instantiate XHRs from global properties rather than using Cc.createInstance(Ci.nsIXMLHttpRequest); r=froydnj
MozReview-Commit-ID: GwciLYuTG3G

--HG--
extra : rebase_source : 7687aeba58c0b035ca0314379e0d199ed35a4ebf
2017-09-19 12:17:39 -04:00
Thomas Wisniewski 7b962d7fdd Bug 792808 - Change browser/[components|modules|experiments] to import and instantiate XHRs from global properties rather than using Cc.createInstance(Ci.nsIXMLHttpRequest); r=mconley
MozReview-Commit-ID: 66ubjdJssU9

--HG--
extra : rebase_source : 58b161234b7c94d568d368acbea5eb141a5d7ca7
2017-09-19 12:17:10 -04:00
Thomas Wisniewski 9abe8a6b3b Bug 792808 - Change js/xpconnect to import and instantiate XHRs from global properties rather than using Cc.createInstance(Ci.nsIXMLHttpRequest); r=bz
MozReview-Commit-ID: DZZ9NUysT5I

--HG--
extra : rebase_source : 00b248d242c38a1cd70535aa357b284ba60732b4
2018-01-21 14:46:11 -05:00
Thomas Wisniewski 14c2bbe588 Bug 792808 - Change mobile/android/ to import and instantiate XHRs from global properties rather than using Cc.createInstance(Ci.nsIXMLHttpRequest); r=sebastian
MozReview-Commit-ID: JHIHB11vdWL

--HG--
extra : rebase_source : ac365f5a97f5b2c8ddfcda1d5444dbd4cc6a240e
2017-09-19 12:05:47 -04:00