Commit Graph

605801 Commits

Author SHA1 Message Date
Tiberius Oros
01120d0521 No bug - Fix issues from merge. CLOSED TREE
--HG--
extra : amend_source : 62c08c106fd594a9427e4f654c909764f7e8c545
2018-07-25 14:12:52 +03:00
Tiberius Oros
036999d0a9 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-25 13:43:03 +03:00
Liang-Heng Chen
5574f1d788 Bug 1478081 - avoid accessing null pointer; r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D2336

--HG--
extra : moz-landing-system : lando
2018-07-24 21:03:03 +00:00
Bogdan Tara
02908b5c58 Backed out 2 changesets (bug 1471894) for wpt failures on non-replaced-elements/flow-content-0/dialog.html CLOSED TREE
Backed out changeset bce3c6ca2e19 (bug 1471894)
Backed out changeset 6ab2fb716899 (bug 1471894)
2018-07-25 00:38:21 +03:00
Christian Holler
dbb1c632c3 Bug 1478143 - Adjust default malloc_context_size for ASan builds. r=froydnj
MozReview-Commit-ID: BbYWTtrsHLH

--HG--
extra : amend_source : 54d17e32b91e3768e30ee7db0ac0aa0845c6c0ad
2018-07-24 23:01:21 +02:00
Emilio Cobos Álvarez
e1af3b4e1c Bug 1478069: Remove ContentInfo::mChildren. r=bz
It's not needed anymore, since we tag the pseudo-elements at creation time for
styling.

Differential Revision: https://phabricator.services.mozilla.com/D2330

MozReview-Commit-ID: 7j4DVEHXYIC
2018-07-25 11:31:23 +02:00
Emilio Cobos Álvarez
a9932d2836 Bug 1478069: Use AddFrameConstructionItems for display: contents. r=TYLin
It's the same, and avoids a bit of duplication.

Differential Revision: https://phabricator.services.mozilla.com/D2329

MozReview-Commit-ID: LN5LjM4XFO4
2018-07-25 11:31:21 +02:00
Emilio Cobos Álvarez
a237bae1dd Bug 1478069: Remove useless ping-pong between flattened and light child. r=TYLin
We verify the flattened tree is correct in VerifyFlatTree (in RestyleManager),
plus the post-condition still holds of course.

Differential Revision: https://phabricator.services.mozilla.com/D2331

MozReview-Commit-ID: 7ayEC2gSvYS
2018-07-25 11:31:20 +02:00
Emilio Cobos Álvarez
26b508d03c Bug 1478069: Trivial frame constructor cleanup. r=TYLin
Using references helps to see when stuff can and cannot be null.

I removed useless aTag / aNamespaceId arguments which are useless now that XBL
can't override them (bug 1450617), so FindXULData is the only one that keeps
them alive.

Also, I took the liberty of renaming a few fooComputedStyle variables to just
fooStyle, and clarify naming in some pseudo-element-related functions to say
originating element (the spec term) and avoid confusing it with the generated
_moz_generated_content_before / _moz_generated_content_after element.

Note that this is a partial state, more stuff will come in the future.

Differential Revision: https://phabricator.services.mozilla.com/D2326

