Commit Graph

66 Commits

Author SHA1 Message Date
William Chen
1fa63edb2e Bug 1176829 - Remove custom elements base element queue. r=smaug 2015-09-17 14:49:00 -07:00
Nicholas Nethercote
2087a666fc Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8. 2015-09-15 20:49:53 -07:00
Kartikaya Gupta
de4d737ae5 Bug 1197824 - Remove unused state and normalize others. r=botond
In the case of DisplayWidthHeight viewports, setting the allowDoubleTapToZoom
flag to true is fine because the ZoomConstraintsClient code will flip it back
to false based on the width of the CSS viewport. Setting it to true in the
GetViewportInfo code allows us to maintain the invariant that the default value
of allowDoubleTapToZoom is the same as the initial value of allowZoom.
2015-09-03 10:30:40 -04:00
Kartikaya Gupta
45a3025f39 Bug 1200402 - Ignore desktop mode for about: pages. r=snorp,khuey 2015-09-01 14:04:58 -04:00
Xidorn Quan
ad1c4aab22 Bug 1198563 part 1 - Encapsulate iterating fullscreen request list code. r=smaug 2015-08-27 11:21:29 +10:00
William Chen
24793a0aee Bug 1131470 - Part 3: Implement ScreenOrientation interface. r=baku 2015-08-18 14:55:21 -07:00
Cameron McCormack
37d6d7d684 Bug 968923 - part 3a - add core DOM use counter functionality; r=smaug
This patch gives ns{I,}Document the ability to track use counters and
also to send those to telemetry at document destruction time.  We push
things to telemetry lazily because we're can't definitively say whether
something has been used until the document is torn down.
2015-06-03 12:39:18 -04:00
Aryeh Gregor
666c1973e1 Bug 874838 - Make CreateElem return Element. r=khuey 2015-08-13 07:50:00 -04:00
Francois Marier
0c5febeb03 Bug 992096 - Implement Sub Resource Integrity [1/2]. r=baku,r=ckerschb
Code changes
2015-08-12 20:19:11 -07:00
Xidorn Quan
0186985856 Bug 1191148 - Don't count fullscreen request handled if we don't change the document state. r=smaug 2015-08-06 15:37:48 +10:00
Carsten "Tomcat" Book
e6e850d811 Backed out changeset 8e006947db44 (bug 1186780) 2015-07-27 08:00:29 +02:00
Kyle Huey
1f0f23a0c9 Bug 1186780: Replace EnumerateRead with new iterators in some DOM code. r=bkelly 2015-07-26 19:34:29 -07:00
Xidorn Quan
78af55b64d Bug 1160017 part 1 - Remove fullscreen permission code from nsDocument. r=smaug 2015-07-21 20:50:20 +10:00
Xidorn Quan
a9eeb693db Bug 1184443 - Make async ExitFullscreen call ask the window to exit fullscreen first. r=smaug 2015-07-19 10:30:52 +10:00
Boris Zbarsky
2d783bb1be Bug 1181965. Remove uses of mozRequestAnimationFrame from dom and parser tests. r=bkelly 2015-07-14 15:28:57 -04:00
Birunthan Mohanathas
a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Patrick McManus
5b5cf0d404 bug 1174152 - crossorigin attribute for link rel=preconnect r=hsivonen 2015-06-19 17:11:42 -04:00
Xidorn Quan
8167313aa5 Bug 1174966 part 5 - Re-dispatch pointer lock request after all fullscreen requests finish. r=smaug 2015-06-19 10:09:52 +10:00
Xidorn Quan
cbae52a129 Bug 1174966 part 4 - Move pending fullscreen counter manipulation from nsCallRequestFullScreen to FullscreenRequest. r=smaug 2015-06-19 10:09:52 +10:00
Xidorn Quan
390e5bcb6a Bug 1174966 part 3 - Merge FullScreenOptions and FullscreenRequest and makes the latter a single object in the whole lifetime of a request. r=smaug 2015-06-19 10:09:52 +10:00
Xidorn Quan
89026869e7 Bug 1174966 part 2 - Replace mAsyncFullscreenPending flag with mPendingFullscreenRequests counter. r=smaug 2015-06-19 10:09:52 +10:00
Xidorn Quan
1819e4b21f Bug 1174966 part 1 - Change type of mCancelledPointerLockRequests field from uint32_t to bit field. r=smaug 2015-06-19 10:09:52 +10:00
Carsten "Tomcat" Book
707c9e1393 Backed out changeset feb7cd25aafb (bug 1174152) for mulet timeout in test_rel_preconnect.html 2015-06-17 16:58:57 +02:00
Patrick McManus
5216e64bac bug 1174152 link rel=preconnect crossorigin=anonymous r=hsivonen 2015-05-06 10:09:27 -04:00
Xidorn Quan
e92cc348e7 Bug 1161802 part 5 - Make applying fullscreen state an independent method. r=smaug 2015-06-10 23:13:12 +12:00
Xidorn Quan
db5fa26fde Bug 1161802 part 4 - Move bool parameters info FullScreenOptions for clearer call sites. r=smaug 2015-06-10 23:13:12 +12:00
Xidorn Quan
e69ab6ccec Bug 1161802 part 3 - Make fullscren element ready check an independent method. r=smaug 2015-06-10 23:13:12 +12:00
Nicholas Nethercote
4500bfa831 Bug 1170416 (part 3) - Remove the PLDHashTable2 typedef. r=froydnj. 2015-05-19 16:46:17 -07:00
Patrick McManus
2ffafe6be3 bug 1150136 - rel=preconnect from html parser r=hsivonen 2015-05-05 20:55:18 -04:00
Nicholas Nethercote
2b8fc58114 Bug 1166586 (part 1) - Remove all uses of PL_NewDHashTable() and PL_DHashTableDestroy(). r=froydnj.
They're not needed now that there is (temporarily) PLDHashTable2, which has an
initializing constructor and a destructor.
2015-05-04 22:59:24 -07:00
Xidorn Quan
e427d85823 Bug 1053413 part 3 - Remove fullscreen-origin-change notification, and make browser element rely on the fullscreen events. r=smaug 2015-05-21 09:52:26 +12:00
Xidorn Quan
62c32d4600 Bug 1053413 part 2 - Separate a MozDOMFullscreen:NewOrigin event from MozDOMFullscreen:Entered. r=dao,smaug
Change of fullscreen origin is now notified by the new specific event,
MozDOMFullscreen:NewOrigin. The event MozDOMFullscreen:Entered is only
triggered when the window first enter fullscreen by DOM fullscreen. It
is now only used to notify the parent to hide its chrome.
2015-05-21 09:52:26 +12:00
Josh Matthews
f89eb2321e Bug 1135812 - Make picture element react to viewport changes. r=dbaron,johns 2015-05-11 18:07:49 -04:00
Andrea Marchesini
c21e1cf196 Bug 1156875 - patch 1 - URL.createObjectURL leaks in JS sandbox, r=bholley 2015-05-07 08:05:43 +01:00
Birunthan Mohanathas
130efc2ae3 Bug 819090 - Convert nsDocument::mIdContentList to nsTArray. r=froydnj 2015-05-06 10:57:37 -07:00
Andrew McCreight
92010d3e4c Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Andrea Marchesini
26e004fd3c Bug 1156632 - Remove unused forward class declarations - patch 1 - dom/base, r=ehsan 2015-04-22 08:29:15 +02:00
Brian Birtles
4679b63be2 Bug 1154615 part 2 - Rename PendingPlayerTracker to PendingAnimationTracker; r=jwatt
This patch also updates the method names on PendingAnimationTracker but leaves
a number of local variables which will be fixed in a subsequent patch.
2015-04-21 10:22:09 +09:00
Brian Birtles
c2050e93b3 Bug 1152171 part 2 - Rename AnimationTimeline to DocumentTimeline; r=smaug
And then re-add AnimationTimeline as an abstract super-interface of
DocumentTimeline.
2015-04-10 10:34:22 +09:00
Andrea Marchesini
ad97ae68b8 Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Ehsan Akhgari
ea41d8de48 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Bill McCloskey
6d6e0f9ce9 Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-19 06:43:46 -07:00
Phil Ringnalda
b7bcece915 Backed out 3 changesets (bug 1126089) for ASan e10s bc1 failures and green-crashes
CLOSED TREE

