Граф коммитов

554364 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote eb53891d73 Bug 1392993 - Change nsIAccessibleObjectAttributeChangedEvent.changedAttribute from an nsIAtom to an AString. r=MarcoZ.
This removes one use of nsIAtom within scripts, which is good (see bug
1392883). All the uses of this attribute within scripts just converted it to a
string anyway.

--HG--
extra : rebase_source : 080c12506722df5d18e78659bbb922421baa5b80
2017-08-24 17:19:09 +10:00
Matthew Gregan bbc0805e28 Bug 1393284 - Update libnestegg to 369d153. r=rillian
From 94bad012a2d4ec824d751c574443e3946187c4ea Mon Sep 17 00:00:00 2001
2017-08-24 16:18:34 +12:00
Bevis Tseng 0110c5738a Bug 1393319 - Label PContent::Msg_DataStorage(Put|Remove|Clear). r=billm
Label these 3 messages with SystemGroup since they only touch an internal
hashtable instead of any web contents.
2017-08-24 10:16:05 +08:00
sotaro 3e6b55cd91 Bug 1392163 - Remove ImageBridgeChild::DispatchReleaseTextureClient() r=nical 2017-08-24 11:05:59 +09:00
sotaro d89ca5a049 Bug 1392556 - Initialize DWriteFactory in GPUParent::RecvInit() r=jrmuizel 2017-08-24 10:47:30 +09:00
Nicholas Nethercote 8d93912409 Bug 1392989 (part 2) - Remove unused atom-service references. r=jaws.
Plus a couple of other unused service references nearby.
2017-08-24 11:46:02 +10:00
Nicholas Nethercote 023ea64ad3 Bug 1392989 (part 1) - Remove convertProperties(). r=jaws.
It's unused.
2017-08-24 11:45:54 +10:00
Nicholas Nethercote 0a0c70a23a Bug 1392881 - Merge StaticAtom and DynamicAtom. r=froydnj.
There's no reason for them to be separate, and we can use the |kind| field to
distinguish the two kinds when necessary.

This lets us remove the duplication of ScriptableToString(), ToUTF8String(),
and ScriptableEquals().

It also lets us use |Atom*| pointers instead of |nsIAtom*| pointers in various
places within nsAtomTable.cpp, which de-virtualizes various calls and removes
the need for some static_casts.

--HG--
extra : rebase_source : 2f9183323446e353f8cc5dcedf57d9dc9a38f0a7
2017-08-24 11:10:04 +10:00
Mike Conley 11a3dbea14 Bug 1385453 - Factor out unloading tabs helper for async tab switcher to avoid postActions re-entry. r=billm
MozReview-Commit-ID: IIDUY0mZ7Xs

--HG--
extra : rebase_source : f91d755683a4f9eb475487cfc00f004bab28e405
2017-08-23 16:48:59 -04:00
Mike Conley a48193a566 Bug 1385453 - Disable tab warming in browser_bug343515.js test. r=billm
MozReview-Commit-ID: 9DOv9drNi9n

--HG--
extra : rebase_source : f7927107e5374404f2043550e0cd1c9ee46f5991
2017-08-23 16:43:55 -04:00
Mike Conley abb784e833 Bug 1385453 - Make it possible to disable tab warming. r=billm
MozReview-Commit-ID: LTxerOEQyQq

--HG--
extra : rebase_source : 7e858f026945ee55472e2877d520582faf2e1393
2017-08-23 16:40:37 -04:00
JerryShih 77bd26b1bd Bug 1379995 - test case for webgl drawArray() call. r=jgilbert
Test drawArray() after calling deleteBuffer() for the binded buffer.

MozReview-Commit-ID: 306tsklZK4L

