Xidorn Quan
b1014aeb0c
Bug 1296186 part 2 - Make ServoDeclarationBlock refcounted. r=heycam
...
MozReview-Commit-ID: 2X0JX8HA4ej
--HG--
extra : rebase_source : e5e888be0fb98f995a7ac17bd0985177206914a2
extra : source : 53ce9619813b91b26a5bc51b7417c55e8b9cb505
2016-08-23 10:32:20 +10:00
Xidorn Quan
0fab79f248
Bug 1296186 part 1 - Make borrowed type just alias of corresponding pointer type. r=bholley
...
Compilers would complain about using user-defined type as return type
of extern "C" functions. A struct is considered a user-defined type if
there is any non-trivial constructor.
Having a type without non-trivial constructor for borrowed type would
be very inconvenient. Actually the currently borrowed type doesn't seem
to provide any additional safety / benefit over a plain pointer.
MozReview-Commit-ID: ncxmCEWCkv
--HG--
extra : rebase_source : 43a95bbcb05759f27837629daec6ce915a68b062
extra : source : 2a544c24bfb6a3412e59acbee89a5a393c31d5b6
2016-08-23 10:32:20 +10:00
Xidorn Quan
928683d762
Bug 1291707 part 4 - Not recalc quotes and counters in EndUpdate. r=bz
...
It will be called in the next flush, so no need to do it eagerly.
MozReview-Commit-ID: 1B8pzn0dqBO
--HG--
extra : rebase_source : 79a4203d13a2b9d48cd9c9d6fa5c5e08974d4765
extra : source : 162b17483adb18d3d05d866853fb8f841dee846d
2016-08-23 10:31:26 +10:00
Xidorn Quan
9d87478fb9
Bug 1291707 part 3 - Use hashtable to track nsGenConNodes related to a frame. r=bz
...
MozReview-Commit-ID: IgT90GN2R4Z
--HG--
extra : rebase_source : a17776e7a8723f9487100862b630857a85eded98
extra : source : 31269f41019ac267264cafb5f97dd602ba5ec212
2016-08-23 10:31:26 +10:00
Xidorn Quan
fab96c1410
Bug 1291707 part 2 - Add GetAndRemove to nsDataHashtable. r=froydnj
...
MozReview-Commit-ID: 24zlYwsRGsF
--HG--
extra : rebase_source : 904c62cd779133666904d3167cb7e7c31f95a412
extra : source : 6c1df15aad607e70547b51011bd352d8a8bf826d
2016-08-23 10:31:26 +10:00
Xidorn Quan
a0c0bf51d9
Bug 1291707 part 1 - Change nsGenConList::Remove to Destroy and make it private. r=bz
...
MozReview-Commit-ID: FxXizoXjRoh
--HG--
extra : rebase_source : 2ee88b7358d9bc92d563546582485ff6e499a667
extra : source : ad53afc0ba0547d0fc992b5dce575e7b65957fea
2016-08-23 10:31:26 +10:00
Jan Varga
787316fb6a
Bug 1297056 - Use [must_use] in dom/quota; r=asuth
2016-08-23 08:03:25 +08:00
Steve Fink
2042159803
Backed out 5 changesets (bug 1296878, bug 1296876, bug 1296875
) for compilation failures, a=CLOSED TREE
...
Backed out changeset e000f50cb73d
Backed out changeset 05f3d17beffe (bug 1296878)
Backed out changeset cfbac36772eb (bug 1296878)
Backed out changeset 3fe209e9ca79 (bug 1296878, bug 1296876)
Backed out changeset 8b45dd84cc08 (bug 1296878, bug 1296876, bug 1296875
)
--HG--
extra : amend_source : 53a3a3c116844c8ab035c7c85de15abedfc128af
2016-08-22 15:37:06 -07:00
Steve Fink
898aa04e50
No bug. Fix compilation failure. a=CLOSED TREE
...
--HG--
extra : amend_source : 945ed7cd38c5b7e3bd6f9081966840d9296d8412
2016-08-22 15:30:12 -07:00
Steve Fink
f320639a55
Bug 1296878 - TraceLogger: report thread name when available, r=h4writer
...
--HG--
extra : rebase_source : 9331a4b69cd773c9bfbd100461ee977d89a11d95
2016-08-20 11:56:19 -07:00
Steve Fink
843bd9aad4
Bug 1296878 - Implement js::ThisThread::GetName for limited set of platforms, r=fitzgen
...
--HG--
extra : rebase_source : 43c3a5efd7e73e7b32728a58648f8606463b0147
2016-08-20 11:55:37 -07:00
Steve Fink
6d99bf51ce
Bug 1296876 - TraceLogger: write files to $TLDIR, r=h4writer
...
--HG--
extra : rebase_source : faaa83213fbf972a695a5a26ecc4c65a351210fb
2016-08-20 11:56:01 -07:00
Steve Fink
4518b4b69c
Bug 1296875
- Minor TraceLogger cleanups, comments, refactoring; r=h4writer
...
--HG--
extra : rebase_source : 68d175b552626f61516e0e443dd75f999335554c
2016-08-18 13:10:07 -07:00
Blake Kaplan
974d3410e3
Bug 1296785 - Make view-source in a new window work correctly. r=mconley
...
This patch also makes sure that we correctly grab a weak reference to the
related window instead of just setting a "relatedBrowser" property directly on
the JS object (which shadows the XBL property getter).
MozReview-Commit-ID: 97VQyCoY1Cj
2016-08-22 14:49:20 -07:00
Morgan Phillips
ffd6e78083
Bug 1296846 - Backout bad Unicode changes 2/2; r=efaust
2016-08-20 04:04:40 -07:00
Morgan Phillips
e8d173feb0
Bug 1296846 - Backout bad Unicode changes 1/2; r=efaust
2016-08-20 04:03:51 -07:00
Thomas Wisniewski
e1e1d36600
Bug 1296178 - Replace use of PR_MIN with std::max in XMLHttpRequestMainThread.cpp. r=mrbkap
...
--HG--
extra : rebase_source : 9cf1d363181a7d4f34a2a97ec644cf69d9ede627
2016-08-20 11:58:51 -04:00
Thomas Wisniewski
6c4149c011
Bug 1017704 - Move DropJSObjects into the destructor in AudioBuffer.cpp. r=mccr8
...
--HG--
extra : rebase_source : a4c5ee7e40bf26814df7b9397b9862fb08684069
2016-08-20 20:32:52 -04:00
Dragana Damjanovic
3cf6ee23d9
Bug 1264578 - NSS support for http with TLS 1.3. r=keeler
...
--HG--
extra : rebase_source : 26b322f6d6f8e0160087c5214024dc9cccd328f9
2016-08-19 05:01:00 -04:00
Dragana Damjanovic
79e0168a9b
Bug 1264578 - Networking support for http with TLS 1.3. r=mcmanus
...
--HG--
extra : rebase_source : eb851624fe67c2112ed4ed1cf7f1790b41a341cd
2016-08-11 08:28:00 -04:00
Ryan VanderMeulen
30d948fc12
Bug 1297171 - Unconditionally export COMPtrTypes.h rather than depending on accessibility enabled/disabled status. r=aklotz
...
--HG--
extra : rebase_source : 7d55dba2cdf73defe9ed199f8734e227bac3a67c
2016-08-22 14:33:00 -04:00
Jinank Jain
5d82d2f48d
Bug 1296176 - Replace PR_MIN with std::min in netwerk. r=jesup,mcmanus
2016-08-22 14:37:42 -07:00
Gijs Kruitbosch
4d83804d86
Bug 1296863 - followup: don't break reserved-ness of accel-t to open tabs, rs=bustage
...
MozReview-Commit-ID: 3jrvQ9NWrq9
2016-08-22 22:01:58 +01:00
Jonathan Kew
318cce9a49
Bug 1280887
followup, replace UniquePtr<gfxTextRun> with RefPtr in test code (NPOTB). r=mats
2016-08-22 21:40:11 +01:00
Jonathan Kew
993ba1a742
Bug 1296742 - Initialize gfxGDIFont's metrics at construction time, like other platform font subclasses, and remove its no-longer-needed support for init-on-first-use pattern. r=jrmuizel
2016-08-22 21:39:19 +01:00
Jonathan Kew
ac04ca7f48
Bug 1296740 - Fix the parameter list for the gfxDWriteFontFamily implementation of ReadFaceNames. r=jrmuizel
2016-08-22 21:38:50 +01:00
Geoff Brown
b98d0b0869
Bug 1294546 - Update tooltool manifest for android host-utils, for osx hosts; r=me
2016-08-22 13:51:33 -06:00
Geoff Brown
a8cd247205
Bug 1294878
- Add tooltool manifest for Android 6.0 AVD; r=me
2016-08-22 13:51:32 -06:00
Geoff Brown
c5cce42e68
Bug 1271104 - Avoid menu selection in robocop testPrivateBrowsing; r=sebastian
2016-08-22 13:51:31 -06:00
Dão Gottwald
5d1d8e9bac
Bug 1297091 - Set --panel-separator-color to hsla(210,4%,10%,.14) for the default Windows theme. r=jaws
2016-08-22 21:27:17 +02:00
J. Ryan Stinnett
eba743ab20
Bug 1296079 - Disable dump() calls in dom/browser-element. r=kanru
...
MozReview-Commit-ID: 1RbEiXMV5ab
2016-08-22 13:44:51 -05:00
Dão Gottwald
764c21453a
Backed out changeset ec5af78d53a3 for test_arrowpanel.xul failure
2016-08-22 20:11:43 +02:00
George Wright
4010a63cb8
Bug 1296524 - Don't add Skia to the allowable canvas types unless USE_SKIA is defined r=mchang
2016-08-22 13:50:48 -04:00
Eric Faust
8c5b1eddc8
Bug 1287340 - Part 3: Properly forward new.target in bound function subclassing. (r=till)
2016-08-22 09:56:37 -07:00
Eric Faust
442bd1050b
Bug 1287340 - Part 2: Improve new.target jit performance. (r=h4writer)
2016-08-22 09:56:35 -07:00
Eric Faust
538b483b3c
Bug 1287340 - Part 1: Implement constructContentFunction for self-hosted code. (r=till)
2016-08-22 09:56:33 -07:00
Emilio Cobos Álvarez
c74f7fc2ae
Bug 1292618: followup: Use IsGeneratedContentContainerForBefore/After in ServoStyleSet. r=me
...
MozReview-Commit-ID: AU8YKQBvXX7
2016-08-22 10:42:18 -07:00
Henri Sivonen
a3b8292670
Bug 1191841 - Perform label resolution in scriptable charset setters of nsIContentViewer. r=emk.
...
MozReview-Commit-ID: facCC1K7Dk
2016-08-22 20:18:24 +03:00
Nick Fitzgerald
5dc6200d46
Bug 1295741
- jslock.h is dead, long live jsnspr.h; r=terrence
...
This commit makes the following changes:
* Removed unnecessary includes of jslock.h from files that are using
js/src/thread/* primitives now.
* Removed includes of prcvar.h, prlock.h, and prthread.h in jslock.h.
* Renamed jslock.h to jsnspr.h since its only remaining utility is to either
wrap the few NSPR headers we still use, or alternatively include the
vm/PosixNSPR.h shim instead if JS_POSIX_NSPR is defined.
--HG--
rename : js/src/jslock.h => js/src/jsnspr.h
2016-08-22 10:15:53 -07:00
Nick Fitzgerald
e3a0952fa0
Bug 1295740 - Print the test thread's bit instead of PR_GetCurrentThread() in testThreadingExclusiveData.cpp; r=terrence
2016-08-22 10:15:53 -07:00
Nick Fitzgerald
3db551e975
Bug 1295739 - Make JSRuntime::ownerThread_ a js::Thread::Id instead of void*; r=terrence
2016-08-22 10:15:53 -07:00
Nick Fitzgerald
40f60d4c9e
Bug 1295738 - Remove the unused JSAPI function JS_GetCurrentThread; r=terrence
2016-08-22 10:15:53 -07:00
Nick Fitzgerald
012adba4db
Bug 1275749 - Part 1: Remove the DEBUG-only js::FutexRuntime::lockHolder_ member, since we already get those checks by using js::Mutex; r=terrence
2016-08-22 10:15:53 -07:00
Nick Fitzgerald
811426746c
Bug 1275749 - Part 0: Use js::Mutex and js::ConditionVariable instead of PRLock and PRCondVar in js::FutexRuntime; r=lth
2016-08-22 10:15:53 -07:00
James Willcox
032effb063
Bug 1295295 - Blur foreground tab in Fennec when the app is backgrounded r=sebastian
2016-08-22 12:04:44 -05:00
Jon Coppeard
89ae3db372
Bug 1293239 - Fix error when reverting nursery resize heuristic change r=terrence
2016-08-22 17:43:14 +01:00
Kan-Ru Chen
b4cf4bec61
Bug 1264642 - Part 6. Mark JSStructuredCloneData as MOZ_NON_MEMMOVABLE and add specializations in nsTArray.h. r=froydnj
...
MozReview-Commit-ID: HltgzBnxMsn
2016-08-23 00:40:47 +08:00
Kan-Ru Chen
0dbfe2dbcc
Bug 1264642 - Part 5. Make SerializedStructuredClone{Read,Write}Info use SerializedStructuredCloneBuffer. r=baku
...
MozReview-Commit-ID: KUz3E5Sw5W3
2016-08-23 00:40:47 +08:00
Kan-Ru Chen
506dfe6ea3
Bug 1264642 - Part 4. Use BufferList to replace raw buffers in StructuredClone. r=baku r=billm r=jorendorff
...
In JS StructuredClone BufferList<SystemAllocPolicy> is typedef'd to
JSStructuredCloneData and use everywhere in gecko that stores structured
clone data.
This patch changed some raw pointers to UniquePtr<JSStructuredCloneData>
and some to stack allocated JSStructuredCloneData for better life time
management. Some parameters or methods are deleted because of changing
to the new data structure.
MessagePortMessage now has the exactly same structure with
ClonedMessageData. Maybe in the future they can be consolidated.
MozReview-Commit-ID: 1IY9p5eKLgv
2016-08-23 00:40:46 +08:00
Kan-Ru Chen
3dcef6a932
Bug 1264642 - Part 3. Add BufferList::MoveFallible. r=billm
...
It works like a move constructor but it's fallible. It can also move
data to different but compatible AllocPolicy.
MozReview-Commit-ID: LAbPWCwnrr6
2016-08-23 00:40:46 +08:00