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

71912 Коммитов

Автор SHA1 Сообщение Дата
Ciure Andrei 0b674adee4 Backed out changeset 86581d5ccbbb (bug 1436272) for failing /builds/worker/workspace/build/src/editor/libeditor/EditorBase.cpp a=backout on a CLOSED TREE 2018-02-08 04:54:47 +02:00
Makoto Kato b845e3128e Bug 1436272 - Move noscript methods in nsIEditor to EditorBase. r=masayuki
Since We can use EditorBase/TextEditor/HTMLEditor directly,  we can
movei noscript methods in nsIEditor to each class.

Also, Init is unnecessary to use nsIDOMDocument and nsIContent since method
isn't in IDL.  And some methods are unused now.

MozReview-Commit-ID: D3B6oSlcT0L

--HG--
extra : rebase_source : b89698f4ab56fdd97a4cd8c515a8b33f6a74a7af
2018-02-07 15:28:04 +09:00
Narcis Beleuzu a167feb192 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-08 21:34:52 +02:00
Dorel Luca 6b75e4235c Merge mozilla-central to autoland. r=merge 2018-02-07 17:07:56 +02:00
Andrea Marchesini a11a9d201f Bug 1436692 - Implement PerformanceObserver::takeRecords(), r=valentin 2018-02-08 17:43:25 +01:00
Sebastian Hengst 2154b22a29 Backed out changeset dcb60325f0cf (bug 1429732) for breaking uriloader/exthandler/tests/mochitest/mochitest.ini: runByManifest mode must be enabled to set the `prefs` key (fails at least on Android) 2018-02-08 19:02:48 +02:00
Jonathan Kingston cec85c2cae Bug 1429732 - Use a pref to disable registerProtocolHandler in insecure contexts. r=baku,dao
MozReview-Commit-ID: 9NxFv57CyZO

--HG--
extra : rebase_source : 59d21e85884c31aec88ed08300f0f3149ac075b7
2018-02-04 12:10:10 +00:00
Paul Adenot 7ed231dd99 Bug 1420322 - Add a test for seamless looping. r=pehrsons
MozReview-Commit-ID: 8WdItn7SXB3

--HG--
extra : rebase_source : e4b45545013733b03d41f9eedb5125866f2d50a4
2018-02-06 15:25:25 +01:00
Narcis Beleuzu f2b1b8c261 Backed out 3 changesets (bug 1434230) for assertion failures on MacroAssembler.cpp
Backed out changeset 7f67769bbbd8 (bug 1434230)
Backed out changeset 6598194588d7 (bug 1434230)
Backed out changeset 9c9ba4938b08 (bug 1434230)
2018-02-08 23:55:40 +02:00
Jan de Mooij b55aa41d52 Bug 1434230 part 1 - Some Spectre mitigations for loadStringChars. r=luke,nbp 2018-02-08 22:01:52 +01:00
David Parks e42b5990ac Bug 1358372: Part 1 - Move Windows content process AudioSession init before sandbox lowering r=jimm
Something about setting the grouping parameter was harmed by the sandbox.
2018-01-10 14:07:56 -08:00
Dorel Luca 106842f842 Merge mozilla-inbound to mozilla-central. a=merge 2018-02-07 11:58:17 +02:00
Chris Pearce 595dccd4e7 Bug 1431674 - Backed out changeset 9d197f1860e6. r=backout
MozReview-Commit-ID: wP0aucXgzA

--HG--
extra : rebase_source : ad67234e7dff431c875bce5aac5b88e3c497dc78
2018-02-07 15:28:48 +13:00
Chris Pearce 6609188b9e Bug 1431674 - Backed out changeset 3e22200b7e83. r=backout
The changes in bug 1324883 regressed YouTube, so back them out.

The changes in bug 1324883 were trying to cause the media cache to be cleared
on tab close and on CTRL+F5 reload (i.e. a bypass cache-reload) but they are
causing problems on YouTube,  which doesn't use the media cache and instead
uses MSE.

MozReview-Commit-ID: Hx2cehZ2wm1

--HG--
extra : rebase_source : fa0bd85570746e60341e8e2d3f874f9bd30c0232
2018-02-07 15:28:07 +13:00
Hiroyuki Ikezoe fff9e9f366 Bug 1419339 - Unthrottle transform animations periodically if there is any IntersectionObservers. r=birtles
MozReview-Commit-ID: CBFQva02HUc

--HG--
extra : rebase_source : 123a26e7ab77ba40abd918e91e7f323300b2aae7
2018-02-07 10:46:15 +09:00
Gurzau Raul 772c8edfef Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-07 02:29:42 +02:00
Gurzau Raul 93cf708ccf Backed out changeset c59fcd67f979 (bug 1426129) for failing on tests/mochitest/test_selftest.html on on Android 4.3 API16 platform 2018-02-07 01:50:37 +02:00
Andrew McCreight 754a4bcd3c Bug 1432992, part 2 - Manually remove some empty blocks. r=florian
Also, remove a now-obsolete comment from placesOverlay.xul and remove
some now-empty XPCShell test head files.

MozReview-Commit-ID: 6kKVQu8FAL3

--HG--
extra : rebase_source : 7dd05818d68a15bd170af734078db4ba45029d80
2018-01-25 16:52:25 -08:00
Andrew McCreight 5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Gurzau Raul 476c3b3a55 Merge inbound to mozilla-central. a=merge 2018-02-06 23:53:56 +02:00
Kartikaya Gupta 4071d87164 Bug 1434723 - Disable a failing mochitest from WR PR 2367. r=jrmuizel
MozReview-Commit-ID: JjZWoHZDhhk

--HG--
extra : rebase_source : 8bee8cb4c13a1a2df10d81b1a58fbf8bd722e430
2018-02-06 10:32:28 -05:00
Masayuki Nakano cb5853d299 Bug 1435530 - part 2: Make nsXBLWindowKeyHandler treat eAccessKeyNotFound as eKeyPress event r=enndeakin+6102
Modifiers of shortcut keys may be same as modifier of content access keys.

When focus is in the main process, such eKeyPress event is sent to remote
content first.  Then, and if it's not handled in the remote content,
eAccessKeyNotFound is dispatched into the DOM tree in the main process.
However, nsXBLWindowKeyHandler doesn't handle it as eKeyPress event.  So,
it causes that shortcut keys whose modifier conflicts with content access key
won't be handled.

This patch just makes nsXBLWindowKeyHandler treat eAccessKeyNotFound as
eKeyPress event even though other shortcut keys which are handled by JS
won't be executed.  Perhaps, we should stop using eAccessKeyNotFound but
it's too risky change for now.

MozReview-Commit-ID: IJltg5gwBc5

--HG--
extra : rebase_source : f456eade18cd4fefd2eab6e06f5b00156ac8ad59
2018-02-05 18:27:30 +09:00
Masayuki Nakano 8f3e9a2be7 Bug 1435530 - part 1: Add automated tests to check Alt + D works as Ctrl + L when Alt is content access key's modifier r=enndeakin+6102
MozReview-Commit-ID: FG5sRJfTvue

--HG--
extra : rebase_source : 613b40d21ab3efaf01f8458b1a30d91a2f54e9c6
2018-02-05 18:01:25 +09:00
Paul Adenot 03d4052829 Bug 1434600 - Clean up the MediaEngineWebRTC*Source when navigating away from a document. r=pehrsons
MozReview-Commit-ID: 4XXJ6fcdV9G

--HG--
extra : rebase_source : 610219c774e4fbfe5265d51f9cf818c178e0704b
2018-01-31 19:03:39 +01:00
Paul Adenot 8413544b59 Bug 1434600 - Add a method to clean up by window ID, on a MediaEngine. r=pehrsons
MozReview-Commit-ID: 12w4StZE2eg

--HG--
extra : rebase_source : 3c3ddf24da24e42e53d9e5352cb83945c97ead99
2018-01-31 19:02:00 +01:00
Paul Adenot 4bf54def7a Bug 1434600 - Plumb the window ID down to Enumerate{Audio,Video}Devices. r=pehrsons
MozReview-Commit-ID: 57d8l89Iq4v

--HG--
extra : rebase_source : a31703dfedadbedfc0dbbb0a4949db672cc16c70
2018-01-31 17:57:59 +01:00
Catalin Badea fb0b064981 Bug 1434599 - Enable test_workerupdatefoundevent.html. r=bkelly
--HG--
extra : rebase_source : 3e5e40dec9190a3f359c2dd51c0634ab93b9a757
2018-02-02 06:12:00 +02:00
Andreas Pehrson 54d329cb35 Bug 1435673 - Strengthen some MediaEngineWebRTCMicrophoneSource asserts. r=padenot
MozReview-Commit-ID: HtjndNLWZI8

