Commit Graph

9645 Commits

Author SHA1 Message Date
Nathan Froyd
86d79217ed Bug 1265902 - part 2 - don't construct unnecessary string temporaries in TransferablesToIPCTransferables; r=mccr8
Assignment works just fine here, is clearer, and avoids unnecessary work.
2016-04-20 11:50:45 -04:00
Nathan Froyd
98cfb0e977 Bug 1265902 - part 1 - be more efficient when using nsContentUtils::GetSurfaceData(); r=mccr8
nsContenUtils::GetSurfaceData() returns an allocated buffer; the uses of
it in PuppetWidget and nsContentUtils::TransferableToIPCTransferable
copy the allocated buffer again.  We can do better than this.  In the
PuppetWidgetCase, we can simply construct an nsDependentCString for
sending the IPC message.  In the TransferableToIPCTransferable case, we
can transfer ownership of the buffer into the IPCDataTransferItem we are
creating.
2016-04-20 11:50:45 -04:00
Carsten "Tomcat" Book
4d6108d41a Merge mozilla-central to mozilla-inbound 2016-04-20 11:52:05 +02:00
Carsten "Tomcat" Book
9eb45808ae merge mozilla-inbound to mozilla-central a=merge 2016-04-20 11:50:29 +02:00
Andrea Marchesini
deaf4cf830 Bug 1265610 - test_postMessages.html and some dom/filesystem tests requires 'dom.input.dirpicker' to be true, r=smaug 2016-04-20 11:39:33 +02:00
Mantaroh Yoshinaga
1a3a4d293d Bug 1259285 - Part1 - Move CSS/Web Animations-specific visibility handling. r=birtles
MozReview-Commit-ID: 5ZYUhvI1cqV

--HG--
extra : transplant_source : %85%01%5C%91%EB%C2%F9%F5a%82%5C%FCZKz%F7%2B%27%F7%9C
2016-04-20 09:05:29 +09:00
Edgar Chen
e036f20a6f Bug 1158412 - Remove assertion for document prescontex and add crash test; r=jdm
MozReview-Commit-ID: BSrmQLfjYUi
2016-04-15 09:33:20 -04:00
Masayuki Nakano
9170348baf Bug 1259656 part.7 Rename WidgetEvent::originalTarget to WidgetEvent::mOriginalTarget r=smaug
MozReview-Commit-ID: G1WVCWkS0Lt

--HG--
extra : rebase_source : e4790266f4efa33269c073bca1d98f9e8e6c90d7
2016-04-19 01:33:23 +09:00
Masayuki Nakano
da3898bcb7 Bug 1259656 part.5 Rename WidgetEvent::target to WidgetEvent::mTarget r=smaug
MozReview-Commit-ID: L0GnVR6NcAe

--HG--
extra : rebase_source : a8784d4599dad317f8335477afac9a7d4b92918f
2016-04-19 00:46:00 +09:00
Masayuki Nakano
e88a0f30fa Bug 1259656 part.3 Rename WidgetEvent::userType to WidgetEvent::mSpecifiedEventType r=smaug
MozReview-Commit-ID: 5ef5lEQ1fZJ

--HG--
extra : rebase_source : 0d0f8b7e29db15b41ff6ac68db24b3e7d3df6afc
2016-04-18 23:53:03 +09:00
Masayuki Nakano
cbe8f5268a Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
MozReview-Commit-ID: ESWM5ZyBpSR

--HG--
extra : rebase_source : c5e1e3f60bcdde2a7f6c399e72430b29a3e552cd
2016-04-18 23:09:02 +09:00
Olli Pettay
cc6d1d9827 Bug 1257096, don't try to report about unusual unhandled rejected Promises, r=bz,waldo
--HG--
extra : rebase_source : a53d6853feeae3c54f307cef71edcdba4f771803
2016-04-20 02:29:21 +03:00
Andrea Marchesini
fd0f8bf221 Bug 1247953 - Increase the number of stored ConsoleEvent objects, r=bgrinstead 2016-04-19 14:10:15 +02:00
Andreas Farre
b674c212ab Bug 949413 - Set href with context in Location.assign r=bz
MozReview-Commit-ID: Ao5eIxdo5Qv

--HG--
extra : rebase_source : c6f4a0a1d262cef057300cc39468c8f7eda59860
2016-04-14 09:58:09 -04:00
Gerald Squelart
5918188906 Bug 1248507 - p5. DecoderDoctorDiagnostics implementation - r=jya,bz
Minimal implementation of DecoderDoctorDiagnostics.

