John Dai
b6b41eca6c
Bug 1315885 - Part 4: Implement callback reaction for custom element reactions. r=wchen
...
--HG--
extra : rebase_source : 0ccd628ce1f0904bf2d412ade2710c6e1203641e
2017-07-18 20:30:00 -04:00
John Dai
c409d295b7
Bug 1315885 - Part 3: Transfer the ownership of ReactionQueue's entry due to re-enter CustomElementReactionsStack::InvokeReactions. r=wchen
...
--HG--
extra : rebase_source : 2dd237b25d8bbaea1f83eee8d1981d2d83d2b76a
2017-07-10 01:40:00 -04:00
John Dai
8b5bf419f7
Bug 1315885 - Part 2: Avoid rethrowing exception in CustomElementCallback::Call. r=wchen
...
--HG--
extra : rebase_source : 52643ad3f4ff83954d99bfa0382f362d4542be3d
2017-07-11 02:52:00 -04:00
Tobias Schneider
c143db5b5f
Bug 1381293 - Remove dom/base/test/test_intersectionobserver_no_root.html. r=mrbkap
...
--HG--
extra : rebase_source : 67a6c072fddeffeda5bf226abfccc9b1d7aabe71
2017-07-18 14:57:27 -07:00
Ryan VanderMeulen
a064d6dbfc
Merge m-c to inbound. a=merge
2017-07-18 13:00:03 -04:00
Ryan VanderMeulen
f142e0a216
Backed out 4 changesets (bug 1315885) for merge conflicts with bug 1377993.
...
Backed out changeset c6dcdfe7ac54 (bug 1315885)
Backed out changeset c8bc78492b81 (bug 1315885)
Backed out changeset 7ba49d85f30c (bug 1315885)
Backed out changeset d592ae3b61bf (bug 1315885)
2017-07-18 12:58:46 -04:00
Ryan VanderMeulen
366f48ad7e
Merge inbound to m-c. a=merge
2017-07-18 12:14:50 -04:00
Sebastian Hengst
6c82200d23
Backed out changeset 5c974dcdddd7 (bug 1363361) for running and failing browser_windowopen_reflows.js on Windows 8 x64. r=backout
2017-07-18 13:44:44 +02:00
Boris Zbarsky
bcbf54502c
Bug 1379762 part 3. Don't mess about with load blockers if our document is already in the COMPLETE readyState. r=smaug
2017-07-17 23:21:41 -04:00
Henry Chang
efe126200b
Bug 1381437 - Re-org testing promises to avoid racy tesing result. r=smaug, yoshi
...
MozReview-Commit-ID: BqOUcHxw7MW
--HG--
extra : amend_source : e8c9df103b029a1454f881b77bdd1492661cc105
2017-07-17 19:46:56 +08:00
Alphan Chen
126b75ecd5
Bug 1318988 - Implement allowPaymentRequest on iframe. r=baku
...
--HG--
extra : rebase_source : 976b3449ec72d01004323706414e3b26c653aaec
2017-07-18 10:16:28 +08:00
John Dai
214e4b9b24
Bug 1315885 - Part 4: Implement callback reaction for custom element reactions. r=wchen
...
MozReview-Commit-ID: L462de2JmzT
--HG--
extra : rebase_source : 6d8e17a2cdf6635fcf7708fd57912cac89526b1d
2017-07-11 17:46:16 +08:00
John Dai
d42ab7cdaa
Bug 1315885 - Part 3: Transfer the ownership of ReactionQueue's entry due to re-enter CustomElementReactionsStack::InvokeReactions. r=wchen
...
MozReview-Commit-ID: 9Ku4jnuV9o3
--HG--
extra : rebase_source : 2d20a838d2f9362df5c77c43808f3d11aec3c920
2017-07-10 16:33:16 +08:00
John Dai
8da9589387
Bug 1315885 - Part 2: Avoid rethrowing exception in CustomElementCallback::Call. r=wchen
...
MozReview-Commit-ID: J6cUv2HJqE
--HG--
extra : rebase_source : c3868491497114ef9717ec976289a7c1268e5c7e
2017-07-10 16:22:13 +08:00
Wes Kocher
74f8cf4b04
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: JZXw0y76rol
2017-07-17 17:38:19 -07:00
Olli Pettay
0738714332
Bug 1377993 - Make node slots less memory hungry in common cases. r=peterv
...
MozReview-Commit-ID: Lhr1UsCrRTs
2017-07-18 00:25:49 +02:00
Andrew Osmond
f732dc9f43
Bug 1380341 - Fallback on the document's channel to check private browsing status if the load group has no load context. r=baku
2017-07-17 09:38:10 -04:00
Mike Conley
284395ae25
Bug 1363361 - Add ability to dirty root frame from nsIDOMWindowUtils. r=dholbert
...
MozReview-Commit-ID: Jy6PICTkq4l
--HG--
extra : rebase_source : 00029dc3a85c23f2801ce9af3b43105c60b318aa
2017-06-28 21:38:53 -07:00
Emilio Cobos Álvarez
bac7c683b4
No bug: Fix some typos. r=comment-only
...
DONTBUILD
MozReview-Commit-ID: hy22pz4YCt
2017-07-16 17:35:54 +02:00
Andrew McCreight
bf7fff95f0
Bug 1379786, part 4 - Use GetIsSystemPrincipal() method instead of going through secman in CHECK_PRINCIPAL_AND_DATA. r=mrbkap
...
MozReview-Commit-ID: INBsjjxbXZz
--HG--
extra : rebase_source : fd6d491d01acc70be1bf51e25ec31bbcde81344a
2017-07-10 15:00:03 -07:00
Andrew McCreight
7d840ff35e
Bug 1379786, part 3 - Remove sSecurityManager from nsJSEnvironment.cpp. r=mrbkap
...
MozReview-Commit-ID: G04P7k1Dxki
--HG--
extra : rebase_source : c8f0617ca4d89c8300ed12d89e7f02dd55a26e24
2017-07-10 14:17:24 -07:00
Andrew McCreight
cf00cf911b
Bug 1379786, part 2 - Use nsContentUtils::GetSystemPrincipal in various places. r=mrbkap
...
MozReview-Commit-ID: KPXAqKeX4gI
--HG--
extra : rebase_source : 44fd734e7c5bbaba48bb25b882acc74cf0b81fb5
2017-07-10 14:24:54 -07:00
Andrew McCreight
5de8ffcbf5
Bug 1379786, part 1 - Remove dead code related to the security manager. r=mrbkap
...
Also, one unused include of nsIProgrammingLanguage, which is unrelated.
MozReview-Commit-ID: LJf2NSwmaYG
--HG--
extra : rebase_source : 63dfca9185535dbfa695cf2f383d81a14ce423c0
2017-07-07 15:59:29 -07:00
Ryan VanderMeulen
019bd042fc
Merge autoland to m-c. a=merge
2017-07-14 09:16:03 -04:00
Andrea Marchesini
50f9ea47a3
Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm
2017-07-14 08:49:22 +02:00
Xidorn Quan
0fdde10882
Bug 1379585 part 2 - Disable interrupt callback when doing pattern matching. r=baku
...
MozReview-Commit-ID: 86VY6ZCtpew
--HG--
extra : rebase_source : c3ee4e05030061283f9b6fede6d2b121d23d635e
2017-07-14 10:03:43 +10:00
Xidorn Quan
2fa56dab45
Bug 1379585 part 1 - Add an RAII class for auto disable interrupt callback. r=baku
...
MozReview-Commit-ID: IInIukI0yI7
--HG--
extra : rebase_source : 857e438902cb06a5514b5b0a1c4abf09edafcda1
2017-07-14 10:02:59 +10:00
Xidorn Quan
61344f3471
Bug 1355715 - Use empty atom rather than 'empty' atom for none namespace. r=bholley
...
MozReview-Commit-ID: Kqqs198wLUw
--HG--
extra : rebase_source : da6ba0587de2dc6b12769a2d80080e9b60526ebd
2017-07-14 15:31:15 +10:00
Henri Sivonen
217ac88f04
Bug 1266495 - Remove <isindex>. r=wchen
...
MozReview-Commit-ID: KM0sTMM1GaD
--HG--
extra : rebase_source : 013069be4191e2ad50b5af879b690a6760e8429a
2017-07-05 11:42:04 +03:00
Dão Gottwald
8f5c440b72
Backed out changeset 5a5d8de65b70 (bug 1379938) on CLOSED TREE
2017-07-13 23:16:12 +02:00
Carsten "Tomcat" Book
e3195ceb5a
Merge mozilla-central to inbound
2017-07-13 16:38:32 +02:00
Carsten "Tomcat" Book
260b5f956f
merge mozilla-inbound to mozilla-central a=merge
2017-07-13 16:35:22 +02:00
Junior Hsu
ab6f1793a2
Bug 1373198 - Part 8: disable rcwn for dom mochitest tests which require deterministic cache behavior, r=smaug
2017-07-11 20:11:00 +02:00
Catalin Badea
a330125123
Bug 1375050 - Fix crash in nsLabelsNodeList::MaybeResetRoot r=jdai
2017-07-13 13:58:04 +01:00
Dão Gottwald
0f2337c0c7
Bug 1379938 - Rename the -moz-windows-accent-color-applies media query and make -moz-win-accentcolor available without it. r=jimm
...
MozReview-Commit-ID: BkDrm6KtiP3
--HG--
extra : rebase_source : 1c0deb5b77e1ce83a8f157c100606c563d61577c
2017-07-13 11:08:27 +02:00
Junior Hsu
daf1b50996
Bug 1373198 - Part 3-1: disable rcwn for dom mochitest tests which require deterministic cache behavior, r=bz
2017-07-11 02:04:00 +02:00
Sebastian Hengst
65c3b9ff62
Backed out changeset b223c191f442 (bug 1355746) for frequently failing mochitests with: /tests/dom/base/test/test_data_uri.html logged result after SimpleTest.finish(): iframe should have NullPrincipal. r=backout
2017-07-12 19:20:11 +02:00
Sebastian Hengst
93749c3cde
Backed out changeset e0fd0ae58d0f (bug 1355746)
2017-07-12 19:19:22 +02:00
Henry Chang
602eed5546
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 : dc9bcf669a95dda5c40bccde2cbc836099536eb5
2017-07-12 09:23:15 +08:00
Henry Chang
f991045c00
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 : 22aeb5dca58501ec335ef8bc7b0efb6aea565bbf
2017-07-12 09:18:57 +08:00
Carsten "Tomcat" Book
0edfa97e38
merge mozilla-inbound to mozilla-central a=merge
2017-07-12 11:07:09 +02:00
Yoshi Huang
94d1d69dc1
Bug 1373513 - Part 1: data:image, data:css, and data:fonts should be same origin. r=smaug
...
For font-face
https://drafts.csswg.org/css-fonts-3/#font-fetching-requirements
/* data url's with no redirects are treated as same origin */
src: url("data:application/font-woff;base64,...");
For image
https://html.spec.whatwg.org/multipage/images.html#updating-the-image-data
Step 12
⌛ Fetch request. Let this instance of the fetching algorithm be
associated with image request.
This will go to Fetch spec then.
For <link rel="stylesheet" href="data:text/css" ...>
https://html.spec.whatwg.org/multipage/semantics.html#obtaining-a-resource-from-a-link-element
Step 10
Fetch request.
This will also go to Fetch spec then.
[Fetch] specification,
https://fetch.spec.whatwg.org/#main-fetch , step 12,
request’s current url’s scheme is "data"
1. Set request’s response tainting to "basic".
And from
https://html.spec.whatwg.org/multipage/urls-and-fetching.html#terminology-3
A response whose type is "basic", "cors", or "default" is
CORS-same-origin.
For subresource loading using data: URI, it should be treated as same
origin.
2017-07-12 11:00:13 +08:00
Boris Zbarsky
28db637afa
Bug 1379728 part 2. Add assertions to ensure we don't multiple-define events in our event name list. r=smaug
2017-07-11 17:49:25 -04:00
Eric Rahm
3862a0db5c
Bug 1376038 - Part 3: Combine ghost window reporter with window reporter. r=njn
...
This combines the GhostWindowsReporter with the nsWindowMemoryReporter. It has
the benefit of removing a reporter of a single value and also guarantees that
we use the latests ghost windows value that is calculated in
|nsWindowMemoryReporter::CollectReports| rather than a possibly cached value
from a previous run.
2017-07-11 13:58:23 -07:00
Eric Rahm
eff9ba861a
Bug 1376038 - Part 2: Cache base domains during ghost window calculation. r=mccr8
...
Avoid hitting the rather slow effective TLD service by caching results when
mapping URLs to their base domains. In testing the cache ranged from a 1:1 to
a 3:1 hit:miss ratio.
2017-07-11 13:58:21 -07:00
Eric Rahm
0dc3c70d24
Bug 1376038 - Part 1: Use a cached ghost window value for the distinguished amount. r=mccr8
...
We already periodically calculate the ghost window amount after cycle
collection, this just uses a cached value of that for the distinguished amount.
This avoids the overhead of a recalculating the value when reporting telemetry.
2017-07-11 13:58:20 -07:00
Carsten "Tomcat" Book
31311070d9
merge mozilla-inbound to mozilla-central a=merge
2017-07-11 12:51:59 +02:00
Carsten "Tomcat" Book
31c3b0bf6f
Backed out changeset 7b267e692c04 (bug 1379864) for assertion failure in stylo tests
2017-07-11 09:07:53 +02:00
Carsten "Tomcat" Book
33a98da603
Backed out changeset 57800baf24a3 (bug 1379864)
2017-07-11 09:06:27 +02:00
Christoph Kerschbaumer
250d4b1ff8
Bug 1377426 - Set CSP on freshly created nullprincipal when iframe is sandboxed. r=dveditz
2017-07-11 08:48:37 +02:00