--HG--
extra : rebase_source : 9ae4b33accc57406695ad6ee8f3d71fdf4d58442
2017-08-23 17:23:05 +08:00
Bevis Tseng e53f772f83 Bug 1390424 - Move ParentActivated message from PContent/PContentBridge back to PBrowser. r=billm 2017-08-23 17:02:57 +08:00
Nathan Froyd c5fa35746e Bug 1390568 - manually de-virtualize do_QueryReferent; r=ehsan
nsQueryReferent is defined as an nsCOMPtr_helper, which implies that
calling its operator() method requires a virtual call.  While
nsQueryReferent is marked `final`, compiler inlining decisions make it
impossible to de-virtualize the call to operator().  However, we have
many other classes returned by do_* functions that nsCOMPtr handles
directly, requiring no extra virtual calls, and we can give
nsQueryReferent the same treatment.
2017-08-24 20:04:31 -04:00
Oriol Brufau 519e4af9fe Bug 1390701 - Let devtools consider system principal proxy objects to be unsafe. r=jimb 2017-08-24 06:38:00 -04:00
Ehsan Akhgari b174b2306a Bug 1392867 follow-up: Document that the aChild argument won't get AddRef'ed
DONTBUILD
2017-08-24 18:39:24 -04:00
Bas Schouten 64bb6354b5 Bug 1363922 - Part 2: Estimate scale of frames using their transformation relative to the root frame. r=mstange
MozReview-Commit-ID: HTDaOz7sz5c
2017-08-25 00:21:55 +02:00
JerryShih 8f4560dc72 Bug 1379995 - reset the mBufferFetchingIsVerified flag after the webgl deleteBuffer call. r=jgilbert
If the buffer status was changed, we should do the ValidateBufferFetching() again.

MozReview-Commit-ID: 7czQFT3qauE

--HG--
extra : rebase_source : ee2635289d0d3e7c115b2a9d9f52c3ae876830d5
2017-08-23 16:57:41 +08:00
Nevin Chen 0277dd355e Bug 1392917 - Compress and change a smaller icon to save APK size. r=jwu,walkingice
MozReview-Commit-ID: 8P1jzyatWJu

--HG--
extra : rebase_source : 9c5d90a53234c0d7d3a228a0ab551df7e5bfb1da
2017-08-23 14:20:09 +08:00
Nevin Chen 2ac23f6797 Bug 1392917 - fix photon layout bug. r=jwu,walkingice
MozReview-Commit-ID: Ad9PS8Xks1r

--HG--
extra : rebase_source : afc48dfc7561a1b30a3206bc0df67b67fad22435
2017-08-23 14:17:13 +08:00
Chris Pearce 6c8aad0850 Bug 1392485 - Hook QueryDosDeviceW() in GMP process so it works inside the sandbox. r=bobowen
MozReview-Commit-ID: JKRiKCd7Ibn

--HG--
extra : source : e20dc9d1df72189e83c2961674aaaccba378697c
2017-08-23 10:56:41 +12:00
Nicolas Silva abdcea3c3b Bug 1393031 - Make ResourceUpdateQueue move-only. r=sotaro 2017-08-25 11:58:05 +02:00
Nicolas Silva d415c1134b Bug 1393031 - Expose WebRender's ResourceUpdates to C++. r=sotaro 2017-08-25 11:58:00 +02:00
Matt Woodrow 5d9dd5a30b Bug 1387059 - When checking if nsDisplayPerspective participates in preserve-3d, check the underlying transformed frame. r=mstange 2017-08-25 11:51:37 +02:00
Sebastian Hengst 8066ec372a Backed out changeset 3b8bb2bc1ac0 (bug 1381753) for unexpectedly passing web-platform-reftest /css/css-transforms-2/transform3d-sorting-001.html. r=backout 2017-08-25 11:51:21 +02:00
Jessica Jong 8a5430a780 Bug 1390794 - Use 'norolluponanchor' to avoid closing the picker when the anchored input box is clicked. r=mconley
Currently, we use 'noautohide' to avoid closing the picker when the anchored
input box is clicked. However, 'noautohide' does not work well on some Linux
distributions and noautohide panels behave differently to regular panels when
mousing over another window. So, 'nolluponanchor' is what we want here.

MozReview-Commit-ID: CfkufnbUw4v
2017-08-25 17:15:13 +08:00
Gijs Kruitbosch 45e59c97f6 Bug 1391549 - persist positionend value to ensure sidebar side is correct on startup when sidebar is closed, r=bgrins
MozReview-Commit-ID: LOn3Q7Hg3BC

--HG--
extra : rebase_source : 712fc121385e12045aa9e96ff0d051ce858a6530
2017-08-23 14:07:46 +01:00
Gijs Kruitbosch a39a60a912 Bug 1391280 - store last sidebar command irrespective of whether sidebar was open, r=bgrins
MozReview-Commit-ID: HBfdW5vEZaD

--HG--
extra : rebase_source : 167ed942355129e062746fe012f26fbb47016732
2017-08-23 14:06:26 +01:00
Nicholas Nethercote ccabc0fa19 Bug 1393636 (part 5) - Report memory usage of Gecko style structs separately. r=heycam.
A lot of this involves copy-pasting the existing Servo style structs code.

