Commit Graph

1911 Commits

Author SHA1 Message Date
Wes Kocher
609b9922f7 Merge m-c to autoland, a=merge 2016-11-16 17:29:05 -08:00
Aryeh Gregor
0e4353d48a Bug 1002256 - Support CompositionEvent constructor; r=bkelly
All other browsers support a constructor here.  Per current spec, the
constructor does not support .locale, although initCompositionEvent
does.  If we ever decide to standardize .locale, the constructor can be
updated at that point.  (Edge also supports .locale in
initCompositionEvent but not the constructor.  Chrome doesn't support
.locale at all.)
2016-11-16 22:16:22 +02:00
Boris Zbarsky
04caf50b43 Bug 1317759. Remove LegacyIsCallerChromeOrNativeCode use in Event::GetScreenCoords in favor or caller type checks at the entrypoints where we really care about pretending that our screen is client-area sized. r=smaug 2016-11-16 14:10:22 -05:00
Boris Zbarsky
be79f7def4 Bug 1317990. Remove Event::IsChrome in favor of passing CallerType arguments. r=smaug,bkelly 2016-11-16 14:10:22 -05:00
Michelangelo De Simone
4b90783184 Bug 1317853 - Remove DOM/speakermanager and related code. r=jst
MozReview-Commit-ID: AHkMHalG99K

--HG--
extra : rebase_source : 7f0f47374d1208de97fad90ac9f3098dd5b2b330
2016-11-16 13:14:36 -08:00
Ehsan Akhgari
eac76d9772 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Carsten "Tomcat" Book
e7ca75286b Merge mozilla-central to inbound 2016-11-16 14:53:15 +01:00
Carsten "Tomcat" Book
3eacc680db Backed out changeset 7d1f7dd996f7 (bug 1310845) 2016-11-16 14:50:44 +01:00
Michelangelo De Simone
1c12c5271d Bug 1313788 - Remove DOM/wifi and related code. r=jst
MozReview-Commit-ID: BRT6bSvPpT

--HG--
extra : rebase_source : c5ae9e88e80ae1a9c46bf80439388bd9ef2ba4df
2016-11-08 15:02:45 -08:00
Andi-Bogdan Postelnicu
65ae72060c Bug 1317241 - Use C++11's override and remove virtual where applicable in dom/ r=baku
MozReview-Commit-ID: 8jUAehd1odv

--HG--
extra : rebase_source : 13375a14447ce344214fa30babf540de0a394c6a
2016-11-15 13:09:07 +02:00
Andi-Bogdan Postelnicu
aaf2063029 Bug 1317241 - Replace default bodies of special member functions with = default in dom/. r=baku
MozReview-Commit-ID: 12AHOhrpaNO

--HG--
extra : rebase_source : 7881277a13fe7389b95635ee9b94f1686f56d142
2016-11-14 11:40:37 +02:00
Ehsan Akhgari
cb369370b3 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-15 18:31:46 -05:00
Boris Zbarsky
784a52fd02 Bug 1317720. Use NeedsCallerType instead of NeedsSubjectPrincipal for DataTransfer.types. r=mystor 2016-11-15 12:46:32 -05:00
Boris Zbarsky
dda84c3ef8 Bug 1317599. Get rid of LegacyIsCallerChromeOrNativeCode use in datatransfer code. r=mystor 2016-11-15 12:46:32 -05:00
Olli Pettay
40390feb7f Bug 1317030 - Removing/reattaching an element from the DOM triggers spurious mouseenter events, r=masayuki
--HG--
extra : rebase_source : 16852ef14f57b5133484db9a03bad5c4be78740b
2016-11-14 13:19:11 +02:00
Christoph Kerschbaumer
c267f70f91 Bug 1299483 - CSP: Implement 'strict-dynamic', enforcement changes. r=dveditz,freddyb 2016-11-08 12:55:23 +01:00
Sebastian Hengst
e499270f62 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/events. r=RyanVM
MozReview-Commit-ID: 4BEA01lxikl

--HG--
extra : rebase_source : c1956c3135d5a88ef79c0019089ca3788e6a23f9
2016-11-05 11:29:16 +01:00
Phil Ringnalda
c9fdc270b6 Merge m-c to autoland
--HG--
rename : dom/media/webaudio/compiledtest/TestAudioEventTimeline.cpp => dom/media/webaudio/gtest/TestAudioEventTimeline.cpp
2016-11-03 20:02:24 -07:00
Michelangelo De Simone
80af1b3196 Bug 1310864 - Remove DOM/(contacts, mobileconnection, icc) and related code. r=jst
MozReview-Commit-ID: Az4PTYFUKW8