--HG--
extra : rebase_source : e9076defa2bc667d5c96cee3bbccc6d297fc8aab
2018-02-05 10:58:21 +01:00
Andreas Pehrson 06be9533d1 Bug 1435673 - Do some cleanup that was meant to happen earlier. r=padenot
MozReview-Commit-ID: 1v07YH1hKiG

--HG--
extra : rebase_source : c7aab7a7480d8a72b0e312cfe24a7aa212f0cf5d
2018-02-05 10:54:10 +01:00
Andreas Pehrson c1032b3da7 Bug 1435673 - Inline Alloc/FreeChannel and fix access per threading model. r=padenot
MozReview-Commit-ID: 1hpt8tAFuKW

--HG--
extra : rebase_source : 7ce40c2811b1869f98a7737373f02db7b488b829
2018-02-05 10:50:47 +01:00
Andreas Pehrson 650dcb5d2d Bug 1435673 - Fix calling Deallocate() without SetTrack(). r=padenot
Before bug 1299515 we assigned stream and track id in Allocate(), meaning that
any Deallocate() had a guarantee of them being set.

This changed to require an extra step of SetTrack() to assign stream and
track id. Deallocate() needs to handle this, which it does with this patch.

MozReview-Commit-ID: Js0cXXOR2Bb

--HG--
extra : rebase_source : f90dc1345ae0c034d2237d771630055729180df4
2018-02-05 10:48:23 +01:00
Narcis Beleuzu 84cea84b12 Merge inbound to mozilla-central. a=merge 2018-02-06 11:54:42 +02:00
Ryan Hunt 0b29c49678 Remove implicit fuzzy operator== from BaseMatrix (bug 1435406, r=mattwoodrow)
--HG--
extra : rebase_source : 2635f386b96644922a345cea3a8fca6e3614253f
extra : histedit_source : b7cc3424492f88cbd32f3f945c5af86ff43ca0d0
2018-02-02 15:14:08 -06:00
shindli 4ee48057e8 Backed out changeset 22fe0145f9ed (bug 1434618) for Wd failures in /webdriver/tests/actions/mouse_dblclick.py on a CLOSED TREE 2018-02-06 02:46:08 +02:00
Andrea Marchesini e923a91555 Bug 1434618 - Worker shutdown should start at xpcom-will-shutdown notification, r=smaug 2018-02-06 00:13:26 +01:00
Ashish Kulkarni 23dc66c6b8 Bug 169521: fix XML attribute serialization for proper roundtripping r=bz
This is due to incomplete specification, see discussion on Chromium bug
https://bugs.chromium.org/p/chromium/issues/detail?id=418531

Behavior is now in line with Edge and Chromium.

MozReview-Commit-ID: AxIRtIj5j8r

--HG--
extra : rebase_source : 45c8016537259c7d7a2af6e8b8a9f5a25521e4c5
2018-01-24 16:03:01 +05:30
Olli Pettay de32ea78a2 Bug 1430303 - Implement ShadowRoot.pointerLockElement, r=mrbkap
--HG--
rename : dom/tests/mochitest/pointerlock/file_pointerlock-api.html => dom/tests/mochitest/pointerlock/file_pointerlock-api-with-shadow.html
2018-02-03 22:08:30 +02:00
Sylvestre Ledru 741b31d206 Bug 1435262 - Remove the const type qualifiers to silent a gcc 8 warning r=gerald
MozReview-Commit-ID: 28NSnyYMPQ0

--HG--
extra : amend_source : 7a8a03d4a4cd9bd0713d24eb1fcf423f7ba866c9
2018-02-02 15:49:00 +01:00
Olli Pettay b0ee39f2c7 Bug 1421568 - Add a ChromeOnly method to access also closed shadow roots, r=mrbkap
--HG--
extra : rebase_source : 4c596aa8938c2c325a9f6f4448050df5f8f6c9a0
2018-02-03 12:15:25 +02:00
Robert Longson 7be5dd985e Bug 1435372 - pass nsSMILMilestone into the constructor of MilestoneEntry by const reference to avoid an unnecessary object copy r=birtles 2018-02-03 10:15:20 +00:00
Noemi Erli 3d09e55d55 Merge inbound to mozilla-central. a=merge 2018-02-03 11:52:03 +02:00
Masayuki Nakano dfd6ae6c4b Bug 1435180 - Make existing tests aware of strict keypress event dispatch r=smaug
We'll stop dispatching keypress events on web contents for conforming to spec of
UI Events.  Some existing tests assumes that keypress events are fired even
when non-printable keys are pressed.

This patch makes them check the pref,
"dom.keyboardevent.keypress.dispatch_non_printable_keys_only_system_group_in_content"
and only listen to keydown event instead of keypress even if the pref is true
and expected key event is not a printable key press.

MozReview-Commit-ID: 6bKoK7dsB0l

--HG--
extra : rebase_source : b3705b0814d5690e00208d0d3315f09f886c6f26
2018-02-02 18:10:22 +09:00
Adrian Wielgosik 269c71b15e Bug 1432415 - Remove unused SettingChangeNotification.webidl. r=bz
MozReview-Commit-ID: Eg6AmzwaVVF

--HG--
extra : rebase_source : cf77de519606b31730fcd9517aeb71419dbd31f5
2018-02-02 21:21:56 +01:00
Andreea Pavel 9cd5dfd3a9 Backed out 5 changesets (bug 1418930) for failing web platform tests at /service-workers/service-worker/fetch-request-css-images.https.html on a CLOSED TREE
Backed out changeset c0f673033e66 (bug 1418930)
Backed out changeset b39948ba905b (bug 1418930)
Backed out changeset 8008a54aba9a (bug 1418930)
Backed out changeset 105c81284dba (bug 1418930)
Backed out changeset 27eb8c7f8025 (bug 1418930)
2018-02-03 00:18:27 +02:00
Brad Werth e7b31713ef Bug 1418930 Part 1: Define and use a method nsContentUtils::CORSModeToLoadImageFlags to standardize conversion of CORS modes to load image flags. r=bz
MozReview-Commit-ID: AqsEUhFYxH6

--HG--
extra : rebase_source : 60a367491f4e1d80f434a1f2afe3b09b773fc8d1
2018-01-31 11:10:01 -05:00
Jean-Luc Bonnafoux bb8c9d7425 Bug 1433970 - pass WriteParams parameters by const reference r=froydnj
MozReview-Commit-ID: 9lraUOenzPF

--HG--
extra : rebase_source : 96ab2d8684acdfc781bfe855ff3bc7e5c6a866dd
2018-02-01 21:51:58 +01:00
Bobby Holley bdb53f7d13 Bug 1434994 - Use ReleaseAcquire for the cached serialization atomic. r=emilio
MozReview-Commit-ID: 3gtoLRf8TNl
2018-02-02 10:58:35 -08:00
Coroiu Cristina 6276356615 Merge mozilla-central to autoland on a CLOSED TREE 2018-02-02 19:43:07 +02:00
Coroiu Cristina e06af9c36a Merge inbound to mozilla-central a=merge 2018-02-02 19:38:23 +02:00
Boris Zbarsky 13dda50f75 Bug 1435138 part 4. Remove nsIDOMSVGLength. r=qdot
MozReview-Commit-ID: HwKT9Bdby6F
2018-02-02 08:21:33 -05:00
Boris Zbarsky 3afbe4d699 Bug 1435138 part 3. Remove nsIDOMSVGLength's SVG_LENGTHTYPE_* constants. r=qdot
MozReview-Commit-ID: GvzWbe6cr5r
2018-02-02 08:21:33 -05:00
Boris Zbarsky c79197d0df Bug 1435138 part 2. Remove nsIDOMSVGLength's valueAsString attribute. r=qdot
MozReview-Commit-ID: DLIIV93REFx
2018-02-02 08:21:32 -05:00
Boris Zbarsky a77e01b899 Bug 1435138 part 1. Remove unused nsIDOMSVGLength bits. r=qdot
MozReview-Commit-ID: ADZly4KLD0x
2018-02-02 08:21:32 -05:00
Boris Zbarsky c32290c3d7 Bug 1435132 part 3. Remove the last NS_IMETHOD bit from nsIStyleSheetLinkingElement. r=mccr8
MozReview-Commit-ID: K7mnYXOJOK6
2018-02-02 08:21:32 -05:00
Boris Zbarsky 69cbdecca9 Bug 1435132 part 2. Make nsIStyleSheetLinkingElement::GetCharset infallible. r=mccr8
MozReview-Commit-ID: 2maFIxR2HkS
2018-02-02 08:21:32 -05:00
Boris Zbarsky 54a6506018 Bug 1435132 part 1. Remove NS_IMETHOD noise from never-failing nsIStyleSheetLinkingElement methods. r=mccr8
MozReview-Commit-ID: EibysYsW1rv
2018-02-02 08:21:32 -05:00
Jim Blandy bab626faa0 Bug 1434722: Remove bad default for WorkerControlRunnable's aBehavior parameter. r=bkelly
MozReview-Commit-ID: GYaGPAAWgZM
2018-02-01 13:32:10 -08:00
Olli Pettay c4aa908e3b Bug 1434580, ensure proper mouseover handling, r=masayuki 2018-02-02 13:25:26 +02:00
Andrew McCreight 589eaa7bb4 Bug 1434952 - Remove signed.applets.codebase_principal_support pref. r=mrbkap
MozReview-Commit-ID: K8nic9kw8gF

