Commit Graph

601253 Commits

Author SHA1 Message Date
Margareta Eliza Balazs
03ab62719a Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
rename : devtools/client/debugger/test/mochitest/browser_dbg_tabactor-01.js => devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-01.js
rename : devtools/client/debugger/test/mochitest/browser_dbg_tabactor-02.js => devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-02.js
2018-06-26 18:08:43 +03:00
Margareta Eliza Balazs
14cb8f1c23 Merge inbound to mozilla-central. a=merge 2018-06-26 17:53:19 +03:00
Jacek Caban
16173fb976 Bug 1470993 - Fix reflect mingw clang compilation r=dmajor
MozReview-Commit-ID: 4al9Yid9prK

--HG--
extra : rebase_source : 97d59d43270bd2ee23380d0b3cade2dbf9c517d0
2018-06-25 21:51:39 +02:00
Razvan Caliman
b9811fc162 Bug 1468806 - Do not populate Font Editor with inherited property values; use computed. r=pbro
MozReview-Commit-ID: Bv0y3X6WPY2

--HG--
extra : rebase_source : 38555a21fcbb685a988fa62559724557db270f83
2018-06-25 17:49:54 +02:00
Jan-Erik Rediger
160ce5cd7b Bug 1470400 - Document how archived pings are cleaned up. r=Dexter
Depends on D1805

Differential Revision: https://phabricator.services.mozilla.com/D1806
2018-06-25 15:55:29 +00:00
Paolo Amadini
95b335127c Bug 1446362 - Part 2 - Remove "tree" from the permission preferences. r=johannh
MozReview-Commit-ID: 9IYpH8SvsCw

--HG--
extra : rebase_source : bf625a793c01da4bcc45e8b92214e6ee73cc6cc5
2018-06-22 14:13:53 +01:00
Paolo Amadini
cf5bc9aab8 Bug 1446362 - Part 1 - Refactor tests to reduce some duplication. r=johannh
MozReview-Commit-ID: 2m0Oymlh51z

--HG--
extra : rebase_source : 6bdd2102000e9db1b213783c39d56a729a4a29c0
2018-06-22 14:13:41 +01:00
Thomas P.
9e3d57b831 Bug 1459425: add fuzzing target for qcms. r=bas sr=decoder
hybrid target that works with both the native interface and oss-fuzz
2018-06-26 02:40:45 +00:00
Marco Castelluccio
3530a2508c Bug 1471147 - Enable Rust coverage on Windows. r=jmaher
--HG--
extra : rebase_source : 36f59a33597c93749f029905cc86e13ec1e4ca98
extra : histedit_source : 8897c3485dc0f42cf09a8316cf0753c4cfed473c
2018-06-26 09:59:31 +01:00
Marco Castelluccio
068b0a8188 Bug 1471147 - Use Rust nightly toolchain on Windows code coverage builds. r=jmaher
--HG--
extra : rebase_source : fb84f64b24ce0091372e39994ad742fd9e2f9be8
extra : histedit_source : 35172121b30386f6f1ef4f9cc1e4dcb0b9bc105f
2018-06-26 09:58:41 +01:00
Marco Castelluccio
ef7b840ca4 Bug 1471147 - Add Rust nightly toolchain definition for Windows. r=jmaher
--HG--
extra : rebase_source : ab55353f00d160625e5be1c575663fbfae490476
2018-06-23 21:22:09 +01:00
Olli Pettay
abf54817b9 Bug 1428246 - The attributeChangedCallback is fired twice for the *first* style attribute change, r=peterv
The idea with this patch is that style code will first call
InlineStyleDeclarationWillChange before style declaration has changed, and SetInlineStyleDeclaration once it has changed.

In order to be able to report old attribute value, InlineStyleDeclarationWillChange reads the value and also calls AttributeWillChange (so that DOMMutationObserser can grab the old value). Later SetInlineStyleDeclaration passes the old value to
SetAttrAndNotify so that mutation events and attributeChanged callbacks are handled correctly.

Because of performance, declaration can't be cloned for reading the old value. And that is why the recently-added callback is used to detect when declaration is about to change (bug 1466963 and followup bug 1468665).

To keep the expected existing behavior, even if declaration isn't changed, but just a new declaration was created (since there wasn't any), we need to still run all these
willchange/set calls. That is when the code has 'if (created)' checks.

Since there are several declaration implementation and only nsDOMCSSAttributeDeclaration needs the about-to-change callback, GetPropertyChangeClosure is the one to initialize the callback closure, and the struct which is then passes as data to the closure.

