Commit Graph

9546 Commits

Author SHA1 Message Date
Magnus Melin
dbf9be7a6e Bug 1151366 - remove nsGkAtoms::mozdonotsend from treesanitizer. r=ehsan 2016-04-05 22:55:27 +03:00
Peter Van der Beken
f781f02ccd Bug 1245650 - remove JavaScript-navigator-property category support. r=bz.
Generate normal properties with getters for things marked as NavigatorProperty,
instead of defining these from a resolve hook.
2016-02-05 20:20:08 +01: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
Nicholas Nethercote
0faa7a06ba Bug 1261720 (part 2) - Move ClassExtension::isWrappedNative into js::Class::flags. r=jorendorff.
This saves 10 KiB of static data on 64-bit, and half that on 32-bit.

--HG--
extra : rebase_source : f0e9c5cdba7f5a71cda046152691de6a5184a223
2016-04-04 08:47:15 +10:00
Nicholas Nethercote
f7dab46ae8 Bug 1261720 (part 1) - Separate js::ClassExtension from js::Class. r=jorendorff,bz.
js::ClassExtension is often all null. When it's not all null, it's often
duplicated among classes. By pulling it out into its own struct, and using a
(possibly null) pointer in js::Class, we can save 17 KiB per process on
64-bit, and half that on 32-bit.

--HG--
extra : rebase_source : eb78ade09ce268e886d091f6cbc38d7e5e912527
2016-04-04 08:45:07 +10:00
Chris Manchester
f7a1b3fb60 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Wes Kocher
953cf80ae2 Backed out changeset 54ee322b50cf (bug 1251361) for apparently causing a bunch of OSX m(bc) leaks
MozReview-Commit-ID: 8v0LiT3sA15

--HG--
extra : rebase_source : 9cdefc51f45a40aed71289958f89883faa757e43
2016-04-04 12:32:42 -07:00
Peter Van der Beken
cd3d6088a5 Bug 1251361 - "Assertion failure: cache->PreservingWrapper()" with <marquee>, navigation, adoptNode. r=smaug.
Remove explicit calls to ReleaseWrapper and rely on cycle collection.
2016-03-04 17:54:10 +01:00
Edgar Chen
25174c3544 Bug 1257742 - Part 3: Support using floating point in sizes descriptor; r=jdm
MozReview-Commit-ID: ESTk2x2VqnD
2016-03-23 18:46:36 +08:00
Edgar Chen
13c38e804c Bug 1257742 - Part 2: Allow both width and static density candidates showing in same selector; r=jdm
MozReview-Commit-ID: KJuo6wK765h
2016-03-24 16:38:22 +08:00
Edgar Chen
afcc9df76d Bug 1257742 - Part 1: Follow the update-source-set rule to append default source into source set; r=jdm
MozReview-Commit-ID: 735EWjSArr2
2016-03-30 12:39:05 +08:00
Shawn Huang
0f2160a452 Bug 918707 - Return syntax error if url is invalid, r=khuey 2016-04-03 20:33:04 +08:00
Masayuki Nakano
86c58f3376 Bug 1258576 part.1 nsContentIterator should give up to find next/previous node if it reached the root node unexpectedly r=smaug
nsContentIterator isn't designed as working fine with a tree whose some nodes are being removed.  In such case, NextNode() and PrevNode() meets orphan node (i.e., a node whose parent is nullptr).  Then, nsContentIterator should mark it as "done".

However, it should keep crashing if it's debug build for detecting bugs explicitly.

MozReview-Commit-ID: 81ZQgoHD67T

--HG--
extra : rebase_source : 55e51583a7c77fb1e4f62e1a66e767af47b5caa7
2016-03-31 15:00:50 +09:00
Carsten "Tomcat" Book
394034a83e Backed out changeset 0519406b6e57 (bug 1238177) for eslint test failures 2016-04-03 09:30:03 +02:00
Dave Huseby
32251ddc37 Bug 1238177 - Extension content needs to use the correct user context id origin attribute. r=bholley
--HG--
extra : amend_source : f8d3bb6f6b1426ac73669491b651900614f6461c
2016-04-02 13:14:00 -04:00
Masayuki Nakano
57445d0047 Bug 1259668 Rename WidgetTouchEvent::touches to WidgetTouchEvent::mTouches r=smaug
MozReview-Commit-ID: FLbows8davI

