Eugen Sawin
ff4482caae
Bug 1458687 - [1.0] Remove obsolete isUserTriggered argument in nsContentUtils::TriggerLink. r=smaug
2018-05-03 16:05:34 +02:00
Olli Pettay
73385eaf10
Bug 1430020, let sequential focus navigation in shadow DOM enter iframes, r=mrbkap
2018-04-28 16:07:06 +03:00
Eugen Sawin
dddf91ea0b
Bug 1439013 - [1.2] Add isUserTriggered argument to nsILinkHandler and expose it as an internal load flag. r=smaug
2018-04-27 20:49:54 +02:00
Neil Deakin
c2dc5b2235
Bug 1446961, restructuring to allow nsXULElement to be subclassed. Rename nsXULElement::Create to make it clearer it creates from the prototype element, r=bz
2018-04-27 11:04:37 -04:00
Boris Zbarsky
599ef690cf
Bug 1455674 part 16. Remove most use of nsIDOMElement in dom. r=qdot
2018-04-26 23:37:34 -04:00
Boris Zbarsky
9a8e024fa0
Bug 1455674 part 13. Remove remaining xpidl uses of nsIDOMElement. r=qdot
2018-04-26 23:37:29 -04:00
Boris Zbarsky
60904110c3
Bug 1455674 part 10. Remove nsIDOMElement use from remaining dom/ xpidl files. r=qdot
2018-04-26 23:36:10 -04:00
Boris Zbarsky
6fb00d932f
Bug 1457155. Rename various focus manager variables to make it clearer that they're Elements. r=mccr8
2018-04-26 15:28:31 -04:00
shindli
55275cebc3
Backed out 2 changesets (bug 1457155, bug 1457156) for B failures in builds/worker/workspace/build/src/dom/html/HTMLObjectElement.cpp on a CLOSED TREE
...
Backed out changeset 8b2a6b54336c (bug 1457155)
Backed out changeset 4e267d999797 (bug 1457156)
2018-04-27 01:34:37 +03:00
Boris Zbarsky
6764622e9f
Bug 1457155. Rename various focus manager variables to make it clearer that they're Elements. r=mccr8
2018-04-26 15:28:31 -04:00
Adrian Wielgosik
38f9a663ce
Bug 1447389 - Remove nsIDOMNodeList. r=bz
...
MozReview-Commit-ID: 11szZP6dS6V
2018-04-25 23:01:30 +02:00
Boris Zbarsky
c1ebe96675
Bug 1455052 part 11. Remove nsIDOMEvent::InternalDOMEvent. r=masayuki
...
MozReview-Commit-ID: 2ytv7CjkPGz
2018-04-20 12:55:31 -04:00
Boris Zbarsky
703e0e4ff9
Bug 1455052 part 10. Remove various unused nsIDOMEvent bits. r=masayuki
...
MozReview-Commit-ID: Fzckal7RGUv
2018-04-20 12:55:31 -04:00
Boris Zbarsky
57e4b18aed
Bug 1455052 part 8. Stop using nsIDOMEvent in docshell and dom. r=masayuki
...
MozReview-Commit-ID: ASkuyN3xSwB
2018-04-20 12:55:30 -04:00
Emilio Cobos Álvarez
2dbe99a0b4
Bug 1454236: Remove nsINode::eDOCUMENT_FRAGMENT. r=bz
...
MozReview-Commit-ID: D2F3LbQ1pvw
2018-04-20 01:30:12 +02:00
Emilio Cobos Álvarez
bf14ceaba3
Bug 1454233: Remove nsINode::eDOCUMENT. r=bz
...
MozReview-Commit-ID: ItjdI79zme7
2018-04-20 01:30:11 +02:00
Boris Zbarsky
131e6eccde
Bug 1452183 part 3. Stop using nsIDOMDocumentFragment in C++. r=mccr8
2018-04-17 21:13:03 -04:00
Boris Zbarsky
9205e0eec3
Bug 1452183 part 1. Stop using nsIDOMDocumentFragment in IDL files. r=mccr8
2018-04-17 21:13:03 -04:00
Kyle Machulis
3ff8407067
Bug 1453517 - Consolidate popup permission checks to nsContentUtils; r=bz
...
Permissions checks for popups were happening in nsIPopupWindowManager,
but that really only required a pref and perm check. The XPCOM
machinery around this isn't really needed, and the check was only
called from two places in content, so this fits in nsContentUtils.
MozReview-Commit-ID: 9x60x1BKWcr
2018-04-11 16:18:20 -07:00
Noemi Erli
d0293f2122
Merge inbound to mozilla-central. a=merge
2018-04-14 12:49:03 +03:00
Andrea Marchesini
c8844653b0
Bug 1448328 - Implement getOrigin for blobURL without nsIURIWithPrincipal, r=smaug
2018-04-14 01:08:41 +02:00
Andrew McCreight
7a07e0c48b
Bug 1449670, part 1 - Convert IsNodeOfType(nsINode::eTEXT) to IsText(). r=bz
...
This method is not a virtual call, and also looks nicer.
This patch was mostly generated by a Python script, but I manually
cleaned up the code in a few places where statements didn't need to be
split across multiple lines any more.
MozReview-Commit-ID: 8JExxqSRc59
2018-04-12 15:41:00 -07:00
Alex Gaynor
652daa928c
Bug 1453016 - user safer enum serialization for gfx::SurfaceFormat in IPC; r=kats
...
MozReview-Commit-ID: Fhyg8e5lyW6
2018-04-10 11:53:44 -04:00
Karl Tomlinson
6bb08c1ad7
bug 1328964 add CycleCollectedJSContext::IsSystemCaller() to make ThreadsafeIsSystemCaller() safe for worklets r=baku
...
MozReview-Commit-ID: Cg4OBbm5CwA
2018-04-06 18:53:25 +12:00
Karl Tomlinson
1cd498ec42
bug 1328964 use nsContentUtils::GetCurrentJSContext() on all threads r=smaug
...
nsContentUtils::GetCurrentJSContextForThread() originally needed to use
workers::GetCurrentThreadJSContext() in
https://hg.mozilla.org/mozilla-central/rev/366a45b41539#l2.18
because CycleCollectedJS*()->Context() did not exist until
https://hg.mozilla.org/mozilla-central/rev/1a0cd542e1e9#l7.12
nsContentUtils::GetCurrentJSContext() is thread-safe since these changes:
https://hg.mozilla.org/mozilla-central/rev/e636c7186286#l3.12
https://hg.mozilla.org/mozilla-central/rev/c8029c072776#l2.12
MozReview-Commit-ID: 2f1eGS9uBBO
2018-04-09 12:11:18 +12:00
Andrea Marchesini
5fe176661f
Bug 1328964 - part 2 - WorkletThread r=baku
...
Initial version r=smaug.
Rebased to c616a6fd5e4b by Jan-Ivar Bruaroey <jib@mozilla.com > r=karlt.
Rebased to 83de58ddda20 by Karl Tomlinson <karlt+@karlt.net > r=baku.
MozReview-Commit-ID: Lo8TWtN8qyz
2018-04-12 15:14:48 +12:00
Brian Grinstead
2c3399ccfe
Bug 1446247 - Pass namespace into IsCustomElementName to allow for non-dashed XUL elements;r=e7358d9c+590837,smaug
...
This will make it possible to migrate existing bindings without also needing to
mass-rewrite frontend code at the same time.
MozReview-Commit-ID: IBBqC4eeDDX
2018-03-29 09:34:56 -07:00
Ciure Andrei
ea89df62df
Backed out 8 changesets (bug 1451169) on request from njn a=backout
...
Backed out changeset b92f856e15a8 (bug 1451169)
Backed out changeset 348e825756fa (bug 1451169)
Backed out changeset 624d82428726 (bug 1451169)
Backed out changeset 4d51610ca08e (bug 1451169)
Backed out changeset bb76a9589717 (bug 1451169)
Backed out changeset c145fbd03947 (bug 1451169)
Backed out changeset 6d36289e0f54 (bug 1451169)
Backed out changeset 914fb7cd9fc3 (bug 1451169)
2018-04-11 11:22:05 +03:00
Olli Pettay
6c2e589e94
Bug 1452615 - Reduce unneeded AddRefing/Releasing when unregistering unresolved custom elements, r=emilio
2018-04-09 16:11:49 +03:00
Olli Pettay
a2b0b0917f
Bug 1452608 - Reduce unneeded AddRefing/Releasing when looking up custom element definitions, r=emilio
2018-04-09 15:48:53 +03:00
Emilio Cobos Álvarez
bbc47196da
Bug 1452324: Remove outdated references to bug 1326028. r=smaug
...
DONTBUILD, since it's comment-only.
MozReview-Commit-ID: KzZRo3FhwDr
2018-04-07 19:06:52 +02:00
Andreea Pavel
87d7cc3264
Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
2018-04-06 13:26:13 +03:00
Andreea Pavel
821f0e6d41
Backed out changeset e220521c6ff6 (bug 1446247) on request a=backout r=smaug
2018-04-06 13:23:59 +03:00
Boris Zbarsky
d54406240d
Bug 1449631 part 6. Remove nsIDOMEventTarget::DispatchEvent. r=smaug
...
MozReview-Commit-ID: 8YMgmMwZkAL
2018-04-05 13:42:41 -04:00
Boris Zbarsky
1dba91f571
Bug 1449631 part 4. Remove nsIDOMEventTarget::GetContextForEventHandlers. r=smaug
...
MozReview-Commit-ID: ID0FDvp28HY
2018-04-05 13:42:40 -04:00
Nicholas Nethercote
7ccd4b9401
Bug 1451169 - Use nsStaticAtom* instead of nsStaticAtom** in Element.h. r=baku
...
And then fix up everything else that needs to change as well.
MozReview-Commit-ID: GDMfERqdQAc
2018-04-03 13:21:06 +10:00
Ciure Andrei
ac39fcba12
Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE
2018-04-04 00:58:50 +03:00
Brian Grinstead
d0ee11e504
Bug 1446247 - Pass namespace into IsCustomElementName to allow for non-dashed XUL elements;r=e7358d9c+590837,smaug
...
This will make it possible to migrate existing bindings without also needing to
mass-rewrite frontend code at the same time.
MozReview-Commit-ID: IBBqC4eeDDX
2018-03-29 09:34:56 -07:00
Johann Hofmann
fdf223d9d7
Bug 1450315 - Remove document.allowUnsafeHTML. r=bz
...
This attribute was added in bug 1432966 when we started sanitizing
chrome usage of innerHTML to allow devtools to use custom attributes
in React via dangerouslySetInnerHTML.
Devtools removed its usage of dangerouslySetInnerHTML in bug 1434155, so
document.allowUnsafeHTML is no longer used and can be removed.
MozReview-Commit-ID: 8xTVZDmPqRa
2018-03-31 10:27:19 +02:00
Peter Van der Beken
ac0175d820
Bug 1448850 - Empty nsIMessageSender. r=bz.
2018-02-16 10:34:21 +01:00
Peter Van der Beken
d245c134c4
Bug 1448850 - Remove nsIMessageBroadcaster. r=bz.
2018-02-14 17:35:39 +01:00
Christoph Kerschbaumer
56529d1f61
Bug 1439713 - Change nsIContentPolicy shouldLoad to take an <uri, loadInfo> pair instead of the various args. r=bz
2018-03-29 12:16:23 +02:00
Boris Zbarsky
ed060c025a
Bug 1449404 part 3. Get rid of nsIContent::AppendTextTo. r=mccr8
2018-03-28 18:01:47 -04:00
Boris Zbarsky
da3d4d37a5
Bug 1449404 part 1. Get rid of nsIContent::SetText. r=mccr8
2018-03-28 18:01:46 -04:00
Tom Ritter
d44ebbd80e
Bug 1378552 - Reduce the liklihood of inadvertently misusing NullPrincipal::Create(). r=ckerschb
...
NullPrincipal::Create() (will null OA) may cause an OriginAttributes bypass.
We change Create() so OriginAttributes is no longer optional, and rename
Create() with no arguments to make it more explicit about what the caller is doing.
MozReview-Commit-ID: 7DQGlgh1tgJ
2018-03-22 13:36:20 -05:00
Bogdan Tara
fdc4c696b0
Merge inbound to mozilla-central. a=merge
2018-03-27 12:12:57 +03:00
Henri Sivonen
a8de0e3924
Bug 1448584 - Remove nsContentUtils::CopyNewlineNormalizedUnicodeTo() as dead code. r=mccr8.
...
MozReview-Commit-ID: HqHtANlHk41
2018-03-24 21:06:33 +02:00
Boris Zbarsky
f438fde58c
Bug 1442039 part 12. Remove various unused static stuff from nsDOMClassInfo. r=peterv
...
MozReview-Commit-ID: Imt658SuM9w
2018-03-21 23:13:29 -04:00
Boris Zbarsky
152cd3ba6e
Bug 1447098 part 1. Rename FromContent on various DOM classes to FromNode. r=mystor
...
MozReview-Commit-ID: 202nkbmkwfR
2018-03-21 17:39:04 -04:00
Dave Townsend
baa5890074
Bug 1421070: Always enable custom elements in chrome. r=smaug, rs=MattN
...
This allows custom elements to work in any document in the parent process that
allows XUL and XBL. The test takes the easy option of moving the existing XUL
custom element test to a run with the custom element pref disabled.
MozReview-Commit-ID: CMiLzmp60jA
2017-10-20 11:02:33 -07:00