Kris Maglione
7bb88fc9de
Bug 1371246: Handle serializing Blobs in StructuredCloneHolder instances. r=billm
...
MozReview-Commit-ID: 2n15NCnLC48
--HG--
extra : rebase_source : b9769b5b79d6d9dd6277a783963d83a0e0ab88eb
extra : amend_source : ac9167122891a374b4fd7219feaa7d7afbf6f5f0
2017-06-12 14:42:49 -07:00
Ben Kelly
4eb739057c
Bug 1371664 P5 Fix browser_timeout_throttling_with_audio_playback.js not to expect clamping in background windows using audio. r=ehsan
2017-06-13 18:08:28 -07:00
Ben Kelly
a3c8156b38
Bug 1371664 P4 Remove old TimeoutManager code that adjusted Timeout::When() while in background. r=ehsan
2017-06-13 18:08:28 -07:00
Ben Kelly
2771b377cb
Bug 1371664 P3 Pass a minimum delay to TimeoutExecutor::MaybeSchedule() based on TimeoutManager::IsBackground(). r=ehsan
2017-06-13 18:08:27 -07:00
Ben Kelly
d959a50dfa
Bug 1371664 P2 Make nsGlobalWindow::SetIsBackground() call new TimeoutManager::UpdateBackgroundState(). r=ehsan
2017-06-13 18:08:27 -07:00
Ben Kelly
3ea8a7a387
Bug 1371664 P1 Add a minimum delay argument to TimeoutExecutor::MaybeSchedule(). r=ehsan
2017-06-13 18:08:27 -07:00
Mats Palmgren
a9090b986a
Bug 1372008 - Use mPreloadedPreconnects.LookupForAdd instead of Contains+Put to avoid unnecessary hashtable lookups. r=froydnj
...
MozReview-Commit-ID: 6TwXdVhYQYE
2017-06-14 01:54:26 +02:00
Mats Palmgren
fb94159369
Bug 1372007 - Replace calls to Contains+Put with LookupForAdd and Contains+Get+Put with LookupRemoveIf to avoid unnecessary hashtable lookups. r=froydnj
...
MozReview-Commit-ID: 5Y1rVCglpzu
2017-06-14 01:54:26 +02:00
Mats Palmgren
24a9e3129b
Bug 1371095 - Avoid doing unnecessary hashtable lookups in ImageTracker::Add/Remove. r=froydnj
...
MozReview-Commit-ID: AUpTHGH3JQV
2017-06-14 01:03:38 +02:00
Joanmarie Diggs
c306e05c88
Bug 1343537 - Implement ARIA DPUB extension. r=surkov
...
--HG--
extra : rebase_source : 38af7ac790cb60d952b1dc2885f50fc9c15cdea6
2017-06-13 15:06:08 -04:00
Peter Van der Beken
3455c5b415
Bug 1252211 - Convert TreeContentView to WebIDL. r=bz.
...
--HG--
extra : rebase_source : 78b770df8863b8165639c4a7a0eaabd5463c1090
2017-06-08 21:04:02 +02:00
Cameron McCormack
ea96847844
Bug 1373155 - Disable Web Components in Servo-styled documents. r=wchen
...
MozReview-Commit-ID: 5IBBN2Gfazs
--HG--
extra : rebase_source : 832174c4b30627b77d247a762c0a525b3afb7885
2017-06-15 19:39:58 +08:00
Henri Sivonen
2f2bb984f8
Bug 1372994 - Clear up leftover ISO-8859-1 encoding names. r=emk
...
MozReview-Commit-ID: IBuUPa9H9Q2
--HG--
extra : rebase_source : fb8db0c70caeec179d50b9ecaeb811d1e87eb0dd
2017-06-15 10:35:22 +03:00
Xidorn Quan
589d06fb7f
Bug 1372757 - Remove several dependencies to ServoBindings.h. r=heycam
...
MozReview-Commit-ID: Lruin1acS19
--HG--
extra : rebase_source : 7aeb83df3e1bf21a68d2f3e9048c5bfaa295ccdb
2017-06-14 09:38:16 +10:00
Tobias Schneider
e5f0ccbf64
Bug 1359317 - (intersection-observer) Use targetFrame->GetRectRelativeToSelf() as the initial intersection rect. r=mstange
2017-06-19 13:32:07 -07:00
Ehsan Akhgari
46b7fbd1ec
Bug 1374030 - Optimize the loop in nsAttrAndChildArray::IndexOfAttr() a bit; r=bzbarsky
2017-06-19 14:31:03 -04:00
Emilio Cobos Álvarez
f6dc661b5b
Bug 1370802: Parse lang attributes as atoms. r=heycam
...
MozReview-Commit-ID: Cnq3wB7aVB1
--HG--
extra : rebase_source : fa0252b78381bf023ab08bf2d9fd13d4c0ed57a1
2017-06-15 21:48:26 +02:00
Peter Van der Beken
ae390ac4ca
Bug 1252211 - Convert XUL template builders to WebIDL. r=bz.
...
--HG--
rename : layout/xul/tree/nsITreeView.idl => dom/webidl/TreeView.webidl
rename : dom/xul/templates/nsIXULTemplateBuilder.idl => dom/webidl/XULTemplateBuilder.webidl
extra : rebase_source : ccfc87c460e20027a4ea6b3cc04efe14802dc41e
2017-05-24 11:51:10 +02:00
Blake Kaplan
d8f53f83da
Bug 981796 - Make tests that use showModalDialog pass. r=smaug
...
Annoyingly, setting the pref doesn't magically make the function appear on the
current window, so we create an iframe and retrieve it from there.
MozReview-Commit-ID: 9fOr4YJOzXh
--HG--
extra : rebase_source : d23643b388538955cc831a3b6e1473232ab5498a
2017-06-16 12:41:01 -07:00
Blake Kaplan
a0d7ca97b2
Bug 981796 - Don't assume that the active global is our global. r=smaug
...
Without this, grabbing another window's showModalDialog function and calling
it with this being a second window asserts.
MozReview-Commit-ID: GvGUClFwdoN
--HG--
extra : rebase_source : f7bb2afd898db0affaf455401b6ddeec8ba7e917
2017-06-16 11:42:23 -07:00
Boris Zbarsky
0abd585823
Bug 1373798 part 3. Rewrite our existing checks for the state of the "dir" attr on top of the new event state flags. r=mystor
...
MozReview-Commit-ID: LpCYABK5ZRN
--HG--
extra : rebase_source : 2771f8fb377b051b8dc8d93d08a2360817331f21
2017-06-19 14:42:01 -04:00
Boris Zbarsky
54df8acf71
Bug 1373798 part 2. Introduce event state flags that track the state of an element's "dir" attribute. r=mystor
...
MozReview-Commit-ID: EDCV2fUWGmX
--HG--
extra : rebase_source : b2e588d6aab951eeb46b5b1e9321c82c83e0afa4
2017-06-19 14:41:58 -04:00
Markus Stange
f122f663be
Bug 1373761 - Add a PROFILER_LABEL to nsMessageManagerScriptExecutor::LoadScriptInternal. r=billm
...
MozReview-Commit-ID: A1mU4RdjYw7
--HG--
extra : rebase_source : aeb73de8d30eca1978375f7f362a20afcc536923
2017-06-16 16:34:12 -04:00
Cameron McCormack
fdf5336fc8
Bug 1364361 - Part 3: Remove now-unnecessary clearing of ServoElementData from anonymous content destroyer callback. r=bz
...
MozReview-Commit-ID: 4nCQYU9lzKD
--HG--
extra : rebase_source : 0fa4962efe97f03f311c18692acf99d3913ea347
2017-06-16 17:22:34 +08:00
Cameron McCormack
3f6d354226
Bug 1364361 - Part 2: Make AllChildIterator find NAC created by all of an element's anon boxes. r=bz,janx
...
MozReview-Commit-ID: IfTLBhhG1Ya
--HG--
extra : rebase_source : aa5c7136f3425def8efa221c7f3e63240ac6ad8e
2017-06-16 17:22:34 +08:00
Sebastian Hengst
c21843350e
Backed out changeset e9f7c901e132 (bug 1364361)
2017-06-16 11:18:27 +02:00
Sebastian Hengst
3ed689e8af
Backed out changeset 65c77754d49c (bug 1364361)
2017-06-16 11:18:23 +02:00
Cameron McCormack
671a338aa9
Bug 1364361 - Part 3: Remove now-unnecessary clearing of ServoElementData from anonymous content destroyer callback. r=bz
...
MozReview-Commit-ID: 4nCQYU9lzKD
--HG--
extra : rebase_source : e2d33d980af1516daebbdc78022f29480ac426ad
2017-06-16 15:37:08 +08:00
Cameron McCormack
68b572fafa
Bug 1364361 - Part 2: Make AllChildIterator find NAC created by all of an element's anon boxes. r=bz,janx
...
MozReview-Commit-ID: IfTLBhhG1Ya
--HG--
extra : rebase_source : d9b7a4c6e0a7893dc1cd7b3337c32a4fd3bd0bff
2017-06-16 15:37:06 +08:00
Olli Pettay
0b41b8c34d
Bug 1373067
- Ensure CC isn't started too often, r=mccr8
2017-06-15 19:44:32 +03:00
Joanmarie Diggs
88ed2a9207
Bug 1358417 - Use ATK_ROLE_DESCRIPTION_TERM for "term" role and "dt" element. r=surkov
2017-06-16 14:02:55 -04:00
Olli Pettay
21bf92b7d1
bug 1373583, initialize sActiveIntersliceGCBudget by default to non-zero value, r=jonco
2017-06-16 19:11:34 +03:00
Bevis Tseng
da26e6fa39
Bug 1352401 - Part 1: Define IndexedDB Counters in TabGroup and nsGlobalWindow. r=smaug
...
MozReview-Commit-ID: 4UCPvNv1paD
--HG--
extra : rebase_source : 234c1b7db74c24923f1fe04c92fb2ee50dd90941
2017-04-18 18:21:34 +08:00
Carsten "Tomcat" Book
ea1b86680c
Backed out changeset 9846de3bd954 (bug 1372405
)
...
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey
4592152411
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Bevis Tseng
d1637b9c5a
Bug 1372453 - Part 2: Name the caller of ProxyReleaseEvent. r=billm
...
MozReview-Commit-ID: LYhSWnZkq0i
2017-06-14 09:27:17 +08:00
Emilio Cobos Álvarez
cbba1b6268
Bug 1371130: Move AllChildrenIterator::AppendNativeAnonymousChildren to nsContentUtils. r=heycam
...
MozReview-Commit-ID: E5kfdxEWTuf
2017-06-20 14:24:34 +02:00
Henry Chang
a221ac674f
Bug 1355746 - Part 2. Polish IdleTaskRunner and reuse it for background parsing. r=smaug
...
This patch is mainly to make IdleTaskRunner reusable by nsHtml5TreeOpExecutor.
The only necessary work to that purpose is to remove the dependency of
sShuttingDown, which was a static variable in nsJSEnvironment.cpp.
The idea is to have a "ShouldCancel" as a callback for the consumer to
return sShuttingDown.
In addition to sShuttingDown, we use std::function<bool()> as the runner
main callback type.
MozReview-Commit-ID: FT2X1unSvPS
--HG--
extra : rebase_source : cfd99aba19f014327875683f5ea85d183c8af674
extra : intermediate-source : 99af874c7b1d278057194894d406474b8af07349
extra : source : 792359c898f68241e1373820ea8fd3ba18b09994
2017-06-15 15:51:29 +08:00
Henry Chang
e13aeee5fd
Bug 1355746 - Part 1. Rename CollectRunner to IdleTaskRunner and move to xpcom/threads/IdleTaskRunner.h/cpp r=smaug
...
Nothing is changed in this patch except for renaming and code move around.
The strategy is to have the final file setup in this patch without any
detail change. The actual code change will be in the next patch so that
we can focus on reviewing the diff in the next patch regarding IdleTaskRunner.
MozReview-Commit-ID: 4Bul9mZ7z1n
--HG--
extra : rebase_source : 21d7d601c70304d69100d96cecfdb3e0322cb777
extra : intermediate-source : 366862231c26e085fe749012a09418aa31936224
extra : source : 7b4e77911d1471c33fda0a43b50ed17c5274e795
2017-06-15 14:47:56 +08:00
Carsten "Tomcat" Book
bf5e392d4d
Merge mozilla-central to autoland
2017-06-20 11:32:41 +02:00
cku
e3fbcec1af
Bug 265894 - Part 9. Selectors should not cross use-element shadow tree boundary. r=heycam
...
MozReview-Commit-ID: 9xrZ5938FRV
--HG--
extra : rebase_source : 4bf4fc35091db868a2908ad5a8c4589e82fd29f7
2017-06-14 23:06:30 +08:00
cku
67b6f80c35
Bug 265894 - Part 1. Implement NS_IMPL_ELEMENT_CLONE_WITH_INIT_AND_PARSER. r=heycam
...
Implement this new macro to reuse clone code in SVGSymbolElement in the
following patch.
MozReview-Commit-ID: 4vobWVrcbn2
--HG--
extra : rebase_source : 11e7dd9fd11199689ed5dc2a532c6517cf2e21fe
2017-06-14 19:57:40 +08:00
Tim Huang
b6286c46af
Bug 1333651 - Part 2: Spoofing Navigator object when 'privacy.resistFingerprinting' is true. r=arthuredelstein,Ehsan
...
This patch makes navigator object to return spoofed value for fields have fingerprintable
concerns. This changes the worker navigator as well.
MozReview-Commit-ID: E2SLNZRfuVP
--HG--
extra : rebase_source : 960bafbe41382eba891ad807c37a822ba6a758c8
2017-06-01 14:54:59 +08:00
Peter Van der Beken
9b9495bf79
Bug 1252211 - Remove DOMCI for TreeSelection, XULCommandDispatcher and XULControllers. r=bz.
...
--HG--
extra : rebase_source : 5a24af4928dbd7754850c6e3ceff6646bfe58c93
2017-05-18 09:07:25 +02:00
Michael Layzell
5d8aa01e08
Bug 1367458 - Manage TabGroup::IsBackground passively to avoid Runnable overhead, r=ehsan
...
MozReview-Commit-ID: 9HVvV1omF8G
2017-06-13 12:49:30 -04:00
Dominic Farolino
6590a708e6
Bug 1368097 - Update standards link. r=smaug
...
--HG--
extra : rebase_source : d96b3043a1f55d8a61042046e0fe1fd47df8c4b5
2017-05-26 14:02:00 -04:00
Henri Sivonen
432653453a
Bug 1261841 part 2 - Use encoding_rs instead of uconv. r=emk,mystor.
...
MozReview-Commit-ID: 15Y5GTX98bv
2017-06-13 13:23:23 +03:00
Carsten "Tomcat" Book
4a5a3d9f30
Backed out changeset 2c51cdd42834 (bug 1252211) for bustage
2017-06-13 12:20:33 +02:00
Carsten "Tomcat" Book
3ef39f1665
Backed out changeset 82c5f20d6ee2 (bug 1252211)
2017-06-13 12:20:16 +02:00
Carsten "Tomcat" Book
dc97c12485
Backed out changeset 629ace67da3b (bug 1252211)
2017-06-13 12:20:14 +02:00
Carsten "Tomcat" Book
bd7620cf36
Merge mozilla-central to mozilla-inbound
2017-06-13 12:11:42 +02:00
Carsten "Tomcat" Book
d67ef71097
merge mozilla-inbound to mozilla-central a=merge
2017-06-13 12:09:48 +02:00
Bill McCloskey
515899bc76
Bug 1371125 - Stop saving JSContext in nsSameProcessAsyncMessageBase (r=mccr8)
...
MozReview-Commit-ID: 23kFRobyO2W
2017-06-12 20:21:43 -07:00
Bill McCloskey
ab678597e4
Bug 1371116 - Remove nsJSEnvironment::sContext (r=mccr8)
...
MozReview-Commit-ID: ETtzht971fI
2017-06-12 20:21:43 -07:00
Bill McCloskey
aefa2aa5da
Bug 1365097 - Convert NS_GetCurrentThread uses in dom (except for dom/media) (r=smaug)
...
For the Quatum DOM project, it's better to work in terms of event targets than
threads. This patch converts DOM code to operate on event targets rather than
threads, when possible.
MozReview-Commit-ID: 5FgvpKadUA2
2017-06-12 20:20:08 -07:00
Bill McCloskey
5ddda3bb77
Bug 1361164 - Add infallible IsOnCurrentThread to nsIEventTarget (r=froydnj)
...
MozReview-Commit-ID: 12bk9hQ7Wnv
2017-06-12 20:20:08 -07:00
Boris Zbarsky
d7ec8ed805
Bug 1372371. Fix enumerability handling in the window resolve hook. r=qdot
2017-06-12 22:17:03 -04:00
Wes Kocher
f8412cddff
Merge inbound to central, a=merge CLOSED TREE
...
MozReview-Commit-ID: 4j8ngmg8FAD
2017-06-12 17:02:56 -07:00
Ben Kelly
bd95903746
Bug 1197401 Remove the disabled HTML imports implementation. r=wchen
2017-06-12 07:36:02 -07:00
Andrea Marchesini
7dc6f0aafc
Bug 1369913 - Better check of the buffer size in WebSocket, r=smaug
2017-06-12 10:39:51 +02:00
Masatoshi Kimura
cab6038243
Bug 1371010 - Stop percent-encoding href attributes when serializing documents. r=hsivonen
...
MozReview-Commit-ID: 6nBFtzk0K4T
--HG--
extra : rebase_source : 9a03a1bf79791f45b2c4f0084a0c16f3c2a46c4e
2017-06-09 11:26:52 +09:00
Peter Van der Beken
d34f37d164
Bug 1252211 - Convert TreeContentView to WebIDL. r=bz.
...
--HG--
extra : rebase_source : 246c1dda3db15ed0332af895485853e6e5d1ffa4
extra : intermediate-source : 0312d6ff0792f8d9cb20f2e06cbae59d5bbf690a
extra : source : 7b808c16e93cbd395a9f57bda4a9206e11a6df69
2017-06-08 21:04:02 +02:00
Wes Kocher
101940382d
Merge m-c to autoland, a=merge CLOSED TREE
...
MozReview-Commit-ID: K0rvhhOLins
2017-06-12 17:13:12 -07:00
Kirk Steuber
0312c4f54a
Bug 1370705 - Move attribute change effects from HTMLImageElement::BeforeMaybeChangeAttr to HTMLImageElement::AfterMaybeChangeAttr r=bz
...
It logically makes more sense for these effects to happen after the attribute has actually been changed and moving them allows us to get rid of the member variable HTMLImageElement::mForceReload.
MozReview-Commit-ID: IJBF3AHVb0U
--HG--
extra : rebase_source : fe3ae2a0cc55ded9702fb7654261ffee83a52057
2017-06-09 09:46:54 -07:00
Kris Maglione
38e062c7fb
Bug 1370752: Part 1 - Enter the correct target compartment when creating structured clone holder. r=aswan
...
MozReview-Commit-ID: AoDsocd3vPu
--HG--
extra : rebase_source : 6399ef08b2ba7bc4f8c2c0f7e7a26022a20e6e5f
extra : histedit_source : 6ff2d875ead72f0237edad8e96465ebf99333c58
2017-06-09 18:15:50 -07:00
Peter Van der Beken
7c1c7552a6
Bug 1252211 - Convert XUL template builders to WebIDL. r=bz.
...
--HG--
rename : layout/xul/tree/nsITreeView.idl => dom/webidl/TreeView.webidl
rename : dom/xul/templates/nsIXULTemplateBuilder.idl => dom/webidl/XULTemplateBuilder.webidl
extra : rebase_source : 6788542d65fe446e851eebd4804d7dba428c8c84
extra : source : 599f27e86cb7ba543b4014c91be89c67225064ec
2017-05-24 11:51:10 +02:00
Eric Rahm
a758e6ab82
Bug 1370070 - Avoid unnecessary string creation. r=smaug
...
MozReview-Commit-ID: LLQQrCpK630
2017-06-09 15:56:35 -07:00
Sebastian Hengst
0457405200
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: C5HD11ptDT0
2017-06-11 10:35:34 +02:00
Cameron McCormack
9c5bdf701f
Bug 1323647 - Re-enable crashtest. r=me
...
MozReview-Commit-ID: GlQdxJJGbCe
2017-06-11 12:27:54 +08:00
Olli Pettay
3d7f2966ec
Bug 1371224 - Add markers for forgetSkippable and CC slices, r=mccr8,mstange
...
--HG--
extra : rebase_source : 34fd3553e7eeba6e72291d145451c8dd786c6834
2017-06-10 03:16:25 +03:00
Olli Pettay
5591c27af9
Bug 1367905 - Try to run GC/CC slices, including forgetSkippable, during idle time, tweaks to keep reftest memory usage lower, r=mccr8
...
--HG--
extra : rebase_source : 850e4f25ef1ac18b768dc50dc4fa9b77f0743080
2017-06-10 02:41:06 +03:00
Olli Pettay
ce6010c7d6
Bug 1367905 - Try to run GC/CC slices, including forgetSkippable, during idle time, r=mccr8
...
--HG--
extra : rebase_source : 2ee14a0cc890b91f405a5b4741030dbad6989018
2017-06-10 02:38:50 +03:00
Wes Kocher
7462f47787
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: LZOwJMXpznP
2017-06-09 15:58:08 -07:00
Wes Kocher
b66d50d0ca
Merge autoland to central, a=merge
...
MozReview-Commit-ID: 1k7iJedKGDR
2017-06-09 15:48:12 -07:00
Ehsan Akhgari
60fa8934e7
Bug 1357656 - Part 1: Expose an nsIDOMWindowUtils method for retrieving the direction of a piece of text based on the first-strong character algorithm; r=mystor
2017-06-09 17:26:14 -04:00
Nicolas B. Pierron
45f5fab197
Bug 1370345 - Create JS bytecode mime type based on the platform BuildID instead of MOZ_BUILDID macro. r=mrbkap
2017-06-09 13:52:52 +00:00
Carsten "Tomcat" Book
d5a13ba05e
merge mozilla-inbound to mozilla-central a=merge
2017-06-09 12:58:49 +02:00
Wes Kocher
1be06aea28
Merge m-c to autoland, a=merge
...
UPGRADE_NSS_RELEASE
MozReview-Commit-ID: ItWcUAUYyaj
--HG--
extra : amend_source : fc43f23f0e12d5f88d72be9526a953d8015e6975
2017-06-08 18:44:32 -07:00
Wes Kocher
39dd8b763b
Merge inbound to central, a=merge
...
UPGRADE_NSS_RELEASE
MozReview-Commit-ID: 4of9LS9sA2I
--HG--
extra : amend_source : c399503fa642c04d256ee0ce53b099601259f90a
2017-06-08 18:10:10 -07:00
Wes Kocher
43acd1b6e6
Backed out 2 changesets (bug 1367905) for a spike in Windows reftest failures a=backout
...
Backed out changeset c5aaa3f7b79e (bug 1367905)
Backed out changeset 1c66da2b1e88 (bug 1367905)
MozReview-Commit-ID: IX632WoWHrO
2017-06-08 16:09:28 -07:00
Ehsan Akhgari
3615b687a6
Bug 1361461 - Dispatch the compartment-nuking part of WindowDestroyedEvent to the idle queue; r=smaug
2017-06-08 09:49:49 -04:00
Carsten "Tomcat" Book
247a47fac9
Merge mozilla-central to mozilla-inbound
2017-06-08 15:16:36 +02:00
Ben Kelly
89441f5ad6
Bug 1370537 P2 Remove TimeoutManager::RunTimeout()'s last expired timeout reference. r=ehsan
2017-06-08 05:51:59 -07:00
Ben Kelly
f323cc363c
Bug 1370537 P1 Stop iterating in TimeoutManager::RunTimeout() when we see an invalid firing ID. r=ehsan
2017-06-08 05:51:58 -07:00
Carsten "Tomcat" Book
b9d94b34d4
merge mozilla-inbound to mozilla-central a=merge
2017-06-08 14:43:56 +02:00
Carsten "Tomcat" Book
383edc0429
Backed out changeset 575e351a12af (bug 1361461) for causing frequent reftest assertion failures like Assertion failure: false (Ran out of memory while building cycle collector graph), at z:/build/build/src/xpcom/base/nsCycleCollector.cpp:929
...
--HG--
extra : rebase_source : d4b0d05b42656579e35efde2d676c2f8f0115299
2017-06-08 11:27:43 +02:00
Mats Palmgren
1d809923d2
Bug 1370654 - Use mPendingLoads.GetOrInsert() to avoid a second hashtable lookup for Put(). Remove a redundant Get() before Remove(). r=froydnj
...
MozReview-Commit-ID: 36rxXpEwKcB
2017-06-08 12:48:32 +02:00
Tobias Schneider
04fcc5ed06
Bug 1370968 - Test for crash in nsLayoutUtils::FindNearestCommonAncestorFrame. r=mstange
...
--HG--
extra : rebase_source : e16a303a7a67104a49cf4e8ad9023b7a7f8196a3
2017-06-07 16:02:25 -07:00
Tobias Schneider
b002e63faf
Bug 1370968 - Guard against possible NULL values when IntersecionObserver API is used in XUL pages. r=mstange
...
--HG--
extra : rebase_source : e4e7adb0113b39cda607bf9f863e75165ed402c1
2017-06-07 15:16:59 -07:00
Ehsan Akhgari
8e38408bd7
Bug 1361461 - Dispatch the compartment-nuking part of WindowDestroyedEvent to the idle queue; r=smaug
2017-06-07 21:49:03 -04:00
Cameron McCormack
d73b4d31f2
Bug 1365162 - Part 2: Factor out lang="" namespace checks. r=emilio
...
MozReview-Commit-ID: CBwV3xB5sz9
--HG--
extra : rebase_source : 4606c31bdcb3ff3e4d108b3c9f58d0965b923072
2017-06-07 11:10:07 +08:00
Christoph Kerschbaumer
632fd14dfa
Bug 1024557 - Ignore x-frame-options if CSP with frame-ancestors exists. r=smaug
2017-06-07 21:17:49 +02:00
Mats Palmgren
4ab8b6f8bc
Bug 1370700
part 2 - Use mAttributeCache.GetOrInsert() to avoid a second hashtable lookup for Put(). r=froydnj
...
MozReview-Commit-ID: BE6vztn6ljl
2017-06-07 20:03:19 +02:00
Mats Palmgren
6cdee8c35e
Bug 1370700
part 1 - Use mAttributeCache.LookupRemoveIf() to avoid a second hashtable lookup for Remove(). r=froydnj
...
MozReview-Commit-ID: CrIb6DcE1D7
2017-06-07 20:03:19 +02:00
Ehsan Akhgari
3cc0bd4b17
Backout bug 1361461 due to potentially introducing some intermittent reftest failures
2017-06-07 13:01:24 -04:00
Tobias Schneider
4dcf7f2e6f
Bug 1369363 - Test for crash in nsLayoutUtils::TransformFrameRectToAncestor.
...
--HG--
extra : rebase_source : c7e3cb5e8733ea1a53c77838bed38953580de817
2017-06-06 10:44:42 -07:00
Michael Layzell
e9a9541ee7
Bug 1368046 - Part 2: Propagate OriginAttributes across processes for RecvCreateWindowInDifferentProcess, r=smaug
...
MozReview-Commit-ID: 8ok4DI9zgfR
2017-06-07 12:54:57 -04:00
Michael Layzell
ac7ba92fd5
Bug 1368046 - Part 1: Propagate window.name across processes for RecvCreateWindowInDifferentProcess, r=smaug
...
MozReview-Commit-ID: 6xmLN9pbCKd
2017-06-07 12:54:53 -04:00
Ehsan Akhgari
db983a3ae9
Bug 1361461 - Dispatch the compartment-nuking part of WindowDestroyedEvent to the idle queue; r=smaug
2017-06-07 10:57:09 -04:00
Carsten "Tomcat" Book
8fb20a5801
Backed out changeset ff33e6c6f6a5 (bug 1367905) for memory leaks
2017-06-07 15:13:37 +02:00
David Keeler
838ea1425f
bug 1332681 - part 4/4 - convert authentication.getAssertion to credentials.get r=jcj,qdot
...
MozReview-Commit-ID: 13EqlQVQApx
--HG--
extra : rebase_source : 5790d61619e4d4a0d4039b9379bcf06169bd762f
2017-05-23 14:55:10 -07:00
David Keeler
abac00aea3
bug 1332681 - part 3/4 - convert authentication.makeCredential to credentials.create r=jcj,qdot
...
MozReview-Commit-ID: 1xfsQqGCEcl
--HG--
rename : dom/webauthn/WebAuthentication.cpp => dom/credentialmanagement/CredentialsContainer.cpp
rename : dom/webauthn/WebAuthentication.h => dom/credentialmanagement/CredentialsContainer.h
extra : rebase_source : d92546a7f6a3780c6ec8790dfabb23a9ea29efbe
2017-05-22 17:09:49 -07:00
Kirk Steuber
99a80af5db
Bug 1365092 - Move side effects of SetAttr, UnsetAttr, and ParseAttribute functions to BeforeSetAttr and AfterSetAttr r=bz
...
This is necessary to facilitate the transition to cloning attributes instead of reparsing them.
MozReview-Commit-ID: Gyd1tD6ldly
--HG--
extra : rebase_source : 777cfed750c95c448f953a6ec98026481997e227
2017-06-07 10:28:20 -07:00
Kirk Steuber
2feb07c8c6
Bug 1365092 - Moves side effects of HTMLImageElement's SetAttr function to the corresponding BeforeSetAttr and AfterSetAttr functions r=bz
...
This is necessary to facilitate the transition to cloning attributes instead of reparsing them.
HTMLImageElement's side effects proved to be a bit trickier than those of many other classes because HTMLImageElement::SetAttr intentionally forces an image reload, even if the attribute value has not been changed. Element::SetAttr, on the other hand, usually ignores attribute changes that do not change the attribute value, exiting before BeforeSetAttr is even called. In order to preserve this behavior, another virtual function |OnAttrSetButNotChanged| was added to the Element class. This function will be called in the case that Element::SetAttr exits early, allowing a forced reload to take place at that time.
MozReview-Commit-ID: 4CrH30bo5GT
--HG--
extra : rebase_source : 94245dde2710abd439671d05e99f145caca3e189
2017-06-01 15:38:45 -07:00
Kirk Steuber
a02a78b5c7
Bug 1365092 - Moves side effects of nsGenericHTMLElement and Element's SetAttr, UnsetAttr, and ParseAttribute functions to the corresponding BeforeSetAttr and AfterSetAttr functions r=bz
...
This is necessary to facilitate the transition to cloning attributes instead of reparsing them.
MozReview-Commit-ID: HzB3f1sr9y9
--HG--
extra : rebase_source : 8c343c60b5dca18fb04a4cb548907a2e4b9df1d2
2017-05-31 11:01:47 -07:00
Olli Pettay
03c8a070c4
Bug 1367905 - Try to run GC/CC slices, including forgetSkippable, during idle time, r=mccr8
...
--HG--
extra : rebase_source : b7248c5b45fe43eb733d73965a49c1cd69a1c72d
2017-06-06 20:41:34 +03:00
Ben Kelly
b0069d1478
Bug 1371020 P3 Cleanup some IsFrozen()/IsSuspended() checking in TimeoutManager. r=ehsan
2017-06-08 19:13:37 -07:00
Ben Kelly
f120eee48f
Bug 1371020 P2 Avoid scheduling TimeoutExecutor if the window becomes suspended in RunTimeout. r=ehsan
2017-06-08 19:13:37 -07:00
Ben Kelly
cef34aad9d
Bug 1371020 P1 Avoid rescheduling the TimeoutExecutor in ClearTimeout() in some cases. r=ehsan
2017-06-08 19:13:36 -07:00
Boris Zbarsky
237aa3d58c
Bug 1370072. Don't hold on to a frame pointer across a frame flush. r=ehsan
2017-06-06 21:21:45 -04:00
Boris Zbarsky
febf0f30d6
Bug 1364816
part 5. Make getting window names a bit faster by avoiding various intermediate strings. r=qdot,jandem
2017-06-06 21:21:45 -04:00
Boris Zbarsky
60d80c3c4e
Bug 1364816
part 3. Switch NeedResolve bindings to using a newResolve hook instead of a resolve hook. r=qdot,jandem
2017-06-06 21:21:44 -04:00
Boris Zbarsky
2a310b9f3b
Bug 1364816
part 2. Add a way to ask the WebIDLGlobalNameHash for only the names that have not yet been resolved on the given window. r=qdot
2017-06-06 21:21:44 -04:00
Wes Kocher
bb1d061819
Merge inbound to central, a=merge CLOSED TREE
...
UPGRADE_NSS_RELEASE UPGRADE_NSPR_RELEASE
MozReview-Commit-ID: 2CXltQtu4Y1
--HG--
extra : amend_source : 16333c0fa5342dfbbb2a4ded71f94119a022e27b
2017-06-06 17:15:21 -07:00
Brad Werth
2413824883
Bug 1369903 Part 1: Remove over-specified stylesheet calls in nsDocument. r=emilio
...
MozReview-Commit-ID: 6YHC0vvvrtn
--HG--
extra : rebase_source : 3bdd45f055fc3d9f35080984cd2c5ccbab77b1a6
2017-06-05 08:49:21 -07:00
Nicolas B. Pierron
558a57a171
Bug 1368992 - JS bytecode cache: Do not attempt to encode bytecode if the compilation failed. r=mrbkap
2017-06-06 12:04:29 +00:00
Nicholas Nethercote
ede22c7534
Bug 1369612 - Remove ProfilerStackFrameDynamicRAII and profiler_call_{enter,exit}. r=mstange.
...
ProfilerStackFrameRAII and ProfilerStackFrameDynamicRAII are very similar; the
latter lets a dynamic string be specified as well (and lacks the
MOZ_GUARD_OBJECT stuff, for no good reason).
This patch does the following.
- Removes ProfilerStackFrameDynamicRAII, and adds a dynamic string to
ProfilerStackFrameRAII. It also reorders the constructor's arguments to match
the field ordering of ProfileEntry. There aren't many usage sites so these
changes don't affect many places.
- With that done, there is only a single callsite for each of
profiler_call_enter() and profiler_call_exit(), so the patch also inlines and
removes them.
2017-06-02 15:38:20 +10:00
Ben Kelly
cf2f97c065
Bug 1370025 P5 Remove the old TimeoutManager insertion point logic. r=ehsan
2017-06-05 12:42:33 -07:00
Ben Kelly
c2b540895d
Bug 1370025 P4 Use FiringId validity in TimeoutManager::Timeouts::Insert() and ::ResetTimersForThrottleReduction(). r=ehsan
2017-06-05 12:42:33 -07:00
Ben Kelly
1cacde3284
Bug 1370025 P3 Give the Timeouts structure a reference back to its owning TimeoutManager. r=ehsan
2017-06-05 12:42:33 -07:00
Ben Kelly
c5ee173aaa
Bug 1370025 P2 Add TimeoutManager::IsValidFiringId() helper routine. r=ehsan
2017-06-05 12:42:33 -07:00
Ben Kelly
dd9bba778b
Bug 1370025 P1 Better optimize the single mFiringIdStack case in IsInvalidFiringId(). r=ehsan
2017-06-05 12:42:33 -07:00
Hector Zhao
b8d53c802c
Bug 1368464 - Don't attempt to copy multipart image as file promise. r=tnikkel
...
MozReview-Commit-ID: 1pwwZwBNb23
--HG--
extra : rebase_source : e99a49144b7f2c90941efd48eac8d9ff756fb8b6
2017-06-05 16:06:15 +08:00
Nicolas B. Pierron
6534093b4d
Bug 1368675 - Add multiple heuristics to trigger the JS bytecode cache encoding. r=mrbkap
2017-06-05 12:06:20 +00:00
Kris Maglione
fb74d7df50
Bug 1356546: Follow-up: Fix rooting hazard warning.
...
MozReview-Commit-ID: JDDjiEbbErK
--HG--
extra : rebase_source : 48d6fe05597da32517035e6a524f3a143581e4f5
2017-06-05 00:13:15 -07:00
Kris Maglione
16c90bb383
Bug 1356546: Follow-up: Fix debug build failure.
...
MozReview-Commit-ID: 69AbeESbWc4
--HG--
extra : rebase_source : 27ceecde3a825a76acd8eb178e25dfbe457b73c9
2017-06-04 22:22:26 -07:00
Kris Maglione
761a458cda
Bug 1356546: Part 1 - Add a StructuredCloneHolder JS helper to hold opaque structured clone blobs. r=billm
...
There are several places in the WebExtensions framework where we currently
need to repeatedly serialize and deserialize structured clone data as it
passes through message managers, which can lead to significant performance
issues.
This helper class lets us serialize a value directly from the source extension
context into an opaque blob, and then directly deserialize it into the target
context on the other end, with no X-ray overhead or clones into privileged
scopes in-between.
MozReview-Commit-ID: 4QzHi89onxc
--HG--
extra : rebase_source : 2ec196ca9ce9be90b7eadf136c938373ac7d3fdd
2017-05-20 15:09:24 -07:00
Tobias Schneider
f47b467c52
Bug 1359318 - (intersection-observer) Map intersectionRect to the coordinate space of the target document. r=mstange
2017-06-02 14:11:31 -07:00
Kartikaya Gupta
10f514bb72
Bug 1369840 - Support content-side APZ test data in WebRenderLayerManager. r=botond
...
This mostly just copies the functional parts of the APZTestData code from
ClientLayerManager into WebRenderLayerManager, and propagates the paint sequence
number over to the compositor using the existing WebRenderScrollData machinery.
MozReview-Commit-ID: LHupFpqtWTX
2017-06-04 22:29:35 -04:00
Kartikaya Gupta
8b69d8d217
Bug 1369840 - Support getting the compositor-side APZ test data over PWebRenderBridge. r=botond
...
This is fairly straightforward plumbing. The webrender equivalent of PLayerTransaction
is PWebRenderBridge and we can use that to get the compositor-side APZTestData.
MozReview-Commit-ID: Bn8WjKW5GoI
2017-06-04 22:29:35 -04:00
Kris Maglione
02c1b0890c
Bug 1368102: Part 2 - Add WebExtensionContentScript bindings. r=billm,mixedpuppy
...
Bill, can you please review the binding code? Shane and zombie, can you please
review the content script matching?
MozReview-Commit-ID: IJB5s0a7r7S
--HG--
extra : rebase_source : 4026105b8c04e6b88c9be8cf76898fca26f1c3e0
2017-06-03 22:03:19 -07:00
Kris Maglione
414584f497
Bug 1322235: Part 5 - Add an ExtensionPolicyService singleton class to track active extension policies. r=billm,mixedpuppy
...
Bill, can you please review the binding changes? Shane, can you please review
the policy service?
This is the first step to making extension policy data directly available to
C++ code without any COM overhead. It tracks the set of currently active
extensions, and how they map to add-on IDs and URIs.
MozReview-Commit-ID: 9Z61AXFll3P
--HG--
extra : rebase_source : c38898905a63ab8d0a424bfda7c61ea6c645ff32
2017-05-23 19:15:10 -07:00
Kris Maglione
186924219b
Bug 1322235: Part 1 - Add native MatchPattern and MatchGlob bindings. r=billm,aswan
...
Bill, can you please review the binding code, and the general sanity of the
platform code. Andrew and zombie, can you please matching algorithms and
tests.
Change summary:
The existing JavaScript matching code works well overall, but it needs to be
called a lot, particularly from hot code paths. In most cases, the overhead of
the matching code on its own adds up enough to cause a problem. When we have
to call out to JavaScript via XPConnect to make a policy decision, it adds up
even more.
These classes solve both of these problems by a) being very fast, and b) being
accessible directly from C++. They are particularly optimized for the common
cases where only literal or prefix matches are required, and they take special
steps to avoid virtual calls wherever possible, and caching computed URL
values so that they can be reused across many match operations without
additional overhead.
MozReview-Commit-ID: BZzPZDQRnl
--HG--
rename : toolkit/modules/tests/xpcshell/test_MatchPattern.js => toolkit/components/extensions/test/xpcshell/test_MatchPattern.js
extra : rebase_source : c93c4c6c36460eb5ad0fc3aa86ad42a72e76bb6c
2017-05-24 14:57:29 -07:00
Sebastian Hengst
5e4755df68
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: IdRgoZ9hiXq
2017-06-03 20:15:27 +02:00
Joel Maher
b44356bc28
Bug 1368364 - backout bug 1242505 as it causes browser/modules/ intermittent failures. r=paolo
2017-06-03 10:34:14 +02:00
Florian Quèze
8429e47547
Bug 1369345 - Remove messageWakeupService, r=nalexander.
2017-06-02 22:54:46 +02:00
Sebastian Hengst
b523ccd931
Backed out changeset 4fe99b113fff (bug 1369840)
2017-06-03 10:11:25 +02:00
Sebastian Hengst
ee709cb070
Backed out changeset b7bcbc5c1b92 (bug 1369840)
2017-06-03 10:11:17 +02:00
Ryan VanderMeulen
187f1f3dfe
Merge inbound to m-c. a=merge
2017-06-01 16:43:30 -04:00
Oriol
ece0618ecc
Bug 1369246 - Check if window pointer is null before attempting to call a method. r=baku
2017-06-01 06:45:00 -04:00
Ehsan Akhgari
cd6fff7343
Bug 1369140
- Part 1: Revert to only flushing styles when checking whether an element is focusable; r=bzbarsky
...
Bug 612018 made us flush layout for caret painting which isn't triggered
from anything that can call this code any mode, therefore we can revert
the change from that bug.
2017-06-01 08:55:30 -04:00
Peter Van der Beken
3a9a9c99de
Bug 1363323 - Add TabGroup support to PContentBridge too. r=billm.
...
--HG--
extra : rebase_source : 8e2df03909c6ccf93d8cb81095c0826bce0e0616
extra : source : e2e64e85d768eb78a1873866bafab0cd863cd2c3
2017-05-02 11:57:51 +02:00
Olli Pettay
5361fd6640
Bug 1367905 - Try to run GC/CC slices, including forgetSkippable, during idle time, r=mccr8
2017-06-07 23:46:31 +03:00
Peter Van der Beken
9d549d2f23
Bug 1252211 - Remove DOMCI for TreeSelection, XULCommandDispatcher and XULControllers. r=bz.
...
--HG--
extra : rebase_source : db24985f7e8f6d4ca4df13015d565ec0063ba355
extra : source : f361697cb50b47dc4db94a6730b6604ab69217f5
2017-05-18 09:07:25 +02:00
Nicholas Nethercote
0be77baa96
Bug 1370329 (part 1) - Clean up the profiler's RAII classes. r=mstange.
...
This patch does the following renamings, which increase consistency.
- GeckoProfilerInitRAII -> AutoProfilerInit
- GeckoProfilerThread{Sleep,Wake}RAII -> AutoProfilerThread{Sleep,Wake}
- GeckoProfilerTracingRAII -> AutoProfilerTracing
- AutoProfilerRegister -> AutoProfilerRegisterThread
- ProfilerStackFrameRAII -> AutoProfilerLabel
- nsJSUtils::mProfilerRAII -> nsJSUtils::mAutoProfilerLabel
Plus a few other minor ones (e.g. local variables).
The patch also add MOZ_GUARD_OBJECT macros to all the profiler RAII classes
that lack them, and does some minor whitespace reformatting.
--HG--
extra : rebase_source : 47e298fdd6f6b4af70e3357ec0b7b0580c0d0f50
2017-06-07 12:33:19 +10:00
Ehsan Akhgari
7f656414b1
Bug 1370737 - Track seen preformatted elements in the document encoder to maintain stack balance correctly irrespective of element visibility; r=bzbarsky
2017-06-13 00:30:36 -04:00
Edgar Chen
47a9de7747
Bug 1236512 - Part 2: Add isFullyOccluded attribute to ChromeWindow; r=bz
...
Right now, only Mac (after 10.9) will possibly return true; other platforms always
return false.
MozReview-Commit-ID: 8evSf3qQY8i
2017-05-26 18:14:06 +08:00
Bill McCloskey
6b3e84ed5f
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Phil Ringnalda
4b3c78827c
Backed out changeset eeb0a65afa6d (bug 1363650) for wpt failures in intersection-observer/bounding-box.html and intersection-observer/unclipped-root.html
...
MozReview-Commit-ID: HycwX8lA9sw
2017-06-20 20:50:08 -07:00
Bevis Tseng
4b59084943
Backed out changeset 70d068cc946d (Bug 1374675)
2017-06-21 11:02:48 +08:00