--HG--
extra : rebase_source : 2f99d4594c88a4e6f38cbe740af8e10a5a528a81
2018-02-01 12:44:59 -08:00
Andreas Pehrson 44946573a2 Bug 1434988 - Make audio loopback mochitest return early without loopback device set up. r=achronop
MozReview-Commit-ID: AA05i50qI2A

--HG--
extra : rebase_source : 9b5911586741eacd8c8b32b1e291b9d8bd64b709
2018-02-01 19:28:57 +01:00
Michael Froman 475c6b33c7 Bug 1414171 - pt 3 - Add componentId to expected fields in test_peerConnection_stats.html. r=drno
MozReview-Commit-ID: Hez0vOu5vTs

--HG--
extra : rebase_source : c722927207ad5c8e3c26a56cea70e1d20233e98d
2018-02-01 15:06:01 -06:00
Michael Froman 38bdfba7a2 Bug 1414171 - pt 2 - Sort ICE stats by componentId on about:webrtc. r=drno
- add new component_id field to NrIceCandidatePair
- add the candidate pair component_id to RTCIceCandidatePairStats in
  RecordIceStats_s
- add new column in ice stats table for component id
- sort ice stats by component id first


MozReview-Commit-ID: J89ZIYEUyRk

--HG--
extra : rebase_source : 681a5afa1303b4e377fcc14d099ce0b3d852f22c
2018-01-30 22:23:54 -06:00
Michael Froman 2cc9c3f7f7 Bug 1414171 - pt 1 - Add componentId field to RTCIceCandidatePairStats. r=smaug
componentId is a moz only field that will allow sorting by componentId
on the about:webrtc page.

MozReview-Commit-ID: HXEQl3JHmO3

--HG--
extra : rebase_source : 1629fc0fc34b4878e398753db933d0f10c83b67b
2018-01-31 10:34:37 -06:00
Edgar Chen 084a83413d Bug 1430951 - Avoid element name atomizing to improve performance of LookupCustomElementDefinition; r=smaug
Since we are dealing with the element (nodeInfo->LocalName() and NameAtom() are the same value),
we could use nodeInfo->NameAtom() instead.

MozReview-Commit-ID: 4vIBDEM1Nwv

--HG--
extra : rebase_source : 150d5ea982363eb2ef4c5039fae67be1e08884ba
2018-01-17 14:55:13 +08:00
Sylvestre Ledru d5654e2007 Bug 1435223 - Increase the size of idstring to avoid a warning r=baku
MozReview-Commit-ID: FFOByQdUa0I

--HG--
extra : rebase_source : 7e6b89920d5b85b4ba137e325e0a05bb96268575
2018-02-02 13:21:49 +01:00
Jonathan Kingston 53c9c480b7 Bug 1354175 - Disable AppCache in insecure contexts. r=baku,bkelly,mayhemer
MozReview-Commit-ID: wYWHkGlV8h

--HG--
extra : rebase_source : 9a600559a9d61c42baf9e3e5fde6e35d5adeaf90
2018-01-12 19:09:30 +00:00
Gurzau Raul 1315ffda06 Merge inbound to mozilla-central. a=merge 2018-02-02 00:22:39 +02:00
Gurzau Raul 047564ed7a Merge inbound to mozilla-central. a=merge 2018-02-01 23:53:53 +02:00
Florian Quèze 2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Boris Zbarsky 0e718778d9 Bug 1434819 part 9. Remove nsIDOMNodeFilter. r=qdot
MozReview-Commit-ID: JsxGp9HQ2ak
2018-02-01 14:26:13 -05:00
Boris Zbarsky d07e9f2070 Bug 1434819 part 8. Remove the FILTER_* constants from nsIDOMNodeFilter. r=qdot
MozReview-Commit-ID: LSDXZVGDtBc
2018-02-01 14:26:12 -05:00
Boris Zbarsky 7a9f022f1a Bug 1434819 part 7. Remove the SHOW_* constants from nsIDOMNodeFilter. r=qdot
MozReview-Commit-ID: 7E2KZkLfbSI
2018-02-01 14:26:12 -05:00
Boris Zbarsky 59795295d1 Bug 1434819 part 6. Get rid of NodeFilterHolder. r=qdot
Now that TreeWalker and NodeIterator only use webidl APIs, they always have a
NodeFilter, not nsIDOMNodeFilter.

MozReview-Commit-ID: 5pzn9V3Kxzy
2018-02-01 14:26:12 -05:00
Boris Zbarsky ea872de15a Bug 1434819 part 5. Remove nsIDOMTreeWalker. r=qdot
MozReview-Commit-ID: QmxoxVhppG
2018-02-01 14:26:12 -05:00
Boris Zbarsky 8ee1ab7d50 Bug 1434819 part 4. Remove all the methods from nsIDOMTreeWalker. r=qdot
MozReview-Commit-ID: BDxOLArlCYb
2018-02-01 14:26:12 -05:00
Boris Zbarsky 7946bcf30a Bug 1434819 part 3. Stop using XPCOM treewalker bits in webbrowserpersist. r=qdot
MozReview-Commit-ID: GmY7L4p00D1
2018-02-01 14:26:12 -05:00
Boris Zbarsky 8003341ed5 Bug 1434819 part 2. Remove nsIDOMNodeIterator. r=qdot
MozReview-Commit-ID: 7ln10gj1cLP
2018-02-01 14:26:12 -05:00
Boris Zbarsky 39b4225c6b Bug 1434819 part 1. Remove unused methods from nsIDOMNodeIterator. r=qdot
MozReview-Commit-ID: 6mVDmDNxx4p
2018-02-01 14:26:11 -05:00
Boris Zbarsky 31dfca239b Bug 1434803. Properly propagate out errors from various PeerConnectionImpl methods. r=drno
PeerConnectionImpl defines two versions of various fallible methods: a version
taking an ErrorResult argument, and a version returning nsresult.  The methods
were not marked fallible in the webidl, so the bindings called the
nsresult-returning version, but ignored the returned value.  As a result,
failures got swallowed instead of being propagated out.

The changes here annotate the relevant parts of the webidl as throwing, and
convert non-fallible methods to returning void to make infallibility clearer.

MozReview-Commit-ID: JU9NzmEf8FV
2018-02-01 14:22:48 -05:00
Boris Zbarsky 478687c2e8 Bug 1434686 part 4. Use IgnoreErrors() in dom/. r=mystor
MozReview-Commit-ID: GwVDrTLPTOb
2018-02-01 14:21:14 -05:00
Boris Zbarsky bc7691a8db Bug 1434686 part 2. Use IgnoreErrors() in dom/bindings. r=mystor
MozReview-Commit-ID: G8vxR2s2qUJ
2018-02-01 14:21:14 -05:00
Boris Zbarsky f7f6285330 Bug 1434686 part 1. Introduce a mozilla::IgnoreErrors which can be used as a temporary to pass to an ErrorResult& arg when the error should be ignored. r=mystor
Once bug 1434689 is fixed, we can mark this thing as being required to be a temporary.

MozReview-Commit-ID: 7VX0XSYVOc4
2018-02-01 14:21:14 -05:00
Csoregi Natalia 486051b718 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-01 20:14:53 +02:00
Andrea Marchesini 0c7e47f8eb Bug 1434934 - Remove dom.workers.enabled pref, r=bkelly 2018-02-01 18:34:08 +01:00
Nika Layzell 785a14270e Bug 1431867 - Part 2: Add move constructors and assignment operators to IPDL unions, r=mccr8
MozReview-Commit-ID: IQVODEfMGi9
2018-02-01 11:30:50 -05:00
David Keeler 087f092867 bug 1421084 - part 4/4 - remove nsNSSShutDown.h and (hopefully) all references to it r=mt,ttaubert
MozReview-Commit-ID: 2mhvHsC5Nil

--HG--
extra : rebase_source : 651c2bcf8655f75756ea2bac788eb8c0781dc90a
2018-01-24 14:44:01 -08:00
David Keeler ad5cec4768 bug 1421084 - part 3/4 - remove nsNSSShutDownObject::shutdown and virtualDestroyNSSReference r=mt,ttaubert
MozReview-Commit-ID: ErL7ZjAGVVC

--HG--
extra : rebase_source : 2869aafaef729f0ad190f957919e8b9c40700477
2018-01-24 14:29:08 -08:00
David Keeler a0e34baf27 bug 1421084 - part 2/4 - remove nsNSSShutDownObject::isAlreadyShutDown() r=mt,ttaubert
MozReview-Commit-ID: DlS16pHE0Ik

