Olli Pettay
dfb20cda68
Bug 1276477, make document update less malloc heavy, r=baku
...
--HG--
extra : rebase_source : 5cf067fb8a874c144fcf7c1f85210a944ed75878
2016-05-30 18:47:32 +03:00
Nicholas Nethercote
62f0bd3e33
Bug 1272203 (part 3) - Use NotNull in nsContentUtils::GetSurfaceData(). r=froydnj.
...
This might not look compelling in isolation, but this use of NotNull would have
prevented the null dereference crash in bug 1268721.
2016-05-27 09:49:25 +10:00
Jonathan Watt
de83a13903
Bug 1275266 - Rename imgLoader::Singleton and imgLoader::PBSingleton to something less misleading, and document them. r=tnikkel
2016-05-19 13:31:15 +01:00
Shih-Chiang Chien
859a30461d
Bug 1234128 - Part 1, add mozpresentation attribute in browser element. r=smaug.
2016-05-24 14:19:22 +08:00
Olli Pettay
4b7dc9c164
Bug 1273511 - Optimize EventListenerManager::AddEventListenerByType, r=masayuki
...
--HG--
extra : rebase_source : b41e8d1df8ac6c1159348654b6827ea9239d8c5e
2016-05-20 12:15:05 +03:00
Boris Zbarsky
653b3eb5a3
Bug 1273282. Fix the handling of numeric entities in xml-stylesheet href values. r=peterv
2016-05-19 13:48:11 -04:00
Ryan VanderMeulen
9d4120d4eb
Backed out 3 changesets (bug 1234128) for Android crashtest failures.
...
Backed out changeset 11db59507360 (bug 1234128)
Backed out changeset 8a0848fb59ac (bug 1234128)
Backed out changeset 7cf300dda85a (bug 1234128)
CLOSED TREE
--HG--
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe.html => dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe_oop.html
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver.html => dom/presentation/tests/mochitest/file_presentation_non_receiver_oop.html
rename : dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe.html => dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe_oop.html
2016-05-19 10:32:02 -04:00
Shih-Chiang Chien
79fd83ae47
Bug 1234128 - Part 1: Add mozpresentation attribute in browser element. r=smaug
...
--HG--
extra : rebase_source : ba957a216d873638a61eb2b80be3cf2f0fe661ff
2016-05-17 11:10:59 +08:00
Xidorn Quan
0bcdce79ef
Bug 1270648
part 2 - Merge nsContentUtils::ParseSandboxAttributeToFlags into HTMLIFrameElement::GetSandboxFlags. r=smaug
...
nsContentUtils::ParseSandboxAttributeToFlags is not used anywhere else,
and given that sandbox flags would also be affected by allowfullscreen
attribute, this function alone could be misused.
MozReview-Commit-ID: EzlGQ7iY8WG
--HG--
extra : source : 3d58c6e5372e360706045e23c601604c49fc3b43
2016-05-18 09:08:12 +10:00
Masayuki Nakano
e2fb1c839c
Bug 1254755 part.4 Rename WidgetKeyboardEvent::location to WidgetKeyboardEvent::mLocation r=smaug
...
MozReview-Commit-ID: CjT7izri6Vq
--HG--
extra : rebase_source : 1e82d581b8bf1cce3d3154402f3bb435f7a004f6
2016-05-12 18:17:22 +09:00
Masayuki Nakano
8a70a17c6a
Bug 1254755 part.2 Rename WidgetKeyboardEvent::charCode to WidgetKeyboardEvent::mCharCode r=smaug
...
And mCharCode shouldn't be compared with NS_VK_*, nsIDOMKeyEvent::DOM_VK_*. Additionally, when it's compared with a character constant, cast isn't necessary.
MozReview-Commit-ID: JMT614copjG
--HG--
extra : rebase_source : 69ee3c589e5a71c814ec9a40ac3aab39c789c11d
2016-05-13 16:06:18 +09:00
Masayuki Nakano
3359bad586
Bug 1254755 part.1 Rename WidgetKeyboardEvent::keyCode to WidgetKeyboardEvent::mKeyCode r=smaug
...
And also WidgetKeyboardEvent::mKeyCode should be compared with NS_VK_* rather than nsIDOMKeyEvent::DOM_VK_*.
MozReview-Commit-ID: IKjQ1nr8XYe
--HG--
extra : rebase_source : 83125cd2523f6b70759f621470aad23b00aae8ae
2016-05-12 17:13:49 +09:00
Andrea Marchesini
09e4321de2
Bug 1270451 - A Blob URL object's origin property should not be "null" for unknown Blob URLs, r=smaug
2016-05-13 07:47:06 +02:00
Masayuki Nakano
3e4ceded8b
Bug 1259661 part.9 Rename WidgetMouseEvent::clickCount to WidgetMouseEvent::mClickCount r=smaug
...
MozReview-Commit-ID: 5tC8UqcfLek
--HG--
extra : rebase_source : a336f9d8676c74804e2c00eebec4f2a30d7a11b3
2016-05-10 23:29:14 +09:00
Masayuki Nakano
b2a210c268
Bug 1259661 part.8 Rename WidgetMouseEvent::ignoreRootScrollFrame to WidgetMouseEvent::mIgnoreRootScrollFrame r=smaug
...
MozReview-Commit-ID: 98G9UMv4qqj
--HG--
extra : rebase_source : e3fed10d5d7b8b3a714e279457192e9f0bc703df
2016-05-10 21:15:05 +09:00
JerryShih
cadb8c6cb7
Bug 1256572
- update DataSourceSurface usage. r=bas
...
Update for Moz2D interface change.
We should not use GuaranteePersistance() directly outside Moz2D. Change
to use another Moz2d DataSourceSurface interface.
2016-05-09 00:33:00 +02:00
Neil Deakin
405358d4b3
Bug 1101975, handle access keys in content process before menus, r=masayuki
2016-05-11 08:56:42 -04:00
Ben Tian
79b656f376
Bug 1261499 - [cleanup] Remove trailing spaces in nsContentUtils.{h,cpp}, r=khuey
2016-05-06 16:13:45 +08:00
Ben Tian
1d3df2ccde
Bug 1261499 - Make nsContentUtils::AddScriptRunner return void, r=khuey
2016-05-06 16:09:03 +08:00
Boris Zbarsky
08254285a1
Bug 1190641
part 2. Add the sandboxed modals flag to iframe sandboxing. r=ckerschb
...
Automated testing for this seems rather difficult; I've done manual testing.
2016-05-06 13:56:36 -04:00
Kyle Huey
941ab1f522
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Boris Zbarsky
00cfdef4b1
Bug 1257849 part 2. Pass in the right set of supported tokens to the sandbox tokenlist implementation. r=bkelly
2016-05-04 23:41:24 -04:00
Xidorn Quan
eb882bc07f
Bug 1268749 part 4 - Hide unprefixed Fullscreen API from content when disabled. r=smaug
...
MozReview-Commit-ID: KpjNFYYyCWh
--HG--
extra : rebase_source : 43eebf0398c3accbe2f901d482f9d4399bdf03e6
2016-05-02 14:26:04 +10:00
Andrew McCreight
ce5db61801
Bug 1268721, part 2 - Null check first argument to nsContentUtils::GetSurfaceData(). r=jimm
2016-05-03 07:04:21 -07:00
Andrew McCreight
f7e9800e93
Bug 1268721, part 1 - Use early continue in TransferableToIPCTransferable. r=jimm
2016-05-03 07:04:21 -07:00
Aryeh Gregor
49d7e81abf
Bug 1264270 - Parser should output attributes in source order, not reversed; r=hsivonen,bgrins
2016-05-01 15:15:26 +03:00
Carsten "Tomcat" Book
ba3fe0975c
Backed out changeset 85ce8cb0639a (bug 1268313)
...
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Kyle Huey
48a594a09e
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Yoshi Huang
7ae2e09f40
Bug 1263496 - Part 2: fix for NS_NULLPRINCIPAL_CONTRACTID. r=bholley
...
This fixed the locations listed by
http://searchfox.org/mozilla-central/search?q=NS_NULLPRINCIPAL_CONTRACTID&redirect=true
2016-04-27 18:38:03 +08:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Boris Zbarsky
f0c4762155
Bug 1265072 part 6. Get rid of nsContentUtils::GetDocumentFromScriptContext. r=smaug
2016-04-20 18:04:37 -04:00
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
Maksim Lebedev
9734ab0c2c
Bug 1000870 - Add some features in testing system. r=smaug
2015-05-19 07:03:00 +02: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
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
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
Blake Kaplan
4a18b9e19e
Bug 1246250 - Deal with failure to create a blob actor. r=khuey
2016-04-12 12:14:25 -07:00
Jonathan Watt
fb7bb15e68
Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku
2016-03-31 11:58:25 +01:00
Christoph Kerschbaumer
52a7f283b3
Bug 1256999 - Pass the right context to new channels for image loads. r=bz r=seth
2016-04-11 10:58:03 +02:00
Gabriele Svelto
f48f809be9
Bug 1258857 - Add empty items to an IPC transferable object for every flavor of the source object that did not have any data associated to it r=enndeakin
2016-04-05 10:49:36 +02:00
Dragana Damjanovic dd.mozilla@gmail.com
e69b13996a
Bug 225910 - Use nsIURI's GetRef and GetHasRef in nsDocShell. r=bz
...
--HG--
extra : rebase_source : 46d7974884b96bd55add4a6c24e2a2ccb8570b4c
2016-04-01 03:37:00 +02:00
Catalin Badea
5082e816d8
Bug 1248772 - Trigger a OS window focus in ServiceWorkerClients::OpenWindow. r=ehsan
2016-03-31 16:06:00 +02:00
Nicholas Nethercote
d376f9f82e
Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
...
do_GetAtom() is currently just a synonym for NS_NewAtom().
--HG--
extra : rebase_source : f4409784f931616cbc300591e6b843d30805c273
2016-03-29 10:09:43 +11:00
Masayuki Nakano
e9a1bcb370
Bug 1259658 Rename WidgetInputEvent::modifiers to WidgetInputEvent::mModifiers r=smaug
...
MozReview-Commit-ID: 7avEiqKfaHA
--HG--
extra : rebase_source : ffb6fbe424a4d5c2799444223608e03237e7c7a2
2016-03-31 17:03:00 +09:00
Masayuki Nakano
0fbb1c8d67
Bug 1259662 part.2 Rename WidgetDragEvent::userCancelled to WidgetDragEvent::mUserCancelled r=smaug
...
MozReview-Commit-ID: 1Nx5NssvbM9
--HG--
extra : rebase_source : 5aff114e6728bc4608e4c0e5a386f2fa1a025e23
2016-03-31 19:06:05 +09:00
Masayuki Nakano
920137b6c6
Bug 1259662 part.1 Rename WidgetDragEvent::dataTransfer to WidgetDragEvent::mDataTransfer r=smaug
...
MozReview-Commit-ID: 6O8S0Yx7kBR
--HG--
extra : rebase_source : dc7936716cb8e09d5df83a985364b7301a2c6526
2016-03-31 17:26:32 +09:00
Mats Palmgren
f54caaaa16
Bug 1260366 - Include the punctuation classes Pd and Pc in ::first-letter because the CSS Pseudo-Elements spec says so. r=jfkthame
...
https://www.w3.org/TR/css-pseudo-4/#first-letter-pseudo
"Punctuation (i.e, characters that belong to the Punctuation (P*)
Unicode general category [UAX44]) that precedes or follows the first
typographic letter unit must also be included in the ::first-letter
pseudo-element."
2016-04-01 02:08:15 +02:00
Kit Cambridge
c92c8e5179
Bug 1247089
- Add a mode to ReportToConsoleNonLocalized
that ignores the calling location. r=bkelly
...
MozReview-Commit-ID: 3hAP7IgNxYs
--HG--
extra : rebase_source : fa07988a1359863ba12383055a6fbb81722f1363
2016-03-10 20:28:41 -08:00