Bogdan Tara
cd1c3cc5dd
Merge mozilla-central to autoland, r=merge a=merge on a CLOSED TREE
2018-01-09 00:16:46 +02:00
Bogdan Tara
73b4d6b26a
Merge inbound to mozilla-central r=merge a=merge
2018-01-09 00:05:31 +02:00
Jon Coppeard
3bd056fab8
Bug 1377402 - Add null check in SimpleGlobalObject's class hooks r=sfink
2018-01-08 14:27:50 +00:00
Edgar Chen
d6c2c3283e
Bug 1428244 - Part 1: Add [CEReactions] in CSSStyleDeclaration; r=smaug
...
per https://drafts.csswg.org/cssom/#dom-cssstyledeclaration-camel-cased-attribute .
MozReview-Commit-ID: 7QkAZeUOrlh
--HG--
extra : rebase_source : 1431dfd4edebf8140604ac79253c674f3bf4f89d
2017-12-13 10:24:35 -06:00
Valentin Gosu
b2e06a6d9b
Bug 1426501 - Add nsINetUtil.notImplemented() method that always throws r=mayhemer
...
MozReview-Commit-ID: Ij3M5Ydtlac
--HG--
extra : rebase_source : f95ea333bad7eeacf7fd753028ac4ead18e70eef
2018-01-08 11:23:53 +01:00
Kyle Machulis
a5bf8f2796
Bug 1428229 - Add comments about purposefully uninitialized variables in BindingDeclarations; r=bz
...
MozReview-Commit-ID: HnWjU3BbwBE
--HG--
extra : rebase_source : a9a5ea5057c8892cb77d02c3873384b20897acd7
2018-01-05 12:37:42 -08:00
Kyle Machulis
0aafef6a46
Bug 1428229 - Partial backout a4094a8fa08d (bug 1406820) due to optimization removals; r=bz
...
MozReview-Commit-ID: AZDXw8NbgHt
--HG--
extra : rebase_source : 49c0f308120d92ef7e2cb0fcbb8337c006959c9f
2018-01-05 13:44:25 -08:00
Andrea Marchesini
d820259403
Bug 1425574 - Fill the feature gap between Console.jsm and Console API - part 1 - Console.createInstance(), r=smaug
2018-01-04 19:19:43 +01:00
Boris Zbarsky
0b411e80c7
Bug 1407858 part 3. Add a literal string state to DOMString. r=smaug
...
MozReview-Commit-ID: JOuoLoZ2tcR
2017-12-22 13:02:51 -05:00
Boris Zbarsky
ca6aad3847
Bug 1407858 part 2. Make DOMString's data model clearer and update various documentation. r=smaug
...
MozReview-Commit-ID: AaTeI1e7Qnk
2017-12-22 13:02:51 -05:00
Boris Zbarsky
06a6d6e207
Bug 1407858 part 1. Give DOMString setter APIs clearer names. r=smaug
...
The renaming here is like this:
SetStringBuffer -> SetKnownLiveStringBuffer
SetEphemeralStringBuffer -> SetStringBuffer
SetOwnedString -> SetKnownLiveString
SetOwnedAtom -> SetKnownLiveAtom
This should make it clearer what the lifetime expectations are on the caller side.
MozReview-Commit-ID: ERHbB3r6paN
2017-12-22 13:02:51 -05:00
Boris Zbarsky
04324f18ad
Bug 1424474 part 3. Make sure that we only pass non-system subject principals to setters/methods that later use that principal for loading security checks. r=kmag
...
MozReview-Commit-ID: IjUEG5xwn5
2017-12-20 17:43:18 -05:00
Boris Zbarsky
4565249361
Bug 1424474 part 2. Add a way to request only non-system subject principals in webidl bindings. r=mystor
...
MozReview-Commit-ID: 8ObneI0DoH5
2017-12-20 17:43:18 -05:00
Narcis Beleuzu
edb8ba34eb
Backed out 2 changesets (bug 1424474) for mochitest failures on test_bug494328.html r=backout on a CLOSED TREE
...
Backed out changeset 39d5991f02ba (bug 1424474)
Backed out changeset da3dec2fce06 (bug 1424474)
2017-12-21 02:55:27 +02:00
Boris Zbarsky
a2696c3c8a
Bug 1424474 part 2. Make sure that we only pass non-system subject principals to setters/methods that later use that principal for loading security checks. r=kmag
2017-12-20 17:43:18 -05:00
Boris Zbarsky
e2f384f52a
Bug 1424474 part 1. Add a way to request only non-system subject principals in webidl bindings. r=mystor
2017-12-20 17:43:18 -05:00
Edgar Chen
5fedbb92b8
Bug 1422197 - Add fast path to get DocGroup in binding code for [CEReactions]; r=smaug
...
MozReview-Commit-ID: HgbFo9ddr0o
--HG--
extra : rebase_source : 04989782fc7c7ce79e0e65b3dc907c9e174a0809
2017-11-27 16:10:27 +08:00
Cosmin Sabou
b0098afaea
Merge mozilla-inbound to mozilla-central. r=merge a=merge
2017-12-13 12:14:29 +02:00
Ben Kelly
cfb0e62f7b
Bug 1293277 P5 Switch bindings over to new Client and Clients classes. r=baku
2017-12-12 15:44:47 -05:00
Sylvestre Ledru
2e6c383d43
Bug 1424867 - Fix an ignored-qualifiers warning in BindingUtils r=smaug
...
MozReview-Commit-ID: 2bMNgMZwucN
--HG--
extra : rebase_source : b5b79c47bc02fbd61c775e4749b8c674f7cf260c
2017-12-12 08:13:55 -06:00
Boris Zbarsky
022fdd6e61
Bug 1424362. Change test_exceptionSanitization.html to not depend on feed: protocol bits, because those are going away. r=qdot
...
MozReview-Commit-ID: ESBwyNuMF9X
2017-12-08 22:01:16 -05:00
Sylvestre Ledru
9bfe27d903
Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
...
MozReview-Commit-ID: 7duJk2gSd4m
--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Eric Rahm
07c97a5afe
Bug 1423773 - Part 1: Remove usage of nsStringGlue.h. r=glandium
...
This removes an unnecessary level of indirection by replacing all
nsStringGlue.h instances with just nsString.h.
--HG--
extra : rebase_source : 340989240af4018f3ebfd92826ae11b0cb46d019
2017-12-06 16:52:51 -08:00
Boris Zbarsky
887ce3941a
Bug 1419270 part 2. Use getter or setter specific NeedsSubjectPrincipal annotations more. r=qdot
...
MozReview-Commit-ID: KBwjFh3TMUg
2017-12-05 16:03:18 -05:00
Boris Zbarsky
a61f696c24
Bug 1419270 part 1. Add NeedsSubjectPrincipal to the extended attributes we compute for interface members. r=qdot
...
MozReview-Commit-ID: 7aBqqWdF6Bn
2017-12-05 16:03:18 -05:00
Boris Zbarsky
723521145b
Bug 1418558 part 1. Add MOZ_CAN_RUN_SCRIPT annotations to most Element methods that call GetPrimaryFrame. r=mystor
...
MozReview-Commit-ID: LWI1p75EyxB
2017-12-05 11:18:16 -05:00
Nico Grunbaum
b42a174bc8
Bug 1363667 - P3 - RTP Source Observer r=mjf
...
MozReview-Commit-ID: BwZhi49KlfB
--HG--
extra : rebase_source : b6b9230d07848952a200d2ded956d39439e5dc1e
2017-11-14 10:17:10 -08:00
Byron Campen [:bwc]
5daf41d807
Bug 1290948 - Part 2: webidl for RTCRtpTransceiver and supporting interfaces r+jib, r+ehsan r=ehsan+251051,jib
...
MozReview-Commit-ID: DmXufKwCAyW
--HG--
extra : rebase_source : 30948762aa31846ac6ae89cd757010a60e6f44db
2017-08-23 15:47:54 -05:00
Brindusan Cristian
9f3bd430c2
Merge inbound to mozilla-central a=merge r=merge
2017-11-28 11:50:57 +02:00
Dave Townsend
27380b996e
Bug 1404420: Add custom element support to XUL. r=edgar, r=smaug
...
MozReview-Commit-ID: BietEX2gOoG
--HG--
extra : rebase_source : 6fd9a732a21f2c048d37c3f7139cd18503148767
2017-10-10 15:25:10 -07:00
Nika Layzell
f1ac9bf744
Bug 1419597 - Part 18: Remove IsInnerWindow and IsOuterWindow methods, r=smaug
...
MozReview-Commit-ID: DAAm6tLubhJ
2017-11-23 13:12:13 -05:00
Johann Hofmann
d28b4dd837
Bug 1374574 - Remove the FlyWeb service and DOM interfaces. r=bz,djvj
...
MozReview-Commit-ID: 4hp9pLbMh4R
--HG--
extra : rebase_source : 82f417640211ede4fd7aa290c1f2609b07f38025
2017-11-22 15:00:10 +01:00
Kris Maglione
58662abbfe
Bug 1415352: Part 1c - Store the subject principal when setting Element.style properties. r=bz
...
This causes the subject principal that was responsible for setting a CSS
property, or the full cssText of an attribute, to be threaded through the call
chain to the point where CSS parsing happens, so that it can be used as the
triggering principal when loading URLs for that property.
Note that this allows for different properties defined in the same style
attribute to have different triggering principals, depending on the caller
which originally set them, as long as the cssText of that attribute is not
modified. Once it is, all properties revert to the principal of the caller
that modified the CSS text.
MozReview-Commit-ID: ISUyxbqAZMX
--HG--
extra : rebase_source : d4173d76d9afed74889269e3bf029abca54a4abb
2017-11-03 21:44:03 -07:00
Adam Gashlin
7404b3ac92
Bug 1369194 - Remove MozWakeLock. r=baku
...
--HG--
extra : histedit_source : 16cb49cbf3bf39bc2bddc721c002741cd5a953df
2017-11-20 17:14:41 -08:00
Edgar Chen
bf0a0f5b38
Bug 1415761 - Catch the exception and rethrow it after invoking custom elements reactions; r=bz
...
The spec was unclear on how CEReactions interact with thrown exceptions; see https://github.com/whatwg/html/issues/3217 .
The spec is now being clarified in https://github.com/whatwg/html/pull/3235 .
MozReview-Commit-ID: 521HprTRS7k
--HG--
extra : rebase_source : 107d331203d0d16062fa061569e822d3c6d5f2c9
2017-11-17 17:44:18 +08:00
Boris Zbarsky
b5de3264a2
Bug 1379688 part 2. Make the EventTarget interface constructible. r=smaug
...
MozReview-Commit-ID: 4xrSSqXna7F
2017-11-20 13:59:22 -05:00
Boris Zbarsky
3dd8d0e9c1
Bug 1379688 part 1. Remove some restrictions on whether an interface that implements QueryInterface can have a non-abstract ancestor. r=smaug
...
This restriction was put in place back when we automatically added
QueryInterface to all rootmost non-abstract interfaces. At the time, we needed
to make sure it did NOT end up on EventTarget, because then webidl quickstubs
would replace the QI impl on non-webidl EventTargets with the WebIDL one, which
would not work for them.
Since then, we have removed WebIDL quickstubs and we now explicitly list which
interfaces get QueryInterface, so this check is no longer needed.
MozReview-Commit-ID: 5B13ymdyLp3
2017-11-20 13:59:20 -05:00
Jon Coppeard
a06421a289
Bug 1417123 - Remove or replace inclusion of js/GCAPI.h r=mccr8
2017-11-16 12:21:08 +00:00
Nika Layzell
dfe521f9b8
Bug 1416384 - Part 2c: Get nsGlobalWindowInner.cpp building, r=smaug
...
MozReview-Commit-ID: CmKx5jtvtrT
--HG--
extra : rebase_source : b1c5fe7c140a743d55c462b6d2bcbf8a97950d9c
2017-11-15 11:33:39 -05:00
Jonathan Watt
b26557dd95
Bug 1417365 - Unified build issues in dom/bindings. r=baku
2017-10-26 11:12:44 +01:00
Sylvestre Ledru
85d099995a
Bug 1416716 - Init deleteSucceeded to silent a -Wmaybe-uninitialized warning r=bz
...
MozReview-Commit-ID: C3pYuP5dPxI
--HG--
extra : rebase_source : f6a1003ca85b534a43b5efba33bbb4f502532d05
2017-11-13 10:04:59 +01:00
Boris Zbarsky
e95559cd09
Bug 1415234. Annotate HTMLInputElement::Width() as MOZ_CAN_RUN_SCRIPT and plumb through the binding bits needed to make this pass static analysis. r=mystor
...
This basically marks most of the bindings bits as MOZ_CAN_RUN_SCRIPT.
MozReview-Commit-ID: HcQcYhTR9cb
2017-11-13 10:36:53 -05:00
Nika Layzell
c223b9ff2d
Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz
...
MozReview-Commit-ID: KbCpDFoWyTe
2017-11-09 10:44:49 -05:00
Nika Layzell
ff8b5bd178
Bug 1414974 - Part 3: Move Get{Inner,Outer}WindowWithId onto the specific subclasses, r=smaug
...
These were originally exposed directly as static methods on nsGlobalWindow, but
as they are clearly associated with either the inner or outer window, it makes
more sense for them to be called as such.
MozReview-Commit-ID: LFq8EfnhDlo
2017-11-09 10:44:47 -05:00
Nika Layzell
3409141758
Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
...
This is a large patch which tries to switch many of the external consumers of
nsGlobalWindow to instead use the new Inner or Outer variants.
MozReview-Commit-ID: 99648Lm46T5
2017-11-09 10:44:47 -05:00
Jonathan Watt
f10fc1e787
Bug 1413216 - Fix some missing includes in dom code. r=baku
...
MozReview-Commit-ID: 25hWPkXF0Wj
2017-10-12 13:50:23 +01:00
Boris Zbarsky
97828fce1d
Bug 1415389. Make ChromeUtils a WebIDL namespace. Remove ThreadSafeChromeUtils. r=kmag
...
MozReview-Commit-ID: 9ysAeaBMNVt
2017-11-08 00:25:33 -05:00
Boris Zbarsky
37836d94c0
Bug 1414359. Remove vestigial support for 'creator' operations from webidl; all setters are creators. r=qdot
...
MozReview-Commit-ID: AeRjWxk1YwE
2017-11-04 00:36:10 -04:00
Kyle Machulis
df8270946f
Bug 792059 - Add NeedsWindowsUndef extended attribute for constants; r=bz
...
When defining WebIDL constants in C++, we may need to undefine some
constant names that conflict with windows.h preprocessor defines.
Doing this in the binding header is far easier than tracking down the
include orders that may cause conflicts.
MozReview-Commit-ID: A0UoYezIQs5
--HG--
extra : rebase_source : d9100af2ccdb5c6e6468542ac68f74b2e4f9050c
2017-10-23 17:34:28 -07:00
Kyle Machulis
b0922aec43
Bug 792059 - Codegen generation of WebIDL constants in C++; r=bz
...
Generate C++ const definitions for WebIDL interface members with
primitive types.
MozReview-Commit-ID: 4fLtteWZUWA
--HG--
extra : rebase_source : bf45427c6b0e4acfa32ed3431a3cf385972950a0
2017-10-09 19:59:36 -07:00