--HG--
extra : rebase_source : d7596a3571478adefae4ffa5d446ff5234ba9ed7
2018-01-23 12:22:56 -08:00
David Keeler e8cc0ba1ce bug 1421084 - part 1/4 - remove now-unnecessary nsNSSShutDownPreventionLock r=mt,ttaubert
As of bug 1417680, the NSS shutdown tracking infrastructure is unnecessary (and
does nothing anyway). This series of changesets removes the remaining pieces in
a way that is hopefully easy to confirm is correct.

MozReview-Commit-ID: 8Y5wpsyNlGc

--HG--
extra : rebase_source : ef6b481510d949e404a4ef5615097d66e566c947
2018-01-23 10:37:47 -08:00
Munro Mengjue Chiang 4197e56037 Bug 1423582 - use UniquePtr to wrap frame. r=pehrsons
MozReview-Commit-ID: 2T7RC1tBbOA

--HG--
extra : rebase_source : e964a73844edb7f10fb94442cc855f7922bb886d
2018-02-01 11:42:28 +01:00
Adrian Wielgosik 1438296c97 Bug 1436865 - Remove nsIDOMCrypto. r=bz
MozReview-Commit-ID: 4bQVSF94bbz

--HG--
extra : rebase_source : 6386e08c4a392b75473c47997e6cf01d35be78e2
2018-02-08 13:22:20 +01:00
Tim Taubert 85569e86c1 Bug 1435527 - Run to timeout from navigator.credentials.get() when PublicKeyCredentialRequestOptions.allowCredentials is empty r=jcj
Reviewers: jcj

Reviewed By: jcj

Bug #: 1435527

Differential Revision: https://phabricator.services.mozilla.com/D559

--HG--
extra : amend_source : 0a715d3667f6813d2d1911a46031e452ef300e32
2018-02-07 20:45:12 +01:00
Nathan Froyd 1dc8c21c65 Bug 1435911 - use a static const char array in nsPlainTextSerializer::DoOpenContainer; r=farre
We never modify this array, so it might as well live in read-only
memory.
2018-02-07 12:49:43 -05:00
Brindusan Cristian 47ba5a55dc Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-06 12:07:56 +02:00
Timothy Nikkel ab2056b146 Bug 1414825. Clear mDataWrapper on ImageBitmap::Close because it holds gfx resources alive. r=nical 2018-02-06 02:53:21 -06:00
Emilio Cobos Álvarez 9a18395a1d Bug 1434474: There's no need to rebuild font / counter styles / font feature values off a runnable. r=bholley
Everything that needs them up-to-date will call flush appropriately, there
should be no need to do it manually.

This way we coalesce all the stylist updates until the next style flush in the
best case, or until one of the consumers actually needs them.

MozReview-Commit-ID: BVsxXxhtcKL

--HG--
extra : rebase_source : a41c14689fdcdb30935e16bdb0e757e7140e88e7
2018-01-31 11:12:36 +01:00
Narcis Beleuzu eeb7190f9a Merge inbound to mozilla-central. a=merge 2018-02-01 12:05:39 +02:00
Adrian Wielgosik 639df9d521 Bug 1353329 - Remove remains of SecureElement API. r=bz
MozReview-Commit-ID: 5D1VriUJ8UP

--HG--
extra : rebase_source : 894a6e151142726e9cc9f6d417bec36831aa1129
2018-01-31 22:07:30 +01:00
Cameron McCormack 2cea1ba7c1 Bug 1430014 - Part 6: #ifdef out a bit more animation-related code. r=hiro
MozReview-Commit-ID: B9TaVJFak26

--HG--
extra : source : 820eed2682b6a6cda892d091ee037ff1eeacd69f
2018-02-01 15:04:04 +11:00
Cameron McCormack d02e54b79b Bug 1430014 - Part 5: Stop building old style system classes when MOZ_OLD_STYLE is not defined. r=xidorn
MozReview-Commit-ID: CIHyPdF7Exl

--HG--
extra : source : 78a2fc781eead47af3923efcde58569c5d882ab1
2018-02-01 15:04:04 +11:00
Cameron McCormack cc7db5c40c Bug 1430014 - Part 4: #ifdef out unnecessary code when the old style system is not built. r=xidorn
MozReview-Commit-ID: 1FZ9VzjcPzN

--HG--
extra : source : de22d220635f8c059834b76f769d5215ab1a8b5b
2018-02-01 15:04:04 +11:00
Chris Pearce b37bd17a56 Bug 1433344 - Convert encrypted AAC to ADTS before decryption. r=jya
MozReview-Commit-ID: IGmBfJtYsCi

--HG--
extra : rebase_source : d066644e848f8fb379607d0168960132881d7df8
2018-01-30 14:39:09 +13:00
Cosmin Sabou b35f58da34 Backed out changeset 1fea6030657b (bug 1433344) for mda failures on EMEDecoderModule.cpp on a CLOSED TREE 2018-02-01 03:05:53 +02:00
David Parks 1dd54ad783 Bug 1433856 - Block PluginModuleChromeParent::CleanupFromTimeout from recursing. r=jimm
CleanupFromTimeout is (transitively) recursing in calls to Close(), as that now leads to shutting down the plugin broker thread and CleanupFromTimeout was being rerun since nsThread::Shutdown runs tasks..
2018-01-29 18:15:18 -08:00
David Parks c6dc5f3406 Bug 1433855 - Make sure plugin function broker's PostToDispatchThread is Waiting before Notifying it. r=jimm
The Monitor's condition variable could be notified before the calling thread had begun to Wait for it.  This caused the Notify to be missed, leading to hangs.  By grabbing the Monitor in PostToDispatchHelper, we know Wait has been called because, otherwise, the calling thread would still hold the Monitor.
2018-01-30 17:32:27 -08:00
Emilio Cobos Álvarez 0bc20b0d9b Bug 1420026: followup: Enable Servo CSS color parsing in canvas. r=xidorn
MozReview-Commit-ID: 9vMlQB7139F
2018-02-01 11:00:12 +11:00
Alex Gaynor eee896973f Bug 1359566 - remove permissions related to audio from the macOS content process sandbox when cubeb remoting is enabled; r=haik
MozReview-Commit-ID: BmBNuSlsyBH

--HG--
extra : rebase_source : 366c8bcffc80b83b348462e13c4893e4854cf389
2017-12-21 09:59:47 -05:00
Valentin Gosu 033570496c Bug 1432602 - Add nsIFileURLMutator.setFile() r=mayhemer
MozReview-Commit-ID: EF2vVYoN8bg