--HG--
extra : rebase_source : 4c31210ec079a1d2f18deca4e3e1d6bdbc797f76
2016-11-03 13:55:36 -07:00
Phil Ringnalda
393b414467 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 48WAQwKUCpw
2016-11-02 19:28:38 -07:00
Kevin Wern
19f18efeac Bug 687787: support focusin/focusout based on webkit/blink r=smaug
Blink and webkit launch focusin after focus and focusout after blur. Despite
this contradiction with the spec, it is best to mirror this new way, as there
is little guidance or existing code to clarify implementation amiguities that
can arise from the spec.

If focus/blur is fired on a window or document, or the event triggers a change
of focus, do not fire the corresponding focusin/focusout. Otherwise, always
fire the corresponding event.

Additionally, add a mochitest and a w3c-platform-test.

MozReview-Commit-ID: AgQ8JBxKIqK
2016-10-06 21:39:53 -04:00
Andrea Marchesini
3a9551a834 Bug 1284987 - Entries API - part 2 - FileSystemEntry.getParent, r=smaug 2016-11-03 07:55:30 +01:00
Wes Kocher
df5dbf81cc Merge central to inbound a=merge 2016-11-02 17:31:08 -07:00
Phil Ringnalda
16522e6c40 Backed out changeset 27695ca9f8cd (bug 1310864) for failures in test_navigator_resolve_identity.html, test_bug707564.html, and test_dom_xrays.html 2016-10-31 19:39:06 -07:00
Michelangelo De Simone
8b355547fc Bug 1310864 - Remove DOM/(contacts, mobileconnection, icc) and related code. r=jst
MozReview-Commit-ID: 2tWZc6hMtk5

--HG--
extra : rebase_source : 609688dd1fa430827c18e1cd0095c07fb17fce67
2016-10-28 17:53:58 -07:00
Michelangelo De Simone
6314d37360 Bug 1310020 - Remove DOM/bluetooth and related code. r=jst
MozReview-Commit-ID: IEhwzzBgb3x

--HG--
extra : rebase_source : 664e30c1d3babc71b2ef77c00e393fa767f4c159
2016-10-28 14:25:23 -07:00
Andrea Marchesini
c73c377b2d Bug 1313006 - Remove of MessageEvent.setSource, r=qdot 2016-10-26 22:00:43 +02:00
Andrea Marchesini
92035ed242 Bug 1313004 - ServiceWorkerMessageEvent can be generated code, r=qdot 2016-10-26 22:00:17 +02:00
Phil Ringnalda
0a5faee022 Merge m-c to autoland 2016-10-25 22:08:13 -07:00
Andrea Marchesini
c11a158627 Bug 1310967 - Update MessageEvent to the latest spec, r=smaug 2016-10-25 07:48:05 +02:00
Sebastian Hengst
1d68ef32e7 Backed out changeset 1fc115bbc7be (bug 1310967) for failing test_messageEvent_init.html. r=backout 2016-10-24 19:14:38 +02:00
Andrea Marchesini
1a3cb83d92 Bug 1310967 - Update MessageEvent to the latest spec, r=smaug 2016-10-24 17:10:46 +02:00
Ryan VanderMeulen
3079f45ce5 Merge inbound to m-c. a=merge 2016-10-23 20:04:42 -04:00
Michelangelo De Simone
8641036d15 Bug 1310859 - Remove DOM/nfc and related code. r=jst
MozReview-Commit-ID: FiS7uGytipN

--HG--
extra : rebase_source : cd9be62d334568b4abd850398467bce4c4eb1544
2016-10-18 15:16:56 -07:00
Ryan VanderMeulen
a57d15ff6a Merge inbound to m-c. a=merge 2016-10-23 13:16:27 -04:00
Adam Velebil
e7dddd42f0 Bug 1312173 - Convert NS_STYLE_USER_INPUT_* to an enum class; r=manishearth,xidorn
MozReview-Commit-ID: sYiJrZryrA

--HG--
extra : rebase_source : dbb7bae56bea6203176097af8de119cae0a6391c
2016-10-23 00:08:18 +02:00
Mantaroh Yoshinaga
3d795f2c3e Bug 1287983 part 1 - Add transitionstart/transitionrun event handlers. r=masayuki,smaug
This transitionstart and transitionrun event is defined in
editor's draft of CSS Transition Level 2.

