TPE Necko/Projects/PBackground for HTTP channels in e10s

Team members

  • EM
    • Shian-Yow Wu
  • Tech Lead
    • Shih-Chiang Chien
  • Test Lead
    • Gary Chen
  • EPM
    • Francis Lee

Roadmap

Milestone Task Estimate Time in Weeks Actual Time in Weeks
M1 Make HttpChannelParent + HttpChannelChild thread-safe 6
M2 Move IPC message in chrome process 6
M3 Move IPC message in content process 6

Scope

  • M1 - Firefox55 nightly
    • make HttpChannelParent thread-safe to deliver the content of HTTP channel
    • make HttpChannelChild thread-safe and re-enable thread-retargetability
  • M2 - Firefox56 nightly
    • move IPC message from main thread to PBackground thread in chrome process
  • M3 - Firefox57 nightly
    • move IPC message from main thread to Necko thread in content process

Risk & Mitigation plan

  • NA

Project Dashboard

Meta Bugs

Full Query
ID Summary Priority Status
1338218 [META] PBackground for HTTP channels in e10s P1 RESOLVED

1 Total; 0 Open (0%); 1 Resolved (100%); 0 Verified (0%);


M1 bugs

Full Query
ID Summary Status Target milestone Assigned to Whiteboard
1015466 Sending HTTP OnDataAvailable over PBackground IPC RESOLVED mozilla55 Shih-Chiang Chien [:schien] (UTC+8) (use ni? plz) [necko-active][necko-quantum][PBg-HTTP-M2]
1320744 HttpChannelChild should implement nsIThreadRetargetableRequest RESOLVED mozilla55 Shih-Chiang Chien [:schien] (UTC+8) (use ni? plz) [necko-active][PBg-HTTP-M1]
1325915 remove invocation order dependency on OnProgress and OnDataAvailable in HttpChannelParent RESOLVED mozilla54 Shih-Chiang Chien [:schien] (UTC+8) (use ni? plz) [necko-active][PBg-HTTP-M1]
1338493 move HttpChannel IPC from main thread to STS thread in content process RESOLVED mozilla56 Shih-Chiang Chien [:schien] (UTC+8) (use ni? plz) [necko-active][PBg-HTTP-M3]
1344634 Add telemetry for monitoring PBackground-Http performance RESOLVED --- [necko-next]
1357678 Streamconverters (including decompressing) block off-main thread delivery? RESOLVED mozilla55 Dragana Damjanovic [:dragana] [necko-active]
1357682 Get telemetry for off-main-thread delivery success/fail RESOLVED mozilla56 Shih-Chiang Chien [:schien] (UTC+8) (use ni? plz) [necko-active][PBg-HTTP-M3]
1365519 nsUnknownDecoder block off-main thread delivery? RESOLVED mozilla56 Dragana Damjanovic [:dragana] [necko-backlog]

8 Total; 0 Open (0%); 8 Resolved (100%); 0 Verified (0%);


M2 bugs

Full Query
ID Summary Status Target milestone Assigned to Whiteboard
956218 Add a mechanism for communicating with a non-main I/O thread via thread and process links RESOLVED mozilla30 Ben Turner (not reading bugmail, use the needinfo flag!)
1102439 [PBackground] should close child-side PBackground before thread shutdown RESOLVED mozilla37 Shih-Chiang Chien [:schien] (UTC+8) (use ni? plz) [PBg-HTTP-M2]
1206665 make nsHttpChannel::OnDataAvailable thread-safe RESOLVED --- [necko-backlog][PBg-HTTP-M2]
1325915 remove invocation order dependency on OnProgress and OnDataAvailable in HttpChannelParent RESOLVED mozilla54 Shih-Chiang Chien [:schien] (UTC+8) (use ni? plz) [necko-active][PBg-HTTP-M1]
1369878 Crash in mozilla::net::HttpBackgroundChannelParent::LinkToChannel RESOLVED mozilla55 Shih-Chiang Chien [:schien] (UTC+8) (use ni? plz)
1370211 Assertion failure MOZ_ASSERT(!mTrackingScripts.Contains(aURL)) at nsIDocument::NoteScriptTrackingStatus RESOLVED --- Shih-Chiang Chien [:schien] (UTC+8) (use ni? plz)

6 Total; 0 Open (0%); 6 Resolved (100%); 0 Verified (0%);


M3 bugs

Full Query
ID Summary Status Target milestone Assigned to Whiteboard
1015466 Sending HTTP OnDataAvailable over PBackground IPC RESOLVED mozilla55 Shih-Chiang Chien [:schien] (UTC+8) (use ni? plz) [necko-active][necko-quantum][PBg-HTTP-M2]
1381311 Intermittent Assertion failure: NS_IsMainThread(), at c:/builds/moz2_slave/m-cen-w32-d-000000000000000000/build/src/netwerk/protocol/http/HttpBackgroundChannelChild.cpp:455 RESOLVED mozilla56 Shih-Chiang Chien [:schien] (UTC+8) (use ni? plz) [necko-active][PBg-HTTP-M3]

2 Total; 0 Open (0%); 2 Resolved (100%); 0 Verified (0%);