--HG--
extra : rebase_source : 5d2b6fa353f0a0eb189fd08f9fda2bbf1ced30bb
2018-01-31 22:40:45 +01:00
Cosmin Sabou 7092b51729 Merge mozilla-central to autoland. a=merge on CLOSED TREE 2018-02-01 01:19:48 +02:00
Cosmin Sabou cbddf62d14 Merge inbound to mozilla-central. a=merge 2018-02-01 01:14:44 +02:00
shindli a9ac1e44cc Merge inbound to mozilla-central. a=merge 2018-02-01 00:32:39 +02:00
Boris Zbarsky 65bf16222e Bug 1434399 part 19. Remove nsIXULDocument. r=mystor
MozReview-Commit-ID: 9jQu4sjOhb2
2018-01-31 14:49:29 -05:00
Boris Zbarsky 5ed1930118 Bug 1434399 part 18. Remove nsIXULDocument::ResetDocumentLWTheme. r=mystor
MozReview-Commit-ID: 9z4HAVJAl7R
2018-01-31 14:49:29 -05:00
Boris Zbarsky 7608960cee Bug 1434399 part 17. Remove nsIXULDocument::ResetDocumentDirection. r=mystor
MozReview-Commit-ID: 18rQOWg8zvs
2018-01-31 14:49:29 -05:00
Boris Zbarsky 84d7176a8b Bug 1434399 part 16. Remove nsIXULDocument::OnDocumentParserError. r=mystor
MozReview-Commit-ID: 7LbPTqKzkO4
2018-01-31 14:49:29 -05:00
Boris Zbarsky 0bff2380b3 Bug 1434399 part 15. Remove nsIXULDocument::OnPrototypeLoadDone. r=mystor
MozReview-Commit-ID: 9LDh2QByUNV
2018-01-31 14:49:28 -05:00
Boris Zbarsky 439174ece2 Bug 1434399 part 14. Remove add/remove subtree bits from nsIXULDocument. r=mystor
MozReview-Commit-ID: 987df30BZHq
2018-01-31 14:49:28 -05:00
Boris Zbarsky 8d91b52952 Bug 1434399 part 13. Remove C++ uses of nsIDOMXULDocument. r=mystor
MozReview-Commit-ID: KSsXLra5DQk
2018-01-31 14:49:28 -05:00
Boris Zbarsky 96e47c0319 Bug 1434399 part 11. Remove nsIDOMXULDocument::LoadOverlay. r=mystor
MozReview-Commit-ID: 4ad9AbkMcl0
2018-01-31 14:49:28 -05:00
Boris Zbarsky 006423b188 Bug 1434399 part 10. Remove nsIDOMXULDocument::GetBoxObjectFor. r=mystor
MozReview-Commit-ID: AvUdAtCMRRq
2018-01-31 14:49:28 -05:00
Boris Zbarsky 703e27ac8a Bug 1434399 part 9. Remove nsIDOMXULDocument::Persist. r=mystor
MozReview-Commit-ID: 8LKgjwt5Yi6
2018-01-31 14:49:28 -05:00
Boris Zbarsky 59398e9cad Bug 1434399 part 8. Remove nsIDOMXULDocument's broadcast listener bits. r=mystor
MozReview-Commit-ID: Auj7Lfu6ex3
2018-01-31 14:49:27 -05:00
Boris Zbarsky f35c2bc77d Bug 1434399 part 7. Remove nsIDOMXULDocument's getElementsByAttribute(NS) methods. r=mystor
MozReview-Commit-ID: HN1le8EkeGr
2018-01-31 14:49:27 -05:00
Boris Zbarsky cf38d244a2 Bug 1434399 part 6. Remove nsIDOMXULDocument's width/height attributes. r=mystor
MozReview-Commit-ID: 1pYKNXwqnGq
2018-01-31 14:49:27 -05:00
Boris Zbarsky ee62abf47b Bug 1434399 part 5. Remove nsIDOMXULDocument's commandDispatcher attribute. r=mystor
MozReview-Commit-ID: BjRVr3ScuK5
2018-01-31 14:49:27 -05:00
Boris Zbarsky 173cf8462b Bug 1434399 part 4. Remove nsIDOMXULDocument's tooltipNode attribute. r=mystor
MozReview-Commit-ID: 4j1xDBAHHof
2018-01-31 14:49:27 -05:00
Boris Zbarsky 46a787b972 Bug 1434399 part 3. Remove nsIDOMXULDocument's popupRangeParent/popupRangeOffset attributes. r=mystor
MozReview-Commit-ID: dU65u8Hx2V
2018-01-31 14:49:27 -05:00
Boris Zbarsky ae5bc0e5e3 Bug 1434399 part 2. Remove nsIDOMXULDocument's popupNode attribute. r=mystor
MozReview-Commit-ID: 5x0Fa12jBvg
2018-01-31 14:49:27 -05:00
Boris Zbarsky 99c47399c4 Bug 1434399 part 1. Switch to nsINode for the popup node on windowroot. r=mystor
MozReview-Commit-ID: HyiHElDnmSH
2018-01-31 14:49:26 -05:00
Cosmin Sabou 94617f91cf Backed out 19 changesets (bug 1434399) for build bustages on nsXULPopupManager.cpp on a CLOSED TREE
Backed out changeset 499f6dffd9cb (bug 1434399)
Backed out changeset 018290612415 (bug 1434399)
Backed out changeset f4c3179f8e59 (bug 1434399)
Backed out changeset f3ce2826b857 (bug 1434399)
Backed out changeset 6d2391af01dd (bug 1434399)
Backed out changeset dc98ed8c609a (bug 1434399)
Backed out changeset 8eaa395d6200 (bug 1434399)
Backed out changeset 19b18f4a53be (bug 1434399)
Backed out changeset 8ff378a6e96a (bug 1434399)
Backed out changeset 60fe73be1a26 (bug 1434399)
Backed out changeset faefb2751fdc (bug 1434399)
Backed out changeset 55cdf8b3a959 (bug 1434399)
Backed out changeset b578cc8efb92 (bug 1434399)
Backed out changeset 54cc4cb2fca1 (bug 1434399)
Backed out changeset f5343ef34d6c (bug 1434399)
Backed out changeset 8fb30e066cbd (bug 1434399)
Backed out changeset 21341b656b0f (bug 1434399)
Backed out changeset fab1f8b087a2 (bug 1434399)
Backed out changeset 55250a54852a (bug 1434399)
2018-01-31 22:45:26 +02:00
Boris Zbarsky fe2cefd901 Bug 1434318 part 14. Remove various unused nsIDOMDocument bits. r=mystor
MozReview-Commit-ID: CCYEpeZTMLG
2018-01-31 15:18:11 -05:00
Boris Zbarsky 928d0d4fa7 Bug 1434318 part 13. Remove nsIDOMDocument::CreateEvent. r=mystor
MozReview-Commit-ID: EaUjTLeaQ0n
2018-01-31 15:18:11 -05:00
Boris Zbarsky 0935ca9973 Bug 1434318 part 12. Remove nsIDOMDocument's contentType attribute. r=mystor
MozReview-Commit-ID: DAXrxIxiac4
2018-01-31 15:18:11 -05:00
Boris Zbarsky d8503e650d Bug 1434318 part 11. Remove nsIDOMDocument's stylesheet set APIs. r=mystor
MozReview-Commit-ID: 9ABdbYKZI6k
2018-01-31 15:18:11 -05:00
Boris Zbarsky f0d195b828 Bug 1434318 part 10. Remove nsIDOMDocument's title attribute. r=mystor
MozReview-Commit-ID: IBToVxx4bSs
2018-01-31 15:18:10 -05:00
Boris Zbarsky d42eaf220e Bug 1434318 part 9. Remove nsIDOMDocument::CreateTreeWalker. r=mystor
MozReview-Commit-ID: 53JPEy7AQtp
2018-01-31 15:18:10 -05:00
Boris Zbarsky ede65cfa38 Bug 1434318 part 8. Remove nsIDOMDocument::GetElementById. r=mystor
MozReview-Commit-ID: IzjmFqySBpB
2018-01-31 15:18:10 -05:00
Boris Zbarsky a514705917 Bug 1434318 part 7. Remove nsIDOMDocument::GetElementsBy* methods. r=mystor
MozReview-Commit-ID: CnfelWtz0mT
2018-01-31 15:18:10 -05:00
Boris Zbarsky e4b987a4d3 Bug 1434318 part 6. Remove nsIDOMDocument::CreateDocumentFragment. r=mystor
MozReview-Commit-ID: A4Me0H1MzL6
2018-01-31 15:18:10 -05:00
Boris Zbarsky 8a4e877b15 Bug 1434318 part 5. Remove some unused nsIDOMDocument node-creation APIs. r=mystor
MozReview-Commit-ID: A0GRXYLsupg
2018-01-31 15:18:10 -05:00
Boris Zbarsky 29c18cd07f Bug 1434318 part 4. Remove nsIDOMDocument's documentElement attribute. r=mystor
MozReview-Commit-ID: 2FUstFDF2lF
2018-01-31 15:18:10 -05:00
Boris Zbarsky 22839b2f74 Bug 1434318 part 3. Remove nsIDOMDocument's doctype attribute. r=mystor
MozReview-Commit-ID: GsTN3kZATz7
2018-01-31 15:18:09 -05:00
Boris Zbarsky 45afd61f33 Bug 1434318 part 1. Make nsIContentViewer's DOMDocument readonly. r=mystor
No one ever assigns to it in JS anyway.