https://drafts.csswg.org/css-transitions-2/#transition-events

MozReview-Commit-ID: 6c0GqlaOOPZ

--HG--
extra : rebase_source : 9d16572634a388da25e16096f06087e808ec57ae
2016-10-19 15:16:51 +09:00
Ho-Pang Hsu
d9e7012d7a Bug 1311269 - Part 2: Update related testcases. f=sshih, r=smaug 2016-10-19 20:35:00 -04:00
Ho-Pang Hsu
459af0b367 Bug 1311269 - Part 1: Improve PE test automation framework. f=sshih, r=smaug 2016-10-19 20:31:00 -04:00
Eric Rahm
a2f7bff287 Bug 1311759 - Remove unused references to nsISupportsArray. r=froydnj
This removes various references to nsISupportsArray throughtout the tree that
aren't used.

MozReview-Commit-ID: EtgD1DRwY8e
2016-10-21 16:34:42 -07:00
Michael Layzell
91e603e271 Bug 1306645 - Don't add application/x-moz-file entries from the clipboard to dataTransfer with e10s, r=enndeakin
application/x-moz-file entries on the clipboard are not able to be
successfully transmitted across synchronous IPC due to bug 1308007, thus
they appear as useless null files.

This patch hides those useless null files, and thus unhides image data
which may have been on the clipboard but was previously hidden by the
presence of an application/x-moz-file file

MozReview-Commit-ID: 4RmQe9kDZLe
2016-10-20 15:09:43 -04:00
Michael Layzell
ca1ad87346 Bug 1303999 - Check our kind after filling in external data in GetAsFile and GetAsString, r=baku
MozReview-Commit-ID: CbHWTDTY3Xs
2016-10-20 15:09:13 -04:00
Aryeh Gregor
a47006fa39 Bug 1313943 - Legacy event initializers should all do nothing during dispatch; r=bkelly
DOM's initEvent says that it must do nothing during dispatch.  UI Events
says they behave the same as initEvent, so the legacy initializers
defined there also shouldn't do anything during dispatch.  Previously we
only did this for initEvent itself, but other legacy initializers would
function normally during dispatch.

Edge passes the wpt test that's updated in this commit.  Chrome passes
all but initCustomEvent.  It would be nice to expand the test to have
coverage for all our legacy initializers, but the likelihood of
real-world compat issues from this behavior is slim enough that I didn't
think it was worth the effort.

MozReview-Commit-ID: IYLOuwlPGSj
2016-11-01 17:19:59 +02:00
Chris Pearce
e90255c806 Bug 1311252 - Make MediaKeyMessageEvent.webidl patch spec. r=smaug
Update our copy of EncryptedMediaExtensions.idl to match upstream
Web Platform Tests, so we keep passing.

MozReview-Commit-ID: IHaVX45GrYx
2016-10-19 20:33:54 +13:00
Eric Rahm
1eb4ae7e0d Bug 1309698 - Remove usage of nsISupportsArray from nsIDragService. r=smaug 2016-10-18 11:56:20 -07:00
Wes Kocher
8f8236ba1e Backed out 2 changesets (bug 1310967) for failures in messageEvent tests a=backou
Backed out changeset dac69b2b8d26 (bug 1310967)
Backed out changeset 133feae49330 (bug 1310967)
2016-10-18 10:53:44 -07:00
Jon Coppeard
556585c65f Bug 1297558 - Remove explicit calls to Expose*ToActiveJS r=mccr8 2016-10-18 17:58:19 +01:00
Andrea Marchesini
8a55aab649 Bug 1310967 - Update MessageEvent to the latest spec - part 2, r=me 2016-10-18 18:25:26 +02:00
Andrea Marchesini
8349366911 Bug 1310967 - Update MessageEvent to the latest spec, r=smaug 2016-10-18 18:19:59 +02:00
Benjamin Smedberg
fe7d577d2e Bug 1307445 part B - remove the gecko code that support :moz-type-unsupported and :moz-type-unsupported-platform, r=qdot
MozReview-Commit-ID: Dybppkfrb7E

--HG--
extra : rebase_source : 8dedfafb0edefa54b4a73a0f0204be46f989c87f
2016-10-06 13:25:56 -04:00