Note that nsArenaSizes had to be moved after nsStyleSizes, because the former
now contains an instance of the latter.

MozReview-Commit-ID: 3hrkobxbX9b

--HG--
extra : rebase_source : f6b29bd7cb9bd60f2da65f5f907e161299333287
2017-08-25 14:59:44 +10:00
Nicholas Nethercote f2751f3072 Bug 1393636 (part 4) - Move ComputedValues measurements from nsStyleSizes to nsWindowSizes. r=heycam.
Another plumbing-only change, which is a precursor for the next patch.
ComputedValues are a Servo-only thing, so in order to use nsStyleSizes for both
Gecko and Servo, the ComputedValues sizes must be moved out.

MozReview-Commit-ID: BOnQSzzV0vC

--HG--
extra : rebase_source : 025c6161e509401a36525349083dd98bfda35621
2017-08-25 14:50:26 +10:00
Nicholas Nethercote 7e120ce35e Bug 1393636 (part 3) - Pass nsWindowSizes to more AddSizeOf*() functions. r=heycam.
This is a purely non-functional plumbing change. Instead of passing a
SizeOfState and an nsStyleSizes a bunch of places, we pass an nsWindowSizes,
which contains both of them.

This is a necessary precursor for the next patch.

MozReview-Commit-ID: Ek03wDM50rB

--HG--
extra : rebase_source : 7b05708bd21dc4e3812ea041647fa74bb413d0b9
2017-08-25 14:47:54 +10:00
Nicholas Nethercote 5c0934aaae Bug 1393636 (part 2) - Add "window-objects/dom/performance" memory report. r=heycam.
Memory reporting was recently added for these DOM performance objects, but we
failed to report the "window-objects/" totals for the entire process. This
patch adds that.

MozReview-Commit-ID: 41ZcPC3seFc

--HG--
extra : rebase_source : fb4ed30ba3312e2c3fb5e1f9b186726c5ec2cd0f
2017-08-25 14:44:24 +10:00
Nicholas Nethercote 2f049cbd6c Bug 1393636 (part 1) - Reorder nsWindowSizes reporting. r=heycam.
This patch just moves code around, so that the reporting is done in the same
order that the nsWindowSizes fields are declared. This makes it easier to see
whether anything has been missed.