MozReview-Commit-ID: EAoOXSFnwtl
2018-01-31 15:18:09 -05:00
Boris Zbarsky 95e268e32f Bug 1434399 part 19. Remove nsIXULDocument. r=mystor
MozReview-Commit-ID: 9jQu4sjOhb2
2018-01-31 14:49:29 -05:00
Boris Zbarsky 3347e08790 Bug 1434399 part 18. Remove nsIXULDocument::ResetDocumentLWTheme. r=mystor
MozReview-Commit-ID: 9z4HAVJAl7R
2018-01-31 14:49:29 -05:00
Boris Zbarsky 3e1fd1a5ab Bug 1434399 part 17. Remove nsIXULDocument::ResetDocumentDirection. r=mystor
MozReview-Commit-ID: 18rQOWg8zvs
2018-01-31 14:49:29 -05:00
Boris Zbarsky b209de830f Bug 1434399 part 16. Remove nsIXULDocument::OnDocumentParserError. r=mystor
MozReview-Commit-ID: 7LbPTqKzkO4
2018-01-31 14:49:29 -05:00
Boris Zbarsky 8e2fc8e6f0 Bug 1434399 part 15. Remove nsIXULDocument::OnPrototypeLoadDone. r=mystor
MozReview-Commit-ID: 9LDh2QByUNV
2018-01-31 14:49:28 -05:00
Boris Zbarsky 3ee8d239ea Bug 1434399 part 14. Remove add/remove subtree bits from nsIXULDocument. r=mystor
MozReview-Commit-ID: 987df30BZHq
2018-01-31 14:49:28 -05:00
Boris Zbarsky 467ed0721d Bug 1434399 part 13. Remove C++ uses of nsIDOMXULDocument. r=mystor
MozReview-Commit-ID: KSsXLra5DQk
2018-01-31 14:49:28 -05:00
Boris Zbarsky 550b138859 Bug 1434399 part 11. Remove nsIDOMXULDocument::LoadOverlay. r=mystor
MozReview-Commit-ID: 4ad9AbkMcl0
2018-01-31 14:49:28 -05:00
Boris Zbarsky 2152c06e6d Bug 1434399 part 10. Remove nsIDOMXULDocument::GetBoxObjectFor. r=mystor
MozReview-Commit-ID: AvUdAtCMRRq
2018-01-31 14:49:28 -05:00
Boris Zbarsky 76d6420fab Bug 1434399 part 9. Remove nsIDOMXULDocument::Persist. r=mystor
MozReview-Commit-ID: 8LKgjwt5Yi6
2018-01-31 14:49:28 -05:00
Boris Zbarsky 149ca3c91f Bug 1434399 part 8. Remove nsIDOMXULDocument's broadcast listener bits. r=mystor
MozReview-Commit-ID: Auj7Lfu6ex3
2018-01-31 14:49:27 -05:00
Boris Zbarsky 3dcb19ca5e Bug 1434399 part 7. Remove nsIDOMXULDocument's getElementsByAttribute(NS) methods. r=mystor
MozReview-Commit-ID: HN1le8EkeGr
2018-01-31 14:49:27 -05:00
Boris Zbarsky 19eeccb23d Bug 1434399 part 6. Remove nsIDOMXULDocument's width/height attributes. r=mystor
MozReview-Commit-ID: 1pYKNXwqnGq
2018-01-31 14:49:27 -05:00
Boris Zbarsky 493dd48468 Bug 1434399 part 5. Remove nsIDOMXULDocument's commandDispatcher attribute. r=mystor
MozReview-Commit-ID: BjRVr3ScuK5
2018-01-31 14:49:27 -05:00
Boris Zbarsky 0cfbd19f50 Bug 1434399 part 4. Remove nsIDOMXULDocument's tooltipNode attribute. r=mystor
MozReview-Commit-ID: 4j1xDBAHHof
2018-01-31 14:49:27 -05:00
Boris Zbarsky 645b3296c3 Bug 1434399 part 3. Remove nsIDOMXULDocument's popupRangeParent/popupRangeOffset attributes. r=mystor
MozReview-Commit-ID: dU65u8Hx2V
2018-01-31 14:49:27 -05:00
Boris Zbarsky 099100b791 Bug 1434399 part 2. Remove nsIDOMXULDocument's popupNode attribute. r=mystor
MozReview-Commit-ID: 5x0Fa12jBvg
2018-01-31 14:49:27 -05:00
Boris Zbarsky 9fe358b3cc Bug 1434399 part 1. Switch to nsINode for the popup node on windowroot. r=mystor
MozReview-Commit-ID: HyiHElDnmSH
2018-01-31 14:49:26 -05:00
Sebastian Hengst 953d3fa662 merge mozilla-central to mozilla-inbound. CLOSED TREE 2018-01-31 21:31:53 +02:00
Noemi Erli 7c3f6909e2 Backed out changeset 87ef5029dd10 (bug 1434599) for failing in dom/serviceworkers/test/test_workerupdatefoundevent.html on a CLOSED TREE 2018-01-31 21:18:05 +02:00
Sebastian Hengst 2990df182c Backed out changeset f31755ef4145 (bug 1434618) for webdriver failures, e.g. webdriver/tests/actions/mouse_dblclick.py. CLOSED TREE 2018-01-31 20:53:35 +02:00
Sebastian Hengst 14018b66f7 Backed out changeset 52b418c8febf (bug 1371699) for failing wpt webvtt/parsing/cue-text-parsing/tests/entities.html on Linux
--HG--
extra : histedit_source : d98d3d57b04e85bbee527549ecc271e5fc02e21e
2018-01-31 20:31:22 +02:00
Sebastian Hengst e33e198739 Backed out changeset f1221589e7a6 (bug 1405974) for failing wpt webvtt/parsing/cue-text-parsing/tests/entities.html on Linux
--HG--
extra : histedit_source : d11737083bf4383b50707e024539f45f174531f9
2018-01-31 20:30:45 +02:00
Ben Kelly db68b5ffd6 Bug 1434342 Follow-up to fix bustage on a CLOSED TREE. r=me 2018-01-31 09:27:21 -08:00
Andreas Pehrson 0d112b8fad Bug 1434628 - Unbust --disable-webrtc builds. r=padenot, a=me
MozReview-Commit-ID: Ef8LOr1YymV
2018-01-31 16:59:53 +01:00
Andreas Pehrson f3cc4b74af Bug 1299515 - Fix bustage on a CLOSED TREE. r=me
--HG--
extra : rebase_source : 5312eaeec727b4cc9ced77fc2adbbff19ab6cc26
extra : histedit_source : c6638f1b1df9af06b30412e774c4a6f782d45c8c
2018-01-31 16:08:13 +01:00
Ben Kelly af73b55e78 Bug 1434342 P7 Use the global to GetOrCreate the ServiceWorker DOM instance. r=asuth 2018-01-31 09:10:27 -08:00
Ben Kelly 9dfb987159 Bug 1434342 P6 Make ServiceWorker call nsIGlobalObject::AddServiceWorker and RemoveServiceWorker. r=asuth 2018-01-31 09:10:26 -08:00
Ben Kelly 0ff28a0a92 Bug 1434342 P5 Support caching the ServiceWorker DOM instance on the global. r=asuth 2018-01-31 09:10:26 -08:00
Ben Kelly 00f7b788b7 Bug 1434342 P4 Make ServiceWorker operate on an abstract Inner interface that ServiceWorkerInfo implements. r=asuth 2018-01-31 09:10:26 -08:00
Ben Kelly 2508c997c6 Bug 1434342 P3 Make each ServiceWorker DOM object automatically fire its statechange event when appropriate. r=asuth 2018-01-31 09:10:26 -08:00
Ben Kelly 7427e49f90 Bug 1434342 P2 Make ServiceWorker store and use a ServiceWorkerDescriptor internally. r=asuth 2018-01-31 09:10:26 -08:00
Ben Kelly 231fc8a398 Bug 1434342 P1 Add ServiceWorker::Create() factory method. r=asuth 2018-01-31 09:10:25 -08:00
Ben Kelly 50b08d7ef3 Bug 1433545 P2 Remove mScriptSpec from ServiceWorkerInfo and use mDescriptor.ScriptURL() instead. r=asuth 2018-01-31 08:29:50 -08:00
Ben Kelly e2e2e36fd3 Bug 1433545 P1 Add scriptURL to ServiceWorkerDescriptor. r=asuth 2018-01-31 08:29:49 -08:00
Ben Kelly 0d6f124415 Bug 1433505 P3 Make ServiceWorkerRegistrationInfo use ServiceWorkerRegistrationDescriptor internally. r=asuth 2018-01-31 08:29:49 -08:00
Ben Kelly 84065537b6 Bug 1433505 P2 Make various class members on ServiceWorkerRegistrationInfo private. r=asuth 2018-01-31 08:29:49 -08:00
Ben Kelly fcf562611d Bug 1433505 P1 Add the ServiceWorkerRegistrationDescriptor and backing IPC type. r=asuth 2018-01-31 08:29:49 -08:00
Catalin Badea 78f34395e1 Bug 1434599 - Enable test_workerupdatefoundevent.html. r=bkelly 2018-01-31 15:49:05 +00:00
Andrea Marchesini 69f4700dfd Bug 1405974 - NonBlockingAsyncInputStream must take the ownership of the underlying stream, r=qdot 2018-01-31 16:45:20 +01:00
Andrea Marchesini c16f42b917 Bug 1371699 - Use of NonBlockingAsyncInputStream in our code base, r=froydnj 2018-01-31 16:45:20 +01:00
Andrea Marchesini f8497b97e2 Bug 1434618 - Worker shutdown should start at xpcom-will-shutdown notification, r=smaug 2018-01-31 16:43:24 +01:00
shindli f713c5d75e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-01 00:37:57 +02:00
shindli f0168929ca Backed out changeset e401076359c6 (bug 1354175) for M(8) failures on a CLOSED TREE 2018-01-31 21:26:42 +02:00
Ryan VanderMeulen 9caf2eef7a Merge m-c to autoland. a=merge
--HG--
extra : rebase_source : 73b562c59886041340979307ee3d32708bb2c7cd
2018-01-31 13:06:32 -05:00
Andreea Pavel d652648d08 Merge mozilla-central to autoland a=merge on a CLOSED TREE
--HG--
rename : dom/media/webrtc/MediaEngine.h => dom/media/webrtc/MediaEnginePrefs.h
extra : rebase_source : 661454de54cac8d23010da02d0c0d68c1856500d
2018-01-31 19:39:52 +02:00
Daniel Holbert 16899e706b Bug 1382071: Change a comparison in test_eventTimeStamp.html to consider its upper & lower bounds as part of the valid range. r=birtles
MozReview-Commit-ID: 4FZDKqKZLHM