Apparently we lost mutation event testing on style attribute when the pref was added, so test_style_attr_listener.html is modified to test both pref values.

--HG--
extra : rebase_source : 9e605d43f22e650ac3912fbfb41abb8d5a2a0c8f
2018-06-26 12:54:00 +03:00
sotaro
209118a036 Bug 1471128 - Fix IMFYCbCrImage::GetD3D11TextureData() r=nical 2018-06-26 18:57:28 +09:00
Margareta Eliza Balazs
c866c30fcf Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-26 12:24:32 +03:00
Margareta Eliza Balazs
616a3ce82b Backed out changeset 8477472996e0 (bug 1442737) for frequent mochitest failures e.g.: toolkit/components/alerts/test/test_principal.html 2018-06-26 11:28:50 +03:00
Jan de Mooij
62f22c5f61 Bug 1470250 part 7 - Add a testing function + tests. r=luke 2018-06-26 09:42:07 +02:00
Jan de Mooij
d12d6660b5 Bug 1470250 part 6 - Switch realms if needed before/after native calls in JIT code. r=luke 2018-06-26 09:42:07 +02:00
Jan de Mooij
2c65273c95 Bug 1470250 part 5 - Use AutoRealm when calling natives or resolve hooks. r=luke 2018-06-26 09:42:06 +02:00
Jan de Mooij
7180f5148f Bug 1470250 part 3 - Get rid of a null check in JSContext::setRealm. r=jonco 2018-06-26 09:42:06 +02:00
Jan de Mooij
73d1e0b2b0 Bug 1470250 part 4 - Fix some realm assertions that are invalid when JIT code switches realms. r=luke 2018-06-26 09:42:06 +02:00
Jan de Mooij
8878bca7fa Bug 1470250 part 2 - Move CallJSNative and CallJSNativeConstructor to Interpreter.cpp. r=luke 2018-06-26 09:42:06 +02:00
Jan de Mooij
c3d78df0d2 Bug 1470250 part 1 - Use correct realm in ObjectGroupRealm::makeGroup. r=luke 2018-06-26 09:42:05 +02:00
Margareta Eliza Balazs
43bc59cb40 Backed out 2 changesets (bug 1470023) for frequent mochitest failures eg.: toolkit/components/extensions/test/mochitest/test_ext_contentscript_permission.html on a CLOSED TREE
Backed out changeset f0f5158db88c (bug 1470023)
Backed out changeset 064e448df638 (bug 1470023)
2018-06-26 10:37:56 +03:00
Kris Maglione
86a0341225 Bug 1470023: Follow-up: Fix weird test bustage. r=bustage CLOSED TREE
--HG--
extra : rebase_source : b4a845fd736e9edd864aadccb5fc848804f386c7
extra : amend_source : 88a01586285746e3588681dc893c020aeba04d98
2018-06-25 22:58:51 -07:00
Kyle Machulis
0f901b5c31 Bug 1469879 - Add check for closed socket on Multicast IPC parent funcs; r=baku
MozReview-Commit-ID: CaNYPtgFz87

--HG--
extra : rebase_source : a4043a24a8954e2cb5a63211d4cbc1f08930a2fb
2018-06-25 16:59:08 -07:00
arthur.iakab
fc7e217166 Backed out 5 changesets (bug 1340498) for build bustages on SelectionChangeListener.h on a CLOSED TREE
Backed out changeset c89b86622d38 (bug 1340498)
Backed out changeset b270d4a01986 (bug 1340498)
Backed out changeset 8ed32495b46f (bug 1340498)
Backed out changeset df9a67c58183 (bug 1340498)
Backed out changeset a5977e0708ea (bug 1340498)
2018-06-26 07:59:01 +03:00
Arjun Krishna Babu
7a3711075a Bug 1469233 - remove pingsOverdue from simpleMeasurements; r=Dexter
pingsOverdue is a telemetry-specific data field that is not used anymore.
Therefore it is being removed from both the docs and TelemetrySession.jsm

The logic that exports and computes the overdue pings count, and all related
code, is also removed.

Associated test failure (due to performing the above) is fixed by removing the
offending test code.

MozReview-Commit-ID: DZUapvZbC9U

