Commit Graph

543951 Commits

Author SHA1 Message Date
Boris Zbarsky
9dedd10909 Bug 1369321. Make sure to restyle from all our style roots when rebuilding all style data with stylo. r=bholley
MozReview-Commit-ID: 5pghPVb2UY1

--HG--
extra : rebase_source : 8c2e5c8be9e0dc7b00ee74c9b87498c9541191ef
2017-06-21 15:52:56 -04:00
Justin Wood
55e6255d1c Bug 1374422 - Fix devedition test pointer, from bitrot bustage. r=Callek (myself) a=Kwierso
MozReview-Commit-ID: GotT0cx89J7

--HG--
extra : amend_source : 54c6d70e4108c91cf8a6a0c90a69b10cb440e9bb
2017-06-21 14:27:03 -04:00
Justin Wood
914d3e869b Bug 1374422 - Enable OSX Cross Compiled Nightlies. r=kmoir
MozReview-Commit-ID: D6LYYSDtW9v

--HG--
extra : source : ce1d7934fb0aaa43bc43830bde6ed7dc66f4bef1
2017-06-21 12:49:05 -04:00
flyingrub
18ee3d53b5 Bug 1373823 - Fix about:telemetry data preferences change button in beta55 r=chutten
MozReview-Commit-ID: Ht6iBBEDEtP

--HG--
extra : rebase_source : 2717a671af8a75ce97d7eba16f37929cbc645db6
2017-06-21 17:17:00 +02:00
Benjamin Bouvier
771e53e98e Bug 1370696: Use register state unwinding when interrupting within wasm; r=luke
MozReview-Commit-ID: 76RM1Gf0eAo

--HG--
extra : rebase_source : 60b3d43ebe5af0c88ae14e2f685f761012672110
extra : histedit_source : 882ad83e6b5033a08b1045892ab3f3b13b38c5b1
2017-06-21 12:19:33 +02:00
Benjamin Bouvier
99a29014d5 Bug 1370696: Factor out register state unwinding to its own function; r=luke
MozReview-Commit-ID: 2bxBr3P6cO7

--HG--
extra : rebase_source : 656832e5987385777294cf3eb77565d04f056a05
extra : histedit_source : 10c5bce022ad4501e3f8c91bc11605f8f03f6cb5
2017-06-21 12:19:23 +02:00
JW Wang
1dbf0f77fa Bug 1376227. P2 - remove unused code following P1. r=gerald
MozReview-Commit-ID: JbwY1Owtk7H

--HG--
extra : rebase_source : 0f82ac16f56ce6ba27944b093b49c8ff6479e66c
extra : intermediate-source : 38c1c8a70fb0209f8c6a3ca596664db9af089763
extra : source : 7cfe394c4790ca7687db9004c96380f088c2bb59
2017-06-21 17:34:22 +08:00
JW Wang
884c26d368 Bug 1376227. P1 - let MediaDecoder sub-classes have the knowledge how to create a MediaResource. r=gerald
MozReview-Commit-ID: 2fHEkU46MUr

--HG--
extra : rebase_source : 18f5b01a065d6acbdc88ce808f8bd1e8e462e8d7
extra : intermediate-source : e003e070535d95f7e6334f4a92d6d763d436023c
extra : source : 450d506c6bb85f53b44fed296a32845bcd777905
2017-06-21 17:30:56 +08:00
Masayuki Nakano
253c8f2129 Bug 1361132 TSFTextStore::GetSelection() shouldn't return if it runs on Win10 Anniversary Update or later r=m_kato
This is remaining cases of bug 1312302.  TSF may set focus to context when it receives focus related message.  In such case, TSF tries to retrieve selection but TSFTextStore::GetSelection() returns E_FAIL due to still not initialized, TSF crashes.

This patch moves the hack to TSFTextStore::GetSelection() and restrict to work only on problematic versions of Windows 10.

MozReview-Commit-ID: 6cTiZ4HCO18

--HG--
extra : rebase_source : 733377be55d52c43ef90d6e949cb851cf4c6dcb2
2017-06-22 20:07:10 +09:00
Sebastian Hengst
a18bb2c61e Backed out changeset eae501f2729b (bug 1374852) for failing browser_openPreferences.js. r=backout 2017-06-26 04:43:39 +02:00
DimiL
9814af0253 Bug 1335943 - Use the right origin attribute in Safe Browsing completions. r=francois
MozReview-Commit-ID: 8HQHzuwE5Cf