If the Decoder Doctor analysis needs to report something, a notification is
logged to the web console, with the media format(s) that cannot be decoded.

In this patch, there are only two notification types: "Cannot play" when no
decoders are found for any of the requested formats), or "Can play" (if pref
"media.decoderdoctor.verbose" is true) when decoders are missing for only
some of the requested formats.

MozReview-Commit-ID: 4QkiVvcNSU3
2016-04-19 17:36:19 +10:00
Carsten "Tomcat" Book
b06178a07e Merge mozilla-central to fx-team 2016-04-19 12:09:01 +02:00
Alastor Wu
b5361feb4b Bug 1249579 - part2 : audio competing suspend/resume methods. r=snorp, baku.
MozReview-Commit-ID: EjNvKELCiAy

--HG--
extra : transplant_source : %AE%20%21e%E1%94%DE%29B%9C%F5%04%13%C6%3Dr%D3%9Aj%B4
2016-04-18 18:48:41 +08:00
Shawn Huang
50467e2954 Bug 1259588 - new File("") throws TypeError exception, r=baku 2016-04-19 10:32:43 +08:00
Maksim Lebedev
9734ab0c2c Bug 1000870 - Add some features in testing system. r=smaug 2015-05-19 07:03:00 +02:00
Masayuki Nakano
07b6f24132 Bug 1259657 Rename WidgetGUIEvent::widget to WidgetGUIEvent::mWidget r=smaug
MozReview-Commit-ID: 167PQWJDEHW

--HG--
extra : rebase_source : 6cd44095b9f33e03190972f043087786cbd772f2
2016-04-14 17:03:14 +09:00
Andrea Marchesini
8e22a11655 Bug 1263992 - patch 1 - Remove DirectoryType enum, r=smaug 2016-04-18 03:32:30 -04:00
Brian Birtles
05276091f4 Bug 1245000 part 1 - Add a preference for enabling Element.animate; r=bz
MozReview-Commit-ID: H3HPYWeyGCL
2016-04-18 09:16:04 +09:00
Kartikaya Gupta
f72cd76655 Bug 1250505 - Convert SynthesizeNativeTouchPoint and SynthesizeNativeTouchTap to take a LayoutDeviceIntPoint instead of a ScreenPoint. r=njn
MozReview-Commit-ID: EybGq9b1B8Z

--HG--
extra : rebase_source : defc16fc066a3a40480fa4c94f3a742a267344a8
2016-04-15 06:39:36 -04:00
Nathan Froyd
67dd0b1d96 Bug 1265056 - don't needlessly construct nsAutoCString temporaries in dom/; r=baku 2016-04-15 19:46:45 -04:00
Oriol
2d08290117 Bug 1258205 - Make setAttribute throw InvalidCharacterError if the attribute already exists. r=baku 2016-04-15 09:01:00 -04:00
Haik Aftandilian
50fdb00a05 Bug 1258925 - [e10s] Browser window is resized when click. r=gabor
Adds a new IPC message to the PBrowser protocol exposing
the number of tabs in the current window to the content
process. This allows the content process to reject window.resize*
calls in cases where there is more than one tab in the
window.

--HG--
extra : histedit_source : dfa6b7b71882a1583cbbe90c2a7327cb212ed15d
2016-04-14 14:03:00 -04:00
Mike Conley
1cff2809c8 Bug 1264409 - Make last transaction ID available via nsIDOMWindowUtils, and pass transaction ID through MozAfterPaint. r=mattwoodrow,mrbkap
MozReview-Commit-ID: 7wCYif8F6ws