--HG--
extra : rebase_source : b5207495f19d23d0a9f57ba62a8c6c6872958b49
2018-06-20 18:51:09 +05:30
Andi-Bogdan Postelnicu
4f8b7d9e04 Bug 1453795 - XPToolkit - Initialize member fields in classes/ structures. r=jvarga
--HG--
extra : rebase_source : 5db6a49a59781828afd2b4b8d273299c805547c9
2018-06-15 14:12:46 +03:00
Kris Maglione
e4e6f4b872 Bug 1470023: Lazily load PluginContent.jsm when it's first required. r=felipe
MozReview-Commit-ID: 2n9NP5mEEcG

--HG--
extra : rebase_source : 10413b701ec89ddf3eeba7ed101f903be4bb2650
2018-06-24 17:33:55 -07:00
Cosmin Sabou
eb4431c0f5 Backed out changeset 638eb8a41245 (bug 1453751) for frequent linux debug e-10s failures on test_ext_webrequest_filter.html
--HG--
rename : browser/base/content/test/favicons/browser_bug408415.js => browser/base/content/test/general/browser_bug408415.js
rename : browser/base/content/test/favicons/browser_bug550565.js => browser/base/content/test/general/browser_bug550565.js
rename : browser/base/content/test/favicons/browser_favicon_change.js => browser/base/content/test/general/browser_favicon_change.js
rename : browser/base/content/test/favicons/browser_favicon_change_not_in_document.js => browser/base/content/test/general/browser_favicon_change_not_in_document.js
rename : browser/base/content/test/favicons/browser_subframe_favicons_not_used.js => browser/base/content/test/general/browser_subframe_favicons_not_used.js
rename : browser/base/content/test/favicons/file_generic_favicon.ico => browser/base/content/test/general/file_bug970276_favicon1.ico
rename : browser/base/content/test/favicons/file_bug970276_popup1.html => browser/base/content/test/general/file_bug970276_popup1.html
rename : browser/base/content/test/favicons/file_bug970276_popup2.html => browser/base/content/test/general/file_bug970276_popup2.html
rename : browser/base/content/test/favicons/file_favicon_change.html => browser/base/content/test/general/file_favicon_change.html
rename : browser/base/content/test/favicons/file_favicon_change_not_in_document.html => browser/base/content/test/general/file_favicon_change_not_in_document.html
rename : browser/base/content/test/favicons/file_with_favicon.html => browser/base/content/test/general/file_with_favicon.html
extra : rebase_source : 77bf32209022e0351c2a3b69affaac4cf33aa9a6
2018-06-26 07:29:35 +03:00
Chris Peterson
2afd829d0f Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b.

MozReview-Commit-ID: 5UQVHElSpCr

--HG--
extra : rebase_source : 4c1b2fc32b269342f07639266b64941e2270e9c4
extra : source : 907543f6eae716f23a6de52b1ffb1c82908d158a
2018-06-17 22:43:11 -07:00
Chris H-C
5de0228062 bug 1460595 - Remove events from main pings and, thus, TelemetrySession r=Dexter
This requires we take unsent event records out of about:telemetry since its
"Current Payload" view only looks at the "main" ping.

MozReview-Commit-ID: GLs2EYvFaAF

--HG--
extra : rebase_source : 63ffa636213bdcdc437e3768b4d449b7cb73ead4
2018-06-06 11:05:29 -04:00
Martin Stransky
daff99d97a Bug 1467125 - [Wayland] Get events from Wayland display faster on compositor thread, r=jhorak
MozReview-Commit-ID: AmarsYA2INc

--HG--
extra : rebase_source : c30015ba1a45e98691abdeb012bede816eb8c440
2018-06-06 15:25:15 +02:00
Alexandre Poirot
f7e331b36e Bug 1470244 - Rename all panel documents to index.{xul|html}. r=jdescottes
MozReview-Commit-ID: 5C3ehYKBt3m

--HG--
rename : devtools/client/accessibility/accessibility.html => devtools/client/accessibility/index.html
rename : devtools/client/canvasdebugger/canvasdebugger.xul => devtools/client/canvasdebugger/index.xul
rename : devtools/client/debugger/debugger.xul => devtools/client/debugger/index.xul
rename : devtools/client/dom/dom.html => devtools/client/dom/index.html
rename : devtools/client/inspector/inspector.xhtml => devtools/client/inspector/index.xhtml
rename : devtools/client/memory/memory.xhtml => devtools/client/memory/index.xhtml
rename : devtools/client/performance-new/perf.xhtml => devtools/client/performance-new/index.xhtml
rename : devtools/client/performance/performance.xul => devtools/client/performance/index.xul
rename : devtools/client/scratchpad/scratchpad.xul => devtools/client/scratchpad/index.xul
rename : devtools/client/storage/storage.xul => devtools/client/storage/index.xul
rename : devtools/client/styleeditor/styleeditor.xul => devtools/client/styleeditor/index.xul
rename : devtools/client/webaudioeditor/webaudioeditor.xul => devtools/client/webaudioeditor/index.xul
rename : devtools/client/webconsole/webconsole.html => devtools/client/webconsole/index.html
extra : rebase_source : 30d4a2b96c7caf9c2543866e11519559d73f75dc
2018-06-21 11:08:25 -07:00
Makoto Kato
8bd7e4fabf Bug 1471115 - Remove unused methods in nsIHTMLEditor. r=masayuki
insertHTMLWithContext, getIndentState, setBodyAttribute and
getSelectionContainer are unused from script (inc. c-c and bluegriffon).