(I'd like to use macros to generate this repetitive code instead of writing it
by hand, but that's a task for later.)

MozReview-Commit-ID: Eu9Y078VNp

--HG--
extra : rebase_source : 95f31034a39c1057115ec4ea825ea33a774d5388
2017-08-25 14:43:29 +10:00
Jan de Mooij a5de55dced Bug 1389510 part 3 - Remove getProperty/setProperty hooks from ClassOps. r=evilpie 2017-08-25 10:12:16 +02:00
Jan de Mooij ff7f9d6102 Bug 1389510 part 2 - Remove checks for getProperty/setProperty hooks in SpiderMonkey. r=evilpie 2017-08-25 10:11:44 +02:00
Jan de Mooij 599d67d484 Bug 1389510 part 1 - Remove getProperty/setProperty hooks from XPConnect. r=mrbkap 2017-08-25 10:10:56 +02:00
Sebastian Hengst 7e5c12872d Backed out changeset 61a168afa436 (bug 1387059) for unexpectedly passing web-platform-reftest /css/css-transforms-2/transform3d-sorting-001.html. r=backout 2017-08-25 10:05:22 +02:00
Franziskus Kiefer cc0ea301c1 Bug 1386955 - land NSS fff2c933097d UPGRADE_NSS_RELEASE, r=me
MozReview-Commit-ID: 5eTpylXNFGc

--HG--
extra : rebase_source : 7e0b45f6dc9d9d8c29687573907e90211d05b6c4
2017-08-25 09:37:32 +02:00
Emilio Cobos Álvarez b9fde0be1c Bug 1389743: followup: Add a comment about why we post a restyle in DestroyFramesFor. r=comment-only
MozReview-Commit-ID: 5xSclV9mqyU
2017-08-25 09:26:24 +02:00
Andrew Halberstadt cae249f833 Bug 1392787 - Disable manifestparser tests using 'disabled' key instead of comment, r=jmaher
MozReview-Commit-ID: IQL7hWxQX9F

--HG--
extra : rebase_source : d907a5b2192687d86e3291a936c943948ed6793f
2017-08-22 16:56:02 -04:00
Andrew Halberstadt b24f01064e Bug 1392787 - Add a linter to prevent comment-disabling tests in manifestparser manifests, r=jmaher
MozReview-Commit-ID: LG47ASBMA17

--HG--
extra : rebase_source : df925b5d234a889bfb472eb33a3204465aa64f79
2017-08-23 09:33:18 -04:00
Andrew Halberstadt 9fc7ff1913 Bug 1392787 - [mozlint] Fix bugs in path filtering and add a test, r=jmaher
MozReview-Commit-ID: LG47ASBMA17

--HG--
extra : rebase_source : d782ad2f17716f857f3da2d43e1370ba4db2f2bd
2017-08-23 06:33:06 -04:00
Delphine Lebédel dd07703803 Bug 1380866 - vi Search engine setup for Firefox Mobile for Vietnamese, r=flod
MozReview-Commit-ID: BAV8F4FYOiW

--HG--
extra : rebase_source : 2e2cad01cbd616d290b1701c0d8c3e492ad8ec54
2017-08-24 11:28:28 -07:00
Nicolas Chevobbe 942e4427a5 Bug 1392614 - Add an onEnumSymbols function on the object actor. r=ochameau
This will enable lazy loading symbols for a grip if needed.
This patch introduce a new SymbolIteratorActor, which is similar
to PropertyIteratorActor but with a data structure that better
fits symbols, and how we already handle them, i.e. an `ownSymbols`
array property (and not an `ownProperties` object like PropertyIteratorActor).

We take this as an opportunity to add a test for enumSymbols, but also
for enumProperties that did not have server unit tests (it is only tested
in the frontend with the variable view, which might be deprecated at some
point).

MozReview-Commit-ID: IEIKA8zwH90

--HG--
extra : rebase_source : 377526321e04e28ffc58ed7af7f4325b6e1ee66d
2017-08-22 12:07:48 +02:00
Henry Chang ed11934666 Bug 1392204 - Disable goog-badbinurl-proto and goog-downloadwhite-proto on Fennec. r=francois
Version 4 of the Google Safe Browsing server will return a 404 if any of the
application reputation lists are requested on Android. As a result, we should
avoid these threat types from being sent along with ANDROID_PLATFORM.

MozReview-Commit-ID: 6TUBVxe455y

--HG--
extra : rebase_source : dee095c008f4d328f359c66d20f0cc2dfcd109f3
extra : source : 5d6338807c6b21b7672236cac01b13bd75155225
2017-08-22 12:20:57 +08:00
Kris Maglione 821308e4d1 Bug 1391110: Part 4 - Remove unnecessary nsIFrameLoaderOwner QIs. r=smaug
The FrameLoaderOwner interface has been implemented in WebIDL for several
years now, so these QIs are simply unnecessary overhead.

MozReview-Commit-ID: LAzvfm5Qhy0

--HG--
extra : rebase_source : 2495c07df21c474f5fabc257ff4db43b0d8047e4
2017-08-19 13:32:58 -07:00
Kris Maglione 90f1e3558c Bug 1391110: Part 3 - Add nsIWebBrowserPersistable to FrameLoader bindings. r=smaug
MozReview-Commit-ID: 8mBNbgmrXBV

--HG--
extra : rebase_source : d553bca30c3fa4affc9e6ee9e65e5b4000e0cac2
2017-08-19 14:16:16 -07:00
Kris Maglione 68a883f00b Bug 1391110: Part 2 - Reparent FrameLoader wrapper when owner content changes. r=smaug
We allow swapping frameloaders between unrelated documents, so we need to
reparent wrappers when the owner content changes.

MozReview-Commit-ID: LNIf4ZrCZLo

--HG--
extra : rebase_source : 8041d1601962d61e675e78e3447c7772eee89df0
2017-08-19 13:03:59 -07:00
Kris Maglione 470160f420 Bug 1391110: Part 1 - Convert FrameLoader bindings to WebIDL. r=smaug
XPConnect wrapper overhead for this interface has been showing up heavily in a
lot of my profiles, in some places accounting for 50ms of the 80ms we spend
getting getting <browser> messageManagers. This improves the situation
considerably.

MozReview-Commit-ID: 9d1hCORxsYG

--HG--
rename : dom/base/nsIFrameLoader.idl => dom/webidl/FrameLoader.webidl
extra : rebase_source : d8a1fc1a19632ba36a9fc6f63873f7534671a13b
2017-08-19 00:55:00 -07:00
Wes Kocher fb8abb94c7 Merge inbound to central, a=merge
MozReview-Commit-ID: 1mWKzfX4kl
2017-08-23 18:07:24 -07:00