Commit Graph

551956 Commits

Author SHA1 Message Date
Masayuki Nakano
71cc15557e Bug 1387406 - part5: nsXBLWindowKeyHandler should treat editor as HTMLEditor r=smaug
Editor treated in nsXBLWindowKeyHandler is always HTMLEditor.  So, it should treat the editor as is.

MozReview-Commit-ID: 7uE2p8t5cNW

--HG--
extra : rebase_source : 66b2f42d9d0281f4a244f9cd1ceb077e32ac3515
2017-08-07 15:08:02 +09:00
Masayuki Nakano
9bd3a7d128 Bug 1387406 - part4: nsFrameLoader should treat editor as HTMLEditor r=smaug
Editor treated in nsFrameLoader is always HTMLEditor.  So, it should treat the editor as is.

MozReview-Commit-ID: 7bZMbLGKsED

--HG--
extra : rebase_source : 47c22423062cd724551ad3b4fde168e03891b4c7
2017-08-07 15:02:16 +09:00
Masayuki Nakano
bc9b8f0f01 Bug 1387406 - part3: nsFocusManager should treat editor as HTMLEditor r=smaug
Editor treated by nsFocusManager is always HTMLEditor.  So, it should treat the editor as is.

MozReview-Commit-ID: Di1k2dlLodV

--HG--
extra : rebase_source : 49abc56f0a271cdf559adde468d8460ab1ba7aac
2017-08-07 14:55:58 +09:00
Masatoshi Kimura
706ca23396 Bug 1387788 - Remove [deprecated] methods from nsIJSON. r=Ehsan
MozReview-Commit-ID: 9OsQacbPsFo

--HG--
extra : rebase_source : 8c905a48306e957026af9dd8fcbf83eae41b8a38
2017-08-06 10:25:15 +09:00
Dão Gottwald
407f690fc8 Bug 1369415 - Share bookmarks toolbar styling to remove cross-platform inconsistencies, adjust bottom padding on Mac to compensate border. r=johannh
MozReview-Commit-ID: CTMPI5Yp0nJ

--HG--
extra : rebase_source : 0dd245de9aa2be3d58177b932e30fdd2c7f4fa41
2017-08-09 13:22:02 +02:00
Masayuki Nakano
032d6a0a9c Bug 1387406 - part2: nsIDocShell should have GetHTMLEditor() and SetHTMLEditor() r=smaug
C++ code should be accessible to editor of nsDocShell.  However, nsIDocShell needs to have the methods.  Therefore, this patch assumes that nsDocShell is the only subclass of nsIDocShell and creates 2 inline methods to access nsDocShell methods.

MozReview-Commit-ID: ByXtTB5X4cB

--HG--
extra : rebase_source : d68e407e35fa7c6f528ad325fa7925f83f962573
2017-08-04 22:12:03 +09:00
Masayuki Nakano
339262dc41 Bug 1387406 - part1: nsDocShellEditorData should store editor as HTMLEditor r=smaug
The editor stored by nsDocShellEditorData should be always HTMLEditor.  So, it should store the editor as HTMLEditor and its getter and setter should treat the editor as HTMLEditor too.

MozReview-Commit-ID: GgfCd3zB887

--HG--
extra : rebase_source : 6c838a68911d47dce3aaf2dfc8bc6848e186e562
2017-08-04 21:42:13 +09:00
Andrew Halberstadt
eb06963c9e Bug 1379151 - Add --fix and --edit to mozlint, r=standard8
While --fix previously worked with eslint, it is now more official (will show
up in the |mach lint --help|).  ESlint is still the only thing that implements
it, but we can implement it for flake8 using the `autopep8` module.

--edit is a new concept that will open an editor for each failing file to let
you fix the errors manually.  For now it is very naive (just opens the file),
and is only really useful if you have an editor integration for the linter(s).
But in the future I'd like to have editor-specific implementations for this.
For example, with vim, we can use -q to pass in an error file that will start
the editor pre-populated with a list of all errors that can then be easily
jumped to. Other editors may just open up to the line containing the error.

--fix and --edit can be used in conjunction with one another. Doing that means
only errors that can't be fixed automatically will show up in your editor.


MozReview-Commit-ID: 5JJJhMIrMIB

--HG--
extra : rebase_source : 889c825dcde5e950e35bc64539b299988f82ac68
2017-08-10 09:21:17 -04:00
Gijs Kruitbosch
e105c93b98 Bug 1377967 - make middle clicking history, bookmarks and closed tabs items work correctly, r=mikedeboer
MozReview-Commit-ID: VQUuQHyCXi

--HG--
extra : rebase_source : 75e148a49ed86e1c979991daa43d31cfbf9511e0
2017-08-09 21:04:27 +01:00
Gijs Kruitbosch
12b877d713 Bug 1388753 - unbreak bookmarks/history item clicks and tidy up code in browserPlacesViews.js, r=mikedeboer
MozReview-Commit-ID: 1vjP6IeIiPz