Differential Revision: https://phabricator.services.mozilla.com/D1822
2018-06-26 04:29:36 +00:00
Chris Peterson
ed185e6484 Bug 1469769 - Part 5: widget/gtk: Replace failing NS_NOTREACHED with NS_ERROR. r=karlt
I'm replacing non-failing calls to NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE, but this NS_NOTREACHED fails when running the browser/base/content/test/general/browser_tab_dragdrop2.js test because mContainer is unexpectedly *not* null. This is bug 1469183.

This patch DOES NOT fix the cause of the assertion failure. It just replaces this failing NS_NOTREACHED with NS_ERROR because I can't replace with a fatal MOZ_ASSERT_UNREACHABLE.

MozReview-Commit-ID: KeVjvKGihxZ

--HG--
extra : rebase_source : dc08a8e15d1e98cda0fa755be43c6d06910bfbe8
extra : intermediate-source : 562cc0bfc636f29b1708acd3284567bb8492e030
extra : source : 4f14f18eccd6bb18ed92f1d39a265a30ccdd21a1
2018-06-04 01:43:02 -07:00
Chris Peterson
f743d8e9dd Bug 1469769 - Part 4: svg: Replace failing NS_NOTREACHED with NS_ERROR. r=heycam
I'm replacing non-failing calls to NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE, but this NS_NOTREACHED fails when running the dom/svg/crashtests/412104-1.svg test. This assertion failure is bug 903785.

This patch DOES NOT fix the cause of the assertion failure (a missing TextNodeCorrespondenceProperty). It just replaces this failing NS_NOTREACHED with NS_ERROR because I can't replace with a fatal MOZ_ASSERT_UNREACHABLE.

MozReview-Commit-ID: 8ffEdO5W1zU

--HG--
extra : rebase_source : 618008591b516e3b4b51871debcd0cf177a3f5b1
extra : intermediate-source : 099e1bbbc5b43b67ad9324464e4eec2e33d7eaa3
extra : source : f95d808c6f81b656c680d1dd005236571dedee20
2018-05-26 17:11:02 -07:00
Chris Peterson
74dea2596b Bug 1469769 - Part 3: css: Replace failing NS_NOTREACHED with NS_ERROR. r=heycam
I'm replacing non-failing calls to NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE, but this SelectionManager assertion fails when running the Linux debug Web platform tests with e10s test-linux32/debug-web-platform-tests-reftests-e10s-6 W-e10s(Wr6). This assertion failure is bug 1221888.

Marionette  INFO    Testing http://web-platform.test:8000/css/CSS2/ui/outline-applies-to-005.xht == http://web-platform.test:8000/css/CSS2/reference/no-red-on-blank-page-ref.xht
###!!! ASSERTION: we should have saved a frame property: 'Error', file /builds/worker/workspace/build/src/layout/painting/nsCSSRendering.cpp, line 1038

This patch DOES NOT fix the cause of the assertion failure (a missing HyperTextAccessible). It just replaces this failing NS_NOTREACHED with NS_ERROR because I can't replace with a fatal MOZ_ASSERT_UNREACHABLE.

MozReview-Commit-ID: L26bu4agM6y

--HG--
extra : rebase_source : 9a4188719fe5069cfbec47ae5fae0632ae1d5ee8
extra : intermediate-source : 0a3f719dce16fa80d6ae1bb20a41570050847731
extra : source : aadc67658e679893808256f60c480efeed426bc1
2018-06-04 01:41:20 -07:00
Chris Peterson
d8afcd19f3 Bug 1469769 - Part 2: animation: Replace failing NS_NOTREACHED with NS_ERROR. r=heycam
I'm replacing non-failing calls to NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE, but this NS_NOTREACHED fails when running the devtools/client/animationinspector/test/browser_animation_refresh_on_removed_animation.js test. This assertion failure is bug 1189015.

