Commit graph

149 commits

Author SHA1 Message Date
Henri Sivonen
78c76786eb Bug 503473 - Prevent document.write() in the HTML5 parser where prohibited by HTML5. r=bnewman, sr=sicking.
--HG--
extra : rebase_source : 0f574695c4d6fad936e9d0960f07261aa192b13d
2009-10-15 14:29:11 +03:00
Jonas Sicking
423c30fcd0 Bug 527623: Add some temporary logging code in order to figure out the intermittent oranges in test_bug503481b.html. This code will be backed out once we have a log of a failing test. r=jst 2009-11-16 19:07:22 -08:00
Jonas Sicking
f70945c077 Bug 527870: Fix theoretical bug in async loading code. r=jst 2009-11-10 21:45:54 -08:00
Jonas Sicking
8f545535ea Bug 503481: Implement async attribute 2009-11-09 17:04:24 -08:00
Blake Kaplan
ffe8a3055b Attempting to wallpaper over the topcrash reported in bug 408116. r+sr=jst@mozilla.com 2009-10-23 14:50:40 -07:00
Chris Jones
708e2e04ae Backed out changeset 8cbc47eee659 2009-10-02 18:09:08 -05:00
Chris Jones
f2df9d3504 bug 441324: implement infallible ::operator new(), malloc() and friends. make |new Foo()| infallible, but leave |malloc()| fallible for the time being. r=blassey sr=bsmedberg,vlad 2009-10-01 21:50:09 -05:00
Boris Zbarsky
0c1b685a21 Bug 466409. If the load is stopped, don't run any pending scripts. r+sr=sicking 2009-07-07 22:55:05 -07:00
Boris Zbarsky
bda41245f7 Bug 489671. Make sure the error reporter doesn't suppress our error reports. r=mrbkap, sr=jst 2009-05-19 22:11:01 -04:00
Wladimir Palant
e29d8ab4e4 Bug 477979 - Add CheckLoadURI checks for more script loads. r+sr=jst 2009-02-11 15:51:37 +01:00
Jonas Sicking
38592a65d1 More bug 461555 fixes to fix orange by making sure to remove deferred-scripts' onloadblocker when the parser is terminated. r/sr=mrbkap 2009-01-26 21:41:25 -08:00
Dave Camp
1e04293c7f Bug 441359: Check script and css loads against the classifier. r+sr=jonas 2009-01-13 23:13:48 -08:00
Boris Zbarsky
7aa39e7e29 Bug 453801. Make sure to not fire onload before deferred scripts have executed. r+sr=sicking 2009-01-15 14:49:20 -05:00
Dave Camp
d92aa7006b Backed out changeset 44890ee1d15f for leaks 2009-01-13 02:22:59 -08:00
Dave Camp
a925063a4f Bug 441359: Check script and css loads against the classifier. r+sr=jonas 2009-01-12 21:52:00 -08:00
Dave Camp
36ef1ae586 Backed out changeset e31d0d3c28fd (bug 441359) 2009-01-05 01:27:51 -08:00
Dave Camp
32154830af Bug 441359: Run scripts/css through the classifier. r+sr=sicking 2009-01-04 23:40:29 -08:00
Robert O'Callahan
586e8a3c8c Bug 469247. Implement 'canPlayType' API for video/audio elements. r=doublec,r+sr=bzbarsky
--HG--
extra : rebase_source : 06b14571546a763ee4f4b8641e8582bfff2caf8d
2008-12-17 15:11:07 +13:00
Masatoshi Kimura
3a3a37f47d Bug 335531 - Correct misuse of UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE charset labels; r=smontagu sr=dbaron 2008-12-06 11:08:26 -08:00
Daniel Holbert
61f320aa9d Backed out changeset 78d662c2c878 (Bug 335531) on suspicion of causing mochitest failures in test_bug399284.html on linux & windows unittest boxes. 2008-12-05 11:52:01 -08:00
Masatoshi Kimura
31c5df869e Bug 335531 - Correct misuse of "UTF-16BE", "UTF-16LE", "UTF-32BE", and "UTF-32LE" charset labels; r=smontagu sr=dbaron 2008-12-05 18:31:00 +01:00
Blake Kaplan
eee2cac9b6 Bug 464754 - nsIContentPolicy.shouldLoad() called without context for scripts. r/sr=bz a=beltzner 2008-11-19 02:05:05 -05:00
Johnny Stenback
ebb6d556fe Fixing bug 425153. Fix script filenames such that our wrapper automation story is more consistent. r=jonas@sicking.cc, sr=bzbarsky@mit.edu, a=b2 blocker 2008-11-13 16:00:11 -08:00
Boris Zbarsky
d98806b849 Bug 461735. Use the final channel URI as the script URI. r+sr=jst, a=beltzner 2008-11-10 16:09:30 -05:00
Blake Kaplan
109b544036 Bug 364315 - Implement speculative parsing. r+sr=jst 2008-09-30 23:48:47 -07:00
Jesse Ruderman
f726fce2f1 Remove bogus assertion (bug 400763, r+sr=sicking) 2008-09-11 03:02:32 -07:00
Jason Orendorff
25cba5d7a3 Bug 451571 - Delete SetExceptionWasThrown (r=dbradley, sr=jst) 2008-08-30 18:58:36 -05:00
Jonas Sicking
b16bc2848c Bug 28293: Implement defer attribute. r/sr=jst 2008-07-25 19:42:12 -07:00
gavin@gavinsharp.com
b1f1aa6313 Bug 433328: properly handle null inner window, patch by Blake Kaplan <mrbkap@gmail.com>, r+sr=jst, a=shaver 2008-05-28 12:03:04 -07:00
bzbarsky@mit.edu
616871742b Allow a signed jar to load scripts which are at least as privileged as the jar. Bug 428873, r+sr=jst, a=beltzner 2008-04-16 09:03:23 -07:00
bzbarsky@mit.edu
623db8c5f5 Just drop loads of scripts that are not signed if the loading page is. Bug 424426, r+sr=jst, a=beltzner 2008-03-24 16:58:42 -07:00
bzbarsky@mit.edu
284e074807 Treat <xul:script> more like <html:script>. Bug 424188, r+sr=sicking, a=dsicore 2008-03-21 22:03:57 -07:00
jonas@sicking.cc
c078e73997 Bug 401155: Make it safe to create a wrapper for an object at any time by making sure wrapping doesn't write script. Also set up a service that tries to keep track of when it's safe to execute script. r=bz sr=jst 2008-03-14 16:08:57 -07:00
jonas@sicking.cc
0c80ff16bc Back out due to failed mochitest 2008-03-10 19:18:15 -07:00
jonas@sicking.cc
4216df2295 Bug 401155: Make sure plugins and XBL constructors not execute when creating a script wrapper if it's not safe to execute scripts. r=bz sr=jst. 2008-03-10 17:49:19 -07:00
jst@mozilla.org
a3dc822e7f Backing out fix for bug 419848 due to feed code breakage. 2008-03-03 21:39:09 -08:00
jst@mozilla.org
d3a7ec65e8 Fixing bug 419848. Tighten rules about what JS files content can load. r+sr=jonas@sicking.cc 2008-03-03 20:17:33 -08:00
benjamin@smedbergs.us
b3e87aa63b Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep 2008-01-15 07:50:57 -08:00
mats.palmgren@bredband.net
91a44c37a7 Lookup default script language on the script global object when there is no root content. b=405182 r+sr=jst a=blocking1.9 2007-12-01 03:10:12 -08:00
bzbarsky@mit.edu
17f8eb85ed Reoder some checks to do the fast one that will test false most often first. Bug 398222, r+sr+a=sicking 2007-10-07 11:23:52 -07:00
bzbarsky@mit.edu
d18facd462 Block scripts in subframes if the parent has script blocked in the scriptloader. Fixes bug 383331, r+sr+a=sicking 2007-09-28 08:15:07 -07:00
bzbarsky@mit.edu
e2c308b507 Fix bug 397605. r+sr+a=jst 2007-09-26 09:52:33 -07:00
bzbarsky@mit.edu
bd826c03d9 Make NS_CheckContent(Load|Process)Policy only take a principal, not a principal and a uri. Get the URI from the principal. Bug 391438, r+sr+a=sicking 2007-08-09 22:35:08 -07:00
bzbarsky@mit.edu
16e6040261 Use the principal doing the load to decide on the URI to pass to content policies. This will help do the right thing for data:/javascript:/about:blank, as well as allow us to skip content policies altogether if the caller is system. Bug 388597, r+sr=sicking 2007-08-07 18:16:09 -07:00
jwalden@mit.edu
6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
bzbarsky@mit.edu
55f8e63858 Don't block the parser on scripts we'll never execute. Bug 371743, r+sr=sicking 2007-04-11 13:18:11 -07:00
jonas%sicking.cc
25f98dc2f4 Bug 371576: Execute scripts syncronously when inserted in the tree whenever possible. r/sr=bz 2007-03-01 08:11:40 +00:00
cvshook%sicking.cc
acf16086dd Bug 364692: Process pending script requests asynchronously when the last blocker is removed. r/sr=jst 2007-01-09 01:07:29 +00:00
timeless%mozdev.org
4e651390ef Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
cvshook%sicking.cc
17ded5692c Bug 343730: Don't execute scripts synchronously from BindToTree. Instead we wait until the last EndUpdate has been called. r/sr=bz 2006-11-04 05:45:02 +00:00