--HG--
extra : rebase_source : b564d09aa76311793a78d80b6c78c91e232edc47
2016-03-30 18:44:28 +09:00
Robert Longson
481a70b111 Bug 1158500 - make writing-mode a mapped CSS property. r=cam 2016-04-01 22:08:04 +01:00
Marco Castelluccio
5b07475fcb Bug 1246327 - Remove dom.always_allow_move_resize_window preference. r=jst 2016-04-01 19:58:22 +01:00
Bill McCloskey
b3613ec89e Bug 1260908 - Record IPC message sizes (r=dvander) 2016-04-01 11:22:27 -07:00
Wes Kocher
7db1b1b28a Backed out 2 changesets (bug 1260908) for build bustage
Backed out changeset 5582a25d289d (bug 1260908)
Backed out changeset 9612cef48d43 (bug 1260908)

MozReview-Commit-ID: BKeDiGZ8Z8B
2016-04-01 10:44:27 -07:00
Luca Greco
2a28dabb62 Bug 1211665 - Save originAttributes in the console event messages. r=baku
Save the originAttributes of the current principal into the console events,
so that we can filter the console messages by originAttributes (e.g.
WebExtensions console events can be filtered using the addonId that the
ExtensionPages' originAttributes contain.

MozReview-Commit-ID: 5v9BWLbgskd

--HG--
extra : transplant_source : %2C%A1%D4%8AEp%E6G%8A%2C%DA%A8%EE%B3%EA%0E%84xk%FF
2016-04-01 13:55:40 +02:00
Bill McCloskey
5672f5992c Bug 1260908 - Record IPC message sizes (r=dvander) 2016-04-01 09:59:19 -07:00
Masayuki Nakano
e6be470f50 Bug 1259664 part.12 Rename WidgetWheelEvent::overflowDeltaY to WidgetWheelEvent::mOverflowDeltaY r=smaug
MozReview-Commit-ID: GGvQZlvc4sl

--HG--
extra : rebase_source : 9673aea11cbc752cfbc3c7b48fa68e2a4143266f
2016-04-01 00:36:55 +09:00
Masayuki Nakano
a597026bd6 Bug 1259664 part.11 Rename WidgetWheelEvent::overflowDeltaX to WidgetWheelEvent::mOverflowDeltaX r=smaug
MozReview-Commit-ID: CVKbougU4uT

--HG--
extra : rebase_source : 0beb961e696e114321db819ac68dab7d54cf7e28
2016-04-01 00:27:45 +09:00
Masayuki Nakano
1e0825ccd9 Bug 1259664 part.10 Rename WidgetWheelEvent::lineOrPageDeltaY to WidgetWheelEvent::mLineOrPageDeltaY r=smaug
MozReview-Commit-ID: 64lFZosnMbd

--HG--
extra : rebase_source : 1e103c5255a702d46f78c6f544981b0e82e2d23c
2016-04-01 00:10:09 +09:00
Masayuki Nakano
e462919d2b Bug 1259664 part.9 Rename WidgetWheelEvent::lineOrPageDeltaX to WidgetWheelEvent::mLineOrPageDeltaX r=smaug
MozReview-Commit-ID: 1j8SFp6bME4

--HG--
extra : rebase_source : 18b080a4938925547b2f5b7fa66908c75211a345
2016-04-01 00:10:46 +09:00
Masayuki Nakano
3b08c541b4 Bug 1259664 part.7 Rename WidgetWheelEvent::isMomentum to WidgetWheelEvent::mIsMomentum r=smaug
MozReview-Commit-ID: CornLj3WkyG

--HG--
extra : rebase_source : 2566b30374ed1a5be7cf0c6fead25a0271d58d17
2016-03-31 23:45:55 +09:00
Masayuki Nakano
70f6c0a7ac Bug 1259664 part.5 Rename WidgetWheelEvent::customizedByUserPrefs to WidgetWheelEvent::mCustomizedByUserPrefs r=smaug
MozReview-Commit-ID: 9GksNZRtmmb

--HG--
extra : rebase_source : 70f15531a9e83e1bd942270a9d95c5a9ea970b8c
2016-03-31 18:44:01 +09:00
Masayuki Nakano
a2da982fdb Bug 1259664 part.4 Rename WidgetWheelEvent::deltaMode to WidgetWheelEvent::mDeltaMode r=smaug
MozReview-Commit-ID: Ky3xp2NtBWq

--HG--
extra : rebase_source : 412e2df1c27c37dc76039d1fd3463623b476d81c
2016-03-31 18:35:24 +09:00
Masayuki Nakano
3450ec21e1 Bug 1259664 part.3 Rename WidgetWheelEvent::deltaZ to WidgetWheelEvent::mDeltaZ r=smaug
MozReview-Commit-ID: BbxTrLko8kp

--HG--
extra : rebase_source : 1aa8b1086791442dc15ac5464b7ecd3716203ccd
2016-03-31 18:18:34 +09:00
Masayuki Nakano
6aedccbde5 Bug 1259664 part.2 Rename WidgetWheelEvent::deltaY to WidgetWheelEvent::mDeltaY r=smaug
MozReview-Commit-ID: 3xscKDblY4V

--HG--
extra : rebase_source : c587768fd2c9a48e07cafa27b5c72e4eeb030360
2016-03-31 18:09:47 +09:00
Masayuki Nakano
6cedf549dc Bug 1259664 part.1 Rename WidgetWheelEvent::deltaX to WidgetWheelEvent::mDeltaX r=smaug
MozReview-Commit-ID: F5dQHpPkWfA

--HG--
extra : rebase_source : 1a256f288b0e004c196468f8659393b474d73840
2016-03-31 18:55:59 +09: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
Andrea Marchesini
ed3b71bc67 Bug 1261072 - File::GetName() should be const, r=smaug 2016-04-01 11:50:16 +01:00
Andrea Marchesini
68e3c73e34 Bug 1260982 - BlobFileImpl::GetType() should work also in workers, r=smaug 2016-03-31 08:32:58 +01:00
Catalin Badea
5082e816d8 Bug 1248772 - Trigger a OS window focus in ServiceWorkerClients::OpenWindow. r=ehsan 2016-03-31 16:06:00 +02:00
Kershaw Chang
3c7c98dd98 Bug 962251 - Test case, r=smaug 2016-03-30 00:54:00 +02:00
Kershaw Chang
1f224e0f32 Bug 962251 - Add relatedTarget in FocusEvent, r=smaug 2016-03-30 00:53: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
J. Ryan Stinnett
013ba36705 Bug 1242644 - HTML swapFrameLoaders. r=bz
Adds swapFrameLoaders for HTML frames.  It is also possible to swap frame
loaders between XUL and HTML frames.

MozReview-Commit-ID: 43JeiBuMcOL
2016-03-31 19:47:44 -05: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
Eitan Isaacson
1df06a0d6d Bug 1254378 - Make SpeechSynthesis an event target with a "voiceschanged" event. r=smaug
MozReview-Commit-ID: AmreVzU18LI

--HG--
extra : rebase_source : 3437459fc486721be11d42ca234a450b7493d2c7
2016-03-23 10:30:00 -07:00
Emanuel Hoogeveen
1efa5deaf7 Bug 1260475 - Add an option to disable GC slices triggered by painting. r=terrence a=kwierso
MozReview-Commit-ID: B81ZHm0EgZB
2016-03-31 14:26:30 -07:00
chunminchang
55f5e1cc1b Bug 1110030 - part1 - add flags:IsSynthesizedByTIP and InputMethodAppState in WidgetKeyboardEvent. r=masayuki 2016-03-15 13:50:16 +08:00
Michal Novotny
f0418a0c73 Bug 1227136 - test for the crash, r=bagder 2016-03-29 22:28:27 +02:00
Nathan Froyd
cccdd9fbca Bug 1177488 - use |const char*| for representing async call reasons; r=bz,fitzgen
Using a simple |const char*| is more memory-efficient than allocating a
JS string. We still have to allocate the JS string for passing things
into JS, but ideally we will be able to move the point of allocation
much closer to where it's actually needed, rather than indiscriminantly
doing it all the time.
2016-03-23 10:40:53 -04: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