This patch DOES NOT fix the cause of the assertion failure (a missing TextNodeCorrespondenceProperty). It just replaces this failing NS_NOTREACHED with NS_ERROR because I can't replace with a fatal MOZ_ASSERT_UNREACHABLE.

MozReview-Commit-ID: H5rfyr71N1M

--HG--
extra : rebase_source : a65053171f41bc6069fc6cb3688c0a9cc36830b2
extra : intermediate-source : 203b3e7b091743faebcf58d576360d1afd85b6bc
extra : source : 12dcc693259a536ac06075698db7e851d682cf3a
2018-06-04 01:44:39 -07:00
Paul Bone
e3b1f171c9 Bug 1407143 (Part 7) - Add some nursery().isEmpty() assertions r=jonco
--HG--
extra : rebase_source : 79acf4cb3ddb8d10a77985ea486f7250c51a4b46
2018-06-21 13:38:46 +10:00
Paul Bone
8cb7a53521 Bug 1407143 (Part 6) - Log the lastMarkSlice value when entering GC r=jonco
--HG--
extra : rebase_source : 3200e8f8adab34268528ba90013979635553bb9b
2018-06-05 14:58:03 +10:00
Paul Bone
d106e7fc2b Bug 1407143 (Part 5) - Don't collect nursery for every mark slice r=jonco
--HG--
extra : rebase_source : 2ac2cfdb0044fcc881f50c0f28cefb7f59edce87
2018-06-22 15:01:42 +10:00
Paul Bone
fce0e225ae Bug 1407143 (Part 4) - Reset lastMarkSlice earlier r=jonco
This change isn't really required but may tighten some other conditions /
assertions.

--HG--
extra : rebase_source : 84a96811e0f01df80f897137768f10c292442584
2018-06-21 16:25:40 +10:00
Paul Bone
f412a75bec Bug 1407143 (Part 3) - Relax some nursery empty assertions r=jonco
--HG--
extra : rebase_source : eb1fe01e0501df22f97ee3ae9bc92bb716fd41c4
2018-06-22 12:40:53 +10:00
Chris H-C
e0f71a0137 bug 1460595 - Test the 'event' ping r=Dexter
MozReview-Commit-ID: 2SJCgXOQNEW

--HG--
extra : rebase_source : 8f281bbe4c612de001e8d86025e66b4a2b6859e8
2018-05-15 16:43:28 -04:00
Chris H-C
2882b9dad1 bug 1460595 - Add meta-telemetry to record how many event pings we're sending r=Dexter,janerik
MozReview-Commit-ID: 7kxmvItSzEU

--HG--
extra : rebase_source : 9853136729e125ae4c6a9cc98c1c1b543bb701c5
2018-05-14 10:43:18 -04:00
Chris H-C
beeaa2fa7b bug 1460595 - Implement the 'event' ping r=Dexter,janerik
MozReview-Commit-ID: HQAk8jmouyI

--HG--
extra : rebase_source : 461725234333b09938dc372591eb8ec68ef38d89
2018-05-14 09:57:30 -04:00
Chris H-C
bb95e8c68b bug 1460595 - Test "event" ping event storage r=Dexter,janerik
I added checks that the new topic was appropriately notified and
that storage doesn't truncate upon hitting the limit, also covering the
case when there is a specified event limit for return.

MozReview-Commit-ID: FoSVvi7XSeM

--HG--
extra : rebase_source : 97ccd213985e0979f832c9f2956bf1e9d6bbfb74
2018-05-11 16:13:18 -04:00
Chris H-C
595c3f2e2c bug 1460595 - Add Event Ping preferences to TelemetryUtils r=Dexter,janerik
MozReview-Commit-ID: 9gmYoMjiW3Y

--HG--
extra : rebase_source : 3e73f08697f39d8760e3c981aa026519594c92ca
2018-05-11 15:46:20 -04:00
Chris H-C
df0dc66cc7 bug 1460595 - Change storage semantics Telemetry Events r=Dexter
Instead of a hard cap, introduce a topic to notify when we reach the now-
preference-controlled per-process event record limit. Also add the capability
to leave some records behind in storage for the next call.

MozReview-Commit-ID: EY40tqKxxeW

--HG--
extra : rebase_source : 9f5fff246efc4738dc042c8e9c8e0b491ef7a1b5
2018-05-11 15:45:39 -04:00