--HG--
extra : rebase_source : d6c57eb6b4d16898ca0f067052d8e9064c24c3a5
2017-06-21 17:27:22 +08:00
Makoto Kato
19d01399e6 Bug 1360162 - Don't call UpdateOverlayTextVisibility twice by input.value setter when input element has focus. r=masayuki
When editor has focus, input.value setter will call UpdateOverlayTextVisibility via nsTextInputListener::EditAction -> nsTextControlFrame::SetValueChanged at first.  But SetValue will call UpdateOverlayTextVisibility again via ValueWasChanged.

So it is unnecessary to call UpdateOverlayTextVisibility on nsTextEditorState::SetValue when we have the editor.

MozReview-Commit-ID: Hw3Bh64Euo6

--HG--
extra : rebase_source : f33132e668fff48230f79990802a3d7e23e85207
2017-06-21 13:10:58 +09:00
Phil Ringnalda
2b19da6e08 Backed out 2 changesets (bug 1357641) for Windows failures in browser_newtab_focus.js
Backed out changeset eb0d8a0d77e7 (bug 1357641)
Backed out changeset 9c86446d0a75 (bug 1357641)

MozReview-Commit-ID: 9PyFoOakveS
2017-06-21 22:05:23 -07:00
Phil Ringnalda
669f3cd603 Merge m-c to autoland
MozReview-Commit-ID: 2R3jZZI6drP
2017-06-21 20:39:08 -07:00
Cameron McCormack
902f16605c Bug 1291515 - Part 2: Disable pref for <style scoped>. r=dbaron
MozReview-Commit-ID: 8rBHsSTK9SG

--HG--
extra : rebase_source : db36cfa8139ceb53811239b8ddd800f3d08d6698
2017-06-21 09:30:52 +08:00
Cameron McCormack
fab1072b7f Bug 1291515 - Part 1: Introduce a pref for <style scoped>. r=bholley,dbaron
MozReview-Commit-ID: 1J9IvPrC0xh

--HG--
extra : rebase_source : 4a3da0dc41ec71d2804e6f8a778613e8749940be
2017-06-21 09:25:43 +08:00
Harvey Hunt
1b9fe429b2 servo: Merge #17514 - deny_public_fields: display field identifier in help message (from HarveyHunt:deny-public-fields-error-message); r=jdm
Use a binding's field identifier to produce more descriptive output.
Fall back to a binding's identifier if a field identifier is not
available.

Additionally, make the privatize.rs compiletest more specific and
wrap the identifier in backticks to aid readability.

As an aside, should I send a PR to rename ```compile-fail/privatize.rs``` to ```compile-fail/deny_public_fields.rs``` as privatize isn't mentioned in the codebase any more?

```
$ find . -name "*privatize*"
./tests/compiletest/plugin/compile-fail/privatize.rs
```

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

<!-- Either: -->
- [x] There are tests for these changes

<!-- 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: 3f2d7476890bffdaad6fdc0e66aa7ac7bc995a87

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b170b7dc790815fce9081f9765b07a159432def5
2017-06-25 10:45:42 -07:00
Jeremy Lempereur
9e826bc61e servo: Merge #17383 - #17363 : Passing ProfilerChan by reference to the send_profile_data method (from o0Ignition0o:profiler_chan_by_reference); r=jdm
<!-- Please describe your changes on the following line: -->
Passed the ProfilerChan by reference to the send_profile_data method.

I wonder if I should also refactor the
`pub fn profile<T, F>(category: ProfilerCategory, meta: Option<TimerMetadata>, profiler_chan: ProfilerChan, callback: F) -> T where F: FnOnce() -> T method ` , but I don't feel confident enough to make the call, since I don't really understand what it would imply.

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because the project would not compile if there were missing by reference calls.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 79e9240a4279e5bf6fa0ac2c835572493926183c
2017-06-25 09:06:28 -07:00
Sebastian Hengst
dfc1ad2562 Backed out changeset 7235d05662b0 (bug 1373984) for Android bustage. r=backout on a CLOSED TREE 2017-06-25 18:30:13 +02:00
Ricky Chien
0ad2b2c56f Bug 1374852 - Visiting preferences should always focus on search field r=jaws
MozReview-Commit-ID: I7mnm5EkeIg

--HG--
extra : rebase_source : 7dc67a6f1e21ee284e8234ed799c3ce3b60264f3
2017-06-22 14:59:51 +08:00
Nicholas Nethercote
f1364a75ea Bug 1374580 (part 3) - Remove ns{,C}Substring typedefs. r=froydnj.
All the instances are converted as follows.

