Benjamin Smedberg
1030beab71
Bug 1335475 - Deny plugins from non-HTTP/HTTPS origins. r=bytesized,qdot
...
MozReview-Commit-ID: 3kPeycfMWVw
2017-03-07 09:34:03 -05:00
Boris Zbarsky
2be49a7995
Bug 1339891 part 2. Make FlushPendingNotifications on a presshell quickly no-op if there is nothing to flush. r=heycam
2017-02-17 13:38:44 -05:00
Vedant Sareen
a85a2ad339
Bug 1330907 - Rename Telemetry::ID to Telemetry::HistogramID. r=dexter
...
Changed |print("enum ID : uint32_t {", file=output)| to |print("enum HistogramID : uint32_t {", file=output)| at line 53 of the file |toolkit/components/telemetry/gen-histogram-enum.py|, and then replaced all the textual occurrences of |Telemetry::ID| to |Telemetry::HistogramID| and |ID| to |HistogramID| in 43 other files.
2017-02-16 00:45:15 +05:30
Boris Zbarsky
36e0f8b6f3
Bug 1335450. Fix our condition for rescheduling frame request callbacks. r=mrbkap
2017-02-15 18:31:36 -05:00
Olli Pettay
142593cd11
Bug 1338886 - nsDocument::UpdateIntersectionObservations() should call perf->Now() only if needed, r=tschneider
2017-02-15 17:04:16 +02:00
Carsten "Tomcat" Book
8c5a1d7423
Merge mozilla-central to mozilla-inbound
2017-02-15 12:43:50 +01:00
Xidorn Quan
4cdc3377d9
Bug 1339341- Downgrade several stylo errors to warnings. r=heycam
...
MozReview-Commit-ID: 2Sa8dS8uSo5
2017-02-14 18:26:10 +11:00
John Dai
5730d36b65
Bug 1338889 - Part 2: Support DOMString as Argument 3 of Document.createElementNS. r=bz
2017-02-15 00:07:00 +08:00
Kirk Steuber
bdcea14c4d
Bug 1338287 - Make nsIDocument::DocumentFlashClassification accessible from privileged JS r=bz
...
MozReview-Commit-ID: 1II2puZMub5
2017-02-13 13:39:40 -08:00
Bill McCloskey
fa3300d9dc
Bug 1337537 - Workarounds to avoid TabGroup assertions in edge cases (r=smaug)
...
MozReview-Commit-ID: LVTgyivcA7V
2017-02-13 17:03:03 -08:00
Bill McCloskey
3fdff512cf
Bug 1337537 - Assert that runnables labeled with a given TabGroup never touch other TabGroups (r=ehsan)
...
MozReview-Commit-ID: sOdn9e5f57
2017-02-13 17:02:57 -08:00
Bill McCloskey
e9634c7709
Bug 1334346 - DocGroup should be correct for static clone documents (print, print preview) (r=smaug)
...
MozReview-Commit-ID: f0LdbxSahb
2017-02-13 17:02:43 -08:00
Cameron McCormack
334e0fe231
Bug 1334735 - Part 1: Move need style/flush flags from document to pres shell. r=bz
...
MozReview-Commit-ID: 2Amf9yGRiJA
2017-02-10 10:42:27 +08:00
Bobby Holley
b77d94bc0f
Bug 1333183 - Prime the root element cache before the servo traversal. r=emilio
2017-02-08 17:04:47 -08:00
Kirk Steuber
08b3810f6c
Bug 1336714 - Added a null check to the GetParentDocument call in nsDocument::ComputeFlashClassification. Change nsDocument::GetAllowPlugins to return result rather than using unnecessary outparam. nsPluginArray::AllowPlugins changed to call the GetAllowPlugins method on the inner window's document rather than on the docshell's mContentViewer's document. r=bsmedberg,bz
...
MozReview-Commit-ID: Crx9v8OBKKq
2017-02-06 12:47:00 -08:00
Kearwood Gilbert
18cd99f71f
Bug 1325428 - Disable bfcache for WebVR pages r=smaug
...
MozReview-Commit-ID: fymOSOEoDC
2017-02-03 16:49:15 -08:00
Alastor Wu
9b3c33d251
Bug 1319771 - part2 : resume foreground window if it was still be blocked. r=baku
...
In previous patch, we modify the behavior of nsDocument, now it would only resume
window when document has active media components.
However, it causes another issue. If the tab really goes to foreground, but
there is no active media component, the tab would still be blocked and it won't
be resumed anymore.
Therefore, we need to resume it by ourself if the tab is on the foreground but
doesn't be resumed yet.
MozReview-Commit-ID: EdnQ7sRkSJK
2017-02-03 10:50:07 +08:00
Alastor Wu
703e4c34c8
Bug 1319771 - part1 : only resume the window when there has active media components. r=baku
...
For the first pinned tab, it would be set to visible first and then set to
invisible if there exists other tabs after restarting the whole browser.
If the tab is set to visible, we would activate the media component (set the
|mMediaSuspended| in outer window to none-suspend). In this case, the first
pinned tab would be set to visible briefly, but it doesn't mean the tab is in
the foreground, it's just how DOM manage the tab's visibility.
In that moment, none of the media component has been created yet. Therefore, we
would only activate the media component after the audio channel service exists.
MozReview-Commit-ID: 1FgdMq84yWX
2017-02-03 10:48:38 +08:00
Wes Kocher
0b30c5ef89
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: 8vGne2PAweU
2017-02-02 16:45:43 -08:00
Wes Kocher
5a055d83d9
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 9bhCPrArK3P
2017-02-02 16:39:24 -08:00
Boris Zbarsky
f9cb78afdc
Bug 835981 part 5. Change nsIDOMXULElement::GetBoxObject consumers to nsXULElement. r=peterv
2017-02-02 10:32:58 -05:00
Kirk Steuber
e94851032c
Bug 1323064 - Remove Flash from navigator.plugins when Flash is blacklisted in the document r=bsmedberg
...
MozReview-Commit-ID: LKjCORgaecI
2017-02-02 10:03:51 -08:00
Xidorn Quan
be8ec3f906
Bug 1334938 - Re-enable stylo in stylo builds. r=emilio
...
MozReview-Commit-ID: y7u7QNHYii
2017-01-30 12:09:25 +11:00
Bill McCloskey
be49fc768f
Bug 1332494 - Move TaskCategory definition to xpcom/threads/TaskCategory.h (r=froydnj)
...
MozReview-Commit-ID: ET43PbGRgxl
2017-01-26 14:45:58 -08:00
Mats Palmgren
7b1c2b5cc8
Bug 1323777 part 3 - Ensure that collecting telemetry on user font usage don't have unwanted side effects. r=smaug
2017-01-25 23:34:22 +02:00
Kirk Steuber
5c396352c6
Bug 1307604 - Add allow and deny lists for Flash Blocking r=bsmedberg,bz,francois
...
MozReview-Commit-ID: H2dgJX6Hsz7
2016-11-22 15:01:04 -08:00
Bill McCloskey
fd6bcfe3ff
Bug 1331804 - New naming scheme for runnables (r=ehsan)
...
MozReview-Commit-ID: FOfrUXwGYws
2017-01-24 16:34:37 -08:00
Bill McCloskey
0f612eb280
Bug 1332100 - Check for intersection observers before posting runnable (r=mstange)
...
MozReview-Commit-ID: Jhjvprszrg5
2017-01-24 16:34:37 -08:00
Wes Kocher
ac78cfc4f2
Backed out 8 changesets (bug 1331804, bug 1332100) for windows vm debug dt5 failures a=backout
...
Backed out changeset 8bf7f0e27c6c (bug 1331804)
Backed out changeset 600c0b9026c2 (bug 1331804)
Backed out changeset 3a5b5b9ecace (bug 1331804)
Backed out changeset c76432c9954e (bug 1331804)
Backed out changeset 46a9096745e7 (bug 1332100)
Backed out changeset 8b751230fa23 (bug 1331804)
Backed out changeset 2810212347fd (bug 1331804)
Backed out changeset be72b7763910 (bug 1331804)
MozReview-Commit-ID: Ywdsr4GZ4a
2017-01-24 15:12:21 -08:00
Bill McCloskey
724a87f692
Bug 1331804 - New naming scheme for runnables (r=ehsan)
...
MozReview-Commit-ID: FOfrUXwGYws
2017-01-24 10:04:55 -08:00
Bill McCloskey
2df8a98ee1
Bug 1332100 - Check for intersection observers before posting runnable (r=mstange)
...
MozReview-Commit-ID: Jhjvprszrg5
2017-01-24 10:04:55 -08:00
Julian Seward
ee8c840e10
Bug 1232696 - Remove NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW as it causes segfaulting for GCC 6 builds (2 of 5, fixes for dom/). r=bkelly.
2017-01-24 17:10:39 +01:00
Boris Zbarsky
111247800c
Bug 1332704. Have ~nsDocument actually clear the self-pointer from _all_ its sheets, and reenable Rule::IsKnownLive bits that depends on that pointer being managed correctly. r=heycam
2017-01-23 11:15:58 -05:00
Bevis Tseng
ba2d99d8bb
Bug 1314833 - Part 1.2: Define AbstractThreadFor(TaskCategory aCategory) in Dispatcher and DispatcherTrait. r=billm
...
MozReview-Commit-ID: 2kt3EN2WyXl
2016-12-01 18:33:05 +08:00
Boris Zbarsky
fcffc1fbb1
Bug 851892 part 8. Get rid of css::Rule::GetDOMRule. r=heycam
2017-01-13 10:41:03 -05:00
Sebastian Hengst
4249f1e162
Backed out changeset 9ef39356f62c (bug 851892)
2017-01-20 19:30:32 +01:00
Boris Zbarsky
4bc1b026f0
Bug 851892 part 8. Get rid of css::Rule::GetDOMRule. r=heycam
2017-01-13 10:41:03 -05:00
Boris Zbarsky
cdbd6b5265
Bug 1332353. Make it clearer when a stylesheet is really owned by its mDocument. r=heycam
2017-01-19 23:49:44 -05:00
JW Wang
466c49c7a7
Bug 1329403 - Ensure onload blocker is added once mScriptGlobalObject is set. r=smaug
...
MozReview-Commit-ID: KREnly28m0v
2017-01-16 17:12:33 +08:00
Ryan VanderMeulen
8d1ee918ca
Merge autoland to m-c. a=merge
2017-01-18 09:24:55 -05:00
Cameron McCormack
c570fae74a
Bug 1331326 - stylo: Shuffle some nsIDocument fields around to avoid rust-bindgen problem. r=bz
...
MozReview-Commit-ID: sYpRzC2t0E
2017-01-16 16:27:56 +08:00
Nicholas Nethercote
ac92bcc714
Bug 1330512 (part 1) - DocGroup labelling in nsDocument.cpp. r=billm.
...
For all the NS_DispatchToCurrentThread() cases I wasn't sure if we are
guaranteed to be on the main thread, so I added
MOZ_RELEASE_ASSERT(NS_IsMainThread()) to all of them. A try push showed up no
problems there.
2017-01-18 09:51:59 +11:00
Nicholas Nethercote
f4831a6bad
Bug 1330512 (part 0) - Add an nsresult return value to DocGroup::GetKey(). r=billm.
...
Because we need to treat failing cases differently in some places.
2017-01-17 11:10:27 +11:00
Phil Ringnalda
7646bbe020
Backed out 20 changesets (bug 851892) for load failures in Android crashtest-4
...
Backed out changeset b9c4115cdeac (bug 851892)
Backed out changeset 5f491bf49b85 (bug 851892)
Backed out changeset 9bf5bcb3e8c5 (bug 851892)
Backed out changeset a9cab46e8b45 (bug 851892)
Backed out changeset 73858e15c8c0 (bug 851892)
Backed out changeset a25638588b6b (bug 851892)
Backed out changeset d58e0e5069ef (bug 851892)
Backed out changeset d8da2a3d8f10 (bug 851892)
Backed out changeset a8da3c34983f (bug 851892)
Backed out changeset 29cf8acbd21e (bug 851892)
Backed out changeset c53cd7bdf8b3 (bug 851892)
Backed out changeset e841a2796375 (bug 851892)
Backed out changeset 2eab85b00159 (bug 851892)
Backed out changeset ca4b1fb9cae4 (bug 851892)
Backed out changeset 74c0ba66f108 (bug 851892)
Backed out changeset 719bb9f41e5b (bug 851892)
Backed out changeset d6aa4c6192df (bug 851892)
Backed out changeset dc81a167a75d (bug 851892)
Backed out changeset 65422477b3a5 (bug 851892)
Backed out changeset 3089dd379077 (bug 851892)
2017-01-15 11:50:10 -08:00
Boris Zbarsky
7f8d92e598
Bug 851892 part 8. Get rid of css::Rule::GetDOMRule. r=heycam
2017-01-13 10:41:03 -05:00
Boris Zbarsky
17194e597d
Back out bug 851892 for Windows build bustage on CLOSED TREE
2017-01-13 11:47:22 -05:00
Boris Zbarsky
f5cfc1f710
Bug 851892 part 8. Get rid of css::Rule::GetDOMRule. r=heycam
2017-01-13 10:41:03 -05:00
Tuhina
98e14ea94c
Bug 1303685: Add telemetry for CSP referrer directive. r=ckerschb,francois
2016-11-04 21:36:25 +05:30
Nathan Froyd
3fe0e257a7
Bug 1322396 - report external resources of documents when flushing use counters in tests; r=dholbert
...
Our use counter tests force reporting of use counters from documents to
make the tests more deterministic: relying on the default
report-at-document-destruction behavior would introduce any number of
intermittents. However, documents may have any number of external
resource documents, and we have no mechanism for forcing a deterministic
reporting of the use counters from those documents. Relying on those
external resources to have been destroyed (and thereby reported their
use counters) when we examine the values of the use counters in question
is a recipe for intermittent failures.
Therefore, we introduce an optional report kind for use counter
reporting: if a document is reporting its use counters for the purposes
of a test, we will also report the use counters for the document's
external resource documents. This change makes everything more
deterministic.
2017-01-11 09:52:23 -05:00
Phil Ringnalda
de4e89601d
Backed out 2 changesets (bug 1322396) for unexpected-pass failures in browser_use_counters.js
...
Backed out changeset 211d8715c965 (bug 1322396)
Backed out changeset aae1f858f6de (bug 1322396)
MozReview-Commit-ID: EYvhigQ0NSO
2017-01-09 18:45:08 -08:00