--HG--
extra : rebase_source : 1bf36537326b86fff6e3db814908cb64aaad3e57
2017-08-09 18:02:36 +01:00
Martin Robinson
3e53d1d19e servo: Merge #18038 - Remove an unused DisplayListBuildState member (from mrobinson:removed-unused-db-builder-state-member); r=emilio
I'm not sure this member was ever used.

<!-- 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 this shouldn't 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: 53c6f8ea8bf1002d0c99c067601fe070dcd6bcf1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8c9d8bb7c5b7f3870d203e094aa477ae37d68031
2017-08-10 07:13:00 -05:00
Justin Wood
835ae13672 Bug 1387862 - Add yaml lint to the taskgraph. r=ahal,dustin
We should have CI Lint YAML files in the tree.

MozReview-Commit-ID: GN5pOJCXvnz

--HG--
extra : rebase_source : 1dd718a44d103f8c4e25736a7373a342d00e0152
2017-08-06 13:52:24 -04:00
Justin Wood
20a660940c Bug 1387862 - Lint the linter config yaml files themselves. r=ahal
We should have CI Lint YAML files in the tree.

MozReview-Commit-ID: F8hTBerSNIj

--HG--
extra : rebase_source : 87f84b855f29b5625bacae5c199d99d144c02bc8
2017-08-06 13:47:03 -04:00
Justin Wood
8d2bd44930 Bug 1387862 - Lint NSS's taskcluster.yml. r=dustin
We should have CI Lint YAML files in the tree.

MozReview-Commit-ID: ATX5IOK747y

--HG--
extra : rebase_source : c7a5a0e7a33a6a52ec92d6d6fd8a7c35bfdfa5c0
2017-08-06 13:44:41 -04:00
Justin Wood
f66ff278ca Bug 1387862 - Lint python/mozlint yaml files. r=ahal
We should have CI Lint YAML files in the tree.

MozReview-Commit-ID: IMOKGhxKFJW

--HG--
extra : rebase_source : 8c695dcb3a81b6683bc76ba663feeacb3126691e
2017-08-06 13:43:04 -04:00
Justin Wood
5b369e18a4 Bug 1387862 - Lint taskcluster's cron.yml file, fixup lint errors. r=dustin
We should have CI Lint YAML files in the tree.

MozReview-Commit-ID: 758kdSddjJN

--HG--
extra : rebase_source : d538b8400a92d14ab6b397f33327619e885106cc
2017-08-06 13:35:27 -04:00
Justin Wood
3f653d8d9b Bug 1387862 - Lint taskcluster yaml files. r=dustin
We should have CI Lint YAML files in the tree.

MozReview-Commit-ID: L83j6SODA3w

--HG--
extra : rebase_source : afb1a26e4a6819fc326f3bd1e9b856d6104597a8
2017-08-06 13:26:13 -04:00
Justin Wood
b09ed76339 Bug 1387862 - Add initial support for ./mach lint -l yaml r=ahal,dustin
We should have CI Lint YAML files in the tree.

MozReview-Commit-ID: HYVWXzNnnzG

--HG--
rename : tools/lint/flake8_/__init__.py => tools/lint/yamllint_/__init__.py
extra : rebase_source : f4919be1341f6081b99d8b122004f9c2978cc677
2017-08-06 13:23:48 -04:00
Kartikaya Gupta
9d6afca9fb Bug 1388833 - Force-enable hardware acceleration for test suites that enable WebRender, because HWA is now a WR requirement. r=ahal
MozReview-Commit-ID: EtUdSeDCmFZ

--HG--
extra : rebase_source : 50472e3478d55bec36a1067d3e566ab2ac79c565
2017-08-09 16:23:04 -04:00
Sebastian Hengst
19fae7e07d Backed out changeset 98c08b9cc52e (bug 1387862) for linting failure at .cron.yml:51 (too few spaces). r=backout 2017-08-10 14:30:46 +02:00
Sebastian Hengst
65a53b0bca Backed out changeset a86a804e64ee (bug 1387862) 2017-08-10 14:29:59 +02:00
Sebastian Hengst
88b3637c8c Backed out changeset c13bd0798514 (bug 1387862) 2017-08-10 14:29:54 +02:00
Sebastian Hengst
ca07202265 Backed out changeset 103073e92350 (bug 1387862) 2017-08-10 14:29:48 +02:00
Sebastian Hengst
33266b5810 Backed out changeset 9e1723c2e1c9 (bug 1387862) 2017-08-10 14:29:43 +02:00
Sebastian Hengst
ce4158f736 Backed out changeset 57176d7ff82a (bug 1387862) 2017-08-10 14:29:37 +02:00
Sebastian Hengst
7fbb1a06db Backed out changeset 155c5392cac2 (bug 1387862) 2017-08-10 14:29:32 +02:00
Masatoshi Kimura
6815cee2bd Bug 1387790 - Remove [deprecated] decodeImageData from imgITools. r=tnikkel
MozReview-Commit-ID: GZBYTPanHH6