- nsSubstring  --> nsAString
- nsCSubstring --> nsACString

--HG--
extra : rebase_source : cfd2238c52e3cb4d13e3bd5ddb80ba6584ab6d91
2017-06-20 19:19:52 +10:00
Nicholas Nethercote
fe9268c4cd Bug 1374580 (part 2) - Remove nsAFlat{,C}String typedefs. r=froydnj.
All the instances are converted as follows.

- nsAFlatString  --> nsString
- nsAFlatCString --> nsCString

--HG--
extra : rebase_source : b37350642c58a85a08363df2e7c610873faa6e41
2017-06-20 19:19:05 +10:00
Nicholas Nethercote
1572f96f5d Bug 1374580 (part 1) - Remove nsASingleFragment{,C}String typedefs. r=froydnj.
All the instances are converted as follows.

- nsASingleFragmentString  --> nsAString
- nsASingleFragmentCString --> nsACString

--HG--
extra : rebase_source : e6a1ddc8938fecd9a735b15e872c054edf4c7910
2017-06-20 19:18:17 +10:00
Chris Peterson
2072b6b9f1 Bug 1375699 - Only define the Stylo pref if Stylo support is actually built in. r=bholley
And fix animation_utils.js test code to handle the case when the pref is not defined.

MozReview-Commit-ID: 7wsPwtcvKqV

--HG--
extra : rebase_source : 58cbc660d6f493e54b6678d7da76866dd5c627a8
2017-06-22 16:03:22 -07:00
Phil Ringnalda
3b305b4a7d Backed out 2 changesets (bug 1373007) for failing to mark the unexpected passes on OS X
Backed out changeset 667c5d2b3f77 (bug 1373007)
Backed out changeset 730c95f8ee15 (bug 1373007)

MozReview-Commit-ID: 4qbmDgXpmbJ
2017-06-22 21:32:38 -07:00
David Anderson
5e5166d309 Add memory reporting. (bug 1365879 part 26, r=mattwoodrow)
--HG--
extra : rebase_source : a19fc78fb107d6899244632d18cdb654a4bae8e9
2017-06-22 21:12:21 -07:00
David Anderson
d20399cabd Add an acceleration test for Advanced Layers on Windows. (bug 1365879 part 25, r=milan)
--HG--
extra : rebase_source : 4f8844321fa74328c4c18bc1ba1abaaa56882df9
2017-06-22 21:12:21 -07:00
David Anderson
a3a1ca6937 Add Advanced Layers to the reftest sandbox. (bug 1363879 part 24, r=mattwoodrow)
--HG--
extra : rebase_source : f5014d9533cb7f160192c9ec43c4822dc155b078
2017-06-22 21:12:21 -07:00
David Anderson
3e221849c1 Add Telemetry environment and failure tracking for Advanced Layers. (bug 1365879 part 23, r=milan, data_r=bsmedberg)
--HG--
extra : rebase_source : 607bda151930c9c24e3ce7b89ca585606e8bb44d
2017-06-22 21:12:20 -07:00
David Anderson
52d5447f23 Add Advanced Layers to the compositor line in about:support. (bug 1365879 part 22, r=milan)
--HG--
extra : rebase_source : 123d4190c0343b60491f34757b26532b9def5075
2017-06-22 21:12:20 -07:00
David Anderson
0505938414 Add MLGPU feature bits and compositor initialization. (bug 1365879 part 21, r=mattwoodrow)
--HG--
extra : rebase_source : 3d8d1a9619d997a2de9eea4e734a0457cd326e91
2017-06-22 21:12:19 -07:00
David Anderson
8eb9963527 Initial import of Advanced Layers. (bug 1365879 part 20, r=bas)
--HG--
extra : rebase_source : 57032a3e3d383c27cfdc2f26841d387ca57d0011
2017-06-22 21:12:19 -07:00
Jeff Muizelaar
b9527d4f81 Bug 1374900. Replace CopyRecording with direct use of the memory buffer. r=lsalzman 2017-06-22 23:55:47 -04:00
Jeff Muizelaar
8e3a8d7ea1 Bug 1374900. Rewrite DrawEventRecorderMemory to use the MemStream infrastructure. r=lsalzman 2017-06-22 23:55:47 -04:00
Jeff Muizelaar
cf684af118 Bug 1374900. Replace MemWriter with a MemStream implementation. r=lsalzman
This is much faster than using a stringstream for a couple of reasons:
1. ostream needs to do a virtual call on each write which means that
   it can't be inlined.
2. stringstream needs to check for resize every write(). We combine
   those checks into a single one.
