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
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
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