--HG--
extra : rebase_source : 4807a6da59ce465646e04dc61cdf98d6ff1dc746
2018-01-31 12:17:36 -05:00
Johann Hofmann e5ffc51da5 Bug 1428320 - Ignore about: pages for indexedDB storage type telemetry. r=janv
MozReview-Commit-ID: 1Cx5hBsqyX1

--HG--
extra : rebase_source : 7bfe9fdefb413d84309943697f2159e107f5d05e
2018-01-05 12:52:07 +01:00
Jonathan Kingston 8e24b20ae1 Bug 1354175 - Disable AppCache in insecure contexts. r=baku,bkelly,mayhemer
MozReview-Commit-ID: wYWHkGlV8h

--HG--
extra : rebase_source : 19e2663304c582fdb20a45efc3e9b55fd43fa286
2018-01-12 19:09:30 +00:00
Masayuki Nakano c1d340ed59 Bug 1134540 - Make all tests stop using nsIDOMWindowUtils.sendKeyEvent() r=smaug
nsIDOMWindowUtils.sendKeyEvent() can dispatch any keyboard events, i.e.,
may dispatch different key events from actual Gecko's behavior.  Instead,
they should use nsITextInputProcessor directly or synthesizeKey() of
EventUtils which wraps nsITextInputProcessor.

MozReview-Commit-ID: EDWqXy1OxJp

--HG--
extra : rebase_source : 158c6f3d1611646540133297e4c8352e0b85ab79
2018-01-30 22:05:44 +09:00
Dorel Luca 890eb016d9 Merge mozilla-central to autoland. r=merge
--HG--
extra : rebase_source : f28e015c1411d7185cd69a272fea28620af062d9
2018-02-07 12:18:35 +02:00
Masayuki Nakano 55ae27327e Bug 1436005 - Make type of nsIDOMWindowUtils.focusedInputType AString r=hsivonen
nsIDOMWindowUtils.focusedInputType is necessary to check if IMEStateManager
sets InputContext of widget properly.  So, let's keep it but make its type
AString (nsAString&) rather than string (char**).

MozReview-Commit-ID: 1RHhmAsPY5a

--HG--
extra : rebase_source : 1e3ed6fa36028f2883cc37b0f2f1ff1f0eb23fd4
2018-02-07 15:16:41 +09:00
Cameron McCormack 73774a4b98 Bug 1435666 - Part 4: Remove nsIDOMXPathEvaluator. r=bz
MozReview-Commit-ID: 2nZmbJ9mdwI

--HG--
extra : rebase_source : 3acc54ac7726de2ff00a9b7ddadfcb7e28f573eb
2018-02-05 13:05:45 +08:00
Cameron McCormack 234b89c117 Bug 1435666 - Part 3: Remove nsIDOMXPathResult. r=bz
MozReview-Commit-ID: 9j6dUlanNTi

--HG--
extra : rebase_source : 9a790516379441d4e048009bcacdd26e93fde6ae
2018-02-05 11:39:18 +08:00
Cameron McCormack 70af884bbd Bug 1435666 - Part 2: Remove nsIDOMTimeEvent. r=bz
MozReview-Commit-ID: F2fYWhUKzyp

--HG--
extra : rebase_source : 4dc8397fe050262463d37a9829130c0af707f4ba
2018-02-05 10:31:43 +08:00
Cameron McCormack a3eee241b4 Bug 1435666 - Part 1: Remove nsIDOMSVGElement. r=bz
MozReview-Commit-ID: Hlfnu3pXC0n

--HG--
extra : rebase_source : b50343bbebe2044442af4491f7c97209ad8d4fc0
2018-02-04 17:40:57 +08:00
Emilio Cobos Álvarez c2f6e9ff37 Bug 1435939: Process all the MediumFeatureChanges at the same time. r=xidorn
This avoids resetting the computed values all the time, and paves the way to
avoid using a StyleSet on XBL bindings / Shadow DOM, which we should really
really do because it's super overkill.

There are some XBL bits that are kind of hacky, in particular the mStylistDirty,
but they'll go away soon, since I want to redo how we store styles in XBL.

The alternative, which was returning an array of indices or something was even
more hacky I think.

MozReview-Commit-ID: 6tEl5gebXVF
2018-02-07 15:27:56 +01:00
Emilio Cobos Álvarez ee4bdd20be Bug 1435939: Propagate the media feature change reason around. r=xidorn
Just some argument shuffling and such.

MozReview-Commit-ID: vPFoU2DUXb
2018-02-07 15:27:46 +01:00
Masayuki Nakano e9db53ab05 Bug 1436248 - Don't use selectionchange event in browser-chrome test since it's not standardized yet whether it should be fired on <input> and <textarea> r=enndeakin+6102+6102
In current draft, selectionchange event should be fired when Selection is
changed in Document.  However, selection of <input> and <textarea> is different
from Selection in web standards (although our implementation uses Selection).

So, we should check it with SimpleText.executeSoon() for now since it might
be possible that selectionchange event in <input> and <textarea> would be
removed completely.

MozReview-Commit-ID: APvMwbysDzs

--HG--
extra : rebase_source : 3d9cf8c8e8c997744909c087862707f741d170d6
2018-02-07 14:44:09 +09:00
Andreas Pehrson fe7bade6b4 Bug 1434946 - Indentation fix. r=jib
MozReview-Commit-ID: JCQxatbThyI

--HG--
extra : rebase_source : 6d5c7319a69da1b5e93b352be79400ad8fd526f8
2018-02-01 18:35:55 +01:00
Andreas Pehrson 0c896f9aef Bug 1434946 - Set framerate in settings when capabilities are updated. r=jib
This adds back the `framerate` update that was removed in bug 1299515.

It also fixes a threading issue (not really an issue, but it broke the
documented policy) where Start() wrote to mCapability without holding mMutex.

MozReview-Commit-ID: Jda5moNhlkM

--HG--
extra : rebase_source : a8f27f064b9f818eb29aa72a18605786c474631b
2018-02-01 17:00:59 +01:00
Andreas Pehrson f52aa5b27e Bug 1434946 - Report resolution change in settings already on first frame. r=jib
MozReview-Commit-ID: IzhdiHgVKOc

--HG--
extra : rebase_source : 085308eb966554ed71fb6b758cd59132b43d6ceb
2018-02-01 16:58:35 +01:00
Andreas Pehrson 422d32be88 Bug 1434861 - Simplify rescaling code in MediaEngineRemoteVideoSource::DeliverFrame. r=jib
Most importantly, this reduces the number of copies to 1 in the common case.
In a case where we are rescaling because there are competing gUM requests
this does two copies, where one is the crop-and-scale operation itself.

In the worst case we do two allocations, but with a buffer pool and a recycling
ImageContainer we allocate very rarely in practice.

MozReview-Commit-ID: B0Et4wZol9n

--HG--
extra : rebase_source : e0950a53278336773570c9e989a21392195f8898
2018-02-01 16:06:19 +01:00
Gurzau Raul 3a5264e71b Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-07 00:00:20 +02:00
Robert Longson c4391552bc Bug 1435568 - Remove SVGUnitTypes values from elements r=jwatt r=bkelly (DOM Peer) 2018-02-06 21:35:34 +00:00
Munro Mengjue Chiang 05487212d3 Bug 1426129 - Hold CamerasChild via promoting "this" to a RefPtr. r=jib
MozReview-Commit-ID: JdZqnGxlsBV
2018-01-16 15:27:09 +08:00
Boris Zbarsky 1c50f93c8b Bug 1435764 part 4. Use NodeFilter in various system-JS places instead of hardcoding constant values. r=kmag
MozReview-Commit-ID: HuwuVXWcWQE
2018-02-06 13:03:44 -05:00
Ciure Andrei 6c09be0569 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-02-03 00:15:11 +02:00
Eric Rahm 14975c9574 Bug 1434689 - Part 4: Annotate IgnoreErrors as MOZ_TEMPORARY_CLASS. r=bz
IgnoreErrors is intended to only be used as a temporary class, this adds an
explicit annotation.

--HG--
extra : rebase_source : 4142429081d3f70097594d200950b74d100ab67b
2018-02-02 13:21:51 -08:00
Coroiu Cristina 71d3d9a464 Merge mozilla-central to inbound on a CLOSED TREE 2018-02-02 19:44:32 +02:00
Andrea Marchesini 9294ce8532 Bug 1435197 - Reduce the number of headers included in WorkerCommon.h, r=smaug 2018-02-02 17:35:28 +01:00
shindli 8bf605352e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-01 00:38:55 +02:00
Chris Pearce 328670db16 Bug 1433344 - Convert encrypted AAC to ADTS before decryption. r=jya
MozReview-Commit-ID: IGmBfJtYsCi