--HG--
extra : rebase_source : f6ccc1a661533f7bdba8bb33bc9a85855b51ffae
2017-08-06 10:54:14 +09:00
Justin Wood
3a780753fe Bug 1387862 - Add yaml lint to the taskgraph. r=ahal,dustin
We should have CI Lint YAML files in the tree.

MozReview-Commit-ID: GN5pOJCXvnz

--HG--
extra : rebase_source : bc3b66985549ca52d47832753764bad5d556f388
2017-08-06 13:52:24 -04:00
Justin Wood
1a5e403ed2 Bug 1387862 - Lint the linter config yaml files themselves. r=ahal
We should have CI Lint YAML files in the tree.

MozReview-Commit-ID: F8hTBerSNIj

--HG--
extra : rebase_source : 2d1d3d8d98fd3f0abe3494c49ad01072181c4e08
2017-08-06 13:47:03 -04:00
Justin Wood
6f775a5e66 Bug 1387862 - Lint NSS's taskcluster.yml. r=dustin
We should have CI Lint YAML files in the tree.

MozReview-Commit-ID: ATX5IOK747y

--HG--
extra : rebase_source : 24583ac74033923f0e4bcf6053169f09ef76b833
2017-08-06 13:44:41 -04:00
Justin Wood
582030b224 Bug 1387862 - Lint python/mozlint yaml files. r=ahal
We should have CI Lint YAML files in the tree.

MozReview-Commit-ID: IMOKGhxKFJW

--HG--
extra : rebase_source : a2e47f5c5517e999fe21bac4f86491611bd0cece
2017-08-06 13:43:04 -04:00
Justin Wood
687c9e4240 Bug 1387862 - Lint taskcluster's cron.yml file, fixup lint errors. r=dustin
We should have CI Lint YAML files in the tree.

MozReview-Commit-ID: 758kdSddjJN

--HG--
extra : rebase_source : 8c8d55ea55737a5c2faca9f91478c72296c881b7
2017-08-06 13:35:27 -04:00
Justin Wood
b987f769d1 Bug 1387862 - Lint taskcluster yaml files. r=dustin
We should have CI Lint YAML files in the tree.

MozReview-Commit-ID: L83j6SODA3w

--HG--
extra : rebase_source : b5aee7a53c2fe25381116e45a4475d66ebba2903
2017-08-06 13:26:13 -04:00
Justin Wood
143c24a47a Bug 1387862 - Add initial support for ./mach lint -l yaml r=ahal,dustin
We should have CI Lint YAML files in the tree.

MozReview-Commit-ID: HYVWXzNnnzG

--HG--
rename : tools/lint/flake8_/__init__.py => tools/lint/yamllint_/__init__.py
extra : rebase_source : 54460179e51f6263099a6837e1111dcce05a9331
2017-08-06 13:23:48 -04:00
Dão Gottwald
cace993d34 Bug 1389008 - Stop centering the tab label on Mac. r=nhnt11
MozReview-Commit-ID: HLE3RQilyUp

--HG--
extra : rebase_source : 7c7c46e480b8c43ae93d4a8d21aa1267d9f77563
2017-08-10 09:50:09 +02:00
Mark Banner
bae2e447d0 Bug 1314670 - Update browser_google_behavior.js to use the same test structure as browser_searchEngineBehaviors.js. r=florian
MozReview-Commit-ID: 7hBEfgn6duc

--HG--
extra : rebase_source : 431c8cc61ace12524bc3c91e5d18b1d6a3d62024
2017-08-09 07:41:51 +01:00
Mark Banner
a4d10c3b1b Bug 1314670 - Merge the browser_*behavior.js tests into the new tests. r=florian
Excluding Google due to it not being able to run in artifact builds.

MozReview-Commit-ID: B15iW1iC2Lk

--HG--
extra : rebase_source : 8fd72f92717b166fc03e9bd2111ce02979327502
2017-08-09 09:38:15 +01:00
Sylvestre Ledru
db963af2af bug 1320656 - Disable the failure on -Wnoexcept-type until we have a proper fix r=glandium
MozReview-Commit-ID: HeDMTxopx9V

--HG--
extra : rebase_source : 8df61de8f024bab38909826ca714e554c4b0bb49
2017-08-04 14:27:14 +02:00
Brad Werth
4e918570ee Bug 1387243 Part 1: Split nsDocument::EndLoad into a part that runs unconditionally, and a part that runs only when there is a matching BeginLoad call. r=bz
MozReview-Commit-ID: 8Pn6i2f0cez