--HG--
extra : rebase_source : 5a87a558dbb7955c04842b6f8b71adb15ecd3370
2016-04-13 16:59:15 -04:00
Gabriele Svelto
48c0230171 Bug 1264587 - Enable test_copypaste.html in e10s mode r=me 2016-04-15 11:17:14 +02:00
Carsten "Tomcat" Book
59e7f69334 Backed out changeset cd9ea65ce9b9 (bug 1258205) for issues in wpt-2 tests 2016-04-15 08:09:42 +02:00
Oriol
e08c881508 Bug 1258205 - "setAttribute doesn't throw InvalidCharacterError if the attribute already exists". r=amarchesini 2016-04-13 09:10:00 +02:00
Andrew McCreight
8ff7bf5725 Bug 1260908 - Fix type of kMinTelemetryMessageSize. r=smaug 2016-04-14 09:22:44 -07:00
Carsten "Tomcat" Book
b8470234ca Backed out changeset 0eb8cf4e5b92 (bug 1224186) for w2 wpt test issues on a CLOSED TREE 2016-04-14 15:53:52 +02:00
Emilio Cobos Álvarez
71e0a9f1d1 Bug 1224186 - Implement DOMTokenlist.replace r=baku r=Ms2ger 2016-04-13 08:49:00 +02:00
Andrea Marchesini
65b2fadf7a Bug 778003 - enable mochitest dom/base/test/test_fileapi_slice.html for e10s, r=RyanVM 2016-04-14 05:51:18 -04:00
Carsten "Tomcat" Book
32c25ca2da merge mozilla-inbound to mozilla-central a=merge 2016-04-14 11:38:11 +02:00
Wes Kocher
2f56b9e37d Merge m-c to fx-team, a=merge
MozReview-Commit-ID: Ca64bkPvrYU
2016-04-13 15:02:31 -07:00
Julian Descottes
0fac5939fc Bug 659625 - part1: implement Console::clear in dom/base/Console.cpp;r=baku
Remove the noop implementation of console.clear and actually clear the
console storage.

mozReview-Commit-ID: B9NGhRARKoR
MozReview-Commit-ID: 2sMEGB2BsAs

--HG--
extra : rebase_source : a889ffce5ef82224feb691b499f790da9ae6f34f
extra : source : 89cfa8c724e1fcb0909e1414b6051dbd62b40105
2016-04-13 16:33:43 +02:00
Kartikaya Gupta
0d937a92c1 Bug 1257641 - Allow enabling/disabling of displayport suppression for tests. r=botond
MozReview-Commit-ID: 7p2RIyPyzkH
2016-04-13 10:21:13 -04:00
Carsten "Tomcat" Book
b3cd06e797 Backed out changeset 92a78fabeb8d (bug 1224186) for causing issues in /dom/interfaces.html 2016-04-13 15:09:26 +02:00
Aryeh Gregor
c58f7bb99b Bug 1263443 - Typo in nsGkAtomList.h; r=smaug 2016-04-13 15:21:13 +03:00
Aryeh Gregor
c1a60c58b4 Bug 1055776 - Move namespaceURI, prefix, localName from Node to Element; r=bz 2016-04-13 15:21:12 +03:00
Tanvi Vyas
9c0a7ac154 Bug 1105556 - Add a hidden preference that is checked in debug mode to determine whether the main LoadInfo() constructor should assert that the ContentPolicyType is not TYPE_DOCUMENT.
Set the preference in xpcshell tests that create TYPE_DOCUMENT loads in javascript and hence end up using the main constructor. r=sicking, ckerschb
2016-04-13 16:30:36 -07:00
Tanvi Vyas
297217ffc0 Bug 1105556 - nsPerformance::CheckAllowedOrigin should return early for TYPE_DOCUMENT loads. TYPE_DOCUMENT loads don't go through a TimingAllowedCheck(). r=bz, vgosu 2016-04-13 16:30:31 -07:00
Emilio Cobos Álvarez
747ea7015c Bug 1224186: Implement DOMTokenlist.replace r=baku r=Ms2ger 2016-03-21 06:10:00 +01:00
Ting-Yu Lin
727557d79f Bug 1258657 Part 2 - Remove SummaryFrame. r=bz
We can use nsBlockFrame to render summary elements.

This change undoes "Bug 591737 - Add SummaryFrame" and remove
summaryFrame usage in DetailsFrame and nsCSSFrameConstructor.

MozReview-Commit-ID: 4aJvHVPfsBb

--HG--
extra : rebase_source : 8e197fa61cfcbaf066a8a510aef7c92adddd30f2
2016-04-13 13:34:14 +08:00
Kyle Huey
2709afd167 Bug 1263311: Part 3 - s/nsCancelableRunnable/CancelableRunnable/g. r=froydnj 2016-04-11 11:40:06 -07:00
Kyle Huey
59c26a1a34 Bug 1263311: Part 2 - Remove a non-existent CancelableRunnable. r=froydnj 2016-04-11 11:40:06 -07:00
Kyle Huey
1cc02aa8c6 Bug 1263311: Part 1 - Change the nsICancelableRunnable interface. r=froydnj 2016-04-11 11:40:06 -07:00
Kyle Machulis
f5a405c24d Bug 1256766 - Make sure all objects load after pref is set in youtube rewrite test; r=bz 2016-04-12 14:56:40 -07:00
Blake Kaplan
4a18b9e19e Bug 1246250 - Deal with failure to create a blob actor. r=khuey 2016-04-12 12:14:25 -07:00