Backed out changeset 9af9111e9c27 (bug 1126089)
Backed out changeset 288efd5e2ca0 (bug 1126089)
Backed out changeset 3bcebfd13538 (bug 1126089)
2015-03-18 21:51:34 -07:00
Bill McCloskey
2d26630922 Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-18 16:09:27 -07:00
Wes Kocher
7ccbf3612a Merge m-c to inbound a=merge CLOSED TREE 2015-03-18 16:00:39 -07:00
William Chen
a1dffeab37 Bug 1130028 - Custom elements, set registered prototype in compartment of caller of registerElement. r=mrbkap 2015-03-02 09:48:30 -08:00
Ryan VanderMeulen
1b43939c7f Backed out changesets f63a2cf3fa11 and 7d9a91ee3d48 (bug 1126089) for mochitest-bc failures. 2015-03-13 13:42:57 -04:00
Bill McCloskey
26b5e4bd0d Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug) 2015-03-13 08:24:20 -07:00
Alex Verstak
4e554d8cf6 Bug 1113431 - Expose referrer policy to UI code via Document and nsIWebNavigation. r=jst, sr=bz 2015-01-05 09:42:31 -08:00
Josh Matthews
e333052c55 Bug 1065216 - Dispatch a fetch event to workers when controlled pages initiate a network load. r=baku,mayhemer,smaug 2015-02-18 20:34:29 -05:00