--HG--
extra : rebase_source : 21897c0ea16d263c297783a6393ee7725c1106c9
2017-08-03 16:27:22 -07:00
Doug Thayer
a70aac6a11 Bug 1388748 - Don't resize histogram ranges on init r=gfritzsche
We were using std::vector::assign, which resizes the vector to
match the incoming data. This isn't what we want, as ranges_ has
already been sized to bucket_count_ + 1. Instead, just use a
copy.

MozReview-Commit-ID: EGuW5jj7Rpq

--HG--
extra : rebase_source : 616d61fc27c7e43c22ea69e11e070ba958bf20a9
2017-08-09 10:21:09 -07:00
Wes Kocher
3c7cc8f012 Backed out changeset d4cc2f1e5c48 (bug 1387077) for windows debug crashtest failures a=backout
MozReview-Commit-ID: kEMoucDCJY
2017-08-10 15:46:38 -07:00
Thom Chiovoloni
9c7fb28561 Bug 1372927 - Show mobile bookmarks folder in places organizer for sync users even if they have no mobile bookmarks. r=markh
This commit also makes a change to test_ensureMobileQuery in test_sync_utils.js
so that it actually runs (previously it had a typo in an import path that was
imported in a try/catch).

MozReview-Commit-ID: Kj8vqKpFi51

--HG--
extra : rebase_source : 48ac8f203bd800fce3128693ba5627ce13b3f4c9
2017-08-08 17:56:33 -04:00
Bryce Van Dyk
2132f1c772 Bug 1275856 - Expand MediaRecorder tests to check stack traces when MediaRecorderErrorEvent is fired. r=jib
MozReview-Commit-ID: 6NnaHt24ecz

--HG--
extra : rebase_source : db836fef72f63ae469f6672362e7418e045f8cb5
2017-08-09 19:55:54 +12:00
Bryce Van Dyk
575792962a Bug 1275856 - Capture MediaRecorder DOMExceptions early in order to capture JS traces. r=jib
In order to expose the JS stack on aync exceptions from the MediaRecorder,
these exceptions must be created at the time of the operation which led to the
exception. E.g. during the start() operation. This changeset creates the
exceptions ahead of time in order to expose the JS stack traces.

MozReview-Commit-ID: HgDJrpjgidD

--HG--
extra : rebase_source : e7ad0b2a30ac2e7161d3805a22b3873a7382b43b
2017-08-07 09:49:24 +12:00
Jonathan Watt
3d364409fe Bug 1388939, part 8 - Remove nsFrameManager::GetDisplayContentsNodeFor and rewrite its caller to use other APIs. r=dholbert
MozReview-Commit-ID: 6S4MpwBlrjj
2017-08-02 09:56:28 +01:00
Bill McCloskey
a7bc022071 Bug 1384336 - Stop using OS-level event loop in content process (r=mstange)
MozReview-Commit-ID: 1ouSlgGchWl
2017-08-09 21:24:20 -07:00
Bill McCloskey
81720f1abb Bug 1384336 - Fix to MainThreadInvoker to avoid deadlocks (r=aklotz)
When removing our Windows message loop pumping code in the content
process, a11y code on the MTA thread must have some way to wake up the
main thread. The main thread could be blocked either on a conditional
variable waiting for a Gecko event, or it could be blocked waiting on
a Windows HANDLE in IPC code (doing a sync message send). In the
former case, we wake it up by posting an event to the main thread. In
the latter case, we continue to use the asynchronous procedure call
mechanism.

MozReview-Commit-ID: FN6KWaGo9Zl
2017-08-09 21:24:20 -07:00
Kris Maglione
035c1ac303 Bug 1388954: Remove usages of deprecated SDK modules in DAMP tests. r=bgrins
MozReview-Commit-ID: EqkHiEX2PNr

--HG--
extra : rebase_source : f6d47bd852803d8080a0eb2a0c33ce1b7804a84d
2017-08-09 19:39:32 -07:00
Kris Maglione
17c06c8829 Bug 1350646: Part 21 - Remove SDK api-utils and dependent modules. r=Mossop
MozReview-Commit-ID: L6tBQ3YdgEI

--HG--
extra : source : c3108aebee35c4fc2ac04ea19fd17534bf606d64
2017-08-05 22:54:47 -07:00
Kris Maglione
fccad00d16 Bug 1350646: Part 20 - Remove remaining SDK content modules. r=Mossop
MozReview-Commit-ID: EJXQo7yj2NJ

--HG--
extra : source : ee8f7fa9d4102d6b20e8e541b954be7d5290b3e8
2017-08-05 22:50:30 -07:00