--HG--
extra : rebase_source : a0752ed6c85faf4333ae84a3e5b20695b5bf26a6
2018-01-30 14:39:09 +13:00
Boris Zbarsky 4f2bf4184c Bug 1435483 part 21. Remove nsIException::ToString. r=qdot
MozReview-Commit-ID: 17yuhlqzbr2
2018-02-05 16:34:06 -05:00
Boris Zbarsky d023fa0839 Bug 1435483 part 20. Remove nsIException::GetData. r=qdot
MozReview-Commit-ID: 9cDzCeddOmh
2018-02-05 16:34:06 -05:00
Boris Zbarsky 2e3807bdc2 Bug 1435483 part 19. Remove nsIException::GetLocation. r=qdot
MozReview-Commit-ID: AbVQ7IA4xqp
2018-02-05 16:34:06 -05:00
Boris Zbarsky 3bf93ec28e Bug 1435483 part 18. Remove nsIException::GetResult. r=qdot
MozReview-Commit-ID: JArus2ddEsL
2018-02-05 16:34:06 -05:00
Boris Zbarsky 180fe6930c Bug 1435483 part 17. Remove nsIException::GetMessageMoz. r=qdot
MozReview-Commit-ID: GKzE812BfIF
2018-02-05 16:34:06 -05:00
Boris Zbarsky 12e9f78050 Bug 1435483 part 16. Switch to using dom::Exception, not nsIException, in C++ code. r=qdot
nsIException is builtinclass in idl, so whatever code we had to handle
non-dom::Exception nsIExceptions is dead code.

MozReview-Commit-ID: 6VnqDWt0041
2018-02-05 16:34:05 -05:00
Boris Zbarsky 317b319575 Bug 1435483 part 15. Remove nsIDOMRequestService::FireDetailedError. r=qdot
It's doing casts that are bogus.  We can do the same thing (only needed for
tests anyway) via a chromeonly API on DOMRequest.

MozReview-Commit-ID: 1FUPGMhBU3k
2018-02-05 16:34:05 -05:00
Boris Zbarsky d748458d6f Bug 1435483 part 14. Remove nsIException::GetFilename/GetLineNumber/GetColumnNumber. r=qdot
MozReview-Commit-ID: 6JN7UvkhPgl
2018-02-05 16:34:05 -05:00
Boris Zbarsky eebfa7dd8a Bug 1435483 part 13. Remove nsIException::GetName. r=qdot
MozReview-Commit-ID: CXnwjeHoGRm
2018-02-05 16:34:05 -05:00
Boris Zbarsky fc5ae1f4a1 Bug 1435483 part 12. Add an infallible "toString" method on nsIStackFrame. r=qdot
MozReview-Commit-ID: CTCawPvw6VZ
2018-02-05 16:34:05 -05:00
Boris Zbarsky 539cfc28e6 Bug 1435483 part 11. Add an infallible "formattedStack" getter on nsIStackFrame. r=qdot
MozReview-Commit-ID: KLSzUuWt45x
2018-02-05 16:34:05 -05:00
Boris Zbarsky c8bd8682bf Bug 1435483 part 10. Add infallible "asyncCaller" and "caller" getters on nsIStackFrame. r=qdot
MozReview-Commit-ID: 8pdMDFHWlVt
2018-02-05 16:34:05 -05:00
Boris Zbarsky b7eaf4b6ae Bug 1435483 part 9. Add an infallible "name" getter on nsIStackFrame. r=qdot
MozReview-Commit-ID: ADxO2A8nkel
2018-02-05 16:34:05 -05:00
Boris Zbarsky 984978f22d Bug 1435483 part 8. Add an infallible "asyncCause" getter on nsIStackFrame. r=qdot
MozReview-Commit-ID: KpRyt21PF7W
2018-02-05 16:34:04 -05:00
Boris Zbarsky fc7c1f0034 Bug 1435483 part 7. Add an infallible "columnNumber" getter on nsIStackFrame. r=qdot
MozReview-Commit-ID: 7VJvDR0qD3G
2018-02-05 16:34:04 -05:00
Boris Zbarsky 2c00c8c971 Bug 1435483 part 6. Add an infallible "lineNumber" getter on nsIStackFrame. r=qdot
MozReview-Commit-ID: 7aYg9kJhiab
2018-02-05 16:34:04 -05:00
Boris Zbarsky 02f7baafc0 Bug 1435483 part 5. Add an infallible "filename" getter on nsIStackFrame. r=qdot
MozReview-Commit-ID: D3uuehuDqOB
2018-02-05 16:34:04 -05:00
Boris Zbarsky 796faaaf13 Bug 1435483 part 4. Remove always-true mInitialized member from Exception. r=qdot
MozReview-Commit-ID: H1ZPg76xNyI
2018-02-05 16:34:04 -05:00
Boris Zbarsky 0920564cb3 Bug 1435483 part 3. Remove nsIXPCException. r=qdot
This interface is not usable from JS, because we don't expose initialize() in
the WebIDL bindings for Exception.  And C++ doesn't use it.

MozReview-Commit-ID: LsIm4YA0YZE
2018-02-05 16:34:04 -05:00
Boris Zbarsky de9c98ee56 Bug 1435483 part 2. Stop allowing creation of Exception objects via contract/CID. r=bholley
MozReview-Commit-ID: H6RmL4BZfgh
2018-02-05 16:34:04 -05:00
Boris Zbarsky adb8821d28 Bug 1435480. Propagate the return values of the state-manipulating InspectorUtils methods out through the bindings. r=xidorn
MozReview-Commit-ID: 6SPMf4vIQYx
2018-02-05 16:00:05 -05:00
Boris Zbarsky 3990908dfe Bug 1435430 part 10. Remove now-unused nsIXSLTProcesor interfaces. r=mystor
MozReview-Commit-ID: JBdem9vRgcN
2018-02-05 16:00:05 -05:00
Boris Zbarsky d271a46ecf Bug 1435430 part 9. Remove nsIXSLTProcessorPrivate::DISABLE_ALL_LOADS. r=mystor
MozReview-Commit-ID: PCHylPszxI
2018-02-05 16:00:05 -05:00
Boris Zbarsky e925a44c0a Bug 1435430 part 8. Remove nsIXSLTProcessor::ClearParameters and nsIXSLTProcessor::Reset. r=mystor
MozReview-Commit-ID: 3qsXzmoqQlY
2018-02-05 16:00:05 -05:00
Boris Zbarsky ff6b676fa8 Bug 1435430 part 7. Remove nsIXSLTProcessor::RemoveParameter. r=mystor
MozReview-Commit-ID: 8cf2jHkGS7L
2018-02-05 16:00:04 -05:00
Boris Zbarsky 4a7d53ae9a Bug 1435430 part 6. Remove nsIXSLTProcessor::GetParameter. r=mystor
MozReview-Commit-ID: EmoJDwDw4kp
2018-02-05 16:00:04 -05:00
Boris Zbarsky c7caeef3ae Bug 1435430 part 5. Remove nsIXSLTProcessor::SetParameter. r=mystor
MozReview-Commit-ID: 47Pc4Puub4T
2018-02-05 16:00:04 -05:00
Boris Zbarsky f7873b036a Bug 1435430 part 4. Remove nsIXSLTProcessor::TransformToDocument. r=mystor
MozReview-Commit-ID: C15Gr1oxq8s
2018-02-05 16:00:04 -05:00
Boris Zbarsky daa2640fb6 Bug 1435430 part 3. Remove nsIXSLTProcessor::ImportStylesheet. r=mystor
MozReview-Commit-ID: Csqh40GjqJn
2018-02-05 16:00:04 -05:00
Boris Zbarsky 594dedafaa Bug 1435430 part 2. Remove nsIXSLTProcessor::TransformToFragment. r=mystor
MozReview-Commit-ID: L1ILcLGAyy
2018-02-05 16:00:04 -05:00
Boris Zbarsky ba9661475c Bug 1435430 part 1. Switch to creating XSLTProcessors via constructor, not contract. r=mystor
MozReview-Commit-ID: A20gseUzUFT
2018-02-05 16:00:04 -05:00
Andrea Marchesini 80a7883970 Bug 1422036 - Using WorkerControlRunnable to release resources in fetch when the worker is shutting down, r=catalinb 2018-02-05 19:55:08 +01:00
Andrea Marchesini 8cdf705535 Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly 2018-02-05 19:55:07 +01:00
Andreas Pehrson 943436bfbe Bug 1426718 - Assert that we append at most once per stream per iteration. r=padenot
MozReview-Commit-ID: 3bNTZRhv839

--HG--
extra : rebase_source : b7da2412b89bf79c72344509847ff54853adcbbe
2017-11-22 14:30:00 +01:00