MozReview-Commit-ID: 39B30doREUH
2018-07-25 11:31:18 +02:00
James Graham
f06ddb0760 Bug 1477472 - Fixup some bogus wpt metadata misset from intermittents, a=testonly
MozReview-Commit-ID: Jm70FBWCdxV
2018-07-25 10:27:33 +01:00
Sebastian Hengst
dd690b5d79 Bug 1477472 - Set more wpt csp tests as passing. r=wpt-fix 2018-07-25 11:54:07 +03:00
Jan de Mooij
0ae9863373 Bug 1474541 part 2 - Assert we don't pass cross-compartment wrappers to AutoEntryScript. r=bz 2018-07-25 10:42:40 +02:00
Jan de Mooij
c13f61a442 Bug 1474541 part 1 - Unwrap the object passed to AutoEntryScript in nsFrameMessageManager::ReceiveMessage. r=bz 2018-07-25 10:42:27 +02:00
Jonathan Kew
98cb122caa Bug 1426827 - Treat Fitzpatrick skin-tone modifiers as cluster extenders when building textruns. r=m_kato 2018-07-25 09:38:10 +01:00
Jonathan Kew
c5cd6a1621 Bug 1477010 - Treat plane-14 tag characters as cluster extenders when building textruns, so that emoji flag sequences behave as single units. r=m_kato 2018-07-25 09:38:07 +01:00
Tooru Fujisawa
d4ded20b52 Bug 1476209 - Update BinAST README.md r=Yoric DONTBUILD because NPOTB 2018-07-25 17:36:57 +09:00
Tooru Fujisawa
cf4360562a Bug 1473202 - Part 10: Wrap method declaration. r=Yoric 2018-07-25 17:01:51 +09:00
Tooru Fujisawa
b7d7bea0ac Bug 1473202 - Part 9: Fix error message when inherit target is not found. r=Yoric 2018-07-25 17:01:51 +09:00
Tooru Fujisawa
0134d6f76d Bug 1473202 - Part 8: Add before/after for optional field, and replace for none case. r=Yoric 2018-07-25 17:01:51 +09:00
Tooru Fujisawa
86af1e8f61 Bug 1473202 - Part 7: Add extra parameter to methods. r=Yoric 2018-07-25 17:01:51 +09:00
Tooru Fujisawa
e2c5a6f39a Bug 1473202 - Part 6.4: Use get_method_call function when parsing sum. r=Yoric 2018-07-25 17:01:51 +09:00
Tooru Fujisawa
1e0288c298 Bug 1473202 - Part 6.3: Use get_method_call function when parsing interface. r=Yoric 2018-07-25 17:01:51 +09:00
Tooru Fujisawa
da080c33b8 Bug 1473202 - Part 6.2: Use get_method_call function when parsing list item. r=Yoric 2018-07-25 17:01:50 +09:00
Tooru Fujisawa
5ba9932443 Bug 1473202 - Part 6.1: Add get_method_call function and use it when parsing field. r=Yoric 2018-07-25 17:01:50 +09:00
Tooru Fujisawa
b4be307ee7 Bug 1473202 - Part 5: Make list append customizable. r=Yoric 2018-07-25 17:01:50 +09:00
Tooru Fujisawa
3eab1eee96 Bug 1473202 - Part 4: Make class name customizable. r=Yoric 2018-07-25 17:01:50 +09:00
Tooru Fujisawa
f15b1443b2 Bug 1473202 - Part 3: Make default value for the optional field customizable. r=Yoric 2018-07-25 17:01:50 +09:00
Tooru Fujisawa
5560771708 Bug 1473202 - Part 2: Make the result type customizable. r=Yoric 2018-07-25 17:01:50 +09:00
Tooru Fujisawa
15bedb9823 Bug 1473202 - Part 1: Skip overwriting BinAST auto-generated file if the content is same. r=Yoric 2018-07-25 17:01:49 +09:00
Tooru Fujisawa
56db2c367a Bug 1477621 - Part 4: Add source note field constants for line. r=jandem 2018-07-25 17:01:49 +09:00
Tooru Fujisawa
4409e98bd2 Bug 1477621 - Part 3: Add source note field constants for colspan. r=jandem 2018-07-25 17:01:49 +09:00
Tooru Fujisawa
4a76ab952b Bug 1477621 - Part 2: Add source note field constants for try. r=jandem 2018-07-25 17:01:49 +09:00
Tooru Fujisawa
53c7a51a17 Bug 1477621 - Part 1: Add source note field constants for switch. r=jandem 2018-07-25 17:01:48 +09:00
Tooru Fujisawa
8fe894f60c Bug 1477621 - Part 0: Remove unnecessary note from JSOP_DEFAULT. r=jandem 2018-07-25 17:01:48 +09:00
Sebastian Hengst
cf7d354f59 Bug 1477472 - Update expectations of Windows Wr svg tests. r=Wr-fix on a CLOSED TREE 2018-07-25 10:54:59 +03:00
Sebastian Hengst
32c35f86cc Bug 1477472 - Remove result expectations for content-security-policy/img-src/img-src-self-unique-origin.html. r=wpt-fix on a CLOSED TREE 2018-07-25 10:43:59 +03:00
Kartikaya Gupta
e16af06073 Bug 1468020 - Add crashtest. r=mstange
MozReview-Commit-ID: KeWy2KHPSjl

--HG--
extra : rebase_source : d077abc9c926feaa13808d624b15024729560e6a
2018-07-24 16:38:25 -04:00
Kartikaya Gupta
533c8b4d83 Bug 1468020 - Extract helper function to avoid duplicated code. r=mstange
MozReview-Commit-ID: JuirkAId7Km

--HG--
extra : rebase_source : c9d15e9fd4a823b321aff9c1048b659f87d03823
2018-07-24 16:38:25 -04:00
Kartikaya Gupta
ad4d295efb Bug 1468020 - Conform to static analysis bot suggestion. r=mstange
MozReview-Commit-ID: KeWy2KHPSjk