2017-06-22 23:55:47 -04:00
Jeff Muizelaar
75d68e196f Bug 1374900. Add MemWriter r=lsalzman
Add a dummy RecordToStream() implementation that supports something other than
istream. This makes a couple of places more generic to support this.
2017-06-22 23:55:47 -04:00
Jeff Muizelaar
4f96690374 Bug 1374900. Make our low level serialization functions generic over the type of stream. r=lsalzman 2017-06-22 23:55:47 -04:00
Jeff Muizelaar
23c4a6e056 Bug 1374900. Remove useless RecordToStream calls. r=lsalzman
The base class implementation does nothing.
2017-06-22 23:55:47 -04:00
Phil Ringnalda
65a3755989 Merge m-c to m-i
MozReview-Commit-ID: 417ZeUULO6h
2017-06-22 20:48:07 -07:00
Phil Ringnalda
23cd003651 Backed out changeset b7a44b036e41 (bug 1374348) for failing test_lcov_rewrite.py on Windows
CLOSED TREE

MozReview-Commit-ID: CKXrotmq8Ot
2017-06-22 20:47:13 -07:00
Jeff Gilbert
ad01c14ec9 Bug 1375721 - Use SH_SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS on Intel+OGL. - r=daoshengmu
MozReview-Commit-ID: AuXtjsY4IjQ
2017-06-22 20:03:11 -07:00
Tim Taubert
237ab99f6b Bug 1375512 - Don't require a U2F*TokenManager to expose IsRegistered() r=qDot 2017-06-23 04:50:31 +02:00
Tim Taubert
d22430064c Bug 1375450 - Remove unused U2FTokenManager::PrefPromise r=qDot 2017-06-23 04:49:44 +02:00
Nicholas Nethercote
915a56fb41 Bug 1375299 (part 2) - Remove PROFILER_MARKER. r=mstange.
PROFILER_MARKER is now just a trivial wrapper for profiler_add_marker(). This
patch removes it.

--HG--
extra : rebase_source : 9858f34763bb343757896a91ab7ad8bd8e56b076
2017-06-22 13:40:21 +10:00
Nicholas Nethercote
4b364cf3f3 Bug 1375299 (part 1) - Reduce usage of MOZ_GECKO_PROFILER. r=mstange.
This patch reduces the differences between builds where the profiler is enabled
and those where the profiler is disabled. It does this by removing numerous
MOZ_GECKO_PROFILER checks.

These changes have the following consequences.

- Various functions and classes are now defined in all builds, and so can be
  used unconditionally: profiler_add_marker(), profiler_set_js_context(),
  profiler_clear_js_context(), profiler_get_pseudo_stack(), AutoProfilerLabel.
  (They are effectively no-ops in non-profiler builds, of course.)

- The no-op versions of PROFILER_* are now gone. The remaining versions are
  almost no-ops when the profiler isn't built.

--HG--
extra : rebase_source : 8fb5e8757600210c2f77865694d25162f0b7698a
2017-06-22 06:26:16 +10:00
Marco Castelluccio
98273422c7 Bug 1374348 - Rewrite paths from JAR files. r=chmanchester
--HG--
extra : rebase_source : cf94efafe34b2d72b21c839bd7422225de758173
2017-06-22 21:54:12 +01:00
Mats Palmgren
4773d84ed5 Bug 1375097 - Remove nsRange::SetEnableGravitationOnElementRemoval() since it's now dead code. r=smaug
MozReview-Commit-ID: Er67fFQP5lF
2017-06-23 02:03:09 +02:00
Mats Palmgren
3ae8e80f81 Bug 1375075 - Remove a FlushPendingNotifications that we don't need anymore. r=cpearce
The code that needed it was removed in bug 1325053.

MozReview-Commit-ID: 8P60SOpqyPq
2017-06-23 02:03:09 +02:00
Mats Palmgren
c3f48d9dd2 Bug 1374875 - Use simpler mutation observer than nsRange for media elements. r=cpearce
MozReview-Commit-ID: FVPdHC6tBXg
2017-06-23 02:03:08 +02:00
Kris Maglione
7565237b48 Bug 1374129: Avoid loading content scripts into uninitialized about:blank documents. r=aswan
MozReview-Commit-ID: LN1E4Q5xAbO

--HG--
extra : rebase_source : 463b99f1d41ebd0af65b9f23fe71dac7f520dbb7
extra : amend_source : c8b0ec754d67584f33c7ee7364d032f531d16a51
2017-06-21 17:31:43 -07:00