--HG--
extra : rebase_source : 87764ba4387e1a53d8d6fdb66c1fe03669dee943
2018-07-24 16:38:25 -04:00
Kartikaya Gupta
c219864291 Bug 1468020 - Don't layerize filter and mask items. r=mstange
This restricts the active-item-detection code to wrap lists and
perspective items because other wrapper items are not supported yet.

MozReview-Commit-ID: JuirkAId7Kk

--HG--
extra : rebase_source : 971de2c56d183090bb9a8701af62ada493e39b77
2018-07-24 16:37:38 -04:00
Brad Werth
0af3272a74 Bug 1471894 Part 2: Add a web-platform-test to check computed margin values on auto margin blocks. r=dholbert
MozReview-Commit-ID: KbSZzhoX5mu

--HG--
extra : rebase_source : a054942c6c3bf67824e9352baf8828a7fbeeac2f
2018-07-12 11:55:32 -07:00
Brad Werth
6a7460adae Bug 1471894 Part 1: Ensure that absolute positioned blocks with auto margins update their UsedMargin property. r=dholbert
MozReview-Commit-ID: EFIQVvazkTg

--HG--
extra : rebase_source : e1a9d2248a07a52ab124659f5fb7bd5e73159b83
2018-07-11 16:52:33 -07:00
Robert Bartlensky
48c813758b Bug 1476314: Fix errors reported by infer in toolkit/*. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D2266

--HG--
extra : moz-landing-system : lando
2018-07-23 23:38:46 +00:00
Chris Pearce
1087bd7454 Bug 1477881 - Ensure AutoplayPermissionRequest can't double report a response. r=alwu
We cancel the permission request in the AutoplayPermissionRequest destructor,
and if we get a genuine cancel from the doorhanger. The Request reports the
cancel to the AutoplayPermissionManager, but we reuse the same manager across
different requests. So if a second request for permission comes in, we create a
new AutoplayPermissionRequest and fire that off to the front end code, but the
first request could be destroyed after the second request is dispatched but
before the response for the second request has retuned. Thus and the cancel in
the first's destructor could be reported to the manager as the second's result.

We should clear the AutoplayPermissionRequest's reference to the Manager in
Approve() and Cancel() so that we can't mixup the responses like this.

MozReview-Commit-ID: 1qYJfLOaqST

--HG--
extra : rebase_source : 871889da5420aff83c50933863ee3dd3d496bc12
2018-07-24 10:23:05 +12:00
Bogdan Tara
1cd7dec7b6 Backed out 4 changesets (bug 1468020) for crashtest failures on gfx/tests/crashtests/1468020.html CLOSED TREE
Backed out changeset 262d541a474f (bug 1468020)
Backed out changeset 621ab5087373 (bug 1468020)
Backed out changeset 866492bf5ccf (bug 1468020)
Backed out changeset eb6a2ae68d09 (bug 1468020)
2018-07-24 22:57:02 +03:00
Bogdan Tara
d45fc12653 Backed out 2 changesets (bug 1471894) for dialog.html wpt failures and crashtest failures CLOSED TREE
Backed out changeset a20576472778 (bug 1471894)
Backed out changeset 7342b2da7568 (bug 1471894)
2018-07-24 22:45:27 +03:00
Christian Holler
32e2fbf410 Bug 1476098 - Add Google and Mozilla API keys to ASan Nightly. r=glandium
MozReview-Commit-ID: AAQWWiHeLB0

--HG--
extra : rebase_source : f9ea0d4a704ec77b9d4822ea9042339fa45b33f0
2018-07-21 11:49:54 +02:00
Imanol Fernandez
c7746a52c2 Bug 1476380 - Remove the spin wait in Android gfxVRExternal PullState calls; r=kip
MozReview-Commit-ID: 7pwMhE7emwY

--HG--
extra : rebase_source : f7ce0053855e51c0b166a0a9e686e2f2e9a09e22
2018-07-24 16:27:58 +02:00
Brad Werth
79c23e6597 Bug 1471894 Part 2: Add a web-platform-test to check computed margin values on auto margin blocks. r=dholbert
MozReview-Commit-ID: KbSZzhoX5mu

--HG--
extra : rebase_source : a054942c6c3bf67824e9352baf8828a7fbeeac2f
2018-07-12 11:55:32 -07:00
Brad Werth
653730a83e Bug 1471894 Part 1: Ensure that absolute positioned blocks with auto margins update their UsedMargin property. r=dholbert
MozReview-Commit-ID: EFIQVvazkTg

--HG--
extra : rebase_source : e1a9d2248a07a52ab124659f5fb7bd5e73159b83
2018-07-11 16:52:33 -07:00